@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,500&display=swap');

:root {
  --ink: #1d241e;
  --muted: #6f756f;
  --paper: #fbfaf6;
  --line: #deded6;
  --green: #1d3524;
  --green-soft: #e6eee7;
  --coral: #d95e48;
  --white: #fff;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: #efeee9;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input, textarea, select { font: inherit; }
input, textarea, select {
  width: 100%;
  margin-top: .5rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  padding: .8rem .9rem;
}
textarea { resize: vertical; line-height: 1.55; }
input:focus, textarea:focus, select:focus { outline: 3px solid #dbe7dc; border-color: #77907b; }
label { display: block; font-size: .86rem; font-weight: 700; }
small { color: var(--muted); font-size: .76rem; line-height: 1.45; }
h1, h2, p { margin-top: 0; }
h1 { font: 500 clamp(2rem, 4vw, 3.3rem)/1 "Newsreader", serif; margin-bottom: .35rem; }
h2 { font-size: 1.15rem; }
.eyebrow { margin-bottom: .65rem; color: #687866; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.primary, .quiet, .danger, .preview, .mobile-bar button {
  border: 0;
  border-radius: 8px;
  padding: .8rem 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.primary { color: var(--white); background: var(--green); }
.primary:hover { background: #294b32; }
.quiet { color: #7e3e34; background: #f5e7e2; }
.danger { margin-left: auto; color: #fff; background: #9f3f34; }
.danger:hover { background: #7f3028; }
.preview { color: var(--green); background: var(--green-soft); white-space: nowrap; }
.is-login { display: grid; place-items: center; padding: 1rem; background: var(--green); }
.login-card { width: min(430px, 100%); padding: clamp(1.5rem, 5vw, 2.5rem); border-radius: 18px; background: var(--paper); box-shadow: 0 24px 80px #08140b66; }
.login-card > p:not(.eyebrow) { color: var(--muted); line-height: 1.55; }
.login-card form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 5;
  display: flex;
  width: 250px;
  flex-direction: column;
  padding: 1.25rem;
  color: #f5f3e9;
  background: var(--green);
}
.brand { display: flex; align-items: center; gap: .8rem; padding-bottom: 1.3rem; border-bottom: 1px solid #ffffff24; }
.brand > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: var(--green); background: #f1e8d7; font: 500 1.2rem "Newsreader", serif; }
.brand strong, .brand small { display: block; }
.brand small { color: #b9c5b9; }
.sidebar nav { overflow: auto; padding: 1rem 0; }
.sidebar nav p { margin: 1.1rem .6rem .35rem; color: #91a291; font-size: .64rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.sidebar a { display: block; border-radius: 7px; color: #e9eee8; padding: .62rem .7rem; font-size: .86rem; text-decoration: none; }
.sidebar a:hover, .sidebar a[aria-current="page"] { background: #ffffff14; }
.sidebar a[aria-current="page"] { color: #fff; font-weight: 700; }
.dashboard-nav-link { margin: .3rem 0 .55rem; }
.nav-group {
  padding: .22rem 0;
  border-bottom: 1px solid #ffffff16;
}
.nav-group summary {
  position: relative;
  padding: .75rem 1.5rem .75rem .7rem;
  color: #b8c5b8;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .11em;
  list-style: none;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-group summary::-webkit-details-marker {
  display: none;
}
.nav-group summary::after {
  position: absolute;
  top: 50%;
  right: .65rem;
  content: "+";
  font-size: 1rem;
  transform: translateY(-50%);
}
.nav-group[open] summary::after {
  content: "–";
}
.nav-group > div {
  padding: 0 0 .45rem .45rem;
}
.nav-group > div a {
  padding-block: .52rem;
  font-size: .8rem;
}
.sidebar-bottom { margin-top: auto; padding-top: 1rem; border-top: 1px solid #ffffff24; }
.editor-main { min-height: 100vh; margin-left: 250px; padding: clamp(1.25rem, 4vw, 3.2rem); }
.editor-head { display: flex; max-width: 1500px; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.editor-head h1 { margin-bottom: 0; }
.editor-form { display: grid; max-width: 960px; gap: .8rem; padding-bottom: 6rem; }
.editor-form.narrow { max-width: 650px; }

.dashboard-welcome {
  display: grid;
  width: min(1500px, 100%);
  min-height: 260px;
  padding: clamp(2rem, 5vw, 4.2rem);
  grid-template-columns: minmax(0, 1fr) 230px;
  color: #f8f3e8;
  background:
    radial-gradient(circle at 82% 20%, #dca53d35, transparent 28%),
    linear-gradient(125deg, #17341f, #102719);
  align-items: end;
  gap: 3rem;
  box-shadow: 0 22px 55px #18301e18;
}
.dashboard-welcome h2 { max-width: 720px; margin-bottom: .85rem; font: 500 clamp(2.5rem, 5vw, 4.6rem)/.92 "Newsreader", serif; letter-spacing: -.035em; }
.dashboard-welcome > div:first-child > p:last-child { max-width: 650px; margin-bottom: 0; color: #ced8ce; line-height: 1.7; }
.dashboard-live-status { padding: 1.4rem 0 .25rem 1.4rem; border-left: 2px solid #e1aa3e; }
.dashboard-live-status > span, .dashboard-live-status small { display: block; color: #b9c7ba; font-size: .72rem; }
.dashboard-live-status strong { display: flex; margin: .55rem 0; align-items: center; gap: .55rem; font-size: 1.05rem; }
.dashboard-live-status strong i { width: 9px; height: 9px; border-radius: 50%; background: #78b88a; box-shadow: 0 0 0 5px #78b88a22; }
.dashboard-stat-grid {
  display: grid;
  width: min(1500px, 100%);
  margin-top: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  background: var(--white);
}
.dashboard-stat-grid a { display: grid; min-height: 150px; padding: 1.35rem; color: var(--ink); text-decoration: none; }
.dashboard-stat-grid a + a { border-left: 1px solid var(--border); }
.dashboard-stat-grid a:hover { background: #f4f2eb; }
.dashboard-stat-grid span { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.dashboard-stat-grid strong { margin: auto 0 .3rem; font: 500 2.8rem/1 "Newsreader", serif; }
.dashboard-stat-grid small { color: var(--muted); }
.dashboard-section { width: min(1500px, 100%); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.dashboard-section > header { display: flex; margin-bottom: 1.2rem; align-items: end; justify-content: space-between; }
.dashboard-section > header h2, .dashboard-panel header h2 { margin-bottom: 0; font: 500 clamp(1.5rem, 2.5vw, 2.2rem)/1 "Newsreader", serif; }
.dashboard-action-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.dashboard-action-grid > a {
  display: flex;
  min-height: 230px;
  padding: 1.45rem;
  border: 1px solid var(--border);
  color: var(--ink);
  background: var(--white);
  flex-direction: column;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.dashboard-action-grid > a:hover { transform: translateY(-3px); box-shadow: 0 16px 36px #18301e12; }
.dashboard-action-grid > a > span { color: #b7654f; font: 500 1.3rem "Newsreader", serif; }
.dashboard-action-grid > a > strong { margin: 2rem 0 .55rem; font: 500 1.5rem/1.05 "Newsreader", serif; }
.dashboard-action-grid > a > small { color: var(--muted); line-height: 1.55; }
.dashboard-action-grid > a > b { margin-top: auto; color: #9d4536; font-size: .72rem; }
.dashboard-lower-grid { display: grid; width: min(1500px, 100%); margin-top: .8rem; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: .8rem; }
.dashboard-panel { padding: 1.5rem; border: 1px solid var(--border); background: var(--white); }
.dashboard-panel > header { display: flex; min-height: 58px; margin-bottom: 1rem; align-items: start; justify-content: space-between; gap: 1rem; }
.dashboard-panel > header > a { color: #844337; font-size: .76rem; font-weight: 700; text-decoration: none; }
.dashboard-recent-list { display: grid; }
.dashboard-recent-list > a { display: grid; min-height: 82px; padding: .7rem 0; grid-template-columns: 74px 1fr auto; color: var(--ink); border-top: 1px solid var(--border); align-items: center; gap: 1rem; text-decoration: none; }
.dashboard-recent-list img { width: 74px; height: 58px; object-fit: cover; }
.dashboard-recent-list span small, .dashboard-recent-list span strong { display: block; }
.dashboard-recent-list span small { margin-bottom: .25rem; color: var(--muted); font-size: .68rem; }
.dashboard-recent-list span strong { font-family: "Newsreader", serif; font-size: 1rem; }
.dashboard-recent-list > a > i { padding: .28rem .5rem; border-radius: 999px; font-size: .62rem; font-style: normal; font-weight: 700; text-transform: uppercase; }
.dashboard-recent-list > a > i.published { color: #276139; background: #e0efe4; }
.dashboard-recent-list > a > i.draft { color: #815c17; background: #f5e7bd; }
.dashboard-guide ol { display: grid; padding: 0; margin: 0; list-style: none; }
.dashboard-guide li { display: grid; padding: 1rem 0; grid-template-columns: 34px 1fr; border-top: 1px solid var(--border); gap: .8rem; }
.dashboard-guide li > span { display: grid; width: 28px; height: 28px; border-radius: 50%; color: #fff; background: var(--green); place-items: center; font-size: .7rem; }
.dashboard-guide li strong, .dashboard-guide li small { display: block; }
.dashboard-guide li small { margin-top: .2rem; color: var(--muted); line-height: 1.45; }
.dashboard-empty { padding: 2rem 0; border-top: 1px solid var(--border); color: var(--muted); }
.dashboard-empty a { color: #844337; font-weight: 700; text-decoration: none; }
.content-editor-layout {
  display: grid;
  width: min(1500px, 100%);
  grid-template-columns: minmax(520px, 720px) minmax(430px, 1fr);
  align-items: start;
  gap: 1.25rem;
}
.content-editor-layout > * { min-width: 0; }
.design-editor-layout {
  display: grid;
  width: min(1500px, 100%);
  grid-template-columns: minmax(560px, 760px) minmax(430px, 1fr);
  align-items: start;
  gap: 1.25rem;
}
.design-editor-form {
  display: grid;
  gap: .85rem;
  padding-bottom: 6rem;
}
.design-panel {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
}
.design-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}
.design-panel-heading > div {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.design-panel-heading span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-soft);
  font-size: .65rem;
  font-weight: 700;
}
.design-panel-heading h2,
.design-panel-heading p {
  margin: 0;
}
.design-panel-heading h2 {
  font-size: 1rem;
}
.design-panel-heading p {
  max-width: 310px;
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.5;
  text-align: right;
}
.palette-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}
.palette-option,
.font-option,
.spacing-options label {
  position: relative;
  cursor: pointer;
}
.palette-option > input,
.font-option > input,
.spacing-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.palette-card {
  display: grid;
  gap: .75rem;
  padding: .85rem;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #f0efe9;
}
.palette-option input:checked + .palette-card,
.font-option input:checked + span,
.spacing-options input:checked + span {
  border-color: var(--green);
  box-shadow: 0 0 0 3px #dce8dd;
}
.palette-card strong {
  font-size: .78rem;
}
.palette-card small {
  min-height: 2.5em;
  color: var(--muted);
  font-size: .64rem;
  line-height: 1.25;
}
.palette-swatches {
  display: grid;
  overflow: hidden;
  height: 34px;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid #00000012;
  border-radius: 6px;
}
.palette-swatches i {
  display: block;
}
.custom-colours {
  margin-top: .8rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f6f5f0;
}
.custom-colours summary {
  padding: .8rem .9rem;
  font-size: .76rem;
  font-weight: 700;
  cursor: pointer;
}
.colour-control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  padding: 0 .9rem .9rem;
}
.colour-control-grid label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  padding: .55rem .65rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  font-size: .7rem;
}
.colour-control-grid input[type="color"] {
  width: 42px;
  height: 30px;
  padding: 2px;
  border-radius: 5px;
  margin: 0;
}
.font-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}
.font-option > span {
  display: grid;
  min-height: 128px;
  align-content: space-between;
  gap: .5rem;
  padding: .8rem;
  border: 2px solid transparent;
  border-radius: 10px;
  background: #f0efe9;
}
.font-option small {
  color: var(--muted);
  font-size: .63rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.font-option strong {
  font-size: 1.22rem;
  line-height: 1.05;
}
.font-option.editorial strong { font-family: "Newsreader", Georgia, serif; }
.font-option.classic strong { font-family: Georgia, serif; }
.font-option.modern strong { font-family: "DM Sans", sans-serif; }
.font-option em {
  color: var(--muted);
  font-size: .64rem;
  font-style: normal;
}
.design-control-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  margin-top: .8rem;
}
.spacing-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}
.spacing-options span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 2px solid transparent;
  border-radius: 9px;
  background: #f0efe9;
  font-size: .76rem;
  font-weight: 700;
}
.design-live-preview {
  top: 1.25rem;
}
.content-editor-layout .editor-form {
  max-width: none;
}
.field-group-heading {
  display: flex;
  margin-top: 1.25rem;
  padding: .2rem .15rem .75rem;
  border-bottom: 1px solid var(--line);
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}
.field-group-heading h2,
.field-group-heading p {
  margin: 0;
}
.field-group-heading h2 {
  font: 500 1.35rem/1.1 "Newsreader", serif;
}
.field-group-heading p {
  max-width: 330px;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.45;
  text-align: right;
}
.field-card, .story-card { padding: 1.15rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 1px 1px #00000008; }
.field-card > label { font-size: .92rem; }
.field-card > label + label { margin-top: 1rem; }
.field-heading {
  display: flex;
  min-height: 26px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.field-heading > span {
  color: #7a847b;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.text-format-toolbar {
  display: grid;
  margin-top: .85rem;
  padding: .75rem;
  border: 1px solid #deded6;
  border-radius: 9px;
  grid-template-columns: minmax(125px, 1.15fr) minmax(105px, .8fr) minmax(105px, .8fr) auto;
  align-items: end;
  gap: .55rem;
  background: #f3f1ea;
}
.text-format-toolbar > label > span {
  display: block;
  color: #687168;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.text-format-toolbar select {
  min-height: 38px;
  margin-top: .3rem;
  padding: .5rem .65rem;
  border-radius: 7px;
  font-size: .76rem;
}
.text-format-toggles {
  display: flex;
  min-height: 38px;
  align-items: stretch;
  gap: 4px;
}
.format-toggle { cursor: pointer; }
.format-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  opacity: 0;
  pointer-events: none;
}
.format-toggle > span {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid #d5d6ce;
  border-radius: 7px;
  color: #303b32;
  background: #fff;
  place-items: center;
  font: 500 .9rem Georgia, serif;
}
.format-toggle input:checked + span {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}
.format-toggle input:focus-visible + span {
  outline: 3px solid #cbdccc;
  outline-offset: 2px;
}
.image-field { display: grid; grid-template-columns: 145px 1fr; align-items: center; gap: 1rem; margin-top: .7rem; }
.image-field img { width: 145px; height: 96px; border-radius: 8px; object-fit: cover; background: #ddd; }
.admin-page-gallery .editor-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-page-gallery .field-group-heading,
.admin-page-gallery .sticky-actions,
.admin-page-gallery [data-preview-card^="gallery.hero_"],
.admin-page-gallery [data-preview-card^="gallery.intro_"] {
  grid-column: 1 / -1;
}
.admin-page-gallery [data-preview-card^="gallery.image_"] .image-field {
  grid-template-columns: 88px 1fr;
}
.admin-page-gallery [data-preview-card^="gallery.image_"] .image-field img {
  width: 88px;
  height: 88px;
}
.gallery-photo-copy {
  display: grid;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  gap: .8rem;
}
.gallery-photo-copy label {
  font-size: .76rem;
}
.gallery-photo-copy input,
.gallery-photo-copy textarea {
  margin-top: .35rem;
}
.gallery-photo-copy textarea {
  min-height: 72px;
}
.sticky-actions {
  position: sticky;
  bottom: 1rem;
  z-index: 3;
  display: flex;
  width: fit-content;
  gap: .6rem;
  padding: .55rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #ffffffeb;
  box-shadow: 0 10px 30px #1d241e24;
  backdrop-filter: blur(10px);
}
.notice { max-width: 960px; margin: 0 0 1rem; padding: .85rem 1rem; border-radius: 9px; font-weight: 600; }
.notice.success { color: #285b34; background: #dfeee2; }
.notice.error { color: #7f2d24; background: #f6ddd8; }
.story-card { display: grid; gap: 1rem; }
.story-card-head { display: flex; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.story-card-head img { width: 90px; height: 72px; border-radius: 8px; object-fit: cover; }
.story-card-head h2, .story-card-head p { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.story-toolbar {
  display: flex;
  max-width: 1200px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
}
.story-toolbar h2 {
  margin-bottom: .25rem;
  font-size: 1.1rem;
}
.story-toolbar p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .84rem;
}
.article-list {
  display: grid;
  max-width: 1200px;
  gap: .75rem;
}
.article-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.15rem;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.article-row > img {
  width: 150px;
  height: 105px;
  border-radius: 8px;
  object-fit: cover;
  background: #ddd;
}
.article-row-copy h2 {
  margin: .35rem 0;
  font: 500 1.45rem/1.1 "Newsreader", serif;
}
.article-row-copy > p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 600;
}
.status-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: .3rem .55rem;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.status-badge.published {
  color: #25613a;
  background: #dcecdf;
}
.status-badge.draft {
  color: #795d28;
  background: #f3e8c9;
}
.article-row-actions {
  display: grid;
  min-width: 105px;
  gap: .45rem;
}
.article-row-actions a,
.story-edit-heading a {
  color: var(--green);
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
}
.article-row-actions .edit-link {
  border-radius: 7px;
  padding: .6rem .75rem;
  color: #fff;
  background: var(--green);
  text-align: center;
}
.story-edit-heading {
  display: flex;
  max-width: 1200px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .8rem;
}
.story-edit-heading > div {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.story-editor-form {
  position: relative;
  display: grid;
  max-width: 1200px;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 1rem;
  padding-bottom: 6rem;
}
.story-editor-main,
.story-editor-side {
  display: grid;
  gap: .8rem;
}
.story-editor-side {
  position: sticky;
  top: 1.25rem;
}
.story-title-card input {
  font: 500 1.35rem "Newsreader", serif;
}
.story-content-card {
  display: grid;
  gap: .9rem;
}
.block-editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.block-editor-heading label,
.block-editor-heading small {
  display: block;
}
.block-editor-heading > div:last-child {
  display: flex;
  gap: .45rem;
}
.block-add {
  border: 1px solid #cbd7cc;
  border-radius: 7px;
  padding: .55rem .7rem;
  color: var(--green);
  background: var(--green-soft);
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
}
.block-add:hover {
  color: #fff;
  background: var(--green);
}
.story-blocks {
  display: grid;
  gap: .7rem;
}
.story-block {
  padding: .85rem;
  border: 1px solid #d9dad3;
  border-radius: 9px;
  background: #fff;
}
.story-block-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .65rem;
}
.story-block-top strong {
  color: #657066;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.story-block-top > div {
  display: flex;
  gap: .3rem;
}
.story-block-top button {
  border: 0;
  border-radius: 5px;
  padding: .35rem .5rem;
  color: #5d685e;
  background: #eff1ed;
  font-size: .68rem;
  font-weight: 700;
  cursor: pointer;
}
.story-block-top button[data-block-remove] {
  color: #8b4137;
  background: #f7e7e3;
}
.story-text-format {
  display: grid;
  padding: .65rem;
  border: 1px solid #dfe1da;
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
  background: #f6f6f1;
  grid-template-columns: minmax(150px, 1.25fr) minmax(115px, .8fr) minmax(115px, .8fr) auto auto;
  gap: .55rem;
  align-items: end;
}
.story-text-format + textarea {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.story-text-format label {
  display: grid;
  margin: 0;
  color: #657066;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .05em;
  gap: .28rem;
  text-transform: uppercase;
}
.story-text-format select {
  min-height: 38px;
  padding: .45rem 1.8rem .45rem .55rem;
  border: 1px solid #d5d8d1;
  border-radius: 6px;
  color: #202820;
  background: #fff;
  font: 500 .8rem/1.2 system-ui, sans-serif;
  text-transform: none;
}
.story-text-format .format-toggle {
  display: block;
}
.format-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.format-toggle span {
  display: flex;
  min-height: 38px;
  padding: .45rem .7rem;
  border: 1px solid #d5d8d1;
  border-radius: 6px;
  color: #2f4636;
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  cursor: pointer;
  text-transform: none;
}
.format-toggle input:checked + span {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}
.inline-image-editor {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: start;
  gap: .9rem;
}
.inline-image-editor > img,
.inline-image-editor > .image-placeholder {
  width: 190px;
  height: 150px;
  border-radius: 7px;
  object-fit: cover;
}
.image-placeholder {
  display: grid;
  place-items: center;
  padding: 1rem;
  color: #818781;
  background: #e8e9e5;
  font-size: .72rem;
  text-align: center;
}
.inline-image-editor > div:last-child {
  display: grid;
  gap: .65rem;
}
.block-empty {
  margin: 0;
  padding: 1rem;
  border: 1px dashed #cfd2cb;
  border-radius: 8px;
  color: var(--muted);
  font-size: .78rem;
  text-align: center;
}
.block-empty[hidden] {
  display: none;
}
.field-gap {
  margin-top: 1rem;
}
.story-image-preview {
  width: 100%;
  height: 180px;
  margin-top: .7rem;
  border-radius: 8px;
  object-fit: cover;
  background: #ddd;
}
.gallery-library-trigger {
  display: grid;
  width: 100%;
  min-height: 76px;
  padding: .45rem;
  border: 1px solid #cbd4ca;
  border-radius: 9px;
  color: var(--green);
  background: #f4f7f2;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  text-align: left;
  cursor: pointer;
}
.gallery-library-trigger.has-image {
  grid-template-columns: 66px minmax(0, 1fr) auto;
}
.gallery-library-trigger:hover,
.gallery-library-trigger:focus-visible {
  border-color: var(--green);
  background: #e9f0e8;
}
.gallery-library-trigger img {
  width: 66px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
}
.gallery-library-trigger img[hidden] {
  display: none;
}
.gallery-library-trigger span {
  display: grid;
  min-width: 0;
  gap: .18rem;
}
.gallery-library-trigger strong,
.gallery-library-trigger small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gallery-library-trigger strong {
  font-size: .78rem;
}
.gallery-library-trigger small {
  color: var(--muted);
  font-size: .68rem;
}
.gallery-library-trigger b {
  padding-right: .35rem;
  color: #62715f;
  font-size: .68rem;
}
.gallery-picker-dialog {
  width: min(1180px, calc(100vw - 30px));
  max-width: none;
  max-height: calc(100vh - 30px);
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: #f4f2eb;
  box-shadow: 0 30px 100px #10181270;
}
.gallery-picker-dialog::backdrop {
  background: #101812c7;
  backdrop-filter: blur(5px);
}
.gallery-picker-head {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #d5d5cc;
  background: #fffdf8f2;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.gallery-picker-head .eyebrow {
  margin: 0 0 .25rem;
}
.gallery-picker-head h2 {
  margin: 0 0 .15rem;
  font: 500 1.75rem/1 "Newsreader", Georgia, serif;
}
.gallery-picker-head button {
  border: 1px solid #cbd2c9;
  border-radius: 999px;
  padding: .6rem .85rem;
  color: var(--green);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}
.gallery-picker-albums {
  position: sticky;
  z-index: 4;
  top: 91px;
  display: flex;
  overflow-x: auto;
  padding: .7rem 1.2rem;
  border-bottom: 1px solid #d9d9d1;
  background: #f4f2ebf5;
  gap: .45rem;
}
.gallery-picker-albums button {
  flex: 0 0 auto;
  padding: .5rem .7rem;
  border: 1px solid #cbd1c8;
  border-radius: 999px;
  color: #526050;
  background: #fff;
  font-size: .7rem;
  font-weight: 700;
  cursor: pointer;
}
.gallery-picker-albums button[aria-pressed="true"] {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}
.gallery-picker-grid {
  display: grid;
  padding: 1.2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.gallery-picker-photo {
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  color: #20251f;
  background: #fff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 7px 18px #17201912;
}
.gallery-picker-photo[hidden] {
  display: none;
}
.gallery-picker-photo:hover,
.gallery-picker-photo:focus-visible,
.gallery-picker-photo[aria-current="true"] {
  border-color: var(--green);
  box-shadow: 0 10px 24px #17301e26;
}
.gallery-picker-photo img {
  display: block;
  width: 100%;
  height: 155px;
  object-fit: cover;
}
.gallery-picker-photo > span {
  display: flex;
  min-height: 58px;
  padding: .65rem .7rem;
  justify-content: space-between;
  gap: .5rem;
}
.gallery-picker-photo strong {
  font-size: .72rem;
  line-height: 1.35;
}
.gallery-picker-photo small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: .62rem;
}
.gallery-picker-empty {
  grid-column: 1 / -1;
  padding: 3rem;
  color: var(--muted);
  text-align: center;
}
.story-save-actions {
  grid-column: 1 / -1;
}
.preview-button {
  border: 1px solid #b9c8bb;
  border-radius: 8px;
  padding: .72rem 1rem;
  color: var(--green);
  background: #edf3ed;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.preview-button:hover {
  color: #fff;
  background: var(--green);
}
.story-preview-dialog {
  width: min(1080px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 15px;
  color: #20211f;
  background: #f7f3e9;
  box-shadow: 0 28px 90px #10181266;
}
.story-preview-dialog::backdrop {
  background: #101812c7;
  backdrop-filter: blur(5px);
}
.story-preview-toolbar {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  min-height: 64px;
  padding: .8rem 1rem;
  border-bottom: 1px solid #d6d3c9;
  background: #fffdf7f2;
  align-items: center;
  justify-content: space-between;
}
.story-preview-toolbar > div {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.story-preview-toolbar small {
  color: var(--muted);
}
.story-preview-toolbar button {
  border: 1px solid #ccd2ca;
  border-radius: 999px;
  padding: .55rem .8rem;
  color: var(--green);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}
.story-preview-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 96px);
  min-height: 680px;
  border: 0;
  background: #ece8de;
}
.story-preview-page {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 90px;
}
.story-preview-page > header {
  width: min(680px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}
.story-preview-page > header > p:first-child {
  color: #657044;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.story-preview-page h1 {
  max-width: 760px;
  margin: 14px auto 18px;
  font: 500 clamp(2.5rem, 6vw, 4.8rem)/.94 "Newsreader", Georgia, serif;
  letter-spacing: -.035em;
}
.story-preview-intro {
  font: 400 1.05rem/1.7 Georgia, serif;
}
.story-preview-main-image,
.story-preview-content figure {
  position: relative;
  margin: 0;
}
.story-preview-main-image img,
.story-preview-content figure img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  outline: 1px solid #ffffff94;
  outline-offset: -10px;
}
.story-preview-content {
  width: min(680px, 100%);
  margin: 60px auto 0;
}
.story-preview-content p {
  margin: 0 0 26px;
  font: 400 1rem/1.9 Georgia, serif;
  white-space: pre-line;
}
.story-preview-content figure {
  width: calc(100% + 100px);
  margin: 44px -50px;
}
.story-preview-content figcaption {
  padding-top: 10px;
  border-top: 1px solid #c7c3b8;
  margin-top: 10px;
  color: #657044;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .gallery-library-trigger,
  .gallery-library-trigger.has-image {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  .gallery-library-trigger:not(.has-image) {
    grid-template-columns: minmax(0, 1fr);
  }
  .gallery-library-trigger img {
    width: 56px;
    height: 54px;
  }
  .gallery-library-trigger b {
    display: none;
  }
  .gallery-picker-dialog {
    width: calc(100vw - 12px);
    max-height: calc(100vh - 12px);
  }
  .gallery-picker-head {
    align-items: flex-start;
  }
  .gallery-picker-head small {
    display: none;
  }
  .gallery-picker-albums {
    top: 80px;
  }
  .gallery-picker-grid {
    padding: .7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }
  .gallery-picker-photo img {
    height: 130px;
  }
  .gallery-picker-photo > span {
    min-height: 52px;
    padding: .5rem;
    flex-direction: column;
    gap: .15rem;
  }
  .story-preview-dialog {
    width: calc(100vw - 14px);
    max-height: calc(100vh - 14px);
  }
  .story-preview-toolbar {
    align-items: flex-start;
  }
  .story-preview-toolbar > div {
    align-items: flex-start;
    flex-direction: column;
    gap: .18rem;
  }
  .story-preview-toolbar .live-dot {
    display: none;
  }
  .story-preview-frame {
    height: calc(100vh - 90px);
    min-height: 560px;
  }
  .story-preview-page {
    width: calc(100% - 28px);
    padding: 42px 0 64px;
  }
  .story-preview-page h1 {
    font-size: clamp(2.35rem, 13vw, 3.8rem);
  }
  .story-preview-content {
    margin-top: 42px;
  }
  .story-preview-content figure {
    width: 100%;
    margin: 32px 0;
  }
}
.live-preview {
  position: sticky;
  top: 1.25rem;
  overflow: hidden;
  border: 1px solid #d8d9d1;
  border-radius: 14px;
  background: #dfe1dc;
  box-shadow: 0 18px 45px #1d241e1a;
}
.live-preview-head {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid #d3d5ce;
  background: #fbfaf6;
}
.live-preview-head > div {
  display: flex;
  align-items: center;
  gap: .55rem;
}
.live-preview-head strong {
  font-size: .82rem;
}
.live-preview-head small {
  text-align: right;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4f885b;
  box-shadow: 0 0 0 4px #dcebdd;
}
.preview-frame-shell {
  height: max(560px, calc(100vh - 205px));
  background: #fff;
}
.preview-frame-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.mobile-bar { display: none; }

.gallery-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #d4d5cd;
}
.gallery-toolbar h2,
.gallery-empty h2,
.new-album-card h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
  color: var(--green);
}
.gallery-toolbar p,
.gallery-empty p,
.new-album-card p {
  max-width: 660px;
  margin: .65rem 0 0;
  color: #667067;
}
.gallery-toolbar-actions {
  display: flex;
  flex: 0 0 auto;
  gap: .65rem;
}
.gallery-upload-panel,
.gallery-empty {
  max-width: 1020px;
}
.gallery-dropzone {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.15rem;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px dashed #8ea090;
  border-radius: 18px;
  background: #f9f8f3;
}
.gallery-upload-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  font: 300 2.2rem/1 Georgia, serif;
  color: #fff;
  background: var(--green);
}
.gallery-dropzone label {
  display: block;
  margin: 0 0 .35rem;
  font-size: 1.1rem;
}
.gallery-dropzone p {
  margin: 0;
  color: #667067;
}
.gallery-dropzone input[type="file"] {
  grid-column: 2 / -1;
  width: 100%;
  padding: .8rem;
  border: 1px solid #d2d5cd;
  border-radius: 10px;
  background: #fff;
}
.gallery-dropzone > strong {
  grid-column: 2 / -1;
  color: var(--green);
}
.gallery-upload-settings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.gallery-upload-settings > label:not(.gallery-checkbox),
.new-album-fields > label:not(.gallery-checkbox) {
  display: grid;
  gap: .45rem;
  font-weight: 700;
}
.gallery-upload-settings .gallery-checkbox {
  grid-column: 1 / -1;
}
.gallery-form-actions {
  display: flex;
  gap: .65rem;
  margin-top: 1.25rem;
}
.gallery-checkbox {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: 1rem;
  border: 1px solid #d9d9d2;
  border-radius: 12px;
  background: #fbfaf6;
  cursor: pointer;
}
.gallery-checkbox input {
  width: 19px;
  height: 19px;
  margin-top: .05rem;
  accent-color: var(--green);
}
.gallery-checkbox span {
  display: grid;
  gap: .15rem;
}
.gallery-checkbox small {
  font-weight: 400;
}
.gallery-checkbox.compact {
  padding: .72rem .8rem;
}
.gallery-library {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  padding-bottom: 5rem;
}
.gallery-admin-card {
  overflow: hidden;
  border: 1px solid #d6d7d0;
  border-radius: 16px;
  background: #fbfaf6;
  box-shadow: 0 12px 35px rgba(26, 45, 30, .06);
}
.gallery-admin-image {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #dfe2da;
}
.gallery-admin-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-admin-image > small {
  position: absolute;
  right: .7rem;
  bottom: .65rem;
  padding: .3rem .45rem;
  color: #fff;
  background: rgba(20, 37, 24, .72);
}
.gallery-state {
  position: absolute;
  top: .7rem;
  left: .7rem;
  padding: .4rem .6rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #39443b;
  background: rgba(250, 248, 241, .92);
}
.gallery-state.is-featured {
  color: #fff;
  background: rgba(23, 55, 33, .92);
}
.gallery-admin-fields {
  display: grid;
  gap: .8rem;
  padding: 1rem;
}
.gallery-admin-fields > label,
.album-admin-card > label {
  display: grid;
  gap: .35rem;
  font-weight: 700;
}
.gallery-caption-field input {
  font-family: Georgia, serif;
  font-size: 1.18rem;
}
.gallery-field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.gallery-field-pair label {
  display: grid;
  gap: .35rem;
  font-weight: 700;
}
.gallery-card-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: .55rem;
  padding-top: .3rem;
}
.gallery-order-controls {
  display: flex;
  gap: .25rem;
}
.gallery-order-controls button {
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--green);
  border: 1px solid #cbd0c8;
  background: #fff;
}
.danger-link {
  padding: .55rem .7rem;
  color: #8d4339;
  border: 0;
  background: transparent;
}
.danger-link:hover {
  background: #f3dfdb;
}
.gallery-empty {
  padding: clamp(2rem, 7vw, 5rem);
  border: 1px solid #d7d8d1;
  border-radius: 18px;
  background: #f9f8f3;
}
.gallery-empty > span,
.new-album-intro > span {
  display: block;
  margin-bottom: 1rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #9c5b45;
}
.gallery-empty .button-link {
  margin-top: 1.25rem;
}
.album-admin-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.album-admin-card {
  display: grid;
  gap: .85rem;
  padding: 1.2rem;
  border: 1px solid #d6d7d0;
  border-radius: 16px;
  background: #fbfaf6;
}
.album-admin-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid #dfdfd8;
}
.album-admin-card header > div {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.album-admin-card header span {
  font: 400 2rem/1 Georgia, serif;
  color: #9d5c45;
}
.album-admin-card header strong {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6c746d;
}
.new-album-card {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: 1.25rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border-radius: 18px;
  color: #fff;
  background: var(--green);
}
.new-album-card h2,
.new-album-card p {
  color: #fff;
}
.new-album-fields {
  display: grid;
  gap: .75rem;
}
.new-album-fields .gallery-checkbox {
  color: #172719;
}
.album-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.album-overview-card,
.album-create-card {
  min-height: 410px;
  overflow: hidden;
  border: 1px solid #d5d7ce;
  border-radius: 16px;
  background: #fbfaf6;
  box-shadow: 0 14px 40px rgba(26, 45, 30, .06);
}
.album-overview-card > a {
  display: grid;
  height: 100%;
  grid-template-rows: 220px 1fr;
}
.album-cover-grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  color: #637066;
  background: #dfe3da;
}
.album-cover-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform .35s ease;
}
.album-cover-grid.count-1 img {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
}
.album-cover-grid.count-2 img {
  grid-row: 1 / -1;
}
.album-cover-grid.count-3 img:first-child {
  grid-row: 1 / -1;
}
.album-cover-grid > span {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  place-items: center;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.album-overview-card:hover .album-cover-grid img {
  transform: scale(1.025);
}
.album-overview-copy {
  display: flex;
  padding: 1.15rem;
  flex-direction: column;
}
.album-overview-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.album-overview-meta > span:first-child {
  font: 400 1.65rem/1 Georgia, serif;
  color: #a15a43;
}
.album-overview-copy h2 {
  margin: 1rem 0 .45rem;
  font: 400 1.75rem/1 Georgia, serif;
  color: var(--green);
}
.album-overview-copy p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #687169;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.album-overview-copy footer {
  display: flex;
  margin-top: auto;
  padding-top: 1rem;
  align-items: center;
  justify-content: space-between;
  color: #69736b;
  border-top: 1px solid #dedfd8;
  font-size: .74rem;
}
.album-overview-copy footer strong {
  color: var(--green);
}
.album-create-card {
  display: flex;
  padding: 2rem;
  border: 1px dashed #91a093;
  flex-direction: column;
  justify-content: center;
  color: var(--green);
  background: #f1f3ed;
  transition: border-color .2s ease, background .2s ease;
}
.album-create-card:hover {
  border-color: var(--green);
  background: #e8eee7;
}
.album-create-card > span {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  place-items: center;
  font: 300 2rem/1 Georgia, serif;
}
.album-create-card strong {
  font: 400 2rem/1 Georgia, serif;
}
.album-create-card small {
  max-width: 290px;
  margin-top: .8rem;
  color: #687169;
  font-size: .88rem;
  line-height: 1.55;
}
.album-create-form {
  display: grid;
  max-width: 1100px;
  overflow: hidden;
  grid-template-columns: .82fr 1.18fr;
  border-radius: 18px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 20px 55px rgba(20, 45, 27, .14);
}
.album-create-lead {
  display: flex;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-right: 1px solid rgba(255,255,255,.15);
  flex-direction: column;
  justify-content: center;
}
.album-create-lead > span {
  margin-bottom: 1.2rem;
  color: #d6ad50;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.album-create-lead h2 {
  margin: 0;
  font: 400 clamp(2.7rem, 5vw, 4.4rem)/.88 Georgia, serif;
}
.album-create-lead p {
  max-width: 400px;
  margin: 1.6rem 0 0;
  color: rgba(255,255,255,.68);
  line-height: 1.65;
}
.album-create-fields {
  display: grid;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  color: #1b2a1e;
  background: #fbfaf6;
}
.album-create-fields > label:not(.gallery-checkbox) {
  display: grid;
  gap: .45rem;
  font-weight: 700;
}
.album-workspace-head {
  display: flex;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #d4d5cd;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.album-workspace-head > div > a {
  display: inline-block;
  margin-bottom: 1rem;
  color: #5f7162;
  font-size: .8rem;
  font-weight: 700;
}
.album-title-line {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.album-title-line h2 {
  margin: 0;
  font: 400 clamp(2.3rem, 4.5vw, 4rem)/.9 Georgia, serif;
  color: var(--green);
}
.album-workspace-head p {
  margin: .7rem 0 0;
  color: #687169;
}
.album-workspace {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: start;
  gap: 1.25rem;
}
.album-settings-column {
  position: sticky;
  top: 1.2rem;
}
.album-settings-card {
  display: grid;
  gap: .85rem;
  padding: 1.15rem;
  border: 1px solid #d6d8d0;
  border-radius: 16px;
  background: #fbfaf6;
}
.album-settings-card header {
  display: grid;
  margin: -1.15rem -1.15rem .25rem;
  padding: 1.15rem;
  border-bottom: 1px solid #dedfd8;
}
.album-settings-card header span {
  font: 400 1.35rem/1 Georgia, serif;
  color: var(--green);
}
.album-settings-card header small {
  margin-top: .35rem;
}
.album-settings-card > label:not(.gallery-checkbox) {
  display: grid;
  gap: .35rem;
  font-weight: 700;
}
.album-content-column {
  min-width: 0;
}
.album-quick-upload {
  padding: 1.2rem;
  border: 1px solid #b9c8bb;
  border-radius: 16px;
  background: #eaf0e8;
}
.album-upload-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.album-upload-heading > span {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  place-items: center;
  font: 300 1.7rem/1 Georgia, serif;
}
.album-upload-heading h3,
.album-photo-heading-admin h3,
.album-photo-empty h3 {
  margin: 0;
  font: 400 1.7rem/1 Georgia, serif;
  color: var(--green);
}
.album-upload-heading p,
.album-photo-heading-admin p,
.album-photo-empty p {
  margin: .35rem 0 0;
  color: #687169;
}
.album-quick-upload > input[type="file"] {
  width: 100%;
  margin: 1rem 0;
  padding: .8rem;
  border: 1px solid #cbd3c9;
  border-radius: 10px;
  background: #fff;
}
.album-upload-options {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: .75rem;
}
.album-upload-options > label:not(.gallery-checkbox) {
  display: grid;
  gap: .35rem;
  font-weight: 700;
}
.album-upload-actions {
  display: flex;
  margin-top: .85rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.album-upload-actions > strong {
  color: #536157;
  font-size: .8rem;
}
.album-photo-heading-admin {
  display: flex;
  margin: 2rem 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d5d7cf;
  align-items: flex-end;
  justify-content: space-between;
}
.album-photo-heading-admin > span {
  display: grid;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  place-items: center;
  font: 400 1.25rem/1 Georgia, serif;
}
.album-photo-empty {
  padding: 3.5rem;
  border: 1px dashed #9caa9d;
  border-radius: 16px;
  background: #f5f5f0;
  text-align: center;
}
.album-photo-empty > span {
  display: block;
  margin-bottom: 1rem;
  color: #a15a43;
  font: 400 2rem/1 Georgia, serif;
}
.album-photo-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 5rem;
}
.album-photo-admin-card {
  overflow: hidden;
  border: 1px solid #d6d8d0;
  border-radius: 14px;
  background: #fbfaf6;
}
.album-photo-admin-image {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #dce0d8;
}
.album-photo-admin-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.album-photo-admin-image span {
  position: absolute;
  top: .65rem;
  left: .65rem;
  padding: .35rem .5rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(23,55,33,.9);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.album-photo-admin-fields {
  display: grid;
  gap: .7rem;
  padding: .9rem;
}
.album-photo-admin-fields > label {
  display: grid;
  gap: .35rem;
  font-weight: 700;
}
.album-photo-admin-fields > label:first-child input {
  font: 400 1.05rem/1.2 Georgia, serif;
}
.album-photo-admin-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: .45rem;
}

@media (max-width: 1250px) {
  .dashboard-stat-grid,
  .dashboard-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-stat-grid a:nth-child(3) {
    border-left: 0;
  }
  .dashboard-stat-grid a:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
  .dashboard-lower-grid {
    grid-template-columns: 1fr;
  }
  .content-editor-layout {
    grid-template-columns: minmax(480px, 1.1fr) minmax(390px, .9fr);
  }
  .design-editor-layout {
    grid-template-columns: minmax(500px, 1.1fr) minmax(390px, .9fr);
  }
  .admin-page-gallery .editor-form {
    grid-template-columns: 1fr;
  }
  .admin-page-gallery .field-group-heading,
  .admin-page-gallery .sticky-actions,
  .admin-page-gallery [data-preview-card^="gallery.hero_"],
  .admin-page-gallery [data-preview-card^="gallery.intro_"] {
    grid-column: auto;
  }
  .admin-page-gallery [data-preview-card^="gallery.image_"] .image-field {
    grid-template-columns: 110px 1fr;
  }
  .admin-page-gallery [data-preview-card^="gallery.image_"] .image-field img {
    width: 110px;
    height: 86px;
  }
  .album-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .album-workspace {
    grid-template-columns: 290px minmax(0, 1fr);
  }
  .album-photo-admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1050px) {
  .dashboard-welcome {
    grid-template-columns: 1fr;
  }
  .dashboard-live-status {
    max-width: 300px;
  }
  .content-editor-layout {
    grid-template-columns: 1fr;
  }
  .design-editor-layout {
    grid-template-columns: 1fr;
  }
  .design-live-preview {
    position: relative;
    top: auto;
    grid-row: 1;
  }
  .live-preview {
    position: relative;
    top: auto;
    grid-row: 1;
  }
  .preview-frame-shell {
    height: 620px;
  }
  .story-editor-form {
    grid-template-columns: 1fr;
  }
  .story-editor-side {
    position: static;
    grid-row: 1;
    grid-template-columns: 1fr 1fr;
  }
  .design-panel-heading {
    flex-direction: column;
    gap: .5rem;
  }
  .design-panel-heading p {
    text-align: left;
  }
  .field-group-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: .35rem;
  }
  .field-group-heading p {
    text-align: left;
  }
  .palette-grid,
  .colour-control-grid,
  .font-choice-grid,
  .design-control-row {
    grid-template-columns: 1fr;
  }
  .gallery-library,
  .album-admin-list {
    grid-template-columns: 1fr;
  }
  .album-workspace {
    grid-template-columns: 1fr;
  }
  .album-settings-column {
    position: static;
  }
  .album-photo-admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .mobile-bar { position: sticky; top: 0; z-index: 8; display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; color: #fff; background: var(--green); }
  .mobile-bar button { padding: .45rem .7rem; color: var(--green); background: #fff; }
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; }
  .sidebar.open { transform: translateX(0); }
  .editor-main { margin-left: 0; padding: 1.2rem 1rem; }
  .editor-head { align-items: center; }
  .dashboard-welcome {
    min-height: 0;
    padding: 2rem 1.35rem;
    gap: 2rem;
  }
  .dashboard-welcome h2 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }
  .dashboard-stat-grid,
  .dashboard-action-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-stat-grid a + a {
    border-top: 1px solid var(--border);
    border-left: 0;
  }
  .dashboard-action-grid > a {
    min-height: 205px;
  }
  .dashboard-panel {
    padding: 1.1rem;
  }
  .dashboard-recent-list > a {
    grid-template-columns: 62px 1fr;
  }
  .dashboard-recent-list img {
    width: 62px;
    height: 54px;
  }
  .dashboard-recent-list > a > i {
    grid-column: 2;
    justify-self: start;
  }
  .image-field, .two-col { grid-template-columns: 1fr; }
  .text-format-toolbar { grid-template-columns: 1fr 1fr; }
  .text-format-toolbar > label:first-child { grid-column: 1 / -1; }
  .text-format-toggles { align-self: end; }
  .image-field img { width: 100%; height: 180px; }
  .live-preview-head { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .live-preview-head small { text-align: left; }
  .preview-frame-shell { height: 520px; }
  .sticky-actions { width: 100%; }
  .sticky-actions button { flex: 1; }
  .story-toolbar,
  .story-edit-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .article-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .article-row > img {
    width: 92px;
    height: 92px;
  }
  .article-row-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }
  .story-editor-side {
    grid-template-columns: 1fr;
  }
  .block-editor-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .block-editor-heading > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .story-text-format {
    grid-template-columns: 1fr 1fr;
  }
  .story-text-format label:first-child {
    grid-column: 1 / -1;
  }
  .inline-image-editor {
    grid-template-columns: 1fr;
  }
  .inline-image-editor > img,
  .inline-image-editor > .image-placeholder {
    width: 100%;
    height: 190px;
  }
  .gallery-toolbar,
  .gallery-toolbar-actions,
  .gallery-form-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .gallery-upload-settings,
  .gallery-field-pair,
  .new-album-card {
    grid-template-columns: 1fr;
  }
  .gallery-dropzone {
    grid-template-columns: auto 1fr;
  }
  .gallery-card-footer {
    grid-template-columns: 1fr auto;
  }
  .gallery-card-footer .danger-link {
    grid-column: 1 / -1;
  }
  .album-overview-grid,
  .album-create-form,
  .album-photo-admin-grid,
  .album-upload-options {
    grid-template-columns: 1fr;
  }
  .album-create-lead {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  .album-workspace-head,
  .album-upload-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .album-photo-admin-footer {
    grid-template-columns: 1fr auto;
  }
  .album-photo-admin-footer .danger-link {
    grid-column: 1 / -1;
  }
}

/* Wall of Champions administration */
.champion-admin-toolbar,
.champion-editor-heading {
  display: flex;
  margin-bottom: 1.35rem;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.champion-admin-toolbar h2,
.champion-editor-heading h2 {
  margin: 0 0 .3rem;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1;
}

.champion-admin-toolbar p,
.champion-editor-heading p { margin: 0; color: var(--muted); }
.champion-editor-heading > div > a { display: inline-block; margin-bottom: 1rem; color: var(--green); font-weight: 700; }

.champion-admin-empty {
  padding: clamp(3rem, 8vw, 7rem) 2rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(145deg, #fff, #f3efe6);
}
.champion-admin-empty > span { color: #a46b28; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.champion-admin-empty h2 { max-width: 620px; margin: 1rem auto; font-family: Georgia, serif; font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 400; line-height: .95; }
.champion-admin-empty p { max-width: 620px; margin: 0 auto 1.6rem; color: var(--muted); line-height: 1.7; }

.champion-admin-list { display: grid; gap: 12px; }
.champion-admin-row {
  display: grid;
  min-height: 132px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: stretch;
  background: #fff;
}
.champion-admin-portrait { position: relative; overflow: hidden; background: var(--green); }
.champion-admin-portrait img { width: 100%; height: 100%; object-fit: cover; }
.champion-admin-portrait > span { position: absolute; inset: 0; display: grid; color: rgba(255,255,255,.72); font-family: Georgia, serif; font-size: 4rem; place-items: center; }
.champion-admin-portrait b { position: absolute; right: 8px; bottom: 6px; color: #fff; font-size: .65rem; letter-spacing: .08em; }
.champion-admin-summary { display: flex; min-width: 0; padding: 1.25rem 1.5rem; align-items: center; justify-content: space-between; gap: 1.5rem; }
.champion-admin-summary h2 { margin: .2rem 0; font-family: Georgia, serif; font-size: 1.75rem; font-weight: 400; line-height: 1; }
.champion-admin-summary p { margin: 0; color: var(--muted); }
.champion-admin-summary > div:first-child > span { color: #8a6a38; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.champion-admin-badges { display: flex; min-width: 92px; align-items: flex-end; flex-direction: column; gap: 6px; }
.champion-admin-badges small { color: var(--muted); }
.status-badge.featured { color: #765015; background: #f7e8bc; }
.champion-admin-actions { display: flex; min-width: 155px; padding: 1rem; border-left: 1px solid var(--border); align-items: stretch; justify-content: center; flex-direction: column; gap: .55rem; }
.champion-admin-actions > a:not(.button-link) { color: var(--green); font-size: .72rem; font-weight: 700; text-align: center; }

.champion-editor-form { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 20px; }
.champion-editor-main { display: grid; gap: 18px; }
.champion-editor-side { position: sticky; top: 24px; display: grid; gap: 14px; }
.champion-form-card { display: grid; padding: 1.4rem; border: 1px solid var(--border); border-radius: 14px; background: #fff; gap: 1rem; }
.champion-form-card > header { display: flex; padding-bottom: 1rem; border-bottom: 1px solid var(--border); align-items: center; gap: 1rem; }
.champion-form-card > header > span { display: grid; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--green); place-items: center; font-family: Georgia, serif; }
.champion-form-card h3 { margin: 0; font-size: 1rem; }
.champion-form-card header p { margin: .2rem 0 0; color: var(--muted); font-size: .8rem; }
.champion-identity-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.champion-identity-card > header,
.champion-identity-card > label:first-of-type { grid-column: 1 / -1; }
.champion-image-field { display: grid; grid-template-columns: 145px 1fr; align-items: center; gap: 1rem; }
.champion-image-field > img,
.champion-image-field > span { width: 145px; height: 165px; border-radius: 10px; object-fit: cover; }
.champion-image-field > span { display: grid; color: rgba(255,255,255,.8); background: var(--green); font-family: Georgia, serif; font-size: 3.8rem; place-items: center; }
.champion-image-field > div { display: grid; gap: .5rem; }
.privacy-note { padding: .85rem 1rem; border-left: 3px solid #d4a23a; color: var(--muted); background: #fbf5e9; line-height: 1.55; }
.champion-save { width: 100%; min-height: 52px; }

@media (max-width: 1050px) {
  .champion-editor-form { grid-template-columns: 1fr; }
  .champion-editor-side { position: static; grid-template-columns: 1fr 1fr; }
  .champion-editor-side > button,
  .champion-editor-side > a { align-self: stretch; }
}

@media (max-width: 760px) {
  .champion-admin-toolbar,
  .champion-editor-heading { align-items: stretch; flex-direction: column; }
  .champion-admin-row { grid-template-columns: 92px minmax(0, 1fr); }
  .champion-admin-summary { padding: 1rem; align-items: flex-start; flex-direction: column; gap: .7rem; }
  .champion-admin-badges { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .champion-admin-actions { grid-column: 1 / -1; display: grid; min-width: 0; border-top: 1px solid var(--border); border-left: 0; grid-template-columns: 1fr 1fr; }
  .champion-editor-side,
  .champion-identity-card { grid-template-columns: 1fr; }
  .champion-identity-card > header,
  .champion-identity-card > label:first-of-type { grid-column: auto; }
  .champion-image-field { grid-template-columns: 1fr; }
  .champion-image-field > img,
  .champion-image-field > span { width: 100%; height: 220px; }
}
.field-help {
  display: block;
  margin-top: 10px;
  color: #667067;
  font-size: 13px;
  line-height: 1.55;
}

.field-help strong {
  color: #203b29;
}

/* Editable daily rhythm */
.rhythm-group-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.rhythm-group-heading>div{max-width:680px}.rhythm-group-heading .rhythm-add{flex:0 0 auto;min-height:42px}.rhythm-editor{gap:0}.rhythm-editor-labels,.rhythm-editor-row{display:grid;grid-template-columns:98px minmax(135px,.72fr) minmax(170px,1.28fr) 142px;align-items:end;gap:10px}.rhythm-editor-labels{padding:0 2px 9px;color:#69736b;font-size:10px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.rhythm-editor-list{display:grid;gap:10px}.rhythm-editor-row{padding:13px;border:1px solid var(--border);border-radius:12px;background:#f9f8f3}.rhythm-editor-row label{gap:6px}.rhythm-editor-row label>span{display:none}.rhythm-editor-row input{min-width:0;background:#fff}.rhythm-row-actions{display:grid;grid-template-columns:36px 36px minmax(62px,1fr);align-items:center;gap:5px}.rhythm-row-actions button{min-height:42px}.rhythm-row-actions .icon-button{display:grid;padding:0;border:1px solid var(--border);border-radius:9px;color:var(--green);background:#fff;place-items:center;font-size:17px;cursor:pointer}.rhythm-row-actions .icon-button:hover:not(:disabled){border-color:#9ca99f;background:#edf3ed}.rhythm-row-actions button:disabled{opacity:.35;cursor:not-allowed}.rhythm-row-actions .danger-link{margin:0;text-align:center}.rhythm-editor-help{padding:14px 2px 0;margin:0;color:var(--muted);font-size:12px;line-height:1.55}.rhythm-editor-help strong{color:var(--green)}
@media(max-width:1050px){.rhythm-editor-labels{display:none}.rhythm-editor-row{grid-template-columns:115px 1fr;align-items:start}.rhythm-editor-row label>span{display:block}.rhythm-editor-row label:nth-child(3),.rhythm-row-actions{grid-column:1/-1}.rhythm-row-actions{grid-template-columns:42px 42px minmax(120px,1fr)}}
@media(max-width:620px){.rhythm-group-heading{align-items:stretch;flex-direction:column}.rhythm-group-heading .rhythm-add{width:100%}.rhythm-editor-row{grid-template-columns:1fr}.rhythm-editor-row label:nth-child(3),.rhythm-row-actions{grid-column:auto}}

/* Contact message inbox */
.message-nav-link{display:flex!important;align-items:center;justify-content:space-between}.message-nav-link span{display:grid;min-width:24px;height:24px;padding:0 7px;border-radius:20px;color:#173a27;background:#efb23d;place-items:center;font-size:11px;font-weight:800}.message-inbox-head{display:flex;padding:28px 32px;margin-bottom:20px;border:1px solid #dcd9d1;border-radius:16px;background:#fff;align-items:flex-end;justify-content:space-between;gap:30px}.message-inbox-head h2{margin:5px 0 8px;font:500 44px/1 Georgia,serif}.message-inbox-head p:last-child{margin:0;color:#6a6d67}.message-inbox-empty{padding:70px;border:1px dashed #c8c6be;border-radius:16px;text-align:center;background:#faf9f5}.message-inbox-empty span{font-size:11px;letter-spacing:.14em;text-transform:uppercase}.message-inbox-empty h2{margin:16px 0 10px;font:500 44px/1 Georgia,serif}.message-inbox-list{display:grid;padding-bottom:70px;gap:16px}.message-inbox-item{overflow:hidden;border:1px solid #dcd9d1;border-radius:16px;background:#fff}.message-inbox-item.is-new{border-left:5px solid #df9f2c}.message-inbox-item>header{display:flex;padding:15px 22px;border-bottom:1px solid #e3e0d8;background:#f8f7f2;align-items:center;justify-content:space-between;gap:20px}.message-inbox-item>header>div{display:flex;align-items:center;gap:12px}.message-state{padding:5px 9px;border-radius:20px;color:#fff;background:#7b8079;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.is-new .message-state{color:#4e3606;background:#f4ca72}.message-inbox-item time{color:#777b75;font-size:12px}.message-inbox-body{display:grid;padding:26px 28px;grid-template-columns:250px 1fr;gap:34px}.message-sender{display:flex;align-items:flex-start;gap:13px}.message-sender>span{display:grid;flex:0 0 auto;width:42px;height:42px;border-radius:50%;color:#fff;background:#173a27;place-items:center;font-family:Georgia,serif;font-size:18px}.message-sender h3{margin:2px 0 5px;font-size:17px}.message-sender a{color:#4f6655;font-size:12px;text-decoration:underline}.message-inbox-body>p{max-width:760px;margin:0;white-space:normal;font-family:Georgia,serif;font-size:16px;line-height:1.72}.message-actions{display:flex;padding:15px 22px;border-top:1px solid #e3e0d8;align-items:center;gap:10px}.message-actions .button-link,.message-actions button{min-height:40px}.message-actions .danger-link{margin-left:auto}@media(max-width:760px){.message-inbox-head{align-items:flex-start;flex-direction:column}.message-inbox-body{grid-template-columns:1fr}.message-inbox-item>header{align-items:flex-start;flex-direction:column}.message-actions{align-items:stretch;flex-direction:column}.message-actions .danger-link{margin-left:0}.message-inbox-empty{padding:45px 24px}}
