:root {
  color-scheme: dark;
  --black: #050505;
  --soft-black: #0b0b0b;
  --white: #f4f3ef;
  --muted: #999995;
  --line: #2a2a28;
  --pad: clamp(24px, 5vw, 78px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
::selection { background: var(--white); color: var(--black); }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto 0;
  height: 82px;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(5,5,5,.9);
  backdrop-filter: blur(18px);
}
.wordmark { display: flex; align-items: center; gap: 10px; width: max-content; font-weight: 700; letter-spacing: .12em; }
.wordmark i { width: 5px; height: 5px; border-radius: 50%; background: var(--white); }
.tab-list { display: flex; align-self: stretch; gap: 32px; }
.tab { position: relative; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; }
.tab::after { content: ""; position: absolute; height: 1px; left: 0; right: 100%; bottom: -1px; background: var(--white); transition: right .25s ease; }
.tab:hover, .tab:focus-visible, .tab.is-active { color: var(--white); }
.tab.is-active::after { right: 0; }
.header-cta { justify-self: end; border-bottom: 1px solid var(--muted); padding-bottom: 3px; }
.header-cta span, button span { margin-left: 8px; }

.tab-panel { animation: reveal .45s ease both; }
.tab-panel[hidden] { display: none; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }
.eyebrow { margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; }
.eyebrow span { padding: 0 8px; color: #535350; }

.hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  padding: 118px var(--pad) 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
  align-items: center;
  gap: clamp(50px, 7vw, 120px);
  overflow: hidden;
}
.hero-copy h1 { margin: 24px 0 0; font-size: clamp(68px, 8.8vw, 142px); line-height: .84; letter-spacing: -.065em; font-weight: 500; }
.role { margin: clamp(20px, 3vh, 30px) 0 0; font-size: clamp(20px, 1.5vw, 24px); font-weight: 500; letter-spacing: .025em; }
.hero-bio { max-width: 525px; margin: clamp(28px, 5vh, 48px) 0 0; color: #c5c5c0; }
.hero-bio[hidden] { display: none; }
.portrait-wrap { width: min(100%, calc(100svh - 205px)); max-width: 640px; margin: 0; justify-self: end; }
.portrait-wrap img { aspect-ratio: 1 / 1; object-fit: cover; filter: grayscale(100%) contrast(1.08); }
.scroll-cue { position: absolute; bottom: 28px; left: var(--pad); display: flex; align-items: center; gap: 18px; color: var(--muted); }
.scroll-cue b { color: var(--white); font-size: 20px; font-weight: 400; animation: bounce 1.6s infinite; }
@keyframes bounce { 50% { transform: translateY(5px); } }

.campaign { min-height: 100vh; padding: 120px var(--pad); border-top: 1px solid var(--line); background: var(--soft-black); }
.campaign-intro { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: start; gap: 42px; padding-bottom: 90px; }
.campaign-intro h2 { margin: -9px 0 0; max-width: 850px; font-size: clamp(38px, 5.4vw, 78px); line-height: 1.01; letter-spacing: -.045em; font-weight: 400; }
.campaign-note { margin: 0; color: #b4b4ae; }
.fund-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 10vw, 160px); padding: 60px 0 110px; border-top: 1px solid var(--line); }
.raised-row { display: flex; align-items: end; justify-content: space-between; }
.raised-row div { display: flex; align-items: baseline; gap: 12px; }
.raised-row strong { font-size: clamp(42px, 5vw, 72px); line-height: 1; font-weight: 400; letter-spacing: -.04em; }
.raised-row span, .raised-row p { color: var(--muted); margin: 0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 45px; }
.stats div { display: flex; flex-direction: column; }
.stats strong { font-size: 19px; font-weight: 500; }
.stats span { color: var(--muted); }
.donate-button, .donate-confirm { width: 100%; padding: 19px 22px; display: flex; justify-content: space-between; color: var(--black); background: var(--white); border: 1px solid var(--white); cursor: pointer; transition: .2s ease; }
.donate-button:hover, .donate-confirm:hover { background: transparent; color: var(--white); }
.fine-print { color: #696965; font-size: 10px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.section-heading h3 { margin: 0; font-size: 15px; font-weight: 500; }
.section-heading span { color: var(--muted); }
.donor-list { margin: 0; padding: 0; list-style: none; }
.donor-list li { display: grid; grid-template-columns: 42px 1fr auto; gap: 16px; align-items: center; padding: 19px 0; border-bottom: 1px solid var(--line); }
.avatar { width: 42px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: var(--black); background: #d7d5cd; font-size: 10px; }
.avatar-photo { background: #8f918c; }.avatar.anonymous { color: var(--muted); background: #252523; }
.donor-copy { display: flex; flex-direction: column; }.donor-copy strong, .donor-list b { font-weight: 500; }.donor-copy span { color: var(--muted); font-size: 11px; }
.comments-block { border-top: 1px solid var(--line); padding-top: 55px; }
.comment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.comment-grid article { min-height: 150px; padding: 25px; border: 1px solid var(--line); }
.comment-grid header { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.comment-grid header strong { color: var(--white); font-weight: 500; }
.comment-grid article p { margin: 30px 0 0; font-size: 13px; }
.comment-form { display: grid; grid-template-columns: minmax(150px, .5fr) 2fr auto; gap: 20px; margin-top: 22px; }
.comment-form label { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
.comment-form label span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.comment-form input, .comment-form textarea { width: 100%; resize: none; border: 0; outline: 0; color: var(--white); background: transparent; }
.comment-form button { border: 1px solid var(--line); color: var(--white); background: transparent; padding: 0 25px; cursor: pointer; }
.comment-form button:hover { border-color: var(--white); }

.page-intro { min-height: 65vh; padding: 180px var(--pad) 80px; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: end; gap: 40px; }
.page-intro h1 { margin: 0; font-size: clamp(80px, 15vw, 230px); line-height: .72; font-weight: 400; letter-spacing: -.08em; }
.photos-page .page-intro { min-height: 46vh; padding-top: 130px; padding-bottom: 55px; }
.photos-page .page-intro h1 { grid-column: 2; font-size: clamp(68px, 11vw, 168px); }
.page-intro > p:last-child { color: var(--muted); margin: 0; }
.photo-journal { padding: 50px var(--pad) 130px; border-top: 1px solid var(--line); }
.photo-entry { margin: 0 0 150px; }
.photo-entry:last-child { margin-bottom: 0; }
.photo-entry .photo-frame { display: block; }
.photo-entry-wide .photo-frame { width: min(100%, 1120px); }
.photo-entry-wide:first-child .photo-frame { max-width: 780px; margin-left: auto; }
.photo-entry-offset .photo-frame { width: min(72%, 900px); margin-left: 8vw; }
.photo-frame img { width: 100%; height: auto; filter: grayscale(1); transition: filter .5s; }
.photo-frame:hover img { filter: grayscale(0); }
.photo-entry figcaption { display: grid; grid-template-columns: 50px 1fr auto; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.photo-entry figcaption > span, .photo-entry figcaption time { color: var(--muted); }
.photo-entry figcaption strong { font-size: 14px; font-weight: 500; }.photo-entry figcaption p { margin: 2px 0 0; color: var(--muted); }
.inline-comments { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; }
.inline-comments p { margin: 0; }.inline-comments p b { font-weight: 500; margin-right: 10px; }
.inline-comments button { border: 0; border-bottom: 1px solid var(--muted); padding: 0 0 2px; background: transparent; color: var(--muted); cursor: pointer; }

.story { padding-top: 82px; scroll-margin-top: 82px; }
.story + .story { padding-top: 0; border-top: 1px solid var(--line); }
.story + .story .story-header { padding-top: 72px; }
.story-header { width: min(680px, calc(100% - 48px)); margin: 0 auto; padding: 120px 0 38px; text-align: left; }
.story-header h1 { margin: 25px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(52px, 7vw, 96px); line-height: .92; font-weight: 400; letter-spacing: -.055em; }
.byline { margin: 0; font-size: 14px; }
.story-image { margin: 0; }.lead-image img { height: min(76vh, 850px); object-fit: cover; }.story-image img { filter: grayscale(1); }
.story-image figcaption { padding: 10px var(--pad); color: var(--muted); font-size: 10px; }
.story-body { width: min(680px, calc(100% - 48px)); margin: 70px auto; font-family: Aptos, "Segoe UI", sans-serif; font-size: 12px; line-height: 1.8; }
.story-header + .story-body { margin-top: 30px; }
.story-body p { margin: 0 0 25px; }
.drop-cap::first-letter { float: left; font-family: Georgia, serif; font-size: 70px; line-height: .7; padding: 12px 10px 0 0; }
.story-body blockquote { margin: 55px 0; padding-left: 28px; border-left: 1px solid var(--line); font-family: Georgia, serif; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.3; font-style: italic; text-align: left; }
.story-image-inset { width: min(900px, calc(100% - 48px)); margin: 0 auto; }
.story-image-inset img { aspect-ratio: 3/2; object-fit: cover; }
.story-image-inset figcaption { padding-left: 0; padding-right: 0; }
.story-end { display: flex; align-items: center; gap: 15px; margin-top: 65px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }.story-end i { height: 1px; background: var(--line); flex: 1; }
.story-footer { width: min(680px, calc(100% - 48px)); margin: 110px auto 0; padding: 40px 0 100px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: start; gap: 40px; }
.story:not(:last-child) .story-footer { padding-bottom: 64px; }
.story-footer p { max-width: 460px; margin: 0; color: var(--muted); }.story-footer p strong { color: var(--white); font-weight: 500; }
.story-footer button { border: 0; border-bottom: 1px solid var(--muted); padding: 0 0 4px; color: var(--white); background: transparent; cursor: pointer; }

.site-footer { padding: 28px var(--pad); border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: var(--white); }

.donate-dialog { width: min(520px, calc(100% - 32px)); padding: 40px; border: 1px solid #343431; background: #0b0b0b; color: var(--white); }
.donate-dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 14px; right: 18px; border: 0; color: var(--muted); background: none; font-size: 25px; cursor: pointer; }
.donate-dialog h2 { margin: 12px 0 5px; font-size: 35px; font-weight: 400; letter-spacing: -.03em; }.donate-dialog > p:not(.eyebrow) { margin: 0; color: var(--muted); }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 30px 0 10px; }.amounts button { padding: 13px 4px; border: 1px solid var(--line); color: var(--white); background: transparent; cursor: pointer; }.amounts button.selected { color: var(--black); background: var(--white); }
.custom-amount { display: flex; align-items: center; gap: 5px; padding: 14px; border: 1px solid var(--line); }.custom-amount input { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--white); background: transparent; }.donate-confirm { margin-top: 22px; }.donate-dialog small { display: block; margin-top: 10px; color: #6f6f6b; }
.support-field { display: block; margin-top: 22px; }.support-field span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }.support-field input, .support-field textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); outline: 0; resize: vertical; background: transparent; color: var(--white); }.consent-field { display: flex; align-items: center; gap: 9px; margin-top: 18px; color: #bbb; cursor: pointer; }.support-coming-soon { margin-top: 36px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.support-coming-soon p { margin: 0; font-family: Georgia, serif; font-size: 24px; }
.toast { position: fixed; z-index: 40; right: 25px; bottom: 25px; padding: 13px 18px; color: var(--black); background: var(--white); transform: translateY(100px); opacity: 0; transition: .3s; }.toast.show { transform: none; opacity: 1; }

@media (max-width: 850px) {
  .site-header { height: 68px; grid-template-columns: auto 1fr; }.header-cta { display: none; }.tab-list { justify-self: end; gap: 18px; }
  .hero { height: auto; min-height: 100svh; padding-top: 112px; grid-template-columns: 1fr; gap: 65px; overflow: visible; }.hero-copy h1 { font-size: clamp(53px, 17vw, 105px); }.portrait-wrap { width: 82%; max-width: 620px; justify-self: end; }.scroll-cue { display: none; }
  .campaign-intro, .page-intro { grid-template-columns: 1fr; }.campaign-intro { gap: 30px; padding-bottom: 60px; }.campaign-intro h2 { margin: 0; }.campaign-note { max-width: 420px; }
  .fund-grid { grid-template-columns: 1fr; }.comment-grid { grid-template-columns: 1fr; }.comment-form { grid-template-columns: 1fr; }.comment-form button { padding: 15px; }
  .page-intro { min-height: 55vh; padding-top: 140px; }.photos-page .page-intro { min-height: 40vh; padding-top: 110px; padding-bottom: 45px; }.photos-page .page-intro h1 { grid-column: auto; }.photo-entry-wide:first-child .photo-frame, .photo-entry-offset .photo-frame { width: 100%; margin-left: 0; }
  .site-footer { gap: 15px; flex-wrap: wrap; }
}

@media (max-width: 520px) {
  body { font-size: 12px; }.site-header { padding: 0 18px; }.wordmark i { display: none; }.tab-list { gap: 13px; }.tab { font-size: 11px; }
  .hero { padding-left: 24px; padding-right: 24px; }.portrait-wrap { width: 92%; }
  .campaign { padding: 90px 24px; }.raised-row { align-items: start; flex-direction: column; gap: 8px; }.stats { margin-top: 28px; }
  .page-intro { padding: 130px 24px 60px; }.page-intro h1 { font-size: 26vw; }.photos-page .page-intro { min-height: 320px; padding: 105px 24px 38px; }.photos-page .page-intro h1 { font-size: 21vw; }.photo-journal { padding: 35px 24px 90px; }.photo-entry { margin-bottom: 90px; }.photo-entry figcaption { grid-template-columns: 30px 1fr; }.photo-entry figcaption time { grid-column: 2; }.inline-comments { align-items: start; }
  .story-header { padding: 100px 0 34px; }.story + .story .story-header { padding-top: 56px; }.lead-image img { height: 55vh; }.story-body { margin: 65px auto; }.story-header + .story-body { margin-top: 26px; }.story-footer { margin: 90px auto 0; flex-direction: column; }.story:not(:last-child) .story-footer { padding-bottom: 52px; }
  .site-footer span:last-child { display: none; }.donate-dialog { padding: 34px 22px; }.amounts { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Fund journal */
.fund-updates { margin-top: 0; }
.campaign-comments { margin-top: 110px; }
.update-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 22px; }
.fund-update { padding: 30px; border: 1px solid var(--line); }
.fund-update header { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.fund-update header span { font-size: 20px; }
.fund-update time { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }
.fund-update h4 { margin: 28px 0 10px; font-size: 22px; font-weight: 400; letter-spacing: -.02em; }
.fund-update p { margin: 0; color: #b4b4ae; }
.empty-public { grid-column: 1 / -1; color: var(--muted); padding: 24px 0; }
.fund-status > .stats { margin-top: 45px; }
.published-story-list:empty { display: none; }

/* Author studio */
.admin-page { min-height: 100vh; padding-top: 82px; background: #e9e7e0; color: #161714; color-scheme: light; }
.admin-page button, .admin-page input, .admin-page textarea, .admin-page select { color: inherit; }
.admin-auth { min-height: calc(100vh - 82px); display: grid; place-items: center; padding: 40px 20px; background: #11120f; color: #f4f3ef; }
.auth-card { width: min(440px, 100%); padding: 48px; border: 1px solid #353630; background: #171815; }
.admin-mark { display: flex; align-items: center; gap: 9px; width: max-content; font-weight: 700; letter-spacing: .11em; }
.admin-mark i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.auth-card .eyebrow { margin-top: 58px; }
.auth-card .admin-mark + h1 { margin-top: 58px; }
.auth-card h1 { margin: 13px 0 8px; font-size: 38px; font-weight: 400; letter-spacing: -.04em; }
.auth-card > p:not(.eyebrow) { margin: 0 0 32px; color: #a5a59e; }
.auth-card label, .security-form label { display: block; margin: 18px 0; }
.auth-card label[hidden] { display: none !important; }
.auth-card label span, .security-form label span, .field span { display: block; margin-bottom: 7px; color: #93948d; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.auth-card input { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid #42433d; outline: none; color: #fff; background: transparent; }
.auth-card small { display: block; margin-top: 22px; color: #72736d; line-height: 1.5; }
.primary-admin-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; padding: 13px 17px; border: 1px solid #161714; background: #161714; color: #f5f3ec !important; cursor: pointer; }
.auth-card .primary-admin-button { width: 100%; margin-top: 14px; border-color: #f4f3ef; background: #f4f3ef; color: #111 !important; }
.admin-shell { min-height: calc(100vh - 82px); display: grid; grid-template-columns: 235px 1fr; }
.admin-shell[hidden], .admin-auth[hidden] { display: none; }
.admin-sidebar { position: sticky; top: 82px; height: calc(100vh - 82px); display: flex; flex-direction: column; justify-content: space-between; padding: 36px 28px 25px; border-right: 1px solid #cbc9c1; background: #dedcd4; }
.admin-sidebar > div p { margin: 10px 0 55px; color: #787972; font-size: 10px; }
.admin-sidebar nav { display: grid; gap: 4px; }
.admin-sidebar nav button { display: flex; justify-content: space-between; width: 100%; padding: 10px 12px; border: 0; background: transparent; color: #6f706a; text-align: left; cursor: pointer; }
.admin-sidebar nav button:hover, .admin-sidebar nav button.is-active { background: #cfcdbf; color: #161714; }
.admin-sidebar nav button span:not(:empty) { min-width: 20px; padding: 1px 5px; border-radius: 10px; background: #b84b38; color: white; font-size: 9px; text-align: center; }
.admin-logout { padding: 10px 0; border: 0; border-bottom: 1px solid #aaa89f; background: transparent; color: #656660 !important; text-align: left; cursor: pointer; }
.admin-workspace { min-width: 0; padding: 0 clamp(28px, 5vw, 75px) 90px; }
.admin-topbar { height: 115px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #cbc9c1; }
.admin-topbar h1 { margin: 5px 0 0; font-size: 24px; font-weight: 400; }
.admin-topbar button, .admin-card-heading button, .filter-tabs button { border: 0; border-bottom: 1px solid #8c8d85; padding: 5px 0; background: transparent; cursor: pointer; }
.admin-section { padding-top: 48px; }
.admin-section[hidden] { display: none; }
.overview-hero { padding: clamp(35px, 6vw, 75px); background: #171815; color: #f4f3ef; }
.overview-hero h2 { max-width: 700px; margin: 18px 0 16px; font-family: Georgia, serif; font-size: clamp(42px, 6vw, 75px); line-height: .98; font-weight: 400; letter-spacing: -.05em; }
.overview-hero > p:not(.eyebrow) { max-width: 450px; color: #a8a9a1; }
.overview-hero .primary-admin-button { margin-top: 25px; border-color: #f4f3ef; background: #f4f3ef; color: #111 !important; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #c7c5bd; border-top: 0; }
.admin-stat { padding: 24px; border-right: 1px solid #c7c5bd; }
.admin-stat:last-child { border: 0; }
.admin-stat strong { display: block; font-size: 29px; font-weight: 400; }
.admin-stat span { color: #74756e; }
.admin-card { margin-top: 35px; padding: 28px; border: 1px solid #c7c5bd; background: #eeece6; }
.admin-card-heading, .admin-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.admin-card-heading h2, .admin-toolbar h2 { margin: 5px 0 0; font-size: 32px; font-weight: 400; letter-spacing: -.03em; }
.admin-list-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 25px; padding: 16px 0; border-top: 1px solid #d1cfc7; }
.admin-list-row h3 { margin: 0 0 3px; font-size: 14px; font-weight: 500; }.admin-list-row p { margin: 0; color: #777871; }
.status-pill { padding: 4px 8px; border: 1px solid #b8b6ae; border-radius: 20px; color: #6a6b65; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.status-pill.published, .status-pill.visible { border-color: #7e9a76; color: #476a42; background: #dfe8da; }
.text-button { border: 0; border-bottom: 1px solid #8c8d85; padding: 4px 0; background: transparent; cursor: pointer; }
.admin-lede { max-width: 590px; margin: -10px 0 35px; color: #70716b; }
.story-manager { min-height: 700px; border: 1px solid #c7c5bd; background: #eeece6; }
.story-library { max-height: 280px; overflow-y: auto; border-bottom: 1px solid #c7c5bd; background: #dedcd4; }
.library-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; width: 100%; padding: 17px 22px; border: 0; border-bottom: 1px solid #c7c5bd; background: transparent; text-align: left; cursor: pointer; }
.library-item:last-child { border-bottom: 0; }
.library-item.is-active { background: #cfcdbf; }.library-item strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }.library-item span { color: #7c7d76; font-size: 10px; white-space: nowrap; }
.story-editor-empty { min-height: 260px; display: grid; align-content: center; justify-items: center; color: #898a83; text-align: center; }.story-editor-empty[hidden] { display: none; }.story-editor-empty h3 { font-weight: 400; }
.story-editor { width: 100%; padding: clamp(35px, 6vw, 80px); }
.story-editor[hidden] { display: none; }
.editor-actions { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 25px; border-bottom: 1px solid #d0cec6; }
.editor-actions > div { display: flex; gap: 8px; }
.secondary-admin-button, .danger-button { padding: 10px 14px; border: 1px solid #a9a79f; background: transparent; cursor: pointer; }.danger-button { color: #9e4034 !important; }
.story-editor .title-input { width: 100%; margin: 38px 0 8px; padding: 0; border: 0; outline: 0; background: transparent; font-family: Georgia, serif; font-size: clamp(36px, 5vw, 64px); letter-spacing: -.045em; }
.editor-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 25px 0; }
.field { display: block; width: 100%; }
.field input, .field textarea, .field select, .security-form input, .update-editor input, .update-editor textarea { display: block; width: 100%; padding: 11px; border: 1px solid #bbb9b1; outline: 0; background: #f7f5ef; }
.story-content-editor { min-height: 620px; padding: clamp(24px, 5vw, 64px); border: 1px solid #bbb9b1; outline: none; background: #f7f5ef; font-family: Georgia, serif; font-size: 17px; line-height: 1.8; }
.format-toolbar { position: sticky; top: 82px; z-index: 2; display: flex; flex-wrap: wrap; gap: 3px; padding: 8px; border: 1px solid #bbb9b1; border-bottom: 0; background: #dedcd4; }
.format-toolbar button { min-width: 34px; padding: 7px 9px; border: 0; background: transparent; cursor: pointer; }.format-toolbar button:hover { background: #c9c7be; }
.story-content-editor p { margin: 0 0 1.2em; }.story-content-editor blockquote { margin: 2em; font-size: 23px; font-style: italic; }
.editor-hint { color: #7b7c75; font-size: 10px; }
.admin-photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.admin-photo-card { border: 1px solid #c2c0b8; background: #eeece6; }
.admin-photo-card img { aspect-ratio: 4/3; object-fit: cover; filter: grayscale(1); }
.admin-photo-fields { padding: 20px; }.admin-photo-fields .field { margin-bottom: 14px; }.admin-photo-actions { display: flex; justify-content: space-between; align-items: center; }
.upload-button { cursor: pointer; }.upload-button input { display: none; }
.replace-button { display: inline-block; margin-bottom: 18px; cursor: pointer; }.replace-button input { display: none; }.admin-photo-actions button:disabled { opacity: .3; cursor: default; }
.filter-tabs { display: flex; gap: 18px; }.filter-tabs button { color: #85867f; }.filter-tabs button.is-active { color: #111; border-color: #111; }
.comment-admin-card { display: grid; grid-template-columns: 1fr auto; gap: 25px; padding: 24px 0; border-top: 1px solid #c4c2ba; }.comment-admin-card:first-child { border-top: 0; }.comment-admin-card blockquote { margin: 10px 0 0; font-family: Georgia, serif; font-size: 19px; }.comment-meta { display: flex; gap: 9px; color: #777871; }.comment-controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: end; }
.updates-manager { display: grid; grid-template-columns: minmax(260px, .75fr) 1.25fr; gap: 25px; }.updates-manager > div, .update-editor { border: 1px solid #c5c3bb; background: #eeece6; }.update-row { padding: 22px; border-bottom: 1px solid #cfcdc5; }.update-row h3 { margin: 8px 0 5px; font-weight: 500; }.update-row p { margin: 0 0 12px; color: #777871; }.update-editor { padding: 30px; }.update-editor h3 { margin-top: 0; font-size: 25px; font-weight: 400; }.update-editor label { display: block; margin: 17px 0; }.update-editor textarea { min-height: 180px; resize: vertical; }.update-editor .editor-actions { margin-top: 24px; }
.homepage-settings, .security-form { max-width: 690px; margin: 0; }.homepage-settings .field { margin-bottom: 22px; }.homepage-settings textarea { min-height: 110px; resize: vertical; }.homepage-settings .primary-admin-button, .security-form .primary-admin-button { margin-top: 15px; }.security-form h3 { margin-top: 0; font-size: 24px; font-weight: 400; }
.local-note { max-width: 590px; margin-top: 28px; padding: 20px; border-left: 3px solid #aaa89f; color: #6d6e68; }.local-note p { margin: 6px 0 0; }
.payment-settings { display: grid; gap: 14px; }.provider-card { display: grid; grid-template-columns: auto 110px auto auto minmax(240px, 1fr); align-items: center; gap: 18px; padding: 22px; border: 1px solid #c5c3bb; background: #eeece6; }.provider-name { font-size: 18px; }.provider-card > input[type="url"] { width: 100%; padding: 12px; border: 1px solid #bbb9b1; background: #f7f5ef; }.payment-settings > .primary-admin-button { justify-self: end; margin-top: 10px; }.support-intent-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 20px 0; border-top: 1px solid #cfcdc5; }.support-intent-row p { margin: 5px 0; }.support-intent-row small { color: #777871; }.support-intent-actions { display: flex; align-items: center; gap: 8px; }.support-intent-actions input { width: 90px; padding: 9px; border: 1px solid #bbb9b1; }

@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 180px 1fr; }.admin-sidebar { padding-left: 18px; padding-right: 18px; }.admin-stats { grid-template-columns: repeat(2,1fr); }.admin-stat:nth-child(2) { border-right: 0; }.admin-photo-grid { grid-template-columns: 1fr; }.updates-manager { grid-template-columns: 1fr; }.update-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
  .admin-nav-tab { display: none; }.admin-page { padding-top: 68px; }.admin-shell { display: block; }.admin-sidebar { position: static; width: 100%; height: auto; padding: 18px; border-right: 0; border-bottom: 1px solid #bbb9b1; }.admin-sidebar > div p, .admin-logout { display: none; }.admin-sidebar nav { display: flex; margin-top: 15px; overflow-x: auto; }.admin-sidebar nav button { width: auto; white-space: nowrap; }.admin-workspace { padding: 0 18px 60px; }.admin-topbar { height: 90px; }.admin-topbar button { display: none; }.story-library { max-height: 240px; }.library-item { border-right: 0; }.story-editor { padding: 22px; }.story-content-editor { min-height: 480px; padding: 22px; }.editor-actions { align-items: flex-start; flex-direction: column; }.editor-actions > div { width: 100%; flex-wrap: wrap; }.editor-meta { grid-template-columns: 1fr; }.admin-stats { grid-template-columns: 1fr 1fr; }.comment-admin-card { grid-template-columns: 1fr; }.comment-controls { justify-content: start; }.update-list { grid-template-columns: 1fr; }.auth-card { padding: 32px 24px; }
}
@media (max-width: 760px) { .provider-card { grid-template-columns: auto 1fr auto auto; }.provider-card > input[type="url"] { grid-column: 1 / -1; }.support-intent-row { grid-template-columns: 1fr; }.support-intent-actions { flex-wrap: wrap; } }
