:root {
  --ink: #202c2c;
  --green: #183e37;
  --gold: #b28a4b;
  --paper: #f7f7f2;
  --line: #dedfd7;
  --muted: #6c7470;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    16px/1.6 Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
header {
  height: 94px;
  display: flex;
  align-items: center;
  padding: 0 5%;
  gap: 48px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: Georgia, serif;
  font-size: 32px;
  letter-spacing: -1px;
  display: flex;
  gap: 13px;
  align-items: center;
}
.gold {
  color: var(--gold);
}
nav {
  display: flex;
  gap: 30px;
  flex: 1;
}
nav a {
  font-size: 14px;
  font-weight: 600;
  padding: 34px 0;
  border-bottom: 3px solid transparent;
}
nav a.active {
  border-color: var(--gold);
  color: var(--green);
}
.account {
  font-size: 14px;
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 4px;
}
.topline {
  padding: 13px 5%;
  font-size: 12px;
  letter-spacing: 1.7px;
  color: var(--green);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
}
.topline span {
  letter-spacing: 0;
  color: var(--muted);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 14px;
}
main {
  max-width: 1300px;
  padding: 48px 40px 70px;
  margin: auto;
  min-height: 65vh;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-bottom: 30px;
}
.eyebrow {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0 0 10px;
}
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
  font-weight: normal;
}
h1 {
  font-size: 44px;
  margin: 0 0 12px;
}
h2 {
  font-size: 26px;
  margin: 0 0 16px;
}
h3 {
  font-size: 23px;
  margin: 8px 0 12px;
}
p {
  margin: 0 0 16px;
}
.muted {
  color: var(--muted);
}
.button,
button.primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
  border-radius: 4px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: bold;
}
button.secondary,
.secondary {
  background: #fff;
  color: var(--green);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 16px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 30px;
}
.toolbar {
  display: flex;
  gap: 12px;
  margin: 0 0 24px;
  flex-wrap: wrap;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #cdd2ca;
  border-radius: 4px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
}
.toolbar input {
  flex: 1;
  min-width: 200px;
}
.toolbar select {
  width: 190px;
}
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.tabs button {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 0 0 12px;
  font-size: 14px;
}
.tabs button.selected {
  color: var(--green);
  border-bottom: 2px solid var(--green);
  font-weight: bold;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 26px;
  margin-bottom: 16px;
}
.question {
  border-left: 3px solid var(--gold);
}
.tag {
  display: inline-block;
  background: #eff3ec;
  color: var(--green);
  padding: 3px 9px;
  border-radius: 3px;
  font-size: 12px;
}
.meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  margin-top: 18px;
}
.aside {
  background: var(--green);
  color: white;
  padding: 28px;
  border-radius: 5px;
  margin-bottom: 20px;
}
.aside .eyebrow {
  color: #d7b278;
}
.aside p {
  color: #d6e0d9;
  font-size: 14px;
}
.aside ol {
  padding-left: 20px;
  font-size: 14px;
}
.aside li {
  margin: 16px 0;
  padding-left: 4px;
}
.quote {
  padding: 24px;
  border: 1px solid var(--line);
  font:
    italic 21px/1.6 Georgia,
    serif;
}
.quote small {
  display: block;
  font:
    12px Arial,
    sans-serif;
  color: var(--muted);
  margin-top: 18px;
}
.empty {
  padding: 45px 24px;
  text-align: center;
  border: 1px dashed #cbd2c8;
  border-radius: 5px;
}
.empty h3 {
  margin-top: 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid .card {
  margin: 0;
}
.avatar {
  width: 64px;
  height: 64px;
  background: #edf0e9;
  color: var(--green);
  border: 1px solid #dce2d6;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font:
    26px Georgia,
    serif;
  margin-bottom: 18px;
}
.clergy .tag {
  margin-bottom: 12px;
}
.clergy p {
  font-size: 14px;
}
.clergy .button {
  margin-top: 8px;
}
.details {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.details span {
  display: block;
  color: var(--muted);
}
.notice {
  background: #f0eee3;
  color: #685735;
  border: 1px solid #e2ddc9;
  padding: 12px 18px;
  font-size: 14px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.form {
  max-width: 600px;
}
.form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 18px 0 6px;
}
.form textarea {
  min-height: 130px;
}
.form button {
  margin-top: 20px;
}
.error {
  color: #a4342e;
  font-size: 14px;
  margin-top: 12px;
}
.conversation {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}
.conversation-list button {
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
}
.messages {
  height: 350px;
  overflow: auto;
  padding: 10px;
}
.message {
  background: #eef2e9;
  padding: 14px 18px;
  border-radius: 5px;
  margin-bottom: 14px;
  max-width: 85%;
}
.message.mine {
  margin-left: auto;
  background: #e1ebe5;
}
.message small {
  display: block;
  color: var(--muted);
}
.message p {
  margin: 5px 0;
  white-space: pre-wrap;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 30px 5%;
  display: flex;
  gap: 30px;
  align-items: center;
  background: #fff;
}
footer .brand {
  font-size: 24px;
}
footer p {
  font-size: 14px;
  margin: 0;
}
footer > span {
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 6px;
  width: min(640px, 94vw);
  max-height: 90vh;
  padding: 32px;
}
dialog::backdrop {
  background: #122a2590;
}
.close {
  float: right;
  font-size: 28px;
  border: 0;
  background: none;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  border-radius: 5px;
  padding: 14px 24px;
  display: none;
  z-index: 5;
}
.content {
  white-space: pre-wrap;
}
.profile-panel {
  max-width: 850px;
}
.statline {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}
@media (max-width: 1050px) {
  header {
    gap: 22px;
    padding: 0 24px;
  }
  nav {
    gap: 18px;
  }
  .layout {
    grid-template-columns: 1fr 270px;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  header {
    height: auto;
    flex-wrap: wrap;
    padding: 18px 20px;
    gap: 12px;
  }
  .brand {
    font-size: 27px;
  }
  nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 22px;
  }
  nav a {
    padding: 8px 0;
    white-space: nowrap;
  }
  .account {
    margin-left: auto;
  }
  .topline {
    padding: 12px 20px;
    font-size: 10px;
  }
  .topline span {
    display: none;
  }
  main {
    padding: 30px 20px;
  }
  .intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  h1 {
    font-size: 35px;
  }
  .layout,
  .grid,
  .conversation {
    grid-template-columns: 1fr;
  }
  .layout aside {
    order: 2;
  }
  .toolbar select {
    width: 100%;
  }
  .card {
    padding: 22px;
  }
  .meta {
    flex-wrap: wrap;
  }
  .tabs {
    gap: 16px;
  }
  footer {
    flex-wrap: wrap;
    gap: 12px;
  }
  footer > span {
    margin-left: 0;
    width: 100%;
  }
  .conversation-list {
    display: flex;
    gap: 10px;
    overflow: auto;
  }
  .conversation-list button {
    min-width: 180px;
  }
  .message {
    max-width: 95%;
  }
}

.cross {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 36px;
}
.spaced {
  margin-top: 24px;
}
/* Contemporary community theme */
:root {
  --ink: #172b42;
  --green: #17695f;
  --gold: #ad742c;
  --paper: #f5f8fb;
  --line: #e1e7ee;
  --muted: #5c6d80;
}
body {
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}
header {
  height: 84px;
  padding: 0 max(28px, calc((100vw - 1240px) / 2));
  gap: 32px;
  box-shadow: 0 2px 18px #142d4010;
  position: relative;
  z-index: 2;
}
.brand {
  font-family: Arial, sans-serif;
  font-weight: 800;
  font-size: 29px;
  letter-spacing: -1.3px;
  gap: 10px;
}
.brand .cross {
  font-size: 28px;
  color: var(--green);
}
nav {
  gap: 22px;
}
nav a {
  padding: 27px 0;
  font-size: 14px;
}
nav a.active {
  border-color: var(--green);
}
nav a:hover,
.text-link:hover {
  color: var(--green);
}
.account {
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.topline[hidden] {
  display: none;
}
main {
  max-width: 1280px;
  padding: 44px 28px 76px;
}
h1,
h2,
h3 {
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.7px;
}
h1 {
  font-size: 40px;
  line-height: 1.18;
}
h2 {
  font-size: 25px;
}
h3 {
  font-size: 22px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--green);
  font-weight: 700;
}
.button,
button.primary,
.secondary,
button.secondary {
  border-radius: 10px;
  min-height: 46px;
  transition:
    background 0.15s,
    transform 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.button:hover,
button.primary:hover {
  background: #10564e;
}
.secondary:hover,
button.secondary:hover {
  background: #edf4f4;
}
.button:active,
button:active {
  transform: translateY(1px);
}
.card {
  border-radius: 14px;
  box-shadow: 0 4px 18px #172b4205;
}
.question {
  border-left: 3px solid #5da597;
}
.tag {
  border-radius: 6px;
  background: #eaf4f1;
}
.aside {
  border-radius: 14px;
  background: #172f44;
}
.aside h2 {
  font-size: 25px;
}
.quote {
  border-radius: 14px;
  background: #fff;
  font-size: 20px;
}
.quote small {
  font-size: 12px;
}
.avatar {
  background: #e8f2ef;
  border: 0;
  color: var(--green);
  font-family: Arial, sans-serif;
  font-weight: 700;
}
input,
textarea,
select {
  border-radius: 9px;
  min-height: 46px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #17695f50;
  border-color: var(--green);
}
.tabs {
  gap: 24px;
}
.tabs button.selected {
  color: var(--green);
}
.notice {
  border-radius: 10px;
}
.empty {
  border-radius: 14px;
  background: #fff;
}
.conversation-list button {
  border-radius: 10px;
}
.message {
  border-radius: 12px;
}
.message.mine {
  background: #e2f1eb;
}
dialog {
  border-radius: 18px;
  box-shadow: 0 24px 100px #10293c30;
}
.close {
  min-width: 40px;
  min-height: 40px;
}
footer {
  padding: 28px max(28px, calc((100vw - 1240px) / 2));
}
.intro .muted {
  max-width: 700px;
}
.home-hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 52px;
  align-items: center;
  padding: 34px 0 48px;
}
.hero-copy h1 {
  font-size: clamp(38px, 4.1vw, 58px);
  letter-spacing: -2px;
  line-height: 1.12;
  margin: 18px 0 22px;
}
.hero-copy h1 span {
  color: var(--green);
}
.hero-description {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-actions .primary,
.hero-actions .secondary {
  padding: 14px 23px;
  font-size: 15px;
  min-height: 52px;
}
.hero-note {
  margin-top: 23px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.note-mark {
  font-size: 12px;
  color: var(--green);
  border-radius: 50%;
  background: #dcefe6;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
}
.conversation-choice {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 15px 50px #21395109;
}
.conversation-choice h2 {
  font-size: 27px;
  margin: 10px 0 24px;
}
.choice-row {
  display: flex;
  width: 100%;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  background: #fff;
  text-align: left;
  border-radius: 14px;
  padding: 20px 16px;
  color: var(--ink);
  margin: 12px 0;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.choice-row:hover {
  border-color: #7caea5;
  background: #f6faf9;
}
.choice-row strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}
.choice-row > span:nth-child(2) {
  flex: 1;
}
.choice-row > span:nth-child(2) > span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.choice-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e9f5ef;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 23px;
  font-weight: bold;
}
.private-icon {
  background: #edf1fb;
  color: #4e689a;
}
.choice-label {
  font-size: 11px;
  background: #eff3f7;
  color: #637084;
  padding: 3px 7px;
  border-radius: 5px;
}
.choice-footnote {
  font-size: 13px;
  color: var(--muted);
  margin: 20px 0 0;
  line-height: 1.7;
}
.home-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.path-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 27px;
  transition:
    box-shadow 0.18s,
    border-color 0.18s;
}
.path-card:hover {
  box-shadow: 0 8px 24px #172b420a;
  border-color: #9bb9b4;
}
.path-number {
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 1.1px;
}
.path-card h2 {
  font-size: 23px;
  margin: 20px 0 12px;
}
.path-card p {
  font-size: 15px;
  color: var(--muted);
}
.path-link {
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}
.home-latest {
  margin-top: 48px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.section-heading h2 {
  margin: 5px 0 0;
}
.text-link {
  font-size: 14px;
  color: var(--green);
  font-weight: 700;
  white-space: nowrap;
}
.home-empty {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  background: #eaf1f5;
  border: 1px solid #dce6ed;
  border-radius: 16px;
  padding: 28px;
}
.home-empty h3 {
  font-size: 20px;
  margin-top: 0;
}
.home-empty p {
  font-size: 14px;
  margin: 0;
  color: var(--muted);
  max-width: 700px;
}
.home-empty button {
  flex-shrink: 0;
}
.latest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1120px) {
  header {
    flex-wrap: wrap;
    height: auto;
    padding: 20px 28px;
    gap: 18px;
  }
  nav {
    order: 3;
    flex-basis: 100%;
    gap: 25px;
  }
  nav a {
    padding: 7px 0;
  }
  .account {
    margin-left: auto;
  }
  .home-hero {
    gap: 28px;
  }
  .choice-label {
    display: none;
  }
}
@media (max-width: 760px) {
  header {
    padding: 17px 20px;
    gap: 14px;
  }
  nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 22px;
  }
  nav a {
    white-space: nowrap;
  }
  .brand {
    font-size: 26px;
  }
  .account {
    font-size: 12px;
    padding: 10px 12px;
  }
  main {
    padding: 26px 20px 48px;
  }
  .home-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 12px 0 28px;
  }
  .hero-copy h1 {
    font-size: 42px;
    letter-spacing: -1.4px;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero-actions {
    margin-top: 22px;
  }
  .hero-actions .primary,
  .hero-actions .secondary {
    font-size: 14px;
    padding: 12px 18px;
  }
  .conversation-choice {
    padding: 23px;
    border-radius: 17px;
  }
  .conversation-choice h2 {
    font-size: 24px;
  }
  .choice-row {
    padding: 16px 12px;
  }
  .home-paths,
  .latest-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .path-card {
    padding: 24px;
  }
  .path-card h2 {
    margin-top: 12px;
  }
  .path-link {
    padding-top: 0;
  }
  .home-latest {
    margin-top: 30px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .home-empty {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
  }
  .home-empty button {
    width: 100%;
  }
  h1 {
    font-size: 34px;
  }
  .intro {
    gap: 14px;
  }
  .layout,
  .grid,
  .conversation {
    grid-template-columns: 1fr;
  }
  footer {
    padding: 24px 20px;
  }
  .hero-note {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.logo-icon {
  width: 25px;
  height: 30px;
  color: var(--green);
  flex-shrink: 0;
}
