:root {
  --paper: #faf9f6;
  --surface: #ffffff;
  --ink: #223e34;
  --muted: #58665e;
  --line: #e1e5de;
  --green: #244f3e;
  --soft: #eef1e9;
  --coral: #a34a33;
  --photo-shade: #10271dc2;
  --photo-shade-strong: #10271de8;
  --category-size: 12px;
  --reading-default-size: 20px;
  --radius: 8px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Life Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}
button {
  border: 0;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Life Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
h1 {
  font-size: clamp(38px, 4.4vw, 66px);
}
h2 {
  font-size: clamp(29px, 3vw, 42px);
  margin-bottom: 24px;
}
h3 {
  font-size: 27px;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
svg {
  flex-shrink: 0;
}
small {
  font-size: 11px;
  color: var(--muted);
}
.container {
  max-width: 1320px;
  padding: 0 44px;
  margin: 0 auto;
}
.topline {
  background: var(--green);
  color: #e8eee6;
  padding: 7px 44px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.09em;
}
.topline span:first-child {
  letter-spacing: 0.19em;
}
.site-header {
  max-width: 1410px;
  margin: auto;
  padding: 25px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 39px;
  letter-spacing: -2px;
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.15;
}
.brand-dot {
  color: var(--coral);
}
.site-header nav {
  display: flex;
  gap: 26px;
  font-size: 13px;
}
.site-header nav a:hover {
  color: var(--coral);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  background: var(--green);
  color: #fffef7;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13px;
  min-height: 46px;
  line-height: 1.3;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover {
  background: #32674e;
}
.button.small {
  padding: 12px 17px;
  font-size: 12px;
}
.button.outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}
.button.light {
  background: #f4f2e8;
  color: #234c3c;
}
.button.danger {
  background: #963e37;
}
.button.secondary {
  background: var(--soft);
  color: var(--ink);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.eyebrow {
  font-family: "Life Sans", Arial, sans-serif;
  font-size: var(--category-size);
  font-weight: 600;
  letter-spacing: 0.14em;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  text-transform: uppercase;
  line-height: 1.5;
}
.eyebrow > span {
  color: var(--muted);
  letter-spacing: 0.05em;
}
.demo-strip {
  text-align: center;
  font-size: 10px;
  padding: 6px 14px;
  color: #76776b;
  background: #eeeede;
  letter-spacing: 0.04em;
}
.demo-strip span {
  margin: 0 7px;
  color: var(--coral);
}
.mobile-nav {
  display: none;
}
.home-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 31px 0 23px;
}
.home-intro > span:last-child {
  font-size: 12px;
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 58px;
  align-items: stretch;
}
.hero-copy {
  padding: 25px 0 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  margin: 27px 0 22px;
  font-size: clamp(42px, 4.8vw, 67px);
  line-height: 1.07;
  max-width: 590px;
}
.hero-copy > p {
  font-size: 16px;
  line-height: 1.75;
  max-width: 460px;
  color: var(--muted);
  margin-bottom: 29px;
}
.coral-line {
  width: 23px;
  height: 2px;
  background: var(--coral);
  margin-right: 5px;
}
.byline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.byline small {
  display: block;
}
.byline > span:last-child:not(.avatar) {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
.hero-copy .byline {
  width: 100%;
  max-width: 410px;
  margin: 0 0 27px;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 39px;
  height: 39px;
  background: #e8d9b9;
  color: #54634a;
  font-family: Georgia, serif;
  font-size: 22px;
  flex-shrink: 0;
}
.avatar:nth-child(2n) {
  background: #d1dfd4;
}
.hero-copy > .text-link {
  margin-top: auto;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
}
.hero-image {
  position: relative;
  min-height: 485px;
  background: #d9e5c6;
  overflow: hidden;
  border-radius: 3px;
}
.hero-image > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.image-caption {
  position: absolute;
  left: 25px;
  bottom: 23px;
  color: #fffde8;
  font-size: 9px;
  letter-spacing: 0.12em;
}
.hero-stamp {
  position: absolute;
  top: 23px;
  right: 25px;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: #f6efd9;
  color: #345341;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: rotate(11deg);
  text-align: center;
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: 0.1em;
}
.hero-stamp br {
  display: none;
}
.hero-stamp i {
  font-family: Georgia, serif;
  font-size: 29px;
  line-height: 1.1;
  letter-spacing: -1px;
}
.category-ribbon {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  border-block: 1px solid var(--line);
  margin-top: 43px;
  padding: 21px 0;
  font-size: 11px;
}
.category-ribbon > span {
  font-weight: 600;
  margin-right: 8px;
}
.category-ribbon a {
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: 30px;
}
.category-ribbon a:hover {
  background: var(--soft);
}
.category-ribbon .round-link {
  margin-left: auto;
  padding: 10px;
}
.editorial-section {
  margin: 61px 0;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-heading .eyebrow {
  color: var(--muted);
  margin-bottom: 12px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading > .text-link {
  padding-bottom: 6px;
}
.cards {
  display: grid;
  gap: 30px;
}
.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card-image {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--soft);
}
.card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.65;
  transition: transform 0.4s;
}
.card-image:hover img {
  transform: scale(1.025);
}
.image-arrow {
  position: absolute;
  bottom: 14px;
  right: 14px;
  border-radius: 50%;
  background: var(--surface);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.card-image:hover .image-arrow {
  opacity: 1;
}
.card-copy > .eyebrow {
  margin-top: 19px;
  font-size: var(--category-size);
  letter-spacing: 0.08em;
  color: #57715f;
  flex-wrap: wrap;
}
.card-copy h3 {
  font-size: 29px;
  line-height: 1.15;
  margin: 10px 0 13px;
}
.card-copy h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.card-copy > p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 18px;
}
.small-avatar {
  width: 29px;
  height: 29px;
  font-size: 17px;
}
.card-copy .byline {
  gap: 8px;
  font-size: 11px;
}
.card-copy .byline small {
  font-size: 9px;
}
.writing-banner {
  display: grid;
  grid-template-columns: 0.6fr 1.5fr 0.85fr;
  gap: 40px;
  align-items: center;
  background: var(--green);
  color: #f8f5e8;
  padding: 43px 45px;
  margin: 67px 0 55px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.writing-icon {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid #6b84725c;
  border-radius: 50% 50% 2px 2px;
  transform: rotate(-7deg);
  gap: 18px;
}
.writing-icon span {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 12px;
}
.writing-banner h2 {
  font-size: 40px;
  margin: 12px 0 16px;
}
.writing-banner .eyebrow {
  font-size: 9px;
  color: #bacab7;
}
.writing-banner p {
  max-width: 435px;
  font-size: 13px;
  color: #d1ddcb;
  line-height: 1.8;
  margin-bottom: 21px;
}
.quiet-link {
  font-size: 12px;
  margin-left: 22px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.banner-aside {
  font-size: 11px;
  display: grid;
  gap: 25px;
  color: #e4e8d9;
}
.banner-aside span {
  border-bottom: 1px solid #ffffff2b;
  padding-bottom: 16px;
}
.everyday {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 70px;
}
.stack {
  display: grid;
  gap: 22px;
}
.article-card.compact {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 23px;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.compact .card-image img {
  aspect-ratio: 1.3;
}
.compact .eyebrow {
  margin-top: 0;
  font-size: var(--category-size);
}
.compact h3 {
  font-size: 25px;
}
.compact .reading-time {
  display: none;
}
.topics-box {
  background: #eeeee3;
  padding: 32px;
  border: 1px solid #e0e1d6;
  border-radius: 4px;
  align-self: start;
}
.topics-box > .eyebrow {
  font-size: 9px;
}
.topics-box h3 {
  font-size: 34px;
  margin: 18px 0;
}
.topics-box > p {
  font-size: 13px;
  color: var(--muted);
}
.brief-mini {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 21px 0;
  border-top: 1px solid #d7dbce;
  font-size: 13px;
  line-height: 1.5;
}
.brief-mini > span {
  font-size: 11px;
  color: #83907c;
}
.brief-mini > div {
  flex: 1;
}
.brief-mini small {
  display: block;
  margin-top: 5px;
}
.topics-box > .text-link {
  margin-top: 24px;
  font-size: 12px;
}
.discovery-banner {
  display: flex;
  align-items: center;
  gap: 25px;
  border-block: 1px solid var(--line);
  padding: 30px 0;
  margin-bottom: 45px;
}
.discovery-banner > div {
  flex: 1;
}
.discovery-banner h3 {
  font-size: 26px;
  margin-bottom: 7px;
}
.discovery-banner p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 0;
}
.site-footer {
  max-width: 1320px;
  margin: 70px auto 0;
  border-top: 1px solid var(--line);
  padding: 47px 44px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.site-footer .wordmark {
  font-size: 33px;
  margin-bottom: 17px;
}
.site-footer p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.site-footer nav {
  display: grid;
  align-content: start;
  gap: 12px;
  font-size: 12px;
}
.footer-bottom {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--green);
  color: white;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.page {
  padding-top: 54px;
  padding-bottom: 35px;
  min-height: 55vh;
}
.page > h1 {
  margin: 14px 0 22px;
}
.page-lead {
  max-width: 690px;
  font-size: 17px;
  color: var(--muted);
}
.empty {
  padding: 60px 25px;
  text-align: center;
  background: var(--soft);
  border: 1px solid var(--line);
  margin: 25px 0;
}
.empty h1,
.empty h2 {
  margin-bottom: 18px;
}
.empty p {
  color: var(--muted);
}
.empty.hero-copy {
  align-items: center;
  width: 100%;
}
.search-form {
  margin: 35px 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.search-input {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 6px 19px;
}
.search-input input:not([type="checkbox"]):not([type="file"]) {
  border: 0;
  background: transparent;
  width: 100%;
  padding: 12px 0;
  min-width: 100px;
}
.search-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  margin-top: 12px;
}
.search-filters label,
.field {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field {
  margin-bottom: 19px;
}
.field > span {
  font-size: 11px;
  color: var(--muted);
}
.two-factor-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding: 16px;
  margin: 20px 0;
  border: 1px solid var(--line);
}
.two-factor-methods label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.two-factor-methods input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.two-factor-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.two-factor-qr {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  background: white;
}
.two-factor-setup details,
.two-factor-email {
  margin-bottom: 24px;
}
.two-factor-setup summary {
  cursor: pointer;
  margin-bottom: 16px;
}
.two-factor-settings {
  overflow-wrap: anywhere;
}
.two-factor-backup {
  user-select: all;
}
input:not([type="checkbox"]):not([type="file"]):not([type="radio"]),
textarea,
select {
  border: 1px solid var(--line);
  padding: 12px 13px;
  background: var(--surface);
  border-radius: 3px;
  max-width: 100%;
}
textarea {
  resize: vertical;
  min-height: 95px;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  margin: 18px 0;
}
.results-label {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}
.results-label a {
  text-decoration: underline;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 45px;
  padding: 35px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
  margin: auto;
  gap: 100px;
  align-items: center;
}
.auth-aside {
  padding: 40px 0;
}
.auth-aside h1 {
  font-size: 55px;
}
.auth-aside p {
  font-size: 16px;
  color: var(--muted);
}
.auth-card {
  padding: 35px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 6px;
}
.auth-card h1,
.auth-card h2 {
  font-size: 30px;
}
.auth-card .button {
  width: 100%;
}
.auth-card .switch {
  font-size: 12px;
  text-align: center;
  margin: 23px 0 0;
}
.auth-card .switch a {
  text-decoration: underline;
}
.notice {
  padding: 15px 18px;
  background: var(--soft);
  border-left: 3px solid #809077;
  font-size: 13px;
  margin: 18px 0;
  line-height: 1.7;
}
.notice.error {
  background: #fae8e2;
  color: #893627;
  border-color: #c3674c;
}
.notice.success {
  background: #e5eee3;
  /* Its own text colour: in the dark theme the inherited light ink vanished on this light background (28.11.2026). */
  color: #24452f;
  border-color: #5d8a68;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.panel-header h1 {
  font-size: 44px;
  margin: 8px 0;
}
.panel-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 30px;
}
.panel-nav a,
.panel-nav button {
  padding: 11px 17px;
  border: 1px solid var(--line);
  font-size: 12px;
  background: var(--surface);
  border-radius: 3px;
}
.panel-nav a:hover {
  background: var(--soft);
}
.panel-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 35px;
}
.panel-box {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 26px;
  border-radius: 4px;
  margin-bottom: 22px;
}
.panel-box h2 {
  font-size: 29px;
  margin-bottom: 20px;
}
.draft-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}
.draft-row:last-child {
  border-bottom: 0;
}
.draft-row > div {
  flex: 1;
  min-width: 0;
}
.draft-row h3 {
  font-size: 23px;
  margin: 8px 0;
}
.draft-row p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.draft-list-item {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.draft-list-item:last-child {
  border-bottom: 0;
}
.draft-list-item > .draft-row {
  flex: 1;
  min-width: 0;
  border-bottom: 0;
}
.draft-list-item h3 {
  overflow-wrap: anywhere;
}
.draft-delete {
  max-width: 260px;
}
.draft-delete .notice {
  margin-bottom: 12px;
}
.draft-delete-dialog {
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  overflow-wrap: anywhere;
}
.draft-delete-dialog::backdrop {
  background: rgb(0 0 0 / 55%);
}
.draft-delete-dialog h3 {
  font-size: 26px;
}
.draft-delete-dialog p {
  margin: 16px 0;
}
@media (max-width: 600px) {
  .draft-list-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 16px;
  }
  .draft-list-item > .draft-row {
    padding-bottom: 12px;
  }
  .draft-delete {
    max-width: none;
  }
}
.badge {
  display: inline-flex;
  padding: 3px 8px;
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 3px;
  font-size: 10px;
  letter-spacing: 0.02em;
}
.badge.PUBLISHED,
.badge.APPROVED {
  background: #e2eddf;
  color: #34583a;
}
.badge.CHANGES_REQUESTED {
  background: #f6e4d8;
  color: #8a4a28;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 30px;
}
.editor-paper {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 34px;
  min-width: 0;
}
.editor-paper input.title-input {
  border: 0;
  border-bottom: 1px solid var(--line);
  width: 100%;
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1.2;
  padding: 10px 0;
  border-radius: 0;
}
.editor-paper textarea.lead-input {
  border: 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  width: 100%;
  padding: 16px 0;
  margin-bottom: 15px;
}
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  position: sticky;
  top: 0;
  background: var(--surface);
  padding: 10px 0;
  border-block: 1px solid var(--line);
  z-index: 3;
}
.editor-toolbar button {
  padding: 8px 11px;
  min-height: 40px;
  min-width: 38px;
  font-size: 12px;
  background: var(--soft);
  border-radius: 3px;
}
.editor-toolbar button.active {
  background: var(--green);
  color: white;
}
.tiptap {
  min-height: 360px;
  font-size: 18px;
  line-height: 1.85;
  padding: 22px 0;
  outline: none;
}
.tiptap h2 {
  font-size: 29px;
  margin: 30px 0 13px;
}
.tiptap p.is-editor-empty:first-child:before {
  content: attr(data-placeholder);
  float: left;
  color: #9b9f95;
  pointer-events: none;
  height: 0;
}
.tiptap table,
.article-body table {
  border-collapse: collapse;
  width: 100%;
}
.tiptap td,
.tiptap th,
.article-body td,
.article-body th {
  border: 1px solid var(--line);
  padding: 9px;
}
.editor-aside .panel-box {
  padding: 20px;
}
.editor-aside h2 {
  font-family: inherit;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: bold;
}
.editor-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
  padding: 17px 0;
}
.editor-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.editor-actions .button {
  padding: 10px 16px;
}
.review-note {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.review-note small {
  display: block;
  margin-bottom: 7px;
}
.version-row {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.version-row button {
  background: var(--soft);
  padding: 8px;
}
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.comparison pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--soft);
  padding: 16px;
  max-height: 350px;
  overflow: auto;
  font-family: inherit;
  font-size: 13px;
}
.article-top {
  max-width: 930px;
  margin: 0 auto;
  padding: 45px 44px 30px;
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 27px;
}
.article-top h1 {
  font-size: clamp(38px, 4.7vw, 65px);
  margin: 20px 0 23px;
}
.article-lead {
  font-size: 21px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 30px;
}
.article-top .byline {
  max-width: 580px;
  flex-wrap: wrap;
}
.article-cover {
  max-width: 1100px;
  margin: 0 auto 33px;
  padding: 0 44px;
}
/* Authors' photos come in any shape: show the whole picture instead of
   cropping it to a fixed ratio (a 2:1 or narrow crop cut people out). */
.article-cover img {
  width: 100%;
  height: auto;
  max-height: min(80vh, 760px);
  object-fit: contain;
  margin-inline: auto;
}
.article-cover figcaption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}
.article-body {
  max-width: 740px;
  margin: auto;
  padding: 0 25px;
  font-family: "Life Serif", Georgia, serif;
  font-size: var(--reading-size, var(--reading-default-size));
  line-height: 1.85;
  overflow-wrap: anywhere;
}
.article-body p {
  margin-bottom: 1.4em;
}
.article-body h2 {
  font-size: 34px;
  line-height: 1.25;
  margin: 43px 0 18px;
}
.article-body h3 {
  font-size: 27px;
  margin-top: 30px;
}
.article-body blockquote,
.tiptap blockquote {
  margin: 30px 0;
  padding: 5px 0 5px 25px;
  border-left: 3px solid var(--coral);
  font-style: italic;
}
.article-body a {
  text-decoration: underline;
  text-decoration-color: #78927e;
  text-underline-offset: 4px;
}
.reading-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 15px auto 35px;
  padding: 13px 0;
  border-block: 1px solid var(--line);
  max-width: 690px;
  font-size: 10px;
}
.reading-controls button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 40px;
  min-height: 42px;
  background: transparent;
  font-size: 11px;
}
.article-end {
  max-width: 740px;
  padding: 25px;
  margin: 25px auto;
}
.article-end h2 {
  font-size: 29px;
}
.source-list {
  font-size: 13px;
  line-height: 1.8;
}
.author-box {
  background: var(--soft);
  padding: 27px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 28px 0;
}
.author-box h3 {
  font-size: 28px;
  margin-bottom: 9px;
}
.author-box p {
  font-size: 13px;
  color: var(--muted);
}
.community-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.community-actions button {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 10px 17px;
  font-size: 12px;
}
.community-actions button.selected {
  background: var(--green);
  color: white;
}
.comment {
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.comment p {
  font-size: 14px;
  margin: 9px 0;
}
.profile-hero {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 30px 0 45px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.avatar.large {
  height: 110px;
  width: 110px;
  font-size: 58px;
}
.profile-hero h1 {
  font-size: 47px;
  margin: 10px 0 14px;
}
.profile-hero p {
  max-width: 670px;
  color: var(--muted);
}
.author-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.author-tile {
  border: 1px solid var(--line);
  padding: 30px;
  background: var(--surface);
}
.author-tile .avatar {
  margin-bottom: 20px;
}
.author-tile h2 {
  font-size: 29px;
}
.author-tile p {
  font-size: 13px;
  color: var(--muted);
}
.topic-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 22px;
}
.topic-card h2 {
  font-size: 30px;
  margin-top: 12px;
}
.topic-card p {
  max-width: 750px;
  color: var(--muted);
  font-size: 14px;
}
.info-content {
  max-width: 790px;
}
.info-content h2 {
  font-size: 32px;
  margin-top: 35px;
}
.info-content p,
.info-content li {
  font-size: 16px;
  line-height: 1.8;
}
.table-scroll {
  overflow-x: auto;
}
.mobile-preview {
  max-width: 360px;
  margin: auto;
}
.status-text {
  font-size: 12px;
  color: var(--muted);
}
details > summary {
  cursor: pointer;
  font-size: 13px;
  padding: 10px 0;
}
details > summary:focus-visible {
  outline: 3px solid var(--coral);
}
.review-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 35px;
}
.review-grid .article-body {
  align-self: start;
  margin: 0;
  max-width: none;
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.review-grid .article-body h1 {
  font-size: 39px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.subtle {
  color: var(--muted);
  font-size: 12px;
}
.notification {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: block;
  font-size: 13px;
}
.text-button {
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 12px;
  padding: 10px 0;
}
.print-button {
  margin: 15px 0;
}
.flow-step {
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  color: var(--muted);
}
[data-theme="dark"] {
  --coral: #e4aa90;
  --paper: #17271f;
  --surface: #20342a;
  --ink: #eeeee2;
  --muted: #b7c4b8;
  --line: #425145;
  --green: #315941;
  --soft: #2a3e2f;
  color-scheme: dark;
}
[data-theme="dark"] .topics-box,
[data-theme="dark"] .demo-strip {
  background: #2a3e2f;
  border-color: #425145;
  color: #c5cbbb;
}
@media (prefers-color-scheme: dark) {
  [data-theme="system"] {
    --coral: #e4aa90;
    --paper: #17271f;
    --surface: #20342a;
    --ink: #eeeee2;
    --muted: #b7c4b8;
    --line: #425145;
    --green: #315941;
    --soft: #2a3e2f;
    color-scheme: dark;
  }
}
@media (min-width: 1450px) {
  .container {
    padding: 0 35px;
  }
  .page {
    padding-top: 55px;
  }
  .hero-image {
    min-height: 520px;
  }
  .hero h1 {
    font-size: 72px;
  }
}
@media (max-width: 1100px) {
  .site-header {
    gap: 20px;
    padding-inline: 25px;
  }
  .site-header nav {
    gap: 15px;
    font-size: 12px;
  }
  .header-actions {
    gap: 7px;
  }
  .login-link {
    display: none;
  }
  .container {
    padding-inline: 28px;
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 53px;
  }
  .hero-image {
    min-height: 480px;
  }
  .category-ribbon {
    gap: 8px;
  }
  .category-ribbon a {
    font-size: 10px;
    padding: 7px 10px;
  }
  .cards {
    gap: 23px;
  }
  .card-copy h3 {
    font-size: 26px;
  }
  .card-copy .reading-time {
    display: none;
  }
  .writing-banner {
    padding: 35px;
    gap: 28px;
    grid-template-columns: 0.55fr 1.5fr;
  }
  .banner-aside {
    display: none;
  }
  .everyday {
    gap: 35px;
    grid-template-columns: 1.4fr 1fr;
  }
  .article-card.compact {
    grid-template-columns: 140px 1fr;
    gap: 16px;
  }
  .compact h3 {
    font-size: 22px;
  }
  .topics-box {
    padding: 25px;
  }
  .auth-layout {
    gap: 50px;
  }
  .editor-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
  }
  .editor-paper {
    padding: 23px;
  }
}
@media (max-width: 780px) {
  .topline {
    padding-inline: 20px;
  }
  .topline span:last-child {
    display: none;
  }
  .site-header {
    padding: 19px 20px;
  }
  .wordmark {
    font-size: 34px;
  }
  .site-header nav {
    display: none;
  }
  .header-actions {
    gap: 7px;
  }
  .header-actions .button {
    padding: 11px;
    font-size: 11px;
  }
  .mobile-nav {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    padding: 8px 15px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }
  .mobile-nav a {
    padding: 7px 4px;
    min-height: 36px;
  }
  .demo-strip {
    font-size: 8px;
  }
  .container {
    padding-inline: 23px;
  }
  .home-intro {
    padding: 25px 0 20px;
  }
  .home-intro > span:last-child {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: 55px;
    max-width: 600px;
    margin: 20px 0;
  }
  .hero-copy > p {
    max-width: 600px;
    font-size: 15px;
    margin-bottom: 23px;
  }
  .hero-copy .byline {
    max-width: 450px;
  }
  .hero-image {
    min-height: 340px;
  }
  .hero-image > img {
    object-position: center 55%;
  }
  .hero-stamp {
    width: 88px;
    height: 88px;
  }
  .category-ribbon {
    margin-top: 28px;
    padding: 18px 0;
    gap: 9px;
  }
  .category-ribbon > span {
    width: 100%;
    margin-bottom: 4px;
  }
  .category-ribbon .round-link {
    margin-left: 0;
  }
  .editorial-section {
    margin: 43px 0;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading .text-link {
    font-size: 10px;
    gap: 5px;
  }
  .section-heading h2 {
    font-size: 31px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
  }
  .cards.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 21px;
  }
  .cards.three > .article-card:last-child:nth-child(odd) {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .cards.three > .article-card:last-child:nth-child(odd) .card-image img {
    height: 100%;
    aspect-ratio: 1.3;
  }
  .card-copy h3 {
    font-size: 26px;
  }
  .writing-banner {
    grid-template-columns: 1fr;
    padding: 32px;
    margin: 42px 0;
  }
  .writing-icon {
    display: none;
  }
  .writing-banner h2 {
    font-size: 38px;
  }
  .everyday {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .article-card.compact {
    grid-template-columns: 145px 1fr;
    gap: 20px;
  }
  .compact h3 {
    font-size: 25px;
  }
  .topics-box {
    padding: 27px;
  }
  .discovery-banner {
    flex-wrap: wrap;
    gap: 18px;
  }
  .discovery-banner > div {
    flex-basis: 80%;
  }
  .discovery-banner .button {
    margin-left: 53px;
  }
  .site-footer {
    padding: 35px 23px 22px;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .site-footer > div:first-child {
    grid-column: 1/-1;
  }
  .site-footer nav {
    font-size: 12px;
  }
  .page {
    padding-top: 35px;
  }
  .page h1 {
    font-size: 42px;
  }
  .search-filters {
    grid-template-columns: 1fr 1fr;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .auth-aside {
    padding: 10px 0;
  }
  .auth-aside h1 {
    font-size: 40px;
  }
  .auth-aside p {
    font-size: 14px;
  }
  .auth-card {
    padding: 26px;
  }
  .panel-grid,
  .editor-layout,
  .review-grid {
    grid-template-columns: 1fr;
  }
  .panel-header {
    align-items: start;
    flex-wrap: wrap;
  }
  .panel-header h1 {
    font-size: 35px;
  }
  .panel-nav {
    gap: 6px;
  }
  .panel-nav a,
  .panel-nav button {
    padding: 9px 12px;
    font-size: 11px;
  }
  .editor-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: start;
  }
  .editor-aside .panel-box:first-child {
    grid-column: 1/-1;
  }
  .editor-paper {
    padding: 22px;
  }
  .editor-paper input.title-input {
    font-size: 30px;
  }
  .article-top {
    padding: 32px 23px 24px;
  }
  .article-top h1 {
    font-size: 45px;
  }
  .article-lead {
    font-size: 18px;
  }
  .article-cover {
    padding: 0 23px;
  }
  .article-body {
    --reading-default-size: 18px;
    line-height: 1.85;
  }
  .article-body h2 {
    font-size: 29px;
  }
  .reading-controls {
    margin-inline: 23px;
  }
  .reading-controls > span:first-child {
    display: none;
  }
  .author-grid {
    grid-template-columns: 1fr 1fr;
  }
  .profile-hero {
    gap: 20px;
    align-items: start;
  }
  .avatar.large {
    width: 75px;
    height: 75px;
    font-size: 40px;
  }
  .profile-hero h1 {
    font-size: 36px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .comparison {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .site-header {
    gap: 8px;
  }
  .wordmark {
    font-size: 31px;
    gap: 5px;
  }
  .wordmark > svg {
    width: 22px;
  }
  .header-actions .icon-button {
    display: none;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-image {
    min-height: 290px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .hero-copy .byline {
    font-size: 11px;
  }
  .cards.three {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .cards.three > .article-card:last-child:nth-child(odd) {
    display: block;
  }
  .cards.three > .article-card:last-child:nth-child(odd) .card-image img {
    aspect-ratio: 1.65;
  }
  .card-copy h3 {
    font-size: 29px;
  }
  .section-heading {
    flex-wrap: wrap;
    gap: 12px;
  }
  .section-heading .text-link {
    font-size: 12px;
  }
  .category-ribbon a {
    font-size: 10px;
  }
  .writing-banner {
    padding: 27px;
  }
  .writing-banner h2 {
    font-size: 36px;
  }
  .writing-banner .quiet-link {
    margin-left: 13px;
  }
  .article-card.compact {
    grid-template-columns: 110px 1fr;
    gap: 15px;
  }
  .compact h3 {
    font-size: 23px;
  }
  .compact .byline .avatar {
    display: none;
  }
  .compact .eyebrow > span {
    display: none;
  }
  .discovery-banner h3 {
    font-size: 25px;
  }
  .discovery-banner .button {
    margin-left: 0;
    width: 100%;
  }
  .search-form > .button {
    padding-inline: 16px;
  }
  .search-filters {
    gap: 12px;
  }
  .search-filters select {
    font-size: 11px;
    width: 100%;
    padding: 12px 8px;
  }
  .results-label {
    align-items: start;
    gap: 15px;
    font-size: 11px;
  }
  .panel-box {
    padding: 20px;
  }
  .editor-aside {
    grid-template-columns: 1fr;
  }
  .editor-paper {
    padding: 17px;
  }
  .editor-toolbar button {
    padding: 8px;
  }
  .article-top h1 {
    font-size: 38px;
  }
  .article-top .byline > span:last-child {
    margin-left: 0;
    width: 100%;
  }
  .article-cover {
    padding: 0;
  }
  .article-cover figcaption {
    padding-inline: 23px;
  }
  .author-grid {
    grid-template-columns: 1fr;
  }
  .profile-hero {
    flex-direction: column;
  }
  .footer-bottom > span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .topline,
  .demo-strip,
  .mobile-nav,
  .no-print,
  .panel-nav,
  .skip-link,
  .reading-controls {
    display: none !important;
  }
  body {
    background: white;
    color: #111;
  }
  .container,
  .article-top,
  .article-body,
  .article-end {
    padding: 0;
    max-width: 100%;
  }
  .page {
    padding: 0;
  }
  .cards.three {
    grid-template-columns: 1fr 1fr;
  }
  .article-card {
    break-inside: avoid;
  }
  .card-image {
    max-height: 150px;
  }
  .profile-hero {
    break-after: avoid;
  }
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 9px;
  }
  .article-cover {
    max-width: 600px;
  }
  h1 {
    font-size: 34pt;
  }
  h2 {
    font-size: 22pt;
  }
  @page {
    margin: 18mm;
  }
}
/* Editorial tools stay inside the existing portal's spacing and palette. */
.revision-comparison {
  margin-block: 24px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.diff-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.diff-columns > * {
  min-width: 0;
  overflow: auto;
}
.diff-field {
  padding-block: 18px;
  border-bottom: 1px solid #dedbd5;
}
.diff-field pre,
.diff-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
}
.diff-text {
  padding: 12px;
  background: #f6f4ef;
}
.revision-comparison ins {
  color: #175d39;
  background: #dff4e4;
  text-decoration: underline;
}
.revision-comparison del {
  color: #862a30;
  background: #fbe1e1;
  text-decoration: line-through;
}
.revision-comparison details {
  margin-block: 16px;
}
.revision-comparison summary {
  cursor: pointer;
}
.revision-comparison table {
  border-collapse: collapse;
  width: 100%;
}
.revision-comparison td,
.revision-comparison th {
  border: 1px solid #bdb9b2;
  padding: 8px;
}
@media (max-width: 700px) {
  .diff-columns {
    grid-template-columns: 1fr;
  }
}
.admin-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.admin-form fieldset,
.panel-box fieldset {
  min-width: 0;
  border: 1px solid var(--border, #dedbd5);
  border-radius: 12px;
  padding: 16px;
  margin-block: 12px;
}
.admin-record {
  padding-block: 18px;
  border-bottom: 1px solid var(--border, #dedbd5);
  overflow-wrap: anywhere;
}
.admin-record summary {
  cursor: pointer;
  font-weight: 650;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-block: 12px;
  line-height: 1.5;
}
.check-label input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 4px;
}
.json-preview,
.preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.json-preview {
  max-height: 400px;
  overflow: auto;
  font-size: 13px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.stat-value {
  font-size: 36px;
}
.media-thumb {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 10px;
}
.media-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.media-picker button {
  padding: 4px;
  background: transparent;
  border: 1px solid var(--border, #dedbd5);
  border-radius: 8px;
  font-size: 12px;
}
.media-picker img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.media-cropper { margin-block: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; }
.media-cropper fieldset { min-width: 0; border: 0; padding: 0; }
.media-cropper input[type="range"] { width: 100%; padding-inline: 0; }
.crop-previews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.crop-previews figure { margin: 0; min-width: 0; }
.crop-previews figcaption { font-size: .8rem; margin-top: .5rem; }
.crop-selection, .crop-result { position: relative; overflow: hidden; }
.crop-selection img { width: 100%; }
.crop-selection span { position: absolute; border: 2px solid white; box-shadow: 0 0 0 9999px #0008; pointer-events: none; }
@media (max-width: 600px) { .crop-previews { grid-template-columns: 1fr; } }
.panel-box {
  min-width: 0;
  overflow-wrap: anywhere;
}
.review-block {
  border-left: 3px solid var(--border, #dedbd5);
  padding: 12px 18px;
  margin-block: 18px;
  scroll-margin-top: 100px;
  overflow-wrap: anywhere;
  min-width: 0;
}
.block-label {
  font-size: 12px;
  margin: 0 0 8px;
}
.block-threads {
  font-family: var(--font-sans), sans-serif;
  font-size: 15px;
}
.block-threads summary {
  cursor: pointer;
  padding: 10px 0;
}
.block-comment-form {
  display: grid;
  gap: 10px;
  margin-block: 16px;
}
.block-comment-form label,
.proposal-fields label,
.version-picker label {
  display: grid;
  gap: 8px;
}
.block-comment-form textarea,
.proposal-fields input,
.proposal-fields textarea,
.version-picker select {
  width: 100%;
  min-width: 0;
}
.block-reply {
  border-left: 2px solid var(--border, #dedbd5);
  padding-left: 14px;
  margin-top: 14px;
}
.comment-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.proposal-fields {
  display: grid;
  gap: 20px;
  border: 0;
  padding: 0;
  margin-block: 24px;
  min-width: 0;
}
.proposal-editor {
  border: 1px solid var(--border, #dedbd5);
  border-radius: 8px;
  padding: 20px;
  min-height: 260px;
  overflow-wrap: anywhere;
}
.proposal-editor .tiptap {
  min-height: 220px;
}
.proposal-actions,
.version-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px;
  margin-block: 20px;
}
.version-picker label {
  flex: 1 1 240px;
  min-width: 0;
}
.checkbox-label {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-block: 18px;
}
.checkbox-label input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 3px;
}
@media (max-width: 600px) {
  .admin-form fieldset,
  .panel-box fieldset {
    padding: 10px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
/* Archive galleries use the article's reading column on every viewport. */
.archive-gallery figure {
  margin: 1.5rem 0;
}
.archive-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.archive-gallery figcaption {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}
.discussion {
  margin-top: 38px;
}
.comment-thread {
  margin-block: 24px;
  min-width: 0;
}
.comment-replies {
  margin-left: clamp(12px, 3vw, 32px);
  padding-left: clamp(10px, 2vw, 20px);
  border-left: 2px solid var(--line);
}
.comment-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.comment-tools {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
}
.comment-report {
  min-width: 0;
  max-width: 100%;
}
.comment-report[open] {
  width: 100%;
}
.comment-report summary {
  padding-block: 8px;
  font-size: 14px;
}
.comment-composer {
  margin-top: 24px;
}
.comment[id],
.discussion {
  scroll-margin-top: 100px;
}
.reported-comment {
  padding: 14px;
  border: 1px solid var(--line);
  margin-block: 16px;
  overflow-wrap: anywhere;
}
.reported-comment blockquote {
  margin-inline: 0;
}
.article-media {
  margin: 1.5rem 0;
  min-width: 0;
}
.article-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.article-media figcaption,
.article-embed figcaption {
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 0.6rem;
  overflow-wrap: anywhere;
}
.article-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.article-gallery .article-media {
  margin: 0;
}
.article-embed {
  margin: 1.5rem 0;
  min-width: 0;
}
.article-embed iframe {
  width: 100%;
  border: 0;
  display: block;
}
.video-embed {
  aspect-ratio: 16/9;
}
.audio-embed {
  height: 352px;
}
.embed-placeholder,
.editor-media-block,
.block-media-form {
  border: 1px solid var(--line, #ccc);
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  overflow-wrap: anywhere;
}
.block-media-form fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
}
.block-media-form .block-image-fields {
  border-top: 1px solid var(--line, #ccc);
  padding: 1rem 0;
}
.block-image-fields > img {
  max-width: 160px;
  max-height: 120px;
  object-fit: contain;
}
.editor-media-block.ProseMirror-selectednode {
  outline: 2px solid var(--accent, #31523c);
}
.editor-media-block [data-drag-handle] {
  cursor: grab;
}
@media (max-width: 540px) {
  .article-gallery {
    grid-template-columns: 1fr;
  }
}
.portfolio-items { padding-left: 1.5rem; }
.portfolio-items li { padding: 1rem 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.portfolio-items .badge { margin-left: .5rem; }
.portfolio-items .editor-actions { margin-top: .5rem; flex-wrap: wrap; }
.portfolio-card { position: relative; min-width: 0; }
.portfolio-card > .badge { position: absolute; z-index: 1; top: .75rem; left: .75rem; background: var(--paper, #fff); }

.discovery-preference {
  width: 100%;
  min-width: 0;
}
.discovery-preference .button {
  white-space: normal;
  margin-bottom: 0.5rem;
}

/* Reader-facing magazine design. Editorial tools retain their existing layout. */
.topline {
  padding: 7px max(28px, calc((100vw - 1232px) / 2));
  background: #203e32;
  font-size: 9px;
}
.site-header {
  max-width: 1320px;
  padding-block: 26px;
  border: 0;
}
.wordmark {
  font-size: 39px;
  letter-spacing: -1.8px;
}
.wordmark > svg {
  width: 25px;
  height: 31px;
  color: var(--coral);
}
.site-header nav {
  gap: 29px;
  font-weight: 600;
}
.site-header nav a {
  position: relative;
  padding-block: 10px;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 2px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.site-header nav a:hover::after {
  transform: scaleX(1);
}
.header-actions {
  gap: 16px;
  flex-shrink: 0;
}
.login-link { white-space: nowrap; }
@media (min-width: 781px) and (max-width: 1250px) {
  .site-header { flex-wrap: wrap; justify-content: space-between; }
  .site-header nav { order: 3; width: 100%; justify-content: center; }
  .header-actions .login-link { display: inline; }
}
.header-actions .button {
  border-radius: 7px;
}
.demo-strip {
  background: var(--soft);
  color: var(--muted);
  border-block: 1px solid var(--line);
  font-size: 9px;
  padding: 5px 16px;
}
.button {
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px #16352815;
}
.button.light:hover {
  background: #fff;
}
.journal {
  padding-bottom: 0;
}
.journal-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 26px;
}
.journal-welcome .eyebrow {
  font-size: 9px;
  gap: 8px;
  letter-spacing: 0.17em;
}
.live-dot {
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
}
.journal-welcome p {
  font-family: Georgia, serif;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.045em;
  line-height: 1.2;
  margin: 9px 0 0;
}
.journal-welcome em {
  color: var(--coral);
  font-weight: normal;
}
.welcome-note {
  color: var(--muted);
  text-align: right;
  font-size: 12px;
  line-height: 1.7;
}
.journal-lead {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 30px;
}
.cover-story {
  min-height: 580px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  isolation: isolate;
  background: #314d38;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cover-story::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    var(--photo-shade) 0%,
    var(--photo-shade-strong) 100%
  );
}
.cover-story .cover-story-image {
  z-index: -2;
  object-position: 45% center;
  transition: transform 0.7s;
}
.cover-story:has(a:hover) .cover-story-image {
  transform: scale(1.025);
}
.cover-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 27px 30px;
  gap: 15px;
}
.cover-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 8px 11px;
  background: #fffaf0;
  color: #294635;
  border-radius: 5px;
  font-weight: 700;
}
.cover-issue {
  font-size: 8px;
  letter-spacing: 0.16em;
  text-shadow: 0 1px 6px #10271d;
}
.cover-story-copy {
  padding: 35px 36px 30px;
}
.cover-story-copy .eyebrow {
  font-size: var(--category-size);
  letter-spacing: 0.13em;
  color: #f6e8cb;
  flex-wrap: wrap;
}
.cover-story-copy .eyebrow span {
  color: #f0eddf;
}
.cover-story h1 {
  font-size: clamp(38px, 4.1vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin: 15px 0 16px;
  max-width: 670px;
  text-wrap: balance;
}
.cover-story h1 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.cover-story-copy > p {
  font-size: 13px;
  line-height: 1.75;
  color: #f1f1e8;
  max-width: 490px;
  margin-bottom: 24px;
}
.cover-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid #ffffff35;
  padding-top: 18px;
}
.cover-author {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
}
.cover-author .avatar {
  width: 35px;
  height: 35px;
  color: #264a37;
  background: #e8eadb;
  font-size: 19px;
}
.cover-author small {
  display: block;
  color: #d2ddd3;
  font-size: 9px;
  margin-top: 2px;
}
.cover-read {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #213e31;
  background: #fffaf0;
  display: grid;
  place-items: center;
  transition:
    transform 0.2s,
    background 0.2s;
}
.cover-read:hover {
  transform: rotate(10deg);
  background: #e1edbc;
}
.lead-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 17px;
  min-width: 0;
}
.side-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.side-label .eyebrow {
  font-size: 9px;
  letter-spacing: 0.14em;
}
.side-label > span:last-child {
  font-size: 21px;
  line-height: 1;
  color: var(--coral);
}
.side-story + .side-story {
  border-top: 1px solid var(--line);
  padding-top: 19px;
}
.side-story-image {
  display: block;
  position: relative;
  border-radius: 9px;
  overflow: hidden;
}
.side-story-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.5s;
}
.side-story-image:hover img {
  transform: scale(1.04);
}
.side-time {
  position: absolute;
  display: flex;
  gap: 5px;
  align-items: center;
  bottom: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 30px;
  font-size: 9px;
  color: #294635;
  background: #fffaf0ee;
}
.side-story > .eyebrow {
  font-size: var(--category-size);
  color: var(--coral);
  margin: 12px 0 7px;
}
.side-story h2 {
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
  text-wrap: balance;
}
.side-story h2 a:hover {
  color: var(--coral);
}
.side-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}
.side-empty {
  padding: 25px;
  background: var(--soft);
  border-radius: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.journal-empty {
  position: relative;
  isolation: isolate;
  border-radius: 12px;
  overflow: hidden;
  padding: 60px 40px;
  color: #fff;
  background: #193b2b;
}
.journal-empty > img {
  z-index: -2;
}
.journal-empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #122c21b0;
  z-index: -1;
}
.interest-bar {
  display: flex;
  align-items: center;
  gap: 22px;
  border-block: 1px solid var(--line);
  margin-top: 27px;
  padding: 18px 0;
}
.interest-bar > span {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  font-size: 11px;
  white-space: nowrap;
}
.interest-bar > span svg {
  color: var(--coral);
}
.interest-bar > div {
  display: flex;
  gap: 7px;
  align-items: center;
  flex: 1;
  flex-wrap: wrap;
}
.interest-bar a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border-radius: 30px;
  padding: 8px 10px;
  background: var(--soft);
  font-size: 10px;
  white-space: nowrap;
  transition: background 0.2s;
}
.interest-bar a:hover {
  background: var(--line);
}
.interest-bar .all-topics {
  margin-left: auto;
  background: transparent;
}
.journal-section {
  margin: 65px 0;
}
.journal .section-heading {
  margin-bottom: 26px;
  gap: 24px;
}
.journal .section-heading h2 {
  font-size: clamp(29px, 3vw, 39px);
  line-height: 1.1;
}
.journal .section-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 10px;
  letter-spacing: 0.14em;
}
.journal .section-heading > p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}
.section-mark {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--coral);
  margin-right: 3px;
}
.card-image {
  border-radius: 9px;
}
.cards > .article-card {
  display: flex;
  flex-direction: column;
}
.cards .card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.cards .card-copy > .byline {
  margin-top: auto;
}
.skip-link:not(:focus) {
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.card-image img {
  aspect-ratio: 1.6;
}
.image-arrow {
  opacity: 1;
  width: 32px;
  height: 32px;
  bottom: 12px;
  right: 12px;
}
.card-copy > .eyebrow {
  margin-top: 17px;
  font-size: var(--category-size);
  color: var(--coral);
}
.card-copy h3 {
  font-size: 27px;
  margin: 10px 0 11px;
  line-height: 1.16;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.card-copy > p {
  font-size: 12px;
  margin-bottom: 17px;
}
.card-copy .byline {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.card-copy .byline .reading-time {
  font-size: 9px;
}
.small-avatar {
  width: 27px;
  height: 27px;
  font-size: 15px;
  background: #e3e9dc;
}
.worlds-section {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.worlds-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.world-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 9px;
  min-height: 285px;
  display: flex;
  align-items: end;
  padding: 23px 20px;
  color: #fff;
  background: #234633;
}
.world-card > img {
  z-index: -2;
  transition: transform 0.5s;
}
.world-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--photo-shade) 0%, var(--photo-shade-strong) 100%);
}
.world-card:hover > img {
  transform: scale(1.06);
}
.world-arrow {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  border: 1px solid #ffffff85;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #173c2740;
}
.world-card h3 {
  font-size: 27px;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.world-card p {
  font-size: 10px;
  margin: 0;
  color: #f0f2e6;
  line-height: 1.6;
}
.slow-moment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 12px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.slow-copy {
  padding: 46px 42px;
}
.slow-copy > .eyebrow {
  font-size: 9px;
  letter-spacing: 0.1em;
}
.slow-copy h2 {
  font-size: clamp(34px, 3.3vw, 45px);
  line-height: 1.15;
  margin: 23px 0 19px;
}
.slow-copy h2 em {
  color: var(--coral);
}
.slow-copy > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 390px;
  margin-bottom: 23px;
}
.slow-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  margin-top: 20px;
  color: var(--muted);
}
.slow-image {
  position: relative;
  min-height: 400px;
}
.slow-image > img {
  object-position: center;
}
.slow-sticker {
  position: absolute;
  top: 26px;
  right: 26px;
  background: #f7efd8;
  color: #34513c;
  width: 119px;
  height: 119px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(10deg);
  border: 1px solid #ffffff95;
  box-shadow: 0 4px 20px #192c1515;
}
.slow-sticker span {
  font-size: 10px;
}
.slow-sticker strong {
  font-family: Georgia, serif;
  font-weight: normal;
  font-style: italic;
  font-size: 23px;
  margin-bottom: 5px;
}
.reading-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: -4px 0 27px;
}
.reading-filters button {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  min-height: 43px;
  transition:
    background 0.2s,
    color 0.2s;
}
.reading-filters button:hover {
  background: var(--soft);
}
.reading-filters button[aria-pressed="true"] {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.journal-reading-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 38px;
}
.journal-reading-grid .compact {
  grid-template-columns: 155px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 24px;
}
.journal-reading-grid .compact h3 {
  font-size: 24px;
}
.journal-reading-grid .compact .byline {
  border: 0;
  padding-top: 0;
}
.journal-reading-grid .compact .avatar {
  display: none;
}
.journal-reading-grid .compact .byline > span {
  margin-left: 0;
}
.journal-reading-grid .compact .card-image img {
  height: 135px;
  width: 100%;
  aspect-ratio: auto;
}
.journal-reading-grid .compact .card-copy > .eyebrow {
  margin-top: 0;
  font-size: var(--category-size);
}
.reading-empty {
  padding: 30px;
  background: var(--soft);
  border-radius: 9px;
  min-height: 160px;
}
.journal-community {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.community-invite {
  background: #244c3b;
  color: #fcf9ee;
  padding: 42px;
  position: relative;
  overflow: hidden;
}
.community-invite > .eyebrow {
  color: #dbdec8;
  font-size: 9px;
}
.community-invite h2 {
  font-size: 39px;
  margin: 23px 0 19px;
  line-height: 1.12;
}
.community-invite h2 em {
  color: #e2bd8b;
}
.community-invite p {
  font-size: 12px;
  color: #d8e0d3;
  max-width: 390px;
  line-height: 1.8;
  margin-bottom: 25px;
}
.community-invite .quiet-link {
  font-size: 11px;
  margin-left: 17px;
  display: inline-block;
  margin-top: 12px;
}
.community-signoff {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 11px;
  color: #dce2ce;
}
.signoff-line {
  width: 28px;
  height: 1px;
  background: #ffffff45;
}
.community-topics {
  background: var(--soft);
  padding: 39px 37px;
}
.community-topics > .eyebrow {
  font-size: 9px;
}
.community-topics h3 {
  font-size: 29px;
  margin: 14px 0 23px;
}
.community-brief {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 17px 0;
}
.community-brief > span {
  font-family: Georgia, serif;
  font-size: 27px;
  color: var(--coral);
}
.community-brief > div {
  flex: 1;
}
.community-brief strong {
  font-size: 12px;
  font-weight: 500;
}
.community-brief small {
  display: block;
  font-size: 9px;
  margin-top: 2px;
}
.community-brief:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.community-topics > .text-link {
  font-size: 11px;
  margin-top: 16px;
}
.journal-endnote {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 32px 0 0;
  color: var(--muted);
}
.journal-endnote > svg {
  color: var(--coral);
}
.journal-endnote p {
  margin: 0;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 17px;
}
.journal-endnote a {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  font-size: 11px;
  color: var(--ink);
}
.site-footer {
  margin-top: 48px;
}
.site-footer nav a:hover {
  color: var(--coral);
}
.footer-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 5px;
}
.footer-visual-note {
  display: block;
  max-width: 310px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 1100px) {
  .site-header nav {
    gap: 18px;
  }
  .journal-lead {
    gap: 23px;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  }
  .cover-story {
    min-height: 560px;
  }
  .cover-story-copy {
    padding: 26px;
  }
  .cover-story h1 {
    font-size: 46px;
  }
  .side-story-image img {
    height: 145px;
  }
  .side-story h2 {
    font-size: 24px;
  }
  .cover-issue {
    display: none;
  }
  .interest-bar {
    align-items: start;
    gap: 14px;
  }
  .interest-bar > span {
    padding-top: 9px;
  }
  .interest-bar .all-topics {
    margin-left: 0;
  }
  .world-card {
    min-height: 255px;
    padding: 19px 15px;
  }
  .world-card h3 {
    font-size: 24px;
  }
  .slow-copy {
    padding: 35px 29px;
  }
  .journal-reading-grid {
    gap: 22px;
  }
  .journal-reading-grid .compact {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 16px;
  }
  .journal-reading-grid .compact h3 {
    font-size: 22px;
  }
  .community-invite {
    padding: 34px 28px;
  }
  .community-invite h2 {
    font-size: 34px;
  }
  .community-topics {
    padding: 34px 28px;
  }
}
@media (max-width: 780px) {
  .header-actions .theme-toggle {
    display: none;
  }
  .site-header {
    padding-block: 18px;
  }
  .mobile-nav {
    background: var(--surface);
    font-weight: 500;
    align-items: center;
    gap: 4px;
    padding-inline: 10px;
  }
  .journal-welcome {
    padding: 24px 0;
  }
  .welcome-note {
    font-size: 10px;
  }
  .journal-lead {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .cover-story {
    min-height: 555px;
  }
  .cover-story h1 {
    font-size: 51px;
    max-width: 590px;
  }
  .cover-story-copy {
    padding: 30px;
  }
  .lead-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 22px;
  }
  .side-label {
    grid-column: 1 / -1;
  }
  .side-story + .side-story {
    border-top: 0;
    padding-top: 0;
  }
  .side-story-image img {
    height: 175px;
  }
  .interest-bar {
    flex-direction: column;
    gap: 12px;
  }
  .interest-bar > span {
    padding: 0;
  }
  .interest-bar > div {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 5px;
  }
  .interest-bar a {
    min-height: 40px;
  }
  .journal-section {
    margin: 46px 0;
  }
  .journal .section-heading {
    align-items: end;
  }
  .journal .section-heading > .text-link {
    font-size: 10px;
  }
  .journal .section-heading > p {
    display: none;
  }
  .worlds-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .world-card {
    min-height: 280px;
    padding: 22px;
  }
  .world-card h3 {
    font-size: 29px;
  }
  .slow-moment {
    grid-template-columns: 1fr 1fr;
  }
  .slow-copy {
    padding: 31px 24px;
  }
  .slow-copy > .eyebrow {
    font-size: 8px;
  }
  .slow-copy h2 {
    font-size: 35px;
  }
  .slow-image {
    min-height: 350px;
  }
  .journal-reading-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .journal-reading-grid .compact {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .journal-reading-grid .compact h3 {
    font-size: 25px;
  }
  .journal-community {
    grid-template-columns: 1fr;
  }
  .community-invite {
    padding: 36px;
  }
  .community-invite p {
    max-width: 460px;
  }
  .community-signoff {
    justify-content: start;
  }
  .community-topics {
    padding: 32px 36px;
  }
  .journal-endnote {
    flex-wrap: wrap;
    gap: 12px;
  }
  .journal-endnote a {
    margin-left: 30px;
  }
}
@media (max-width: 600px) {
  .container.journal {
    padding-inline: 18px;
  }
  .journal-welcome {
    padding: 23px 0 20px;
  }
  .journal-welcome p {
    font-size: 29px;
  }
  .welcome-note {
    display: none;
  }
  .wordmark {
    font-size: 31px;
  }
  .wordmark > svg {
    width: 22px;
  }
  .header-actions {
    gap: 3px;
  }
  .header-actions .button {
    padding: 10px 12px;
    font-size: 10px;
  }
  .header-actions .button svg {
    display: none;
  }
  .demo-strip {
    font-size: 8px;
    line-height: 1.6;
  }
  .cover-story {
    min-height: 550px;
    border-radius: 10px;
  }
  .cover-top {
    padding: 20px;
  }
  .cover-story-copy {
    padding: 26px 23px 23px;
  }
  .cover-story h1 {
    font-size: clamp(34px, 9.7vw, 49px);
    line-height: 1.08;
    margin-top: 12px;
  }
  .cover-story-copy > p {
    font-size: 12px;
    line-height: 1.7;
  }
  .cover-story-copy .eyebrow {
    font-size: var(--category-size);
    gap: 5px;
  }
  .cover-author {
    font-size: 10px;
  }
  .cover-bottom {
    padding-top: 15px;
  }
  .side-story-image img {
    height: 130px;
  }
  .side-story h2 {
    font-size: 22px;
    line-height: 1.16;
  }
  .side-story > .eyebrow {
    font-size: var(--category-size);
    letter-spacing: 0.08em;
  }
  .side-author {
    font-size: 8px;
    align-items: start;
    gap: 6px;
  }
  .side-author svg {
    width: 13px;
  }
  .lead-side {
    gap: 14px;
  }
  .journal .section-heading {
    flex-direction: column;
    align-items: start;
    gap: 15px;
  }
  .journal .section-heading h2 {
    font-size: 32px;
  }
  .journal .section-heading .eyebrow {
    font-size: 8px;
  }
  .journal .section-heading > .text-link {
    font-size: 11px;
    gap: 10px;
  }
  .journal .cards.three {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .journal .cards.three > .article-card:last-child:nth-child(odd) {
    display: block;
    grid-column: auto;
  }
  .journal
    .cards.three
    > .article-card:last-child:nth-child(odd)
    .card-image
    img {
    height: auto;
    aspect-ratio: 1.6;
  }
  .journal .card-copy h3 {
    font-size: 28px;
  }
  .journal .card-copy .reading-time {
    display: inline;
  }
  .world-card {
    min-height: 245px;
    padding: 18px 14px;
  }
  .world-card h3 {
    font-size: 25px;
  }
  .world-card p {
    font-size: 9px;
    line-height: 1.6;
  }
  .worlds-grid {
    gap: 12px;
  }
  .slow-moment {
    grid-template-columns: 1fr;
  }
  .slow-copy {
    padding: 31px 25px;
  }
  .slow-copy h2 {
    font-size: 38px;
  }
  .slow-copy > .eyebrow {
    font-size: 8px;
  }
  .slow-image {
    min-height: 300px;
  }
  .slow-sticker {
    height: 105px;
    width: 105px;
    top: 20px;
    right: 20px;
  }
  .reading-filters {
    gap: 8px;
  }
  .reading-filters button {
    padding: 9px 11px;
    font-size: 10px;
  }
  .journal-reading-grid .compact {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 15px;
    padding-bottom: 21px;
  }
  .journal-reading-grid .compact h3 {
    font-size: 22px;
    margin: 8px 0 10px;
  }
  .journal-reading-grid .compact .card-image img {
    height: 135px;
  }
  .journal-reading-grid .compact .reading-time {
    display: none;
  }
  .journal-reading-grid .compact .eyebrow {
    font-size: var(--category-size);
    letter-spacing: 0.05em;
  }
  .journal-reading-grid .compact .byline {
    font-size: 10px;
  }
  .journal-reading-grid .image-arrow {
    width: 25px;
    height: 25px;
    bottom: 8px;
    right: 8px;
  }
  .journal-reading-grid .image-arrow svg {
    width: 16px;
  }
  .community-invite,
  .community-topics {
    padding: 31px 24px;
  }
  .community-invite h2 {
    font-size: 34px;
  }
  .community-signoff {
    gap: 8px;
    font-size: 10px;
  }
  .signoff-line {
    width: 14px;
  }
  .journal-endnote p {
    font-size: 15px;
    flex: 1;
  }
  .journal-endnote a {
    font-size: 10px;
  }
  .journal-empty {
    padding: 45px 25px;
  }
  .journal-empty h1 {
    font-size: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cover-story .cover-story-image,
  .world-card > img,
  .side-story-image img,
  .button,
  .cover-read {
    transition: none;
  }
  .cover-story:has(a:hover) .cover-story-image,
  .world-card:hover > img,
  .side-story-image:hover img,
  .button:hover,
  .cover-read:hover {
    transform: none;
  }
}

.growth-form {
  display: grid;
  gap: 1rem;
}
.growth-form label:not(.consent-line),
.newsletter-form > label:not(.consent-line) {
  display: grid;
  gap: 0.4rem;
}
.growth-form input:not([type="checkbox"]),
.growth-form textarea,
.growth-form select,
.newsletter-form input[type="email"],
.search-filters input[type="date"] {
  width: 100%;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  min-width: 0;
}
.growth-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.growth-admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.article-picker {
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: 8px;
  min-width: 0;
}
.article-picker ol {
  padding-left: 1.3rem;
}
.article-picker li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.article-picker li > div {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.consent-line {
  display: flex !important;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.consent-line input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--green);
}
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.newsletter-form {
  display: grid;
  gap: 0.9rem;
  position: relative;
}
.newsletter-form > p {
  margin: 0;
  font-size: 0.88rem;
}
.newsletter-banner,
.newsletter-landing,
.series-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.newsletter-banner {
  background: var(--soft);
  padding: 3rem;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.newsletter-banner h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin: 1rem 0;
}
.newsletter-banner em,
.newsletter-landing em {
  color: var(--coral);
}
.newsletter-landing > img,
.series-header > img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 14px;
}
.newsletter-preview {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
  line-height: 1.7;
  max-height: 600px;
  overflow: auto;
}
.schedule-newsletter {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.series-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
}
.series-card > div:not(.series-photo) {
  padding: 1.3rem;
}
.series-card h2,
.series-card h3 {
  margin: 0.6rem 0;
  font-family: "Life Serif", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 500;
}
.series-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.series-photo {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.series-photo img {
  object-fit: cover;
  transition: transform 0.3s;
}
.series-card:hover .series-photo img {
  transform: scale(1.03);
}
.series-header {
  margin-bottom: 3rem;
}
.series-header > img {
  height: 340px;
}
.series-next h2 {
  font-size: 1.65rem;
}
.reading-resume {
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-family: "Life Sans", Arial, sans-serif;
  font-size: 0.9rem;
}
.reading-resume .button {
  margin-top: 0.7rem;
}
.continue-reading {
  padding: 1.3rem;
  border-block: 1px solid var(--line);
  margin-bottom: 2rem;
}
.continue-reading > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.continue-reading a {
  display: grid;
  gap: 0.4rem;
}
.continue-reading a > span {
  font-size: 0.8rem;
  color: var(--muted);
}
.series-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-block: 1.5rem;
}
.series-links a {
  padding: 1.5rem;
  background: var(--soft);
  border-radius: 10px;
}
.story-week {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.privacy-choice {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 90;
  background: var(--paper);
  color: var(--ink);
  max-width: 540px;
  max-height: 80vh;
  overflow: auto;
  box-shadow: 0 8px 40px #0003;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.85rem;
}
.privacy-choice p {
  margin: 0.5rem 0 1rem;
  line-height: 1.55;
}
.privacy-choice > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.privacy-button {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.readership-stats {
  margin-block: 2rem;
}
.table-scroll {
  overflow-x: auto;
}
.table-scroll table {
  width: 100%;
  border-collapse: collapse;
}
.table-scroll td,
.table-scroll th {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.table-scroll td:first-child {
  overflow-wrap: anywhere;
}
.narrow {
  max-width: 760px;
}
.search-filters {
  flex-wrap: wrap;
}
.search-filters > label {
  min-width: 0;
}
.panel-nav {
  flex-wrap: wrap;
}
.growth-form > .button {
  justify-self: start;
}
@media (max-width: 1000px) {
  .site-header {
    gap: 1rem;
  }
  .site-header nav {
    gap: 1rem;
  }
  .series-grid {
    gap: 1rem;
  }
  .newsletter-banner,
  .newsletter-landing,
  .series-header {
    gap: 2rem;
  }
}
@media (max-width: 760px) {
  .search-input {
    flex-basis: 100%;
    min-width: 0;
  }
  .search-form > .button {
    width: 100%;
  }
  .search-filters {
    grid-template-columns: 1fr;
  }
  .search-form input,
  .search-filters select {
    font-size: 16px;
    width: 100%;
    min-width: 0;
  }
  .growth-admin-grid,
  .newsletter-banner,
  .newsletter-landing,
  .series-header,
  .story-week {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .series-grid {
    grid-template-columns: 1fr;
  }
  .series-links,
  .continue-reading > div {
    grid-template-columns: 1fr;
  }
  .newsletter-banner {
    padding: 1.4rem;
  }
  .newsletter-landing > img {
    height: 300px;
  }
  .series-header > img {
    height: 240px;
  }
  .story-week {
    margin-block: 2rem;
  }
  .privacy-choice {
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
    max-width: none;
  }
  .privacy-choice .button {
    flex: 1;
    font-size: 0.78rem;
    padding: 0.75rem;
  }
  .mobile-nav {
    flex-wrap: wrap;
  }
  .series-photo {
    height: 220px;
  }
  .growth-actions {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .series-photo img {
    transition: none;
  }
}

.topic-card[id],
#akcje-artykulu {
  scroll-margin-top: 160px;
}
.search-date-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: start;
}
.search-date-fields .notice {
  flex-basis: 100%;
  max-width: 32rem;
}
.search-date-fields > label {
  flex: 1 1 180px;
  min-width: 0;
}
.search-date-fields input {
  width: 100%;
}
.search-date-fields input[aria-invalid="true"] {
  border: 2px solid var(--danger, #a42727);
}
.pagination {
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.pagination a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
}
.pagination a[aria-current="page"] {
  font-weight: 700;
  text-decoration: underline;
  border: 1px solid currentColor;
  border-radius: 6px;
}
.sharing-preview {
  aspect-ratio: 1200 / 630;
  border-left: 8px solid;
  background: #f6f3eb;
  color: #20372f;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  overflow: hidden;
}
/* A title card must remain legible in narrow and wide thumbnail slots. */
img[data-preview-card="true"] {
  object-fit: contain;
  background: #f6f3eb;
}
.sharing-preview strong {
  font-size: 1.1rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.sharing-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.info-content a[href^="mailto:"] {
  text-decoration: underline;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .topic-card[id],
  #akcje-artykulu {
    scroll-margin-top: 120px;
  }
  .search-date-fields {
    width: 100%;
  }
}

.editorial-calendar {
  min-width: 0;
}
.calendar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: end;
}
.calendar-filters .field {
  flex: 1 1 190px;
  min-width: 0;
  margin: 0;
}
.calendar-toolbar,
.calendar-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}
.calendar-toolbar {
  justify-content: space-between;
  margin: 24px 0;
}
.calendar-controls a {
  text-decoration: underline;
  text-underline-offset: 5px;
  padding: 8px 0;
}
.calendar-controls [aria-current="page"] {
  font-weight: 700;
  text-decoration-thickness: 3px;
}
.calendar-days.calendar-month {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.calendar-weekday {
  background: var(--soft);
  padding: 12px;
  font-weight: 700;
}
.calendar-spacer {
  background: var(--paper);
}
.calendar-day {
  background: var(--surface);
  padding: 12px;
  min-width: 0;
  scroll-margin-top: 30px;
}
.calendar-day h3 {
  font:
    600 13px/1.5 "Life Sans",
    Arial,
    sans-serif;
  letter-spacing: 0;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.calendar-day ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.calendar-day .text-link {
  display: inline-block;
  font-size: 13px;
  margin-top: 12px;
}
.calendar-today {
  box-shadow: inset 0 0 0 2px var(--green);
}
.calendar-today-label {
  display: block;
  color: var(--green);
}
.calendar-event {
  border-left: 3px solid var(--green);
  padding: 8px;
  background: var(--paper);
  overflow-wrap: anywhere;
}
.calendar-event + .calendar-event {
  margin-top: 12px;
}
.calendar-event-published {
  border-color: var(--muted);
}
.calendar-event-brief,
.calendar-event-reservation {
  border-color: var(--coral);
}
.calendar-event-meta,
.calendar-event small,
.calendar-overdue {
  display: block;
  font-size: 12px;
  line-height: 1.5;
}
.calendar-event-meta,
.calendar-event small {
  color: var(--muted);
}
.calendar-event a {
  display: block;
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.calendar-overdue {
  margin-top: 6px;
  color: var(--coral);
}
.calendar-no-events {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.calendar-list .calendar-day {
  border: 1px solid var(--line);
  margin: 0 0 20px;
  padding: 24px;
}
.calendar-list .calendar-day h3 {
  font-size: 18px;
}
.calendar-list .calendar-day ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 16px;
}
.calendar-list .calendar-event + .calendar-event {
  margin: 0;
}
.calendar-explanation {
  margin-top: 24px;
  max-width: 850px;
}
@media (max-width: 1000px) {
  .calendar-days.calendar-month {
    grid-template-columns: 1fr;
    gap: 12px;
    border: 0;
    background: transparent;
  }
  .calendar-weekday,
  .calendar-spacer {
    display: none;
  }
  .calendar-month .calendar-day {
    border: 1px solid var(--line);
    padding: 18px;
  }
  .calendar-month .calendar-day h3 {
    font-size: 16px;
  }
}

.cover-story>.cover-story-image,.world-card>img,.slow-image>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
[data-island]{min-width:0}

/* Readability floor: labels, metadata and footer text no smaller than 13px. Selectors repeat the
   original ones with a body prefix so they win over the media-query variants in magazine.css. */
body .topline,body .eyebrow,body .cover-badge,body .cover-issue,body .footer-label,
body .journal-welcome .eyebrow,body .side-label .eyebrow,body .journal .section-heading .eyebrow,
body .slow-copy>.eyebrow,body .community-invite>.eyebrow,body .community-topics>.eyebrow{font-size:13px}
body .cover-author small,body .side-time,body .side-author,body .slow-note,body .slow-sticker span,body .world-card p{font-size:13px}
body .interest-bar a,body .site-header .header-actions .button.small,body .cover-author>span,body .card-copy .byline>span{font-size:13px}
body .footer-visual-note,body .footer-bottom,body .footer-bottom span,body .reading-controls span{font-size:13px}
body .byline>span:last-child:not(.avatar),body .header-actions,body .results-label,body .field,body .card-date{font-size:13px}
/* Article tags and the "read next" section restored after the PHP migration. */
.tag-list{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:28px 0 8px}
.tag-list .eyebrow{margin-right:4px}
.related{max-width:1180px;margin:56px auto 0}
.related h2{margin:0 0 20px}
/* Owner reading statistics. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.stat-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:20px 0 28px}
.stat-tile{border:1px solid var(--line,#d8ddd6);border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}
.stat-tile span{font-size:12px;color:var(--muted,#5b6b63)}
.stat-tile b{font-size:26px;font-variant-numeric:tabular-nums}
.stat-days{list-style:none;margin:8px 0 4px;padding:0;display:flex;align-items:flex-end;gap:3px;height:120px;border-bottom:1px solid var(--line,#d8ddd6)}
.stat-days li{flex:1;height:100%;display:flex;align-items:flex-end;min-width:0}
.stat-bar{display:block;width:100%;background:var(--green,#285448);border-radius:3px 3px 0 0}
.stat-axis{display:flex;justify-content:space-between;font-size:12px;color:var(--muted,#5b6b63);margin:0 0 24px}
.share-box,.article-newsletter{margin:32px 0;padding:24px 0;border-top:1px solid var(--line,#d8ddd6)}
.share-box h2,.article-newsletter h2{margin:0 0 12px}
.share-row{display:flex;flex-wrap:wrap;gap:8px}
.share-row [hidden]{display:none}
.share-status{min-height:1.4em;margin:8px 0 0;font-size:14px}
.card-date{display:block;margin-top:8px;font-size:12px;color:var(--muted,#5b6b63)}
.info-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
/* Author ideas in the newsroom and the author panel. */
.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.idea-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.idea-meta { display: grid; gap: 6px; margin: 14px 0; }
.idea-meta div { display: grid; grid-template-columns: minmax(110px, 170px) 1fr; gap: 10px; }
.idea-meta dt { color: var(--muted); font-size: 14px; }
.idea-meta dd { margin: 0; overflow-wrap: anywhere; }
.idea-table { overflow-x: auto; margin: 16px 0; }
.idea-table th[scope="row"] { text-align: left; font-weight: 400; }
.idea-table td { text-align: right; font-variant-numeric: tabular-nums; }
.idea-table-goal th, .idea-table-goal td { font-weight: 700 !important; }
.idea-record .admin-form textarea { min-height: 260px; line-height: 1.5; }
.panel-start .subtle{margin:14px 0 0}.panel-ideas .subtle{margin-bottom:0}
.panel-ideas{margin:24px 0}
/* Modernisation 2026-11: discovery, header search, status labels, authors, series, topics. */
.honeypot{visibility:hidden}
/* Target size (WCAG 2.5.8): stand-alone links are at least 24px high. */
.site-footer nav a,.text-link,.quiet-link,.login-link,.interest-bar a,.community-topics a{display:inline-flex;align-items:center;min-height:24px}
.site-footer nav a,.privacy-button{min-height:32px}
[class*="consent"] a,[class*="privacy"] a{display:inline-flex;align-items:center;min-height:24px}
.prose ul{padding-left:1.3em}
.prose li{margin-bottom:.4em}
.prose p a,.prose li a,main.page p>a:not(.button):not(.chip),main.panel-main p>a:not(.button):not(.chip){text-decoration:underline}
.chip{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-size:14px;line-height:1.25;text-align:center}
.chip:hover{border-color:var(--ink)}
.chip[aria-current="page"]{background:var(--green);border-color:var(--green);color:#fffef7;font-weight:700}
.pagination-links nav{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:36px 0 8px}
.tag-list .chip{min-height:36px;min-width:0}
/* Status labels: text plus border keeps them readable on both themes and on photographs. */
.content-labels{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.content-label{display:inline-block;padding:3px 9px;border:1px solid currentColor;border-radius:999px;font-size:13px;font-weight:600;line-height:1.35;background:var(--surface);color:var(--ink);white-space:nowrap}
.content-label-archive{color:var(--muted)}
.content-label-ai{color:var(--coral)}
.content-label-author,.content-label-new{color:var(--ink)}
.content-label-new{background:var(--soft)}
.card-copy>.content-labels{margin-top:12px}
.side-story>.content-labels{margin-top:10px}
.cover-story-copy .content-labels{margin-bottom:12px}
.cover-story .content-label{background:#fffef7;color:#223e34;border-color:#fffef7}
.article-header .content-labels{margin-bottom:12px}
.article-author{text-decoration:underline;text-underline-offset:3px}
.archive-notice{margin:18px 0;border-left:4px solid var(--coral);padding:14px 16px;background:var(--soft);line-height:1.5}
/* /odkrywaj */
.discover-title{margin:0 0 18px}
.discover-form{margin:0 0 20px;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.discover-search{position:relative;display:flex;gap:10px;align-items:stretch}
.discover-search .search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none}
.discover-search input[type="search"]:not([type="checkbox"]){flex:1;min-width:0;min-height:54px;padding:12px 14px 12px 46px;font-size:18px;border:1px solid var(--muted);border-radius:8px;background:var(--paper);color:var(--ink)}
.discover-search input::placeholder,.search-dialog input::placeholder{color:var(--muted);opacity:1}
.discover-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:end;margin-top:14px}
.discover-form .field,.authors-form .field{margin:0;min-width:0;font-weight:600}
.discover-form select,.discover-form input[type="date"]:not([type="checkbox"]):not([type="file"]):not([type="radio"]),.authors-form select,.authors-form input[type="search"]:not([type="checkbox"]):not([type="file"]):not([type="radio"]){width:100%;min-height:46px;box-sizing:border-box;border:1px solid var(--muted);color:var(--ink);background:var(--paper);font-weight:400}
.discover-apply{min-height:46px}
.discover-more{margin-top:12px}
.discover-more>summary{display:inline-block;cursor:pointer;padding:10px 0;font-weight:600;font-size:14px;text-decoration:underline;text-underline-offset:3px}
.discover-more-count{font-weight:400}
.discover-more-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-top:8px}
.discover-preference{margin-top:14px;font-size:14px}
.active-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 14px;font-size:14px}
.active-filters ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.active-filters-title{font-weight:600}
.filter-tag{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:6px 12px;border-radius:999px;background:var(--soft);color:var(--ink);overflow-wrap:anywhere}
.filter-tag:hover{text-decoration:underline}
.clear-filters{display:inline-flex;align-items:center;min-height:36px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
body .results-label{margin:0 0 20px;font-family:inherit;font-size:16px;font-weight:600;letter-spacing:0;line-height:1.5;color:var(--ink)}
.empty-results{margin:8px 0 24px;padding:clamp(20px,4vw,36px);background:var(--soft);border-radius:12px}
.empty-results h2{margin:0 0 10px;font-size:clamp(24px,4vw,34px);line-height:1.2}
.empty-results p{line-height:1.55}
.empty-results a:not(.button):not(.chip){text-decoration:underline}
.empty-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.empty-subheading{margin:24px 0 10px;font-size:19px}
.empty-categories{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
/* Header search */
.header-search{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;color:var(--ink)}
.header-search:hover{background:var(--soft)}
.search-dialog{width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 48px);margin:6vh auto auto;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);box-shadow:0 18px 50px rgba(16,39,29,.28)}
.search-dialog::backdrop{background:rgba(16,39,29,.55)}
.search-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.search-dialog-head h2{margin:0;font-size:22px}
.search-close{width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:var(--ink);font-size:26px;line-height:1;cursor:pointer}
.search-close:hover{background:var(--soft)}
.search-dialog form{display:flex;gap:8px}
.search-dialog input[type="search"]:not([type="checkbox"]){flex:1;min-width:0;min-height:50px;font-size:17px;border:1px solid var(--muted);border-radius:8px;background:var(--paper);color:var(--ink)}
.search-results{list-style:none;margin:10px 0 0;padding:0;max-height:50vh;overflow-y:auto}
.search-results:empty{display:none}
.search-results li{display:block;padding:10px 12px;border-radius:8px;cursor:pointer}
.search-results li:hover,.search-results li[aria-selected="true"]{background:var(--soft);outline:2px solid var(--coral);outline-offset:-2px}
.search-option-title{display:block;font-weight:600;line-height:1.35}
.search-option-meta{display:block;font-size:13px;color:var(--muted)}
.search-status{margin:10px 0 0;font-size:13px;color:var(--muted)}
.search-status:empty{display:none}
/* Home page */
.journal-welcome h1{margin:9px 0 0;font-size:clamp(32px,4.4vw,52px);line-height:1.08;letter-spacing:-.02em}
.journal-welcome .welcome-lead{margin:12px 0 0;max-width:640px;font-family:inherit;font-size:clamp(16px,1.6vw,18px);letter-spacing:0;line-height:1.55;color:var(--muted)}
.journal-welcome .welcome-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 0;font-family:inherit;font-size:inherit;letter-spacing:0}
.welcome-points{margin:0;padding:0;list-style:none;display:grid;gap:8px;max-width:330px;font-size:14px;line-height:1.45;color:var(--muted)}
.welcome-points li{padding-left:22px;position:relative}
.welcome-points li::before{content:"✓";position:absolute;left:0;color:var(--coral);font-weight:700}
.cover-story h2{margin:12px 0;font-size:clamp(32px,4.6vw,56px);line-height:1.04;letter-spacing:-.02em;color:#fff}
.cover-story h2 a:hover{text-decoration:underline}
.home-newsletter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,4vw,48px);align-items:center;margin:48px 0;padding:clamp(22px,4vw,44px);background:var(--soft);border-radius:14px}
.home-newsletter h2{margin:6px 0 8px}
.home-newsletter p{margin:0;line-height:1.55}
.newsletter-facts{margin:20px 0;padding-left:1.2em;line-height:1.6;color:var(--muted)}
.newsletter-facts a{text-decoration:underline}
/* Series */
.series-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:22px;margin-top:8px}
.series-card{display:flex;flex-direction:column;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.series-card-image img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;background:var(--soft)}
.series-hero{display:block;width:100%;max-width:860px;height:auto;max-height:360px;object-fit:cover;border-radius:12px;margin:4px 0 28px;background:var(--soft)}
.series-card-copy{display:flex;flex-direction:column;gap:8px;padding:18px;flex:1}
.series-card h3{margin:0;font-size:24px;line-height:1.2}
.series-card h3 a:hover{text-decoration:underline}
.series-card p{margin:0;line-height:1.5;color:var(--muted)}
.series-card .series-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto;padding-top:8px;font-size:14px}
ol.series-order{list-style:none;margin:0;padding:0;counter-reset:part}
ol.series-order>li{counter-increment:part;display:flex;flex-direction:column;gap:8px;min-width:0}
ol.series-order>li::before{content:"Część " counter(part);font-size:14px;font-weight:700;color:var(--coral)}
/* Authors */
.authors-form{display:grid;grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr)) auto auto;gap:12px;align-items:end;margin:0 0 22px;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.authors-form .button{min-height:46px}
.field-check{display:flex;align-items:center;gap:8px;min-height:46px;font-size:14px;font-weight:600}
.author-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));gap:16px;margin:0;padding:0;list-style:none}
.author-card{display:grid;grid-template-columns:56px minmax(0,1fr);gap:14px;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.author-avatar,.avatar.author-avatar:nth-child(2n){width:56px;height:56px;font-size:26px;background:#e8d9b9;color:#3f4a37}
.author-avatar.large{width:88px;height:88px;font-size:42px}
.author-card h3{margin:0 0 6px;font-size:22px;line-height:1.2}
.author-card h3 a:hover{text-decoration:underline}
.author-card p{margin:8px 0 0;line-height:1.5;font-size:15px;color:var(--muted)}
.author-topics{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0;padding:0;list-style:none;font-size:13px}
.author-topics li{padding:3px 9px;border-radius:999px;background:var(--soft);color:var(--ink)}
.author-card .author-meta{font-size:14px;color:var(--ink)}
.join-invite{margin:28px 0;font-size:16px}
.join-invite a{text-decoration:underline}
.author-header{display:grid;grid-template-columns:88px minmax(0,1fr);gap:22px;margin-bottom:12px}
.author-header h1{margin:6px 0 10px}
.author-stats{display:flex;flex-wrap:wrap;gap:12px 32px;margin:16px 0}
.author-stats dt{font-size:13px;color:var(--muted)}
.author-stats dd{margin:2px 0 0;font-size:22px;font-weight:600}
.author-actions{margin-top:12px}
/* Topics */
.topic-card h3{margin:0 0 10px;font-size:24px;line-height:1.2}
.topic-labels{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.topic-meta{display:flex;flex-wrap:wrap;gap:10px 28px;margin:14px 0}
.topic-meta dt{font-size:13px;color:var(--muted)}
.topic-meta dd{margin:0;font-weight:600}
/* Account panel and newsroom: grouped side menu, to-do tiles, readable tables. */
.panel-shell{display:grid;grid-template-columns:232px minmax(0,1fr);gap:40px;align-items:start;max-width:1320px;margin:0 auto;padding:28px 44px 48px}
.panel-main{min-width:0;min-height:55vh;font-size:16px}
.panel-menu{display:none}
.panel-side{padding:4px 4px 16px}
.panel-group{margin-bottom:16px}
.panel-group-label{margin:0 0 6px;padding:0 10px;font-size:13px;font-weight:700;color:var(--muted)}
.panel-group ul{list-style:none;margin:0;padding:0}
.panel-group a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px;padding:5px 10px;border-radius:8px;font-size:15px;line-height:1.3;color:var(--ink)}
.panel-group a:hover{background:var(--soft)}
.panel-group a[aria-current="page"]{background:var(--green);color:#fffef7;font-weight:700}
.panel-count{flex:none;min-width:22px;padding:1px 7px;border-radius:999px;background:var(--coral);color:var(--surface);font-size:13px;font-weight:700;line-height:1.5;text-align:center}
.panel-group a[aria-current="page"] .panel-count{background:#fffef7;color:#244f3e}
.panel-logout{padding:4px 10px 0}
.panel-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px 24px;margin-bottom:20px}
body .panel-main h1{margin:0 0 6px;font-size:clamp(30px,3vw,38px);line-height:1.15}
.panel-main>h1+.panel-lead{margin-bottom:20px}
.panel-lead{margin:0;max-width:720px;color:var(--muted)}
.panel-section-title,body .panel-main .panel-section-title{margin:28px 0 12px;font-size:24px;line-height:1.2}
.panel-subtitle{margin:22px 0 0;font-size:19px}
.panel-note{margin:-8px 0 10px;color:var(--muted)}
.panel-results{margin:0 0 10px;font-size:14px;color:var(--muted)}
.panel-main .panel-box{padding:22px 24px;border-radius:10px}
.panel-main .panel-box h2{margin:0 0 14px;font-size:24px;line-height:1.2}
.panel-main .panel-box[id]{scroll-margin-top:16px}
.panel-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;list-style:none;margin:0 0 8px;padding:0}
.panel-tile{display:flex;flex-direction:column;height:100%;padding:14px 16px;background:var(--surface);border:1px solid var(--line);border-radius:10px}
.panel-tile:hover{border-color:var(--ink)}
.panel-tile b{font-size:30px;line-height:1.15;font-variant-numeric:tabular-nums}
.panel-tile-label{font-weight:700;line-height:1.3}
.panel-tile-hint{margin-top:2px;font-size:13px;line-height:1.35;color:var(--muted)}
.panel-tile.is-urgent{border-color:var(--coral);box-shadow:inset 4px 0 0 var(--coral)}
.panel-tile.is-urgent b{color:var(--coral)}
.panel-search{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 12px}
.panel-search input[type="search"]:not([type="checkbox"]){flex:1 1 240px;min-width:0;min-height:46px;margin:0;padding:10px 14px;border:1px solid var(--muted);border-radius:8px;background:var(--surface);color:var(--ink)}
.panel-search input::placeholder{color:var(--muted);opacity:1}
.panel-search .button{min-height:46px}
.panel-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}
.panel-chips .chip{min-height:36px;min-width:0;padding:5px 12px}
.panel-table-wrap{background:var(--surface);border:1px solid var(--line);border-radius:10px;overflow-x:auto}
.panel-box .panel-table-wrap{border:0;border-radius:0}
.panel-table{width:100%;margin:0;border-collapse:collapse;font-size:15px}
.panel-table th{padding:10px 14px;background:var(--soft);font-size:13px;font-weight:700;text-align:left;white-space:nowrap;color:var(--ink)}
.panel-table td{padding:11px 14px;border-top:1px solid var(--line);vertical-align:top;overflow-wrap:break-word}
.panel-table td[data-label="Autor"]{min-width:130px}
.panel-table td[data-label="Ostatnia zmiana"],.panel-table td[data-label="Zarchiwizowano"]{white-space:nowrap}
.panel-table td[data-label="Szczegóły"]{overflow-wrap:anywhere}
.panel-table tbody tr:hover{background:var(--paper)}
.panel-table-title{font-weight:600;min-width:200px}
.panel-table-title a{text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px}
.panel-table-title a:hover{text-decoration-color:currentColor}
.status-pill{display:inline-block;padding:2px 9px;border:1px solid var(--line);border-radius:999px;font-size:13px;font-weight:600;line-height:1.4;white-space:nowrap;background:var(--surface);color:var(--muted)}
.status-pill.tone-wait{border-color:currentColor;color:var(--coral);font-weight:700}
.status-pill.tone-good{border-color:var(--soft);background:var(--soft);color:var(--ink)}
.status-pill.tone-bad{border-color:currentColor;background:var(--soft);color:var(--coral)}
.panel-main .admin-record{padding-block:0}
.panel-main .admin-record>summary,.panel-fold-box>summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 16px;padding:12px 28px 12px 0;position:relative;cursor:pointer;font-weight:400;list-style:none}
.panel-main .admin-record>summary::-webkit-details-marker,.panel-fold-box>summary::-webkit-details-marker{display:none}
.panel-main .admin-record>summary::after,.panel-fold-box>summary::after{content:"";position:absolute;right:6px;top:50%;width:9px;height:9px;margin-top:-7px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg)}
.panel-main .admin-record[open]>summary::after,.panel-fold-box[open]>summary::after{margin-top:-2px;transform:rotate(225deg)}
.panel-main .admin-record[open]{padding-bottom:18px}
.panel-main .admin-record>summary:hover b,.panel-fold-box>summary:hover b{text-decoration:underline}
.record-main{display:flex;flex-direction:column;min-width:0}
.record-main b{font-size:16px;font-weight:700;line-height:1.35}
.record-sub{font-size:14px;color:var(--muted);overflow-wrap:anywhere}
.record-tags{display:flex;flex-wrap:wrap;gap:6px}
.panel-main .panel-fold-box{padding:4px 24px;margin-bottom:10px}
.panel-fold-box[open]{padding-bottom:20px}
.panel-fold{margin:18px 0}
.panel-fold>summary{padding:10px 0;cursor:pointer;font-weight:700}
.panel-main .admin-form{max-width:720px}
.panel-main .admin-form>button{justify-self:start;width:auto;min-width:160px}
body .calendar-today-label{color:var(--ink)}
.panel-main table:not(.panel-table){width:100%}
.panel-alerts{margin:0 0 16px;padding:14px 18px;background:var(--surface);border:1px solid var(--coral);border-left-width:4px;border-radius:10px}
body .panel-main .panel-alerts h2{margin:0 0 6px;font-size:18px;line-height:1.3;color:var(--coral)}
.panel-alerts ul{list-style:none;margin:0;padding:0}
.panel-alerts li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 16px;padding:6px 0;border-top:1px solid var(--line)}
.panel-alerts li:first-child{border-top:0}
.panel-alerts a{font-weight:700;text-decoration:underline;text-underline-offset:3px}
.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:14px;align-items:start;list-style:none;margin:0;padding:0}
.media-tile{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:10px}
.media-tile>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;background:var(--soft)}
.media-tile-body{display:flex;flex-direction:column;gap:6px;padding:12px 14px 14px;min-width:0}
.media-tile-body p{margin:0}
.media-tile-rights{font-size:14px;line-height:1.4;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.media-tile-edit>summary{min-height:32px;padding:4px 0;cursor:pointer;font-size:14px;font-weight:700}
.review-back{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;margin:0 0 14px}
.review-jump{display:none}
.review-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}
.review-text{min-width:0}
.review-cover{margin:18px 0}
.review-cover img{display:block;width:100%;height:auto;border-radius:10px}
.review-cover figcaption{margin-top:6px;font-size:14px;color:var(--muted)}
.review-side{position:sticky;top:12px;max-height:calc(100vh - 24px);overflow-y:auto;scroll-margin-top:12px;padding-right:2px;font-size:15px}
.review-side .panel-box{padding:16px 18px;margin-bottom:12px}
body .panel-main .review-side .panel-box h2{margin:0 0 10px;font-size:20px}
.review-side .editor-actions{display:flex;flex-direction:column;gap:8px}
.review-side .editor-actions .button{width:100%}
.review-side .field{margin-top:10px}
.review-side textarea{width:100%;min-height:80px}
.review-facts dl{display:grid;gap:6px;margin:0}
.review-facts dl>div{display:flex;justify-content:space-between;gap:12px}
.review-facts dt{flex:none;color:var(--muted)}
.review-facts dd{margin:0;text-align:right;overflow-wrap:anywhere}
.review-links{display:flex;flex-wrap:wrap;gap:4px 14px;margin:10px 0 0;padding-top:8px;border-top:1px solid var(--line);font-size:14px}
.review-links a{text-decoration:underline;text-underline-offset:3px}
.panel-main .review-side .panel-fold-box{padding:2px 18px}
.panel-shell-wide{grid-template-columns:minmax(0,1fr);gap:16px}
.panel-shell-wide .panel-side{display:none}
.panel-shell-wide .panel-menu{display:block}
.panel-menu>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:8px 14px;background:var(--surface);border:1px solid var(--line);border-radius:10px;cursor:pointer;font-weight:700}
.panel-menu-current{font-weight:400;color:var(--muted);text-align:right}
.panel-menu nav{margin-top:8px;padding:14px 8px 10px;background:var(--surface);border:1px solid var(--line);border-radius:10px}
@media (max-width:980px){
.review-layout{grid-template-columns:minmax(0,1fr);gap:20px}
.review-side{position:static;max-height:none;overflow:visible;padding-right:0}
.review-jump{display:inline-flex}
.panel-shell{grid-template-columns:minmax(0,1fr);gap:16px;padding:16px 16px 36px}
.panel-side{display:none}
.panel-menu{display:block}
.panel-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
.panel-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.panel-table,.panel-table tbody,.panel-table tr,.panel-table td{display:block;width:100%}
.panel-table tr{padding:10px 14px;border-top:1px solid var(--line)}
.panel-table tbody tr:first-child{border-top:0}
.panel-table td{padding:2px 0;border:0}
.panel-table td[data-label]{display:flex;justify-content:space-between;gap:12px;font-size:14px}
.panel-table td[data-label]::before{content:attr(data-label);flex:none;color:var(--muted)}
.panel-table td[data-label="Wersja"]{display:none}
.panel-table td[data-label="Autor"]{min-width:0}
.panel-table td[data-label="Szczegóły"]{display:block}
.panel-table td[data-label="Szczegóły"]::before{display:block}
.panel-table-title{margin-bottom:4px;min-width:0}
.panel-main .panel-box{padding:16px}
.panel-main .panel-fold-box{padding:2px 16px}
.panel-search .button{flex:1}
}
@media (max-width:900px){
.discover-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
.discover-apply{grid-column:1/-1}
.authors-form{grid-template-columns:repeat(2,minmax(0,1fr))}
.authors-form .field:first-child{grid-column:1/-1}
.journal-welcome{flex-direction:column;align-items:flex-start}
.welcome-points{max-width:none}
.home-newsletter{grid-template-columns:1fr}
}
@media (max-width:780px){
/* The extra reading list only lengthens the phone layout; the same texts are one tap away in Odkrywaj. */
.journal-section:has(.journal-reading-grid){display:none}
.mobile-nav{flex-wrap:wrap}
.mobile-nav a{min-height:44px;display:inline-flex;align-items:center;padding-inline:6px}
.header-saved{display:none}
}
@media (max-width:560px){
.discover-form{padding:12px}
.discover-search button{padding-inline:14px}
.discover-search input[type="search"]:not([type="checkbox"]){font-size:16px;min-height:50px;padding-left:40px}
.discover-search .search-icon{left:10px}
.authors-form{grid-template-columns:1fr}
.discover-filters{gap:10px}
.discover-filters>.field:first-child{grid-column:1/-1}
.search-dialog form{flex-direction:column}
.author-header{grid-template-columns:1fr}
.authors-form .field:first-child{grid-column:auto}
}
@media (max-width:400px){
.site-header{gap:8px;padding-inline:12px}
.wordmark{font-size:26px}
body .site-header .wordmark{font-size:26px}
.header-actions .login-link{display:none}
.container{padding-inline:16px}
}

.home-lead-form select {
  display: block;
  width: 100%;
  margin: 6px 0 14px;
}

/* Article editor (/panel/tekst/{id}), 2026-11-06: clearer layout with 2D guides. */
.ed { --ed-radius: 14px; }
.ed .ed-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.ed-hero { display: flex; align-items: center; gap: 22px; margin: 4px 0 18px; }
.ed-hero .ed-art-hero { flex: none; }
.ed-hero-text { min-width: 0; }
.ed-eyebrow { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); }
.panel-main .ed-hero h1 { margin: 0 0 6px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; overflow-wrap: anywhere; }
.ed-hero .subtle { margin: 0; max-width: 62ch; font-size: 15px; }

/* 2D illustrations take their colours from the theme. */
.ed-art .art-paper { fill: var(--surface); }
.ed-art .art-stroke { stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.ed-art .art-ink { fill: var(--green); }
.ed-art .art-soft { fill: var(--soft); }
.ed-art .art-line { fill: var(--line); }
.ed-art .art-accent { fill: var(--coral); }
.ed-art .art-leaf { fill: #6f9a6a; }

/* Journey: where the text is on its way to publication. */
.ed-journey { list-style: none; margin: 0 0 18px; padding: 16px 18px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--ed-radius); }
.ed-journey-step { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; padding-right: 10px; }
.ed-journey-step:not(:last-child)::after { content: ""; flex: 1; height: 2px; min-width: 12px; background: var(--line); border-radius: 2px; }
.ed-journey-step.is-done:not(:last-child)::after { background: var(--green); }
.ed-journey-dot { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--muted); border: 2px solid var(--line); }
.ed-journey-step.is-done .ed-journey-dot { background: var(--green); border-color: var(--green); color: #fffef7; }
.ed-journey-step.is-current .ed-journey-dot { background: var(--surface); border-color: var(--coral); color: var(--coral); box-shadow: 0 0 0 4px color-mix(in srgb, var(--coral) 18%, transparent); }
.ed-stage-icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ed-journey-label { display: flex; flex-direction: column; min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.25; }
.ed-journey-label small { font-weight: 400; font-size: 12px; color: var(--muted); }
.ed-journey-step.is-next .ed-journey-label { color: var(--muted); }

/* Sticky action bar. */
.ed-bar { position: sticky; top: 0; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 18px; padding: 10px 14px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: var(--ed-radius); box-shadow: 0 6px 18px -14px #0f241a80; }
.ed-bar-status { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.ed-save { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); }
.ed-save-dot { width: 10px; height: 10px; border-radius: 50%; background: #3f8a5a; }
.ed-save.is-pending .ed-save-dot { background: #c8952c; animation: ed-pulse 1.2s ease-in-out infinite; }
.ed-save.is-warn { color: var(--coral); font-weight: 700; }
.ed-save.is-warn .ed-save-dot { background: var(--coral); }
@keyframes ed-pulse { 50% { opacity: .35; } }
.ed-bar .editor-actions .button { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.ed-notice { display: flex; gap: 10px; align-items: flex-start; }
.ed-notice svg { flex: none; margin-top: 2px; }

/* Writing area. */
.ed .ed-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.ed .ed-paper { border-radius: var(--ed-radius); padding: 30px 36px; }
.ed-field { margin-bottom: 18px; }
.ed-label { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; font-size: 14px; font-weight: 700; color: var(--ink); }
.ed-label-body { margin-top: 8px; margin-bottom: 10px; scroll-margin-top: 90px; }
.ed-step-no { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fffef7; font-size: 13px; }
.ed-count { margin-left: auto; font-weight: 400; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ed .editor-paper input.title-input { border: 1px solid transparent; border-bottom-color: var(--line); padding: 8px 10px; margin: 0 -10px; width: calc(100% + 20px); border-radius: 8px; background: transparent; scroll-margin-top: 90px; }
.ed .editor-paper textarea.lead-input { border: 1px solid transparent; border-bottom-color: var(--line); padding: 10px; margin: 0 -10px; width: calc(100% + 20px); border-radius: 8px; resize: vertical; min-height: 84px; background: transparent; scroll-margin-top: 90px; }
.ed .editor-paper input.title-input:hover, .ed .editor-paper textarea.lead-input:hover { background: var(--soft); }
.ed .editor-paper input.title-input:focus, .ed .editor-paper textarea.lead-input:focus { background: var(--surface); border-color: var(--green); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 20%, transparent); }

/* Starting templates as illustrated cards. */
.ed-start { margin: 0 0 16px; padding: 18px; border: 1px dashed var(--line); border-radius: var(--ed-radius); background: var(--soft); }
.ed-start-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.ed-start-head .ed-art { flex: none; }
.panel-main .ed-start h2 { margin: 0 0 4px; font-size: 18px; }
.ed-start .subtle { margin: 0; font-size: 14px; }
.ed-templates { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ed-template { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 12px; text-align: left; font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .15s, transform .15s; }
.ed-template:hover, .ed-template:focus-visible { border-color: var(--green); transform: translateY(-1px); }
.ed-template .ed-art { flex: none; }

/* Toolbar. */
.ed .ed-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; top: 72px; padding: 8px; margin: 0 -8px; border: 1px solid var(--line); border-radius: 10px; }
.ed-tool-group { display: inline-flex; gap: 2px; padding-right: 6px; margin-right: 2px; border-right: 1px solid var(--line); }
.ed-tool-group:last-of-type { border-right: 0; }
.ed .ed-toolbar .ed-tool { display: grid; place-items: center; width: 40px; min-width: 40px; height: 40px; padding: 0; background: transparent; color: var(--ink); border-radius: 8px; }
.ed .ed-toolbar .ed-tool:hover { background: var(--soft); }
.ed .ed-toolbar .ed-tool[aria-pressed="true"] { background: var(--green); color: #fffef7; }
.ed .editor-media-tools { margin: 10px 0 0; }
.ed .ed-media-actions button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 12px; font-size: 14px; background: var(--soft); color: var(--ink); border: 1px solid transparent; border-radius: 8px; }
.ed .ed-media-actions button:hover { border-color: var(--green); }
.ed .tiptap { min-height: 420px; padding: 20px 2px; }
.ed .tiptap:focus-visible { outline: none; }
.ed .editor-meta { font-size: 13px; border-top: 1px solid var(--line); padding-bottom: 0; }

/* Preview. */
.ed-preview-switch { display: inline-flex; margin-bottom: 18px; padding: 4px; background: var(--soft); border-radius: 999px; }
.ed-preview-switch button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 6px 14px; font-size: 14px; background: transparent; color: var(--ink); border-radius: 999px; }
.ed-preview-switch button[aria-pressed="true"] { background: var(--surface); box-shadow: 0 1px 4px #0f241a33; font-weight: 700; }
.ed .ed-preview-title { font-size: 34px; line-height: 1.2; margin: 0 0 12px; }
.ed .ed-preview-lead { font-size: 19px; color: var(--muted); }

/* Side column: readiness checklist and folding sections. */
.ed .ed-aside { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.ed-ready { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--ed-radius); }
.ed-ready-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.panel-main .ed-ready h2 { margin: 0; font-size: 17px; }
.ed-ready .subtle { margin: 2px 0 0; font-size: 13px; }
.ed-ring { flex: none; }
.ed-ring-track { fill: none; stroke: var(--soft); stroke-width: 6; }
.ed-ring-value.is-empty { display: none; }
.ed-ring-value { fill: none; stroke: var(--green); stroke-width: 6; stroke-linecap: round; transition: stroke-dasharray .3s; }
.ed-ring-text { fill: var(--ink); font-size: 12px; font-weight: 700; font-family: inherit; }
.ed-checks { list-style: none; margin: 0; padding: 0; }
.ed-checks button { display: flex; align-items: flex-start; gap: 9px; width: 100%; min-height: 44px; padding: 7px 8px; text-align: left; font-size: 14px; font-weight: 700; color: var(--ink); background: transparent; border-radius: 8px; }
.ed-checks button:hover { background: var(--soft); }
.ed-checks button svg { flex: none; margin-top: 1px; color: var(--coral); }
.ed-checks .is-done button svg { color: #3f8a5a; }
.ed-checks button span { display: flex; flex-direction: column; min-width: 0; }
.ed-checks small { font-weight: 400; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.ed-tips button svg { color: var(--muted); }
.ed-checks-title { margin: 10px 0 2px 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ed-fold { background: var(--surface); border: 1px solid var(--line); border-radius: var(--ed-radius); scroll-margin-top: 80px; }
.ed-fold > summary { display: flex; align-items: center; gap: 11px; min-height: 56px; padding: 10px 14px; list-style: none; cursor: pointer; border-radius: var(--ed-radius); }
.ed-fold > summary::-webkit-details-marker { display: none; }
.ed-fold > summary:hover { background: var(--soft); }
.ed-fold-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--soft); color: color-mix(in srgb, var(--green) 60%, var(--ink)); }
.ed-fold[open] .ed-fold-icon { background: var(--green); color: #fffef7; }
.ed-fold-title { display: flex; flex-direction: column; min-width: 0; flex: 1; font-size: 15px; font-weight: 700; line-height: 1.25; }
.ed-fold-title small { font-weight: 400; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-fold-chevron { flex: none; color: var(--muted); transition: transform .2s; }
.ed-fold[open] .ed-fold-chevron { transform: rotate(180deg); }
.ed-fold-body { padding: 4px 16px 16px; border-top: 1px solid var(--line); }
.ed-fold-body > :first-child { margin-top: 12px; }
.ed fieldset.ed-plain { border: 0; margin: 0; padding: 0; min-width: 0; }
.ed .ed-fold .field { font-size: 14px; }
.ed .ed-fold .field input, .ed .ed-fold .field select, .ed .ed-fold .field textarea { width: 100%; }
.ed .ed-fold .panel-box { border: 0; padding: 0; margin: 0; background: transparent; box-shadow: none; }
.ed .ed-fold .panel-box > h2:first-child { display: none; }
.ed-sub { margin: 16px 0 8px; font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ed .sharing-preview { border-radius: 10px; overflow: hidden; }
.ed-source { margin: 0 0 12px; padding: 10px 12px 6px; border: 1px solid var(--line); border-radius: 10px; }
.ed-source-hint { margin: 0 0 6px; font-size: 13px; color: var(--coral); }
.sharing-preview small, .sharing-preview span { color: #4f5f56; }
.ed-source legend { padding: 0 6px; font-size: 13px; font-weight: 700; }
.ed-source .text-button, .ed .ed-fold .text-button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.ed .ed-fold .button.small { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.ed-tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 12px; }
.ed-tag { padding: 3px 9px; font-size: 13px; background: var(--soft); border-radius: 999px; }
.ed-serp { display: flex; flex-direction: column; gap: 3px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.ed-serp small { color: var(--muted); font-size: 12px; }
.ed-serp strong { color: #2a5db0; font-size: 16px; font-weight: 400; overflow-wrap: anywhere; }
[data-theme="dark"] .ed-serp strong { color: #9cc0ff; }
@media (prefers-color-scheme: dark) { [data-theme="system"] .ed-serp strong { color: #9cc0ff; } }

/* Conversation and history. */
.ed-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 28px; }
.ed-bottom .panel-box { border-radius: var(--ed-radius); }
.panel-main .ed-bottom h2 { display: flex; align-items: center; gap: 9px; font-size: 21px; }
.panel-main .ed-bottom h2 svg { color: color-mix(in srgb, var(--green) 60%, var(--ink)); }
.ed-history-links { display: flex; flex-direction: column; gap: 6px; }
.ed-versions { list-style: none; margin: 0; padding: 0; }
.ed .version-row { position: relative; gap: 12px; padding: 12px 0 12px 22px; font-size: 14px; }
.ed .version-row::before { content: ""; position: absolute; left: 4px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.ed .version-row:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 30px; bottom: -12px; width: 2px; background: var(--line); }
.ed-version-text { min-width: 0; }
.ed-version-text small { display: block; color: var(--muted); font-size: 12px; }
.ed-version-actions { display: flex; flex: none; gap: 6px; }
.ed .ed-version-actions .button { min-height: 40px; padding: 6px 12px; font-size: 13px; background: transparent; }

@media (max-width: 1100px) {
  .ed .ed-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .ed .ed-paper { padding: 24px; }
  .ed-journey-label small { display: none; }
}
@media (max-width: 860px) {
  .ed .ed-layout { grid-template-columns: 1fr; }
  .ed-bottom { grid-template-columns: 1fr; }
  .ed-journey { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .ed-journey-step.is-next .ed-journey-label, .ed-journey-step.is-done .ed-journey-label { display: none; }
}
@media (max-width: 600px) {
  .ed-hero { gap: 12px; }
  .ed-hero .ed-art-hero { width: 72px; height: 58px; }
  .ed-hero .subtle { font-size: 14px; }
  .ed-journey { padding: 12px; }
  .ed-journey-dot { width: 32px; height: 32px; }
  .ed .ed-paper { padding: 18px 14px; }
  .ed .ed-toolbar { position: static; }
  .ed-bar { padding: 8px 10px; }
  .ed-bar { flex-wrap: nowrap; gap: 8px; }
  .ed-bar .badge { display: none; }
  .ed-bar .editor-actions { flex-wrap: nowrap; gap: 6px; }
  .ed-bar .editor-actions .button { justify-content: center; padding: 8px 12px; }
  .ed-bar .editor-actions .button.outline .ed-btn-text, .ed-bar .editor-actions .button.secondary .ed-btn-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ed-save { font-size: 13px; }
  .ed .version-row { flex-wrap: wrap; }
  .ed-templates { grid-template-columns: 1fr; }
  .ed-template { min-height: 52px; }
  .ed .ed-toolbar { gap: 2px; }
  .ed .ed-toolbar .ed-tool { width: 38px; min-width: 38px; }
  .ed-tool-group { padding-right: 3px; margin-right: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  .ed-save.is-pending .ed-save-dot { animation: none; }
  .ed-template, .ed-fold-chevron, .ed-ring-value { transition: none; }
}

/* Public collection navigation and editorial SEO forms. */
.breadcrumbs{font-size:.85rem;margin:0 0 1.5rem}.breadcrumbs ol{display:flex;flex-wrap:wrap;gap:.45rem;list-style:none;padding:0}.breadcrumbs li+li:before{content:"/";margin-right:.45rem;opacity:.5}.breadcrumbs a{text-decoration:underline}.panel-box>label,.panel-box form>label{display:block;margin:.8rem 0}.panel-box>input,.panel-box>textarea,.panel-box>select{display:block;max-width:100%;width:100%}.article-layout figure img{max-width:100%;height:auto}

/* Factual review form: one field per line, full width (fields were half width beside their labels). */
.factual-review form label{display:block;margin:.8rem 0}.factual-review form input:not([type=checkbox]){display:block;width:100%;max-width:100%;margin-top:6px}

/* Forms that sit next to each other as buttons (e-mail confirmation, error pages). */
.inline-form{display:inline-block;margin:0 8px 8px 0}

/* Confirmation carried over a page reload (compat.tsx refresh, app.tsx). */
.flash-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:1000;display:flex;gap:8px;align-items:center;max-width:min(560px,calc(100vw - 32px));padding:6px 6px 6px 18px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);box-shadow:0 8px 30px rgba(0,0,0,.18)}.flash-toast p{margin:0}.flash-close{min-width:44px;min-height:44px;border:0;background:transparent;color:inherit;font-size:22px;line-height:1;cursor:pointer}
/* Texts published on behalf of their authors (30.11.2026): public byline and author box, the editor's authorship
   section, the private arrangements and the newsroom's author list. */
.byline-affiliation{color:var(--muted)}
.article-author-box{margin:28px 0;padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.article-author-box .eyebrow{margin:0 0 6px}
.article-author-name{margin:0;font-weight:700;font-size:18px}
.article-author-affiliation,.author-affiliation{margin:2px 0 8px;color:var(--muted)}
.ed-authorship{margin:4px 0 22px;padding:14px 16px;border:1px solid var(--line);border-radius:var(--ed-radius,12px);background:var(--surface)}
.ed-authorship:focus{outline:2px solid var(--green);outline-offset:2px}
.ed-authorship-title{margin:0 0 8px}
.ed-authorship-current{margin:0 0 10px;line-height:1.5}
.ed-authorship-affiliation{color:var(--muted)}
.ed-sublabel{display:block;margin:0 0 4px;font-size:14px;font-weight:700;color:var(--ink)}
.ed-combobox{position:relative}
.ed-combobox input{width:100%;min-height:44px;box-sizing:border-box;border:1px solid var(--muted);border-radius:8px;padding:8px 10px;background:var(--paper);color:var(--ink)}
.ed-options{position:absolute;z-index:20;left:0;right:0;top:100%;margin:4px 0 0;padding:4px;list-style:none;max-height:320px;overflow:auto;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:0 12px 30px rgba(16,39,29,.18)}
.ed-options li{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:8px;cursor:pointer}
.ed-options li small{color:var(--muted)}
.ed-options li.is-active,.ed-options li:hover{background:var(--soft)}
.ed-options-empty{cursor:default!important;color:var(--muted)}
.ed-authorship-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.ed-operators{display:grid;gap:4px;margin:10px 0 4px;font-size:14px}
.ed-operators>div{display:flex;flex-wrap:wrap;gap:6px}
.ed-operators dt{color:var(--muted)}
.ed-operators dd{margin:0}
.ed-operators-note{margin:0;font-size:13px}
.ed-dialog{width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);box-shadow:0 18px 50px rgba(16,39,29,.28)}
.ed-dialog::backdrop{background:rgba(16,39,29,.55)}
.ed-dialog h2{margin:0 0 6px;font-size:22px}
.ed-dialog .field input,.ed-dialog .field textarea{width:100%;box-sizing:border-box}
.ed-private-fields{margin:12px 0;padding:10px 12px;border:1px dashed var(--muted);border-radius:10px}
.ed-private-fields legend{padding:0 6px;font-size:13px;font-weight:700;color:var(--muted)}
.ed-arrangements{display:grid;gap:14px}
.ed-readiness{padding:12px 14px;border-radius:10px;border:1px solid var(--coral);background:var(--soft)}
.ed-readiness.is-ready{border-color:var(--green)}
.ed-readiness p{display:flex;gap:8px;align-items:flex-start;margin:0 0 6px}
.ed-readiness ul{margin:0 0 6px;padding-left:20px}
.ed-arrangement{padding-top:4px;border-top:1px solid var(--line)}
.ed-arrangement:focus,.ed-issues li:focus{outline:2px solid var(--green);outline-offset:2px}
.ed-choice{border:0;margin:0 0 8px;padding:0;display:grid;gap:6px}
.ed-choice legend{font-weight:700;margin-bottom:4px}
.ed-approval-state{margin:6px 0 10px;padding:8px 10px;border-left:4px solid var(--coral);background:var(--soft)}
.ed-approval-state.is-ok{border-left-color:var(--green)}
.ed-stage-form,.ed-issue-add,.ed-resolve{display:grid;gap:4px}
.ed-issues{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:10px}
.ed-issues li{padding:10px 12px;border:1px solid var(--line);border-radius:10px}
.ed-issues li.is-blocking{border-left:4px solid var(--coral)}
.ed-issues li.is-resolved{opacity:.8}
.ed-issues li p{margin:0 0 4px}
.ed-issue-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}
.ed-events{margin:6px 0 0;padding-left:20px;display:grid;gap:4px;font-size:14px}
.ed-history-fold summary{cursor:pointer;font-weight:600}
.ed-preview-byline{color:var(--muted);margin:0 0 14px}
.ed-preview-note{margin-top:18px}
.review-readiness .readiness-list{margin:6px 0 10px;padding-left:20px;display:grid;gap:6px}
.review-readiness .readiness-list span{display:block;color:var(--muted);font-size:14px}
.preview-banner p{margin:0 0 6px}
.preview-metadata{margin-top:24px}
.preview-schema{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;max-height:420px;overflow:auto;padding:10px;background:var(--soft);border-radius:8px}
.author-record h3{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.author-private{display:grid;gap:4px;margin:6px 0 10px;font-size:14px}
.author-private>div{display:grid;grid-template-columns:minmax(120px,180px) 1fr;gap:8px}
.author-private dt{color:var(--muted)}
.author-private dd{margin:0}
.author-texts{margin:4px 0 10px;padding-left:20px}
@media (max-width:640px){.author-private>div{grid-template-columns:1fr}.ed-authorship{padding:12px}.ed-issue-actions .button{width:100%}}
/* Content warning (5.12.2026): the text and cover stay hidden until the reader chooses "Rozumiem, pokaż tekst". */
.content-warning{max-width:740px;margin:18px auto 28px;padding:18px 20px;border-left:4px solid var(--coral);background:var(--soft);line-height:1.6}
.content-warning p{margin:0 0 12px}
.content-warning-help a{text-decoration:underline;text-underline-offset:3px;font-weight:600;white-space:nowrap}
.content-warning-reveal{cursor:pointer;margin-top:4px}
.content-warning-toggle:not(:checked)~.content-warning-veiled{display:none}
.content-warning-toggle:checked~.content-warning .content-warning-reveal{display:none}
.content-warning-toggle:checked~.content-warning p:last-of-type{margin-bottom:0}
.content-warning-toggle:focus-visible~.content-warning .content-warning-reveal{outline:3px solid var(--ink);outline-offset:3px}
@media print{.content-warning-toggle~.content-warning-veiled{display:block}.content-warning-reveal{display:none}}
/* Sign-in pages (/logowanie, /reset-hasla, /nowe-haslo, /weryfikacja-2fa), redesigned 5.12.2026 in the /dolacz style:
   intro with eyebrow, serif title and ✓ list on the left, the form card on the right; stacked on phones and tablets. */
.auth-shell{--auth-accent:var(--green);display:grid;gap:clamp(22px,5vw,40px);max-width:1080px;margin:0 auto;padding-block:clamp(4px,3vw,40px) clamp(36px,6vw,72px)}
[data-theme="dark"] .auth-shell{--auth-accent:var(--coral)}
@media (prefers-color-scheme:dark){[data-theme="system"] .auth-shell{--auth-accent:var(--coral)}}
.auth-intro{max-width:560px}
.auth-intro .eyebrow{margin:0;color:var(--coral)}
.auth-intro h1{font-size:clamp(36px,5.4vw,62px);line-height:1.04;letter-spacing:-.02em;margin:12px 0 16px}
.auth-intro h1 em{display:block;color:var(--coral);font-style:italic}
.auth-lead{font-size:clamp(15px,1.6vw,17px);color:var(--muted);max-width:40ch;margin-bottom:0}
.auth-perks{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:9px;color:var(--muted)}
.auth-perks li{position:relative;padding-left:26px;line-height:1.45}
.auth-perks li::before{content:"✓";position:absolute;left:0;color:var(--auth-accent);font-weight:700}
.auth-slot{min-height:360px;width:100%;max-width:480px}
.auth-2fa .auth-slot{min-height:300px}
.auth-slot .auth-card,.auth-slot .two-factor-challenge{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:clamp(22px,4vw,38px);box-shadow:0 1px 2px #1635280d,0 22px 48px -22px #16352838}
[data-theme="dark"] .auth-slot :is(.auth-card,.two-factor-challenge){box-shadow:0 1px 2px #0000002e,0 22px 48px -20px #00000080}
@media (prefers-color-scheme:dark){[data-theme="system"] .auth-slot :is(.auth-card,.two-factor-challenge){box-shadow:0 1px 2px #0000002e,0 22px 48px -20px #00000080}}
.auth-slot .auth-card h2{font-size:clamp(26px,3vw,32px);margin:0 0 24px}
.auth-slot .field{margin-bottom:18px;font-size:13px}
.auth-slot .field>label,.auth-slot label.field,.auth-slot .field-head label{font-weight:600;color:var(--ink)}
.auth-slot .field input:not([type="checkbox"]):not([type="radio"]){width:100%;min-height:50px;padding:12px 14px;font-size:16px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);font-weight:400;transition:border-color .15s,box-shadow .15s}
.auth-slot .field input:hover{border-color:var(--muted)}
.auth-slot .field input:focus-visible{outline:none;border-color:var(--coral);box-shadow:0 0 0 3px color-mix(in srgb,var(--coral) 28%,transparent)}
.field-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 12px}
.field-head a{font-size:12.5px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.field-head a:hover{color:var(--ink)}
.password-wrap{position:relative}
.field .password-wrap input:not([type="checkbox"]):not([type="radio"]):not([type="file"]){width:100%;padding-right:84px}
.password-toggle{position:absolute;top:50%;right:6px;transform:translateY(-50%);min-height:38px;min-width:64px;margin:0;padding:0 12px;border-radius:8px;background:transparent;color:var(--muted);font-size:12px;font-weight:600}
.password-toggle:hover{background:var(--soft);color:var(--ink)}
.password-toggle:focus-visible{outline-offset:0}
.auth-slot .auth-card .button,.auth-slot .two-factor-challenge>.button,.auth-slot .two-factor-actions .button:not(.secondary){min-height:52px;border-radius:10px;font-size:14px}
.auth-slot .auth-card .button{width:100%;margin-top:6px}
.auth-slot .notice{border-radius:10px}
.auth-slot .auth-card .switch{margin:26px 0 0;padding-top:20px;border-top:1px solid var(--line);font-size:13.5px;color:var(--muted)}
.auth-slot .auth-card .switch a{color:var(--ink);font-weight:600;text-underline-offset:3px}
.auth-slot .two-factor-methods{border-radius:10px}
@media (min-width:900px){.auth-shell{grid-template-columns:minmax(0,1fr) minmax(380px,440px);align-items:center;column-gap:clamp(48px,7vw,104px)}.auth-slot{justify-self:end}}
@media (max-width:899px){.auth-shell{max-width:560px}.auth-slot{max-width:none}}
@media (max-width:599px){.auth-shell{gap:20px;padding-top:0}.auth-intro h1{font-size:clamp(32px,9vw,40px);margin-bottom:10px}.auth-perks{display:none}.auth-slot{min-height:0}.auth-slot .auth-card,.auth-slot .two-factor-challenge{border-radius:16px}}
