@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  --ink: #1d1916;
  --dark: #171310;
  --muted: #716961;
  --paper: #f3efe9;
  --cream: #e8dfd3;
  --orange: #e66c49;
  --line: rgba(36, 29, 24, .15);
  --mono: 'DM Mono', monospace;
  --sans: 'DM Sans', Arial, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.site-shell { width: min(100% - 72px, 1440px); margin: 0 auto; }
.topbar { height: 94px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; background: var(--orange); border-radius: 50%; color: var(--dark); font: 600 23px var(--serif); }
.brand-name { font: 500 9px/1.35 var(--mono); letter-spacing: .07em; }
.brand-name strong { font-weight: 500; font-size: 11px; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.main-nav a, .nav-link { color: #39332e; text-decoration: none; font-size: 12px; font-weight: 600; transition: color .2s ease; }
.main-nav a:hover, .nav-link:hover { color: #bd5134; }
.main-nav .nav-join { padding: 13px 19px; background: var(--dark); color: var(--paper); border-radius: 2px; }
.nav-form { margin: 0; }
.nav-link { border: 0; padding: 0; background: none; cursor: pointer; }
.flash { margin: 18px 0 0; border: 1px solid #718a65; background: #e4ecdf; padding: 13px 17px; color: #30402b; font-size: 13px; }
.flash.error { border-color: #bd674e; background: #f5e4de; color: #652e20; }

.hero { position: relative; min-height: 640px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; background: var(--dark); color: var(--paper); overflow: hidden; }
.hero-copy { position: relative; z-index: 1; padding: 98px 4vw 68px 7.5%; }
.eyebrow, .form-step, .value-number, .section-kicker, .section-heading, .report-ref, .status-pill { font: 10px var(--mono); letter-spacing: .12em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(230,108,73,.14); }
.hero h1, .form-aside h1, .status-page h1, .page-heading h1 { margin: 40px 0 22px; font: 500 clamp(54px, 6vw, 86px)/.98 var(--serif); letter-spacing: -.055em; }
.hero h1 em, .form-aside h1 em, .status-page h1 em, .page-heading h1 em, .intro-grid h2 em, .community-strip h2 em { color: var(--orange); font-weight: 500; }
.hero-intro { max-width: 430px; color: #c1b6ab; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; gap: 24px; align-items: center; margin-top: 33px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 27px; min-height: 51px; border: 0; border-radius: 2px; padding: 0 20px; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 18px; font-weight: 400; }
.button-light { color: var(--dark); background: var(--paper); }
.button-dark { color: var(--paper); background: var(--dark); }
.button-dark:hover { background: #39302a; }
.button-outline { border: 1px solid #b6aaa0; background: transparent; color: var(--ink); }
.button-small { min-height: 40px; padding: 0 14px; font-size: 11px; }
.text-link { color: var(--paper); font-size: 12px; text-decoration: none; border-bottom: 1px solid #786c62; padding-bottom: 5px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 65px; color: #bfb4a9; font-size: 10px; line-height: 1.55; }
.proof-avatar-stack { display: flex; gap: 5px; }
.proof-avatar-stack i { display: grid; place-items: center; width: 31px; height: 31px; border: 2px solid var(--dark); border-radius: 50%; background: #b9795e; color: var(--dark); font: 9px var(--mono); font-style: normal; }
.proof-avatar-stack i:first-child { background: #d7ae91; }
.proof-avatar-stack i:last-child { background: #d9d1c7; }
.hero-art { position: relative; min-height: 640px; background: #332620 url('https://images.unsplash.com/photo-1512316609839-ce289d3eba0a?auto=format&fit=crop&w=1400&q=85') center 34% / cover no-repeat; }
.hero-art::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,15,12,.12), transparent 40%, rgba(20,15,12,.48)); mix-blend-mode: multiply; }
.art-label { position: absolute; top: 28px; left: 30px; right: 30px; display: flex; justify-content: space-between; color: white; font: 9px/1.5 var(--mono); letter-spacing: .1em; }
.art-label b { font-weight: 400; }
.art-caption { position: absolute; bottom: 39px; left: 30px; right: 30px; display: flex; align-items: center; gap: 18px; color: white; font: 10px/1.7 var(--mono); letter-spacing: .12em; }
.caption-line { width: 57px; height: 1px; background: white; }

.intro-section { padding: 105px 7.5% 88px; }
.section-kicker { display: flex; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--line); color: var(--muted); }
.section-kicker span { color: #a3978b; }
.intro-grid { display: grid; grid-template-columns: 1.05fr .75fr; gap: 8%; padding-top: 30px; }
.intro-grid h2, .community-strip h2 { margin: 0; font: 500 clamp(38px, 4vw, 57px)/1.08 var(--serif); letter-spacing: -.04em; }
.intro-grid h2 em, .community-strip h2 em { color: #bd583b; }
.intro-grid p { max-width: 470px; margin: 0 0 15px; color: #6f665e; line-height: 1.8; font-size: 13px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.value-card { min-height: 375px; padding: 26px 28px 28px; display: flex; flex-direction: column; align-items: flex-start; }
.value-dark { background: var(--dark); color: var(--paper); }
.value-cream { background: var(--cream); }
.value-orange { background: #dc704e; }
.value-number { opacity: .73; }
.value-icon { position: relative; width: 48px; height: 48px; margin: 38px 0 27px; border: 1px solid currentColor; border-radius: 50%; opacity: .9; }
.icon-profile::before { content: ''; position: absolute; left: 18px; top: 9px; width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 50%; }
.icon-profile::after { content: ''; position: absolute; left: 12px; bottom: 8px; width: 22px; height: 12px; border: 1px solid currentColor; border-radius: 12px 12px 7px 7px; }
.icon-eye::before { content: ''; position: absolute; top: 16px; left: 9px; width: 27px; height: 16px; border: 1px solid currentColor; border-radius: 80% 10%; transform: rotate(45deg); }
.icon-eye::after { content: ''; position: absolute; top: 19px; left: 19px; width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 50%; }
.icon-chat::before { content: ''; position: absolute; top: 11px; left: 10px; width: 27px; height: 20px; border: 1px solid currentColor; border-radius: 50%; }
.icon-chat::after { content: ''; position: absolute; left: 13px; bottom: 9px; width: 10px; height: 10px; border-left: 1px solid currentColor; transform: skew(-25deg) rotate(-35deg); }
.value-card h3 { margin: 0 0 14px; font: 500 27px/1.12 var(--serif); letter-spacing: -.025em; }
.value-card p { margin: 0 0 24px; max-width: 320px; opacity: .72; font-size: 12px; line-height: 1.75; }
.value-card a { margin-top: auto; font-size: 11px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 6px; }
.value-card a span { padding-left: 12px; font-size: 15px; }
.community-strip { display: flex; justify-content: space-between; align-items: center; padding: 105px 7.5%; }
.community-strip .eyebrow { color: var(--muted); margin-bottom: 24px; font-size: 9px; }
.button-dark { color: var(--paper); }
.community-strip .button-dark { min-width: 190px; }
.notice-count { display: flex; align-items: center; gap: 23px; border-top: 1px solid var(--line); padding: 24px 7.5%; }
.count-mark { display: grid; place-items: center; width: 53px; height: 53px; border-radius: 50%; background: var(--orange); color: var(--dark); font: 9px var(--mono); }
.notice-count div { flex: 1; }
.notice-count .eyebrow { color: var(--muted); font-size: 9px; }
.notice-count p { margin: 7px 0 0; font: 13px var(--serif); }
.notice-count > a { color: var(--ink); font-size: 11px; text-decoration: none; }
.notice-count > a span { margin-left: 12px; font-size: 16px; }
.footer { padding: 35px 7.5% 28px; border-top: 1px solid var(--line); }
.footer > div { display: flex; align-items: center; gap: 15px; }
.footer-brand { font: 500 18px var(--serif); text-decoration: none; }
.footer > div span, .footer p, .footer small { color: #81776d; font-size: 10px; }
.footer p { max-width: 720px; margin: 18px 0; line-height: 1.8; }
.footer p a { color: var(--ink); }
.footer small { font-family: var(--mono); font-size: 9px; }

.form-page { display: grid; grid-template-columns: .82fr 1fr; max-width: 1050px; min-height: 660px; margin: 66px auto 90px; background: #e8dfd3; }
.form-page-wide { max-width: 1110px; }
.form-aside { position: relative; overflow: hidden; padding: 58px 8% 44px; background: var(--dark); color: var(--paper); }
.form-aside::after { content: ''; position: absolute; width: 300px; height: 300px; right: -120px; bottom: -132px; border: 1px solid rgba(232,223,211,.2); border-radius: 50%; box-shadow: 0 0 0 37px rgba(232,223,211,.035), 0 0 0 75px rgba(232,223,211,.025); }
.form-aside h1 { margin: 58px 0 20px; font-size: clamp(43px, 5vw, 65px); }
.form-aside p { max-width: 325px; color: #b7aca1; line-height: 1.8; font-size: 13px; }
.aside-note { position: absolute; bottom: 45px; left: 8%; color: #93877c; font: 9px/1.7 var(--mono); letter-spacing: .12em; }
.aside-note b { color: var(--paper); font-weight: 400; }
.form-panel { padding: 53px clamp(27px, 5vw, 64px); background: #f7f4ef; }
.form-step { color: #9c5e46; font-size: 9px; }
.form-panel h2 { margin: 19px 0 28px; font: 500 37px/1.05 var(--serif); letter-spacing: -.035em; }
.form-stack { display: flex; flex-direction: column; gap: 18px; }
.form-stack label, .review-form > label { display: block; color: #5d554e; font-size: 11px; font-weight: 700; }
.form-stack input:not([type=checkbox]):not([type=file]), .form-stack textarea, .form-stack select, .review-form textarea { display: block; width: 100%; margin-top: 8px; border: 1px solid #d5ccc2; border-radius: 0; padding: 12px 13px; background: #fffdfa; color: var(--ink); outline: none; font-size: 13px; font-weight: 400; }
.form-stack input:focus, .form-stack textarea:focus, .form-stack select:focus, .review-form textarea:focus { border-color: #a9583b; box-shadow: 0 0 0 2px rgba(169,88,59,.12); }
.form-stack textarea, .review-form textarea { resize: vertical; line-height: 1.6; }
.form-stack small { display: block; margin-top: 6px; color: #92877c; font-size: 10px; font-weight: 400; line-height: 1.5; }
.private-tag, .optional { margin-left: 6px; color: #a35b41; font: 8px var(--mono); letter-spacing: .08em; }
.form-stack input[type=file] { display: block; width: 100%; margin-top: 9px; padding: 11px; border: 1px dashed #c8b9ac; background: #f3eee8; font-size: 11px; }
.upload-instructions { display: flex; gap: 13px; padding: 15px; background: #eee7de; }
.step-index { color: #a55439; font: 11px var(--mono); }
.upload-instructions b { font-size: 11px; }
.upload-instructions p { margin: 7px 0 0; color: #74695f; font-size: 10px; line-height: 1.7; }
.check-label { display: flex !important; align-items: flex-start; gap: 10px; color: #6b6259 !important; font-size: 10px !important; font-weight: 400 !important; line-height: 1.6; }
.check-label input { accent-color: #9c5237; margin: 2px 0 0; }
.check-label a { color: #9c5237; }
.form-foot { margin: 22px 0 0; color: #84796f; font-size: 11px; }
.form-foot a { color: #9c5237; }
.guidelines { max-width: 1110px; margin: -50px auto 75px; padding: 22px 30px; border-top: 1px solid var(--line); color: #756c63; font-size: 11px; line-height: 1.8; }
.guidelines .eyebrow { color: #9c5e46; }

.status-page { min-height: 570px; padding: 100px 9%; background: var(--dark); color: var(--paper); }
.status-page h1 { font-size: clamp(53px, 7vw, 82px); }
.status-page p { max-width: 550px; color: #b7aca1; line-height: 1.9; }
.status-pill { display: inline-block; margin-top: 18px; padding: 9px 11px; border: 1px solid #bc775b; color: #d89173; font-size: 8px; }
.dashboard, .reports-page, .admin-page { padding: 74px 7.5% 100px; }
.page-heading { position: relative; padding: 15px 0 55px; border-bottom: 1px solid var(--line); }
.page-heading .eyebrow { color: #9c5e46; }
.page-heading h1 { max-width: 850px; margin: 28px 0 17px; font-size: clamp(49px, 6vw, 76px); }
.page-heading p { max-width: 620px; color: #71675f; line-height: 1.8; font-size: 13px; }
.page-heading > .button { margin-top: 15px; }
.dashboard-content, .admin-section { margin-top: 48px; }
.section-heading { display: flex; justify-content: space-between; padding-bottom: 13px; border-bottom: 1px solid var(--line); color: #a05b41; }
.section-heading span:last-child { color: #83796f; font-size: 9px; }
.empty-state { padding: 50px 35px; margin-top: 30px; background: #e9e1d7; }
.empty-state h2 { margin: 0 0 9px; font: 500 25px var(--serif); }
.empty-state p { margin: 0; max-width: 550px; color: #756b62; font-size: 12px; line-height: 1.7; }
.empty-state a { display: inline-block; margin-top: 15px; font-size: 11px; }
.empty-state.compact { padding: 22px 24px; }
.empty-state.compact p { font-size: 11px; }
.submission-row { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.submission-row .status-pill { margin: 0; color: #7d503b; border-color: #c9ab99; }
.submission-row h3 { margin: 10px 0 5px; font: 500 21px var(--serif); }
.submission-row p { margin: 0; color: #81766d; font-size: 10px; }
.report-ref { color: #9c5e46; font-size: 9px; }
.report-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 35px; }
.report-card { padding: 24px; border: 1px solid #ded5cb; background: #f8f5f0; }
.report-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.report-category { color: #9c5e46; font: 9px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.report-card h2 { margin: 26px 0 12px; font: 500 28px var(--serif); }
.report-summary { min-height: 88px; color: #5f5750; font-size: 12px; line-height: 1.8; }
.public-report-details { color: #5f5750; font-size: 12px; line-height: 1.8; }
.public-report-details .report-summary { min-height: 0; white-space: normal; }
.public-evidence { margin-top: 20px; }
.report-meta { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding: 13px 0; color: #8b8076; font: 9px var(--mono); }
.report-appeal { font-size: 10px; text-decoration: none; color: #9c5237; }
.report-appeal span { margin-left: 9px; }
.context-note { margin-top: 35px; padding: 18px 21px; border-left: 2px solid var(--orange); background: #e9e1d7; color: #72685f; font-size: 11px; line-height: 1.8; }
.context-note b { color: var(--ink); }
.context-note a { color: #9c5237; }

.admin-page { background: #eee8e0; }
.admin-page .page-heading { padding-top: 0; }
.admin-section { margin-top: 45px; }
.admin-card { margin-top: 15px; padding: 21px 23px; border: 1px solid #d8cec4; background: #faf8f4; }
.admin-card-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.admin-card h2 { margin: 11px 0 6px; font: 500 23px var(--serif); }
.admin-card p { margin: 6px 0; color: #756b62; font-size: 11px; line-height: 1.7; }
.admin-card .status-pill { margin: 0; color: #8e543e; border-color: #c9ab99; }
.admin-card .text-link { color: #9b5539; border-color: #c9ab99; white-space: nowrap; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.admin-actions form { margin: 0; }
.private-details { margin-top: 18px; padding: 15px; background: #eee8e0; color: #615951; font-size: 11px; line-height: 1.75; }
.private-details p { color: #615951; font-size: 11px; white-space: normal; }
.review-form { margin-top: 17px; }
.review-form textarea { margin-bottom: 13px; }
.review-form .check-label { margin-bottom: 14px; }
.review-form ~ .admin-actions { margin-top: 0; }
.admin-card-compact { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.admin-card-compact h2 { font-size: 19px; }
.admin-card-compact form { flex: 0 0 auto; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.reaction-row { display: flex; gap: 9px; margin: 20px 0 3px; padding: 13px 0; border-top: 1px solid var(--line); }
.reaction-row form { margin: 0; }
.reaction-button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px; border: 1px solid #d8cec4; background: transparent; color: #655b52; font-size: 10px; cursor: pointer; }
.reaction-button span { color: #a65b41; font-size: 15px; }
.reaction-button b { font: 9px var(--mono); }
.reaction-button.selected { border-color: #b65c3e; background: #f1e2d9; color: #7a3928; }
.comments { margin-top: 7px; padding-top: 13px; border-top: 1px solid var(--line); }
.comments-heading { display: flex; justify-content: space-between; color: #9c5e46; font: 9px var(--mono); letter-spacing: .09em; }
.comments-heading span { color: #81766d; }
.comment { padding: 12px 0; border-bottom: 1px solid rgba(36, 29, 24, .09); }
.comment-top { display: flex; align-items: center; gap: 10px; }
.comment-top > a { color: #413932; font-size: 10px; font-weight: 700; text-decoration: none; }
.comment-top time { color: #94887d; font: 8px var(--mono); }
.comment-top form { margin-left: auto; }
.quiet-action { padding: 2px 0; border: 0; background: none; color: #9a5a43; font-size: 9px; cursor: pointer; }
.comment > p { margin: 7px 0 0; color: #625a52; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.comment-form { display: flex; align-items: stretch; gap: 8px; margin-top: 14px; }
.comment-form textarea, .send-message-form textarea { flex: 1; min-width: 0; resize: vertical; border: 1px solid #d5ccc2; padding: 10px 11px; background: #fffdfa; color: var(--ink); font-size: 11px; line-height: 1.5; }
.comment-form button { align-self: flex-end; min-height: 38px; padding: 0 12px; border: 0; background: var(--dark); color: var(--paper); font-size: 10px; cursor: pointer; white-space: nowrap; }
.comment-form button span { margin-left: 6px; font-size: 14px; }
.discussion-guidance { margin: 9px 0 0; color: #8d8177; font-size: 9px; line-height: 1.6; }

.members-page, .profile-page, .messages-page { padding: 74px 7.5% 100px; }
.members-page .page-heading { padding-top: 0; }
.member-search { display: flex; max-width: 570px; gap: 9px; margin-top: 22px; }
.member-search input { flex: 1; min-width: 0; border: 1px solid #d5ccc2; padding: 12px; background: #fffdfa; font-size: 12px; }
.member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 35px; }
.member-card { display: flex; align-items: flex-start; gap: 17px; min-width: 0; padding: 21px; border: 1px solid #ded5cb; background: #f8f5f0; }
.member-avatar, .inbox-avatar { flex: 0 0 auto; width: 66px; height: 66px; border-radius: 50%; object-fit: cover; }
.member-card-copy { display: flex; flex-direction: column; min-width: 0; align-items: flex-start; }
.member-name { font: 500 21px var(--serif); text-decoration: none; }
.member-nickname, .member-pronouns, .member-location { margin-top: 4px; color: #8b8076; font: 9px var(--mono); }
.member-card-copy p { margin: 12px 0; color: #6f665e; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.member-card-link { margin-top: auto; color: #9c5237; font-size: 10px; text-decoration: none; }
.member-card-link span { margin-left: 8px; font-size: 14px; }
.profile-hero { display: flex; align-items: center; gap: 27px; padding: 26px 0 40px; border-bottom: 1px solid var(--line); }
.profile-avatar { width: 130px; height: 130px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.profile-hero > div:nth-child(2) { flex: 1; min-width: 0; }
.profile-hero .eyebrow { color: #9c5e46; font-size: 9px; }
.profile-hero h1 { margin: 13px 0 5px; font: 500 clamp(36px, 5vw, 57px)/1 var(--serif); }
.profile-handle { margin: 0 0 10px; color: #81776d; font: 10px var(--mono); }
.profile-detail-tag { display: inline-block; margin: 3px 6px 0 0; padding: 6px 8px; background: #e8dfd3; color: #72675e; font-size: 9px; }
.profile-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.profile-actions form { margin: 0; }
.profile-content { max-width: 760px; padding: 34px 0; }
.profile-content .eyebrow { color: #9c5e46; }
.profile-bio { margin-top: 16px; color: #5f5750; font: 17px/1.9 var(--serif); overflow-wrap: anywhere; }
.profile-empty { color: #93887e; font: 12px var(--sans); }
.profile-joined { margin-top: 25px; color: #9a8f84; font: 8px var(--mono); letter-spacing: .1em; }
.avatar-picker { padding: 14px; border: 1px solid #ddd4ca; background: #f2ede7; }
.form-label { display: block; margin-bottom: 13px; color: #5d554e; font-size: 11px; font-weight: 700; }
.avatar-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.avatar-option { position: relative; display: flex !important; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px; border: 1px solid transparent; cursor: pointer; }
.avatar-option:has(input:checked) { border-color: #ae6246; background: #f7e9df; }
.avatar-option input { position: absolute; top: 8px; right: 8px; accent-color: #9c5237; }
.preset-avatar { width: 55px; height: 55px; border-radius: 50%; }
.avatar-option span { color: #756b62; font-size: 9px; }
.conversation { max-width: 780px; margin: 26px auto 0; }
.conversation .empty-state { margin: 0 0 14px; }
.message-bubble { width: fit-content; max-width: 82%; margin: 13px 0; padding: 13px 15px; background: #e8dfd3; }
.message-bubble.sent { margin-left: auto; background: #24201c; color: var(--paper); }
.message-bubble > span { color: #96897e; font: 8px var(--mono); }
.message-bubble.sent > span { color: #d2a28c; }
.message-bubble p { margin: 7px 0 0; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.send-message-form { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; margin-top: 18px; }
.send-message-form textarea { width: 100%; }
.inbox-list { margin-top: 30px; border-top: 1px solid var(--line); }
.inbox-row { display: flex; align-items: center; gap: 14px; padding: 17px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.inbox-avatar { width: 48px; height: 48px; }
.inbox-row > span { flex: 1; min-width: 0; }
.inbox-row b, .inbox-row small { display: block; }
.inbox-row b { font: 500 17px var(--serif); }
.inbox-row small { margin-top: 5px; color: #81766d; font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-row time { color: #92877c; font: 8px var(--mono); }

@media (max-width: 850px) {
  .site-shell { width: min(100% - 36px, 700px); }
  .topbar { height: auto; min-height: 78px; flex-wrap: wrap; gap: 17px; padding: 15px 0; }
  .main-nav { gap: 15px; flex-wrap: wrap; }
  .main-nav a, .nav-link { font-size: 11px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 72px 8% 45px; }
  .hero-art { min-height: 420px; }
  .hero h1 { font-size: clamp(54px, 10vw, 75px); }
  .intro-section { padding: 75px 5%; }
  .intro-grid { grid-template-columns: 1fr; gap: 26px; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 315px; }
  .community-strip { padding: 75px 5%; gap: 20px; }
  .form-page { grid-template-columns: 1fr; margin: 35px auto 75px; }
  .form-aside { min-height: 320px; }
  .form-aside h1 { margin-top: 40px; }
  .aside-note { bottom: 25px; }
  .form-panel { padding: 40px 8%; }
  .guidelines { margin-top: -35px; }
  .report-grid { grid-template-columns: 1fr; }
  .member-grid { grid-template-columns: 1fr; }
  .members-page, .profile-page, .messages-page { padding: 55px 5% 75px; }
  .dashboard, .reports-page, .admin-page { padding: 55px 5% 75px; }
}
@media (max-width: 520px) {
  .site-shell { width: min(100% - 28px, 460px); }
  .topbar { align-items: flex-start; }
  .main-nav { justify-content: flex-end; max-width: 205px; gap: 12px; }
  .main-nav .nav-join { padding: 10px 12px; }
  .hero-copy { padding: 61px 7% 38px; }
  .hero h1 { font-size: 52px; }
  .hero-intro { font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero-proof { margin-top: 45px; }
  .hero-art { min-height: 340px; }
  .intro-grid h2, .community-strip h2 { font-size: 37px; }
  .community-strip { align-items: flex-start; flex-direction: column; }
  .notice-count { align-items: flex-start; gap: 12px; padding: 22px 2%; }
  .notice-count > a { align-self: center; white-space: nowrap; }
  .footer { padding: 29px 2% 25px; }
  .form-page { margin-top: 24px; }
  .form-aside { min-height: 310px; padding: 39px 7%; }
  .form-aside h1 { font-size: 46px; }
  .form-panel { padding: 35px 7%; }
  .page-heading h1 { font-size: 49px; }
  .admin-card-main, .admin-card-compact { align-items: flex-start; flex-direction: column; }
  .admin-card-compact form { align-self: flex-start; }
  .submission-row { align-items: flex-start; flex-direction: column; gap: 14px; }
  .profile-hero { align-items: flex-start; flex-wrap: wrap; gap: 15px; }
  .profile-avatar { width: 88px; height: 88px; }
  .profile-hero > div:nth-child(2) { width: calc(100% - 105px); flex: 1; }
  .profile-actions { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .comment-form { flex-direction: column; }
  .comment-form button { align-self: flex-end; }
  .inbox-row time { display: none; }
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 18px 0 10px;
}
.evidence-image {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 12px;
  text-decoration: none;
}
.evidence-image img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: #e8dfd3;
  border: 1px solid var(--line);
}
.evidence-image:hover span { text-decoration: underline; }
.privacy-notice,
.contribution-guidance {
  margin: 20px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(232, 223, 211, .55);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
}
.privacy-notice ul,
.contribution-guidance ul { margin: 10px 0 0; padding-left: 20px; }
.privacy-notice li,
.contribution-guidance li { margin: 5px 0; }
.privacy-notice p { margin: 8px 0 0; }
.contribution-guidance a { display: inline-block; margin-top: 10px; font-weight: 700; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.toolkit-page { padding: 78px 7% 90px; }
.toolkit-page .page-heading { max-width: 840px; margin: 0 auto 42px; }
.toolkit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1120px; margin: 0 auto 28px; }
.toolkit-card { padding: 28px; border: 1px solid var(--line); background: rgba(255,255,255,.35); }
.toolkit-card h2 { margin: 14px 0; font-family: "Playfair Display", Georgia, serif; font-size: 28px; font-weight: 500; }
.toolkit-card p,
.toolkit-card li { color: var(--muted); font-size: 14px; line-height: 1.75; }
.toolkit-card ul { margin: 0; padding-left: 20px; }
.toolkit-card li { margin: 7px 0; }
.toolkit-card-wide { grid-column: 1 / -1; }
.toolkit-page > .context-note { max-width: 1120px; margin: 0 auto; }
.toolkit-promo { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 38px 7%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toolkit-promo > div { max-width: 670px; }
.toolkit-promo h2 { margin: 10px 0; font: 500 31px/1.2 "Playfair Display", Georgia, serif; }
.toolkit-promo p { margin: 0; color: var(--muted); line-height: 1.65; }
.draft-image-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.draft-image-list img { width: 76px; height: 76px; object-fit: cover; border: 1px solid var(--line); background: var(--cream); }
.policy-links { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 15px; }
.policy-links a { color: #bfb4a9; font-size: 11px; }
.cookie-consent { position: fixed; z-index: 20; right: 20px; bottom: 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; width: min(760px, calc(100vw - 40px)); padding: 21px 23px; border: 1px solid #62574e; background: #171310; color: var(--paper); box-shadow: 0 12px 45px rgba(0,0,0,.3); }
.cookie-consent[hidden] { display: none; }
.cookie-consent h2 { margin: 0 0 7px; font: 500 21px var(--serif); }
.cookie-consent p { max-width: 520px; margin: 0; color: #c1b6ab; font-size: 12px; line-height: 1.65; }
.cookie-consent-copy > a { display: inline-block; margin-top: 8px; color: #f0a184; font-size: 11px; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cookie-consent-actions .button-outline { border-color: #786c62; color: var(--paper); }
.cookie-consent-status { grid-column: 1 / -1; color: #f0a184 !important; }
.policy-page { padding: 78px 7% 90px; }
.policy-page .page-heading { max-width: 840px; margin: 0 auto 38px; }
.policy-content { max-width: 840px; margin: 0 auto; padding: 34px clamp(22px, 5vw, 58px); border: 1px solid var(--line); background: rgba(255,255,255,.35); }
.policy-content h2 { margin: 30px 0 9px; font: 500 25px/1.2 var(--serif); }
.policy-content h2:first-child { margin-top: 0; }
.policy-content p { margin: 0 0 13px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.policy-content a { color: #9c452f; }
.policy-content code { overflow-wrap: anywhere; }
.policy-updated { margin-top: 30px !important; font: 10px var(--mono); letter-spacing: .06em; }
.resource-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 55px 7.5%; }
.resource-links > a { display: flex; flex-direction: column; min-height: 190px; padding: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.32); text-decoration: none; }
.resource-links h2 { margin: 16px 0; font: 500 24px/1.2 var(--serif); }
.resource-links > a > span:last-child { margin-top: auto; font-size: 12px; font-weight: 700; }
.home-activity { margin: 0 7.5% 55px; }
.activity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto 24px; }
.activity-grid .toolkit-card strong { display: block; margin: 20px 0 6px; font: 500 clamp(31px, 4vw, 48px) var(--serif); }
.activity-grid .toolkit-card p { margin-bottom: 0; }
.activity-note { margin-top: 24px; }
.newsletter-signup { max-width: 520px; margin-top: 28px; padding: 18px; border: 1px solid rgba(243,239,233,.2); }
.newsletter-signup label { font: 500 18px var(--serif); }
.newsletter-signup p { margin: 7px 0 12px; color: #bfb4a9; font-size: 11px; line-height: 1.6; }
.newsletter-signup > div { display: flex; gap: 8px; }
.newsletter-signup input { min-width: 0; flex: 1; padding: 10px 11px; border: 1px solid #786c62; background: #211b17; color: var(--paper); }
.newsletter-signup button { flex: 0 0 auto; }
.policy-content ol { padding-left: 22px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.policy-content li { margin: 7px 0; }
.resource-links + .community-strip { padding-top: 65px; }
.form-panel .form-stack .form-foot { margin: 0; }
@media print {
  .topbar, .footer, .cookie-consent, .main-nav, .form-page, .resource-links, .toolkit-promo { display: none !important; }
  body, .site-shell { width: 100%; background: #fff; color: #000; }
  .toolkit-page { padding: 0; }
  .toolkit-grid { display: block; max-width: none; }
  .toolkit-card { break-inside: avoid; margin: 0 0 12px; border: 1px solid #999; background: #fff; }
}
@media (max-width: 700px) {
  .toolkit-page { padding: 54px 5% 70px; }
  .toolkit-grid { grid-template-columns: 1fr; }
  .toolkit-card-wide { grid-column: auto; }
  .toolkit-card { padding: 23px; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .toolkit-promo { align-items: flex-start; flex-direction: column; padding: 30px 5%; }
  .cookie-consent { right: 10px; bottom: 10px; grid-template-columns: 1fr; gap: 13px; width: calc(100vw - 20px); padding: 17px; }
  .cookie-consent-actions { justify-content: flex-start; }
  .policy-page { padding: 54px 5% 70px; }
  .policy-content { padding: 24px 20px; }
  .resource-links { grid-template-columns: 1fr; padding: 40px 5%; }
  .activity-grid { grid-template-columns: 1fr; }
  .home-activity { margin: 0 5% 40px; }
  .newsletter-signup { max-width: none; }
  .newsletter-signup > div { align-items: stretch; flex-direction: column; }
}
