/* Chardonnay at the Vineyard — site styles
   Palette taken from the entrance sign: limestone, charcoal lettering, vine green, chardonnay gold. */
:root {
  --bg: #f5f1e8;
  --surface: #fffdf8;
  --surface-2: #efe9dc;
  --ink: #1f1f1c;
  --muted: #6a655b;
  --line: #e2dacb;
  --stone: #b9ae98;
  --vine: #3f5534;
  --vine-dark: #2f3f27;
  --vine-soft: #e6ecdf;
  --gold: #c9a54a;
  --gold-soft: #f6ecd0;
  --sky: #2d5d8a;
  --danger: #a33a2c;
  --danger-soft: #f8e3df;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(40,34,20,.05), 0 10px 28px rgba(40,34,20,.07);
  /* calendar colors */
  --c-holiday: #b2472f;  --c-holiday-bg: #fbe7e1;
  --c-meeting: #2d5d8a;  --c-meeting-bg: #e2ecf6;
  --c-event:   #7a4f9a;  --c-event-bg:   #efe6f6;
  --c-land:    #3f6b2f;  --c-land-bg:    #e3efdc;
  --c-trash:   #4b4b47;  --c-trash-bg:   #eceae4;
  --c-recycle: #1f6f78;  --c-recycle-bg: #dff0f1;
  --c-yard:    #8a6a1c;  --c-yard-bg:    #f5ecd3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: .005em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.35rem; }
a { color: var(--vine); }
img { max-width: 100%; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.eyebrow { font: 600 .76rem/1 "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Header ---------- */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(255,253,248,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { flex: none; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { border-radius: 10px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.wm-top { font-family: "Cinzel", Georgia, serif; font-weight: 700; font-size: 1.22rem; letter-spacing: .06em; }
.wm-sub { font-family: "Cinzel", Georgia, serif; font-weight: 500; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav-links { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.nav-main, .nav-side { display: flex; align-items: center; gap: 2px; }
.nav-main { margin-left: 18px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .92rem; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-links a.active { color: var(--ink); background: var(--surface-2); }
.nav-links a.board-link { color: var(--vine); font-weight: 600; }
.acct { position: relative; }
.nav-links a.mobile-only { display: none; }
.acct summary { list-style: none; display: flex; align-items: center; gap: 7px; cursor: pointer; padding: 5px 10px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .9rem; font-weight: 500; }
.acct summary::-webkit-details-marker { display: none; }
.acct summary::after { content: "▾"; font-size: .7rem; color: var(--muted); }
.acct[open] summary { background: var(--surface-2); }
.avatar-xs { width: 26px; height: 26px; border-radius: 50%; background: var(--vine); color: #fff; display: grid; place-items: center; font: 700 .68rem "Inter", sans-serif; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; z-index: 30; }
.acct-menu a { display: block; padding: 9px 10px; }
.acct-who { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; display: flex; flex-direction: column; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 7px 9px; cursor: pointer; color: var(--ink); }

.dues-btn, .fb-btn, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 10px 16px; border-radius: 999px; font: 600 .93rem/1.1 "Inter", sans-serif;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.nav-links a.dues-btn, .dues-btn { background: var(--vine); color: #fff; margin-left: 6px; }
.nav-links a.dues-btn:hover, .dues-btn:hover { background: var(--vine-dark); color: #fff; }
.dues-btn img { width: 20px; height: 20px; border-radius: 5px; background: #fff; padding: 2px; }
.fb-btn { background: #1877f2; color: #fff; }
.fb-btn:hover { background: #0f63d1; }
.btn { background: var(--vine); color: #fff; }
.btn:hover { background: var(--vine-dark); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-gold { background: var(--gold); color: #231d0c; }
.btn-gold:hover { background: #b8943c; }
.btn-danger { background: var(--surface); color: var(--danger); border-color: #e7c3bd; }
.btn-danger:hover { background: var(--danger-soft); }
.btn-sm { padding: 7px 12px; font-size: .84rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- Board bar ---------- */
.board-bar { background: var(--vine-dark); color: #fff; }
.board-bar-inner { display: flex; align-items: center; gap: 4px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; scrollbar-width: thin; }
.board-bar a { color: #dfe6d8; text-decoration: none; font-size: .88rem; font-weight: 500; padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.board-bar a:hover, .board-bar a.active { background: rgba(255,255,255,.12); color: #fff; }
.board-pill { background: var(--gold); color: #231d0c; font: 700 .7rem/1 "Inter", sans-serif; letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; margin-right: 6px; }

/* ---------- Flash ---------- */
.flash { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; font-weight: 500; border: 1px solid; }
.flash-ok   { background: var(--vine-soft); border-color: #c8d6bb; color: var(--vine-dark); }
.flash-warn { background: var(--gold-soft); border-color: #e8d49d; color: #6b5212; }
.flash-err  { background: var(--danger-soft); border-color: #eec2ba; color: #7b2418; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; background: #2d2a22 url("entrance.jpg") center 58% / cover no-repeat; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,19,14,.82) 0%, rgba(20,19,14,.55) 45%, rgba(20,19,14,.15) 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 32px; align-items: end; padding: 84px 16px 56px; }
.hero .eyebrow { color: #ecd38a; }
.hero h1 { margin: 12px 0 14px; color: #fff; }
.hero p.lead { font-size: 1.1rem; color: #ece7da; max-width: 50ch; margin: 0 0 24px; }
.hero-card { background: rgba(255,253,248,.97); color: var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.hero-card h3 { margin-bottom: 4px; }
.tsq-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tsq-head img { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); padding: 5px; background: #fff; }

/* ---------- Sections & cards ---------- */
.section { padding-top: 48px; padding-bottom: 48px; }
.section + .section { border-top: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.sec-head p { margin: 6px 0 0; color: var(--muted); }
.page-head { padding-top: 36px; padding-bottom: 8px; }
.page-head p { color: var(--muted); margin: 8px 0 0; max-width: 70ch; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.auto-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.stack > * + * { margin-top: 12px; }

/* This week tiles */
.tile { display: flex; gap: 14px; align-items: flex-start; }
.tile-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.tile-label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tile-value { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.45rem; font-weight: 700; line-height: 1.15; }
.tile-note { font-size: .85rem; color: var(--muted); }

/* Contacts */
.contact .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--vine-soft); color: var(--vine); display: grid; place-items: center; font-weight: 700; margin-bottom: 12px; }
.contact .role { color: #8a6a1c; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin: 2px 0 10px; }
.contact a { display: block; font-size: .88rem; text-decoration: none; overflow-wrap: anywhere; padding: 2px 0; }
.contact a:hover { text-decoration: underline; }
.contact h3 { font-family: "Inter", sans-serif; font-size: 1.05rem; font-weight: 600; }

/* Meetings list */
.meeting { display: grid; grid-template-columns: 76px 1fr auto; gap: 18px; align-items: center; }
.date-chip { text-align: center; background: var(--vine-soft); color: var(--vine-dark); border-radius: 12px; padding: 9px 4px; }
.date-chip .m { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.date-chip .d { font-family: "Cormorant Garamond", serif; font-size: 2rem; font-weight: 700; line-height: 1; }
.meeting h3 { font-family: "Inter", sans-serif; font-size: 1.05rem; font-weight: 600; }
.meta { color: var(--muted); font-size: .9rem; margin-top: 3px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--gold-soft); color: #6b5212; vertical-align: middle; }
.tag-board { background: var(--vine-soft); color: var(--vine-dark); }
.tag-member { background: var(--surface-2); color: var(--muted); }
.tag-pending { background: var(--gold-soft); color: #6b5212; }
.tag-disabled { background: var(--danger-soft); color: #7b2418; }
.empty { color: var(--muted); padding: 24px; text-align: center; border: 1px dashed var(--stone); border-radius: var(--radius); background: var(--surface); }

/* Facebook card */
.fb-card { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: linear-gradient(135deg, #eef3fe, #fffdf8); }

/* ---------- Forms ---------- */
label { display: block; font-weight: 600; font-size: .88rem; margin: 14px 0 6px; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin: 12px 0; cursor: pointer; }
label.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--vine); flex: none; }
.hint { font-size: .82rem; color: var(--muted); margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=time], input[type=number], input[type=search], input[type=file], select, textarea {
  width: 100%; font: 400 .96rem "Inter", sans-serif; color: var(--ink);
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--vine-soft); border-color: var(--vine); }
textarea { min-height: 150px; resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 4px 16px 16px; margin: 16px 0 0; }
legend { font: 700 1.1rem "Cormorant Garamond", serif; padding: 0 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.inline-form { display: inline; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td .sub { display: block; color: var(--muted); font-size: .84rem; }
td.actions { white-space: nowrap; text-align: right; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.toolbar form { display: flex; gap: 8px; flex: 1; min-width: 220px; max-width: 420px; }

/* ---------- Calendar ---------- */
.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.cal-top h2 { min-width: 12ch; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.legend label { margin: 0; font-weight: 500; font-size: .84rem; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.legend input { accent-color: var(--vine); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); gap: 1px; box-shadow: var(--shadow); }
.cal-dow { background: var(--surface-2); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px; text-align: center; }
.cal-day { background: var(--surface); min-height: 118px; padding: 6px; display: flex; flex-direction: column; gap: 3px; }
.cal-day.other { background: #f8f5ee; }
.cal-day.other .num { color: #b3ab9c; }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--gold); }
.cal-day .num { font-weight: 600; font-size: .85rem; margin-bottom: 2px; }
.cal-day.today .num { color: #8a6a1c; }
.chip { font-size: .72rem; line-height: 1.25; padding: 3px 6px; border-radius: 6px; border-left: 3px solid; overflow: hidden; text-overflow: ellipsis; }
.t-holiday     { background: var(--c-holiday-bg); border-color: var(--c-holiday); color: #6d2616; font-weight: 600; }
.t-meeting     { background: var(--c-meeting-bg); border-color: var(--c-meeting); color: #183957; font-weight: 600; }
.t-event       { background: var(--c-event-bg);   border-color: var(--c-event);   color: #4a2c61; }
.t-landscaping { background: var(--c-land-bg);    border-color: var(--c-land);    color: #274318; }
.t-no_landscaping { background: #f3f1ec; border-color: #a39c8e; color: #6a655b; text-decoration: line-through; }
.t-trash       { background: var(--c-trash-bg);   border-color: var(--c-trash);   color: #2f2f2c; }
.t-recycle     { background: var(--c-recycle-bg); border-color: var(--c-recycle); color: #124349; }
.t-yardwaste   { background: var(--c-yard-bg);    border-color: var(--c-yard);    color: #5a4410; }
.cal-list { display: none; }
.agenda-day { padding: 12px 0; border-bottom: 1px solid var(--line); }
.agenda-day:last-child { border-bottom: 0; }
.agenda-day h4 { margin: 0 0 8px; font-size: .95rem; }
.agenda-day .chip { display: block; font-size: .86rem; margin-top: 4px; }

button.chip { display: block; width: 100%; text-align: left; font-family: inherit; cursor: pointer; border-top: 0; border-right: 0; border-bottom: 0; }
button.chip:hover { filter: brightness(.96); }
.cal-pop { position: absolute; z-index: 40; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(40,34,20,.18); padding: 16px 18px; }
.cal-pop-x { position: absolute; top: 8px; right: 8px; background: none; border: 0; font-size: 1rem; cursor: pointer; color: var(--muted); }

/* ---------- Event page ---------- */
.event-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.event-facts { display: grid; gap: 12px; }
.fact { display: flex; gap: 12px; align-items: flex-start; }
.fact-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--vine-soft); display: grid; place-items: center; flex: none; }
.agenda-body { background: var(--surface-2); border-radius: 12px; padding: 14px 16px; margin-top: 0; }
.slot { padding: 12px 0; border-top: 1px solid var(--line); }
.slot-head { display: flex; justify-content: space-between; gap: 10px; }
.meter { height: 6px; background: var(--surface-2); border-radius: 999px; margin: 8px 0 4px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--vine); }
.signup-list { list-style: none; padding: 0; margin: 8px 0 0; font-size: .9rem; }
.signup-list li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; }
.slot-form { display: flex; gap: 8px; margin-top: 8px; }
.slot-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.seg label { margin: 0; font-weight: 500; font-size: .88rem; display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; }
.seg input { accent-color: var(--vine); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.date-chip-sm { border: 1px solid var(--line); background: var(--vine-soft); color: var(--vine-dark); border-radius: 999px; padding: 5px 10px; font: 500 .84rem "Inter", sans-serif; cursor: pointer; }
.date-chip-sm:hover { background: var(--danger-soft); color: var(--danger); }
.bulk-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; max-width: none !important; }
.filters select, .filters input[type=date] { width: auto; padding: 7px 10px; }
@media (max-width: 860px) { .event-grid { grid-template-columns: 1fr; } .slot-form { flex-direction: column; } }

/* ---------- Guide page ---------- */
.place { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.place:last-child { border-bottom: 0; }
.place strong { display: block; }
.miles { font-weight: 600; color: var(--vine); white-space: nowrap; font-size: .9rem; }
.highlight { display: inline-block; margin-top: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a6a1c; background: var(--gold-soft); padding: 2px 8px; border-radius: 999px; }
.phone-list { list-style: none; padding: 0; margin: 0; }
.phone-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.phone-list li:last-child { border-bottom: 0; }
.phone-list a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.callout { background: var(--gold-soft); border: 1px solid #e8d49d; color: #5b4510; border-radius: 12px; padding: 12px 14px; font-size: .9rem; }

/* ---------- Documents ---------- */
.doc-icon { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; font: 700 .68rem "Inter", sans-serif; color: #fff; background: var(--stone); flex: none; }
.doc-pdf { background: #b2472f; } .doc-doc, .doc-docx { background: #2d5d8a; } .doc-xls, .doc-xlsx, .doc-csv { background: #3f6b2f; }
.doc-ppt, .doc-pptx { background: #b8761f; } .doc-jpg, .doc-jpeg, .doc-png { background: #7a4f9a; }
.doc-row { display: flex; gap: 12px; align-items: center; }

/* ---------- Auth (login) pages ---------- */
body.bare { background: #1e1d18; }
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-photo { position: relative; background: #2d2a22 url("entrance.jpg") center / cover no-repeat; }
.auth-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,19,14,.05), rgba(20,19,14,.6)); }
.auth-photo .caption { position: absolute; left: 32px; bottom: 28px; right: 32px; z-index: 1; color: #f3eee2; font-size: .95rem; }
.auth-panel { background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-box { width: 100%; max-width: 400px; }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.auth-box h1 { font-size: 2.1rem; margin-bottom: 6px; }
.auth-box .card { margin-top: 18px; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; font-size: .9rem; }
.fine-print-bare { background: var(--bg); }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--surface); margin-top: 48px; padding: 28px 0 18px; font-size: .92rem; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-name { font-family: "Cinzel", Georgia, serif; font-weight: 700; letter-spacing: .03em; }
.foot-links { display: flex; gap: 10px; flex-wrap: wrap; }
.fine-print { font-size: .72rem; color: #8b8578; text-align: center; padding-top: 18px; padding-bottom: 6px; line-height: 1.5; }
body.bare .fine-print { padding: 14px 16px; }

/* ---------- Badges ---------- */
.badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #b2472f; color: #fff; font: 700 .7rem/1 "Inter", sans-serif; vertical-align: 1px; }
.linklike { background: none; border: 0; padding: 0; color: var(--danger); font: inherit; cursor: pointer; text-decoration: underline; }
.avatar-sm { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--vine-soft); color: var(--vine-dark); display: grid; place-items: center; font: 700 .78rem "Inter", sans-serif; }

/* ---------- Messages ---------- */
.chat-shell { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; height: min(72vh, 760px); min-height: 460px; }
.chat-list { padding: 14px; display: flex; flex-direction: column; min-height: 0; }
.new-chat { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.conv-items { overflow-y: auto; margin: 8px -6px 0; }
.conv { display: flex; gap: 10px; align-items: center; padding: 10px 8px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.conv:hover { background: var(--surface-2); }
.conv.active { background: var(--vine-soft); }
.conv-text { flex: 1; min-width: 0; display: block; }
.conv-top { display: flex; justify-content: space-between; gap: 8px; font-size: .92rem; }
.conv-snip { display: block; font-size: .84rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-pane { padding: 0; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.chat-head { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-back { display: none; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #fbf8f1; }
.bubble-row { display: flex; }
.bubble-row.mine { justify-content: flex-end; }
.bubble { max-width: min(78%, 560px); background: var(--surface); border: 1px solid var(--line); padding: 9px 12px 6px; border-radius: 16px 16px 16px 4px; font-size: .95rem; overflow-wrap: anywhere; }
.mine .bubble { background: var(--vine); color: #fff; border-color: var(--vine); border-radius: 16px 16px 4px 16px; }
.mine .bubble a { color: #fff; }
.bubble-time { font-size: .7rem; opacity: .65; margin-top: 3px; text-align: right; }
.chat-compose { display: flex; gap: 10px; padding: 12px 16px 6px; border-top: 1px solid var(--line); align-items: flex-end; }
.chat-compose textarea { min-height: 46px; max-height: 160px; resize: vertical; }

/* ---------- Notices ---------- */
.notice-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.notice-row:hover { border-color: var(--stone); }
.notice-count { text-align: center; min-width: 70px; display: flex; flex-direction: column; }
.notice-count strong { font: 700 1.5rem "Cormorant Garamond", serif; }
.post-meta { display: flex; gap: 10px; align-items: center; }
.post-body { margin-top: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.notice-main .post-body { font-size: 1.05rem; }
.notice-tools { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.comment.is-new { border-left: 4px solid var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line);
               flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 16px 16px; box-shadow: var(--shadow); }
  body.menu-open .nav-links { display: flex; }
  .nav-main, .nav-side { flex-direction: column; align-items: stretch; margin: 0; }
  .nav-side { border-top: 1px solid var(--line); padding-top: 8px; }
  .nav-links a { padding: 11px 10px; }
  .nav-links a.dues-btn { margin: 8px 0 0; }
  .acct { display: none; }
  .nav-links a.mobile-only { display: block; }
}
@media (max-width: 760px) {
  .chat-shell { grid-template-columns: 1fr; height: auto; }
  .chat-shell.has-active .chat-list { display: none; }
  .chat-shell:not(.has-active) .chat-pane { display: none; }
  .chat-pane { height: 74vh; }
  .chat-back { display: inline-flex; }
  .bubble { max-width: 88%; }
}
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { grid-template-columns: 1fr; padding-top: 64px; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-photo { min-height: 220px; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .meeting { grid-template-columns: 64px 1fr; }
  .meeting .btn { grid-column: 1 / -1; }
  .cal, .cal-dow-row { display: none; }
  .cal-list { display: block; }
  .section { padding-top: 36px; padding-bottom: 36px; }
  .hero-inner { padding: 56px 16px 32px; }
  th, td { padding: 10px; }
}
@media print {
  header.top, .board-bar, .site-foot, .legend, .cal-top .btn-row { display: none !important; }
  body { background: #fff; }
  .cal-day { min-height: 90px; }
}
