:root {
  --green-900: #14261b;
  --green-800: #1d3a28;
  --green-700: #285237;
  --green-100: #e7efe6;
  --cream: #f8f5ee;
  --paper: #ffffff;
  --ink: #1c211d;
  --muted: #5b655d;
  --line: #dcd8cc;
  --red: #a8322a;
  --red-dark: #8a2620;
  --gold: #c9a24a;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 38, 27, .06), 0 6px 20px rgba(20, 38, 27, .08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: var(--cream); }
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; color: var(--green-900); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .6em 1.1em;
  border-radius: 999px; border: 1.5px solid transparent; font: 600 .95rem/1.2 var(--sans); text-decoration: none;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-lg { padding: .85em 1.5em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-light { background: rgba(255,255,255,.92); color: var(--green-900); }
.btn-light:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--green-800); border-color: var(--green-700); }
.btn-ghost:hover { background: var(--green-100); }
.btn-sm { padding: .4em .8em; font-size: .85rem; }
.btn[disabled] { opacity: .6; cursor: default; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(248,245,238,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.15rem var(--serif); color: var(--green-900); text-decoration: none; }
.brand-mark { width: 26px; height: 26px; border-radius: 50%; background:
  radial-gradient(circle at 50% 50%, var(--cream) 0 22%, transparent 23%),
  conic-gradient(var(--green-700) 0 50%, var(--green-800) 0 100%); border: 2px solid var(--green-900); }
.nav-links { display: flex; gap: 20px; margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav-links a:hover { color: var(--red); }
.nav-cta { display: flex; gap: 8px; }
@media (max-width: 880px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 420px) { .brand { font-size: 1rem; } .nav-cta .btn-ghost { display: none; } }

/* hero */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10,22,14,.72) 0%, rgba(10,22,14,.45) 45%, rgba(10,22,14,0) 80%),
  linear-gradient(180deg, rgba(10,22,14,.35) 0%, rgba(10,22,14,.05) 35%, rgba(10,22,14,.75) 100%); }
.hero h1, .hero .lede, .hero .eyebrow { text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.hero-body { position: relative; padding-block: 120px 64px; max-width: 900px; margin-left: max(0px, calc((100vw - 1160px) / 2)); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 4rem); text-wrap: balance; }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 680px; color: #eef2ec; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--gold); margin: 0 0 12px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* facts */
.facts { background: var(--green-900); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 26px 18px; border-left: 1px solid rgba(255,255,255,.12); }
.fact:first-child { border-left: 0; }
.fact b { display: block; font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--serif); color: var(--gold); margin-bottom: 6px; }
.fact span { font-size: .92rem; color: #cfd9d1; line-height: 1.4; }
@media (max-width: 760px) { .facts-grid { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { border-left: 0; }
  .fact { border-top: 1px solid rgba(255,255,255,.12); } }

/* sections */
.section { padding-block: 84px; }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-dark { background: var(--green-800); color: #e9efe9; }
.section-dark h2 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.wide { max-width: none; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--red); margin: 0 0 10px; }
.section-dark .kicker { color: var(--gold); }
.section-lede { font-size: 1.1rem; color: var(--muted); margin: 0; }
.source { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* compare table */
.table-scroll { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--green-100); font: 700 .95rem var(--sans); color: var(--green-900); }
.compare thead th:last-child { background: #f6e3e0; color: var(--red-dark); }
.compare tbody th { font-weight: 600; color: var(--muted); width: 22%; font-size: .95rem; }
.compare td.bad { font-weight: 600; }
.compare td.bad small { font-weight: 400; color: #5b645d; }
.compare tr:last-child > * { border-bottom: 0; }

/* impacts */
.impact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.impact { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.impact-num { font: 700 .85rem var(--sans); color: var(--red); letter-spacing: .08em; margin-bottom: 10px; }
.impact p { margin: 0 0 12px; color: #39423b; font-size: .97rem; }
.more { font-weight: 600; font-size: .92rem; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* see it */
.zoom { all: unset; cursor: zoom-in; display: block; position: relative; border-radius: var(--radius); overflow: hidden; }
.zoom:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.zoom:hover img { transform: scale(1.02); }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.vs figure, .feature { margin: 0; }
.vs .zoom { aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
figcaption { font-size: .93rem; color: var(--muted); margin-top: 10px; }
.tag { display: inline-block; font: 700 .75rem var(--sans); text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 4px; margin-right: 6px; }
.tag-them { background: #eceae4; color: #555; }
.tag-us { background: var(--red); color: #fff; }
.feature { margin-bottom: 28px; }
.feature .zoom { box-shadow: var(--shadow); }
.feature figcaption { max-width: 860px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery .zoom { aspect-ratio: 4 / 3; }
.gallery .zoom span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; color: #fff; font-size: .85rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.7)); }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr 1fr; } }

dialog#lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
dialog#lightbox::backdrop { background: rgba(8,14,10,.88); }
dialog#lightbox img { max-width: 96vw; max-height: 84vh; border-radius: 6px; margin: auto; }
.lb-cap { color: #e9efe9; text-align: center; max-width: 900px; margin: 12px auto 0; font-size: .95rem; }
.lb-close { position: fixed; top: 14px; right: 18px; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 42px; height: 42px;
  border-radius: 50%; font-size: 26px; cursor: pointer; }

/* asks */
.asks { counter-reset: ask; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.asks li { counter-increment: ask; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 22px 22px 22px 64px; position: relative; }
.asks li::before { content: counter(ask); position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: var(--green-900); font: 700 1rem/30px var(--sans); text-align: center; }
.asks b { color: #fff; display: block; margin-bottom: 4px; }
@media (max-width: 760px) { .asks { grid-template-columns: 1fr; } }

/* act */
.two-col { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }
.timeline { list-style: none; padding: 0; margin: 24px 0 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 24px; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 2px solid var(--line); }
.timeline li.done::before { background: var(--green-700); border-color: var(--green-700); }
.timeline li.now::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 5px rgba(168,50,42,.18); }
.timeline li.now { color: var(--ink); font-weight: 600; }
.timeline b { display: block; color: var(--green-900); }
.act-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.act-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.act-card p { color: #39423b; font-size: .95rem; }
.act-card.highlight { grid-column: 1 / -1; background: #fbf1e6; border-color: #ecd3b4; }
@media (max-width: 1100px) and (min-width: 901px), (max-width: 640px) { .act-cards { grid-template-columns: 1fr; } }

/* documents */
.doc-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.doc-group h3 { font-size: 1.05rem; border-bottom: 2px solid var(--green-700); padding-bottom: 8px; }
.doc-group ul { list-style: none; padding: 0; margin: 0; }
.doc-group li { border-bottom: 1px solid var(--line); }
.doc-group a { display: block; padding: 10px 0; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; }
.doc-group a:hover { color: var(--red); }
.doc-group small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }

/* join */
.join { background: var(--green-100); }
.join-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .join-inner { grid-template-columns: 1fr; gap: 28px; } }
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green-700); font-weight: 700; }

.card { background: var(--paper); border-radius: 14px; box-shadow: var(--shadow); padding: 28px; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 14px; color: var(--green-900); }
.form label small { font-weight: 400; color: var(--muted); }
.form input:not([type=checkbox]), .form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font: 400 1rem var(--sans);
  border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(40,82,55,.15); }
.form .row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .form .row.two { grid-template-columns: 1fr; gap: 0; } }
.form fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px 4px; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; }
.form legend { font-weight: 600; font-size: .92rem; color: var(--green-900); padding: 0 4px; }
@media (max-width: 520px) { .form fieldset { grid-template-columns: 1fr; } }
.form label.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; margin-bottom: 10px; color: var(--ink); }
.form label.check input { margin-top: 5px; accent-color: var(--green-700); }
.hp { position: absolute !important; left: -9999px; }
.form-msg { margin: 12px 0 0; font-weight: 600; min-height: 1.2em; }
.form-msg.ok { color: var(--green-700); }
.form-msg.err { color: var(--red); }

/* footer */
.footer { background: var(--green-900); color: #b9c6bc; padding-block: 36px; font-size: .9rem; }
.footer b { color: #fff; }
.footer-inner { display: grid; gap: 8px; }
.footer-small { font-size: .82rem; color: #8fa094; }

/* ---------- members area ---------- */
.members-body { min-height: 100vh; }
.auth-wrap { max-width: 440px; margin: 72px auto; padding-inline: 20px; }
.auth-wrap h1 { font-size: 1.9rem; }
.muted { color: var(--muted); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 28px 0 24px; overflow-x: auto; }
.tabs button { all: unset; cursor: pointer; padding: 12px 16px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button[aria-selected=true] { color: var(--green-900); border-bottom-color: var(--red); }
.tabs button:focus-visible { outline: 2px solid var(--gold); }
.member-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; padding-top: 36px; }
.member-head h1 { margin: 0; font-size: 2rem; }

.board { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .board { grid-template-columns: 1fr; } }
.thread-list { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.thread-list li button { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.thread-list li:last-child button { border-bottom: 0; }
.thread-list li button:hover, .thread-list li button[aria-current=true] { background: var(--green-100); }
.thread-list .t-title { font-weight: 600; display: block; }
.thread-list .t-meta { font-size: .8rem; color: var(--muted); }
.pin { color: var(--red); font-size: .75rem; font-weight: 700; text-transform: uppercase; margin-right: 6px; }
.thread-view { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-height: 240px; }
.post { border-bottom: 1px solid var(--line); padding: 14px 0; }
.post:last-of-type { border-bottom: 0; }
.post-meta { font-size: .82rem; color: var(--muted); margin-bottom: 4px; display: flex; gap: 10px; align-items: center; }
.post-meta b { color: var(--green-900); }
.post-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.linkbtn { all: unset; cursor: pointer; color: var(--red); font-size: .8rem; }
.linkbtn:hover { text-decoration: underline; }
.composer textarea, .composer input { margin-top: 0 !important; }
.empty { color: var(--muted); text-align: center; padding: 40px 10px; }

.lib-tools { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.lib-tools input { flex: 1; min-width: 220px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 8px; font: 1rem var(--sans); }
.lib-root { margin-bottom: 28px; }
.lib-root > h2 { font-size: 1.35rem; }
details.folder { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; }
details.folder > summary { cursor: pointer; padding: 12px 16px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
details.folder > summary::-webkit-details-marker { display: none; }
details.folder > summary::before { content: "▸"; color: var(--muted); margin-right: 8px; transition: transform .15s; display: inline-block; }
details.folder[open] > summary::before { transform: rotate(90deg); }
details.folder > summary .count { color: var(--muted); font-weight: 400; font-size: .85rem; }
.files { list-style: none; margin: 0; padding: 0 16px 10px; }
.files li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid #efece4; font-size: .93rem; }
.files a { text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.files a:hover { color: var(--red); }
.files .sub { color: var(--muted); font-size: .8rem; }
.files .size { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.ext { display: inline-block; min-width: 38px; text-align: center; font: 700 .68rem var(--sans); padding: 2px 4px; border-radius: 3px; background: #eceae4; color: #555; margin-right: 8px; text-transform: uppercase; }
.ext.pdf { background: #f6e3e0; color: var(--red-dark); }
.ext.docx, .ext.md, .ext.txt { background: #e2ebf5; color: #2b4b6f; }
.ext.jpg, .ext.jpeg, .ext.png { background: var(--green-100); color: var(--green-700); }

.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .admin-grid { grid-template-columns: 1fr; } }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--paper); }
.data-table th, .data-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { background: var(--green-100); font-weight: 600; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--green-100); color: var(--green-700); }
.badge.warn { background: #fbf1e6; color: #8a5a17; }
.invite-link { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .8rem; word-break: break-all; background: var(--cream); padding: 8px; border-radius: 6px; display: block; margin-top: 6px; }

/* comparison table stacks into cards on phones */
@media (max-width: 640px) {
  .compare { min-width: 0; }
  .compare thead { display: none; }
  .compare tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .compare tbody th, .compare td { display: block; width: auto; padding: 2px 0; border: 0; }
  .compare tbody th { color: var(--green-900); font-size: 1rem; margin-bottom: 4px; }
  .compare td::before { display: inline-block; min-width: 76px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
  .compare td:nth-of-type(1)::before { content: "2005"; }
  .compare td:nth-of-type(2)::before { content: "Proposed"; color: var(--red); }
}
details.folder > summary > span:first-child { flex: 1; }

/* roles, profile, uploads */
.role-badge { font-size: .8rem; padding: 4px 10px; text-transform: capitalize; }
.role-admin { background: #f6e3e0; color: var(--red-dark); }
.role-moderator { background: #fbf1e6; color: #8a5a17; }
.role-member { background: var(--green-100); color: var(--green-700); }
.upload-card { margin-bottom: 20px; }
.form input:disabled { background: var(--cream); color: var(--muted); }
.data-table select { font: inherit; padding: 4px 6px; border: 1.5px solid var(--line); border-radius: 6px; background: #fff; }
.edited { font-style: italic; }
.post-edit textarea, .post-edit input { width: 100%; padding: 9px 10px; font: 1rem var(--sans); border: 1.5px solid var(--line); border-radius: 8px; margin-bottom: 8px; }
.post-actions { display: inline-flex; gap: 10px; }

/* full-text search results */
.search-tip { font-size: .85rem; margin: -8px 0 18px; }
#search-results h2, .names-head { font-size: 1.35rem; }
#search-results h2 .count { font: 400 .9rem var(--sans); color: var(--muted); }
.hit { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 12px; }
.hit-crumb { font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.hit-title { display: inline-block; font: 600 1.08rem/1.3 var(--sans); color: #1a4d8f; text-decoration: none; margin: 2px 0; overflow-wrap: anywhere; }
.hit-title:hover { text-decoration: underline; }
.hit-meta { font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.snippet { font-size: .93rem; color: #39423b; padding: 6px 0; border-top: 1px solid #efece4; overflow-wrap: anywhere; }
.snippet mark, .extract mark { background: #fbe7a6; color: inherit; padding: 0 1px; border-radius: 2px; }
.page-link { display: inline-block; font: 700 .75rem var(--sans); color: var(--green-700); background: var(--green-100); padding: 2px 7px; border-radius: 4px; margin-right: 8px; text-decoration: none; }
.page-link:hover { background: var(--green-700); color: #fff; }
.extract { margin: 4px 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); }
.extract-head { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--muted); }
.extract-head a { color: var(--green-700); }
.extract pre { margin: 0; padding: 12px; max-height: 360px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: .85rem/1.5 ui-monospace, Menlo, Consolas, monospace; }
.extract-note { margin: 0; padding: 6px 12px 10px; font-size: .75rem; color: var(--muted); }

/* email */
.email-grid { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 860px) { .email-grid { grid-template-columns: 1fr; } }
.form fieldset.audience { grid-template-columns: 1fr; }
.form select { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font: 400 1rem var(--sans); border: 1.5px solid var(--line); border-radius: 8px; background: #fff; }
.email-item { border-bottom: 1px solid var(--line); padding: 10px 0; font-size: .9rem; }
.email-item:last-child { border-bottom: 0; }
.email-item b { display: block; overflow-wrap: anywhere; }
.status { font-size: .72rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; text-transform: uppercase; }
.status-sent { background: var(--green-100); color: var(--green-700); }
.status-sending { background: #e2ebf5; color: #2b4b6f; }
.status-failed, .status-partly { background: #f6e3e0; color: var(--red-dark); }
.danger { color: var(--red); }
.row-actions { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.row-actions label { font-size: .78rem; font-weight: 400; display: flex; gap: 4px; align-items: center; white-space: nowrap; }

/* impact details */
.impact details { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 10px; }
.impact summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--green-700); list-style: none; }
.impact summary::-webkit-details-marker { display: none; }
.impact summary::before { content: "+"; display: inline-block; width: 1.1em; font-weight: 700; }
.impact details[open] summary::before { content: "\2212"; }
.impact details ul { margin: 10px 0 0; padding-left: 18px; font-size: .9rem; color: #39423b; }
.impact details li { margin-bottom: 8px; }
.impact details a { font-weight: 600; white-space: nowrap; }

/* Fact tile link + cost calculation */
a.fact { display: block; text-decoration: none; }
a.fact:hover span { color: #fff; }
.cost-calc { margin: 12px 0 16px; }
.cost-h { font-weight: 700; margin: 0 0 8px !important; color: var(--ink) !important; }
.cost-calc table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.cost-calc th { text-align: left; padding: 10px 0 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--red); }
.cost-calc td { padding: 5px 0; border-bottom: 1px solid rgba(0,0,0,.08); vertical-align: top; color: #39423b; }
.cost-calc td:last-child { text-align: right; white-space: nowrap; padding-left: 10px; font-variant-numeric: tabular-nums; }
.cost-calc tr.sub td { font-weight: 700; color: var(--ink); }
.cost-calc tr.total td { font-weight: 700; font-size: .95rem; color: var(--red); border-top: 2px solid var(--ink); border-bottom: 0; padding-top: 8px; }
.cost-note { font-size: .8rem !important; color: #5b645d !important; margin-top: 10px !important; }

/* Admin document management */
.admin-actions { display: inline-flex; gap: 10px; margin-left: 10px; }
.admin-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; }
.admin-form input, .admin-form select { font: inherit; font-size: .88rem; padding: 5px 8px; border: 1px solid #d6d2c6; border-radius: 6px; min-width: 0; flex: 1 1 180px; }
.admin-form .form-msg { flex-basis: 100%; margin: 0; }

/* In Greenfield's own words */
.section-voices { background: #f1ead9; border-block: 1px solid var(--line); }
.voice-stat { display: flex; gap: 18px; align-items: center; background: var(--green-900); color: #dfe7e1; border-radius: 14px; padding: 18px 24px; margin-bottom: 28px; }
.voice-stat b { font: 700 clamp(1.8rem, 3.4vw, 2.4rem)/1 var(--serif); color: var(--gold); white-space: nowrap; }
.voice-stat strong { color: #fff; }
.voice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.voice-col h3 { font-size: 1.15rem; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.voice-col.never h3 { border-color: var(--red); }
.voice-col ul { margin: 0; padding-left: 1.2em; }
.voice-col li { margin: 0 0 10px; padding-left: 4px; font: italic 1.05rem/1.45 var(--serif); color: var(--ink); }
.voice-col li::marker { color: var(--gold); font-style: normal; }
.voice-col.never li::marker { color: var(--red); }
.voice-col.love li::marker { color: var(--green-700); }
.voice-col li::before { content: "\201C"; } .voice-col li::after { content: "\201D"; }
.section-voices .source { margin-top: 18px; }
@media (max-width: 560px) { .voice-stat { flex-direction: column; align-items: flex-start; gap: 6px; } }
