:root {
  --ink: #183532;
  --ink-soft: #46605d;
  --paper: #f7f2e8;
  --paper-deep: #eee5d5;
  --card: #fffdf8;
  --line: #d9d2c5;
  --green: #1e5a52;
  --green-dark: #143f3a;
  --sea: #2d7180;
  --coral: #df6d4f;
  --sun: #e5aa42;
  --danger: #9c3e31;
  --shadow: 0 14px 35px rgba(27, 51, 48, .09);
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--coral); }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 5vw, 4.8rem); font-weight: 500; letter-spacing: -.045em; }
h2 { font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -.025em; }
h3 { font-size: 1.08rem; }

.site-header { min-height: 78px; padding: 13px max(22px, calc((100vw - 1240px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--green-dark); color: white; }
.brand { color: white; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand:hover { color: white; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font: italic 1.65rem Georgia, serif; color: #f6c86d; }
.brand span:last-child, .account-profile { display: flex; flex-direction: column; }
.brand strong { letter-spacing: .02em; }
.brand small, .account small { color: rgba(255,255,255,.67); font-size: .72rem; }
.account { display: flex; align-items: center; gap: 16px; text-align: right; font-size: .85rem; }
.account-profile { color: #fff; text-decoration: none; }
.account-profile:hover { color: #f6c86d; }
.link-button { padding: 6px 0; color: #fff; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.55); }
.main-nav { display: flex; gap: 5px; padding: 0 max(18px, calc((100vw - 1240px) / 2)); overflow-x: auto; background: #fffdf8; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.main-nav a { white-space: nowrap; text-decoration: none; color: var(--ink-soft); padding: 15px 13px 12px; border-bottom: 3px solid transparent; font-size: .88rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--coral); }
.page-shell { width: min(1240px, calc(100% - 36px)); margin: 0 auto; padding: 38px 0 70px; }
.site-footer { padding: 30px 20px; text-align: center; color: var(--ink-soft); border-top: 1px solid var(--line); font-size: .82rem; }

.eyebrow { margin-bottom: 8px; color: var(--coral); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 800; }
.eyebrow.danger { color: var(--danger); }
.muted { color: var(--ink-soft); }
.prose { white-space: pre-line; }
.place { color: var(--sea); font-weight: 650; }
.clamp { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; color: var(--ink-soft); }
.panel { background: var(--card); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); box-shadow: 0 7px 18px rgba(27,51,48,.035); }
.paper-panel { background: #f1eadc; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading h2, .section-heading p { margin-bottom: 0; }
.section-heading > span, .section-heading > a { font-size: .84rem; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button, button.primary, button.secondary { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 17px; border: 1px solid transparent; border-radius: 5px; font-weight: 750; text-decoration: none; transition: transform .15s, background .15s; }
.button:hover, button:hover { transform: translateY(-1px); }
.primary, .button.primary { color: #fff; background: var(--green); border-color: var(--green); }
.primary:hover, .button.primary:hover { color: #fff; background: var(--green-dark); }
.secondary, .button.secondary { color: var(--green); background: transparent; border-color: var(--green); }
.secondary:hover, .button.secondary:hover { color: #fff; background: var(--green); }
.button.small, button.small { min-height: 36px; padding: 7px 12px; font-size: .82rem; }
.wide { width: 100%; }

.flash-stack { position: relative; z-index: 10; display: grid; gap: 8px; margin-bottom: 20px; }
.flash { padding: 12px 15px; border-left: 4px solid var(--sea); background: #edf7f5; box-shadow: var(--shadow); }
.flash.error { border-color: var(--danger); background: #fff0ed; color: #782e24; }
.flash.success { border-color: var(--green); }

.hero { position: relative; overflow: hidden; min-height: 430px; padding: clamp(35px, 6vw, 74px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .5fr); align-items: center; gap: 48px; color: #fff; background: var(--green-dark); }
.hero::after { content: ""; position: absolute; width: 430px; height: 430px; right: -180px; top: -210px; border: 90px solid rgba(229,170,66,.19); border-radius: 50%; }
.hero > * { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 20px; color: #fff; }
.hero-copy { max-width: 620px; color: #c9dbd7; font-size: 1.05rem; }
.hero .secondary { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .secondary:hover { background: #fff; color: var(--green); }
.hero-postcard { transform: rotate(2deg); min-height: 220px; padding: 34px 28px; display: flex; flex-direction: column; justify-content: center; background: var(--paper); color: var(--ink); box-shadow: 12px 16px 0 rgba(0,0,0,.12); border: 1px solid #fff; }
.hero-postcard span { color: var(--coral); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; font-weight: 800; }
.hero-postcard strong { font: 5.5rem/1 Georgia, serif; color: var(--green); }
.hero-postcard small { color: var(--ink-soft); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 18px 0 36px; border: 1px solid var(--line); background: var(--card); }
.stats-grid article { min-height: 135px; padding: 22px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.stats-grid article:last-child { border: 0; }
.stats-grid span { color: var(--ink-soft); font-size: .78rem; }
.stats-grid strong { margin: auto 0 3px; font: 2.5rem/1 Georgia, serif; color: var(--green); }
.stats-grid .status-word { font: 750 1.2rem/1.1 ui-sans-serif, system-ui; text-transform: capitalize; }
.stats-grid small { color: var(--ink-soft); }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 22px; }
.three-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.consensus-glance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.consensus-glance div { padding: 14px; border-left: 3px solid var(--sun); background: #faf5ea; }
.consensus-glance span { display: block; color: var(--ink-soft); font-size: .73rem; }
.consensus-glance strong { display: block; margin-top: 4px; font-size: 1.2rem; }
.signal { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.activity-list { padding: 0; margin: 0; list-style: none; }
.activity-list li { display: flex; gap: 13px; padding: 10px 0; border-bottom: 1px solid rgba(24,53,50,.1); }
.activity-list li:last-child { border: 0; }
.activity-list div { display: flex; flex-direction: column; }
.activity-list small { color: var(--ink-soft); }
.activity-dot { flex: 0 0 10px; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--coral); }
.activity-dot.idee { background: var(--sun); }.activity-dot.album { background: var(--sea); }
.top-homes { margin-top: 22px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.card-grid.compact .listing-card:nth-child(n+4) { display: none; }
.empty-inline { min-height: 100px; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px dashed var(--line); }
.empty-inline p { margin: 0; color: var(--ink-soft); }

.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin: 15px 0 36px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.page-heading h1 { max-width: 900px; margin-bottom: 10px; }
.page-heading p:last-child { max-width: 720px; margin: 0; color: var(--ink-soft); }
.action-details { position: relative; }
.action-details > summary { list-style: none; white-space: nowrap; }
.action-details > summary::-webkit-details-marker { display: none; }
.popover-form { position: absolute; z-index: 20; top: calc(100% + 10px); right: 0; width: min(520px, calc(100vw - 36px)); max-height: 75vh; overflow-y: auto; padding: 25px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.popover-form h2 { margin-bottom: 20px; }
.stack-form, .popover-form { display: grid; gap: 17px; }
label { display: grid; gap: 7px; color: var(--ink); font-size: .86rem; font-weight: 680; }
label small { color: var(--ink-soft); font-weight: 400; }
input, textarea, select { width: 100%; min-height: 45px; padding: 10px 12px; color: var(--ink); background: #fffefa; border: 1px solid #bdb7ab; border-radius: 3px; outline: none; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--sea); box-shadow: 0 0 0 3px rgba(45,113,128,.14); }
input[type="checkbox"], input[type="radio"] { width: 18px; min-height: 18px; accent-color: var(--green); }
input[type="range"] { padding: 0; accent-color: var(--coral); box-shadow: none; border: 0; background: transparent; }
.form-grid { display: grid; gap: 14px; }.form-grid.two { grid-template-columns: repeat(2, 1fr); }.form-grid.three { grid-template-columns: repeat(3, 1fr); }.form-grid.four { grid-template-columns: repeat(4, 1fr); }
.inline-check { display: flex; grid-template-columns: auto 1fr; align-items: center; }
.questionnaire { gap: 0; }
.form-section { display: grid; grid-template-columns: 85px minmax(0, 1fr); border-top: 1px solid var(--line); padding: 35px 0; }
.section-number { font: italic 1.3rem Georgia, serif; color: var(--coral); }
.form-section-body { max-width: 960px; }
.form-section-body h2 { margin-bottom: 8px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 17px 0 21px; }
.check-card { min-height: 56px; padding: 11px 13px; display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); font-weight: 560; }
.check-card:has(input:checked) { border-color: var(--green); background: #eaf3ef; }
.range-labels { display: flex; justify-content: space-between; color: var(--ink-soft); font-weight: 400; }
.sticky-submit { position: sticky; z-index: 8; bottom: 14px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 15px; background: rgba(255,253,248,.96); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.sticky-submit span { color: var(--ink-soft); font-size: .84rem; }

.consensus-hero { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 22px; background: var(--green-dark); color: #fff; }
.consensus-hero > div { padding: 27px 23px; border-right: 1px solid rgba(255,255,255,.19); }
.consensus-hero span, .consensus-hero small { display: block; color: #bfd3ce; font-size: .75rem; }
.consensus-hero strong { display: block; margin: 10px 0 5px; font: 2rem/1 Georgia, serif; color: #fff0ca; }
.consensus-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.vote-bars { display: grid; gap: 18px; }
.bar-label { display: flex; justify-content: space-between; gap: 15px; font-size: .86rem; }
.bar-track { height: 8px; margin-top: 6px; background: var(--paper-deep); overflow: hidden; }
.bar-track span { display: block; height: 100%; background: var(--coral); }
.bar-track.green span { background: var(--green); }.bar-track.blue span { background: var(--sea); }
.priority { display: inline-block; margin-top: 4px; color: var(--ink-soft); }
.priority.required { color: var(--danger); font-weight: 750; }.priority.important { color: #956112; font-weight: 750; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }.tag-cloud span { padding: 8px 11px; background: var(--paper-deep); font-size: .83rem; }.tag-cloud b { margin-left: 4px; color: var(--coral); }
.info-note { display: block; margin-top: 22px; padding: 20px 24px; background: #e7f0ed; border-left: 4px solid var(--green); }
.info-note p { margin: 6px 0 0; }.info-note.compact { margin: 0; padding: 13px 16px; font-size: .85rem; }

.filter-row { display: flex; gap: 7px; margin-bottom: 25px; overflow-x: auto; }
.filter-row a { white-space: nowrap; padding: 8px 13px; text-decoration: none; border: 1px solid var(--line); background: var(--card); color: var(--ink-soft); font-size: .84rem; }
.filter-row a[aria-current="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.filter-row b { margin-left: 5px; }
.listing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.listing-card { position: relative; display: block; padding: 20px; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); }
.listing-card:hover { color: var(--ink); border-color: #a8a194; box-shadow: var(--shadow); }
.listing-card.large { padding: 26px; }
.listing-card-top { min-height: 27px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.badge, .source-badge { display: inline-flex; width: fit-content; padding: 4px 8px; background: #e9eee9; color: var(--green); font-size: .66rem; line-height: 1.3; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.badge.shortlist { background: #fff0cc; color: #81520b; }.badge.ecartee { background: #f1e7e4; color: #7e4e45; }.badge.reservee { background: var(--green); color: #fff; }.badge.subtle { background: var(--paper-deep); color: var(--ink-soft); }
.badge.construction-badge { margin-bottom: 12px; background: #fff0cc; color: #81520b; }
.source-badge { background: #e4eef0; color: var(--sea); }.source-badge.manual { background: #f2e9dc; color: #825d2b; }
.score-line { float: right; margin: 15px 0 10px 20px; text-align: right; }
.score-line span { display: block; color: var(--ink-soft); font-size: .66rem; }
.score { color: var(--coral); font: 2.1rem/1 Georgia, serif; }.score small { font: .8rem ui-sans-serif, system-ui; color: var(--ink-soft); }
.listing-card h2, .listing-card h3 { margin: 20px 0 7px; }.listing-card h2 a { color: var(--ink); text-decoration: none; }.listing-card h2 a:hover { color: var(--green); }
.listing-meta, .listing-footer { display: flex; gap: 12px; flex-wrap: wrap; color: var(--ink-soft); font-size: .76rem; }
.property-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 22px 0; clear: both; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.property-facts > div { padding: 13px 8px; border-right: 1px solid var(--line); }.property-facts > div:last-child { border: 0; }
.property-facts dt { color: var(--ink-soft); font-size: .67rem; text-transform: uppercase; letter-spacing: .06em; }.property-facts dd { margin: 3px 0 0; font-weight: 720; }
.listing-footer { justify-content: space-between; align-items: flex-end; }.listing-footer > div { display: flex; flex-direction: column; }.listing-footer a { font-weight: 750; }
.back-link { display: inline-block; margin-bottom: 22px; text-decoration: none; }
.listing-hero { margin-bottom: 22px; padding: clamp(28px, 5vw, 55px); display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; color: #fff; background: var(--green-dark); }
.listing-hero h1 { margin: 20px 0 10px; color: white; font-size: clamp(2.1rem, 4vw, 4rem); }.listing-hero p { margin: 0; color: #c6d9d5; }
.big-score { display: flex; align-items: flex-end; gap: 8px; color: #fff0ca; }.big-score strong { font: 5rem/.85 Georgia, serif; }.big-score span { font-size: .72rem; line-height: 1.1; }
.detail-layout { grid-template-columns: minmax(0, 1.65fr) minmax(290px, .7fr); align-items: start; }
.content-stack { display: grid; gap: 22px; }.content-stack .panel { margin: 0; }
.property-facts.large dd { font-size: 1.05rem; }
.weather-note, .evidence { margin: 18px 0; padding: 15px; background: #eef5f3; border-left: 3px solid var(--sea); }.weather-note p, .evidence p { margin: 5px 0 0; white-space: pre-line; }
.comment-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; }.comment-form textarea { margin: 0; }
.comments { display: grid; gap: 18px; margin-top: 25px; }.comments article { display: flex; gap: 12px; }.comments article p { margin-bottom: 4px; }.comments article small { color: var(--ink-soft); }.avatar { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: var(--sea); border-radius: 50%; font-weight: 800; }
.choice-stack { display: grid; gap: 8px; margin: 15px 0; }.choice-stack label { display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); }.choice-stack label:has(input:checked) { border-color: var(--green); background: #eaf3ef; }
.vote-list, .simple-list { list-style: none; padding: 0; margin: 0; }.vote-list li, .simple-list li { padding: 11px 0; display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); }.vote-list li > span, .simple-list li { display: flex; flex-direction: column; }.vote-list li > span:last-child { text-align: right; }.vote-list small, .simple-list small { color: var(--ink-soft); }

.form-aside { grid-template-columns: minmax(270px, .7fr) minmax(0, 1.3fr); align-items: start; }
.idea-list, .archive-list { display: grid; gap: 14px; }.idea-list article, .archive-list article { padding: 23px; background: var(--card); border: 1px solid var(--line); }.idea-list h2 { margin: 8px 0; }.idea-list footer { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .73rem; }.idea-category { color: var(--coral); text-transform: uppercase; font-size: .67rem; font-weight: 800; letter-spacing: .1em; }
.timeline { position: relative; display: grid; gap: 0; }.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 42px; width: 1px; background: var(--line); }.timeline article { position: relative; display: grid; grid-template-columns: 85px 1fr; gap: 20px; padding: 0 0 35px; }.timeline .year { position: relative; z-index: 1; width: 85px; padding: 5px; color: #fff; background: var(--green); text-align: center; font: 1.2rem Georgia, serif; }.timeline article > div:last-child { padding: 0 20px 25px; border-bottom: 1px solid var(--line); }.timeline h2 { margin-bottom: 6px; }
.or-divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; color: var(--ink-soft); font-size: .75rem; }.or-divider::before, .or-divider::after { content: ""; height: 1px; background: var(--line); }
.file-drop { padding: 20px; border: 1px dashed #aaa397; background: #faf7f0; }.file-drop input { padding: 4px 0; border: 0; background: none; }
.archive-list article { display: grid; grid-template-columns: 52px 1fr; gap: 18px; }.file-icon { width: 48px; height: 56px; display: grid; place-items: center; background: var(--green); color: white; font: 1.4rem Georgia, serif; }

.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }.album-card { display: block; color: var(--ink); text-decoration: none; background: var(--card); border: 1px solid var(--line); }.album-card:hover { color: var(--ink); box-shadow: var(--shadow); }.album-cover { min-height: 210px; padding: 25px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(135deg, #1a4944, #2c7380); color: #fff; }.album-cover span { margin-bottom: auto; color: #ffdf9f; }.album-cover strong { font: 4rem/1 Georgia, serif; }.album-card > div:last-child { padding: 18px; }.album-card h2 { margin: 13px 0 2px; }
.album-archive { margin: 12px 0 -5px; color: var(--sea); font-size: .74rem; font-weight: 700; }.attach-album { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }.attach-album summary { color: var(--green); font-weight: 750; }.attach-album form { max-width: 470px; margin-top: 14px; }
.photo-grid { columns: 3 280px; column-gap: 16px; }.photo-grid figure { break-inside: avoid; margin: 0 0 16px; background: var(--card); border: 1px solid var(--line); }.photo-grid img { display: block; width: 100%; height: auto; }.photo-grid figcaption { padding: 12px; display: flex; flex-direction: column; }.photo-grid figcaption span { color: var(--ink-soft); font-size: .72rem; }
.family-heading { display: flex; align-items: center; gap: 25px; margin-bottom: 35px; }.family-monogram { flex: 0 0 86px; width: 86px; height: 86px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font: 2.8rem Georgia, serif; }.family-heading h1 { margin-bottom: 4px; }.family-heading p:last-child { margin: 0; color: var(--ink-soft); }.mini-facts { margin: 20px 0; }.mini-facts div { padding: 9px 0; border-bottom: 1px solid var(--line); }.mini-facts dt { color: var(--ink-soft); font-size: .72rem; }.mini-facts dd { margin: 2px 0 0; font-weight: 700; }
.household-summary { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }.household-summary span { padding: 7px 10px; background: var(--paper-deep); color: var(--ink-soft); font-size: .82rem; font-weight: 700; }
.household-panel { margin-top: 22px; }.household-count { display: grid; grid-template-columns: auto auto; gap: 1px 8px; min-width: 115px; padding: 11px 14px; background: #eaf3ef; color: var(--green); }.household-count strong { font: 1.25rem/1 Georgia, serif; text-align: right; }.household-count span { align-self: center; font-size: .72rem; font-weight: 700; }
.member-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }.member-card { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line); background: #fffefa; }.profile-avatar { width: 54px; height: 54px; display: block; object-fit: cover; border-radius: 50%; background: var(--paper-deep); }.profile-avatar-placeholder { display: grid; place-items: center; color: #fff; background: var(--sea); font: 1.55rem Georgia, serif; }.member-card-main h3, .member-card-main p { margin: 0; }.member-kind { color: var(--ink-soft); font-size: .78rem; }.member-account { margin-top: 3px !important; font-size: .7rem; }.member-editor { grid-column: 1 / -1; margin-top: 5px; }.member-editor summary { color: var(--green); font-size: .82rem; font-weight: 750; }.member-editor form.stack-form { margin-top: 14px; }.member-remove { margin-top: 9px; }.member-remove button { padding: 0; border: 0; color: var(--danger); background: none; font-size: .78rem; text-decoration: underline; }.household-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }.add-member > summary { list-style: none; }.add-member > summary::-webkit-details-marker { display: none; }.household-add-form { max-width: 560px; margin-top: 14px; padding: 18px; background: #faf7f0; border: 1px solid var(--line); }.household-note { margin: 15px 0 0; font-size: .82rem; }
.account-security { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }.account-security-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.password-form { max-width: 620px; }

.admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }.span-two { grid-column: span 2; }.span-three { grid-column: span 3; }.table-wrap { max-width: 100%; overflow-x: auto; }table { width: 100%; border-collapse: collapse; font-size: .8rem; }th, td { padding: 10px; text-align: left; border-bottom: 1px solid var(--line); }th { color: var(--ink-soft); font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; }.run-status { padding: 3px 7px; background: var(--paper-deep); text-transform: uppercase; font-size: .62rem; font-weight: 800; }.run-status.success { background: #dfeee6; color: var(--green); }.run-status.failed { background: #f6dfda; color: var(--danger); }.run-status.skipped { background: #eee8dc; }
.empty-state { padding: 40px 20px; text-align: center; color: var(--ink-soft); border: 1px dashed var(--line); }.empty-state.spacious { min-height: 350px; display: flex; flex-direction: column; align-items: center; justify-content: center; }.empty-state h1, .empty-state h2 { color: var(--ink); }.empty-icon { width: 64px; height: 64px; margin-bottom: 18px; display: grid; place-items: center; border: 1px solid var(--coral); border-radius: 50%; color: var(--coral); font: 2rem Georgia, serif; }

.login-page { min-height: 100vh; background: var(--green-dark); }
.login-page .page-shell { width: 100%; padding: 0; }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: 1.35fr .65fr; }
.login-story { position: relative; overflow: hidden; padding: clamp(45px, 9vw, 140px); display: flex; flex-direction: column; justify-content: center; color: white; background: linear-gradient(145deg, #123c38 0%, #23645d 100%); }
.login-story::after { content: ""; position: absolute; right: -150px; bottom: -180px; width: 470px; height: 470px; border: 110px solid rgba(229,170,66,.26); border-radius: 50%; }
.login-story h1 { position: relative; z-index: 1; font-size: clamp(3.4rem, 7vw, 7rem); }.login-story em { color: #f4c76d; font-weight: 400; }.login-story > p { max-width: 620px; color: #cee0dc; font-size: 1.08rem; }.login-story .eyebrow { color: #f4c76d; }.sun-stamp { position: absolute; right: 15%; top: 12%; width: 105px; height: 105px; display: grid; place-items: center; border: 2px solid #f4c76d; border-radius: 50%; color: #f4c76d; font: 1.4rem Georgia, serif; transform: rotate(8deg); }
.login-card { align-self: center; width: min(390px, calc(100% - 40px)); margin: 30px auto; padding: 35px; display: grid; gap: 18px; background: var(--card); box-shadow: var(--shadow); }.login-card h2 { margin-bottom: 0; font: 2.3rem Georgia, serif; }.login-card .muted { margin-top: -8px; font-size: .85rem; }.passkey-login { padding-top: 16px; border-top: 1px solid var(--line); }.passkey-login .muted { margin: 0 0 10px; }.passkey-status { min-height: 1.15em; margin: 10px 0 0; color: var(--ink-soft); font-size: .82rem; }.passkey-status[data-state="error"] { color: var(--danger); }.passkey-status[data-state="success"] { color: var(--green); }.passkey-status[data-state="info"] { color: var(--sea); }.passkey-panel { max-width: 640px; }

@media (max-width: 980px) {
  .stats-grid, .consensus-hero { grid-template-columns: repeat(2, 1fr); }
  .stats-grid article:nth-child(2), .consensus-hero > div:nth-child(2) { border-right: 0; }
  .stats-grid article:nth-child(-n+2), .consensus-hero > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .three-columns, .album-grid { grid-template-columns: repeat(2, 1fr); }
  .three-columns > :last-child { grid-column: span 2; }
  .member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-grid { grid-template-columns: repeat(2, 1fr); }.span-three { grid-column: span 2; }
  .form-grid.four { grid-template-columns: repeat(2, 1fr); }
  .login-layout { grid-template-columns: 1fr 440px; }.login-story { padding: 55px; }
}

@media (max-width: 720px) {
  .site-header { min-height: 67px; padding: 10px 17px; }.brand-mark { width: 38px; height: 38px; }.account-profile { display: none; }
  .main-nav { padding: 0 8px; }.main-nav a { padding: 12px 9px 9px; }
  .page-shell { width: min(100% - 24px, 1240px); padding-top: 24px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 35px 25px; }.hero-postcard { display: none; }.hero h1 { font-size: 3rem; }
  .stats-grid { margin-top: 12px; }.stats-grid article { min-height: 112px; padding: 16px; }.stats-grid strong { font-size: 2rem; }
  .two-columns, .three-columns, .consensus-columns, .listing-grid, .album-grid, .detail-layout, .form-aside { grid-template-columns: 1fr; }
  .three-columns > :last-child { grid-column: auto; }
  .card-grid { grid-template-columns: 1fr; }.card-grid.compact .listing-card:nth-child(n+4) { display: block; }
  .page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 25px; }.page-heading h1 { font-size: 2.7rem; }.action-details { width: 100%; }.action-details > summary { width: 100%; }.popover-form { position: fixed; inset: 80px 12px auto; width: auto; max-height: calc(100vh - 100px); }
  .form-section { grid-template-columns: 1fr; gap: 8px; padding: 27px 0; }.choice-grid, .form-grid.two, .form-grid.three, .form-grid.four { grid-template-columns: 1fr; }.sticky-submit { bottom: 8px; }.sticky-submit span { display: none; }.sticky-submit button { width: 100%; }
  .consensus-hero { grid-template-columns: 1fr 1fr; }.consensus-hero > div { padding: 19px 15px; }
  .property-facts { grid-template-columns: repeat(2, 1fr); }.property-facts > div:nth-child(2) { border-right: 0; }.property-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .listing-hero { align-items: flex-start; flex-direction: column; }.big-score strong { font-size: 4rem; }
  .comment-form { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }.span-two, .span-three { grid-column: auto; }
  .login-layout { display: block; min-height: 100vh; padding: 30px 0; }.login-story { min-height: 270px; padding: 35px 25px; }.login-story h1 { font-size: 3.4rem; }.login-story > p, .sun-stamp { display: none; }.login-card { margin: -25px auto 20px; position: relative; z-index: 2; }
  .empty-inline { align-items: flex-start; flex-direction: column; }
  .account-security { align-items: flex-start; flex-direction: column; }.account-security-actions { justify-content: flex-start; }
  .member-grid { grid-template-columns: 1fr; }.household-count { margin-top: 4px; }.household-actions { align-items: stretch; flex-direction: column; }.household-actions > form, .household-actions button, .add-member > summary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
