:root {
  color-scheme: light;
  --ink: #19343b;
  --ink-soft: #4f666a;
  --deep: #102a33;
  --deep-2: #183a43;
  --cream: #f7f5ef;
  --paper: #fffefa;
  --line: #dedfd6;
  --gold: #c9a85b;
  --gold-soft: #f1e7cd;
  --sage: #dfe9df;
  --danger: #8a3434;
  --shadow: 0 18px 48px rgb(20 43 49 / 8%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--cream); }
body { margin: 0; color: var(--ink); background: var(--cream); min-height: 100vh; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #c49d48; outline-offset: 3px; }

.app-header { min-height: 78px; padding: 0 clamp(1rem, 5vw, 4.75rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; color: #f7f4eb; background: var(--deep); }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: .65rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; letter-spacing: .02em; text-decoration: none; }
.brand img { display: block; }
.primary-nav, .guest-nav { display: flex; align-items: center; gap: 1.65rem; }
.primary-nav a, .guest-nav > a:first-child { color: #d3ded9; font-size: .92rem; text-decoration: none; }
.primary-nav a:hover, .guest-nav > a:first-child:hover { color: white; }
.primary-nav .nav-feature-paused { color: #a9b4ae; font-size: .8rem; }
.primary-nav a { display: inline-flex; align-items: center; gap: .35rem; }
.nav-dropdown, .profile-account-menu { position: relative; }
.primary-nav .nav-dropdown > summary { display: inline-flex; align-items: center; gap: .35rem; color: #d3ded9; font-size: .92rem; cursor: pointer; list-style: none; }
.primary-nav .nav-dropdown > summary::-webkit-details-marker, .profile-account-menu > summary::-webkit-details-marker, .nav-submenu > summary::-webkit-details-marker { display: none; }
.primary-nav .nav-dropdown > summary::after { content: \"\"; width: .38rem; height: .38rem; margin: -.18rem 0 0 .1rem; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.primary-nav .nav-dropdown[open] > summary { color: white; }
.nav-dropdown-menu, .account-menu-panel { position: absolute; z-index: 80; top: calc(100% + .7rem); min-width: 205px; padding: .42rem; border: 1px solid #d9ded5; border-radius: 10px; color: var(--ink); background: var(--paper); box-shadow: 0 15px 38px rgb(16 42 51 / 20%); }
.nav-dropdown-menu { left: -.5rem; display: grid; gap: .12rem; }
.primary-nav .nav-dropdown-menu :is(a, .audio-nav-button), .account-menu-panel > a { display: flex; justify-content: space-between; align-items: center; gap: .7rem; padding: .58rem .65rem; border-radius: 6px; color: #304d4b; font-size: .78rem; text-decoration: none; white-space: nowrap; }
.primary-nav .nav-dropdown-menu .audio-nav-button { width: 100%; border: 0; background: transparent; text-align: left; cursor: pointer; }
.primary-nav .nav-dropdown-menu :is(a, .audio-nav-button):hover, .account-menu-panel > a:hover { color: #183a43; background: #eef2e9; }
.nav-submenu > summary { display: flex; justify-content: space-between; align-items: center; padding: .58rem .65rem; border-radius: 6px; color: #304d4b; font-size: .78rem; cursor: pointer; list-style: none; }
.nav-submenu > summary::after { content: \"\"; width: .38rem; height: .38rem; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.nav-submenu-menu { display: grid; gap: .12rem; padding: .25rem 0 .3rem .35rem; }
.nav-submenu-menu a { font-size: .73rem !important; }
.nav-unread-badge { min-width: 18px; height: 18px; display: inline-grid; place-items: center; padding: 0 .3rem; border-radius: 999px; color: #17323a; background: #efcf7c; font-size: .63rem; font-weight: 800; line-height: 1; }
.nav-unread-badge[hidden] { display: none; }
.header-account { display: flex; justify-content: flex-end; align-items: center; gap: .85rem; }
.header-credits { display: flex; align-items: center; gap: .38rem; padding: .55rem .78rem; border: 1px solid rgb(241 231 205 / 28%); border-radius: 999px; color: #e9d8a9; font-size: .84rem; }
.header-credits strong { color: #fff8e8; font-size: .95rem; }
.credit-label { color: #d4d7cd; }
.header-credit-group { display: flex; align-items: center; gap: .45rem; }
.credit-divider { color: rgb(241 231 205 / 42%); }
.buy-credits-button { min-height: 34px; padding: .42rem .62rem; border: 1px solid rgb(241 231 205 / 48%); border-radius: 999px; color: #f6e9c7; background: transparent; font-size: .74rem; font-weight: 750; white-space: nowrap; cursor: pointer; }
.buy-credits-button:hover { color: var(--deep); background: #f1e7cd; }
.debug-credit-toggle { padding: .38rem .55rem; border: 1px solid rgb(241 231 205 / 35%); border-radius: 999px; color: #f0d99b; font-size: .72rem; text-decoration: none; white-space: nowrap; }
.debug-credit-toggle:hover { color: white; border-color: rgb(241 231 205 / 70%); }
.logout-form { margin: 0; }
.avatar-button { width: 38px; height: 38px; display: grid; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid rgb(241 231 205 / 50%); border-radius: 50%; color: #fff9e9; background: #23454a; cursor: pointer; font-family: Georgia, serif; font-size: 1.1rem; text-decoration: none; }
.avatar-button img { width: 100%; height: 100%; object-fit: cover; }
.profile-account-menu > summary { padding: 0; list-style: none; }
.profile-account-menu[open] > summary { border-color: #f1e7cd; box-shadow: 0 0 0 2px rgb(241 231 205 / 18%); }
.account-menu-panel { right: 0; display: grid; gap: .2rem; }
.account-menu-panel form { margin: 0; }
.account-menu-panel .sign-out-button { width: 100%; min-height: 38px; padding: .55rem .65rem; border: 0; color: #6a4b42; text-align: left; }
.account-menu-panel .sign-out-button:hover { color: #803f35; background: #f7ece7; }
.header-credit-segment { display: contents; }
.header-credit-segment[hidden] { display: none; }
.sign-out-button { min-height: 36px; padding: .45rem .6rem; border: 1px solid rgb(241 231 205 / 30%); border-radius: 7px; color: #e2e7df; background: transparent; font-size: .72rem; cursor: pointer; }
.sign-out-button:hover { border-color: rgb(241 231 205 / 65%); color: #fff; }
.guest-nav { justify-content: flex-end; }
.guest-nav .button { color: var(--deep); }
.page-shell { width: min(1120px, calc(100% - 2.5rem)); margin: 0 auto; min-height: calc(100vh - 142px); padding: clamp(2.2rem, 5vw, 4.5rem) 0 4.5rem; }
.app-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem clamp(1.25rem, 5vw, 4.75rem); border-top: 1px solid var(--line); color: #778486; background: #f2f0e9; font-size: .76rem; }
.eyebrow { margin: 0 0 .65rem; color: #8c7440; font-size: .71rem; font-weight: 750; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin-top: 0; color: var(--ink); }
h1 { margin-bottom: .72rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 5vw, 3.45rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
h2 { margin-bottom: .6rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 500; letter-spacing: -.02em; }
h3 { margin-bottom: .55rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 500; }
.muted { color: var(--ink-soft); }
.small-copy { font-size: .89rem; line-height: 1.65; }
.button { min-height: 46px; display: inline-flex; justify-content: center; align-items: center; gap: .65rem; padding: .78rem 1.1rem; border: 1px solid transparent; border-radius: 8px; color: var(--deep); background: var(--gold-soft); font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgb(16 42 51 / 12%); }
.button:disabled { opacity: .65; transform: none; cursor: wait; }
.button-primary { color: #fffdf6; background: var(--deep); }
.button-primary:hover { background: var(--deep-2); }
.button-secondary { border-color: #d7ded7; color: #385753; background: #eef1e9; }
.button-secondary:hover { background: #e4eae1; }
.button-small { min-height: 38px; padding: .55rem .85rem; font-size: .84rem; }
.button-wide { width: 100%; }
.button-quiet { min-height: 40px; padding: .55rem .75rem; border-color: var(--line); color: var(--ink); background: transparent; font-size: .88rem; }
.button-quiet:hover { background: #f0eee6; }
.text-link, .back-link { color: #406064; font-size: .9rem; font-weight: 650; text-decoration: none; }
.text-link:hover, .back-link:hover { text-decoration: underline; }
.back-link { display: inline-block; margin-bottom: 1.6rem; }

.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 440px); align-items: center; gap: clamp(2.5rem, 8vw, 7rem); max-width: 1030px; margin: 0 auto; padding: 1rem 0 2rem; }
.auth-copy { max-width: 510px; }
.auth-copy > p:not(.eyebrow) { max-width: 450px; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.75; }
.auth-copy h1 { max-width: 540px; font-size: clamp(2.55rem, 5vw, 4.1rem); }
.scripture-note { display: flex; gap: .8rem; max-width: 460px; margin-top: 2.15rem; padding: 1.1rem 1.2rem; border-left: 2px solid var(--gold); background: #eeece3; }
.scripture-note p { margin: 0; color: #536366; font-family: Georgia, serif; font-size: .94rem; line-height: 1.65; }
.scripture-note strong { color: #8a7446; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
.note-mark { color: var(--gold); font-size: 1.2rem; }
.form-card { padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid #e8e5dc; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); }
.form-card > h2 { font-size: 1.9rem; }
.form-card > .muted { margin: 0 0 1.4rem; font-size: .9rem; line-height: 1.6; }
.stack-form { display: flex; flex-direction: column; gap: .55rem; }
.stack-form label, .lots-form > label { margin-top: .45rem; color: #345057; font-size: .84rem; font-weight: 700; }
.stack-form input, .lots-form textarea, .option-row input { width: 100%; border: 1px solid #d6d9d3; border-radius: 7px; color: var(--ink); background: #fff; }
.stack-form input, .option-row input { min-height: 45px; padding: .65rem .75rem; }
.stack-form input:focus, .lots-form textarea:focus, .option-row input:focus { border-color: #8b9d90; outline: 3px solid rgb(139 157 144 / 20%); }
.stack-form .button { margin-top: .7rem; }
.field-hint { margin-top: -.25rem; color: #718080; font-size: .76rem; }
.form-footnote { margin: 1.05rem 0 0; color: #718080; font-size: .78rem; line-height: 1.6; }
.form-footnote a { color: #315c61; font-weight: 700; }
.form-error { padding: .75rem .85rem; border: 1px solid #e4c6bf; border-radius: 7px; color: var(--danger); background: #fff2ed; font-size: .86rem; line-height: 1.5; }
.form-error[hidden] { display: none; }

.welcome-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 1.8rem; }
.welcome-row .muted { margin: 0; }
.credit-card { display: flex; align-items: center; gap: .7rem; min-width: 200px; padding: .85rem 1rem; border: 1px solid #dfd6bd; border-radius: 10px; background: #f1ead7; }
.credit-icon { color: #a18036; font-size: 1.5rem; }
.credit-card div { display: flex; flex-direction: column; gap: .1rem; }
.credit-card strong { color: #384b45; font-size: 1.05rem; }
.credit-card span:not(.credit-icon) { color: #6c746b; font-size: .72rem; }
.paid-credit { margin-left: auto; padding-left: .8rem; border-left: 1px solid #d7ccb0; }
.foundation-banner { display: flex; align-items: flex-start; gap: 1rem; margin: 2.1rem 0 3.2rem; padding: 1.1rem 1.3rem; border: 1px solid #dce4dc; border-radius: 10px; background: #edf2eb; }
.foundation-symbol { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: #799080; background: #dde7dc; font-size: 1.25rem; }
.foundation-banner .eyebrow { margin-bottom: .35rem; color: #6f826e; }
.foundation-banner p:last-child { max-width: 850px; margin: 0; color: #435c58; font-size: .91rem; line-height: 1.65; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin: 0 0 1.1rem; }
.section-heading .eyebrow { margin-bottom: .28rem; }
.section-heading h2 { margin: 0; font-size: 1.9rem; }
.section-heading > .text-link { padding-bottom: .25rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.field-tools-promo { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; margin: 1.15rem 0 3.2rem; padding: 1.15rem 1.3rem; border: 1px solid #dce3dc; border-radius: 12px; background: #edf2eb; }
.field-tools-promo h2 { margin: 0 0 .25rem; font-size: 1.5rem; }
.field-tools-promo .eyebrow { margin-bottom: .25rem; color: #6f826e; }
.field-tools-promo p:not(.eyebrow) { max-width: 740px; margin: 0; color: #53686a; font-size: .85rem; line-height: 1.6; }
.field-tools-promo .button { flex: 0 0 auto; }
.field-audio-dock { position: fixed; z-index: 80; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: .75rem; width: min(520px, calc(100vw - 2rem)); padding: .75rem 1rem; border: 1px solid #d7e0d8; border-radius: 14px; color: #f6f5ed; background: rgb(16 42 51 / 96%); box-shadow: 0 14px 40px rgb(16 42 51 / 28%); backdrop-filter: blur(12px); }
.field-audio-dock[hidden] { display: none; }
.field-audio-dock-copy { display: grid; min-width: 0; flex: 1 1 auto; gap: .15rem; }
.field-audio-dock-copy strong { font-size: .8rem; }
.field-audio-dock-copy span { overflow: hidden; color: #cbd7ce; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.field-audio-volume { display: flex; align-items: center; gap: .35rem; color: #d7e1d9; font-size: .67rem; white-space: nowrap; }
.field-audio-volume input { width: 72px; accent-color: #adc6a9; }
.field-audio-dock .button { flex: 0 0 auto; min-height: 34px; padding: .42rem .65rem; font-size: .72rem; }
.field-audio-open { flex: 0 0 auto; padding: .35rem .15rem; border: 0; color: #e2e9dc; background: transparent; font: inherit; font-size: .73rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; cursor: pointer; }
.field-audio-open:hover { color: #fff; }
.field-audio-dock audio { display: none; }
.field-audio-dock-copy [aria-live].is-error { color: #ffd0bf; }
.field-audio-player-dialog { width: min(720px, calc(100vw - 1.5rem)); max-width: none; max-height: min(92dvh, 850px); padding: 0; overflow: auto; border: 1px solid #cbd4c9; border-radius: 1.25rem; color: var(--ink); background: var(--paper); box-shadow: 0 28px 90px rgb(14 38 31 / 32%); }
.field-audio-player-dialog::backdrop { background: rgb(12 33 28 / 66%); backdrop-filter: blur(7px) saturate(.78); }
.field-audio-player-shell { position: relative; padding: clamp(1.15rem, 4vw, 1.8rem); }
.field-audio-player-heading { margin: 0 3rem 1rem 0; }
.field-audio-player-heading .eyebrow { margin: 0 0 .25rem; color: #778875; font-size: .7rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.field-audio-player-heading h2 { margin: 0 0 .3rem; font: 500 clamp(1.8rem, 4vw, 2.25rem)/1.1 var(--font-display, Georgia, serif); }
.field-audio-player-heading p:last-child { margin: 0; color: #6c7b73; font-size: .82rem; line-height: 1.5; }
.field-audio-library-status, .field-audio-player-status { min-height: 1.2rem; margin: 0 0 .65rem; color: #557365; font-size: .74rem; line-height: 1.45; }
.field-audio-library-status.is-error, .field-audio-player-status.is-error { color: #8a3434; }
.field-audio-selected { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; padding: .75rem; border: 1px solid #dce4d9; border-radius: .85rem; background: #f3f5ed; }
.field-audio-selected-mark { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: .75rem; color: #466b57; background: #e0e9dd; font-size: 1.35rem; }
.field-audio-selected > div { display: grid; min-width: 0; flex: 1; gap: .15rem; }
.field-audio-selected > div strong { color: #294c3e; font-size: .82rem; }
.field-audio-selected > div small { color: #748176; font-size: .68rem; }
.field-audio-tabs { display: flex; gap: .3rem; border-bottom: 1px solid #dce3da; }
.field-audio-tabs button { min-height: 40px; padding: .45rem .8rem; border: 0; border-bottom: 2px solid transparent; color: #68796e; background: transparent; font-size: .76rem; font-weight: 750; cursor: pointer; }
.field-audio-tabs button[aria-selected="true"] { border-bottom-color: #597d64; color: #315c48; }
.field-audio-tabs button span { display: inline-grid; min-width: 1.25rem; height: 1.25rem; place-items: center; margin-left: .2rem; padding: 0 .25rem; border-radius: 999px; color: #49685a; background: #e8eee4; font-size: .62rem; }
.field-audio-tab-panel { padding-top: .75rem; }
.field-audio-directory-controls { display: grid; grid-template-columns: minmax(180px, 1fr) auto; align-items: end; gap: .75rem; }
.field-audio-search { display: grid; gap: .3rem; color: #53695d; font-size: .68rem; font-weight: 750; }
.field-audio-search input { width: 100%; min-height: 40px; padding: .55rem .7rem; border: 1px solid #d5ded4; border-radius: .65rem; color: #243f37; background: #fffefa; font-size: .78rem; }
.field-audio-nearby { display: flex; align-items: center; gap: .45rem; max-width: 260px; min-height: 40px; color: #607367; font-size: .68rem; line-height: 1.4; cursor: pointer; }
.field-audio-nearby input { flex: 0 0 auto; width: 17px; height: 17px; accent-color: #52775e; }
.field-audio-nearby strong { color: #365c49; }
.field-audio-nearby-note { min-height: 1.05rem; margin: .4rem 0 .55rem; color: #819084; font-size: .63rem; line-height: 1.4; }
.field-audio-station-list { display: grid; max-height: 310px; overflow: auto; overscroll-behavior: contain; border: 1px solid #e2e7df; border-radius: .8rem; background: #fffefa; }
.field-audio-station { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: .65rem; min-width: 0; padding: .55rem .6rem; border-bottom: 1px solid #eef0e9; }
.field-audio-station:last-child { border-bottom: 0; }
.field-audio-station.is-selected { background: #f0f5ec; }
.field-audio-station-artwork { position: relative; width: 44px; height: 44px; overflow: hidden; border: 1px solid #e0e6dd; border-radius: .65rem; background: #e9eee5; }
.field-audio-station-artwork img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.field-audio-station-artwork.has-image .field-audio-station-initials { display: none; }
.field-audio-station-artwork.is-image-unavailable img { display: none; }
.field-audio-station-initials { display: grid; width: 100%; height: 100%; place-items: center; color: #466b56; font-family: var(--font-display, Georgia, serif); font-size: .8rem; font-weight: 700; }
.field-audio-station-details { display: grid; min-width: 0; gap: .13rem; }
.field-audio-station-details strong { overflow: hidden; color: #30483d; font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
.field-audio-station-details > span { overflow: hidden; color: #758278; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.field-audio-station-details .field-audio-nearby-badge { color: #54755e; font-size: .58rem; font-weight: 750; }
.field-audio-station-actions { display: flex; align-items: center; gap: .35rem; }
.field-audio-station-actions .button { min-height: 33px; padding: .36rem .52rem; font-size: .65rem; white-space: nowrap; }
.field-audio-favorite { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid #e0e5dd; border-radius: 50%; color: #a48742; background: #fffefa; font-size: 1.1rem; cursor: pointer; }
.field-audio-favorite[aria-pressed="true"] { border-color: #e9d9aa; color: #997932; background: #faf4e3; }
.field-audio-empty { margin: .7rem 0; padding: 1.1rem; border: 1px dashed #d8e0d7; border-radius: .75rem; color: #718076; font-size: .74rem; line-height: 1.5; text-align: center; }
.field-audio-empty[hidden] { display: none; }
.field-audio-player-status { margin: .75rem 0 .1rem; }
.field-audio-player-note { margin: .35rem 0 0; color: #89948a; font-size: .61rem; line-height: 1.45; }
.field-audio-player-dialog :focus-visible { outline: 3px solid #b29454; outline-offset: 3px; }
.feature-card { min-height: 226px; display: flex; flex-direction: column; padding: 1.2rem; border: 1px solid #e0e2db; border-radius: 11px; background: var(--paper); box-shadow: 0 7px 24px rgb(20 43 49 / 3%); }
.feature-active { border-top: 3px solid #a89055; }
.feature-planned { background: #fbfaf6; }
.feature-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.feature-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #856e3b; background: #f0ead9; font-size: 1.2rem; }
.feature-state { color: #7a8582; font-size: .67rem; font-weight: 650; letter-spacing: .03em; }
.feature-card h3 { margin-bottom: .4rem; font-size: 1.35rem; }
.feature-card > p { margin: 0 0 1rem; color: #687779; font-size: .84rem; line-height: 1.55; }
.feature-bottom { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: auto; padding-top: .8rem; border-top: 1px solid #eeeee8; }
.metric { color: #7c8987; font-size: .69rem; }
.metric strong { color: #506a68; font-size: .82rem; }
.card-link { color: #365d61; font-size: .78rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.card-link-disabled { color: #949d99; font-weight: 600; }
.recent-section { margin-top: 3.1rem; }
.empty-state { display: grid; justify-items: center; gap: .55rem; padding: 2rem 1rem; border: 1px dashed #d9ddd5; border-radius: 10px; color: #677979; background: rgb(255 254 250 / 58%); text-align: center; }
.empty-state p { margin: 0; font-size: .9rem; }
.empty-state a { color: #3a6265; font-size: .88rem; font-weight: 700; }
.empty-mark { color: #aa9256; font-size: 1.8rem; }
.activity-list { display: flex; flex-direction: column; border: 1px solid #e1e3dc; border-radius: 10px; background: var(--paper); }
.activity-item { display: flex; gap: .85rem; padding: 1rem 1.1rem; }
.activity-item + .activity-item { border-top: 1px solid #ecece6; }
.activity-dot { flex: 0 0 8px; width: 8px; height: 8px; margin-top: .45rem; border-radius: 50%; background: #b39b60; }
.activity-item > div { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.activity-item strong { color: #304f53; font-family: Georgia, serif; font-size: 1.06rem; font-weight: 500; }
.activity-item span:not(.activity-dot) { color: #899291; font-size: .73rem; }

.feature-intro { max-width: 720px; margin-bottom: 2rem; }
.feature-intro h1 { margin-bottom: .55rem; }
.feature-intro > p:last-child { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.lots-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr); align-items: start; gap: 1.25rem; }
.oracle-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr); align-items: start; gap: 1.25rem; }
.plan-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr); align-items: start; gap: 1.25rem; }
.lots-form { display: flex; flex-direction: column; gap: .75rem; }
.oracle-form { display: flex; flex-direction: column; gap: .75rem; }
.plan-form { display: flex; flex-direction: column; gap: .75rem; }
.lots-form > label:first-of-type { display: flex; justify-content: space-between; gap: .7rem; margin: 0; }
.oracle-form > label:first-of-type { display: flex; justify-content: space-between; gap: .7rem; margin: 0; }
.optional { color: #98a09b; font-size: .75rem; font-weight: 500; }
.lots-form textarea { min-height: 92px; resize: vertical; padding: .75rem; line-height: 1.55; }
.oracle-form textarea { width: 100%; min-height: 92px; resize: vertical; padding: .75rem; border: 1px solid #d6d9d3; border-radius: 7px; color: var(--ink); background: #fff; line-height: 1.55; }
.lots-form textarea::placeholder { color: #9aa3a0; }
.oracle-form textarea::placeholder { color: #9aa3a0; }
.oracle-form textarea:focus { border-color: #8b9d90; outline: 3px solid rgb(139 157 144 / 20%); }
.oracle-methods { display: flex; flex-direction: column; gap: .6rem; min-width: 0; margin: .4rem 0 0; padding: 0; border: 0; }
.oracle-methods legend { margin-bottom: .05rem; color: #345057; font-size: .84rem; font-weight: 700; }
.oracle-methods .field-hint { margin: 0; line-height: 1.55; }
.oracle-form .form-footnote { margin: 0; text-align: center; }
.oracle-layout .reflection-card { position: sticky; top: 1rem; }
.plan-layout .reflection-card { position: sticky; top: 1rem; }
.plan-options { display: flex; flex-direction: column; gap: .65rem; min-width: 0; margin: .4rem 0 0; padding: 0; border: 0; }
.plan-options legend { margin-bottom: .05rem; color: #345057; font-size: .84rem; font-weight: 700; }
.plan-options .field-hint { margin: 0; line-height: 1.55; }
.plan-chapter-choice { margin: 0; }
.lot-mode { min-width: 0; margin: .4rem 0 0; padding: 0; border: 0; }
.lot-mode legend { margin-bottom: .6rem; color: #345057; font-size: .84rem; font-weight: 700; }
.mode-choice { display: flex; align-items: flex-start; gap: .65rem; padding: .75rem .8rem; border: 1px solid #e2e4dc; border-radius: 8px; background: #fbfaf6; cursor: pointer; }
.mode-choice input { flex: 0 0 17px; width: 17px; height: 17px; margin: .12rem 0 0; accent-color: #375b58; }
.mode-choice span { display: flex; flex-direction: column; gap: .2rem; }
.mode-choice strong { color: #3c565a; font-size: .85rem; }
.mode-choice small { color: #7b8885; font-size: .75rem; line-height: 1.5; }
.default-odds { margin: .8rem .2rem .35rem; }
.default-odds[hidden], .custom-odds[hidden] { display: none; }
.odds-bar { width: 100%; height: 15px; display: flex; overflow: hidden; border-radius: 999px; background: #e7e8e0; }
.odds-segment { display: block; height: 100%; }
.odds-urim { flex: 0 0 25%; background: #c8a85c; }
.odds-thummin { flex: 0 0 25%; background: #79927d; }
.odds-no-reply { flex: 0 0 50%; background: #526d70; }
.odds-labels { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: .5rem; margin-top: .55rem; color: #718080; font-size: .7rem; }
.odds-labels span:last-child { text-align: right; }
.odds-labels strong { color: #405c5e; font-size: .76rem; }
.odds-caption { margin: .45rem 0 0; color: #87918d; font-size: .7rem; }
.custom-options { margin-top: .25rem; border-top: 1px solid #e8e9e2; border-bottom: 1px solid #e8e9e2; }
.custom-options summary { min-height: 46px; display: flex; align-items: center; color: #365d61; font-size: .83rem; font-weight: 700; cursor: pointer; }
.custom-options summary::marker { color: #a58c4d; }
.custom-options-body { display: flex; flex-direction: column; gap: .6rem; padding: 0 0 .9rem; }
.custom-list-label { display: flex; justify-content: space-between; gap: .6rem; color: #345057; font-size: .82rem; font-weight: 700; }
.custom-options textarea { min-height: 180px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .84rem; line-height: 1.55; }
.custom-options .field-hint { margin: -.2rem 0 0; line-height: 1.5; }
.choice-count { margin: 0; color: #7b8885; font-size: .76rem; line-height: 1.5; }
.custom-odds { margin: 0; color: #405c5e; font-size: .82rem; font-weight: 700; }
.options-heading { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-top: .55rem; }
.options-heading label { color: #345057; font-size: .84rem; font-weight: 700; }
.options-heading p { margin: .2rem 0 0; color: #83908d; font-size: .75rem; }
.odds-pill { padding: .34rem .62rem; border-radius: 999px; color: #617a69; background: #e8efe6; font-size: .7rem; font-weight: 700; white-space: nowrap; }
.option-list { display: flex; flex-direction: column; gap: .55rem; }
.option-row { display: grid; grid-template-columns: 26px 1fr 34px; align-items: center; gap: .45rem; }
.option-number { color: #88938e; font-size: .77rem; text-align: center; }
.option-row input { min-height: 42px; }
.remove-option { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 6px; color: #798683; background: transparent; font-size: 1.35rem; cursor: pointer; }
.remove-option:hover { color: #713b34; background: #f7e9e3; }
.save-choice { display: flex; align-items: flex-start; gap: .7rem; margin-top: .6rem; padding: .9rem; border: 1px solid #e5e7df; border-radius: 8px; background: #faf9f5; cursor: pointer; }
.save-choice input { flex: 0 0 17px; width: 17px; height: 17px; margin: .1rem 0 0; accent-color: #375b58; }
.save-choice span { display: flex; flex-direction: column; gap: .22rem; }
.save-choice strong { color: #3c565a; font-size: .82rem; }
.save-choice small { color: #7b8885; font-size: .72rem; line-height: 1.5; }
.lots-form .form-footnote { margin: 0; text-align: center; }
.reflection-card { position: sticky; top: 1rem; padding: 1.5rem; border-radius: 11px; color: #e9eee8; background: var(--deep); }
.reflection-card .eyebrow { margin-top: 1.15rem; color: #d4c28d; }
.reflection-card h2 { color: #fcfaf2; font-size: 1.7rem; }
.reflection-card > p:not(.eyebrow) { color: #ccd9d4; font-size: .88rem; line-height: 1.7; }
.reflection-card .muted { color: #acbfba; }
.reflection-icon { color: #d5bd7a; font-size: 1.7rem; }
.mini-rule { width: 44px; height: 1px; margin: 1.2rem 0; background: #b59e5e; }
.result-modal { width: min(460px, calc(100% - 2rem)); padding: 1.7rem; border: 1px solid #dce0d8; border-radius: 16px; color: var(--ink); background: var(--paper); box-shadow: 0 24px 90px rgb(6 25 31 / 30%); }
.oracle-modal { width: min(650px, calc(100% - 2rem)); max-height: min(88vh, 820px); overflow-y: auto; }
.plan-modal { width: min(1040px, calc(100% - 1rem)); height: min(88vh, 900px); max-height: none; padding: 1.1rem 1.25rem; overflow: hidden; }
.plan-modal[open] { display: flex; flex-direction: column; }
.plan-modal .modal-top { flex: 0 0 auto; margin-bottom: .4rem; }
.plan-modal > .eyebrow { flex: 0 0 auto; margin-bottom: .35rem; }
.plan-modal h2 { flex: 0 0 auto; margin: 0 0 .35rem; font-family: Georgia, serif; font-size: clamp(1.35rem, 4vw, 1.9rem); }
.plan-reader-note { flex: 0 0 auto; margin: 0 0 .65rem; color: #788681; font-size: .77rem; line-height: 1.45; }
.plan-reader-frame { flex: 1 1 auto; min-height: 180px; overflow: hidden; border: 1px solid #d9ded7; border-radius: 9px; background: #f7f7f2; }
.plan-reader-frame iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.plan-modal-actions { display: flex; flex: 0 0 auto; justify-content: space-between; gap: .75rem; padding-top: .65rem; }
.plan-modal .modal-note { flex: 0 0 auto; margin: .55rem 0 0; font-size: .73rem; }
.result-modal::backdrop { background: rgb(9 28 34 / 68%); backdrop-filter: blur(4px); }
.modal-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
.modal-spark { color: #b29653; font-size: 1.6rem; }
.modal-close { width: 36px; height: 36px; border: 0; border-radius: 50%; color: #53686a; background: #f1f1ea; font-size: 1.35rem; cursor: pointer; }
.result-value { margin: 1.25rem 0 .5rem; padding: 1.1rem .8rem; border: 1px solid #e8dfc9; border-radius: 9px; color: #344f4d; background: #f5f0e3; font-family: Georgia, serif; font-size: clamp(1.8rem, 7vw, 2.6rem); text-align: center; }
.result-chance { margin: .45rem 0 .75rem; color: #5e7769; font-size: .83rem; font-weight: 750; text-align: center; }
.oracle-reference { margin: 1.1rem 0 .3rem; color: #8c7440; font-size: .8rem; font-weight: 750; text-align: center; }
.oracle-summary { margin: .2rem 0 1rem; color: #798783; font-size: .74rem; text-align: center; }
.oracle-text { margin: 0; padding: 1.15rem 1.1rem; border-left: 3px solid var(--gold); color: #344f4d; background: #f5f0e3; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.15rem, 3.6vw, 1.45rem); line-height: 1.7; }
.oracle-sources { margin: 1.2rem 0; padding: .9rem 1rem; border: 1px solid #e6e5dc; border-radius: 9px; background: #fbfaf6; }
.oracle-sources[hidden], .oracle-attribution[hidden] { display: none; }
.oracle-sources h3 { margin: 0 0 .5rem; font-family: inherit; font-size: .79rem; font-weight: 750; }
.oracle-sources ul { display: flex; flex-wrap: wrap; gap: .42rem .8rem; margin: 0; padding-left: 1.2rem; color: #526b67; font-size: .77rem; line-height: 1.55; }
.oracle-sources li span { color: #8b9691; }
.oracle-attribution { margin: .8rem 0; color: #7e8985; font-size: .65rem; line-height: 1.55; }
.oracle-attribution a { color: #496a68; }
.modal-note { margin: 0 0 1.3rem; font-size: .86rem; line-height: 1.6; text-align: center; }
.history-list { margin-top: .5rem; }
.history-item { padding: 1.15rem 1.25rem; }
.history-item .eyebrow { margin: 0; color: #87918d; font-size: .67rem; }
.history-prompt { margin: .2rem 0; color: #73807c; font-size: .84rem; line-height: 1.55; }
.history-item small { margin-top: .2rem; color: #a0a8a3; font-size: .68rem; }
.history-item form { margin-top: .35rem; }
.delete-activity { padding: .3rem 0; border: 0; color: #7b6760; background: transparent; font-size: .72rem; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.delete-activity:hover { color: #7b3434; }

@media (max-width: 820px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-layout { grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr); gap: 2rem; }
  .lots-layout { grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr); }
}
@media (max-width: 640px) {
  .field-audio-dock { right: max(.5rem, env(safe-area-inset-right)); bottom: max(.5rem, env(safe-area-inset-bottom)); width: calc(100vw - 1rem); gap: .45rem; padding: .6rem .65rem; }
  .field-audio-dock-copy strong { font-size: .72rem; }
  .field-audio-dock-copy span { font-size: .62rem; }
  .field-audio-volume { gap: .25rem; font-size: .6rem; }
  .field-audio-volume input { width: 58px; }
  .app-header { min-height: 68px; grid-template-columns: 1fr auto; padding: 0 1rem; }
  .app-header:has(.primary-nav) { grid-template-columns: 1fr; }
  .brand { font-size: 1.3rem; }
  .brand img { width: 32px; height: 32px; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; flex-wrap: wrap; justify-content: center; gap: .5rem .85rem; padding: .55rem 0 .8rem; border-top: 1px solid rgb(255 255 255 / 10%); }
  .primary-nav .nav-dropdown > summary { font-size: .8rem; }
  .nav-dropdown-menu { left: auto; right: -.4rem; }
  .nav-submenu-menu { padding-left: .15rem; }
  .app-header:has(.primary-nav) { padding-top: .45rem; }
  .header-account { grid-column: 2; grid-row: 1; }
  .header-account { gap: .42rem; }
  .app-header:has(.primary-nav) .header-account { grid-column: 1 / -1; grid-row: 3; justify-content: center; padding: .45rem 0 .5rem; border-top: 1px solid rgb(255 255 255 / 10%); }
  .sign-out-button { min-height: 33px; padding: .35rem .45rem; font-size: .65rem; }
  .credit-label { display: none; }
  .header-credit-group { gap: .32rem; }
  .header-credits { gap: .26rem; padding: .46rem .55rem; font-size: .75rem; }
  .header-credits strong { font-size: .82rem; }
  .buy-credits-button { min-height: 31px; padding: .32rem .45rem; font-size: .65rem; }
  .debug-credit-toggle { padding: .25rem .35rem; font-size: .62rem; }
  .guest-nav { grid-column: 2; }
  .guest-nav > a:first-child { display: none; }
  .page-shell { width: min(100% - 1.5rem, 560px); min-height: calc(100vh - 128px); padding: 2.1rem 0 3.3rem; }
  .app-footer { flex-direction: column; padding: 1rem 1.2rem; font-size: .72rem; }
  .auth-layout { grid-template-columns: 1fr; gap: 1.4rem; padding-top: .3rem; }
  .auth-copy h1 { max-width: 470px; font-size: clamp(2.2rem, 10vw, 3.1rem); }
  .auth-copy > p:not(.eyebrow) { font-size: .95rem; }
  .scripture-note { margin-top: 1.2rem; }
  .form-card { padding: 1.2rem; }
  .welcome-row { align-items: flex-start; flex-direction: column; }
  .credit-card { min-width: 0; }
  .foundation-banner { margin: 1.5rem 0 2.4rem; padding: .95rem; }
  .feature-grid { grid-template-columns: 1fr; gap: .75rem; }
  .feature-card { min-height: 200px; padding: 1rem; }
  .field-tools-promo { align-items: stretch; flex-direction: column; margin-bottom: 2.4rem; padding: 1rem; }
  .field-tools-promo .button { width: 100%; }
  .section-heading h2 { font-size: 1.65rem; }
  .section-heading .text-link { font-size: .78rem; }
  .lots-layout { grid-template-columns: 1fr; }
  .oracle-layout { grid-template-columns: 1fr; }
  .plan-layout { grid-template-columns: 1fr; }
  .reflection-card { position: static; }
  .oracle-layout .reflection-card { position: static; }
  .plan-layout .reflection-card { position: static; }
  .plan-modal { width: calc(100% - .5rem); height: calc(100dvh - .5rem); max-height: none; padding: .85rem; border-radius: 12px; }
  .plan-reader-frame { min-height: 120px; }
  .plan-modal-actions .button { min-height: 42px; padding: .65rem .8rem; font-size: .78rem; }
  .feature-intro { margin-bottom: 1.45rem; }
}

.intercession-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 1rem; }
.intercession-compose h2, .intercession-draw-card h2 { margin: 0 0 .45rem; font-size: 1.65rem; }
.intercession-compose > .muted, .intercession-draw-card > .muted { margin: 0 0 1.1rem; font-size: .84rem; line-height: 1.6; }
.intercession-form { display: flex; flex-direction: column; gap: .75rem; }
.intercession-field { display: flex; flex-direction: column; gap: .4rem; color: #345057; font-size: .81rem; font-weight: 700; }
.intercession-field > span small { color: #8a9691; font-size: .72rem; font-weight: 500; }
.intercession-field input, .intercession-field select, .intercession-field textarea, .intercession-extend-form select { width: 100%; min-height: 45px; padding: .65rem .75rem; border: 1px solid #d6d9d3; border-radius: 7px; color: var(--ink); background: #fff; font: inherit; font-weight: 400; }
.intercession-field textarea { min-height: 145px; resize: vertical; line-height: 1.55; }
.intercession-field input:focus, .intercession-field select:focus, .intercession-field textarea:focus, .intercession-extend-form select:focus { border-color: #8b9d90; outline: 3px solid rgb(139 157 144 / 20%); }
.intercession-field > small { color: #7b8885; font-size: .7rem; font-weight: 400; line-height: 1.5; }
.intercession-publish-choice { margin-top: .05rem; }
.intercession-publish-settings { display: flex; flex-direction: column; gap: .5rem; }
.intercession-publish-settings[hidden] { display: none !important; }
.intercession-publish-settings .save-choice { margin: 0; padding: .75rem; }
.intercession-form .button { margin-top: .2rem; }
.intercession-form .form-footnote { margin: -.15rem 0 0; }
.intercession-pray-column { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.intercession-pool-count { margin: -.25rem 0 1rem; color: #70807b; font-size: .77rem; }
.intercession-pool-count strong { color: #41645b; font-size: 1rem; font-variant-numeric: tabular-nums; }
.intercession-status { min-height: 1.5em; margin: .75rem 0 0; color: #788783; font-size: .74rem; line-height: 1.5; }
.intercession-request-card { display: grid; gap: .5rem; margin-top: .9rem; padding: 1rem; border: 1px solid #e0e2db; border-left: 4px solid #a58c4d; border-radius: 9px; background: #fffefa; }
.intercession-request-card[hidden] { display: none !important; }
.intercession-request-card .eyebrow { margin: 0; }
.intercession-request-card h3 { margin: 0; color: #345057; font-size: 1.2rem; }
.intercession-request-body { margin: .1rem 0; color: #526865; font-size: .87rem; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.intercession-request-meta { margin: .15rem 0; color: #89938e; font-size: .68rem; line-height: 1.5; }
.intercession-request-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .2rem; }
.intercession-request-actions .button { min-height: 40px; padding: .65rem .8rem; font-size: .75rem; }
.intercession-request-actions button:disabled, .intercession-draw-card > button:disabled { cursor: not-allowed; opacity: .55; }
.intercession-care-note { padding: .85rem .95rem; border: 1px solid #e5e2d5; border-radius: 9px; color: #74807b; background: #f3f0e7; font-size: .73rem; line-height: 1.6; }
.intercession-care-note strong { color: #52615c; }
.intercession-own-section { margin-top: 2.35rem; }
.intercession-own-section > .section-heading { margin-bottom: .85rem; }
.intercession-own-list { display: grid; gap: .7rem; }
.intercession-own-card { min-width: 0; padding: 1rem 1.1rem; border: 1px solid #e0e2db; border-radius: 10px; background: var(--paper); box-shadow: 0 7px 24px rgb(20 43 49 / 3%); }
.intercession-own-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.intercession-own-heading .eyebrow { margin: 0 0 .2rem; color: #87918d; font-size: .65rem; }
.intercession-own-heading h3 { margin: 0; color: #345057; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.05rem; }
.intercession-count { flex: 0 0 auto; color: #81908a; font-size: .65rem; text-align: right; }
.intercession-count strong { color: #537667; font-size: .8rem; }
.intercession-own-body { margin: .65rem 0 .4rem; color: #566968; font-size: .8rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.intercession-own-expiry { margin: 0; color: #8b9691; font-size: .67rem; }
.intercession-manage-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .75rem; margin-top: .7rem; padding-top: .65rem; border-top: 1px solid #ecece5; }
.intercession-manage-actions form { display: flex; align-items: center; gap: .4rem; margin: 0; }
.intercession-manage-actions .button { min-height: 36px; padding: .5rem .7rem; font-size: .7rem; }
.intercession-extend-form select { width: auto; min-height: 36px; padding: .4rem .5rem; font-size: .7rem; }
.intercession-delete { padding: .3rem 0; border: 0; color: #8b6660; background: transparent; font-size: .7rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.intercession-delete:hover { color: #7b3434; }
.intercession-privacy { margin: 1rem 0 0; padding: .8rem .95rem; border-top: 1px solid #e4e5dc; color: #85908c; font-size: .69rem; line-height: 1.6; }
.intercession-notice { margin: 0 0 1rem; padding: .8rem .9rem; border: 1px solid #ccdfd0; border-radius: 8px; color: #41684e; background: #f1f7f0; font-size: .82rem; line-height: 1.5; }
.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; }

.social-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(290px, .9fr); align-items: start; gap: 1rem; }
.social-layout.profile-only-layout { grid-template-columns: minmax(0, 760px); justify-content: center; }
.social-profile-editor h2, .social-discovery-card h2 { margin: 0 0 .45rem; font-size: 1.55rem; }
.social-section-heading { display: flex; justify-content: space-between; align-items: center; gap: .7rem; }
.social-section-heading .eyebrow { margin-bottom: .25rem; }
.social-privacy-pill { padding: .35rem .55rem; border: 1px solid #dde4da; border-radius: 99px; color: #567364; background: #f3f7f0; font-size: .64rem; white-space: nowrap; }
.social-profile-editor > .muted, .social-discovery-card > .muted { margin: 0 0 1rem; font-size: .81rem; line-height: 1.55; }
.social-profile-form, .social-filter-form { display: flex; flex-direction: column; gap: .7rem; }
.social-field { display: flex; flex-direction: column; gap: .38rem; color: #345057; font-size: .78rem; font-weight: 700; }
.social-field > span small { color: #86918d; font-size: .67rem; font-weight: 500; }
.social-field input, .social-field select, .social-field textarea { width: 100%; min-height: 43px; padding: .6rem .7rem; border: 1px solid #d6d9d3; border-radius: 7px; color: var(--ink); background: #fff; font: inherit; font-weight: 400; }
.social-field textarea { min-height: 105px; resize: vertical; line-height: 1.55; }
.social-field input:focus, .social-field select:focus, .social-field textarea:focus { border-color: #8b9d90; outline: 3px solid rgb(139 157 144 / 20%); }
.social-field > small { color: #7b8885; font-size: .67rem; font-weight: 400; line-height: 1.45; }
.social-location-hint { margin: -.35rem 0 .05rem; color: #82908a; font-size: .66rem; line-height: 1.5; }
.social-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.social-location-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.social-goals { display: grid; gap: .5rem; min-width: 0; margin: .15rem 0 0; padding: .8rem; border: 1px solid #e4e6df; border-radius: 8px; }
.social-goals legend { padding: 0 .25rem; color: #345057; font-size: .76rem; font-weight: 750; }
.social-goal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .42rem; }
.social-check { display: flex; align-items: flex-start; gap: .45rem; color: #526966; font-size: .7rem; line-height: 1.4; cursor: pointer; }
.social-check input { flex: 0 0 auto; margin: .1rem 0 0; accent-color: #537765; }
.social-goals > small { color: #82908a; font-size: .66rem; line-height: 1.45; }
.social-links-editor { display: grid; gap: .55rem; min-width: 0; margin: .15rem 0 0; padding: .8rem; border: 1px solid #e4e6df; border-radius: 8px; }
.social-links-editor legend { padding: 0 .25rem; color: #345057; font-size: .76rem; font-weight: 750; }
.social-links-editor legend small { color: #86918d; font-size: .67rem; font-weight: 500; }
.social-links-editor > p { margin: 0; color: #7b8885; font-size: .7rem; line-height: 1.45; }
.social-links-editor > small { color: #82908a; font-size: .66rem; line-height: 1.45; }
.social-links-editor .social-field-grid { row-gap: .55rem; }
.social-public-toggle { margin-top: .1rem; }
.social-discovery-settings { display: flex; flex-direction: column; gap: .45rem; }
.social-discovery-settings[hidden] { display: none !important; }
.social-discovery-settings .save-choice { margin: 0; padding: .72rem; }
.social-profile-link { margin: .8rem 0 0; color: #81908a; font-size: .7rem; }
.social-profile-link a { color: #416a5b; font-weight: 700; }
.social-discovery-column { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.social-member-count { margin: -.2rem 0 .9rem; color: #7a8983; font-size: .72rem; }
.social-member-count strong { color: #507363; font-size: .95rem; }
.social-filter-form .social-field-grid { gap: .55rem; }
.social-filter-options { display: grid; gap: .65rem; min-width: 0; margin: 0; padding: .8rem; border: 1px solid #e4e6df; border-radius: 8px; }
.social-filter-options legend { padding: 0 .25rem; color: #345057; font-size: .73rem; font-weight: 750; }
.social-filter-options:disabled { opacity: .55; }
.social-draw-status { min-height: 1.4em; margin: .1rem 0 0; color: #778681; font-size: .71rem; line-height: 1.5; }
.social-filter-form button:disabled { cursor: not-allowed; opacity: .55; }
.social-care-note { padding: .85rem .95rem; border: 1px solid #e5e2d5; border-radius: 9px; color: #74807b; background: #f3f0e7; font-size: .72rem; line-height: 1.6; }
.social-care-note strong { color: #52615c; }
.social-connections-section { margin-top: 2.2rem; }
.social-list-group { margin: 0 0 .85rem; padding: .9rem 1rem; border: 1px solid #e0e2db; border-radius: 10px; background: var(--paper); }
.social-list-group h3 { margin: 0 0 .6rem; color: #506765; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .87rem; }
.social-connection-list { display: grid; gap: .45rem; }
.social-connection-item { display: flex; align-items: center; gap: .65rem; padding: .55rem 0; border-top: 1px solid #eff0ea; }
.social-connection-item:first-child { border-top: 0; }
.social-mini-avatar, .social-large-avatar { display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #f8f5e9; background: #587469; font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.social-mini-avatar { width: 34px; height: 34px; font-size: .95rem; }
.social-connection-copy { display: grid; flex: 1 1 auto; min-width: 0; gap: .15rem; }
.social-connection-copy a, .social-connection-copy strong { overflow: hidden; color: #3e5d55; font-size: .76rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.social-connection-copy small { color: #8b9691; font-size: .64rem; }
.social-connection-item form { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: .35rem; margin: 0; }
.social-connection-item .button { min-height: 34px; padding: .42rem .58rem; font-size: .65rem; }
.social-profile-modal { width: min(620px, calc(100% - 1rem)); max-height: min(90dvh, 850px); overflow: auto; padding: 0; border: 1px solid #e0e2db; border-radius: 14px; color: var(--ink); background: var(--paper); box-shadow: 0 25px 90px rgb(10 30 37 / 25%); }
.social-profile-modal::backdrop { background: rgb(11 32 38 / 62%); backdrop-filter: blur(3px); }
.social-modal-close { position: sticky; z-index: 1; top: 0; display: flex; justify-content: flex-end; margin: 0; padding: .65rem .7rem 0; background: linear-gradient(var(--paper) 72%, transparent); }
.icon-button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #e0e3db; border-radius: 50%; color: #5f7470; background: #fff; font-size: 1.35rem; cursor: pointer; }
.social-modal-content { padding: 0 1.35rem 1.4rem; }
.social-large-avatar { width: 76px; height: 76px; margin: -.2rem auto .8rem; font-size: 2rem; box-shadow: 0 0 0 5px #e8eee5; }
.social-modal-content > .eyebrow, .social-modal-content > h2, .social-modal-subtitle { text-align: center; }
.social-modal-content > .eyebrow { margin: 0 0 .2rem; }
.social-modal-content > h2 { margin: 0; font-size: 1.8rem; }
.social-modal-subtitle { margin: .4rem 0; color: #768581; font-size: .72rem; line-height: 1.5; }
.social-modal-goals { margin: .65rem 0 1rem; color: #527063; font-size: .73rem; font-weight: 700; line-height: 1.5; text-align: center; }
.social-modal-section { margin: .75rem 0; padding: .8rem .85rem; border: 1px solid #e5e7e0; border-radius: 8px; background: #fff; }
.social-modal-section[hidden] { display: none !important; }
.social-modal-section h3 { margin: 0 0 .35rem; color: #3b5e56; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .78rem; }
.social-modal-section p { margin: 0; color: #637470; font-size: .77rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.social-modal-detail { display: flex; justify-content: space-between; gap: .75rem; font-size: .73rem; }
.social-modal-detail strong { color: #435d57; }
.social-modal-detail span { color: #74817d; text-align: right; }
.social-modal-status { min-height: 1.3em; margin: .6rem 0; color: #778681; font-size: .69rem; line-height: 1.5; text-align: center; }
.social-modal-actions, .public-profile-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin-top: .8rem; }
.social-modal-actions .button, .public-profile-actions .button { min-height: 40px; padding: .62rem .8rem; font-size: .73rem; }
.social-modal-actions button:disabled { cursor: not-allowed; opacity: .6; }
.public-profile-shell { max-width: 790px; margin: 0 auto; }
.public-profile-back { display: inline-block; margin: 0 0 .8rem; color: #55716a; font-size: .75rem; }
.public-profile-card { padding: clamp(1.2rem, 4vw, 2rem); border: 1px solid #e0e2db; border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); }
.public-profile-heading { display: flex; align-items: center; gap: 1.1rem; padding-bottom: 1rem; border-bottom: 1px solid #e8e9e2; }
.public-profile-heading .social-large-avatar { flex: 0 0 76px; margin: 0; }
.public-profile-heading-copy { min-width: 0; }
.public-profile-heading-copy .eyebrow { margin: 0 0 .25rem; }
.public-profile-heading-copy h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.5rem); overflow-wrap: anywhere; }
.public-profile-admin-role { display: inline-flex; align-items: center; gap: .35rem; margin-top: .4rem; padding: .28rem .55rem; border: 1px solid #d8c58c; border-radius: 999px; color: #6e5927; background: #f8f1dc; font-size: .68rem; font-weight: 750; }
.public-profile-admin-role svg { width: 16px; height: 16px; flex: 0 0 16px; }
.public-profile-admin-role svg path:first-child { fill: #f6edcf; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.public-profile-admin-role svg path:last-child { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.public-profile-meta { margin: .35rem 0 0; color: #778681; font-size: .72rem; line-height: 1.55; }
.public-profile-friends { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin: .8rem 0 0; padding: .65rem .75rem; border: 1px solid #e4e9e1; border-radius: 9px; background: #f8faf6; }
.public-profile-friends > div { display: flex; align-items: baseline; gap: .55rem; }
.public-profile-friends .eyebrow { margin: 0; color: #74847b; font-size: .61rem; }
.public-profile-friends strong { color: #365c4d; font-family: Georgia, serif; font-size: 1.1rem; }
.public-profile-friends > small { color: #849088; font-size: .64rem; }
.public-profile-friends .button { margin: 0; }
.public-social-links { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; }
.public-social-link { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #dce4db; border-radius: 50%; color: #456359; background: #f4f7f1; transition: transform .15s ease, background .15s ease, color .15s ease; }
.public-social-link:hover { color: #fff; background: #35584f; transform: translateY(-1px); }
.public-social-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.public-social-link svg .icon-fill { fill: currentColor; stroke: none; }
.public-profile-section { margin-top: 1.1rem; }
.public-profile-section h2 { margin: 0 0 .4rem; color: #435f58; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .86rem; }
.public-profile-section > p { margin: 0; color: #5c6e69; font-size: .83rem; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.public-profile-activity-section { margin-top: 1rem; padding: clamp(.9rem, 3vw, 1.2rem); border: 1px solid #e0e5dc; border-radius: 12px; background: #f9faf6; }
.public-profile-activity-heading { display: flex; align-items: end; justify-content: space-between; gap: .8rem; }
.public-profile-activity-heading .eyebrow { margin: 0 0 .15rem; color: #829087; font-size: .6rem; }
.public-profile-activity-heading h2 { margin: 0; color: #435f58; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1rem; }
.public-profile-activity-heading > span { color: #829087; font-size: .64rem; white-space: nowrap; }
.public-profile-activity-section > p { margin: .45rem 0 0; color: #6e7d75; font-size: .68rem; line-height: 1.5; }
.public-profile-activity-section .activity-wall-list { margin-top: .65rem; }
.public-profile-activity-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .55rem; max-width: 790px; margin: .75rem auto 0; color: #7d8b84; font-size: .66rem; }
.public-profile-activity-pagination > div { display: flex; flex-wrap: wrap; gap: .4rem; }
.public-profile-activity-pagination .button { margin: 0; }
.social-profile-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.social-profile-tags span { padding: .38rem .6rem; border: 1px solid #dfe6dd; border-radius: 999px; color: #527063; background: #f4f7f0; font-size: .66rem; }
.public-profile-connection-state { margin: 1rem 0 0; color: #59736b; font-size: .78rem; line-height: 1.5; text-align: center; }
.public-profile-connection-state a { color: #365f51; font-weight: 700; }
.public-profile-footnote { margin: 1.2rem 0 0; padding-top: .75rem; border-top: 1px solid #eaebe4; color: #929b96; font-size: .65rem; line-height: 1.5; text-align: center; }
.public-profile-dialog { width: min(94vw, 560px); max-height: min(88dvh, 720px); overflow: auto; padding: 1.1rem; border: 1px solid #dce2d9; border-radius: 14px; color: var(--ink); background: var(--paper); box-shadow: 0 20px 80px #1c332e55; }
.public-profile-dialog::backdrop { background: #172b2780; backdrop-filter: blur(2px); }
.public-profile-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; margin-bottom: .7rem; }
.public-profile-dialog-heading .eyebrow { margin: 0 0 .25rem; }
.public-profile-dialog-heading h2 { margin: 0; color: #31564d; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.15rem; overflow-wrap: anywhere; }
.public-profile-dialog > p { font-size: .72rem; line-height: 1.5; }
.public-profile-dialog-actions { display: flex; justify-content: flex-end; gap: .45rem; margin-top: .7rem; }
.public-profile-report-form { display: grid; gap: .65rem; }
.public-profile-report-form .mission-field { min-width: 0; }
.public-profile-report-form select, .public-profile-report-form textarea { width: 100%; max-width: 100%; }
.public-friends-list { display: grid; gap: .35rem; max-height: 55dvh; overflow-y: auto; margin: .7rem 0 0; padding: 0; list-style: none; }
.public-friends-list li { min-width: 0; }
.public-friends-list a { display: flex; align-items: center; gap: .55rem; min-width: 0; padding: .5rem; border: 1px solid #e8ebe5; border-radius: 8px; color: #38584e; background: #fff; text-decoration: none; }
.public-friends-list a:hover { background: #f4f8f2; }
.public-friend-avatar { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; overflow: hidden; border-radius: 50%; color: #f8f5e9; background: #587469; font-weight: 750; }
.public-friend-avatar img { width: 100%; height: 100%; object-fit: cover; }
.public-friends-list strong { min-width: 0; overflow: hidden; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.public-friends-list a > span:last-child { margin-left: auto; color: #849088; font-size: .62rem; white-space: nowrap; }
.public-service-hidden-note { display: grid; gap: .2rem; margin-top: .75rem; padding: .7rem .75rem; border: 1px solid #e7dec7; border-radius: 8px; color: #665b3f; background: #fbf8ed; }
.public-service-hidden-note strong { font-size: .72rem; }
.public-service-hidden-note span { font-size: .67rem; line-height: 1.5; }
.social-notice { margin: 0 0 1rem; padding: .8rem .9rem; border: 1px solid #ccdfd0; border-radius: 8px; color: #41684e; background: #f1f7f0; font-size: .82rem; line-height: 1.5; }
.activity-visibility-field { margin: -.25rem 0 .15rem; }
.profile-media-editor { margin: 1rem 0; padding: 1rem; border: 1px solid #e4e7df; border-radius: 10px; background: #fafbf8; }
.profile-media-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.profile-media-heading h3 { margin: 0 0 .25rem; color: #435f58; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .9rem; }
.profile-media-heading .muted { margin: 0; font-size: .7rem; line-height: 1.5; }
.profile-avatar-preview, .social-large-avatar img { overflow: hidden; border-radius: 50%; }
.profile-avatar-preview { display: grid; flex: 0 0 66px; width: 66px; height: 66px; place-items: center; color: #f8f5e9; background: #587469; font: 700 1.5rem Georgia,serif; }
.profile-avatar-preview img, .social-large-avatar img { width: 100%; height: 100%; object-fit: cover; }
.social-large-avatar [data-social-initial] { position: relative; z-index: 1; }
.social-large-avatar img:not([hidden]) { position: absolute; inset: 0; }
.social-large-avatar { position: relative; overflow: hidden; }
.moderation-context { margin: .7rem 0; padding: .65rem; border: 1px solid #e6e9e2; border-radius: 7px; color: #5d7068; background: #fafbf8; font-size: .68rem; }
.moderation-context summary { cursor: pointer; font-weight: 700; }
.moderation-context p { padding-top: .5rem; border-top: 1px solid #eceee8; line-height: 1.5; overflow-wrap: anywhere; }
.profile-media-upload-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; margin-top: .9rem; }
.profile-media-upload-grid form { display: grid; justify-items: start; gap: .45rem; padding: .7rem; border: 1px solid #eceee8; border-radius: 8px; background: #fff; }
.profile-media-upload-grid input[type="file"] { width: 100%; min-width: 0; color: #667570; font-size: .68rem; }
.profile-media-gallery { display: flex; gap: .65rem; overflow-x: auto; padding: .8rem 0 .2rem; }
.profile-media-gallery figure { flex: 0 0 120px; margin: 0; }
.profile-media-gallery img { width: 120px; height: 90px; border-radius: 7px; object-fit: cover; background: #e9ede7; }
.profile-media-gallery figcaption { display: flex; align-items: center; justify-content: space-between; gap: .3rem; padding-top: .25rem; color: #788681; font-size: .63rem; }
.profile-media-gallery figcaption form { margin: 0; }
.profile-cover-carousel { display: grid; grid-auto-columns: minmax(75%, 1fr); grid-auto-flow: column; gap: .65rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; }
.profile-cover-carousel figure { min-width: 0; margin: 0; scroll-snap-align: start; }
.profile-cover-carousel img { display: block; width: 100%; max-height: 300px; aspect-ratio: 16 / 8; border-radius: 9px; object-fit: cover; background: #e9ede7; }
.public-profile-covers { margin-top: 1rem; }
.public-profile-covers > p { margin: .3rem 0 0; color: #8a9590; font-size: .62rem; text-align: right; }
.messages-layout { display: grid; grid-template-columns: minmax(230px,.72fr) minmax(0,1.5fr); align-items: start; gap: .9rem; }
.messages-sidebar h2 { margin: 0 0 .7rem; color: #3e5d55; font-size: 1.1rem; }
.message-conversation-list { display: grid; gap: .35rem; }
.message-conversation-link { display: flex; align-items: center; gap: .55rem; min-width: 0; padding: .55rem; border-radius: 8px; color: inherit; text-decoration: none; }
.message-conversation-link:hover, .message-conversation-link.is-current { background: #f0f4ef; }
.message-conversation-link .social-mini-avatar { object-fit: cover; }
.message-conversation-link img.social-mini-avatar, .activity-wall-author img.social-mini-avatar { width: 34px; height: 34px; object-fit: cover; }
.message-conversation-copy { display: grid; flex: 1 1 auto; min-width: 0; gap: .2rem; }
.message-conversation-copy strong { overflow: hidden; color: #3e5d55; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.message-conversation-copy small { overflow: hidden; color: #84908b; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.message-unread-count { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: white; background: #547765; font-size: .62rem; font-weight: 700; }
.messages-thread { min-width: 0; }
.messages-thread-heading { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding-bottom: .7rem; border-bottom: 1px solid #eceee8; }
.messages-thread-heading .eyebrow { margin: 0 0 .2rem; }
.messages-thread-heading h2 { margin: 0; color: #3e5d55; font-size: 1.15rem; }
.message-list { display: flex; min-height: 250px; max-height: 55vh; flex-direction: column; gap: .5rem; overflow-y: auto; padding: .8rem 0; }
.direct-message { max-width: 88%; padding: .55rem .7rem; border: 1px solid #e7eae3; border-radius: 9px 9px 9px 2px; background: #f7f8f4; }
.direct-message.is-mine { align-self: flex-end; border-color: #d8e4d9; border-radius: 9px 9px 2px 9px; background: #edf4eb; }
.direct-message-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .2rem; color: #71827b; font-size: .6rem; }
.direct-message-meta strong { color: #426356; }
.direct-message-body { margin: 0; color: #475c56; font-size: .76rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.direct-message-media { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .45rem; }
.direct-message-media img { width: min(220px, 100%); max-height: 280px; border: 1px solid #dce5dc; border-radius: 8px; object-fit: cover; }
.message-composer { display: grid; justify-items: end; gap: .45rem; padding-top: .7rem; border-top: 1px solid #eceee8; }
.message-composer .social-field { width: 100%; }
.conversation-safety { margin-top: .8rem; padding-top: .6rem; border-top: 1px solid #eceee8; color: #677974; font-size: .7rem; }
.conversation-safety summary, .blocked-members summary { cursor: pointer; }
.conversation-safety-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: .7rem; padding-top: .6rem; }
.conversation-safety-actions form { display: grid; align-content: start; gap: .45rem; }
.blocked-members { margin-top: 1rem; padding-top: .7rem; border-top: 1px solid #eceee8; color: #667570; font-size: .68rem; }
.blocked-members form { display: flex; align-items: center; justify-content: space-between; gap: .4rem; padding: .4rem 0; }
.activity-wall-list { display: grid; max-width: 790px; gap: .7rem; margin: 0 auto; }
.activity-wall-card { min-width: 0; }
.activity-wall-author { display: flex; align-items: center; gap: .55rem; }
.activity-wall-author .social-mini-avatar { object-fit: cover; }
.activity-wall-author a, .activity-wall-author strong { color: #3e5d55; font-size: .77rem; font-weight: 750; text-decoration: none; }
.activity-wall-author p { margin: .15rem 0 0; color: #81908a; font-size: .65rem; }
.activity-wall-author time { font: inherit; }
.activity-wall-note { display: flex; gap: .35rem; margin: .75rem 0 .45rem; padding: .55rem .7rem; border: 1px solid #e9e3d2; border-radius: 9px; color: #54655d; background: #fbf8ef; }
.activity-wall-note-mark { flex: 0 0 auto; color: #b0975c; font: 700 1.4rem/1 Georgia,serif; }
.activity-wall-note p { margin: 0; font-size: .78rem; line-height: 1.5; overflow-wrap: anywhere; }
.activity-wall-result { margin: .75rem 0 .55rem; padding: .75rem .85rem; border-left: 3px solid #c7a95e; border-radius: 0 8px 8px 0; background: #f7f5ec; }
.activity-wall-result-label { margin: 0 0 .28rem; color: #8b7546; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bible-highlight-indicator { display: inline-block; width: .58rem; height: .58rem; margin: 0 .38rem .02rem 0; border: 1px solid rgba(55,66,57,.2); border-radius: 50%; background: #f5f4ec; vertical-align: middle; }
.bible-highlight-indicator[data-color=yellow] { background: #f2d96e; }
.bible-highlight-indicator[data-color=green] { background: #9cc58c; }
.bible-highlight-indicator[data-color=blue] { background: #96c8db; }
.bible-highlight-indicator[data-color=pink] { background: #e3a9ad; }
.bible-highlight-indicator[data-color=purple] { background: #bd9cda; }
.bible-highlight-indicator[data-color=orange] { background: #eab17b; }
.bible-highlight-indicator[data-color=teal] { background: #79c1b3; }
.activity-wall-result-meta { margin: 0 0 .45rem; color: #6d7b74; font-size: .72rem; line-height: 1.45; }
.activity-wall-result-meta span, .activity-wall-weather span { color: #a4956e; }
.activity-wall-result-text { margin: 0; color: #425a54; font-family: Georgia, "Times New Roman", serif; font-size: .95rem; line-height: 1.55; overflow-wrap: anywhere; }
.activity-wall-weather { margin-top: .65rem; padding-top: .55rem; border-top: 1px solid rgba(103, 126, 110, .18); color: #5d7066; font-size: .72rem; line-height: 1.5; }
.activity-wall-weather strong { color: #48645a; font-size: .68rem; }
.activity-wall-weather p { margin: .15rem 0 0; }
.activity-wall-weather a { display: inline-block; margin-top: .25rem; color: #48645a; font-size: .68rem; font-weight: 700; }
.activity-wall-comment:focus { outline: 2px solid rgba(74, 120, 102, .5); outline-offset: 3px; }
.activity-wall-related-profile { display: flex; align-items: center; gap: .55rem; max-width: 380px; margin: .55rem 0; padding: .45rem .6rem; border: 1px solid #e4eae1; border-radius: 10px; color: #486359; background: #fafbf8; text-decoration: none; }
.activity-wall-related-profile > span:nth-child(2) { display: grid; flex: 1 1 auto; gap: .12rem; }
.activity-wall-related-profile small { color: #89968f; font-size: .58rem; }
.activity-wall-related-profile strong { font-size: .72rem; }
.activity-wall-related-profile > span:last-child { color: #8d9b91; }
.activity-wall-related-avatar { display: grid; width: 34px; height: 34px; flex: 0 0 auto; overflow: hidden; place-items: center; border-radius: 50%; color: #557061; background: #e8eee5; font-size: .8rem; font-weight: 750; }
.activity-wall-related-avatar img { width: 100%; height: 100%; object-fit: cover; }
.activity-wall-destination { margin: .35rem 0; font-size: .65rem; }
.activity-share-settings { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: .5rem; margin: .7rem 0 0; }
.activity-share-audience { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: .45rem; color: #71817b; font-size: .65rem; }
.activity-share-settings select { min-width: 0; min-height: 34px; padding: .3rem .45rem; border: 1px solid #dce2da; border-radius: 6px; color: #526a60; background: #fff; font-size: .65rem; }
.activity-share-note { display: grid; grid-column: 1/-1; gap: .3rem; color: #71817b; font-size: .65rem; }
.activity-share-note span small { color: #9aa39f; font-size: .58rem; }
.activity-share-note textarea { width: 100%; min-height: 48px; padding: .5rem .6rem; border: 1px solid #e0e4dc; border-radius: 7px; color: #344e47; font: inherit; font-size: .7rem; line-height: 1.45; resize: vertical; }
.activity-share-settings > button { justify-self: end; }
.activity-wall-delete { margin: .2rem 0 .3rem; text-align: right; }
.activity-visibility-label { margin: .55rem 0 0; color: #87938d; font-size: .61rem; }
.activity-wall-engagement { margin-top: .65rem; padding-top: .6rem; border-top: 1px solid #eef0ea; }
.activity-wall-reactions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.activity-wall-reactions form, .activity-wall-comment-actions form { margin: 0; }
.activity-reaction-button, .activity-reaction-public { display: inline-flex; align-items: center; gap: .32rem; min-height: 42px; padding: .35rem .62rem; border: 1px solid #e2e8df; border-radius: 999px; color: #65756c; background: #f7f8f4; font-size: .68rem; line-height: 1; }
.activity-reaction-button { cursor: pointer; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.activity-reaction-button:hover { transform: translateY(-1px); border-color: #c8d5c8; background: #edf2eb; }
.activity-reaction-button.is-selected { border-color: #b8ccbd; color: #355d4c; background: #e7f1e8; }
.activity-reaction-button:focus-visible { outline: 3px solid #b29454; outline-offset: 2px; }
.activity-reaction-emoji { font-size: .92rem; line-height: 1; }
.activity-reaction-label { font-size: .65rem; font-weight: 700; white-space: nowrap; }
.activity-reaction-count { min-width: .55rem; color: #87958b; font-size: .63rem; font-variant-numeric: tabular-nums; text-align: center; }
.activity-wall-comment-total { margin-left: auto; color: #88958e; font-size: .63rem; }
.activity-wall-comments { display: grid; gap: .4rem; margin-top: .6rem; }
.activity-wall-comments-limit { margin: 0; color: #929c97; font-size: .61rem; }
.activity-wall-comments-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .75rem; }
.activity-wall-comments-pagination > div { display: flex; flex-wrap: wrap; gap: .35rem .7rem; }
.activity-wall-comments-pagination .text-link, .activity-wall-comments-limit .text-link { font-size: inherit; }
.activity-wall-comment { min-width: 0; padding: .55rem .6rem; border: 1px solid #edf0ea; border-radius: 9px; background: #fafbf8; }
.activity-wall-comment.is-reply { margin-left: clamp(.65rem, 4vw, 2rem); border-left: 2px solid #cfdbc9; background: #fff; }
.activity-wall-comment-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .45rem; }
.activity-comment-author { color: #456559; font-size: .66rem; font-weight: 750; text-decoration: none; }
.activity-comment-author[href]:hover { text-decoration: underline; }
.activity-comment-reply-context, .activity-wall-comment-meta time { color: #929c97; font-size: .58rem; }
.activity-wall-comment-body { margin: .27rem 0 .35rem; color: #64756f; font-size: .69rem; line-height: 1.5; overflow-wrap: anywhere; }
.activity-wall-comment-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.activity-comment-heart { padding: 0; border: 0; color: #8b9991; background: none; cursor: pointer; font-size: .65rem; }
.activity-comment-heart.is-selected { color: #a65058; }
.activity-comment-heart-static { cursor: default; }
.activity-comment-heart span { color: #87938d; }
.activity-comment-reply > summary { color: #567261; cursor: pointer; font-size: .62rem; }
.activity-comment-reply form { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: .35rem; margin-top: .35rem; }
.activity-comment-reply textarea { min-width: 0; padding: .4rem .5rem; border: 1px solid #e0e4dc; border-radius: 7px; color: #344e47; font: inherit; font-size: .65rem; resize: vertical; }
.activity-wall-first-comment { margin: .65rem 0 0; color: #929c97; font-size: .65rem; }
.activity-wall-comment-form { display: flex; gap: .4rem; margin: .6rem 0 0; }
.activity-wall-comment-form input { flex: 1 1 auto; min-width: 0; padding: .55rem .65rem; border: 1px solid #e0e4dc; border-radius: 999px; color: #344e47; font-size: .69rem; }
.activity-wall-guest-prompt { margin: .6rem 0 0; color: #849088; font-size: .66rem; }
.activity-wall-guest-prompt a { color: #456559; font-weight: 700; }
.activity-wall-inline-status, .activity-wall-live-status { margin: .4rem 0 0; color: #5b7568; font-size: .64rem; }
.activity-wall-inline-status:not([hidden]), .activity-wall-live-status:not([hidden]) { max-width: 790px; margin: .4rem auto; padding: .35rem .5rem; border-radius: 7px; background: #f2f6ef; }
.activity-wall-inline-status.is-error { color: #9a4e52; background: #fff1ef; }
.activity-wall-card [aria-busy="true"] { opacity: .72; }
.activity-history-pagination { display: flex; align-items: center; justify-content: center; gap: .75rem; max-width: 790px; margin: 1rem auto; color: #7d8b84; font-size: .68rem; }
.moderation-list { display: grid; gap: .6rem; }
.moderation-card h2 { margin: 0 0 .4rem; color: #3e5d55; font-size: 1rem; }
.moderation-card > p:not(.eyebrow) { color: #687873; font-size: .78rem; line-height: 1.5; }
.moderation-message-media { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 .7rem; }
.moderation-message-media img { width: min(190px, 100%); max-height: 240px; border: 1px solid #dce5dc; border-radius: 7px; object-fit: cover; }
.moderation-review-form { display: flex; flex-wrap: wrap; align-items: end; gap: .4rem; }
.moderation-review-form .social-field { flex: 1 1 100%; }
.activity-share-settings button, .activity-wall-comment-form button, .moderation-review-form button { flex: 0 0 auto; }
.activity-share-note-field[hidden] { display: none !important; }
.activity-share-note-field textarea { min-height: 62px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }

@media (max-width: 820px) {
  .intercession-layout { grid-template-columns: 1fr; }
  .social-layout { grid-template-columns: 1fr; }
  .messages-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .intercession-layout { gap: .75rem; }
  .intercession-compose h2, .intercession-draw-card h2 { font-size: 1.5rem; }
  .intercession-own-heading { flex-direction: column; gap: .35rem; }
  .intercession-count { text-align: left; }
  .intercession-manage-actions { align-items: stretch; }
  .intercession-extend-form { flex-wrap: wrap; }
  .social-field-grid, .social-location-grid { grid-template-columns: 1fr; }
  .social-goal-grid { grid-template-columns: 1fr; }
  .social-section-heading { align-items: flex-start; flex-direction: column; }
  .social-connection-item { align-items: flex-start; flex-wrap: wrap; }
  .social-connection-item > form { width: 100%; margin-left: 2.7rem; }
  .public-profile-heading { align-items: flex-start; flex-direction: column; }
  .public-profile-heading .social-large-avatar { margin: .2rem 0; }
  .social-modal-content { padding: 0 1rem 1.1rem; }
  .social-modal-actions { display: grid; grid-template-columns: 1fr; }
  .social-modal-actions .button { width: 100%; }
  .profile-media-upload-grid, .conversation-safety-actions { grid-template-columns: 1fr; }
  .activity-wall-comment-form { align-items: stretch; }
  .activity-share-settings { grid-template-columns: minmax(0,1fr) auto; }
  .activity-share-audience { grid-template-columns: minmax(0,1fr); }
  .activity-share-audience select { width: 100%; }
  .activity-comment-reply form { grid-template-columns: minmax(0,1fr); }
  .app-header .primary-nav { flex-wrap: wrap; gap: .6rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.mission-mode-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 0 0 1rem; }
.mission-mode-tab { display: grid; gap: .28rem; min-height: 78px; padding: .8rem 1rem; border: 1px solid #d9ded5; border-radius: 10px; color: #526762; text-align: left; background: #fbfaf5; cursor: pointer; }
.mission-mode-tab strong { color: #34534b; font-size: .92rem; }
.mission-mode-tab small { color: #73827b; font-size: .72rem; line-height: 1.45; }
.mission-mode-tab[aria-selected="true"] { border-color: #789484; color: var(--deep); background: #edf3eb; box-shadow: inset 0 0 0 1px #789484; }
.mission-mode-tab[aria-selected="true"] strong { color: #284b40; }
.mission-tab-panel { min-width: 0; }
.mission-tab-panel[hidden] { display: none !important; }
.mission-tab-panel > .mission-beacon-hub { margin-top: 0; }
.mission-layout { display: grid; grid-template-columns: minmax(290px, .82fr) minmax(0, 1.18fr); align-items: start; gap: 1.15rem; }
.mission-form { display: flex; flex-direction: column; gap: .8rem; }
.mission-form-heading h2, .mission-map-heading h2 { margin-bottom: .4rem; font-size: 1.7rem; }
.mission-form-heading .muted { margin: 0; font-size: .84rem; line-height: 1.6; }
.mission-field { display: flex; flex-direction: column; gap: .45rem; color: #345057; font-size: .82rem; font-weight: 700; }
.mission-field select, .mission-field input[type="text"] { width: 100%; min-height: 46px; padding: .65rem .75rem; border: 1px solid #d6d9d3; border-radius: 7px; color: var(--ink); background: #fff; }
.mission-field select:focus, .mission-field input[type="text"]:focus { border-color: #8b9d90; outline: 3px solid rgb(139 157 144 / 20%); }
.mission-local-controls { display: flex; flex-direction: column; gap: .8rem; }
.mission-local-controls[hidden], .mission-field[hidden], .mission-result[hidden], .mission-result-actions [hidden] { display: none !important; }
.mission-quality-field { display: grid; gap: .45rem; margin: 0; padding: 0; border: 0; }
.mission-quality-field legend { margin-bottom: .1rem; color: #345057; font-size: .82rem; font-weight: 750; }
.mission-quality-card { display: flex; align-items: flex-start; gap: .6rem; padding: .72rem .78rem; border: 1px solid #dfe3db; border-radius: 8px; background: #fffefa; cursor: pointer; }
.mission-quality-card:has(input:checked) { border-color: #789484; background: #f0f5ef; box-shadow: inset 0 0 0 1px #789484; }
.mission-quality-card input { flex: 0 0 auto; margin: .18rem 0 0; accent-color: #537765; }
.mission-quality-card > span { display: flex; flex-direction: column; gap: .18rem; }
.mission-quality-card strong { color: #345057; font-size: .78rem; }
.mission-quality-card small, .mission-quality-footnote { color: #788682; font-size: .7rem; font-weight: 400; line-height: 1.5; }
.mission-quality-footnote { margin: .1rem 0 0; }
.mission-range-field label { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
.mission-range-field output { color: #547667; font-variant-numeric: tabular-nums; }
.mission-range-field input { width: 100%; margin: .35rem 0 0; accent-color: #537765; }
.mission-range-field small, .mission-field small { color: #7b8885; font-size: .72rem; font-weight: 400; line-height: 1.5; }
.range-endpoints { display: flex; justify-content: space-between; color: #8a9691; font-size: .68rem; font-weight: 500; }
.mission-location-control { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.mission-location-buttons { display: flex; flex-wrap: wrap; gap: .45rem; }
.mission-location-buttons .button { min-height: 40px; font-size: .75rem; }
.mission-location-buttons .button:disabled { cursor: not-allowed; opacity: .55; }
.mission-location-control .field-hint { margin: 0; line-height: 1.5; }
.mission-external-note { margin: -.25rem 0 0; padding: .65rem .75rem; border-left: 2px solid #c9a85b; color: #798581; background: #f7f4eb; font-size: .69rem; line-height: 1.55; }
.mission-form .save-choice { margin-top: 0; }
.mission-prayer { border-color: #dfd5b7; background: #fbf8ef; }
.mission-form .form-footnote { margin: -.15rem 0 0; text-align: center; }
.mission-map-column { display: flex; flex-direction: column; gap: .85rem; min-width: 0; }
.mission-map-card { overflow: hidden; border: 1px solid #e0e2db; border-radius: 12px; background: var(--paper); box-shadow: 0 7px 24px rgb(20 43 49 / 4%); }
.mission-map-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: .8rem; padding: 1rem 1.1rem .75rem; }
.mission-map-heading .eyebrow { margin-bottom: .2rem; }
.mission-map-heading h2 { margin: 0; }
.mission-map-heading > a { color: #54706d; font-size: .69rem; white-space: nowrap; }
.mission-map { width: 100%; height: clamp(350px, 51vw, 550px); background: #e9ece6; }
.mission-map .leaflet-control-attribution { font-size: 9px; }
.mission-map-status { min-height: 1.25em; margin: 0; padding: .55rem .8rem; color: #7c8987; font-size: .72rem; line-height: 1.45; }
.mission-result { display: grid; gap: .35rem; padding: 1.1rem 1.2rem; border: 1px solid #e0dfd5; border-left: 4px solid #73877c; border-radius: 10px; background: var(--paper); box-shadow: 0 8px 26px rgb(20 43 49 / 5%); }
.mission-result[data-zone="prayer"] { border-left-color: #397fc1; }
.mission-result[data-zone="outreach"] { border-left-color: #d68732; }
.mission-result[data-zone="conversation"] { border-left-color: #8c69b5; }
.mission-result[data-zone="quiet"] { border-left-color: #5e9971; }
.mission-result[data-zone="pause"] { border-left-color: #bd5750; }
.mission-result .eyebrow { margin: 0; }
.mission-result h2 { margin: 0; font-size: 1.65rem; }
.mission-result-location { margin: 0; color: #516b68; font-weight: 700; font-size: .88rem; }
.mission-result-guidance { margin: .15rem 0 0; color: #566968; font-size: .82rem; line-height: 1.55; }
.mission-result-details { margin: .1rem 0; color: #83908d; font-size: .72rem; }
.mission-quality-note { margin: .2rem 0; color: #647874; font-size: .74rem; line-height: 1.55; }
.mission-weather { display: grid; gap: .25rem; margin: .35rem 0; padding: .75rem .85rem; border: 1px solid #dce4dd; border-radius: 8px; background: #f6f8f3; }
.mission-weather[hidden] { display: none !important; }
.mission-weather h3 { margin: 0; color: #345057; font-size: .85rem; }
.mission-weather-summary, .mission-weather-detail, .mission-weather-alerts { margin: 0; color: #566968; font-size: .74rem; line-height: 1.5; }
.mission-weather-alerts { color: #9b4c35; font-weight: 700; }
.mission-weather a { width: fit-content; color: #486c5b; font-size: .68rem; font-weight: 700; }
.mission-weather-disclaimer { margin: .25rem 0 0; color: #7b8782; font-size: .65rem; line-height: 1.45; }
.mission-result-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.mission-result-actions .button { min-height: 40px; font-size: .78rem; }
.mission-safety-note { padding: .85rem 1rem; border: 1px solid #e5e2d5; border-radius: 9px; color: #6c7774; background: #f3f0e7; font-size: .75rem; line-height: 1.6; }
.mission-safety-note strong { color: #52615c; }
.mission-legend { margin-top: 1.35rem; padding: 1rem 1.1rem; border: 1px solid #e1e3dc; border-radius: 10px; background: rgb(255 254 250 / 70%); }
.mission-legend h2 { margin: 0 0 .8rem; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .86rem; font-weight: 750; }
.mission-legend ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .65rem; margin: 0; padding: 0; list-style: none; }
.mission-legend li { display: flex; align-items: flex-start; gap: .45rem; min-width: 0; }
.mission-legend li > span:last-child { display: flex; flex-direction: column; gap: .15rem; }
.mission-legend strong { color: #445c59; font-size: .7rem; line-height: 1.35; }
.mission-legend small { color: #85908c; font-size: .65rem; line-height: 1.4; }
.zone-swatch { flex: 0 0 12px; width: 12px; height: 12px; margin-top: .08rem; border-radius: 50%; }
.zone-blue { background: #397fc1; }.zone-orange { background: #d68732; }.zone-purple { background: #8c69b5; }.zone-green { background: #5e9971; }.zone-red { background: #bd5750; }
.mission-privacy { margin-top: .8rem; border-top: 1px solid #e1e3dc; border-bottom: 1px solid #e1e3dc; }
.mission-privacy summary { padding: .8rem 0; color: #486563; font-size: .79rem; font-weight: 700; cursor: pointer; }
.mission-privacy div { max-width: 930px; padding: 0 0 .65rem; }
.mission-privacy p { margin: 0 0 .55rem; color: #7d8985; font-size: .72rem; line-height: 1.6; }
.mission-attribution { margin: .75rem 0 0; color: #85908c; font-size: .67rem; line-height: 1.5; }
.mission-attribution a { color: #56706c; }

.mission-map-status.is-error, .mission-beacon-form-status.is-error { color: #a2473c; }
.mission-beacon-hub { display: grid; gap: .9rem; margin: 1.4rem 0; padding: 1rem; border: 1px solid #dbe4dc; border-radius: 16px; background: linear-gradient(145deg, #f7faf5, #eff5ef); }
.mission-beacon-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.mission-beacon-heading h2 { margin: .1rem 0 .35rem; color: #2f5047; font-size: clamp(1.3rem, 3vw, 1.8rem); }
.mission-beacon-heading p:not(.eyebrow) { max-width: 720px; margin: 0; color: #677870; font-size: .8rem; line-height: 1.55; }
.mission-beacon-status { flex: 0 0 auto; padding: .35rem .6rem; border: 1px solid #ead6b6; border-radius: 999px; color: #856323; background: #fff8e9; font-size: .66rem; font-weight: 750; }
.mission-beacon-status.is-on { border-color: #c8ddcb; color: #3c704d; background: #eff8ee; }
.mission-beacon-emergency { display: grid; gap: .15rem; padding: .75rem .9rem; border: 1px solid #e6c8be; border-radius: 9px; color: #7d453c; background: #fff4ef; font-size: .76rem; line-height: 1.5; }
.mission-beacon-emergency strong { color: #9b4338; }
.mission-beacon-empty { margin: 0; padding: .8rem; border: 1px dashed #d1d9d1; border-radius: 8px; color: #697a71; font-size: .78rem; }
.mission-beacon-layout { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr); align-items: start; gap: .9rem; }
.mission-beacon-layout.has-active-broadcast { grid-template-columns: minmax(0, 1fr); }
.mission-beacon-card { min-width: 0; padding: .9rem; border: 1px solid #e0e5dc; border-radius: 12px; background: #fffefa; }
.mission-beacon-card[hidden], [data-team-size][hidden], [data-custom-event-capacity][hidden] { display: none !important; }
.mission-beacon-card > summary { display: flex; justify-content: space-between; align-items: center; gap: .7rem; cursor: pointer; list-style: none; color: #31564d; }
.mission-beacon-card > summary::-webkit-details-marker { display: none; }
.mission-beacon-card > summary strong { display: block; font-size: .95rem; }
.mission-beacon-card > summary > span:last-child { color: #668276; font-size: 1.2rem; }
.mission-beacon-form { display: grid; gap: .65rem; margin-top: .85rem; }
.mission-beacon-form .mission-field { margin: 0; }
.mission-beacon-form textarea, .mission-beacon-dialog textarea { width: 100%; padding: .65rem .75rem; border: 1px solid #d6dcd4; border-radius: 8px; color: var(--ink); background: #fff; font: inherit; font-size: .8rem; resize: vertical; }
.mission-beacon-form-status { min-height: 1.2em; margin: 0; color: #64776c; font-size: .7rem; line-height: 1.45; }
.mission-beacon-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.mission-beacon-ack { display: flex; align-items: flex-start; gap: .55rem; padding: .65rem; border: 1px solid #e0d8bf; border-radius: 8px; color: #635a43; background: #fbf8ef; font-size: .69rem; line-height: 1.5; }
.mission-beacon-ack input { flex: 0 0 auto; margin: .12rem 0 0; accent-color: #537765; }
.mission-beacon-privacy { margin: 0; color: #718078; font-size: .68rem; line-height: 1.55; }
.mission-beacon-discovery { display: grid; gap: .75rem; min-width: 0; }
.mission-beacon-map { height: 330px; }
.mission-beacon-map-heading { align-items: center; }
.mission-beacon-discovery-controls { display: grid; grid-template-columns: minmax(125px, auto) max-content; align-items: end; gap: .4rem .55rem; }
.mission-beacon-discovery-controls .mission-field { min-width: 125px; margin: 0; font-size: .7rem; }
.mission-beacon-discovery-controls .button { white-space: nowrap; }
.mission-beacon-availability { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; min-height: 28px; padding: .28rem .48rem; border: 1px solid #dfe5df; border-radius: 7px; color: #66766d; background: #f4f6f2; font-size: .64rem; font-weight: 750; line-height: 1.3; }
.mission-beacon-availability.is-available { border-color: #bbd9c1; color: #2e6944; background: #eaf7ec; }
.mission-beacon-availability.is-empty, .mission-beacon-availability.is-error { border-color: #e4c5c0; color: #96453d; background: #fff0ed; }
.mission-beacon-list-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .55rem; margin-bottom: .5rem; }
.mission-beacon-list-heading h3 { margin: 0; color: #31564d; font-size: 1rem; }
.mission-beacon-list-heading .mission-field { min-width: 125px; margin: 0; font-size: .7rem; }
.mission-beacon-lists section { margin-top: .75rem; }
.mission-beacon-lists section h4 { margin: 0 0 .4rem; color: #496359; font-size: .78rem; }
.mission-beacon-count { display: inline-grid; min-width: 1.45rem; height: 1.25rem; place-items: center; margin-left: .25rem; padding: 0 .32rem; border: 1px solid #dce5dc; border-radius: 6px; color: #496357; background: #f2f6f0; font-size: .65rem; font-weight: 800; line-height: 1; vertical-align: .05rem; }
.mission-beacon-items { display: grid; gap: .45rem; }
.mission-beacon-item { display: grid; gap: .35rem; padding: .65rem; border: 1px solid #e4e9e2; border-left: 3px solid #5e9971; border-radius: 8px; background: #fff; }
.mission-beacon-item.color-prayer { border-left-color: #397fc1; }
.mission-beacon-item.color-outreach { border-left-color: #d68732; }
.mission-beacon-item.color-conversation { border-left-color: #8c69b5; }
.mission-beacon-item.color-quiet { border-left-color: #5e9971; }
.mission-beacon-item.color-pause { border-left-color: #bd5750; }
.mission-beacon-item p { margin: 0; color: #52675f; font-size: .74rem; line-height: 1.5; overflow-wrap: anywhere; }
.mission-beacon-item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .55rem; }
.mission-beacon-item-top strong, .mission-beacon-item > strong { color: #35564c; font-size: .76rem; }
.mission-beacon-distance { color: #6b7b73; font-size: .66rem; white-space: nowrap; }
.mission-beacon-meta { color: #7c8982 !important; font-size: .66rem !important; }
.mission-beacon-item-actions { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .15rem; }
.mission-beacon-offers { display: grid; gap: .35rem; margin-top: .2rem; }
.mission-beacon-offer { display: grid; gap: .3rem; padding: .55rem; border: 1px solid #e7ebe5; border-radius: 7px; background: #f8faf6; }
.mission-beacon-offer strong { color: #496359; font-size: .72rem; }
.mission-beacon-coordinates { padding: .45rem; border-radius: 6px; color: #315a4d !important; background: #edf6ee; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.mission-beacon-marker-wrap { background: transparent; border: 0; }
.mission-beacon-marker { display: grid; width: 38px; height: 38px; place-items: center; overflow: hidden; border: 3px solid var(--beacon-color); border-radius: 50%; background: #fff; box-shadow: 0 1px 8px #273a3699; animation: beacon-pulse 2.2s ease-out infinite; }
.mission-beacon-marker img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.mission-beacon-marker span { color: var(--beacon-color); font-size: .8rem; font-weight: 800; }
.mission-beacon-popup { display: grid; gap: .35rem; min-width: 215px; }
.mission-beacon-popup p { margin: 0; color: #52675f; font-size: .76rem; line-height: 1.45; overflow-wrap: anywhere; }
.mission-beacon-popup-heading { display: flex; align-items: center; gap: .5rem; }
.mission-beacon-popup-heading > div { display: grid; gap: .15rem; }
.mission-beacon-popup-heading strong { color: #35564c; font-size: .82rem; }
.mission-beacon-popup-heading small { color: #65796f; font-size: .69rem; }
.mission-beacon-popup-avatar { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; object-fit: cover; }
.mission-beacon-popup-actions, .mission-beacon-popup-form { display: flex; flex-wrap: wrap; gap: .3rem; margin: .1rem 0 0; }
.mission-beacon-live-control { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding: .45rem; border-radius: 7px; background: #f1f6f1; }
.mission-beacon-live-control small, .mission-beacon-route-status { flex: 1 1 100%; color: #597065; font-size: .67rem; line-height: 1.4; }
.mission-beacon-route-control { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: .25rem; }
.mission-beacon-route-control select { width: auto; min-width: 100px; padding: .4rem; font-size: .72rem; }
.mission-beacon-route-control a { text-decoration: none; }
.mission-beacon-legend { display: flex; flex-wrap: wrap; gap: .4rem .7rem; margin: .4rem 0 0; padding: 0; color: #6b7b73; font-size: .65rem; list-style: none; }
.mission-beacon-legend li { display: inline-flex; align-items: center; gap: .28rem; }
.mission-beacon-legend .zone-swatch { width: 9px; height: 9px; }

.godcache-policy-admin { min-width: 0; max-width: 100%; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #e5e9e2; }
.godcache-policy-admin > summary, .godcache-policy-type > summary { min-width: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .45rem .8rem; cursor: pointer; list-style: none; }
.godcache-policy-admin > summary::-webkit-details-marker, .godcache-policy-type > summary::-webkit-details-marker { display: none; }
.godcache-policy-admin > summary > span:first-child, .godcache-policy-type > summary > strong { min-width: 0; overflow-wrap: anywhere; }
.godcache-policy-admin > summary strong { display: block; color: #31564d; font-size: .9rem; }
.godcache-policy-admin > summary > span:last-child { color: #668276; font-size: 1.1rem; }
.godcache-policy-form { min-width: 0; max-width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; margin-top: .7rem; }
.godcache-policy-type { min-width: 0; max-width: 100%; padding: .55rem .65rem; border: 1px solid #e2e8df; border-radius: 9px; background: #fbfcf9; }
.godcache-policy-type > summary strong { color: #395a4f; font-size: .77rem; }
.godcache-policy-type > summary span { min-width: 0; color: #738179; font-size: .67rem; overflow-wrap: anywhere; }
.godcache-policy-type-settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: .65rem 0; }
.godcache-policy-type-settings > *, .godcache-policy-type-settings .social-field { min-width: 0; }
.godcache-policy-type-settings input, .godcache-policy-type-settings select { max-width: 100%; }
.godcache-policy-table-wrap { width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid #e6eae4; border-radius: 7px; background: #fff; }
.godcache-policy-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .69rem; }
.godcache-policy-table th, .godcache-policy-table td { padding: .42rem .5rem; border-bottom: 1px solid #edf0eb; text-align: left; vertical-align: middle; }
.godcache-policy-table thead th { color: #6b7a72; background: #f6f8f4; font-size: .62rem; }
.godcache-policy-table tbody th { min-width: 175px; color: #425d50; font-weight: 650; }
.godcache-policy-table .input { width: 100%; min-width: 108px; max-width: 100%; min-height: 34px; padding: .35rem .42rem; font-size: .68rem; }
.godcache-policy-table td:last-child { min-width: 82px; color: #365c48; font-weight: 750; white-space: nowrap; }
@media (max-width: 600px) { .godcache-policy-type-settings { grid-template-columns: 1fr; } }
@keyframes beacon-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--beacon-color), transparent 48%), 0 1px 6px #273a3699; } 75% { box-shadow: 0 0 0 11px transparent, 0 1px 6px #273a3699; } 100% { box-shadow: 0 0 0 0 transparent, 0 1px 6px #273a3699; } }
.mission-beacon-dialog { width: min(94vw, 520px); max-height: min(90dvh, 720px); padding: 1.1rem; border: 1px solid #dce2d9; border-radius: 15px; color: var(--ink); background: #fffefa; box-shadow: 0 20px 80px #1c332e55; }
.mission-beacon-dialog::backdrop { background: #172b2780; backdrop-filter: blur(2px); }
.mission-beacon-dialog h2 { margin: 0 0 .5rem; color: #2f5047; font-size: 1.35rem; }
.mission-beacon-dialog > p:not(.eyebrow) { color: #687870; font-size: .8rem; line-height: 1.55; }
.mission-beacon-dialog-close { display: flex; justify-content: flex-end; margin: -.35rem -.35rem .6rem; }
.mission-beacon-dialog-actions { display: flex; justify-content: flex-end; gap: .45rem; margin-top: .85rem; }
.godcache-safety-admin { grid-column: 1; }
.godcache-beacon-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
.godcache-beacon-admin-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.godcache-beacon-admin-form .user-admin-toggle { display: flex; align-items: flex-start; gap: .45rem; padding: .55rem; border: 1px solid #e5e9e1; border-radius: 8px; color: #52675f; background: #fffefa; font-size: .72rem; }
.godcache-beacon-admin-form .social-field { margin: 0; }
.godcache-beacon-admin-form button { justify-self: start; }


/* Global chatroom */
.chat-intro { max-width: 800px; }
.chat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 1.2rem; }
.chat-panel { min-width: 0; overflow: hidden; border: 1px solid #e5e2d8; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); }
.chat-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.25rem .65rem; }
.chat-panel-heading .eyebrow, .chat-panel-heading h2 { margin-bottom: .2rem; }
.chat-online-summary { display: flex; align-items: center; gap: .4rem; margin: 0; color: #71807b; font-size: .77rem; white-space: nowrap; }
.chat-online-summary strong { color: #42634f; }
.presence-dot { width: 9px; height: 9px; border-radius: 50%; background: #6ca178; box-shadow: 0 0 0 3px #e5f0e4; }
.chat-live-status { min-height: 1.4em; margin: 0; padding: 0 1.25rem .65rem; color: #7c8983; font-size: .72rem; }
.chat-message-list { display: flex; flex-direction: column; gap: .7rem; min-height: 320px; max-height: min(62vh, 680px); overflow-y: auto; margin: 0; padding: .8rem 1rem; border-top: 1px solid #eceae2; border-bottom: 1px solid #eceae2; list-style: none; overscroll-behavior: contain; scroll-behavior: smooth; }
.chat-message { width: fit-content; max-width: min(88%, 680px); min-width: 165px; padding: .68rem .82rem; border: 1px solid rgb(31 59 58 / 8%); border-radius: 4px 13px 13px 13px; color: #334c4d; background: #eef0e8; box-shadow: 0 2px 7px rgb(20 43 49 / 4%); }
.chat-empty { align-self: center; margin: auto 0; color: #8a9690; font-size: .85rem; text-align: center; }
.chat-message:nth-child(even) { align-self: flex-end; border-radius: 13px 4px 13px 13px; }
.chat-tone-0 { background: #e8eee5; }.chat-tone-1 { background: #e6edf1; }.chat-tone-2 { background: #f1e7e8; }.chat-tone-3 { background: #f3edde; }
.chat-tone-4 { background: #ede8f1; }.chat-tone-5 { background: #e3efec; }.chat-tone-6 { background: #f2e7df; }.chat-tone-7 { background: #e8eaeb; }
.chat-message-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .55rem; color: #72817c; font-size: .68rem; }
.chat-message-avatar-link { display: block; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; }
.chat-message-avatar-link:focus-visible { outline: 2px solid #416b55; outline-offset: 2px; }
.chat-message-avatar { display: block; width: 28px; height: 28px; border: 1px solid rgb(31 59 58 / 12%); border-radius: 50%; object-fit: cover; background: #fffefa; }
.chat-message-meta strong { color: #25454a; font-size: .76rem; }
.chat-message-meta a { color: inherit; }
.chat-message-meta time { margin-left: auto; font-size: .64rem; white-space: nowrap; }
.chat-admin-shield { display: inline-flex; width: 17px; height: 18px; flex: 0 0 17px; align-items: center; justify-content: center; color: #836c31; vertical-align: middle; }
.chat-admin-shield svg { display: block; width: 16px; height: 16px; overflow: visible; }
.chat-admin-shield svg path:first-child { fill: #f6edcf; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.chat-admin-shield svg path:last-child { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-role-badge { display: inline-flex; align-items: center; width: fit-content; padding: .16rem .4rem; border: 1px solid transparent; border-radius: 999px; font-size: .58rem; font-weight: 800; letter-spacing: .035em; line-height: 1.25; white-space: nowrap; }
.chat-role-member { border-color: #d6ded8; color: #60736d; background: #f5f7f3; }
.chat-message-body { margin: .32rem 0 0; color: #33494a; font-size: .91rem; line-height: 1.55; overflow-wrap: anywhere; }
.chat-message-body .chat-url { color: #245b50; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; overflow-wrap: anywhere; }
.chat-message-body .chat-url:hover { color: #173e37; }
.chat-url-disabled { color: #64716d; text-decoration: line-through; text-decoration-color: #a84f46; text-decoration-thickness: 2px; opacity: .78; overflow-wrap: anywhere; pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.chat-image-link { display: block; width: fit-content; max-width: 100%; margin-top: .5rem; }
.chat-image-link img { display: block; width: auto; max-width: min(100%, 360px); max-height: 280px; border: 1px solid rgb(31 59 58 / 10%); border-radius: 9px; object-fit: contain; }
.chat-image-muted { position: relative; display: block; width: fit-content; max-width: 100%; overflow: hidden; margin-top: .5rem; border-radius: 9px; isolation: isolate; pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.chat-image-muted img { display: block; width: auto; max-width: min(100%, 360px); max-height: 280px; border: 1px solid rgb(31 59 58 / 10%); border-radius: 9px; object-fit: contain; pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.chat-image-blurred { filter: blur(13px); transform: scale(1.06); }
.chat-image-muted-label { position: absolute; inset: 0; display: grid; place-items: center; padding: .7rem; color: #fffefa; background: rgb(26 45 46 / 40%); font-size: .75rem; font-weight: 750; text-align: center; }
.chat-report-control { margin-top: .28rem; color: #7c8983; font-size: .67rem; }
.chat-report-control summary { width: fit-content; cursor: pointer; }
.chat-report-form { display: grid; gap: .4rem; width: min(290px, 70vw); padding-top: .5rem; }
.chat-report-form select, .chat-report-form textarea { width: 100%; min-width: 0; padding: .5rem; border: 1px solid #dce1db; border-radius: 6px; color: var(--ink); background: #fffefa; font: inherit; font-size: .75rem; }
.chat-report-form textarea { resize: vertical; }
.chat-report-form .button { justify-self: start; }
.chat-composer { display: grid; gap: .65rem; padding: 1rem 1.1rem; }
.chat-composer textarea { width: 100%; min-height: 76px; resize: vertical; padding: .85rem .9rem; border: 1px solid #d9ded7; border-radius: 9px; color: var(--ink); background: #fffefa; line-height: 1.5; }
.chat-composer textarea::placeholder { color: #98a19a; }
.chat-composer-meta { display: flex; justify-content: flex-end; margin-top: -.4rem; }
.chat-composer-bottom { display: flex; align-items: center; gap: .65rem; }
.chat-attach { display: inline-flex; align-items: center; gap: .35rem; padding: .42rem .62rem; border: 1px solid #dce1da; border-radius: 7px; color: #506d69; background: #fffefa; font: inherit; font-size: .76rem; font-weight: 650; cursor: pointer; }
.chat-attach > span:first-child { font-size: 1.15rem; line-height: .8; }
.chat-attach input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.chat-attach-disabled { opacity: .55; cursor: not-allowed; }
.chat-char-count { color: #89948f; font-size: .68rem; }
.chat-compose-note { margin: -.1rem 0 0; color: #8a9590; font-size: .67rem; line-height: 1.45; }
.chat-form-error { margin: 0; color: #9a4940; font-size: .78rem; }
.chat-form-error[hidden] { display: none; }
.chat-moderation-notice { margin: 0; padding: .65rem .75rem; border: 1px solid #e5d29c; border-radius: 8px; color: #66521f; background: #fff8df; font-size: .8rem; font-weight: 650; line-height: 1.45; }
.chat-moderation-notice[hidden] { display: none; }
.chat-sidebar { display: grid; gap: .9rem; }
.chat-sidebar .form-card { padding: 1.2rem; }
.chat-sidebar h2 { font-size: 1.45rem; }
.chat-presence-card > p:last-child { margin-bottom: 0; font-size: .73rem; line-height: 1.5; }
.chat-online-list { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0; padding: 0; list-style: none; }
.chat-online-list li { padding: .34rem .52rem; border: 1px solid #e4e7df; border-radius: 999px; color: #53706a; background: #f5f6f0; font-size: .72rem; }
.chat-online-list a { text-decoration: none; }
.chat-location-toggle { display: flex; align-items: flex-start; gap: .55rem; margin: .8rem 0; color: #405b59; font-size: .83rem; line-height: 1.5; }
.chat-location-toggle input { flex: 0 0 auto; margin-top: .18rem; accent-color: #446b59; }
.chat-location-card > .muted { margin: 0 0 .8rem; font-size: .72rem; line-height: 1.55; }
.chat-settings-status { min-height: 1em; margin: .45rem 0 0; color: #66816e; font-size: .7rem; }
.chat-guidelines { padding: .9rem 1.1rem; border: 1px solid #e5e2d8; border-radius: 12px; color: #506b67; background: rgb(255 254 250 / 70%); }
.chat-guidelines summary { cursor: pointer; font-size: .82rem; font-weight: 700; }
.chat-guidelines ul { margin: .7rem 0 0; padding-left: 1.15rem; color: #73817b; font-size: .73rem; line-height: 1.6; }
.chat-admin-section { margin-top: 1.4rem; }
.moderation-list { display: grid; gap: .9rem; }
.chat-review-card > .eyebrow { color: #8b7550; }
.chat-review-card h3 { font-size: 1.25rem; }
.chat-admin-message { margin: .7rem 0; padding: .8rem 1rem; border-left: 3px solid #c9a85b; border-radius: 0 8px 8px 0; color: #3b5556; background: #f4f3ed; font-size: .9rem; line-height: 1.55; }
.chat-review-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, .4fr); align-items: end; gap: .65rem; margin-top: 1rem; }
.chat-review-form .social-field { margin: 0; }
.chat-review-actions { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: .45rem; }
.button-danger { color: #fffaf6; background: #8a3434; }
.button-danger:hover { background: #722b2b; }
.chat-admin-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1rem; margin-top: 1rem; }
.chat-admin-lists h2 { font-size: 1.5rem; }
.chat-admin-list { display: grid; gap: .65rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.chat-admin-list li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-top: .65rem; border-top: 1px solid #ebe9e1; }
.chat-admin-list li > div { display: grid; gap: .2rem; }
.chat-admin-list strong { color: #365255; font-size: .83rem; }
.chatroom-policy-admin { display: grid; gap: .8rem; margin: 1.2rem 0 1.6rem; }
.chatroom-policy-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; gap: 1rem; }
.chatroom-policy-form { display: grid; gap: .7rem; }
.chatroom-policy-form .social-field { margin: 0; }
.chatroom-policy-form textarea { width: 100%; min-height: 140px; padding: .65rem .75rem; border: 1px solid #d6dcd4; border-radius: 8px; color: var(--ink); background: #fffefa; font: inherit; font-size: .82rem; resize: vertical; }
.chatroom-policy-form small { display: block; margin-top: .3rem; color: #7c8987; font-size: .68rem; line-height: 1.5; }
.chatroom-policy-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.chatroom-policy-fields .social-field { margin: 0; }
.chatroom-policy-fields input { width: 100%; min-height: 42px; padding: .55rem .65rem; border: 1px solid #d6dcd4; border-radius: 7px; color: var(--ink); background: #fffefa; }
.chatroom-policy-form .button { justify-self: start; }
.chatroom-maintenance { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.6rem; }
.chatroom-maintenance h2 { margin: 0 0 .3rem; color: #375650; font-size: 1.25rem; }
.chatroom-maintenance p { max-width: 760px; margin: 0; }
.chatroom-maintenance form { flex: 0 0 auto; }
.chat-strike-summary h3 { margin-bottom: .35rem; color: #375650; font-size: 1.2rem; }
.chat-strike-table-wrap { overflow-x: auto; margin-top: .65rem; }
.chat-strike-table { width: 100%; border-collapse: collapse; font-size: .72rem; text-align: left; }
.chat-strike-table th, .chat-strike-table td { padding: .55rem .45rem; border-bottom: 1px solid #ebe9e1; white-space: nowrap; }
.chat-strike-table th { color: #71807a; font-size: .65rem; font-weight: 700; }
.chat-strike-table td { color: #435f59; }
.chat-strike-table a { color: inherit; }
.chat-strike-table td:last-child { min-width: 290px; white-space: normal; }
.chat-strike-table td:last-child time { display: block; margin-bottom: .38rem; color: #6e7f78; white-space: nowrap; }
.chat-strike-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.chat-strike-actions form { margin: 0; }
.chat-strike-actions .button { min-height: 31px; padding: .36rem .55rem; font-size: .65rem; }
.chat-strike-actions .button:disabled { opacity: .45; cursor: not-allowed; }
.chat-strike-status { display: block; margin-top: .2rem; color: #99483f; font-size: .62rem; font-weight: 700; }
.admin-policy-form { display: grid; gap: .6rem; margin: .8rem 0; }
.admin-policy-form .social-field { margin: 0; }
.admin-policy-form input, .admin-policy-form select { width: 100%; min-height: 40px; padding: .5rem .65rem; border: 1px solid #d6dcd4; border-radius: 7px; color: var(--ink); background: #fffefa; }
.admin-policy-form small { display: block; margin-top: .25rem; color: #7c8987; font-size: .65rem; }
.chat-admin-list li span { color: #75827d; font-size: .71rem; line-height: 1.4; }
.chat-admin-list form { margin: 0; }

/* The dashboard chat starts collapsed and can be hidden independently. */
.chat-mini-widget { position: fixed; z-index: 20; top: 5.7rem; right: max(1rem, calc((100vw - 1120px) / 2)); width: min(365px, calc(100vw - 2rem)); border: 1px solid #d8ded6; border-radius: 12px; color: var(--ink); background: var(--paper); box-shadow: 0 16px 45px rgb(16 42 51 / 18%); }
.chat-mini-widget[hidden], .chat-widget-restore[hidden] { display: none !important; }
.chat-mini-widget > summary { display: flex; align-items: center; gap: .55rem; min-height: 48px; padding: .65rem .9rem; color: #eff3e9; background: var(--deep); border-radius: 11px; cursor: pointer; font-size: .83rem; font-weight: 700; list-style: none; }
.chat-mini-widget > summary::-webkit-details-marker { display: none; }
.chat-mini-mark { color: #e6c878; font-size: 1.1rem; }
.chat-mini-count { min-width: 22px; height: 22px; display: grid; place-items: center; margin-left: auto; border-radius: 99px; color: #284b40; background: #e3eddd; font-size: .68rem; }
.chat-mini-widget[open] > summary { border-radius: 11px 11px 0 0; }
.chat-mini-content { padding: .7rem; }
.chat-mini-topline { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: 0 .1rem .45rem; }
.chat-mini-topline .muted { font-size: .66rem; }
.chat-widget-hide { padding: .28rem .45rem; border: 0; border-radius: 5px; color: #657873; background: #f0f1eb; font-size: .66rem; cursor: pointer; }
.chat-mini-list { min-height: 150px; max-height: 300px; gap: .45rem; padding: .55rem; border: 1px solid #eceae2; border-radius: 8px; }
.chat-mini-list .chat-message { min-width: 120px; max-width: 96%; padding: .48rem .6rem; }
.chat-mini-list .chat-message-body { font-size: .77rem; }
.chat-mini-list .chat-message-meta strong { font-size: .68rem; }
.chat-mini-list .chat-image-link img, .chat-mini-list .chat-image-muted img { max-width: 190px; max-height: 145px; }
.chat-mini-composer { gap: .4rem; padding: .5rem 0 .2rem; }
.chat-mini-composer textarea { min-height: 58px; padding: .55rem .65rem; font-size: .79rem; }
.chat-mini-submit { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.chat-mini-submit .chat-form-error { font-size: .67rem; }
.chat-mini-open { display: inline-block; margin: .4rem .1rem 0; font-size: .72rem; }
.chat-widget-restore { position: fixed; z-index: 20; top: 5.7rem; right: max(1rem, calc((100vw - 1120px) / 2)); padding: .7rem .9rem; border: 1px solid #d8ded6; border-radius: 10px; color: #eff3e9; background: var(--deep); box-shadow: 0 10px 25px rgb(16 42 51 / 15%); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.chat-latest-button { display: block; margin: .55rem auto; padding: .42rem .72rem; border: 1px solid #d8e0d8; border-radius: 999px; color: #355b53; background: #eef4eb; font-size: .72rem; font-weight: 700; cursor: pointer; }
.chat-latest-button[hidden], .chat-file-preview[hidden] { display: none; }
.chat-file-preview { display: flex; align-items: center; gap: .75rem; min-width: 0; padding: .55rem .65rem; border: 1px solid #dce4d9; border-radius: 9px; background: #f5f7f0; }
.chat-file-preview-image { flex: 0 0 auto; width: 64px; height: 52px; border: 1px solid #d8ded6; border-radius: 6px; object-fit: cover; background: white; }
.chat-file-preview-details { display: grid; flex: 1 1 auto; min-width: 0; gap: .18rem; }
.chat-file-preview-details strong { overflow: hidden; color: #35524f; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.chat-file-preview-details span { color: #77847d; font-size: .68rem; line-height: 1.4; }
.chat-file-remove { flex: 0 0 auto; padding: .4rem .55rem; border: 1px solid #d8ded6; border-radius: 6px; color: #6e514c; background: #fffefa; font-size: .7rem; font-weight: 650; cursor: pointer; }
.chat-file-remove:hover { background: #f7ece7; }
.chat-audio-room { display: grid; gap: .9rem; margin: .3rem 1.1rem 1.1rem; padding: 1rem; border: 1px solid #dfe5dc; border-radius: 12px; background: #f7f8f3; }
.chat-audio-dialog { width: min(540px, calc(100vw - 2rem)); max-width: none; max-height: min(90vh, 760px); padding: 0; overflow: auto; border: 1px solid #d6ded5; border-radius: 16px; color: var(--ink); background: transparent; box-shadow: 0 24px 70px rgb(16 42 51 / 24%); }
.chat-audio-dialog::backdrop { background: rgb(14 34 38 / 54%); backdrop-filter: blur(3px); }
.chat-audio-dialog .chat-audio-room { gap: 1rem; margin: 0; padding: clamp(1rem, 4vw, 1.5rem); border: 0; border-radius: 15px; background: var(--paper); }
.chat-audio-close { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; padding: 0; border: 1px solid #e0e4dc; border-radius: 50%; color: #556f67; background: #fffefa; font: inherit; font-size: 1.35rem; line-height: 1; cursor: pointer; }
.chat-audio-close:disabled { opacity: .45; cursor: not-allowed; }
.chat-audio-open { white-space: nowrap; }
.chat-audio-inline { display: grid; gap: .4rem; min-width: 0; margin-top: .45rem; }
.chat-audio-inline-label { color: #536d64; font-size: .76rem; font-weight: 700; }
.chat-audio-inline audio { width: min(100%, 390px); min-height: 38px; }
.chat-audio-enable { justify-self: start; padding: .32rem .55rem; border: 1px solid #dce3d9; border-radius: 6px; color: #49675d; background: #f7f8f3; font: inherit; font-size: .68rem; font-weight: 700; cursor: pointer; }
.chat-audio-enable:hover { background: #eaf0e7; }
.chat-audio-message-placeholder { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 0; color: #536d64; font-size: .76rem; font-weight: 700; }
.chat-audio-message-placeholder > span:first-child { color: #7e947c; font-size: 1rem; }
.chat-audio-message-placeholder .chat-audio-enable { margin-left: .15rem; }
.chat-audio-location { color: #7c8983; font-size: .67rem; }
.chat-audio-reported { margin: .35rem 0 0; color: #8a7552; font-size: .67rem; }
.chat-audio-room [data-audio-speaker-count] { color: #42634f; }
.chat-audio-heading { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.chat-audio-heading .eyebrow, .chat-audio-heading h2 { margin-bottom: .15rem; }
.chat-audio-heading h2 { font-size: 1.55rem; }
.chat-audio-live { display: flex; align-items: center; gap: .45rem; color: #667b70; font-size: .72rem; white-space: nowrap; }
.chat-audio-live .presence-dot { background: #94a09a; box-shadow: 0 0 0 3px #e7ece5; }
.chat-audio-description, .chat-audio-footnote { margin: 0; color: #71807a; font-size: .74rem; line-height: 1.55; }
.chat-audio-status { min-height: 1.2rem; margin: 0; color: #416357; font-size: .78rem; line-height: 1.5; }
.chat-audio-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.chat-audio-controls [data-audio-start][hidden], .chat-audio-controls [data-audio-stop][hidden], .chat-audio-controls [data-audio-cancel][hidden], .chat-audio-controls [data-audio-retry][hidden], .chat-audio-controls [data-audio-mute][hidden] { display: none !important; }
.chat-audio-playback { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .55rem; border: 1px solid #dce2d9; border-radius: 7px; color: #4e6760; background: #fffefa; font-size: .75rem; cursor: pointer; }
.chat-audio-playback input { accent-color: #446b59; }
.chat-audio-cost { margin-left: auto; color: #8a7446; font-size: .72rem; font-weight: 700; }
.chat-audio-speakers { display: grid; gap: .45rem; }
.chat-audio-speakers h3 { margin: 0; color: #536c66; font-family: inherit; font-size: .78rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.chat-audio-speakers ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.chat-audio-speaker { display: flex; align-items: center; gap: .48rem; color: #426457; font-size: .79rem; }
.chat-audio-speaker .presence-dot { width: 7px; height: 7px; background: #70a47c; box-shadow: 0 0 0 3px #e3eee2; }
.chat-audio-speaker .chat-admin-shield { width: 16px; height: 17px; flex-basis: 16px; }
.chat-audio-you { padding: .12rem .38rem; border-radius: 99px; color: #55705e; background: #e5ecdf; font-size: .63rem; }
.chat-audio-report-status { margin: 0; color: #58735f; font-size: .72rem; }
.chat-audio-report-status[hidden] { display: none; }
.chat-audio-admin { display: grid; gap: .8rem; margin: 1.5rem 0 2rem; }
.chat-audio-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1rem; }
.chat-audio-config-form, .chat-audio-block-form { display: grid; gap: .65rem; }
.chat-audio-config-form > .muted { margin: 0; font-size: .78rem; line-height: 1.5; }
.chat-audio-config-form .social-field, .chat-audio-block-inline .social-field { margin: 0; }
.chat-audio-admin-toggle { display: flex; align-items: center; gap: .5rem; color: #385a50; font-size: .83rem; font-weight: 700; }
.chat-audio-admin-toggle input { accent-color: #42684f; }
.chat-audio-config-form input[type=number], .chat-audio-block-form input, .chat-audio-block-form select, .chat-audio-config-form select { min-height: 42px; padding: .55rem .7rem; border: 1px solid #d6dcd4; border-radius: 7px; color: var(--ink); background: #fffefa; }
.chat-audio-config-form .button { justify-self: start; }
.chat-audio-block-form .stack-form { display: grid; gap: .45rem; }
.chat-audio-block-form .stack-form label { margin: 0; color: #405b59; font-size: .76rem; font-weight: 700; }
.chat-audio-block-form .stack-form .button { justify-self: start; }
.chat-audio-block-list { display: grid; gap: .5rem; margin: .7rem 0 0; padding: 0; list-style: none; }
.chat-audio-block-list li { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-top: .55rem; border-top: 1px solid #e8e9e2; }
.chat-audio-block-list li > div { display: grid; gap: .2rem; }
.chat-audio-block-list strong { color: #375650; font-size: .78rem; }
.chat-audio-block-list span { color: #76837b; font-size: .68rem; }
.chat-audio-review-list { margin-top: .4rem; }
.chat-audio-review-card { display: grid; gap: .7rem; }
.chat-audio-review-card > audio { width: min(100%, 480px); }
.chat-audio-block-inline { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; align-items: end; gap: .5rem; padding-top: .65rem; border-top: 1px solid #e8e9e2; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.mission-rating-fieldset { display: grid; gap: .38rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.mission-rating-fieldset legend { margin-bottom: .12rem; padding: 0; color: #405b59; font-size: .8rem; font-weight: 750; }
.mission-rating-stars { display: flex; align-items: center; gap: .22rem; }
.mission-rating-option { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #e2e5da; border-radius: .8rem; color: #b1b6aa; background: #fffefa; cursor: pointer; transition: color .15s ease, border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease; }
.mission-rating-option input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mission-rating-glyph { font-size: 1.75rem; line-height: 1; }
.mission-rating-option.is-lit { border-color: #d8c58d; color: #b38a3d; background: #fbf6e7; }
.mission-rating-option:focus-within { outline: 3px solid #b29454; outline-offset: 2px; }
.mission-rating-hint { min-height: 1.2em; color: #718079; font-size: .72rem; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mission-rating-option:hover { transform: translateY(-2px); box-shadow: 0 5px 12px rgb(93 71 31 / 12%); }
}

.credit-purchase-modal { width: min(640px, calc(100vw - 1.5rem)); max-width: none; max-height: min(92dvh, 820px); padding: 0; overflow: auto; border: 1px solid #cbd4c9; border-radius: 1.25rem; color: var(--ink); background: transparent; box-shadow: 0 28px 90px rgb(14 38 31 / 32%); }
.credit-purchase-modal::backdrop { background: rgb(12 33 28 / 66%); backdrop-filter: blur(7px) saturate(.78); }
.credit-purchase-shell { position: relative; padding: clamp(1.25rem, 4.5vw, 2rem); border-radius: inherit; background: radial-gradient(ellipse at 98% 0%, rgb(222 207 158 / 23%), transparent 30rem), linear-gradient(160deg,#fffef9,#f5f4ea); }
.credit-wallet-heading { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: .9rem; margin: 0 2.6rem 1rem 0; }
.credit-wallet-mark { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border: 1px solid #b8c9b1; border-radius: 1rem; color: #f4dda0; background: linear-gradient(145deg,#315d4b,#193f37); box-shadow: 0 9px 20px rgb(36 73 57 / 19%); font-size: 1.55rem; }
.credit-wallet-heading .eyebrow, .credit-purchase-section-heading .eyebrow, .credit-checkout-heading .eyebrow { margin: 0 0 .2rem; color: #728171; font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.credit-purchase-shell h2 { margin: 0; color: #29493c; font: 500 clamp(1.7rem, 5vw, 2.25rem)/1.08 var(--font-display,Georgia,serif); letter-spacing: -.035em; }
.credit-wallet-intro { max-width: 40ch; margin: .35rem 0 0; color: #65766a; font-size: .8rem; line-height: 1.5; }
.dialog-close { position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #e0e4dc; border-radius: 50%; color: #556f67; background: #fffefa; font-size: 1.35rem; cursor: pointer; }
.dialog-close:hover { border-color: #aab9a6; color: #29493c; background: #eef2e8; }
.credit-purchase-modal :focus-visible { outline: 3px solid #b29454; outline-offset: 3px; }
.credit-purchase-modal .wallet-balances { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,8rem),1fr)); gap: .55rem; margin: 1rem 0 .65rem; }
.credit-purchase-modal .wallet-balance-card { display: grid; align-content: start; gap: .15rem; min-width: 0; padding: .65rem .75rem; border: 1px solid #dfe4d9; border-radius: .85rem; background: rgb(255 255 255 / 77%); }
.credit-purchase-modal .wallet-balance-card dt { color: #68796d; font-size: .7rem; font-weight: 750; }
.credit-purchase-modal .wallet-balance-card dd { margin: .04rem 0; color: #315647; font: 500 clamp(1.25rem, 4vw, 1.7rem)/1.1 var(--font-display,Georgia,serif); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.credit-purchase-modal .wallet-balance-card small { color: #839083; font-size: .58rem; line-height: 1.35; }
.credit-purchase-modal .wallet-balance-premium { border-color: #7d9a7d; color: #f8f4e7; background: linear-gradient(145deg,#315d4c,#1f463b); box-shadow: inset 0 1px rgb(255 255 255 / 13%); }
.credit-purchase-modal .wallet-balance-premium dt, .credit-purchase-modal .wallet-balance-premium dd { color: #fff8e4; }
.credit-purchase-modal .wallet-balance-premium small { color: #d4ddcb; }
.credit-wallet-note { display: flex; align-items: flex-start; gap: .45rem; margin: 0 0 1.1rem; color: #506c58; font-size: .73rem; line-height: 1.45; }
.credit-wallet-note > span { display: grid; flex: 0 0 1rem; width: 1rem; height: 1rem; place-items: center; border-radius: 50%; color: white; background: #628363; font-size: .64rem; font-weight: 800; }
.credit-purchase-status { min-height: 0; margin: .9rem 0; padding: 0; border-radius: 8px; color: #4e665d; font-size: .82rem; line-height: 1.5; }
.credit-purchase-status:not(:empty) { padding: .7rem .8rem; background: #f0f3ec; }
.credit-purchase-status.is-error { color: #8a3434; background: #fff2ed; }
.credit-purchase-status.is-warning { color: #765b2e; background: #fbf4e4; }
.credit-purchase-status.is-success { color: #315e49; background: #e9f3e8; }
.credit-purchase-section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .4rem .8rem; }
.credit-purchase-section-heading h3, .credit-checkout-heading h3 { margin: 0; color: #2d4e40; font: 500 1.35rem/1.15 var(--font-display,Georgia,serif); }
.credit-purchase-section-heading > p { margin: 0; color: #829083; font-size: .67rem; }
.credit-package-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin-top: .75rem; }
.credit-package-option { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .48rem; min-width: 0; padding: .95rem; overflow: hidden; border: 1px solid #dfe4d8; border-radius: 1rem; background: linear-gradient(155deg,#fffefa,#f8f8f1); box-shadow: 0 6px 18px rgb(41 66 48 / 5%); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.credit-package-option h3 { display: flex; align-items: center; gap: .48rem; margin: 0; color: #345748; font-size: 1rem; }
.credit-package-option h3::before { content: "✦"; display: grid; flex: 0 0 1.7rem; width: 1.7rem; height: 1.7rem; place-items: center; border-radius: .55rem; color: #a88239; background: #f4edda; font-size: .8rem; }
.credit-package-amount { min-height: 2.3rem; margin: 0; color: #718079; font-size: .75rem; line-height: 1.4; }
.credit-package-details { margin: 0 0 .25rem; color: #526860; font-size: .72rem; line-height: 1.5; }
.credit-package-price { margin: .15rem 0 .4rem; color: #304d40; font: 500 1.35rem/1.1 var(--font-display,Georgia,serif); font-variant-numeric: tabular-nums; }
.credit-package-option .button { margin-top: auto; min-height: 44px; padding: .55rem .65rem; font-size: .76rem; }
.credit-purchase-modal [data-credit-checkout] { padding-top: .25rem; }
.credit-checkout-heading { display: grid; gap: .2rem; margin: .7rem 0 .5rem; }
.credit-back-link { display: inline-flex; align-items: center; min-height: 40px; margin: .15rem 0; padding: 0 .15rem; border: 0; color: #446b54; background: transparent; cursor: pointer; font-size: .8rem; font-weight: 700; }
.credit-selected-package { margin: .5rem 0 .85rem; padding: .9rem 1rem; border: 1px solid #cbd7c5; border-radius: .8rem; color: #36554c; background: linear-gradient(120deg,#eef3e8,#faf7ea); font-size: .9rem; font-weight: 750; line-height: 1.5; }
.square-card-container { min-height: 82px; margin: .8rem 0; padding: .85rem; border: 1px solid #d1dbcf; border-radius: .8rem; background: #fffefa; box-shadow: inset 0 1px 3px rgb(40 62 46 / 4%); }
.credit-purchase-modal [data-credit-checkout] .field-hint { margin: 0; }
.credit-purchase-modal [data-credit-checkout] .form-footnote { font-size: .73rem; }
.credit-purchase-modal [hidden] { display: none !important; }
@media (hover: hover) {
  .credit-package-option:hover { transform: translateY(-3px); border-color: #a9bca2; box-shadow: 0 13px 28px -15px rgb(31 67 48 / 34%); }
}

.credit-admin-page { display: grid; gap: 1rem; }
.credit-admin-page > .welcome-row { margin-bottom: .1rem; }
.credit-admin-page .welcome-row h1 { margin-bottom: .35rem; }
.credit-admin-page .welcome-row .muted { max-width: 620px; }
.admin-status-pill { display: inline-flex; align-items: center; min-height: 34px; padding: .45rem .7rem; border: 1px solid #e5d9bd; border-radius: 999px; color: #735e37; background: #f7f0df; font-size: .73rem; font-weight: 750; white-space: nowrap; }
.admin-status-pill.is-enabled { border-color: #c9ddc8; color: #3d6b4d; background: #edf5e9; }
.form-success { padding: .75rem .85rem; border: 1px solid #c9ddc8; border-radius: 7px; color: #315e49; background: #edf5e9; font-size: .86rem; line-height: 1.5; }
.credit-admin-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .65rem; }
.credit-admin-stat { display: grid; gap: .2rem; padding: .85rem 1rem; border: 1px solid #e4e1d7; border-radius: 10px; background: #fffefa; }
.credit-admin-stat span { color: #74817b; font-size: .72rem; }
.credit-admin-stat strong { color: #34534a; font-size: 1.23rem; }
.credit-admin-card { min-width: 0; }
.credit-admin-card h2 { margin-bottom: .45rem; font-size: 1.7rem; }
.credit-admin-card > .muted { max-width: 800px; margin: 0 0 1rem; }
.credit-config-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.credit-config-grid label, .credit-package-admin label, .credit-adjust-form label { display: grid; gap: .35rem; color: #405b59; font-size: .78rem; font-weight: 700; }
.credit-config-grid input, .credit-config-grid select, .credit-package-admin input, .credit-package-admin textarea, .credit-adjust-form input, .credit-promotion-form input, .credit-promotion-form textarea { width: 100%; min-height: 43px; padding: .55rem .65rem; border: 1px solid #d6dcd4; border-radius: 7px; color: var(--ink); background: #fffefa; font: inherit; }
.credit-package-admin textarea, .credit-promotion-form textarea { min-height: 72px; resize: vertical; }
.credit-config-check { display: flex; align-items: flex-start; gap: .55rem; margin: .9rem 0; color: #405b59; font-size: .78rem; font-weight: 700; }
.credit-config-check input { flex: 0 0 auto; width: 17px; height: 17px; margin: .12rem 0 0; accent-color: #42684f; }
.credit-config-check span { display: grid; gap: .22rem; }
.credit-config-check small { color: #78837c; font-size: .7rem; font-weight: 400; line-height: 1.45; }
.credit-package-admin-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin: 1.4rem 0 .7rem; }
.credit-package-admin-heading h3 { margin: 0; font-family: inherit; font-size: 1rem; font-weight: 750; }
.credit-package-admin-heading .eyebrow { margin-bottom: .2rem; }
.credit-package-admin-heading .field-hint { max-width: 250px; margin: 0; text-align: right; }
.credit-package-admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; margin-bottom: 1rem; }
.credit-package-admin { min-width: 0; margin: 0; padding: .8rem; border: 1px solid #e4e4dc; border-radius: 9px; }
.credit-package-admin legend { padding: 0 .3rem; color: #60756b; font-size: .72rem; font-weight: 750; }
.credit-package-fields { display: grid; grid-template-columns: .7fr 1fr; gap: .45rem; margin-top: .5rem; }
.credit-package-fields input { min-width: 0; }
.credit-package-admin .credit-config-check { align-items: center; margin: .7rem 0 0; }
.credit-package-admin .credit-config-check input { margin: 0; }
.credit-promotion-form { display: grid; grid-template-columns: minmax(150px, .9fr) minmax(220px, 1.4fr) minmax(120px, .55fr) auto; align-items: end; gap: .7rem; }
.credit-promotion-form label { display: grid; gap: .35rem; color: #405b59; font-size: .78rem; font-weight: 700; }
.credit-promotion-form .button { min-height: 43px; }
.credit-promotion-history { display: grid; gap: .4rem; margin-top: 1.2rem; }
.credit-promotion-history h3 { margin: 0; color: #405e54; font-size: .95rem; }
.credit-promotion-history article { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem .8rem; padding: .7rem 0; border-bottom: 1px solid #ebe9e1; }
.credit-promotion-history article > div { display: grid; gap: .18rem; }
.credit-promotion-history article strong { color: #405e54; font-size: .8rem; }
.credit-promotion-history article p, .credit-promotion-history article small { grid-column: 1 / -1; margin: 0; color: #74817b; font-size: .72rem; }
.credit-promotion-history article > strong { align-self: start; text-align: right; }
.credit-table-wrap { width: 100%; overflow: auto; border: 1px solid #e5e5dc; border-radius: 9px; }
.credit-table { width: 100%; min-width: 980px; border-collapse: collapse; background: #fffefa; font-size: .76rem; }
.credit-table th, .credit-table td { padding: .7rem .65rem; border-bottom: 1px solid #eeede6; text-align: left; vertical-align: top; }
.credit-table th { color: #718078; background: #f6f6f0; font-size: .66rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.credit-table td > strong, .credit-table td > small, .credit-table td > code, .credit-table td > a { display: block; }
.credit-table td > small { margin-top: .18rem; color: #77837c; font-size: .67rem; overflow-wrap: anywhere; }
.credit-table code { margin-top: .18rem; color: #788078; font-size: .61rem; }
.credit-table td > a { margin-top: .25rem; font-size: .68rem; }
.credit-table tr:last-child td { border-bottom: 0; }
.credit-table form { margin: 0; }
.credit-table td form + form { display: grid; gap: .3rem; margin-top: .35rem; }
.credit-close-reason { width: 170px; min-height: 32px; padding: .35rem .4rem; border: 1px solid #dedfd6; border-radius: 5px; font-size: .65rem; }
.credit-table .button { min-height: 34px; padding: .4rem .55rem; font-size: .68rem; }
.credit-payment-status { display: inline-block; padding: .24rem .42rem; border-radius: 999px; color: #795f30; background: #f8f0dc; font-size: .64rem; font-weight: 750; }
.credit-payment-status.status-completed { color: #386345; background: #eaf3e7; }
.credit-payment-status.status-failed { color: #843c37; background: #faeae6; }
.credit-payment-status.status-review, .credit-payment-status.status-processing { color: #725d32; background: #f7f0dc; }
.credit-adjust-form { display: grid; grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1.3fr) auto; align-items: end; gap: .55rem; }
.credit-adjust-form .button { min-height: 43px; padding: .65rem .75rem; font-size: .78rem; }
.credit-adjustment-list { display: grid; gap: .65rem; }
.credit-adjustment-list article { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .7rem; padding: .7rem 0; border-bottom: 1px solid #ebe9e1; }
.credit-adjustment-list article:last-child { border-bottom: 0; }
.credit-adjustment-list article > div { display: grid; gap: .16rem; }
.credit-adjustment-list article strong { color: #405e54; font-size: .8rem; }
.credit-adjustment-list article small { color: #7a8780; font-size: .67rem; overflow-wrap: anywhere; }
.credit-adjustment-list article p { grid-column: 1 / -1; margin: .25rem 0 0; color: #65756d; font-size: .78rem; }
.credit-adjustment-list article > small { grid-column: 1 / -1; }
.adjustment-positive { color: #3c704b !important; }
.adjustment-negative { color: #994642 !important; }
.compact-empty { padding: 1rem; }
.compact-empty h3 { font-size: 1.15rem; }
.compact-empty p { margin-bottom: 0; color: #77837c; font-size: .8rem; }

@media (max-width: 820px) {
  .credit-admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .credit-adjust-form { grid-template-columns: minmax(0, 1fr) minmax(140px, .5fr); }
  .credit-adjust-form .credit-adjust-reason { grid-column: 1 / -1; }
  .credit-adjust-form .button { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .credit-package-list { grid-template-columns: 1fr; }
  .credit-package-option { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .35rem .65rem; }
  .credit-package-option h3, .credit-package-amount, .credit-package-details { grid-column: 1 / -1; }
  .credit-package-amount { min-height: 0; }
  .credit-package-price { grid-column: 2; grid-row: 1 / span 2; }
  .credit-package-option .button { grid-column: 1 / -1; width: 100%; }
  .credit-config-grid, .credit-package-admin-grid, .credit-promotion-form { grid-template-columns: 1fr; }
  .credit-package-admin-heading { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .credit-package-admin-heading .field-hint { text-align: left; }
  .credit-admin-stats { gap: .45rem; }
  .credit-admin-stat { padding: .65rem; }
  .credit-admin-stat strong { font-size: 1.05rem; }
  .credit-adjust-form { grid-template-columns: 1fr; }
  .credit-adjust-form .credit-adjust-reason, .credit-adjust-form .button { grid-column: auto; }
  .admin-status-pill { font-size: .68rem; }
}

@media (max-width: 900px) {
  .chat-layout { grid-template-columns: minmax(0, 1fr); }
  .chat-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chat-guidelines { grid-column: 1 / -1; }
  .chat-mini-widget, .chat-widget-restore { display: none !important; }
  .chat-admin-lists { grid-template-columns: minmax(0, 1fr); }
  .chat-audio-admin-grid { grid-template-columns: minmax(0, 1fr); }
  .mission-layout { grid-template-columns: minmax(0, 1fr); }
  .mission-map-column { order: -1; }
  .mission-map { height: min(62vw, 480px); min-height: 340px; }
  .mission-legend ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) and (min-width: 641px) {
  .app-header { grid-template-columns: auto minmax(0, 1fr) auto; }
  .primary-nav { flex-wrap: wrap; justify-content: center; gap: .55rem .85rem; }
  .primary-nav a { font-size: .82rem; }
  .primary-nav .nav-dropdown > summary { font-size: .82rem; }
}
@media (max-width: 640px) {
  .chat-panel-heading { align-items: flex-start; padding: 1rem .9rem .6rem; }
  .chat-panel-heading h2 { font-size: 1.55rem; }
  .chat-message-list { min-height: 300px; max-height: 62vh; padding: .7rem .55rem; }
  .chat-message { max-width: 94%; padding: .6rem .68rem; }
  .chat-composer { padding: .8rem .7rem; }
  .chat-composer-bottom { flex-wrap: wrap; }
  .chat-composer-bottom .button { margin-left: auto; }
  .chat-audio-room { margin: .2rem .65rem .8rem; padding: .75rem; }
  .chat-audio-heading { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .chat-audio-cost { width: 100%; margin-left: 0; }
  .chat-audio-block-inline { grid-template-columns: minmax(0, 1fr); }
  .chat-audio-block-list li { align-items: flex-start; flex-direction: column; }
  .chat-sidebar { grid-template-columns: minmax(0, 1fr); }
  .chat-guidelines { grid-column: auto; }
  .chat-review-form { grid-template-columns: minmax(0, 1fr); }
  .chat-review-actions { grid-column: auto; }
  .chat-review-actions .button { flex: 1 1 44%; }
  .chat-admin-list li { align-items: flex-start; flex-direction: column; }
  .mission-layout { gap: .9rem; }
  .mission-map-heading { align-items: flex-start; flex-direction: column; gap: .3rem; padding: .85rem .9rem .65rem; }
  .mission-map-heading h2 { font-size: 1.5rem; }
  .mission-map { height: 66vw; min-height: 300px; max-height: 400px; }
  .mission-legend { padding: .9rem; }
  .mission-legend ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.admin-console { display: grid; gap: 1.15rem; }
.admin-console > .back-link { margin-bottom: -.5rem; }
.admin-console-heading { align-items: flex-end; margin: 0; }
.admin-console-heading h1 { margin-bottom: .4rem; }
.admin-console-heading .muted { max-width: 650px; margin-bottom: 0; line-height: 1.6; }
.admin-status-pill { gap: .4rem; }
.health-dot { width: .48rem; height: .48rem; display: inline-block; flex: 0 0 auto; border-radius: 50%; background: #548b63; box-shadow: 0 0 0 3px rgb(84 139 99 / 12%); }
.admin-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.admin-kpi { min-height: 130px; display: flex; flex-direction: column; justify-content: center; gap: .3rem; padding: 1.1rem 1.25rem; border: 1px solid #e5e2d9; border-radius: 13px; background: var(--paper); box-shadow: 0 10px 24px rgb(20 43 49 / 4%); }
.admin-kpi > span { color: #667878; font-size: .78rem; font-weight: 700; }
.admin-kpi > strong { color: var(--deep); font-family: Georgia, serif; font-size: 2.15rem; font-weight: 500; line-height: 1.1; }
.admin-kpi > small { color: #7c8987; font-size: .7rem; line-height: 1.45; }
.admin-kpi-attention { border-color: #e9d8b4; background: #fffdf7; }
.admin-kpi-attention > strong { color: #8a6331; }
.admin-console-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); align-items: start; gap: 1rem; }
.admin-console-card { min-width: 0; padding: clamp(1.1rem, 2.5vw, 1.55rem); border: 1px solid #e5e2d9; border-radius: 14px; background: var(--paper); box-shadow: 0 10px 24px rgb(20 43 49 / 4%); }
.admin-section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: .8rem; margin-bottom: 1rem; }
.admin-section-heading h2 { margin-bottom: .25rem; font-size: 1.6rem; }
.admin-section-heading .eyebrow { margin-bottom: .35rem; }
.admin-section-heading .muted { max-width: 560px; margin: 0; font-size: .81rem; line-height: 1.5; }
.admin-feature-controls { grid-column: 1; }
.admin-console-side { display: grid; gap: 1rem; grid-column: 2; }
.admin-feature-list { display: grid; }
.admin-feature-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(260px, 1.1fr); align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid #eeece5; }
.admin-feature-row:first-child { border-top: 0; padding-top: .15rem; }
.admin-feature-row.is-paused { opacity: .82; }
.admin-feature-title { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; }
.admin-feature-title h3 { margin: 0; font-family: inherit; font-size: .94rem; font-weight: 750; letter-spacing: 0; }
.admin-feature-row .admin-status-pill { min-height: 25px; padding: .25rem .5rem; font-size: .62rem; }
.admin-feature-summary p { margin: .3rem 0; color: #677777; font-size: .76rem; line-height: 1.45; }
.admin-feature-summary small { color: #899391; font-size: .68rem; }
.admin-feature-form { display: grid; grid-template-columns: auto minmax(110px, 1fr) auto; align-items: end; gap: .55rem; }
.admin-feature-switch { display: grid; gap: .25rem; justify-items: center; color: #667878; font-size: .65rem; font-weight: 700; }
.admin-feature-switch input { width: 2.4rem; height: 1.25rem; margin: 0; accent-color: #47735e; cursor: pointer; }
.admin-feature-message { display: grid; gap: .25rem; color: #667878; font-size: .65rem; font-weight: 700; }
.admin-feature-message .input { min-height: 36px; padding: .45rem .55rem; font-size: .72rem; }
.admin-feature-form .button { min-height: 36px; padding: .45rem .65rem; }
.admin-footnote { margin: .85rem 0 0; color: #7c8987; font-size: .7rem; line-height: 1.55; }
.admin-health-list { display: grid; gap: .12rem; margin: 0 0 .9rem; }
.admin-health-list > div { display: flex; justify-content: space-between; gap: .8rem; padding: .55rem 0; border-bottom: 1px solid #efede6; font-size: .76rem; }
.admin-health-list dt { color: #6c7b79; }
.admin-health-list dd { display: inline-flex; align-items: center; gap: .4rem; margin: 0; color: #304b49; font-weight: 700; text-align: right; }
.admin-console-side .button { width: fit-content; }
.admin-queue-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.admin-queue-card { min-height: 148px; display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; padding: .85rem; border: 1px solid #e8e6de; border-radius: 10px; color: var(--ink); background: #fffefa; text-decoration: none; }
.admin-queue-card[href]:hover { border-color: #d5c18d; background: #fffdf7; }
.admin-queue-icon { color: #9a804b; font-size: 1.1rem; }
.admin-queue-card strong { color: var(--deep); font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.admin-queue-card > span:not(.admin-queue-icon) { font-size: .76rem; font-weight: 750; }
.admin-queue-card small { margin-top: .2rem; color: #7c8987; font-size: .65rem; line-height: 1.4; }
.admin-queue-static { background: #f7f6f0; }
.admin-usage-list { display: grid; gap: .65rem; }
.admin-usage-row { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(70px, 1.5fr) auto; align-items: center; gap: .65rem; font-size: .74rem; }
.admin-usage-row > span:first-child { color: #566c6b; }
.admin-usage-row > strong { min-width: 35px; color: #344f4d; text-align: right; font-size: .74rem; }
.admin-usage-track { height: 7px; overflow: hidden; border-radius: 999px; background: #eeece4; }
.admin-usage-track i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #b7c7ae, #c9a85b); }
.admin-event-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.admin-event-list li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: .55rem; padding: .67rem 0; border-bottom: 1px solid #efede6; font-size: .75rem; }
.admin-event-list li:last-child { border-bottom: 0; }
.admin-event-marker { width: 7px; height: 7px; border-radius: 50%; background: #b99b5e; }
.admin-event-list strong { overflow: hidden; color: #405957; font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-event-list time, .admin-event-list small { color: #899391; font-size: .66rem; white-space: nowrap; }
.admin-event-list small { grid-column: 2 / -1; }
.admin-shortcuts { display: flex; flex-wrap: wrap; gap: .5rem; }
.admin-shortcuts a { padding: .55rem .75rem; border: 1px solid #e5e2d9; border-radius: 999px; color: #45605d; background: #fffefa; font-size: .72rem; font-weight: 700; text-decoration: none; }
.admin-shortcuts a:hover { border-color: #d5c18d; background: #fffdf7; }
.admin-live-label { padding: .35rem .55rem; border: 1px solid #dce6d8; border-radius: 999px; color: #4b7054; background: #f2f7ee; font-size: .64rem; font-weight: 700; white-space: nowrap; }
.admin-live-empty { display: block !important; color: #7c8987; font-size: .75rem !important; }
.feature-paused { max-width: 650px; margin: 4rem auto; padding: clamp(1.5rem, 5vw, 3rem); border: 1px solid #e5e2d9; border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); }
.feature-paused > p:not(.eyebrow) { margin: 0 0 1.4rem; color: var(--ink-soft); line-height: 1.65; }
@media (max-width: 920px) {
  .admin-console-grid { grid-template-columns: minmax(0, 1fr); }
  .admin-feature-controls, .admin-console-side { grid-column: 1; }
  .admin-console-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chatroom-policy-grid { grid-template-columns: minmax(0, 1fr); }
  .chatroom-maintenance { align-items: flex-start; flex-direction: column; }
  .admin-queue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .admin-console-heading { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .admin-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .admin-kpi { min-height: 112px; padding: .8rem; }
  .admin-kpi > strong { font-size: 1.8rem; }
  .admin-kpi > small { font-size: .64rem; }
  .admin-console-side { grid-template-columns: minmax(0, 1fr); }
  .chatroom-policy-fields { grid-template-columns: minmax(0, 1fr); }
  .admin-feature-row { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .admin-feature-form { grid-template-columns: auto minmax(0, 1fr) auto; }
  .admin-section-heading { flex-direction: column; }
  .admin-queue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-event-list li { grid-template-columns: 10px minmax(0, 1fr); }
  .admin-event-list time { grid-column: 2; }
  .admin-usage-row { grid-template-columns: minmax(100px, 1fr) minmax(55px, 1fr) auto; gap: .45rem; font-size: .68rem; }
}

.user-admin-intro { margin-bottom: 1.2rem; }
.user-admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin: 1rem 0; }
.user-admin-stats article { display: grid; align-content: start; gap: .25rem; min-width: 0; padding: .9rem; border: 1px solid #e2e6dd; border-radius: 12px; background: #fffefa; }
.user-admin-stats article > span { color: #687973; font-size: .72rem; font-weight: 700; }
.user-admin-stats article > strong { color: #2c5048; font-size: clamp(1.05rem, 2vw, 1.45rem); overflow-wrap: anywhere; }
.user-admin-stats small { color: #78847f; font-size: .66rem; }
.user-admin-search-card { margin: 1rem 0; }
.user-admin-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .75rem; }
.user-admin-search .social-field { margin: 0; }
.user-admin-results { margin: 1rem 0; }
.user-admin-table-wrap { width: 100%; overflow-x: auto; }
.user-admin-table { width: 100%; border-collapse: collapse; font-size: .75rem; text-align: left; }
.user-admin-table th, .user-admin-table td { min-width: 110px; padding: .7rem .55rem; border-bottom: 1px solid #e9ece5; vertical-align: top; }
.user-admin-table th { color: #6e7e77; font-size: .64rem; letter-spacing: .04em; text-transform: uppercase; }
.user-admin-table td > span, .user-admin-table td > small, .user-admin-table td > a, .user-admin-table td > code { display: block; margin: 0 0 .18rem; }
.user-admin-table td small { color: #77837f; font-size: .66rem; }
.user-admin-table code, .user-admin-detail-heading code { font-size: .68rem; overflow-wrap: anywhere; }
.user-admin-name { color: #2c5d50; font-weight: 800; }
.user-admin-detail-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: .9rem 0 1rem; }
.user-admin-detail-heading h2 { margin: .15rem 0; color: #284c45; font-size: clamp(1.6rem, 4vw, 2.25rem); }
.user-admin-detail-heading .back-link { display: inline-block; margin: 0 0 .8rem; }
.user-admin-state-stack { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; }
.user-state-pill { display: inline-flex; align-items: center; width: fit-content; padding: .25rem .5rem; border: 1px solid #dce3dc; border-radius: 999px; color: #63746b; background: #f6f8f3; font-size: .63rem; font-weight: 750; white-space: nowrap; }
.user-state-pill.is-active { border-color: #c8ddcb; color: #3c704d; background: #eff8ee; }
.user-state-pill.is-live { border-color: #c6dfd5; color: #24674d; background: #eaf7ee; }
.user-state-pill.is-suspended { border-color: #e8c9be; color: #9a493c; background: #fff1ed; }
.user-state-pill.is-admin { border-color: #e3d5a6; color: #826b27; background: #fcf6df; }
.user-admin-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .8rem; margin: .8rem 0; }
.user-admin-card h3 { margin: 0 0 .65rem; color: #31564d; font-size: 1.15rem; }
.user-admin-community-reviews { margin: .8rem 0; }
.user-admin-community-reviews h3 { margin: 0 0 .3rem; color: #31564d; font-size: 1.1rem; }
.user-admin-community-review-list { display: grid; gap: .5rem; margin-top: .7rem; }
.user-admin-community-review-list article { min-width: 0; padding: .7rem; border: 1px solid #e6e9e2; border-radius: 8px; background: #fffefa; }
.user-admin-community-review-list strong, .user-admin-community-review-list span, .user-admin-community-review-list small { display: block; }
.user-admin-community-review-list strong { color: #3e5d50; font-size: .72rem; }
.user-admin-community-review-list span { margin-top: .16rem; color: #7b6842; font-size: .68rem; }
.user-admin-community-review-list small { margin-top: .25rem; color: #849088; font-size: .63rem; }
.user-admin-community-review-list p { margin: .45rem 0 0; color: #52665d; font-size: .72rem; line-height: 1.5; overflow-wrap: anywhere; }
.user-admin-action-form { display: grid; gap: .55rem; margin-top: .8rem; }
.user-admin-action-form .social-field { margin: 0; }
.user-admin-email-link { display: inline-block; margin-top: .8rem; color: #2b6955; font-size: .78rem; font-weight: 700; }
.user-admin-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem .85rem; margin: .6rem 0; }
.user-admin-facts div { display: flex; justify-content: space-between; gap: .7rem; padding: .42rem 0; border-bottom: 1px solid #edf0e9; }
.user-admin-facts dt { color: #738079; font-size: .72rem; }
.user-admin-facts dd { margin: 0; color: #36534a; font-size: .75rem; font-weight: 750; text-align: right; }
.user-admin-feature-list, .user-admin-link-list, .user-admin-audio-list { display: grid; gap: .35rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.user-admin-feature-list li { display: flex; justify-content: space-between; gap: .6rem; padding: .4rem 0; border-top: 1px solid #edf0e9; color: #5f7069; font-size: .72rem; }
.user-admin-feature-list strong { color: #36554a; }
.user-admin-edit, .user-admin-secondary { margin: .85rem 0; }
.user-admin-edit > summary, .user-admin-secondary > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; color: #31564d; list-style: none; }
.user-admin-edit > summary::-webkit-details-marker, .user-admin-secondary > summary::-webkit-details-marker { display: none; }
.user-admin-edit > summary strong, .user-admin-secondary > summary strong { display: block; font-size: 1rem; }
.user-admin-edit > summary > span:last-child, .user-admin-secondary > summary > span:last-child { color: #678277; font-size: 1.25rem; }
.user-admin-edit[open] > summary, .user-admin-secondary[open] > summary { margin-bottom: 1rem; }
.user-admin-profile-form { display: grid; gap: .75rem; }
.user-admin-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.user-admin-form-grid .social-field { margin: 0; }
.user-admin-profile-form .social-field { margin: 0; }
.user-admin-profile-form textarea { width: 100%; padding: .65rem .75rem; border: 1px solid #d6dcd4; border-radius: 8px; color: var(--ink); background: #fffefa; font: inherit; font-size: .82rem; resize: vertical; }
.user-admin-toggle-grid { display: flex; flex-wrap: wrap; gap: .6rem 1rem; }
.user-admin-toggle-grid label, .user-admin-goals label { display: inline-flex; align-items: center; gap: .4rem; color: #52675f; font-size: .74rem; }
.user-admin-goals { margin: 0; padding: .7rem; border: 1px solid #e0e6dd; border-radius: 9px; }
.user-admin-goals legend { padding: 0 .3rem; color: #52675f; font-size: .75rem; font-weight: 700; }
.user-admin-goals > div { display: flex; flex-wrap: wrap; gap: .55rem 1rem; }
.user-admin-social-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.user-admin-profile-copy { margin: .7rem 0; color: #52675f; font-size: .78rem; }
.user-admin-profile-copy p { margin: .2rem 0 .7rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.user-admin-link-list li { display: grid; gap: .15rem; padding: .45rem 0; border-top: 1px solid #edf0e9; font-size: .72rem; }
.user-admin-link-list li span { color: #748079; }
.user-admin-link-list a { overflow-wrap: anywhere; }
.user-admin-ledger-list { display: grid; gap: .35rem; margin-top: .7rem; }
.user-admin-ledger-list p { display: grid; grid-template-columns: 1fr auto; gap: .15rem .5rem; margin: 0; padding: .5rem 0; border-top: 1px solid #edf0e9; font-size: .72rem; }
.user-admin-ledger-list span, .user-admin-ledger-list code { color: #77827d; font-size: .65rem; }
.user-admin-ledger-list code { grid-column: 1 / -1; overflow-wrap: anywhere; }
.user-admin-report-list, .user-admin-audit-list { display: grid; gap: .55rem; max-height: 540px; overflow: auto; margin: .55rem 0 0; padding: 0; list-style: none; }
.user-admin-report-list li, .user-admin-audit-list li { padding: .6rem; border: 1px solid #e7ebe4; border-radius: 9px; background: #fffefa; }
.user-admin-report-list strong, .user-admin-audit-list strong { display: block; color: #3c5a50; font-size: .74rem; }
.user-admin-report-list time, .user-admin-audit-list span, .user-admin-audit-list small { display: block; margin-top: .2rem; color: #78837e; font-size: .65rem; }
.user-admin-report-list p, .user-admin-audit-list p { margin: .35rem 0 0; color: #4d6058; font-size: .74rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.user-admin-private-review { margin: 1rem 0 2rem; border-color: #d9d3b8; }
.user-admin-private-heading h3 { margin: 0 0 .3rem; color: #725d2d; font-size: 1.28rem; }
.user-admin-private-heading p { max-width: 850px; margin: .3rem 0; }
.user-admin-sensitive-form { display: grid; gap: .7rem; max-width: 760px; margin-top: .8rem; }
.user-admin-sensitive-form .social-field { margin: 0; }
.user-admin-sensitive-form textarea { width: 100%; padding: .7rem; border: 1px solid #d7d7c8; border-radius: 8px; color: var(--ink); background: #fffefa; font: inherit; font-size: .82rem; resize: vertical; }
.user-admin-sensitive-banner { display: flex; justify-content: space-between; gap: .6rem; margin: .75rem 0; padding: .65rem .8rem; border: 1px solid #cbdcca; border-radius: 9px; color: #315d4d; background: #f0f8ef; font-size: .75rem; }
.user-admin-private-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: .7rem 0; }
.user-admin-private-actions form { margin: 0; }
.user-admin-private-section { margin: .55rem 0; padding: .7rem; border: 1px solid #e5e8dd; border-radius: 10px; background: #fffefa; }
.user-admin-private-section > summary { cursor: pointer; color: #3e5c51; font-size: .85rem; font-weight: 800; }
.user-admin-conversation { margin-top: .7rem; padding: .7rem; border: 1px solid #e8ebe4; border-radius: 9px; background: #fbfcf8; }
.user-admin-conversation h4 { margin: 0; color: #3b574e; font-size: .8rem; }
.user-admin-conversation h4 small { display: block; margin-top: .15rem; color: #7b8680; font-size: .65rem; font-weight: 500; }
.user-admin-conversation ol, .user-admin-chat-history { display: grid; gap: .45rem; max-height: 600px; overflow: auto; margin: .6rem 0 0; padding: 0; list-style: none; }
.user-admin-conversation li, .user-admin-chat-history li { padding: .55rem; border: 1px solid #e6eae2; border-radius: 8px; background: #fff; }
.user-admin-conversation li header, .user-admin-chat-history li header { display: flex; justify-content: space-between; gap: .6rem; color: #435f55; font-size: .7rem; }
.user-admin-conversation li time, .user-admin-chat-history li time { color: #7d8882; font-size: .64rem; }
.user-admin-conversation li p, .user-admin-chat-history li p, .user-admin-private-item p { margin: .35rem 0 0; color: #40574f; font-size: .75rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.user-admin-private-image { display: block; width: auto; max-width: min(100%, 420px); max-height: 300px; margin-top: .5rem; border: 1px solid #dfe5dc; border-radius: 8px; object-fit: contain; }
.user-admin-profile-media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: .8rem; margin-top: .7rem; }
.user-admin-profile-media-grid figure { margin: 0; padding: .55rem; border: 1px solid #e5e8dd; border-radius: 10px; background: #fff; }
.user-admin-profile-media-grid .user-admin-private-image { width: 100%; max-width: none; max-height: 260px; object-fit: cover; }
.user-admin-profile-media-grid figcaption { margin-top: .35rem; color: #68766f; font-size: .7rem; }
.user-admin-audio-list li { display: grid; gap: .35rem; padding: .55rem 0; border-top: 1px solid #edf0e9; color: #586d63; font-size: .72rem; }
.user-admin-audio-list audio { width: min(100%, 420px); }
.user-admin-private-item { padding: .65rem 0; border-top: 1px solid #e9ece5; }
.user-admin-private-item > strong { color: #3e5c51; font-size: .75rem; }
.user-admin-private-item time { float: right; color: #7c8781; font-size: .65rem; }

@media (max-width: 850px) {
  .user-admin-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .user-admin-form-grid, .user-admin-social-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .user-admin-detail-heading { align-items: flex-start; flex-direction: column; }
  .user-admin-state-stack { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .user-admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .user-admin-search { grid-template-columns: minmax(0, 1fr); }
  .user-admin-form-grid, .user-admin-social-links { grid-template-columns: minmax(0, 1fr); }
  .user-admin-facts { grid-template-columns: minmax(0, 1fr); }
  .user-admin-sensitive-banner { flex-direction: column; }
}
@media print {
  @page { margin: 14mm; }
  body { color: #111; background: #fff; }
  .app-header, .nav-dropdown, .header-account, .user-admin-intro, .user-admin-detail-heading .back-link,
  .user-admin-edit, .user-admin-secondary, .user-admin-action-form, .user-admin-sensitive-form,
  .user-admin-private-actions, .chat-widget, dialog, footer { display: none !important; }
  .page-shell { width: 100%; max-width: none; margin: 0; padding: 0; }
  .user-admin-private-review, .user-admin-private-section, .user-admin-card { break-inside: avoid; box-shadow: none; }
  .user-admin-private-section[open] { display: block; }
  .user-admin-conversation ol, .user-admin-chat-history { max-height: none; overflow: visible; }
  .user-admin-private-image { max-width: 300px; max-height: 220px; }
  body.print-private-review .page-shell > :not(.user-admin-private-review) { display: none !important; }
}

.mission-beacon-review-card { display: grid; gap: .65rem; }
.mission-beacon-review-card > strong { color: #35564b; }
.mission-beacon-review-form { display: grid; gap: .65rem; margin-top: .25rem; padding-top: .75rem; border-top: 1px solid #e4e9e1; }
.mission-beacon-review-form .mission-field { margin: 0; }
.mission-beacon-review-choice { display: flex; align-items: flex-start; gap: .55rem; color: #586d63; font-size: .72rem; line-height: 1.5; }
.mission-beacon-review-choice input { flex: 0 0 auto; margin-top: .18rem; accent-color: #386d58; }
.mission-beacon-review-status { min-height: 1em; margin: 0; color: #47695a; font-size: .72rem; }
.mission-beacon-review-status.is-error { color: #a5433d; }

.public-service-section { padding-top: .35rem; }
.public-service-intro, .public-service-disclaimer { color: #738079; font-size: .73rem; line-height: 1.55; }
.public-service-intro { margin: -.1rem 0 .7rem; }
.public-service-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .65rem; }
.public-service-badges span { padding: .32rem .55rem; border: 1px solid #d5e4d5; border-radius: 999px; color: #3c674f; background: #eff7ec; font-size: .65rem; font-weight: 750; }
.public-service-stats, .public-service-ratings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.public-service-stats article, .public-service-rating { display: grid; gap: .18rem; padding: .7rem; border: 1px solid #e3e9e0; border-radius: 10px; background: #f8faf6; }
.public-service-stats span, .public-service-rating > span { color: #66786e; font-size: .69rem; }
.public-service-stats strong, .public-service-rating strong { color: #345b4c; font-size: 1.15rem; }
.public-service-stats small, .public-service-rating small { color: #87928c; font-size: .64rem; }
.public-service-ratings { margin-top: .55rem; }
.public-service-rating .public-service-no-rating { font-size: .85rem; }
.public-service-disclaimer { margin: .65rem 0 0; }
.public-service-reviews { margin-top: .8rem; border-top: 1px solid #e6eae3; }
.public-service-reviews > summary { padding: .7rem 0 .3rem; color: #3d6453; cursor: pointer; font-size: .75rem; font-weight: 750; }
.public-service-review-list { display: grid; gap: .55rem; margin-top: .45rem; }
.public-service-review { padding: .75rem; border: 1px solid #e5e9e2; border-radius: 9px; background: #fffefa; }
.public-service-review-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; color: #405e51; font-size: .72rem; }
.public-service-review-heading strong { min-width: 0; line-height: 1.5; overflow-wrap: anywhere; }
.public-service-review-heading strong span { padding: 0 .12rem; color: #9a875a; }
.public-service-review-heading time, .public-service-review > small { color: #828d86; font-size: .64rem; }
.public-service-review > p { margin: .45rem 0; color: #52665d; font-size: .76rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.public-service-review a { color: #35664f; font-weight: 700; }
.public-service-report { margin-top: .5rem; }
.public-service-report > summary { width: fit-content; color: #8b5b52; cursor: pointer; font-size: .66rem; }
.public-service-report-form { display: grid; gap: .5rem; margin-top: .45rem; }
.public-service-report-form .mission-field { margin: 0; }


@media (max-width: 900px) {
  .mission-beacon-layout { grid-template-columns: minmax(0, 1fr); }
  .mission-beacon-discovery { order: -1; }
}
@media (max-width: 640px) {
  .mission-mode-tabs { gap: .45rem; }
  .mission-mode-tab { min-height: 90px; padding: .65rem; }
  .mission-mode-tab strong { font-size: .82rem; }
  .mission-mode-tab small { font-size: .67rem; }
  .mission-beacon-map-heading { align-items: stretch; flex-direction: column; gap: .55rem; }
  .mission-beacon-discovery-controls { display: grid; grid-template-columns: 1fr; }
  .mission-beacon-discovery-controls .mission-field, .mission-beacon-discovery-controls .button { width: 100%; }
  .mission-beacon-availability { grid-column: 1; width: 100%; justify-content: center; border-radius: 999px; }
  .mission-beacon-hub { padding: .75rem; }
  .mission-beacon-heading { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .mission-beacon-layout { gap: .65rem; }
  .mission-beacon-options, .godcache-beacon-admin-form { grid-template-columns: minmax(0, 1fr); }
  .mission-beacon-map { height: 58vw; min-height: 260px; max-height: 360px; }
  .mission-beacon-list-heading { align-items: stretch; flex-direction: column; }
  .mission-beacon-list-heading .mission-field { width: 100%; }
  .mission-beacon-list-heading .button { width: 100%; }
  .mission-beacon-dialog-actions { flex-direction: column-reverse; }
  .mission-beacon-dialog-actions .button { width: 100%; }
  .public-service-review-heading { align-items: flex-start; flex-direction: column; gap: .2rem; }
}
.mission-beacon-chat-dialog { width: min(760px, calc(100vw - 1.5rem)); max-width: none; max-height: min(92dvh, 900px); padding: 0; border: 1px solid #d9dfd2; border-radius: 22px; color: #263d39; background: #fffefa; box-shadow: 0 24px 90px rgb(13 28 25 / 35%); }
.mission-beacon-chat-dialog::backdrop { background: rgb(16 31 29 / 62%); backdrop-filter: blur(3px); }
.mission-beacon-chat-shell { display: grid; grid-template-rows: auto auto minmax(220px, 1fr) auto; gap: .75rem; max-height: min(92dvh, 900px); padding: clamp(.85rem, 3vw, 1.35rem); }
.mission-beacon-chat-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.mission-beacon-chat-heading h2 { margin: 0; }
.mission-beacon-chat-heading p { margin: .25rem 0 0; }
.mission-beacon-chat-status { min-height: 1.25em; margin: 0; color: #53675d; font-size: .82rem; }
.mission-beacon-chat-status.is-error { color: #a33737; }
.mission-beacon-chat-messages { display: flex; flex-direction: column; gap: .7rem; min-height: 220px; max-height: 54vh; overflow-y: auto; padding: .8rem; border: 1px solid #e7e7de; border-radius: 16px; background: #f7f7f1; overscroll-behavior: contain; scroll-behavior: smooth; }
.mission-beacon-chat-message { position: relative; width: fit-content; max-width: min(94%, 610px); min-width: 190px; margin: 0; }
.mission-beacon-chat-message.is-broadcaster { align-self: stretch; width: auto; max-width: 100%; border: 1px solid #b5c7a9; border-left: 5px solid #5a805f; box-shadow: 0 4px 12px rgb(38 68 46 / 10%); }
.mission-beacon-chat-host { display: inline-flex; align-items: center; padding: .13rem .4rem; border: 1px solid #547657; border-radius: 999px; color: #35583c; background: #edf4e8; font-size: .59rem; font-weight: 800; letter-spacing: .06em; }
.mission-beacon-chat-duration { display: block; margin-top: .45rem; color: #52675e; font-size: .75rem; }
.mission-beacon-chat-audio { display: block; width: min(100%, 420px); height: 40px; margin-top: .35rem; }
.mission-beacon-chat-message .chat-message-image { display: block; max-width: min(100%, 480px); max-height: 360px; margin-top: .45rem; border-radius: 12px; object-fit: contain; }
.mission-beacon-chat-message .chat-media-disabled { filter: blur(14px) grayscale(.7); pointer-events: none; user-select: none; }
.mission-beacon-chat-message .chat-url-disabled { pointer-events: none; user-select: none; text-decoration: line-through; opacity: .64; }
.mission-beacon-chat-composer { display: grid; gap: .55rem; padding-top: .25rem; }
.mission-beacon-chat-composer textarea { width: 100%; min-height: 68px; resize: vertical; }
.mission-beacon-chat-tools { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; }
.mission-beacon-chat-tools label { cursor: pointer; }
.mission-beacon-chat-media-status { flex: 1; min-width: 10ch; color: #52675e; font-size: .75rem; }
.mission-beacon-chat-preview { width: auto; max-width: min(100%, 360px); max-height: 220px; border: 1px solid #dce1d7; border-radius: 12px; object-fit: contain; }
.mission-beacon-chat-preview-audio { width: min(100%, 420px); }
.mission-beacon-chat-report-form { display: grid; gap: .45rem; margin-top: .5rem; padding: .6rem; border: 1px solid #e4d8c8; border-radius: 12px; background: #fffaf4; }
.mission-beacon-chat-report-form textarea { min-height: 56px; }
.mission-beacon-chat-report-form button { justify-self: start; }
.mission-beacon-chat-message .chat-report-button { min-height: 28px; margin-top: .4rem; padding: .2rem .45rem; font-size: .68rem; }
.mission-beacon-chat-error { color: #a33737; }
.mission-beacon-chat-message .chat-message-meta { gap: .3rem .5rem; }
.mission-beacon-chat-message .chat-message-meta time { margin-left: auto; }
@media (max-width: 620px) {
  .mission-beacon-chat-dialog { width: calc(100vw - .6rem); max-height: 96dvh; border-radius: 17px; }
  .mission-beacon-chat-shell { max-height: 96dvh; padding: .75rem; }
  .mission-beacon-chat-messages { max-height: 49vh; padding: .55rem; }
  .mission-beacon-chat-message { max-width: 100%; min-width: min(100%, 170px); }
  .mission-beacon-chat-tools .button { flex: 1 1 auto; }
  .mission-beacon-chat-media-status { flex: 1 0 100%; }
}
@media (max-width: 600px) {
  .public-profile-friends { align-items: flex-start; flex-direction: column; }
  .public-profile-dialog { padding: .9rem; }
  .public-friends-list a > span:last-child { font-size: .57rem; }
}

/* Notification settings, campaigns, and app toasts */
.notification-page, .notification-admin-page { display: grid; gap: 1.1rem; }
.notification-settings-card, .notification-device-card, .notification-admin-card { min-width: 0; }
.notification-settings-card h2, .notification-admin-card h2 { margin-bottom: .45rem; font-size: 1.45rem; }
.notification-metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.notification-metric-grid article { display: grid; gap: .25rem; min-width: 0; padding: .8rem .9rem; border: 1px solid #e4e1d6; border-radius: 12px; background: #fffefa; }
.notification-metric-grid article > span { color: #5c7071; font-size: .72rem; }
.notification-metric-grid article > strong { color: #244b42; font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.notification-metric-grid article > small { color: #768486; font-size: .66rem; }
.notification-status, .notification-admin-status { display: none; padding: .7rem .85rem; border: 1px solid #a7c9b4; border-radius: 10px; color: #28553c; background: #eff8f1; font-size: .88rem; }
.notification-status.is-visible, .notification-admin-status.is-visible { display: block; }
.notification-status.is-error, .notification-admin-status.is-error { border-color: #dfb7ad; color: #813a30; background: #fff1eb; }
.notification-settings-card > .credit-config-check { margin: .9rem 0; }
.notification-device-label { display: grid; gap: .4rem; max-width: 520px; margin: 1rem 0; font-size: .83rem; font-weight: 700; }
.notification-settings-actions, .notification-service-actions, .notification-campaign-actions, .notification-audience-preview { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.notification-service-form { display: grid; gap: .9rem; }
.notification-channel-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem .8rem; }
.notification-service-form > label:not(.credit-config-check) { display: grid; gap: .4rem; max-width: 620px; font-size: .82rem; font-weight: 700; }
.notification-service-checks { display: flex; flex-wrap: wrap; gap: .45rem; margin: .7rem 0 1rem; }
.notification-check { padding: .35rem .55rem; border: 1px solid #e4d5af; border-radius: 999px; color: #695333; background: #fbf5e6; font-size: .7rem; font-weight: 700; }
.notification-check.is-ready { border-color: #b9d2bf; color: #315c3e; background: #eff7ef; }
.notification-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.notification-form-grid > label { display: grid; gap: .4rem; min-width: 0; font-size: .82rem; font-weight: 700; }
.notification-form-grid > label[hidden] { display: none !important; }
.notification-campaign-form input:not([type="checkbox"]), .notification-campaign-form select, .notification-campaign-form textarea, .notification-service-form input:not([type="checkbox"]) { display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 46px; padding: .68rem .78rem; border: 1px solid #d6dcd4; border-radius: 9px; color: var(--ink); background: #fffefa; font: inherit; font-size: .87rem; font-weight: 450; line-height: 1.4; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.notification-campaign-form textarea { min-height: 108px; resize: vertical; }
.notification-campaign-form [name="user_ids"] { min-height: 76px; }
.notification-campaign-form input::placeholder, .notification-campaign-form textarea::placeholder, .notification-service-form input::placeholder { color: #87938e; opacity: 1; }
.notification-campaign-form input:focus, .notification-campaign-form select:focus, .notification-campaign-form textarea:focus, .notification-service-form input:focus { border-color: #829d8d; outline: 0; box-shadow: 0 0 0 3px rgb(105 143 119 / 18%); background: #fff; }
.notification-campaign-form input:disabled, .notification-campaign-form select:disabled, .notification-campaign-form textarea:disabled, .notification-service-form input:disabled { color: #8a9490; background: #f0f1ed; cursor: not-allowed; }
.notification-campaign-form .credit-config-check input, .notification-service-form .credit-config-check input { width: auto; min-height: 0; padding: 0; border: 0; box-shadow: none; }
.notification-field-wide { grid-column: 1 / -1; }
.notification-form-grid select[multiple] { min-height: 108px; padding: .35rem; }
.notification-location-disclosure { margin: 0; padding: .7rem .8rem; border: 1px solid #eadfc5; border-radius: 9px; color: #725c37; background: #fbf6e9; font-size: .72rem; line-height: 1.55; }
.notification-toast-options { margin-top: 1rem; padding: .8rem; border: 1px solid var(--line); border-radius: 12px; background: #faf9f5; }
.notification-toast-options > summary { color: #31564e; font-size: .83rem; font-weight: 750; cursor: pointer; }
.notification-toast-options[open] > .notification-form-grid { margin-top: .8rem; }
.notification-audience-preview { justify-content: flex-start; padding: .75rem; border: 1px solid #e6e2d6; border-radius: 10px; background: #faf9f5; }
.notification-audience-preview > span { color: #53676b; font-size: .78rem; }
.notification-live-preview { margin-top: 1rem; padding: 1rem; border: 1px solid #e2e6df; border-radius: 13px; background: linear-gradient(145deg, #f9faf6, #f3f6f1); }
.notification-live-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .85rem; }
.notification-live-preview-heading .eyebrow { margin: 0 0 .2rem; font-size: .61rem; }
.notification-live-preview-heading h3 { margin: 0; color: #294d43; font-size: .96rem; }
.notification-live-preview-heading > span { max-width: 45%; padding: .28rem .5rem; border: 1px solid #d9e4da; border-radius: 999px; color: #49635a; background: #fff; font-size: .66rem; text-align: center; }
.notification-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.notification-preview-device { min-width: 0; padding: .75rem; border: 1px solid #e4e8e1; border-radius: 10px; background: #fffefa; }
.notification-preview-label { margin: 0 0 .5rem; color: #74827c; font-size: .59rem; font-weight: 800; letter-spacing: .08em; }
.notification-preview-push { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: start; gap: .55rem; min-height: 96px; padding: .65rem; border: 1px solid #e5e8e2; border-radius: 9px; background: #f8f9f7; box-shadow: 0 3px 10px rgb(26 43 35 / 6%); }
.notification-preview-push > img { width: 34px; height: 34px; padding: 4px; border-radius: 8px; background: #e8f0e8; }
.notification-preview-push > div { min-width: 0; }
.notification-preview-meta { display: flex; justify-content: space-between; gap: .45rem; margin-bottom: .18rem; color: #7a8580; font-size: .55rem; }
.notification-preview-meta strong { color: #436355; font-size: .53rem; letter-spacing: .04em; }
.notification-preview-push [data-preview-push-title] { display: block; overflow: hidden; color: #273e36; font-size: .73rem; text-overflow: ellipsis; white-space: nowrap; }
.notification-preview-push [data-preview-push-body] { display: -webkit-box; overflow: hidden; margin: .15rem 0 0; color: #5e6d66; font-size: .67rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.notification-preview-destination { margin: .45rem 0 0; color: #79857f; font-size: .61rem; }
.notification-preview-destination strong { color: #526a5f; font-weight: 700; }
.notification-preview-toast { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .45rem; min-height: 96px; padding: .7rem .6rem .7rem .75rem; border: 1px solid #d9e1d8; border-left: 4px solid #55819a; border-radius: 10px; color: #203d37; background: #fffefa; box-shadow: 0 8px 20px rgb(25 49 42 / 10%); }
.notification-preview-toast.is-green { border-left-color: #4d8862; }.notification-preview-toast.is-amber { border-left-color: #c4973f; }.notification-preview-toast.is-purple { border-left-color: #806aa6; }.notification-preview-toast.is-teal { border-left-color: #438b88; }.notification-preview-toast.is-rose { border-left-color: #b66f76; }
.notification-preview-toast > div { min-width: 0; }
.notification-preview-toast [data-preview-toast-title] { display: block; overflow: hidden; font-size: .73rem; text-overflow: ellipsis; white-space: nowrap; }
.notification-preview-toast [data-preview-toast-body] { display: -webkit-box; overflow: hidden; margin: .18rem 0 0; color: #5e6d66; font-size: .67rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.notification-preview-toast > .notification-preview-action { padding: .32rem .45rem; border: 1px solid #dae2d9; border-radius: 6px; color: #446151; background: #f4f7f1; font-size: .59rem; white-space: nowrap; }
.notification-preview-toast > .notification-preview-action[hidden] { display: none; }
.notification-preview-toast > span { color: #75817a; font-size: 1rem; }
.notification-preview-toast > span[hidden] { display: none; }
.notification-preview-meta-line, .notification-preview-disclaimer { margin: .45rem 0 0; color: #78857e; font-size: .61rem; line-height: 1.45; }
.notification-preview-disclaimer { margin-top: .7rem; }
.notification-campaign-list, .notification-device-list { display: grid; gap: .7rem; min-width: 0; }
.notification-campaign-row, .notification-device-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr) auto; align-items: center; gap: .8rem; padding: .85rem; border: 1px solid #e5e3d8; border-radius: 12px; background: #fffefa; }
.notification-campaign-copy { min-width: 0; }
.notification-campaign-copy p { margin: .35rem 0; color: #4f666a; font-size: .84rem; }
.notification-campaign-copy small, .notification-device-row .small-copy { color: #687b7e; font-size: .7rem; }
.notification-campaign-title { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.notification-campaign-title h3 { margin: 0; font-size: 1rem; }
.notification-campaign-results { display: flex; flex-wrap: wrap; gap: .35rem .7rem; color: #586b6d; font-size: .7rem; }
.notification-campaign-results strong { color: #244a43; }
.notification-campaign-actions-row { display: flex; align-items: center; gap: .35rem; }
.notification-campaign-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem .85rem; padding-top: .9rem; border-top: 1px solid #e9e7df; }
.notification-campaign-action-buttons { display: flex; flex-wrap: wrap; gap: .55rem; }
.notification-campaign-actions > [data-notification-last-run] { color: #60726d; }
.notification-campaign-actions > .form-footnote { flex-basis: 100%; margin: 0; }
.notification-audience-preview > span { min-width: 0; line-height: 1.45; }
.notification-device-row { grid-template-columns: minmax(0, 1fr) auto; }
.notification-device-row p { margin: .28rem 0; }
.notification-device-channels { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .4rem; }
.notification-device-channels span { padding: .18rem .42rem; border-radius: 999px; color: #35594c; background: #e8f0e8; font-size: .64rem; font-weight: 750; }
.notification-device-metrics { display: flex; flex-wrap: wrap; gap: .28rem; margin-top: .5rem; }
.notification-device-metrics > span { padding: .22rem .42rem; border: 1px solid #e4e9e1; border-radius: 6px; color: #62736b; background: #f8faf6; font-size: .61rem; white-space: nowrap; }
.notification-device-metrics strong { color: #315749; font-variant-numeric: tabular-nums; }
.notification-public-id { padding: .08rem .28rem; border: 1px solid #e2e8df; border-radius: 4px; color: #3f6253; background: #f5f8f2; font-size: .66rem; user-select: all; }
.notification-toast-host { position: fixed; z-index: 1000; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); display: grid; justify-items: end; gap: .65rem; width: min(410px, calc(100vw - 2rem)); pointer-events: none; }
.notification-toast { position: relative; width: 100%; padding: .85rem 2.35rem .85rem .95rem; border: 1px solid #d8dfd5; border-left: 5px solid #55819a; border-radius: 12px; background: #fffefa; box-shadow: 0 12px 35px rgb(16 42 51 / 20%); pointer-events: auto; animation: notification-toast-in .2s ease-out both; }
.notification-toast.is-green { border-left-color: #4d8862; }.notification-toast.is-amber { border-left-color: #c4973f; }.notification-toast.is-purple { border-left-color: #806aa6; }.notification-toast.is-teal { border-left-color: #438b88; }.notification-toast.is-rose { border-left-color: #b66f76; }
.notification-toast-link { display: grid; gap: .24rem; color: var(--ink); text-decoration: none; }
.notification-toast-link strong { font-size: .9rem; }.notification-toast-link span { color: #586d6f; font-size: .82rem; line-height: 1.4; }
.notification-toast-action { display: inline-flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; margin-top: .6rem; padding: .4rem .65rem; border: 1px solid #d8e2d8; border-radius: 7px; color: #31594a; background: #f0f5ef; font-size: .73rem; font-weight: 750; text-decoration: none; overflow-wrap: anywhere; }
.notification-toast-action:hover { background: #e7efe5; }
.notification-toast-close { position: absolute; top: .35rem; right: .45rem; width: 30px; height: 30px; border: 0; border-radius: 50%; color: #52676a; background: transparent; font-size: 1.25rem; cursor: pointer; }
.notification-toast-close:hover { background: #edf0e9; }
@keyframes notification-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 700px) {
  .notification-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notification-campaign-row { grid-template-columns: minmax(0, 1fr); }
  .notification-campaign-results { gap: .25rem .55rem; }
  .notification-form-grid { grid-template-columns: minmax(0, 1fr); }
  .notification-field-wide { grid-column: auto; }
  .notification-preview-grid { grid-template-columns: minmax(0, 1fr); }
  .notification-campaign-actions-row { justify-content: flex-start; }
  .notification-campaign-action-buttons { width: 100%; }
  .notification-campaign-action-buttons > .button { flex: 1 1 145px; }
  .notification-campaign-actions > [data-notification-last-run] { width: 100%; }
  .notification-channel-controls { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 430px) {
  .notification-metric-grid { grid-template-columns: minmax(0, 1fr); }
  .notification-settings-actions > .button, .notification-service-actions > .button { flex: 1 1 auto; }
}

.email-admin-page { overflow-wrap: anywhere; }
.email-admin-page code { padding: .08rem .28rem; border-radius: 4px; color: #31594a; background: #eef3ec; }
.email-admin-page .notification-form-grid > label:not(.credit-config-check),
.email-identity-edit > label,
.email-test-form > label,
.email-campaign-form > label:not(.credit-config-check) { display: grid; gap: .4rem; min-width: 0; color: #354c45; font-size: .8rem; font-weight: 700; line-height: 1.4; }
.email-admin-page input:not([type="checkbox"]),
.email-admin-page select,
.email-admin-page textarea { display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 44px; padding: .68rem .78rem; border: 1px solid #d6dcd4; border-radius: 9px; color: var(--ink); background: #fffefa; font: inherit; font-size: .87rem; font-weight: 450; line-height: 1.4; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.email-admin-page input[type="hidden"] { display: none !important; }
.email-admin-page textarea { min-height: 82px; resize: vertical; }
.email-admin-page input::placeholder, .email-admin-page textarea::placeholder { color: #87938e; opacity: 1; }
.email-admin-page input:focus-visible, .email-admin-page select:focus-visible, .email-admin-page textarea:focus-visible { border-color: #829d8d; outline: 0; box-shadow: 0 0 0 3px rgb(105 143 119 / 18%); background: #fff; }
.email-admin-page input:disabled, .email-admin-page select:disabled, .email-admin-page textarea:disabled { color: #8a9490; background: #f0f1ed; cursor: not-allowed; }
.email-admin-page .credit-config-check input { width: auto; min-height: 0; padding: 0; border: 0; box-shadow: none; accent-color: #527961; }
.email-admin-page .credit-config-check { display: flex; align-items: flex-start; gap: .6rem; }
.email-admin-page .credit-config-check > span { display: grid; gap: .18rem; }
.email-admin-page .field-hint { color: #687b7e; font-size: .7rem; font-weight: 450; }
.email-metric-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.email-config-status, .email-event-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 1rem; }
.email-checkbox { align-self: end; min-width: 0; margin: 0; }
.email-field-wide { grid-column: 1 / -1; }
.email-identity-form { margin-bottom: 1rem; }
.email-identity-list, .email-campaign-list, .email-log-list { display: grid; gap: .65rem; margin-top: .8rem; }
.email-identity-row, .email-campaign-row, .email-log-row { min-width: 0; padding: .8rem; border: 1px solid #e5e3d8; border-radius: 12px; background: #fffefa; }
.email-identity-edit { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .65rem; align-items: end; }
.email-identity-edit > label, .email-test-form > label, .email-campaign-form > label:not(.credit-config-check) { display: grid; gap: .35rem; min-width: 0; font-size: .8rem; font-weight: 700; }
.email-identity-edit input, .email-identity-edit select, .email-test-form input, .email-test-form select, .email-campaign-form input, .email-campaign-form select, .email-campaign-form textarea { min-width: 0; width: 100%; }
.email-identity-row > form:last-child { display: flex; justify-content: flex-end; margin-top: .45rem; }
.email-event-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.email-event-list article { display: flex; align-items: flex-start; gap: .6rem; min-width: 0; padding: .7rem; border: 1px solid #e5e3d8; border-radius: 10px; background: #fffefa; }
.email-event-list article > div { display: grid; gap: .25rem; }
.email-event-list strong { font-size: .8rem; }.email-event-list small { color: #687b7e; font-size: .7rem; }
.email-campaign-row { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(190px,.8fr) auto; align-items: center; gap: .8rem; }
.email-campaign-copy { min-width: 0; }.email-campaign-copy p { margin: .35rem 0; color: #4f666a; font-size: .82rem; }
.email-campaign-copy small { color: #687b7e; font-size: .7rem; }
.email-audience-details { margin-top: .5rem; padding: .55rem .65rem; border: 1px solid #e5e9e1; border-radius: 9px; color: #526962; background: #f8faf6; font-size: .7rem; }
.email-audience-details summary { color: #31594a; font-weight: 750; cursor: pointer; }
.email-audience-details p { margin: .45rem 0 0; font-size: .72rem; line-height: 1.5; }
.email-audience-details > div { display: grid; gap: .3rem; margin-top: .45rem; }
.email-audience-details code { padding: .35rem; overflow-wrap: anywhere; font-size: .63rem; }
.email-campaign-metrics { display: flex; flex-wrap: wrap; gap: .35rem .65rem; color: #586b6d; font-size: .7rem; }
.email-campaign-metrics strong { color: #244a43; }.email-campaign-actions { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; }
.email-log-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: .4rem .7rem; }
.email-log-row > div { display: grid; gap: .2rem; }.email-log-row small { color: #687b7e; font-size: .68rem; }
.email-error-code { color: #8a4b41 !important; }
.email-profile-id { overflow-wrap: anywhere; user-select: all; }
.email-targeting-note { align-self: center; margin: 0; }
.auth-email-opt-in { margin: .25rem 0 .65rem; }

.sos-admin-page { display: grid; gap: 1rem; }
.sos-admin-head-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.sos-admin-notice { padding: .75rem .9rem; border: 1px solid #e4cfad; border-radius: 10px; color: #5d503a; background: #fbf3df; font-size: .75rem; line-height: 1.55; }
.sos-admin-metrics { margin: 0; }
.sos-admin-status { min-height: 1.25rem; margin: 0; color: #536d5f; font-size: .75rem; }
.sos-admin-status.is-error { color: #a03e35; }
.sos-admin-list { display: grid; gap: .8rem; }
.sos-admin-incident { min-width: 0; padding: clamp(.8rem,2vw,1.15rem); border: 1px solid #dddcd1; border-radius: 14px; background: #fffefa; box-shadow: 0 8px 24px rgb(20 43 49 / 4%); }
.sos-admin-incident > header { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; padding-bottom: .65rem; border-bottom: 1px solid #e8e7de; }
.sos-admin-incident > header h2 { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: 0; color: #223e39; font-size: 1.1rem; }
.sos-admin-incident > header h2 small { padding: .2rem .4rem; border-radius: 999px; color: #852f2e; background: #f8e7e1; font-size: .55rem; letter-spacing: .06em; }
.sos-admin-incident > header p { margin: .25rem 0 0; color: #647573; font-size: .7rem; }
.sos-admin-incident > header code { overflow-wrap: anywhere; color: #315c4c; }
.sos-admin-incident > header time { flex: 0 0 auto; color: #6e7c76; font-size: .68rem; text-align: right; }
.sos-admin-times { display: grid; justify-items: end; gap: .24rem; }
.sos-admin-facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .55rem; margin: .7rem 0; }
.sos-admin-facts > div { display: grid; align-content: start; gap: .22rem; min-width: 0; padding: .6rem; border: 1px solid #e8e8df; border-radius: 9px; background: #fbfaf6; }
.sos-admin-facts span { color: #71807b; font-size: .61rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.sos-admin-facts strong { overflow-wrap: anywhere; color: #304a42; font-size: .75rem; }
.sos-admin-facts small, .sos-admin-facts a { overflow-wrap: anywhere; color: #687975; font-size: .62rem; }
.sos-admin-facts > .sos-admin-synopsis { grid-column: 1 / -1; }
.sos-admin-synopsis { display: grid; gap: .2rem; padding: .6rem; border: 1px solid #d5e3d7; border-radius: 9px; background: #f1f7f0; }
.sos-admin-synopsis strong { color: #2f5445; font-size: .66rem; }
.sos-admin-synopsis p { margin: 0; color: #536a5f; font-size: .67rem; line-height: 1.5; }
.sos-admin-synopsis small { color: #73827a; font-size: .59rem; }
.sos-admin-environment progress { appearance: none; width: 100%; height: .42rem; overflow: hidden; border: 0; border-radius: 999px; background: #d8e1d9; color: var(--sos-signal-color,#31bf7b); }
.sos-admin-environment progress::-webkit-progress-bar { border-radius: 999px; background: #d8e1d9; }
.sos-admin-environment progress::-webkit-progress-value { border-radius: 999px; background: var(--sos-signal-color,#31bf7b); transition: width .35s ease,background-color .35s ease; }
.sos-admin-environment progress::-moz-progress-bar { border-radius: 999px; background: var(--sos-signal-color,#31bf7b); transition: width .35s ease,background-color .35s ease; }
.sos-admin-alerts { margin: .55rem 0; padding: .55rem .65rem; border: 1px solid #e4e7df; border-radius: 8px; background: #fafbf7; }
.sos-admin-alerts summary { color: #3e5b4d; font-size: .72rem; font-weight: 750; cursor: pointer; }
.sos-admin-alerts ul { display: grid; gap: .22rem; margin: .45rem 0 0; padding-left: 1.15rem; color: #65726d; font-size: .67rem; }
.sos-admin-media { margin: .7rem 0; }
.sos-admin-media-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem; margin-bottom: .4rem; }
.sos-admin-media-heading h3 { margin: 0; }
.sos-admin-media h3 { margin: 0 0 .4rem; color: #345248; font-size: .8rem; }
.sos-admin-media ol { display: grid; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.sos-admin-media li { display: grid; grid-template-columns: minmax(0,1fr) minmax(140px,auto); align-items: center; gap: .55rem; min-width: 0; padding: .45rem .55rem; border: 1px solid #e7e7de; border-radius: 8px; }
.sos-admin-media li > div:first-child { display: grid; gap: .15rem; min-width: 0; }
.sos-admin-media li strong { color: #3c5047; font-size: .69rem; }
.sos-admin-media li small { color: #73807a; font-size: .6rem; }
.sos-admin-media-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem; }
.sos-admin-media-actions .button, .sos-admin-media-heading .button, .sos-admin-actions form .button-danger { color: #fffdf9; background: #8a3434; border-color: #772a2a; }
.sos-admin-media-actions .button-secondary { color: #203c35; background: #edf2e9; border-color: #c9d3c8; }
.sos-admin-clip-map { color: #315c4c; font-size: .62rem; font-weight: 700; }
.sos-admin-link-expired { align-self: center; color: #744b40; font-size: .68rem; }
.sos-admin-device strong { color: #214b3f; }
.sos-admin-device[data-connected="false"] strong { color: #8a3434; }
.sos-admin-environment { display: grid; align-content: start; gap: .2rem; min-width: 0; padding: .6rem; border: 1px solid #e8e8df; border-radius: 9px; background: #fbfaf6; }
.sos-admin-environment > span { color: #71807b; font-size: .61rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.sos-admin-environment > strong { overflow-wrap: anywhere; color: #304a42; font-size: .73rem; }
.sos-admin-environment > small { overflow-wrap: anywhere; color: #687975; font-size: .59rem; }
.sos-admin-environment progress { width: 100%; height: .42rem; accent-color: #537e60; }
.sos-admin-page .button-secondary, .sos-admin-page .button-quiet { border-color: #c9d3c8; color: #203c35; background: #edf2e9; }
.sos-admin-page .button-secondary:hover, .sos-admin-page .button-quiet:hover { color: #162f2b; background: #dfe9df; }
.sos-admin-page .button-danger { border-color: #772a2a; color: #fffdf9; background: #8a3434; }
.sos-admin-page .button-danger:hover { color: #fff; background: #722b2b; }
.sos-admin-actions { display: flex; flex-wrap: wrap; align-items: end; gap: .4rem; padding-top: .65rem; border-top: 1px solid #e8e7de; }
.sos-admin-actions > button { min-height: 37px; }
.sos-admin-actions form { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: end; gap: .4rem; }
.sos-admin-actions form label { flex: 1 1 260px; display: grid; gap: .25rem; color: #4b6359; font-size: .67rem; font-weight: 700; }
.sos-admin-actions input { box-sizing: border-box; width: 100%; min-height: 38px; min-width: 0; padding: .55rem .65rem; border: 1px solid #d7ddd5; border-radius: 8px; color: var(--ink); background: white; font: inherit; font-size: .75rem; }
.sos-admin-actions input:focus-visible { outline: 2px solid rgb(90 133 104 / 35%); border-color: #73947c; }
.sos-admin-actions .button { min-height: 38px; }
.sos-lock-screen ~ * { pointer-events: none; }
.sos-community-lock {
  display: grid; grid-column: 2; gap: .75rem; min-width: 0; padding: clamp(.8rem,2.2vw,1.15rem);
  border: 1px solid #5c7568; border-radius: 1rem;
  color: #edf1e9; background: linear-gradient(145deg,#2c4439,#20372f 76%);
  box-shadow: 0 16px 34px rgb(3 12 9 / 18%);
}
.sos-community-lock-heading { display: grid; gap: .25rem; }
.sos-community-lock-heading .eyebrow, .sos-community-chat .eyebrow { margin: 0; color: #e4bc81; font-size: .68rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.sos-community-lock-heading h2, .sos-community-responders h3, .sos-community-chat h3 { margin: 0; color: #fff8e8; font: 500 clamp(1.2rem,2.3vw,1.6rem)/1.15 var(--font-display,Georgia,serif); }
.sos-community-lock > p:not(.eyebrow) { margin: 0; color: #d2ddd3; font-size: .84rem; line-height: 1.55; }
.sos-community-lock > .button { justify-self: start; min-height: 44px; }
.sos-community-lock > .sos-community-lock-status { min-height: 1.2em; margin: 0; color: #b5c7ba; font-size: .72rem; line-height: 1.45; }
.sos-community-lock-content[hidden] { display: none !important; }
.sos-community-lock-content { display: grid; gap: .8rem; min-width: 0; }
.sos-community-responders, .sos-community-chat { display: grid; gap: .55rem; min-width: 0; }
.sos-community-responders h3, .sos-community-chat h3 { font-size: 1.05rem; }
.sos-community-responders > div { display: grid; gap: .45rem; min-width: 0; }
.sos-community-responder { display: grid; gap: .25rem; min-width: 0; padding: .65rem .75rem; border: 1px solid #50695b; border-radius: .75rem; background: rgb(8 21 15 / 28%); }
.sos-community-responder-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem; color: #f4f2e8; font-size: .83rem; font-weight: 700; }
.sos-community-responder-status { padding: .18rem .45rem; border: 1px solid #729177; border-radius: 99px; color: #d8efcf; background: #314b3c; font-size: .62rem; font-weight: 700; }
.sos-community-responder p { margin: 0; color: #c2d0c4; font-size: .76rem; line-height: 1.5; overflow-wrap: anywhere; }
.sos-community-chat { padding: .75rem; border: 1px solid #50695b; border-radius: .85rem; background: rgb(8 21 15 / 26%); }
.sos-community-chat > header { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: .55rem; }
.sos-community-chat > header > div { display: grid; gap: .25rem; }
.sos-community-chat > header > small { color: #b7c6b9; font-size: .67rem; line-height: 1.4; }
.sos-community-chat-messages { display: grid; align-content: start; gap: .5rem; min-height: 5rem; max-height: min(38dvh,19rem); overflow: auto; overscroll-behavior: contain; padding: .55rem; border: 1px solid #42584b; border-radius: .65rem; background: #172a22; }
.sos-community-chat-empty { align-self: center; margin: auto; color: #aebfb2; font-size: .75rem; text-align: center; }
.sos-community-message { display: grid; gap: .22rem; justify-self: start; width: min(92%,34rem); min-width: 0; padding: .55rem .65rem; border: 1px solid #425b4c; border-radius: .65rem .65rem .65rem .2rem; color: #eff1e9; background: #263b30; }
.sos-community-message[data-mine="true"] { justify-self: end; border-color: #76694c; border-radius: .65rem .65rem .2rem .65rem; background: #403d2e; }
.sos-community-message header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .6rem; color: #cfb985; font-size: .65rem; font-weight: 700; }
.sos-community-message time { color: #aebcb0; font-size: .62rem; font-weight: 500; }
.sos-community-message p { margin: 0; color: #f0f0e9; font-size: .78rem; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
.sos-community-message img { display: block; width: min(100%,18rem); max-height: 15rem; object-fit: contain; border-radius: .45rem; background: #101a15; }
.sos-community-message audio { width: min(100%,22rem); min-height: 2.6rem; }
.sos-community-chat-composer { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: .45rem; }
.sos-community-chat-composer label { grid-column: 1 / -1; color: #d1ddd2; font-size: .72rem; font-weight: 700; }
.sos-community-chat-composer textarea { box-sizing: border-box; width: 100%; min-width: 0; min-height: 2.8rem; max-height: 8rem; resize: vertical; padding: .65rem .75rem; border: 1px solid #657969; border-radius: .65rem; color: #f1f2e9; background: #172a22; font: inherit; font-size: .8rem; line-height: 1.4; }
.sos-community-chat-composer textarea::placeholder { color: #9aaea0; }
.sos-community-chat-composer textarea:focus-visible, .sos-community-lock :focus-visible { outline: 3px solid #edcf86; outline-offset: 2px; }
.sos-community-chat-composer .button { min-height: 44px; padding-inline: .8rem; }
.sos-community-lock-content > .button-quiet { justify-self: start; min-height: 44px; border-color: #718473; color: #e8eadf; background: #30463a; }
@media (max-width: 480px) {
  .sos-community-chat-composer { grid-template-columns: minmax(0,1fr); }
  .sos-community-chat-composer label { grid-column: 1; }
  .sos-community-chat-composer .button { width: 100%; }
}
.field-sos-camera-preview { display: grid; gap: .25rem; width: min(100%,360px); margin: .25rem 0; padding: .35rem; border: 1px solid rgb(239 158 139 / 38%); border-radius: 9px; background: #0a1114; }
.field-sos-camera-preview[hidden] { display: none !important; }
.field-sos-camera-preview video { display: block; width: 100%; max-height: 190px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #030708; }
.field-sos-camera-preview figcaption { color: #bdcbc2; font-size: .62rem; line-height: 1.4; }
@media (max-width: 760px) { .sos-admin-facts { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) {
  .sos-admin-head-actions { width: 100%; }
  .sos-admin-head-actions .button { flex: 1 1 auto; }
  .sos-admin-incident > header { display: grid; }
  .sos-admin-incident > header time { text-align: left; }
  .sos-admin-times { justify-items: start; }
  .sos-admin-facts { grid-template-columns: minmax(0,1fr); }
  .sos-admin-media li { grid-template-columns: minmax(0,1fr); }
  .sos-admin-media-actions { justify-content: flex-start; }
  .sos-admin-actions form { display: grid; grid-template-columns: minmax(0,1fr); }
}
@media print {
  .app-header, .app-footer, .sos-admin-head-actions, .sos-admin-actions, .chat-widget, .field-audio-dock { display: none !important; }
  .sos-admin-page { width: 100%; }
  .sos-admin-incident { break-inside: avoid; box-shadow: none; }
}
@media (max-width: 900px) {
  .email-metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .email-event-list { grid-template-columns: minmax(0,1fr); }
  .email-campaign-row { grid-template-columns: minmax(0,1fr); }
  .email-campaign-actions { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .email-identity-edit { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .email-field-wide { grid-column: auto; }
  .email-log-row { grid-template-columns: minmax(0,1fr) auto; }
  .email-log-row > small { grid-column: 1 / -1; }
}
@media (max-width: 430px) {
  .email-metric-grid, .email-identity-edit { grid-template-columns: minmax(0,1fr); }
}
