@font-face {
  font-family: "Lora";
  src: url("/assets/fonts/lora-latin-ext-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Lora";
  src: url("/assets/fonts/lora-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lora";
  src: url("/assets/fonts/lora-latin-ext-italic-variable.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Lora";
  src: url("/assets/fonts/lora-latin-italic-variable.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-ui: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Lora", Charter, "Bitstream Charter", "Iowan Old Style", "Palatino Linotype", serif;
  font-family: var(--font-ui);
  color: #1d2926;
  background: #f5f6f3;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #1d2926;
  --muted: #68736f;
  --line: #dde2dd;
  --green: #24584d;
  --green-2: #397568;
  --green-soft: #e7f0ec;
  --cream: #fbfcf9;
  --amber: #a8671b;
  --amber-soft: #fff3d8;
  --blue-soft: #e9f1f6;
  --red: #9b3c38;
  --shadow: 0 1px 2px rgb(20 35 30 / 4%), 0 10px 28px rgb(20 35 30 / 5%);
  --canvas: #f5f6f3;
}

* { box-sizing: border-box; }

.system-gate { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 32px; text-align: center; background: var(--canvas); }
.system-gate h1, .system-gate p { margin: 0; }
.system-gate p { max-width: 460px; color: var(--muted); }
.sign-in-page { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; justify-items: center; gap: 28px; padding: 40px 20px; background: radial-gradient(ellipse at 15% 10%, #e4ede7 0%, transparent 55%), radial-gradient(ellipse at 90% 90%, #f5eddb 0%, transparent 50%), #f6f7f3; }
.sign-in-card { width: min(100%, 480px); padding: 48px 42px 36px; border: 1px solid #dce4dd; border-radius: 24px; background: #fffefb; box-shadow: 0 18px 70px #163c3210; text-align: center; display: grid; justify-items: center; }
.sign-in-card .brand-lockup { width: 204px; height: auto; margin-bottom: 36px; }
.sign-in-eyebrow { color: #54695e; text-transform: uppercase; font-size: 11px; font-weight: 750; letter-spacing: .14em; }
.sign-in-card h1 { margin: 12px 0 14px; color: #123a33; font: 400 clamp(30px, 6vw, 38px)/1.2 var(--font-display); letter-spacing: -.025em; }
.sign-in-card p { color: #5b6b62; font-size: 15px; line-height: 1.7; margin: 0; }
.sign-in-card .sign-in-button { width: 100%; min-height: 50px; margin: 30px 0 22px; justify-content: space-between; background: #123a33; border-radius: 10px; padding: 12px 18px; }
.sign-in-card .sign-in-button:hover { background: #204d42; }
.sign-in-card .sign-in-note, .sign-in-note { font-size: 12px; line-height: 1.7; color: #68766e; }
.sign-in-footer { margin: 0; font-size: 12px; color: #63756a; letter-spacing: .02em; }
@media (max-width: 480px) { .sign-in-card { padding: 34px 24px 28px; border-radius: 18px; } .sign-in-card .brand-lockup { margin-bottom: 28px; } }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #f5f6f3; font-size: 16px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.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; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; border-radius: 7px; background: #fff; color: #173a33; font-weight: 800; box-shadow: var(--shadow); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid #f4c66a; outline-offset: 3px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0, 1fr); transition: grid-template-columns .2s ease; }
.app-shell.sidebar-collapsed { grid-template-columns: 84px minmax(0, 1fr); }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 30; background: #173a33; color: #eff6f2; padding: 20px 14px 18px; display: flex; flex-direction: column; transition: width .2s ease; }
.sidebar-collapsed .sidebar { width: 84px; }
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 0 7px 21px; }
.app-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; background: #f4c66a; color: #173a33; font-family: var(--font-display); font-size: 20px; font-weight: 700; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 35%); }
.sidebar-brand > span:nth-child(2), .brand-back > span:nth-child(2) { display: flex; flex-direction: column; }
.sidebar-brand strong { font: 700 18px/1 var(--font-display); letter-spacing: -.02em; }
.sidebar-brand small { color: #c2d3cd; font-size: 14px; margin-top: 5px; }
.sidebar-collapse { margin-left: auto; width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto; border: 0; border-radius: 9px; background: transparent; color: #d9e7e2; cursor: pointer; }
.sidebar-collapse:hover { background: rgb(255 255 255 / 9%); color: #fff; }
.town-switcher { width: 100%; display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 10px; color: #fff; border: 1px solid rgb(255 255 255 / 12%); background: rgb(255 255 255 / 6%); border-radius: 11px; padding: 9px; text-align: left; cursor: pointer; }
.town-avatar { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; background: #f1ead5; color: #214f46; font: 700 17px var(--font-display); }
.town-switcher > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; }
.town-switcher strong { font-size: 15px; }
.town-switcher small { color: #c2d3cd; font-size: 14px; }
.sidebar nav { display: flex; flex-direction: column; gap: 4px; margin-top: 23px; }
.sidebar nav button, .sidebar-bottom > button { min-height: 48px; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 9px; background: transparent; color: #d0dfda; font-size: 15px; font-weight: 650; cursor: pointer; text-align: left; }
.sidebar nav button:hover, .sidebar-bottom > button:hover { color: #fff; background: rgb(255 255 255 / 6%); }
.sidebar nav button.active { color: #fff; background: rgb(255 255 255 / 11%); }
.sidebar nav button.active svg { color: #f1c163; }
.sidebar nav b { margin-left: auto; display: grid; place-items: center; min-width: 24px; height: 24px; border-radius: 20px; background: #efc16c; color: #173a33; font-size: 14px; }
.sidebar-bottom { margin-top: auto; }
.sidebar-bottom > button { margin-bottom: 8px; font-weight: 500; }
.user-card { border-top: 1px solid rgb(255 255 255 / 10%); padding: 16px 7px 0; display: grid; grid-template-columns: 32px 1fr auto; gap: 9px; align-items: center; }
.user-card > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #d7e7e1; color: #1f5146; font-size: 13px; font-weight: 800; }
.user-card div { display: flex; flex-direction: column; }
.user-card strong { font-size: 14px; }
.user-card small { color: #c2d3cd; font-size: 14px; margin-top: 2px; }
.sidebar-collapsed .sidebar-brand { justify-content: center; padding-inline: 0; }
.sidebar-collapsed .sidebar-brand .app-mark { display: none; }
.sidebar-collapsed .sidebar-copy { display: none !important; }
.sidebar-collapsed .sidebar-collapse { margin: 0; }
.sidebar-collapsed .town-switcher { display: flex; justify-content: center; padding: 7px; }
.sidebar-collapsed .sidebar nav button, .sidebar-collapsed .sidebar-bottom > button { justify-content: center; padding-inline: 0; }
.sidebar-collapsed .sidebar nav b { position: absolute; margin: -28px 0 0 25px; min-width: 20px; height: 20px; font-size: 13px; }
.sidebar-collapsed .user-card { display: flex; justify-content: center; padding-inline: 0; }
.mobile-close, .menu-button, .mobile-scrim { display: none; }

.app-main { grid-column: 2; min-width: 0; }
.topbar { min-height: 72px; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgb(250 251 248 / 94%); backdrop-filter: blur(14px); display: flex; align-items: center; justify-content: space-between; padding: 0 30px; }
.topbar-context { display: flex; align-items: baseline; gap: 9px; }
.topbar-context span { color: #66756f; font-size: 14px; }
.topbar-context strong { color: #1d3730; font-size: 16px; }
.top-search { min-width: 300px; display: flex; align-items: center; gap: 9px; color: #87908d; font-size: 14px; }
.top-search kbd { margin-left: auto; background: #eef0ed; border: 1px solid #dfe3df; border-radius: 5px; padding: 2px 6px; font: inherit; color: #89918f; }
.top-actions { display: flex; align-items: center; gap: 20px; }
.top-actions > button { position: relative; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.top-actions > button { width: 44px; height: 44px; border-radius: 9px; }
.top-actions > button span { position: absolute; right: 1px; top: 0; width: 6px; height: 6px; border-radius: 50%; background: #d17a44; box-shadow: 0 0 0 2px #fff; }
.sync-state { display: flex; align-items: center; gap: 8px; color: #465952; font-size: 14px; font-weight: 650; }
.sync-state i { width: 7px; height: 7px; border-radius: 50%; background: #49a17b; box-shadow: 0 0 0 4px #e1f1e9; }
.page { max-width: 1160px; margin: 0 auto; padding: 40px 36px 70px; }
.allow-wide .page { max-width: 1320px; }
.allow-wide:has(.website-page) { min-height: calc(100vh - 72px); padding: 18px; background: #e9ece8; }
.allow-wide .page.website-page { max-width: 1400px; min-height: calc(100vh - 108px); margin: 0 auto; padding: 28px; border: 1px solid #e0e3de; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgb(27 48 40 / 5%); }

.eyebrow { margin: 0 0 7px; color: #566a63; text-transform: uppercase; letter-spacing: .075em; font-size: 14px; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
.page h1 { margin-bottom: 8px; font: 600 clamp(28px, 3vw, 38px)/1.16 var(--font-display); letter-spacing: -.025em; color: #19342e; text-wrap: balance; }
.page-title-row, .welcome-row { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 28px; }
.page-title-row > div > p:last-child, .welcome-row > div > p:last-child { margin: 0; color: #52625c; font-size: 16px; line-height: 1.6; }
.meeting-title-actions { display: flex; align-items: flex-end; gap: 12px; }
.meeting-switcher { display: flex; flex-direction: column; gap: 5px; color: #596b64; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.meeting-switcher select { max-width: 360px; min-height: 44px; border: 1px solid #d9dfda; border-radius: 8px; padding: 0 32px 0 10px; background: #fff; color: #29463f; font-size: 14px; font-weight: 650; text-transform: none; letter-spacing: 0; }
.welcome-row h1 { margin-bottom: 8px; font: 600 36px/1.16 var(--font-display); letter-spacing: -.025em; color: #19342e; }
.button { min-height: 44px; border: 1px solid transparent; border-radius: 9px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; cursor: pointer; transition: .16s ease; white-space: nowrap; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--green); color: #fff; box-shadow: 0 4px 12px rgb(36 88 77 / 15%); }
.button.primary:hover { background: #1b493f; }
.button.soft { background: #fff; border-color: #d9dfda; color: #344a44; }
.button.secondary { background: #eff4f1; border-color: #d5e2dd; color: #24584d; }
.button.danger-quiet { background: #fff; border-color: #ead5d3; color: var(--red); }
.button.small { min-height: 40px; padding: 0 13px; font-size: 13px; }
.button.full { width: 100%; }
.button:disabled { opacity: .52; cursor: not-allowed; transform: none; }
.text-button { min-height: 44px; border: 0; padding: 0 4px; color: #24614f; background: transparent; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 750; cursor: pointer; }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #cbd6d0; border-radius: 9px; background: #fff; cursor: pointer; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.panel-head h2 { margin: 0; font: 600 22px/1.25 var(--font-display); letter-spacing: -.015em; color: #203b34; }
.panel-foot { border-top: 1px solid #e6e9e5; padding: 14px 19px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.panel-foot > div { display: flex; align-items: center; gap: 7px; color: #6d7774; font-size: 13px; }
.badge { width: max-content; display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 5px 9px; background: #edf0ed; color: #5c6965; font-size: 13px; line-height: 1; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.badge.green { background: #e5f2eb; color: #267052; }
.badge.amber { background: var(--amber-soft); color: #94601e; }
.badge.blue { background: #e6f0f4; color: #3a697d; }
.badge.red { background: #f6e9e8; color: #9b3c38; }
.live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #42a075; }

.focus-card { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 17px; background: linear-gradient(135deg, #24584d, #2d6659); color: #fff; border-radius: 14px; padding: 22px 23px; margin-bottom: 23px; box-shadow: 0 10px 28px rgb(32 79 69 / 13%); }
.focus-card.complete { background: linear-gradient(135deg, #315d53, #48766a); }
.focus-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgb(255 255 255 / 13%); color: #f7ce78; }
.focus-meta { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.focus-meta > span { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 800; color: #b9d2c9; }
.focus-card h2 { margin: 0 0 4px; font: 600 21px/1.25 var(--font-display); }
.focus-card p { margin: 0; color: #c9dbd5; font-size: 13px; }
.focus-card .button.primary { background: #fff; color: #24584d; box-shadow: none; }
.dashboard-grid { display: grid; grid-template-columns: 1.35fr .75fr; gap: 20px; }
.generated-panel { overflow: hidden; }
.generated-panel > .panel-head, .meeting-panel { padding: 19px; }
.mini-site { margin: 0 19px 17px; border: 1px solid #dfe4df; border-radius: 8px; overflow: hidden; background: #fff; }
.mini-nav { height: 26px; display: flex; align-items: center; gap: 13px; padding: 0 12px; border-bottom: 1px solid #e7eae7; }
.mini-nav > span { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: #214f46; color: white; font: 7px var(--font-display); margin-right: auto; }
.mini-nav i { width: 25px; height: 2px; border-radius: 2px; background: #ced6d2; }
.mini-hero { height: 126px; padding: 23px 25px; background: linear-gradient(125deg, #285b50 0 67%, #c9d9ca 67%); color: #fff; }
.mini-hero small { display: block; color: #bfd4cc; font-size: 13px; letter-spacing: .1em; }
.mini-hero strong { display: block; font: 600 16px/1.2 var(--font-display); margin: 7px 0 10px; }
.mini-hero button { border: 0; border-radius: 3px; background: #fff; color: #24584d; font-size: 13px; padding: 5px 7px; }
.mini-blocks { height: 45px; display: flex; justify-content: center; gap: 10px; padding: 12px; background: #fafbf9; }
.mini-blocks span { width: 25%; border-radius: 3px; background: #ebefeb; }
.date-chip { width: 43px; height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #dce3df; border-radius: 8px; background: #f9faf8; }
.date-chip strong { font: 600 20px/1 var(--font-display); color: #24584d; }
.date-chip span { font-size: 13px; letter-spacing: .1em; color: #7d8884; }
.subdued { color: #74807c; font-size: 13px; display: flex; align-items: center; gap: 6px; margin: 16px 0; }
.meeting-assets { border-block: 1px solid #e7eae7; padding: 14px 0; margin-bottom: 17px; display: flex; flex-direction: column; gap: 10px; }
.meeting-assets span { display: flex; align-items: center; gap: 8px; color: #4c5e58; font-size: 13px; }
.meeting-assets svg { color: #578273; }
.activity-panel { margin-top: 20px; padding: 19px; }
.activity-panel .panel-head { margin-bottom: 8px; }
.activity-list { display: flex; flex-direction: column; }
.activity-row { display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: center; padding: 12px 3px; border-top: 1px solid #edf0ed; }
.activity-mark { width: 8px; height: 8px; border-radius: 50%; border: 2px solid #b9c4c0; }
.activity-mark.latest { border: 0; background: #48a17c; box-shadow: 0 0 0 3px #e4f2ec; }
.activity-row > div:nth-child(2) strong { font-size: 13px; }
.activity-row p { margin: 3px 0 0; color: #7a8481; font-size: 13px; }
.activity-row > div:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 13px; color: #69746f; }
.activity-row > div:last-child small { color: #9aa29f; }

.workflow-steps { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 15px 20px; margin-bottom: 19px; }
.workflow-steps > div { display: flex; align-items: center; flex: 1; color: #7f8b86; font-size: 14px; }
.workflow-steps > div > span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #f0f2f0; margin-right: 8px; font-size: 13px; font-weight: 800; }
.workflow-steps > div > i { height: 1px; flex: 1; background: #e2e6e2; margin: 0 13px; }
.workflow-steps > div.reached { color: #34584f; }
.workflow-steps > div.reached > span { background: #dfece7; color: #25624f; }
.workflow-steps > div.done > span { background: #337a61; color: #fff; }
.meeting-workspace { display: grid; grid-template-columns: 260px 1fr; gap: 18px; align-items: start; }
.meeting-summary { padding: 20px; }
.date-block { width: 68px; border: 1px solid #d9e0dc; border-radius: 9px; text-align: center; overflow: hidden; margin-bottom: 17px; }
.date-block strong { display: block; background: #24584d; color: #fff; padding: 5px; font-size: 13px; letter-spacing: .1em; }
.date-block span { display: block; font: 600 30px/1 var(--font-display); padding-top: 8px; }
.date-block small { display: block; font-size: 13px; color: #7d8783; padding: 3px 0 8px; }
.meeting-summary h2 { font: 600 20px/1.25 var(--font-display); margin-bottom: 7px; }
.meeting-summary > p { color: #68736f; font-size: 14px; }
.meeting-summary dl { margin: 22px 0; border-top: 1px solid #e6eae6; }
.meeting-summary dl > div { padding: 13px 0; border-bottom: 1px solid #e6eae6; }
.meeting-summary dt { color: #68766f; font-size: 14px; text-transform: uppercase; letter-spacing: .075em; margin-bottom: 6px; }
.meeting-summary dd { margin: 0; display: flex; align-items: center; gap: 6px; color: #42534e; font-size: 14px; overflow-wrap: anywhere; }
.meeting-summary dd small { margin-left: auto; color: #8c9692; }
.source-upload-button { margin-top: 8px; min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px dashed #a9beb6; border-radius: 8px; color: #2e6d5b; background: #f7faf8; font-size: 13px; font-weight: 700; cursor: pointer; }
.source-upload-button:hover { background: #eef5f1; }
.source-upload-button.disabled { cursor: wait; opacity: .55; }
.source-upload-button input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.source-upload-progress { display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; margin: -10px 0 14px; padding: 10px; border-radius: 8px; background: #eef5f1; }
.source-upload-progress > span { grid-column: 1 / -1; height: 4px; overflow: hidden; border-radius: 4px; background: #d7e4de; }
.source-upload-progress > span i { display: block; height: 100%; background: #3d896e; transition: width .2s ease; }
.source-upload-progress strong { font-size: 13px; color: #315d51; }
.source-upload-progress small { font-size: 13px; color: #6e7d77; text-align: right; }
.source-upload-error { margin: -10px 0 14px; padding: 9px; border-radius: 7px; background: #fff0ed; color: #9b4337 !important; font-size: 13px !important; line-height: 1.4; }
.workspace-main { overflow: hidden; position: relative; min-height: 510px; display: flex; flex-direction: column; }
.step-empty { text-align: center; max-width: 530px; margin: auto; padding: 65px 30px; }
.step-empty h2 { margin: 8px 0 10px; font: 600 25px/1.25 var(--font-display); color: #203c35; }
.step-empty > p:not(.eyebrow) { color: #71807b; font-size: 14px; line-height: 1.65; }
.processing-graphic { width: 76px; height: 76px; border-radius: 22px; background: #e8f0ed; color: #2c6d5a; display: grid; place-items: center; margin: 0 auto 20px; position: relative; }
.processing-graphic span { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #f3c466; }
.processing-graphic span:nth-child(2) { top: 10px; right: 8px; }
.processing-graphic span:nth-child(3) { bottom: 10px; left: 8px; background: #82b19e; }
.processing-graphic.ready { background: #e2f2ea; color: #2c805c; }
.source-stats { display: flex; justify-content: center; gap: 10px; margin-top: 23px; }
.source-stats span { display: flex; flex-direction: column; padding: 11px 15px; border: 1px solid #dfe5e1; border-radius: 8px; color: #7b8581; font-size: 13px; }
.source-stats strong { color: #294b42; font-size: 13px; margin-bottom: 2px; }
.workspace-footer { margin-top: auto; padding: 15px 18px; border-top: 1px solid #e3e7e3; background: #fbfcfa; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.workspace-footer > div { display: flex; align-items: center; gap: 10px; }
.shield-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #e6f0ec; color: #2a6e58; }
.workspace-footer p { margin: 0; display: flex; flex-direction: column; }
.workspace-footer strong { font-size: 14px; }
.workspace-footer small { color: #67756f; font-size: 14px; margin-top: 2px; }
.minutes-draft { padding: 25px 28px; }
.draft-head { display: flex; justify-content: space-between; gap: 20px; }
.draft-head .eyebrow { display: flex; align-items: center; gap: 5px; color: #4d7c6e; }
.draft-head h2 { font: 600 25px/1.25 var(--font-display); }
.draft-summary { background: #f0f5f2; border-radius: 9px; padding: 14px 16px; margin: 17px 0; }
.draft-summary strong { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #4d6b62; }
.draft-summary p { margin: 6px 0 0; color: #4d5f59; font-size: 13px; line-height: 1.55; }
.minutes-draft article { border-top: 1px solid #e4e8e4; padding: 16px 0; }
.minutes-draft article > div { display: flex; align-items: center; gap: 9px; }
.minutes-draft article > div span { width: 21px; height: 21px; display: grid; place-items: center; border-radius: 6px; background: #e7eeea; color: #315e52; font-size: 13px; font-weight: 800; }
.minutes-draft article h3 { margin: 0; font-size: 14px; }
.minutes-draft article p { margin: 8px 0 7px 30px; color: #53645f; font-size: 13px; line-height: 1.5; }
.evidence-link { margin-left: 30px; border: 0; background: transparent; color: #4d7a6d; padding: 0; display: flex; align-items: center; gap: 5px; font-size: 13px; cursor: pointer; }
.minutes-record-actions { position: absolute; right: 20px; top: 71px; display: flex; align-items: center; gap: 14px; }
.minutes-record-actions .text-button { margin: 0; }
.pdf-download { border: 0; background: transparent; color: #3a7464; display: flex; gap: 6px; align-items: center; font-size: 13px; cursor: pointer; }

.safety-banner { display: flex; align-items: center; gap: 11px; padding: 13px 16px; border: 1px solid #d3e4dd; border-radius: 10px; background: #edf5f1; margin-bottom: 18px; color: #2c5c4f; }
.safety-banner > p { display: flex; flex-direction: column; margin: 0; }
.safety-banner strong { font-size: 13px; }
.safety-banner p span { font-size: 13px; color: #6c7d77; margin-top: 2px; }
.safety-banner .badge { margin-left: auto; }
.review-layout { display: grid; grid-template-columns: 310px 1fr; gap: 18px; align-items: start; }
.proposal-list { overflow: hidden; }
.proposal-list-head { display: flex; justify-content: space-between; padding: 15px 16px; border-bottom: 1px solid #e2e7e3; font-size: 13px; font-weight: 800; }
.proposal-list-head small { color: #8b9491; font-weight: 500; }
.proposal-item { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; padding: 14px 13px; border: 0; border-bottom: 1px solid #edf0ed; background: #fff; text-align: left; cursor: pointer; }
.proposal-item:hover { background: #fafbf9; }
.proposal-item.selected { background: #edf4f1; box-shadow: inset 3px 0 #3e7e6b; }
.proposal-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: #edf1ef; color: #487064; }
.proposal-item.selected .proposal-icon { background: #dbeae4; color: #296451; }
.proposal-item > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.proposal-item strong { font-size: 13px; }
.proposal-item small { color: #818b87; font-size: 13px; }
.proposal-detail { overflow: hidden; }
.proposal-detail > header { display: flex; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid #e4e8e4; }
.proposal-detail > header h2 { margin: 9px 0 5px; font: 600 23px/1.25 var(--font-display); }
.proposal-detail > header p { margin: 0; color: #6d7a76; font-size: 13px; }
.change-compare { margin: 20px 24px; display: grid; grid-template-columns: 1fr 28px 1fr; gap: 10px; align-items: center; }
.change-compare > div { border: 1px solid #e0e4e1; border-radius: 9px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.change-compare > div.proposed { border-color: #9fc7b9; background: #f0f7f4; }
.change-compare > svg { color: #789087; justify-self: center; }
.change-compare small { font-size: 13px; color: #8a9490; letter-spacing: .07em; }
.change-compare strong { font-size: 13px; }
.related-changes { margin: -8px 24px 18px; border: 1px solid #dfe5e1; border-radius: 9px; padding: 12px 14px; background: #fafbf9; }
.related-changes > span { display: block; margin-bottom: 8px; color: #6f7b77; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.related-changes > div { display: grid; grid-template-columns: 110px 1fr 16px 1.2fr; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid #e8ebe8; font-size: 13px; }
.related-changes small { color: #74817c; text-transform: capitalize; }
.related-changes s { color: #8c9491; }
.related-changes strong { color: #2b5e50; overflow-wrap: anywhere; }
.evidence-card, .impact-card { margin: 0 24px 18px; border: 1px solid #dee4df; border-radius: 10px; overflow: hidden; }
.evidence-head { padding: 11px 13px; background: #f6f8f6; border-bottom: 1px solid #e5e8e5; display: flex; align-items: center; justify-content: space-between; }
.evidence-head > span { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; }
.evidence-card blockquote { margin: 0; padding: 17px 17px 12px; font: italic 13px/1.65 var(--font-display); color: #354a44; }
.evidence-card > div:last-child { display: flex; justify-content: space-between; align-items: center; padding: 0 17px 15px; color: #7f8986; font-size: 13px; }
.evidence-card > div:last-child button { border: 0; border-bottom: 1px dotted #649083; background: none; color: #47776a; font-size: inherit; cursor: pointer; }
.impact-card { padding: 15px 17px; }
.impact-card h3 { margin: 0 0 4px; font-size: 13px; }
.impact-card > p { margin: 0 0 12px; color: #7b8682; font-size: 13px; }
.impact-card > div { display: flex; flex-direction: column; gap: 7px; }
.impact-card > div span { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; color: #4c5f59; font-size: 13px; }
.impact-card > div span svg:last-child { color: #459170; }
.proposal-detail > footer { padding: 15px 24px; background: #fafbf9; border-top: 1px solid #e3e7e3; display: flex; justify-content: flex-end; gap: 9px; }
.reviewed-state { width: 100%; display: flex; align-items: center; gap: 10px; color: #34775e; }
.reviewed-state > span { display: flex; flex-direction: column; }
.reviewed-state strong { font-size: 13px; }
.reviewed-state small { color: #7a8782; font-size: 13px; margin-top: 2px; }

.website-stats { display: grid; grid-template-columns: 1.1fr 1fr .8fr; border: 1px solid var(--line); border-radius: 11px; background: #fff; margin-bottom: 17px; }
.website-stats > div { padding: 13px 15px; display: flex; align-items: center; gap: 10px; border-right: 1px solid #e3e7e3; color: #4c6d63; }
.website-stats > div:last-child { border: 0; }
.website-stats > div > span:not(.badge) { display: flex; flex-direction: column; flex: 1; }
.website-stats strong { color: #31473f; font-size: 13px; }
.website-stats small { color: #89928f; font-size: 13px; margin-top: 2px; }
.site-preview-panel { overflow: hidden; }
.build-history { margin-bottom: 16px; overflow: hidden; }
.build-history > header, .build-history-row { align-items: center; display: flex; justify-content: space-between; padding: 14px 18px; }
.build-history > header { border-bottom: 1px solid var(--line); }
.build-history > header span, .build-history-row > span { align-items: center; display: flex; gap: 9px; }
.build-history-row > span { align-items: flex-start; flex-direction: column; gap: 2px; }
.build-history-row + .build-history-row { border-top: 1px solid var(--line); }
.build-history-row small, .build-history > header small, .build-history-empty { color: var(--muted); }
.build-history-empty { margin: 0; padding: 16px 18px; }
.site-preview-panel > header { height: 44px; border-bottom: 1px solid #e3e7e3; background: #f8f9f7; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: 0 14px; }
.site-preview-panel > header > div { display: flex; gap: 5px; }
.window-dot { width: 7px; height: 7px; border-radius: 50%; background: #d7dcd8; }
.window-dot.red { background: #e5a69e; }.window-dot.amber { background: #edcd83; }.window-dot.green { background: #9dceb5; }
.site-preview-panel > header p { justify-self: center; margin: 0; display: flex; align-items: center; gap: 5px; color: #73807b; font-size: 13px; }
.site-preview-panel > header button { justify-self: end; }
.site-preview-scroll { max-height: 720px; overflow-y: auto; }

.document-layout { display: grid; grid-template-columns: 210px 1fr; gap: 18px; align-items: start; }
.folder-list { padding: 8px; display: flex; flex-direction: column; gap: 3px; }
.folder-list button { min-height: 44px; border: 0; border-radius: 7px; background: transparent; display: flex; align-items: center; gap: 8px; padding: 10px; font-size: 14px; color: #556761; cursor: pointer; }
.folder-list button.active { background: #eaf2ee; color: #285e50; font-weight: 700; }
.folder-list button span { margin-left: auto; color: #98a19e; }
.document-table { overflow: hidden; }
.document-table > header, .document-row { display: grid; grid-template-columns: minmax(240px, 1fr) 120px 120px 38px; align-items: center; gap: 12px; padding: 11px 15px; }
.document-table > header { background: #f7f9f7; border-bottom: 1px solid #e2e6e2; color: #89928f; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
.document-row { min-height: 68px; border-bottom: 1px solid #e8ebe8; }
.document-row > div:first-child { display: flex; align-items: center; gap: 10px; }
.pdf-icon { width: 31px; height: 36px; display: grid; place-items: center; border-radius: 5px; background: #f5e9e7; color: #9b4b43; font-size: 13px; font-weight: 800; }
.document-row p { margin: 0; display: flex; flex-direction: column; gap: 3px; }
.document-row strong { font-size: 13px; }
.document-row small, .document-row > span { color: #89928f; font-size: 13px; }
.attachment-check { width: 34px; height: 34px; display: grid; place-items: center; color: var(--green-2) !important; }
.form-error { margin: 0 0 10px; padding: 9px 12px; border: 1px solid #e5b8b0; border-radius: 8px; background: #fff6f4; color: #963b2d; font-size: 13px; }
.search-field { display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid #dce1dd; border-radius: 8px; background: #fff; color: #89918e; }
.search-field input { height: 37px; width: 180px; border: 0; outline: none; background: transparent; font-size: 13px; }
.document-page-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.document-modal { width: min(680px, 100%); }
.document-form { display: grid; gap: 14px; padding: 18px 24px 0; }
.document-form label { display: grid; gap: 7px; color: #294b42; font-size: 14px; font-weight: 750; }
.document-form :where(input, textarea, select) { min-height: 46px; border: 1px solid #c7d3cd; border-radius: 8px; padding: 10px 12px; background: #fff; color: #17372f; font: 15px var(--font-ui); }
.document-form input[type="file"] { padding: 7px; }
.document-form input[type="file"]::file-selector-button { min-height: 32px; margin-right: 10px; border: 0; border-radius: 6px; padding: 0 12px; background: #e7f0ec; color: #24584d; font-weight: 750; cursor: pointer; }
.document-form textarea { min-height: 92px; resize: vertical; }
.document-form small { color: #667972; font-size: 13px; font-weight: 500; }
.document-form footer { position: sticky; bottom: 0; z-index: 2; display: flex; justify-content: flex-end; gap: 10px; margin: 0 -24px; border-top: 1px solid #e1e5e2; padding: 14px 24px; background: rgb(255 255 255 / 97%); box-shadow: 0 -8px 18px rgb(20 45 37 / 5%); }
.empty-state { min-height: 360px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 35px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.empty-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: #e9f1ed; color: #34715e; }
.empty-state h3 { margin: 15px 0 6px; font: 600 21px/1.25 var(--font-display); }
.empty-state p { color: #77827e; font-size: 13px; max-width: 410px; }

/* The embedded municipal editor uses Puck's compositional API, not its stock shell. */
.website-editor-page { background: #eef1ee; min-height: calc(100vh - 64px); }
.editor-appbar { height: 58px; padding: 0 18px; background: #fff; border-bottom: 1px solid #dce2de; display: flex; align-items: center; justify-content: space-between; }
.brand-back { border: 0; background: none; display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; }
.brand-back strong { font-size: 13px; }
.brand-back small { color: #88918e; font-size: 13px; }
.editor-appbar > div { display: flex; align-items: center; gap: 10px; }
.editor-loading { height: calc(100vh - 186px); display: flex; align-items: center; justify-content: center; gap: 10px; color: #65746f; font-size: 13px; }
.editor-loading span { width: 15px; height: 15px; border: 2px solid #bfd1ca; border-top-color: #2e6b5b; border-radius: 50%; animation: editor-spin .7s linear infinite; }
.editor-loading p { margin: 0; }
@keyframes editor-spin { to { transform: rotate(360deg); } }
.puck-embedded {
  --puck-color-interactive: #2e6b5b;
  --puck-color-interactive-hover: #24584d;
  --puck-color-interactive-active: #1d4d42;
  --puck-color-interactive-subtle: #dfece7;
  --puck-color-interactive-soft: #edf4f1;
  --puck-color-focus-ring: #4e8f7c;
  --puck-radius-s: 6px;
  --puck-radius-m: 9px;
  font-size: 14px;
}
.editor-frame { height: calc(100vh - 186px); min-height: 600px; display: grid; grid-template-columns: 360px minmax(0, 1fr); }
.simple-rail { background: #fff; border-right: 1px solid #dbe1dd; display: grid; grid-template-columns: 76px 1fr; min-height: 0; }
.rail-tabs { background: #f6f8f6; border-right: 1px solid #e0e4e1; padding: 10px 6px; display: flex; flex-direction: column; gap: 4px; }
.rail-tabs button { width: 62px; min-height: 60px; border: 1px solid transparent; border-radius: 10px; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #687671; font-size: 13px; font-weight: 650; cursor: pointer; }
.rail-tabs button:hover { border-color: #dde6e1; background: #fff; color: #315c50; }
.rail-tabs button.active { border-color: #cfe0d9; background: #e4efea; color: #1f5b49; font-weight: 800; }
.rail-panel { min-width: 0; overflow: auto; }
.panel-title { padding: 20px 17px 14px; display: flex; flex-direction: column; border-bottom: 1px solid #e4e7e4; }
.panel-title span { font-weight: 800; font-size: 14px; letter-spacing: -.01em; }
.panel-title small { color: #75827d; font-size: 13px; line-height: 1.45; margin-top: 4px; }
.friendly-panel { padding: 18px 15px; }
.friendly-panel h3 { font: 600 18px/1.25 var(--font-display); margin: 15px 0 8px; }
.friendly-panel > p { color: #65736e; font-size: 14px; line-height: 1.6; }
.ai-orb { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #e4efea; color: #2e6b5a; }
.friendly-panel textarea { width: 100%; min-height: 104px; resize: vertical; border: 1px solid #ccd7d1; border-radius: 10px; padding: 12px; outline: none; font-size: 14px; line-height: 1.5; }
.friendly-panel .button { width: 100%; margin: 8px 0; }
.friendly-panel > small { display: block; text-align: center; color: #85918d; font-size: 13px; }
.check-row { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid #e8ebe8; font-size: 13px; color: #566761; }
.check-row svg { color: #3e876d; }
.binding-list { display: flex; flex-direction: column; gap: 7px; padding-top: 12px; }
.binding-list span { display: flex; align-items: center; gap: 6px; padding: 7px; border-radius: 6px; background: #f3f6f4; color: #6c7773; font-size: 13px; }
.outline-wrap { border-top: 1px solid #e1e5e2; margin-top: 10px; }
.outline-label { display: block; padding: 12px 14px 4px; color: #858f8b; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
.theme-panel { min-height: 100%; background: #fbfcfb; }
.theme-list { display: grid; gap: 14px; padding: 14px; }
.theme-card { overflow: hidden; border: 1px solid #d8e0db; border-radius: 13px; background: #fff; box-shadow: 0 4px 14px rgb(28 55 47 / 5%); }
.theme-card.active { border-color: #4c8c78; box-shadow: 0 0 0 2px #dcebe5; }
.theme-card-preview { height: 72px; padding: 10px; display: grid; grid-template-columns: 1.3fr repeat(3, .55fr); grid-template-rows: 14px 1fr; gap: 5px; background: #e8efeb; }
.theme-card-preview span { grid-column: 1 / -1; border-radius: 2px; background: #244f45; }
.theme-card-preview i { display: block; border-radius: 3px; background: #fff; }
.theme-card-preview i:first-of-type { background: linear-gradient(135deg, #2b6255 0 66%, #ccdacd 66%); }
.theme-swatch-modern .theme-card-preview { background: #f3f0ea; }
.theme-swatch-modern .theme-card-preview span { background: #111d28; }
.theme-swatch-modern .theme-card-preview i:first-of-type { background: linear-gradient(135deg, #17384a 0 72%, #efb343 72%); }
.theme-swatch-downtown .theme-card-preview { background: #ece9e2; }
.theme-swatch-downtown .theme-card-preview span { background: #202224; }
.theme-swatch-downtown .theme-card-preview i:first-of-type { background: linear-gradient(135deg, #202224 0 67%, #f05a42 67%); }
.theme-swatch-old-town .theme-card-preview { background: #f2e9db; }
.theme-swatch-old-town .theme-card-preview span { background: #6b302d; }
.theme-swatch-old-town .theme-card-preview i:first-of-type { background: linear-gradient(135deg, #754139 0 68%, #c8aa6a 68%); }
.theme-swatch-district .theme-card-preview { background: #e4f1e8; }
.theme-swatch-district .theme-card-preview span { background: #123f32; }
.theme-swatch-district .theme-card-preview i:first-of-type { background: linear-gradient(135deg, #17604b 0 68%, #91d3ae 68%); }
.theme-swatch-community .theme-card-preview { background: #fff0e8; }
.theme-swatch-community .theme-card-preview span { background: #56355b; }
.theme-swatch-community .theme-card-preview i:first-of-type { background: linear-gradient(135deg, #267e83 0 66%, #f28c67 66%); }
.theme-swatch-public-office .theme-card-preview { background: #eceff4; }
.theme-swatch-public-office .theme-card-preview span { background: #102b4e; }
.theme-swatch-public-office .theme-card-preview i:first-of-type { background: linear-gradient(135deg, #183a66 0 72%, #c7473f 72%); }
.theme-swatch-townpress .theme-card-preview { background: #e6e6e6; }
.theme-swatch-townpress .theme-card-preview span { background: #293d4b; }
.theme-swatch-townpress .theme-card-preview i:first-of-type { background: #fff; box-shadow: inset 9px 0 #314b5d, inset -9px 0 #c35a3e; }
.theme-swatch-resident-first .theme-card-preview { background: #edf4fb; }
.theme-swatch-resident-first .theme-card-preview span { background: #173f70; }
.theme-swatch-resident-first .theme-card-preview i:first-of-type { background: linear-gradient(135deg, #176c83 0 68%, #f2c14d 68%); }
.theme-swatch-civic-plain .theme-card-preview { background: #f4f5f6; }
.theme-swatch-civic-plain .theme-card-preview span { background: #142f4f; }
.theme-swatch-civic-plain .theme-card-preview i:first-of-type { background: linear-gradient(135deg, #fff 0 68%, #f2c94c 68%); border: 1px solid #142f4f; }
.theme-swatch-parkland .theme-card-preview { background: #dff4ee; }
.theme-swatch-parkland .theme-card-preview span { background: #003f36; }
.theme-swatch-parkland .theme-card-preview i:first-of-type { background: linear-gradient(135deg, #075e50 0 67%, #4cdbc3 67%); }
.theme-card > div:last-child { padding: 13px; }
.theme-card > div:last-child > span { display: flex; align-items: center; gap: 7px; color: #25443c; font-size: 13px; font-weight: 800; }
.theme-card em { border-radius: 99px; padding: 4px 7px; background: #f4e8c9; color: #74561d; font-size: 13px; font-style: normal; text-transform: uppercase; letter-spacing: .05em; }
.theme-card p { margin: 7px 0 6px; color: #5f6e68; font-size: 13px; line-height: 1.5; }
.theme-card small { display: block; color: #7f8c87; font-size: 13px; line-height: 1.45; }
.theme-card .button { width: 100%; min-height: 36px; margin-top: 11px; border-color: #d5dfda; background: #f7faf8; color: #235d4b; font-size: 13px; }
.theme-card.active .button { background: #2c6757; color: #fff; }
.theme-card .button:disabled { background: #2c6757; color: #fff; opacity: 1; }
.theme-layout-button { width: 100%; min-height: 32px; margin-top: 4px; border: 0; background: transparent; color: #5e716a; padding: 6px; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.theme-safety { display: flex; align-items: flex-start; gap: 8px; margin: 2px 14px 20px; padding: 12px; border-radius: 10px; background: #edf5f1; color: #4c6960; font-size: 13px; line-height: 1.55; }
.editor-canvas { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: #e9eeea; }
.editor-toolbar { min-height: 54px; padding: 0 18px; background: #fff; border-bottom: 1px solid #dfe4e0; display: flex; justify-content: space-between; align-items: center; }
.editor-toolbar > div { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 750; }
.editor-toolbar small, .toolbar-actions > span { color: #73807b; font-size: 13px; font-weight: 500; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #48a07b; }
.toolbar-actions { display: flex; align-items: center; gap: 12px !important; }
.editor-canvas [class*="PuckPreview"] { min-height: 0; }

/* Resident-facing website and contextual preview */
.public-site, .site-theme-root { --site-green: #24594d; --site-dark: #173b34; --site-accent: #d9aa4e; --site-paper: #f6f7f4; --site-line: #dce3de; background: #fff; color: #24322e; font-family: var(--font-ui); line-height: 1.55; }
.site-theme-root { min-height: 100%; }
.site-shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.public-utility { min-height: 29px; display: flex; align-items: center; background: var(--site-dark); color: #d9e6e1; font-size: 13px; letter-spacing: .02em; }
.public-utility .site-shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.public-utility .site-shell > span { display: flex; align-items: center; gap: 6px; }
.public-utility i { width: 1px; height: 10px; margin-inline: 3px; background: rgb(255 255 255 / 24%); }
.public-utility.concept { min-height: 38px; background: #8b541f; color: #fff8e9; }
.public-utility.concept .site-shell > span:first-child { font-weight: 750; }
.public-utility.concept .site-shell > span:last-child { white-space: nowrap; }
.public-header { min-height: 76px; background: #fff; border-bottom: 1px solid #e2e7e3; position: relative; z-index: 2; }
.public-header .site-shell { height: 100%; display: flex; align-items: center; }
.town-brand { display: flex; align-items: center; gap: 9px; margin-right: auto; }
.town-brand.logo-only { gap: 0; }
.mini-seal { width: 38px; height: 38px; display: grid; place-items: center; background: #24594d; color: #fff; border-radius: 50%; font: 700 18px var(--font-display); box-shadow: inset 0 0 0 3px #dbe5dc; }
.brand-logo { width: 48px; height: 48px; object-fit: contain; }
.town-brand > span:last-child { display: flex; flex-direction: column; }
.town-brand strong { font: 700 17px/1.1 var(--font-display); letter-spacing: -.02em; color: #1d443b; }
.town-brand small { color: #7d8b86; letter-spacing: .16em; font-size: 13px; margin-top: 4px; }
.public-header nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); color: #40544d; font-size: 13px; font-weight: 650; }
.public-header nav > a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.public-header nav a, .public-footer a { text-underline-offset: 4px; }
.public-header nav a:hover, .public-footer a:hover { text-decoration: underline; }
.site-search-form { margin-left: 24px; display: flex; align-items: center; }
.site-search-form input { width: 170px; min-height: 44px; border: 1px solid #d3ddd7; border-right: 0; border-radius: 9px 0 0 9px; padding: 8px 12px; background: #fff; color: #243e36; font-size: 14px; }
.search-button { min-height: 44px; border: 1px solid #d3ddd7; border-radius: 0 9px 9px 0; background: #f8faf8; padding: 8px 13px; color: #405851; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }
.search-button.icon-only { width: 48px; justify-content: center; padding: 0; }
.search-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.mobile-site-menu { display: none; position: relative; margin-left: 10px; }
.mobile-site-menu summary { min-width: 88px; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #cbd8d2; border-radius: 9px; padding: 0 12px; color: #24483e; background: #fff; font-weight: 800; cursor: pointer; list-style: none; }
.mobile-site-menu summary::-webkit-details-marker { display: none; }
.mobile-site-menu nav { position: absolute; top: calc(100% + 8px); right: 0; width: min(280px, calc(100vw - 32px)); display: grid; gap: 2px; padding: 8px; border: 1px solid #d4ddd8; border-radius: 12px; background: #fff; box-shadow: 0 18px 44px rgb(22 45 37 / 20%); }
.mobile-site-menu nav a { min-height: 46px; padding: 0 12px; border-radius: 7px; color: #264b40; }
.mobile-site-menu nav a:hover, .mobile-site-menu nav a:focus-visible { background: #eef3ef; text-decoration: none; }
.mobile-site-menu nav a.nav-child { padding-left: 24px; color: #536b63; }
.site-hero { background: linear-gradient(115deg, #225448 0 68%, #cddccb 68%); color: #fff; overflow: hidden; }
.hero-grid { min-height: clamp(390px, 48vw, 510px); display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: clamp(40px, 7vw, 90px); padding-block: 56px; }
.site-kicker { margin: 0 0 11px; color: #bed2ca; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.site-kicker.ink { color: #588074; }
.site-hero h1 { max-width: 660px; margin: 0; font: 600 clamp(40px, 5vw, 64px)/1.05 var(--font-display); letter-spacing: -.04em; text-wrap: balance; }
.hero-lede { max-width: 620px; margin: 17px 0 0; color: #d5e2dd; font: 400 clamp(18px, 2vw, 21px)/1.55 var(--font-display); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; }
.site-button { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 11px 17px; border-radius: 7px; font-size: 13px; font-weight: 800; }
.site-button.light { background: #fff; color: #24584d; }
.site-button.dark { background: #24584d; color: #fff; }
.site-text-link { font-size: 13px; color: #e2ebe7; border-bottom: 1px solid rgb(255 255 255 / 45%); padding-bottom: 2px; }
.civic-seal { justify-self: center; width: 180px; height: 180px; border-radius: 50%; border: 6px double rgb(36 84 72 / 40%); color: #27584b; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-4deg); }
.civic-seal span { font: 700 74px/.9 var(--font-display); }
.civic-seal small { font-size: 13px; letter-spacing: .15em; }
.hero-logo { justify-self: center; width: min(280px, 100%); padding: 20px; border-radius: 50%; background: rgb(255 248 232 / 84%); box-shadow: 0 18px 50px rgb(47 30 20 / 22%); }
.hero-logo img { display: block; width: 100%; height: auto; }
.notice-strip { background: #f8efce; border-bottom: 1px solid #e4d7a9; color: #5c4b24; }
.notice-inner { min-height: 68px; display: flex; align-items: center; gap: 14px; padding-block: 10px; }
.notice-dot { width: 8px; height: 8px; border-radius: 50%; background: #d49737; box-shadow: 0 0 0 4px #f2dfa9; }
.notice-inner > div { display: flex; flex-direction: column; flex: 1; }
.notice-inner strong { font-size: 13px; }
.notice-inner span { color: #756944; font-size: 13px; margin-top: 2px; }
.notice-inner a, .section-heading a, .meeting-row > a, .project-card a { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 800; }
.notice-inner a, .section-heading a, .meeting-row > a, .project-card a, .site-text-link { min-height: 32px; align-items: center; }
.site-section { padding: clamp(58px, 7vw, 88px) 0; }
.site-section.sage { background: #eef3ed; }
.site-section.blue { background: #eaf2f4; }
.section-heading h2, .site-section h2 { margin: 0; font: 600 clamp(29px, 3vw, 38px)/1.2 var(--font-display); letter-spacing: -.025em; color: #1d3f37; text-wrap: balance; }
.section-heading.row { display: flex; justify-content: space-between; align-items: flex-end; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.quick-grid a { min-height: 88px; border: 1px solid #d7e0da; border-radius: 11px; padding: 18px; background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #274c42; font-size: 13px; font-weight: 750; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.quick-grid a:hover { transform: translateY(-2px); border-color: #a9bdb5; box-shadow: 0 9px 24px rgb(32 65 55 / 9%); }
.section-heading.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 380px); gap: 60px; align-items: end; }
.section-heading.split > p { margin: 0; color: #697872; font-size: 13px; line-height: 1.65; }
.service-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.service-card-grid > a { min-height: 124px; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 15px; align-items: center; border: 1px solid var(--site-line); border-radius: 12px; padding: 20px; background: #fff; color: #243e37; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.service-card-grid > a:hover { transform: translateY(-2px); border-color: #a9bdb5; box-shadow: 0 9px 24px rgb(32 65 55 / 9%); }
.service-card-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: #e5efea; color: var(--site-green); }
.service-card-grid > a > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.service-card-grid strong { font-size: 13px; }
.service-card-grid small { margin-top: 5px; color: #74817c; font-size: 13px; line-height: 1.45; }
.service-card-grid > a > svg, .service-card-grid > a > span:last-child { color: #7e948c; }
.service-card-icon[class*="icon-"]:empty::before { font-size: 16px; font-weight: 800; }
.service-card-icon:not(:empty)::before, .feature-icon:not(:empty)::before, .drop-icon:not(:empty)::before, .document-library-icon:not(:empty)::before { display: none; }
.service-card-icon.icon-building::before { content: "▥"; }
.service-card-icon.icon-documents::before { content: "≡"; }
.service-card-icon.icon-parks::before { content: "♧"; }
.service-card-icon.icon-phone::before { content: "☎"; }
.service-card-icon.icon-wallet::before { content: "$"; }
.service-card-icon.icon-wrench::before { content: "◇"; }
.feature-icon.icon-wrench::before { content: "◇"; font-size: 22px; font-weight: 800; }
.drop-icon.icon-documents::before { content: "≡"; font-size: 26px; font-weight: 800; }
.feature-grid { display: grid; grid-template-columns: 64px 1fr 280px; gap: 24px; align-items: center; }
.feature-icon, .drop-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: #d8e7dd; color: #28614f; }
.feature-grid > div:nth-child(2) > p:last-child, .project-card > div > p:last-child, .document-feature > div:nth-child(2) > p:last-child, .narrow p { margin: 10px 0 0; color: #65746f; font-size: 13px; line-height: 1.6; }
.contact-card { border-left: 1px solid #cfdcd4; padding-left: 25px; display: flex; flex-direction: column; }
.contact-card small { color: #788680; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { font: 600 20px/1.25 var(--font-display); margin: 7px 0 3px; }
.contact-card span { color: #6e7b76; font-size: 13px; }
.contact-card a { display: flex; gap: 6px; align-items: center; margin-top: 12px; color: #2f6e5b; font-size: 13px; font-weight: 700; }
.project-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(36px, 6vw, 72px); align-items: center; padding: clamp(28px, 4vw, 44px); border: 1px solid #d8e1dc; border-radius: 14px; background: rgb(255 255 255 / 56%); }
.project-card > div:last-child { border-left: 1px solid #e0e5e2; padding-left: 30px; }
.project-card > div:last-child p { display: flex; align-items: center; gap: 6px; color: #64736e; font-size: 13px; }
.site-status { display: inline-block; border-radius: 99px; padding: 5px 8px; background: #eef0ee; color: #68736f; text-transform: capitalize; font-size: 13px; font-weight: 800; }
.site-status.scheduled { background: #e6f1eb; color: #2c7258; }
.document-feature { display: grid; grid-template-columns: 64px minmax(0, 1fr) 220px; gap: 28px; align-items: center; }
.drop-icon { background: #d6e8ec; color: #39748a; }
.document-feature > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.document-feature > div:last-child p { color: #6f7d79; font-size: 13px; }
.available { display: flex; align-items: center; gap: 6px; color: #2c785a; font-size: 13px; font-weight: 800; }
.meeting-row { margin-top: 26px; border-block: 1px solid #dce4df; padding: 23px 0; display: grid; grid-template-columns: 58px 1fr auto; gap: 20px; align-items: center; }
.date-tile { width: 49px; height: 53px; border: 1px solid #d8dfda; border-radius: 7px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.date-tile strong { font: 600 21px/1 var(--font-display); color: #285c4f; }
.date-tile span { color: #7b8782; font-size: 13px; letter-spacing: .1em; }
.meeting-row h3 { margin: 0 0 6px; font: 600 17px/1.3 var(--font-display); }
.meeting-row p { margin: 0; display: flex; align-items: center; gap: 6px; color: #74807b; font-size: 13px; }
.meeting-status { min-height: 44px; display: inline-flex; align-items: center; color: #64736e; font-size: 14px; font-weight: 750; }
.community-message { overflow: hidden; }
.community-message.paper { background: #f6f1e8; color: #3e3830; }
.community-message.dark { background: var(--site-dark); color: #fff; }
.message-grid { min-height: 330px; display: grid; grid-template-columns: 160px minmax(0, 720px); gap: clamp(40px, 7vw, 80px); align-items: center; }
.message-mark { width: 150px; height: 150px; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; color: var(--site-accent); opacity: .8; }
.community-message h2 { max-width: 680px; color: inherit; }
.community-message blockquote { max-width: 68ch; margin: 18px 0 0; font: 400 19px/1.7 var(--font-display); }
.community-message.dark blockquote { color: #d9e4e0; }
.message-signature { margin: 15px 0 0; color: #806f55; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.community-message.dark .message-signature { color: #a9c5bb; }
.municipal-contact { background: var(--site-green); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr) auto; gap: clamp(20px, 3vw, 34px); align-items: center; }
.municipal-contact h2 { color: #fff; }
.municipal-contact .site-kicker { color: #c3d8d0; }
.contact-grid > div:not(:first-child) { display: flex; gap: 10px; align-items: flex-start; }
.contact-grid > div:not(:first-child) > span { display: flex; flex-direction: column; }
.contact-grid small { color: #bed2ca; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.contact-grid strong { margin-top: 5px; font-size: 13px; line-height: 1.45; }
.contact-grid > a { display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid rgb(255 255 255 / 40%); padding-bottom: 3px; font-size: 13px; font-weight: 800; }
.civic-dashboard { background: #eceeee; }
.dashboard-columns { margin-top: 30px; display: grid; grid-template-columns: minmax(220px, .8fr) minmax(300px, 1.35fr) minmax(220px, .8fr); align-items: stretch; overflow: hidden; border: 1px solid #d8ddda; border-radius: 14px; background: #fff; box-shadow: 0 14px 38px rgb(32 53 47 / 9%); }
.dashboard-columns > * { padding: clamp(24px, 3vw, 36px); }
.dashboard-columns > aside:first-child { background: #314957; color: #fff; }
.dashboard-columns > aside:last-child { background: #f5f1ea; }
.dashboard-columns aside h3 { margin: 0 0 12px; padding-bottom: 9px; border-bottom: 1px solid rgb(255 255 255 / 18%); font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
.dashboard-columns > aside:last-child h3 { border-color: #ddd6ca; color: #564d42; }
.dashboard-columns aside h3:not(:first-child) { margin-top: 28px; }
.dashboard-columns article { display: flex; align-items: flex-start; gap: 10px; }
.dashboard-columns article strong { display: block; font-size: 13px; }
.dashboard-columns article p, .dashboard-columns > aside > p { margin: 5px 0 0; color: inherit; opacity: .75; font-size: 13px; line-height: 1.5; }
.dashboard-primary { display: flex; flex-direction: column; justify-content: center; }
.dashboard-primary > span { color: #8a7462; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.dashboard-primary > span:not(:first-child) { margin-top: 27px; padding-top: 22px; border-top: 1px solid #e4e0d9; }
.dashboard-primary h3 { margin: 6px 0; font: 600 21px/1.25 var(--font-display); color: #293e48; }
.dashboard-primary p { margin: 0; color: #67736e; font-size: 13px; line-height: 1.55; }
.dashboard-primary a { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; color: #2f6c5b; font-size: 13px; font-weight: 800; }
.public-footer { background: #173b34; color: #fff; padding: 48px 0; }
.public-footer .site-shell { display: flex; justify-content: space-between; align-items: center; }
.public-footer .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; align-items: start; gap: 32px; }
.public-footer strong { font: 600 17px/1.25 var(--font-display); }
.public-footer p { margin: 5px 0 0; color: #aec5bd; font-size: 13px; }
.public-footer .footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 7px; }
.public-footer .footer-grid > div:not(:first-child) strong { margin-bottom: 4px; font: 800 8px/1 var(--font-ui); text-transform: uppercase; letter-spacing: .09em; color: #b9d0c7; }
.public-footer .footer-grid a { color: #fff; font-size: 13px; }

/* Full-site themes: shared semantic blocks, distinct presentation. */
.theme-modern { --site-green: #18394a; --site-dark: #101e29; --site-accent: #edb342; --site-paper: #f3f0e9; --site-line: #d8d7d2; color: #1c2830; background: #f7f5f0; font-family: "Avenir Next", Avenir, ui-sans-serif, sans-serif; }
.theme-modern .public-header { height: 78px; border: 0; }
.theme-modern .mini-seal { border-radius: 3px; background: var(--site-accent); color: #152633; box-shadow: none; font-family: inherit; }
.theme-modern .town-brand strong, .theme-modern .section-heading h2, .theme-modern .site-section h2 { color: #142734; font-family: inherit; font-weight: 700; letter-spacing: -.035em; }
.theme-modern .public-header nav { text-transform: uppercase; letter-spacing: .08em; }
.theme-modern .site-hero { background: linear-gradient(112deg, rgb(16 35 48 / 96%) 0 68%, #edb342 68%), radial-gradient(circle at 18% 20%, #315f72, #102330 62%); }
.theme-modern .site-hero h1 { font-family: inherit; font-weight: 700; line-height: .96; }
.theme-modern .hero-lede { font-family: inherit; font-weight: 400; }
.theme-modern .civic-seal { border-radius: 0; border: 1px solid rgb(16 35 48 / 35%); color: #132b38; transform: rotate(2deg); }
.theme-modern .service-directory { background: #f3f0e9; }
.theme-modern .service-card-grid > a { border-radius: 0; border-width: 0 0 1px; background: transparent; }
.theme-modern .service-card-icon { border-radius: 50%; background: #fff; }
.theme-modern .project-card { border-radius: 0; border-color: #cdd1cf; background: #fff; }
.theme-modern .community-message.dark { background: #102330; }
.theme-modern .municipal-contact { background: #edb342; color: #132630; }
.theme-modern .municipal-contact h2, .theme-modern .municipal-contact .site-kicker, .theme-modern .contact-grid small { color: #132630; }
.theme-modern .public-footer { background: #101e29; }

.theme-downtown { --site-green: #25282a; --site-dark: #17191a; --site-accent: #f05a42; --site-paper: #eeeae2; --site-line: #d9d5cd; background: #f4f1eb; color: #292b2c; font-family: "Avenir Next", Avenir, ui-sans-serif, sans-serif; }
.theme-downtown .public-utility, .theme-downtown .public-footer { background: #17191a; }
.theme-downtown .public-header { height: 76px; border: 0; }
.theme-downtown .mini-seal { border-radius: 0; background: #f05a42; box-shadow: none; }
.theme-downtown .site-hero { background: linear-gradient(104deg, rgb(25 27 28 / 97%) 0 70%, #f05a42 70%), repeating-linear-gradient(90deg, transparent 0 32px, rgb(255 255 255 / 4%) 32px 33px); }
.theme-downtown .site-hero h1 { max-width: 720px; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-weight: 400; letter-spacing: .015em; text-transform: uppercase; }
.theme-downtown .civic-seal { border: 1px solid rgb(29 31 32 / 38%); border-radius: 0; color: #202224; transform: none; }
.theme-downtown .section-heading h2, .theme-downtown .site-section h2, .theme-downtown .dashboard-primary h3 { font-family: "Arial Narrow", "Avenir Next Condensed", sans-serif; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.theme-downtown .service-card-grid > a, .theme-downtown .dashboard-columns, .theme-downtown .project-card { border-radius: 0; }
.theme-downtown .service-card-icon { border-radius: 0; background: #292b2c; color: #fff; }
.theme-downtown .community-message.dark { background: #25282a; }
.theme-downtown .municipal-contact { background: #f05a42; color: #1b1c1d; }
.theme-downtown .municipal-contact h2, .theme-downtown .municipal-contact .site-kicker, .theme-downtown .contact-grid small { color: #1b1c1d; }

.theme-old-town { --site-green: #743c34; --site-dark: #352d28; --site-accent: #bc9453; --site-paper: #f4ede1; --site-line: #d9c9b3; background: #f8f4ec; color: #40372f; font-family: "Avenir Next", Avenir, ui-sans-serif, sans-serif; }
.theme-old-town .public-utility { background: #352d28; color: #e9ddcd; }
.theme-old-town .public-header { height: 84px; background: #f7f0e4; border-color: #d8c6ae; }
.theme-old-town .mini-seal { width: 42px; height: 42px; border: 1px solid #bc9453; border-radius: 50%; background: #743c34; box-shadow: inset 0 0 0 4px #f0dfc4; }
.theme-old-town .town-brand strong { color: #563029; font-size: 18px; }
.theme-old-town .town-brand small { color: #8a765f; }
.theme-old-town .site-hero { background: linear-gradient(105deg, rgb(92 48 42 / 97%) 0 69%, rgb(188 148 83 / 88%) 69%), repeating-linear-gradient(45deg, transparent 0 12px, rgb(255 255 255 / 4%) 12px 13px); }
.theme-old-town .site-hero h1, .theme-old-town .section-heading h2, .theme-old-town .site-section h2, .theme-old-town .dashboard-primary h3 { font-family: var(--font-display); color: #55342d; letter-spacing: -.03em; }
.theme-old-town .site-hero h1 { color: #fff8ed; }
.theme-old-town .hero-lede { color: #eadcc9; }
.theme-old-town .civic-seal { border-color: rgb(83 47 38 / 45%); color: #5d352e; }
.theme-old-town .notice-strip { background: #ecd7ac; border-color: #d5bb85; }
.theme-old-town .quick-grid a, .theme-old-town .service-card-grid > a, .theme-old-town .project-card { border-radius: 2px; border-color: #dacbb7; box-shadow: 0 5px 14px rgb(70 51 39 / 5%); }
.theme-old-town .service-directory { background: #eee4d5; }
.theme-old-town .service-card-icon { border-radius: 50%; background: #f3e4cc; color: #743c34; }
.theme-old-town .site-section.sage { background: #e8ded0; }
.theme-old-town .site-section.blue { background: #e4ebe7; }
.theme-old-town .community-message.paper { position: relative; background: #f8f2e8; }
.theme-old-town .community-message.paper::before { content: ""; position: absolute; inset: 18px; border: 1px solid #dfcaa9; pointer-events: none; }
.theme-old-town .municipal-contact { background: #743c34; }
.theme-old-town .public-footer { background: #352d28; }

.theme-district { --site-green: #17604b; --site-dark: #103c31; --site-accent: #91d3ae; --site-paper: #eaf3ed; --site-line: #cddfd5; background: #f7faf8; color: #173b31; font-family: "Avenir Next", Avenir, ui-sans-serif, sans-serif; }
.theme-district .public-utility, .theme-district .public-footer { background: #103c31; }
.theme-district .public-header { border: 0; box-shadow: 0 4px 16px rgb(18 63 50 / 7%); }
.theme-district .mini-seal { background: #17604b; box-shadow: inset 0 0 0 3px #91d3ae; }
.theme-district .site-hero { background: linear-gradient(112deg, #17604b 0 69%, #91d3ae 69%); }
.theme-district .civic-seal { color: #123f32; border-color: rgb(18 63 50 / 35%); }
.theme-district .service-directory, .theme-district .site-section.sage { background: #eaf3ed; }
.theme-district .service-card-grid > a { border-radius: 4px; border-color: #c9ded2; }
.theme-district .service-card-icon { border-radius: 4px; background: #d7ecdf; }
.theme-district .project-card { border-left: 6px solid #91d3ae; }
.theme-district .municipal-contact { background: #17604b; }

.theme-community { --site-green: #267e83; --site-dark: #56355b; --site-accent: #f28c67; --site-paper: #fff0e8; --site-line: #e9d5cd; background: #fffaf6; color: #3e3840; font-family: "Avenir Next", Avenir, ui-sans-serif, sans-serif; }
.theme-community .public-utility, .theme-community .public-footer { background: #56355b; }
.theme-community .public-header { border-bottom: 4px solid #f28c67; }
.theme-community .mini-seal { background: #267e83; box-shadow: inset 0 0 0 3px #bfe5df; }
.theme-community .site-hero { background: radial-gradient(circle at 84% 35%, #f4b06f 0 20%, transparent 20.5%), linear-gradient(112deg, #267e83 0 69%, #f28c67 69%); }
.theme-community .civic-seal { color: #56355b; border-color: rgb(86 53 91 / 34%); }
.theme-community .quick-grid a, .theme-community .service-card-grid > a { border-radius: 18px; }
.theme-community .service-directory, .theme-community .community-message.paper { background: #fff0e8; }
.theme-community .service-card-icon { border-radius: 50%; background: #dff1ed; color: #267e83; }
.theme-community .message-mark { border-radius: 18px; }
.theme-community .municipal-contact { background: #267e83; }

.theme-public-office { --site-green: #183a66; --site-dark: #102b4e; --site-accent: #c7473f; --site-paper: #f0f2f5; --site-line: #d5dbe3; background: #fff; color: #26384f; font-family: "Avenir Next", Avenir, ui-sans-serif, sans-serif; }
.theme-public-office .public-utility, .theme-public-office .public-footer { background: #102b4e; }
.theme-public-office .public-header { height: 80px; border-color: #d8dee7; }
.theme-public-office .mini-seal { border-radius: 3px; background: #183a66; box-shadow: inset 0 0 0 3px #dce4ef; }
.theme-public-office .site-hero { background: linear-gradient(110deg, #183a66 0 72%, #c7473f 72%); }
.theme-public-office .civic-seal { border-radius: 3px; border: 2px solid rgb(16 43 78 / 35%); color: #102b4e; transform: none; }
.theme-public-office .site-hero h1, .theme-public-office .section-heading h2, .theme-public-office .site-section h2 { font-family: "Avenir Next", Avenir, sans-serif; font-weight: 800; }
.theme-public-office .notice-strip { background: #f7e9df; border-color: #e7c9bc; color: #71372f; }
.theme-public-office .service-directory, .theme-public-office .site-section.blue { background: #f0f2f5; }
.theme-public-office .service-card-grid > a, .theme-public-office .project-card { border-radius: 3px; }
.theme-public-office .service-card-icon { border-radius: 3px; background: #e2e8f0; color: #183a66; }
.theme-public-office .community-message.dark { background: #102b4e; }
.theme-public-office .municipal-contact { background: #c7473f; }

.theme-townpress { --site-green: #b94f35; --site-dark: #263b48; --site-accent: #e3a646; --site-paper: #f2f2f2; --site-line: #d6d9da; background: #eceeee; color: #494f52; font-family: "Avenir Next", Avenir, ui-sans-serif, sans-serif; }
.theme-townpress .public-utility { background: #b94f35; }
.theme-townpress .public-header { height: 86px; background: #263b48; border: 0; }
.theme-townpress .town-brand strong, .theme-townpress .town-brand small, .theme-townpress .public-header nav { color: #fff; }
.theme-townpress .mini-seal { border-radius: 2px; background: #b94f35; box-shadow: none; }
.theme-townpress .search-button { border-color: rgb(255 255 255 / 25%); background: rgb(255 255 255 / 8%); color: #fff; }
.theme-townpress .site-hero { background: linear-gradient(90deg, rgb(25 38 46 / 94%), rgb(25 38 46 / 72%)), radial-gradient(circle at 75% 35%, #62818b, #283b47 60%); }
.theme-townpress .site-hero .site-shell { min-height: 235px; }
.theme-townpress .site-hero h1 { font: 700 clamp(32px, 4vw, 48px)/1.04 "Avenir Next", Avenir, sans-serif; }
.theme-townpress .civic-seal { display: none; }
.theme-townpress .civic-dashboard { padding-top: 38px; }
.theme-townpress .service-directory { background: #fff; }
.theme-townpress .service-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theme-townpress .service-card-grid > a { min-height: 82px; border-radius: 0; }
.theme-townpress .service-card-icon { border-radius: 2px; background: #edf0f1; color: #b94f35; }
.theme-townpress .community-message.paper { background: #e4e7e8; }
.theme-townpress .municipal-contact { background: #b94f35; }
.theme-townpress .public-footer { background: #263b48; }

.theme-resident-first { --site-green: #176c83; --site-dark: #173f70; --site-accent: #f2c14d; --site-paper: #eef5fa; --site-line: #cfdee8; background: #fff; color: #19364b; font-family: "Avenir Next", Avenir, ui-sans-serif, sans-serif; }
.theme-resident-first .public-utility, .theme-resident-first .public-footer { background: #173f70; }
.theme-resident-first .public-header { height: 74px; border-color: #dbe6ee; }
.theme-resident-first .mini-seal { border-radius: 8px; background: #176c83; box-shadow: inset 0 0 0 3px #bfe2e8; }
.theme-resident-first .site-hero { background: linear-gradient(112deg, #176c83 0 72%, #f2c14d 72%); }
.theme-resident-first .site-hero h1, .theme-resident-first .section-heading h2, .theme-resident-first .site-section h2 { font-family: "Avenir Next", Avenir, sans-serif; font-weight: 800; }
.theme-resident-first .civic-seal { border: 0; border-radius: 16px; background: rgb(255 255 255 / 68%); color: #173f70; transform: none; }
.theme-resident-first .notice-strip { border: 0; background: #fff2c9; }
.theme-resident-first .service-directory { background: #eef5fa; }
.theme-resident-first .service-card-grid > a { border: 0; box-shadow: 0 5px 20px rgb(23 63 112 / 9%); }
.theme-resident-first .service-card-icon { background: #d9ecf0; color: #176c83; }
.theme-resident-first .dashboard-columns { border: 0; box-shadow: 0 12px 34px rgb(23 63 112 / 12%); }
.theme-resident-first .dashboard-columns > aside:first-child { background: #173f70; }
.theme-resident-first .municipal-contact { background: #176c83; }

.theme-civic-plain { --site-green: #142f4f; --site-dark: #0b1f36; --site-accent: #f2c94c; --site-paper: #f4f5f6; --site-line: #aeb9c5; background: #fff; color: #111; font-family: Arial, Helvetica, ui-sans-serif, sans-serif; }
.theme-civic-plain .public-utility, .theme-civic-plain .public-footer { background: #0b1f36; color: #fff; }
.theme-civic-plain .public-header { height: 76px; border-bottom: 3px solid #142f4f; }
.theme-civic-plain .mini-seal { border-radius: 0; background: #142f4f; box-shadow: none; font-family: Arial, Helvetica, sans-serif; }
.theme-civic-plain .public-header a, .theme-civic-plain .site-section a, .theme-civic-plain .public-footer a { text-decoration: underline; text-underline-offset: 3px; }
.theme-civic-plain .site-hero { border-bottom: 8px solid #f2c94c; background: #fff; color: #111; }
.theme-civic-plain .site-hero h1, .theme-civic-plain .section-heading h2, .theme-civic-plain .site-section h2, .theme-civic-plain .meeting-row h3 { color: #0b1f36; font-family: Arial, Helvetica, sans-serif; font-weight: 800; letter-spacing: -.025em; }
.theme-civic-plain .hero-lede, .theme-civic-plain .site-kicker { color: #334b63; }
.theme-civic-plain .site-button.light { border: 2px solid #142f4f; border-radius: 0; background: #142f4f; color: #fff; }
.theme-civic-plain .site-text-link { color: #142f4f; border-color: #142f4f; }
.theme-civic-plain .civic-seal { display: none; }
.theme-civic-plain .notice-strip { border-block: 2px solid #8d6d00; background: #fff3bd; color: #111; }
.theme-civic-plain .notice-inner span { color: #292929; }
.theme-civic-plain .service-directory, .theme-civic-plain .site-section.sage, .theme-civic-plain .site-section.blue { background: #f4f5f6; }
.theme-civic-plain .quick-grid a, .theme-civic-plain .service-card-grid > a, .theme-civic-plain .project-card, .theme-civic-plain .date-tile { border: 2px solid #142f4f; border-radius: 0; box-shadow: none; }
.theme-civic-plain .service-card-icon, .theme-civic-plain .feature-icon, .theme-civic-plain .drop-icon { border-radius: 0; background: #142f4f; color: #fff; }
.theme-civic-plain .municipal-contact { background: #142f4f; }

.theme-parkland { --site-green: #075e50; --site-dark: #003f36; --site-accent: #4cdbc3; --site-paper: #edf8f4; --site-line: #cce2da; background: #f8fbf9; color: #183c34; font-family: "Avenir Next", Avenir, ui-sans-serif, sans-serif; }
.theme-parkland .public-utility { background: #003f36; }
.theme-parkland .mini-seal { background: #075e50; box-shadow: inset 0 0 0 3px #a5e3d4; }
.theme-parkland .site-hero { background: radial-gradient(circle at 82% 35%, rgb(76 219 195 / 48%) 0 18%, transparent 18.5%), linear-gradient(112deg, #075e50 0 68%, #4cdbc3 68%); }
.theme-parkland .civic-seal { color: #003f36; border-color: rgb(0 63 54 / 35%); }
.theme-parkland .service-directory { background: #edf8f4; }
.theme-parkland .service-card-grid > a { border-color: #c8e1d8; }
.theme-parkland .service-card-icon { background: #d5f0e7; }
.theme-parkland .community-message.dark { background: #003f36; }
.theme-parkland .municipal-contact { background: #4cdbc3; color: #003f36; }
.theme-parkland .municipal-contact h2, .theme-parkland .municipal-contact .site-kicker, .theme-parkland .contact-grid small { color: #003f36; }
.theme-parkland .public-footer { background: #003f36; }

/* Public reading scale. The builder canvas uses the same values so editing stays WYSIWYG. */
:where(.public-site:not(.compact), .site-theme-root) .public-utility { font-size: 14px; }
:where(.public-site:not(.compact), .site-theme-root) .town-brand small { font-size: 13px; }
:where(.public-site:not(.compact), .site-theme-root) .public-header nav { font-size: 14px; }
:where(.public-site:not(.compact), .site-theme-root) .search-button { font-size: 14px; }
:where(.public-site:not(.compact), .site-theme-root) .site-kicker { font-size: 14px; }
:where(.public-site:not(.compact), .site-theme-root) .site-button,
:where(.public-site:not(.compact), .site-theme-root) .site-text-link { font-size: 14px; }
:where(.public-site:not(.compact), .site-theme-root) .notice-inner strong { font-size: 15px; }
:where(.public-site:not(.compact), .site-theme-root) .notice-inner span { font-size: 14px; }
:where(.public-site:not(.compact), .site-theme-root) .notice-inner a,
:where(.public-site:not(.compact), .site-theme-root) .section-heading a,
:where(.public-site:not(.compact), .site-theme-root) .meeting-row > a,
:where(.public-site:not(.compact), .site-theme-root) .project-card a { font-size: 14px; }
:where(.public-site:not(.compact), .site-theme-root) .quick-grid a { font-size: 15px; }
:where(.public-site:not(.compact), .site-theme-root) .section-heading.split > p { font-size: 15px; }
:where(.public-site:not(.compact), .site-theme-root) .service-card-grid strong { font-size: 15px; }
:where(.public-site:not(.compact), .site-theme-root) .service-card-grid small { font-size: 14px; }
:where(.public-site:not(.compact), .site-theme-root) .feature-grid > div:nth-child(2) > p:last-child,
:where(.public-site:not(.compact), .site-theme-root) .project-card > div > p:last-child,
:where(.public-site:not(.compact), .site-theme-root) .document-feature > div:nth-child(2) > p:last-child,
:where(.public-site:not(.compact), .site-theme-root) .narrow p { font-size: 15px; }
:where(.public-site:not(.compact), .site-theme-root) .contact-card small { font-size: 13px; }
:where(.public-site:not(.compact), .site-theme-root) .contact-card span,
:where(.public-site:not(.compact), .site-theme-root) .contact-card a { font-size: 14px; }
:where(.public-site:not(.compact), .site-theme-root) .project-card > div:last-child p,
:where(.public-site:not(.compact), .site-theme-root) .document-feature > div:last-child p { font-size: 13px; }
:where(.public-site:not(.compact), .site-theme-root) .site-status,
:where(.public-site:not(.compact), .site-theme-root) .available { font-size: 14px; }
:where(.public-site:not(.compact), .site-theme-root) .date-tile span { font-size: 13px; }
:where(.public-site:not(.compact), .site-theme-root) .meeting-row h3 { font-size: 18px; }
:where(.public-site:not(.compact), .site-theme-root) .meeting-row p { font-size: 14px; }
:where(.public-site:not(.compact), .site-theme-root) .community-message blockquote { font-size: 19px; }
:where(.public-site:not(.compact), .site-theme-root) .message-signature { font-size: 14px; }
:where(.public-site:not(.compact), .site-theme-root) .contact-grid small { font-size: 13px; }
:where(.public-site:not(.compact), .site-theme-root) .contact-grid strong,
:where(.public-site:not(.compact), .site-theme-root) .contact-grid > a { font-size: 14px; }
:where(.public-site:not(.compact), .site-theme-root) .dashboard-columns aside h3 { font-size: 13px; }
:where(.public-site:not(.compact), .site-theme-root) .dashboard-columns article strong { font-size: 14px; }
:where(.public-site:not(.compact), .site-theme-root) .dashboard-columns article p,
:where(.public-site:not(.compact), .site-theme-root) .dashboard-columns > aside > p { font-size: 13px; }
:where(.public-site:not(.compact), .site-theme-root) .dashboard-primary > span { font-size: 13px; }
:where(.public-site:not(.compact), .site-theme-root) .dashboard-primary h3 { font-size: 22px; }
:where(.public-site:not(.compact), .site-theme-root) .dashboard-primary p { font-size: 14px; }
:where(.public-site:not(.compact), .site-theme-root) .dashboard-primary a { font-size: 13px; }
:where(.public-site:not(.compact), .site-theme-root) .public-footer p { font-size: 14px; }
:where(.public-site:not(.compact), .site-theme-root) .public-footer .footer-grid > div:not(:first-child) strong { font-size: 14px; }
:where(.public-site:not(.compact), .site-theme-root) .public-footer .footer-grid a { font-size: 14px; }
.public-meeting-list { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid #d8e1dc; }
.public-meeting-list li { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 24px 0; border-bottom: 1px solid #d8e1dc; }
.public-meeting-list time { color: #5d6d67; font-size: .9rem; }
.public-meeting-list h3 { margin: 5px 0; font: 600 1.2rem/1.3 var(--font-display); color: #1d3f37; }
.public-meeting-list p { margin: 0; color: #65746f; }
.public-meeting-list a { color: var(--site-green); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.meeting-empty { margin-top: 24px; color: #65746f; }

/* Shared calendar and municipal concept blocks */
.event-calendar { background: #f2eee5; }
.event-calendar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.public-event { min-height: 128px; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px; border: 1px solid var(--site-line); border-top: 4px solid var(--site-accent); border-radius: 10px; background: #fff; }
.public-event time { width: 54px; height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--site-line); color: var(--site-green); }
.public-event time strong { font: 650 23px/1 var(--font-display); }
.public-event time span { margin-top: 5px; font-size: 14px; font-weight: 800; letter-spacing: .075em; }
.event-category { color: #735d3f; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .075em; }
.public-event h3 { margin: 5px 0 4px; font: 600 18px/1.25 var(--font-display); color: #42352b; }
.public-event p { margin: 0; color: #736b63; font-size: 14px; line-height: 1.45; }
.public-event em { display: inline-block; margin-top: 8px; color: #8a4b36; font-size: 13px; font-style: normal; font-weight: 800; }
.calendar-link { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; color: var(--site-green); font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.community-guide { background: #fff; }
.guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 34px; border: 1px solid var(--site-line); background: var(--site-line); }
.guide-grid > a { min-height: 260px; display: flex; flex-direction: column; padding: 26px; background: #fff; color: #40372f; transition: background .16s ease, transform .16s ease; }
.guide-grid > a:hover { position: relative; z-index: 1; transform: translateY(-3px); background: #fbf5e9; }
.guide-number { color: #b2966b; font: 500 28px/1 var(--font-display); }
.guide-label { margin-top: auto; color: #88673c; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.guide-grid h3 { margin: 8px 0 7px; font: 600 21px/1.25 var(--font-display); }
.guide-grid p { margin: 0; color: #716b64; font-size: 14px; line-height: 1.55; }
.guide-more { display: inline-flex; align-items: center; gap: 5px; margin-top: 16px; color: var(--site-green); font-size: 13px; font-weight: 800; }
.real-estate-showcase { background: #eee4d5; }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.listing-grid article { overflow: hidden; border: 1px solid #d7c5ae; border-radius: 10px; background: #fff; }
.listing-visual { position: relative; min-height: 190px; display: grid; place-items: center; color: rgb(255 255 255 / 86%); }
.listing-visual.tone-brick { background: linear-gradient(145deg, #70433a, #b4775d); }
.listing-visual.tone-meadow { background: linear-gradient(145deg, #49664d, #9da66d); }
.listing-visual.tone-gold { background: linear-gradient(145deg, #936b35, #d1a95e); }
.listing-visual > span:last-child { position: absolute; inset: auto 10px 10px; padding: 5px 7px; background: rgb(34 25 20 / 78%); color: #fff; font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.listing-grid article > div:last-child { padding: 18px; }
.demo-chip { display: inline-block; padding: 4px 7px; border-radius: 99px; background: #f6e6c8; color: #805c29; font-size: 13px; font-weight: 800; }
.listing-grid h3 { margin: 10px 0 5px; font: 600 20px/1.3 var(--font-display); color: #49382d; }
.listing-grid p { margin: 0; color: #766b62; font-size: 14px; }

/* Staff event calendar */
.calendar-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; padding: 18px 20px; }
.calendar-summary > div { display: flex; align-items: center; gap: 12px; }
.calendar-summary-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: #e8f1ec; color: #2d6d56; }
.calendar-summary > div > span:last-child { display: grid; gap: 3px; }
.calendar-summary small { color: #708079; }
.event-admin-list { overflow: hidden; }
.event-admin-list > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid #e2e7e3; }
.event-admin-list h2 { margin: 3px 0 0; font: 600 22px/1.25 var(--font-display); }
.event-admin-list > header > small { color: #73807b; }
.event-admin-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 17px 22px; border-bottom: 1px solid #e8ece9; }
.event-admin-row:last-child { border-bottom: 0; }
.event-admin-row > time { width: 52px; height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #dce4df; border-radius: 8px; color: #2c6552; }
.event-admin-row > time strong { font: 650 20px/1 var(--font-display); }
.event-admin-row > time span { margin-top: 4px; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.event-title-line { display: flex; align-items: center; gap: 9px; }
.event-title-line h3 { margin: 0; font-size: 14px; }
.event-admin-row p { display: flex; align-items: center; gap: 5px; margin: 5px 0 0; color: #68766f; font-size: 14px; }
.event-admin-row p i { width: 3px; height: 3px; border-radius: 50%; background: #9ca8a2; }
.event-admin-row > div > small { display: block; margin-top: 6px; color: #7b8781; }
.event-time { display: flex; align-items: center; gap: 6px; color: #405b51; font-size: 14px; }
.event-time small { margin-left: 8px; color: #829089; }
.empty-calendar { display: grid; place-items: center; gap: 8px; padding: 50px; color: #718078; }
.event-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 20px; }
.event-form label { display: grid; gap: 7px; color: #243c34; font-size: 14px; font-weight: 750; }
.event-form label.wide, .event-form footer { grid-column: 1 / -1; }
.event-form input:not([type="checkbox"]), .event-form select, .event-form textarea { width: 100%; box-sizing: border-box; border: 1px solid #d6ded9; border-radius: 9px; padding: 11px 12px; background: #fff; color: #203a31; font: inherit; }
.event-form textarea { min-height: 90px; resize: vertical; }
.event-form .check-field { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.event-form .publish-choice > span { display: grid; gap: 3px; }
.event-form .publish-choice small { color: #66756f; font-weight: 500; }
.event-form footer { display: flex; justify-content: flex-end; gap: 10px; padding-top: 5px; }
.official-minutes { max-width: 780px; }
.official-minutes > h1 { margin: 0; font: 600 clamp(36px, 5vw, 54px)/1.12 var(--font-display); letter-spacing: -.035em; color: #183c34; text-wrap: balance; }
.official-minutes > p { margin-top: 12px; color: #566660; font-size: 1rem; }
.official-minutes section { margin-top: 32px; }
.official-minutes section h2 { font-size: clamp(24px, 3vw, 30px); }
.official-minutes section p { max-width: 70ch; line-height: 1.7; }
.minutes-access-note { margin: 28px 0; padding: 18px 20px; border-left: 4px solid #337a61; background: #eef5f1; }
.minutes-access-note p { margin-top: 0; }
.minutes-access-note a { color: #1d604c; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.modal-backdrop { position: fixed; inset: 0; z-index: 1400; display: grid; place-items: center; padding: 24px; background: rgb(15 31 27 / 62%); backdrop-filter: blur(4px); }
.modal { width: min(600px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: #fff; border-radius: 14px; box-shadow: 0 24px 70px rgb(10 25 21 / 28%); }
.modal.wide { width: min(1020px, 100%); }
.modal > header { position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between; align-items: flex-start; padding: 18px 20px; border-bottom: 1px solid #e1e5e2; background: rgb(255 255 255 / 95%); }
.modal > header h2 { margin: 0; font: 600 22px/1.25 var(--font-display); }
.modal-body { padding: 20px; }
.source-modal { display: flex; flex-direction: column; gap: 16px; }
.audio-player { display: flex; gap: 12px; align-items: center; padding: 13px; border-radius: 9px; background: #eef3f0; }
.audio-player button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #24584d; color: #fff; display: grid; place-items: center; }
.audio-player > div { display: flex; flex-direction: column; gap: 4px; color: #39705f; }
.waveform { letter-spacing: 2px; font-weight: 800; }
.audio-player small { color: #79847f; font-size: 13px; }
.transcript { border: 1px solid #dfe4e0; border-radius: 9px; padding: 14px; }
.transcript p { display: flex; gap: 8px; margin: 8px 0 4px; font-size: 13px; }
.transcript p span { color: #558175; }
.transcript blockquote { margin: 0 0 12px 65px; color: #54635e; font: 400 13px/1.65 var(--font-display); }
.source-note { display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 8px; background: #e7f2ed; color: #2e7359; }
.source-note p { margin: 0; display: flex; flex-direction: column; font-size: 13px; }
.source-note span { color: #6e7b76; margin-top: 2px; }
.preview-callout { display: grid; grid-template-columns: 1fr 30px 1fr; align-items: center; gap: 12px; padding: 12px 15px; background: #edf5f1; border: 1px solid #d5e5de; border-radius: 9px; margin-bottom: 14px; }
.preview-callout > div { display: flex; flex-direction: column; }
.preview-callout span { color: #78847f; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
.preview-callout strong { font-size: 13px; margin-top: 3px; }
.browser-chrome { height: 35px; background: #f1f3f1; border: 1px solid #dce1dd; border-radius: 9px 9px 0 0; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: 0 12px; }
.browser-chrome > div { display: flex; gap: 5px; }
.browser-chrome > div span { width: 6px; height: 6px; border-radius: 50%; background: #c8ceca; }
.browser-chrome p { margin: 0; justify-self: center; display: flex; align-items: center; gap: 5px; color: #79837f; font-size: 13px; }
.context-site { height: 430px; overflow: auto; border: 1px solid #dce1dd; border-top: 0; }
.public-site.compact { transform-origin: top left; }
.public-site.compact .public-header { height: 46px; }
.public-site.compact .site-hero .hero-grid { min-height: 250px; }
.public-site.compact .site-section { padding: 36px 0; }
.modal-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }

.site-import { padding: 22px; display: grid; gap: 20px; }
.site-import > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.site-import h2 { margin: 4px 0 6px; font-size: 21px; }
.site-import header p:last-child { margin: 0; color: #66756f; max-width: 720px; }
.import-form { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(260px, 1fr); gap: 14px; padding: 18px; background: #f6f8f6; border: 1px solid #dfe4e0; border-radius: 14px; }
.import-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; color: #18352e; }
.import-form label small { font-weight: 500; color: #718079; }
.import-form input:not([type="checkbox"]), .import-form textarea { width: 100%; box-sizing: border-box; border: 1px solid #d6ddd8; border-radius: 10px; padding: 11px 12px; background: white; color: #18352e; font: inherit; }
.import-form textarea { min-height: 88px; resize: vertical; }
.import-form .import-authorization { display: flex; align-items: center; gap: 9px; grid-column: 1 / -1; font-weight: 600; }
.import-form .button { justify-self: start; }
.import-error { display: flex; align-items: center; gap: 7px; margin: 0; color: #a43b38; font-size: 13px; grid-column: 1 / -1; }
.import-review { display: grid; gap: 14px; }
.import-status { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.import-status span:first-child { display: grid; gap: 3px; }
.import-status small { color: #718079; }
.import-items { border: 1px solid #dfe4e0; border-radius: 12px; overflow: hidden; max-height: 350px; overflow-y: auto; }
.import-items label { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 12px 14px; border-bottom: 1px solid #e5e9e6; background: white; }
.import-items label:last-child { border-bottom: 0; }
.import-items label.duplicate { opacity: .62; background: #f6f8f6; }
.import-items label > span { display: grid; gap: 2px; min-width: 0; }
.import-items strong, .import-items small, .import-items em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.import-items small { color: #718079; }
.import-items em { color: #86651d; font-size: 13px; font-style: normal; }
.import-actions { display: flex; justify-content: flex-end; gap: 10px; }

.impact-summary { margin-top: 22px; padding: 22px; }
.impact-summary .panel-head { margin-bottom: 16px; }
.impact-summary .panel-head small { color: #718079; }
.impact-metrics { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 10px; }
.impact-metrics span { display: grid; gap: 4px; padding: 14px; background: #f6f8f6; border: 1px solid #dfe4e0; border-radius: 12px; }
.impact-metrics strong { font-size: 24px; }
.impact-metrics small { color: #718079; line-height: 1.35; }
.impact-privacy { margin: 12px 0 0; color: #718079; font-size: 14px; }

@media (max-width: 950px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { transform: translateX(-105%); transition: transform .2s ease; box-shadow: 16px 0 50px rgb(10 25 21 / 20%); }
  .sidebar.open { transform: translateX(0); }
  .app-main { grid-column: 1; }
  .menu-button, .mobile-close { display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
  .mobile-close { color: #fff; margin-left: auto; }
  .mobile-scrim { display: block; position: fixed; inset: 0; z-index: 25; border: 0; background: rgb(14 30 26 / 35%); }
  .topbar { padding: 0 18px; }
  .menu-button { margin-right: 16px; }
  .top-search { min-width: 0; flex: 1; }
  .top-search kbd { display: none; }
  .review-layout { grid-template-columns: 270px 1fr; }
  .editor-frame { grid-template-columns: 320px minmax(0, 1fr); }
  .simple-rail { grid-template-columns: 68px 1fr; }
  .rail-tabs button { width: 54px; }
  .import-form { grid-template-columns: 1fr; }
  .import-form .import-authorization, .import-error { grid-column: 1; }
  .impact-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .page { padding: 28px 17px 60px; }
  .top-search span, .sync-state span { display: none; }
  .page-title-row, .welcome-row { flex-direction: column; align-items: stretch; }
  .meeting-title-actions { align-items: stretch; flex-direction: column; }
  .meeting-switcher select { max-width: none; width: 100%; }
  .focus-card { grid-template-columns: 40px 1fr; }
  .focus-card > .button { grid-column: 1 / -1; width: 100%; }
  .dashboard-grid, .meeting-workspace, .review-layout, .document-layout { grid-template-columns: 1fr; }
  .workflow-steps { overflow-x: auto; padding: 12px; }
  .workflow-steps > div { min-width: 135px; }
  .workflow-steps > div:last-child { min-width: 100px; }
  .workspace-footer { align-items: stretch; flex-direction: column; }
  .workspace-footer .button { width: 100%; }
  .proposal-list { display: flex; overflow-x: auto; }
  .proposal-list-head { min-width: 150px; }
  .proposal-item { min-width: 225px; border-right: 1px solid #edf0ed; }
  .proposal-detail > header { flex-direction: column; }
  .proposal-detail > header .button { width: 100%; }
  .change-compare { grid-template-columns: 1fr; }
  .change-compare > svg { transform: rotate(90deg); }
  .website-stats { grid-template-columns: 1fr; }
  .website-stats > div { border-right: 0; border-bottom: 1px solid #e3e7e3; }
  .document-table { overflow-x: auto; }
  .document-table > header, .document-row { min-width: 680px; }
  .site-preview-panel > header { grid-template-columns: 1fr 1fr; }
  .site-preview-panel > header p { display: none; }
  .editor-frame { height: auto; min-height: calc(100vh - 186px); grid-template-columns: 1fr; }
  .simple-rail { min-height: 340px; border-right: 0; border-bottom: 1px solid #dbe1dd; }
  .editor-canvas { min-height: 620px; }
  .toolbar-actions > span { display: none; }
  .public-header > .site-shell > nav, .public-header > .site-shell > .site-search-form { display: none; }
  .mobile-site-menu { display: block; }
  .site-shell { width: min(100% - 32px, 1160px); }
  .public-header { min-height: 70px; }
  .public-utility .site-shell > span:last-child { display: none; }
  .hero-grid { min-height: 360px; grid-template-columns: 1fr; padding-block: 48px; }
  .page-hero { padding: 48px 0; }
  .page-hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 28px; }
  .page-hero h1 { font-size: clamp(38px, 12vw, 58px); }
  .page-hero img { height: 220px; }
  .document-library-list article { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; }
  .document-library-list article > svg, .document-library-icon { width: 42px; height: 42px; }
  .document-library-list article > a, .document-library-list article > .site-status { grid-column: 2; justify-self: start; }
  .civic-seal { display: none; }
  .site-hero { background: var(--site-green); }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .section-heading.split { grid-template-columns: 1fr; gap: 14px; }
  .service-card-grid, .theme-townpress .service-card-grid { grid-template-columns: 1fr; }
  .event-calendar-grid, .listing-grid, .guide-grid { grid-template-columns: 1fr; }
  .guide-grid > a { min-height: 220px; }
  .event-admin-row { grid-template-columns: 54px minmax(0, 1fr); align-items: start; }
  .event-time { grid-column: 2; }
  .event-time small { display: none; }
  .event-form { grid-template-columns: 1fr; }
  .event-form label.wide, .event-form footer { grid-column: 1; }
  .message-grid { min-height: 0; grid-template-columns: 1fr; gap: 25px; }
  .message-mark { width: 64px; height: 64px; }
  .contact-grid { grid-template-columns: 1fr; }
  .dashboard-columns { grid-template-columns: 1fr; }
  .dashboard-columns > aside:first-child { order: 1; }
  .dashboard-columns > .dashboard-primary { order: 2; }
  .dashboard-columns > aside:last-child { order: 3; }
  .feature-grid, .document-feature, .project-card { grid-template-columns: 1fr; gap: 20px; }
  .contact-card, .project-card > div:last-child { border-left: 0; border-top: 1px solid #d5dfd9; padding: 18px 0 0; }
  .meeting-row { grid-template-columns: 54px 1fr; }
  .meeting-row > a { grid-column: 2; }
  .public-meeting-list li { align-items: flex-start; flex-direction: column; }
  .public-meeting-list a { min-height: 44px; display: inline-flex; align-items: center; }
  .public-footer .site-shell, .public-footer .footer-grid { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; gap: 18px; }
  .public-footer .footer-grid a { min-height: 44px; width: 100%; display: flex; align-items: center; }
  .modal-backdrop { padding: 10px; }
  .modal { max-height: calc(100vh - 20px); }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .button { width: 100%; }
}

/* Accessible website studio and page management */
.page-library { margin: 20px 0; overflow: hidden; }
.page-library > header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.page-library > header h2 { margin: 2px 0 5px; font: 600 24px/1.25 var(--font-display); color: #193b32; }
.page-library > header p:last-child { margin: 0; color: #596b64; }
.page-library-list { display: grid; }
.page-library-list article { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-bottom: 1px solid #e7ebe8; }
.page-library-list article:last-child { border-bottom: 0; }
.page-library-list article.active { background: #f0f6f3; box-shadow: inset 4px 0 #2e725c; }
.page-library-select { min-width: 0; min-height: 58px; display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 12px; border: 0; border-radius: 9px; padding: 8px 12px; background: transparent; color: #29483f; text-align: left; cursor: pointer; }
.page-library-select:hover { background: #f5f8f6; }
.page-library-select > span { min-width: 0; display: grid; gap: 3px; }
.page-library-select strong { font-size: 16px; }
.page-library-select small { overflow: hidden; color: #60736b; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.site-kits, .compliance-center { margin: 20px 0; overflow: hidden; }
.site-kits > header, .compliance-center > header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.site-kits > header h2, .compliance-center > header h2 { margin: 2px 0 5px; font: 600 24px/1.25 var(--font-display); color: #193b32; }
.site-kits > header p:last-child, .compliance-center > header p:last-child { margin: 0; color: #596b64; }
.site-kit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 20px 24px 24px; }
.site-kit-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #d8e0dc; border-radius: 12px; padding: 14px; background: #fff; }
.site-kit-card h3 { margin: 5px 0 7px; color: #1d4036; font: 600 20px/1.2 var(--font-display); }
.site-kit-card > p { margin: 0 0 10px; color: #586a64; font-size: 14px; line-height: 1.5; }
.site-kit-card > p:first-of-type { margin-top: 12px; margin-bottom: 0; color: #396354; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.site-kit-card small { margin: auto 0 14px; color: #6a7772; }
.site-kit-swatch { width: 100%; height: 82px; display: grid; grid-template-columns: 1.3fr .8fr .55fr; overflow: hidden; border-radius: 8px; background: #eee; }
.site-kit-swatch span:nth-child(1) { background: #254b40; }
.site-kit-swatch span:nth-child(2) { background: #d9c4a5; }
.site-kit-swatch span:nth-child(3) { background: #f2eee5; }
.kit-modern .site-kit-swatch span:nth-child(1) { background: #202b31; }
.kit-modern .site-kit-swatch span:nth-child(2) { background: #f2c94c; }
.kit-modern .site-kit-swatch span:nth-child(3) { background: #e7edf0; }
.kit-townpress .site-kit-swatch span:nth-child(1) { background: #263b48; }
.kit-townpress .site-kit-swatch span:nth-child(2) { background: #e9553d; }
.kit-townpress .site-kit-swatch span:nth-child(3) { background: #f0f1f1; }
.site-kit-message, .compliance-clear { display: flex; align-items: center; gap: 8px; margin: 0; padding: 14px 24px; border-top: 1px solid #d8e6de; background: #edf7f1; color: #245f46; font-weight: 700; }
.site-kits > .import-error { margin: 0; padding: 14px 24px; border-top: 1px solid #eed5d2; }
.compliance-score { min-width: 112px; display: grid; grid-template-columns: auto auto auto; align-items: baseline; justify-content: center; gap: 4px; border-radius: 10px; padding: 12px 14px; }
.compliance-score svg { grid-row: 1; align-self: center; }
.compliance-score strong { font: 700 27px/1 var(--font-display); }
.compliance-score span { font-size: 13px; }
.compliance-score.pass { background: #e7f3ec; color: #276348; }
.compliance-score.attention { background: #fff0d9; color: #8b570e; }
.compliance-summary { min-height: 58px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 24px; border-bottom: 1px solid #e2e7e4; }
.compliance-summary > span:last-child { color: #536760; font-size: 14px; }
.compliance-issues { display: grid; }
.compliance-issues article { min-height: 66px; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 24px; border-bottom: 1px solid #e8ece9; }
.compliance-issues article:last-child { border-bottom: 0; }
.compliance-issues article > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #edf0ee; font-weight: 900; }
.compliance-issues article.error > span { background: #f9e3e0; color: #983e37; }
.compliance-issues article.warning > span { background: #fff0d5; color: #8b570e; }
.compliance-issues strong { color: #27483f; }
.compliance-issues p { margin: 3px 0 0; color: #5b6b65; font-size: 14px; }
.navigation-list article { grid-template-columns: minmax(260px, .8fr) minmax(420px, 1.2fr); }
.navigation-controls { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.navigation-controls input, .navigation-controls select { min-width: 0; height: 42px; border: 1px solid #cbd6d0; border-radius: 8px; padding: 0 9px; background: #fff; color: #24443a; font-size: 14px; }
.navigation-controls input { width: 145px; }
.navigation-controls select { width: 126px; }

.public-search-page { min-height: 60vh; background: #f6f8f6; }
.public-search-page h1 { margin: 5px 0 24px; color: #173b34; font: 600 clamp(38px, 5vw, 58px)/1.08 var(--font-display); }
.public-search-page form { max-width: 720px; display: grid; gap: 7px; }
.public-search-page form label { color: #29483f; font-weight: 800; }
.public-search-page form > div { display: flex; }
.public-search-page input { min-width: 0; flex: 1; min-height: 50px; border: 1px solid #aebeb6; border-right: 0; border-radius: 8px 0 0 8px; padding: 10px 13px; background: #fff; color: #1e3931; font-size: 17px; }
.public-search-page button { border: 0; border-radius: 0 8px 8px 0; cursor: pointer; }
.search-summary { margin: 24px 0 10px; color: #53665f; }
.public-search-results { max-width: 860px; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.public-search-results li { border: 1px solid #d9e1dd; border-radius: 10px; padding: 18px 20px; background: #fff; }
.public-search-results li > span { color: #477264; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.public-search-results h2 { margin: 4px 0 6px; font: 600 22px/1.25 var(--font-display); }
.public-search-results h2 a { color: #205846; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.public-search-results p { margin: 0; color: #596a64; }

.website-editor-page { min-height: 100vh; background: #e9eeeb; }
.editor-appbar { min-height: 72px; height: auto; padding: 10px 18px; position: relative; z-index: 70; }
.editor-appbar-start, .editor-appbar > div { display: flex; align-items: center; gap: 12px; }
.brand-back { min-height: 48px; padding: 4px; border-radius: 9px; }
.brand-back strong { font-size: 15px; }
.brand-back small { color: #596a64; font-size: 13px; }
.page-panel-toggle { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #d0d9d4; border-radius: 9px; padding: 0 13px; background: #f8faf8; color: #304d44; font-weight: 700; cursor: pointer; }
.website-studio-shell { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 260px minmax(0,1fr); transition: grid-template-columns .2s ease; }
.website-studio-shell.pages-closed { grid-template-columns: 0 minmax(0,1fr); }
.website-page-manager { min-width: 0; overflow: auto; background: #fff; border-right: 1px solid #d9e0dc; }
.pages-closed .website-page-manager { visibility: hidden; overflow: hidden; }
.website-page-manager > header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px 10px 18px; border-bottom: 1px solid #e0e5e2; }
.website-page-manager > header > div { display: grid; gap: 2px; }
.website-page-manager > header span { font: 600 20px/1.2 var(--font-display); color: #183a31; }
.website-page-manager > header small { color: #66766f; font-size: 13px; }
.website-page-manager nav { display: grid; gap: 4px; padding: 12px; }
.page-manager-search { min-height: 44px; display: flex; align-items: center; gap: 8px; margin: 12px 12px 0; border: 1px solid #cbd6d0; border-radius: 9px; padding: 0 10px; background: #f8faf9; color: #587069; }
.page-manager-search:focus-within { border-color: #3e7c69; box-shadow: 0 0 0 3px rgb(62 124 105 / 15%); }
.page-manager-search input { min-width: 0; width: 100%; min-height: 42px; border: 0; outline: 0; background: transparent; color: #18372f; font-size: 14px; }
.page-manager-empty { margin: 8px; padding: 16px 10px; color: #62736d; font-size: 14px; text-align: center; }
.website-page-manager nav button { min-height: 60px; width: 100%; display: grid; grid-template-columns: 22px minmax(0,1fr); align-items: center; gap: 11px; border: 1px solid transparent; border-radius: 10px; padding: 9px 11px; background: transparent; color: #38544b; text-align: left; cursor: pointer; }
.website-page-manager nav button:hover { background: #f4f7f5; }
.website-page-manager nav button.active { border-color: #bdd5ca; background: #e8f2ed; color: #174b3c; }
.website-page-manager nav button > span { min-width: 0; display: grid; gap: 2px; }
.website-page-manager nav strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.website-page-manager nav small { overflow: hidden; color: #61736c; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.new-page-form { display: grid; gap: 13px; padding: 16px; background: #f5f8f6; border-bottom: 1px solid #dfe5e1; }
.new-page-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.new-page-form legend { margin-bottom: 9px; color: #28463d; font-size: 14px; font-weight: 750; }
.page-template-grid { max-height: 275px; display: grid; gap: 7px; overflow: auto; padding: 2px; }
.page-template-grid label { min-height: 64px; display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 9px; border: 1px solid #cfdad4; border-radius: 9px; padding: 10px; background: #fff; cursor: pointer; }
.page-template-grid label:hover { border-color: #8fb3a4; background: #fbfdfc; }
.page-template-grid label.selected { border-color: #2f6b59; background: #e9f3ee; box-shadow: 0 0 0 1px #2f6b59; }
.page-template-grid input { width: 16px; min-height: 16px; margin: 3px 0 0; accent-color: #225a49; }
.page-template-grid span { min-width: 0; display: grid; gap: 3px; }
.page-template-grid strong { color: #183a31; font-size: 14px; }
.page-template-grid small { color: #5c6d66; font-size: 12px; font-weight: 500; line-height: 1.35; }
.new-page-form label { display: grid; gap: 6px; color: #28463d; font-size: 14px; font-weight: 750; }
.new-page-form input { width: 100%; min-height: 44px; border: 1px solid #c9d5cf; border-radius: 8px; padding: 9px 11px; background: #fff; color: #18372f; }
.new-page-form p { margin: 0; color: #923b35; font-size: 14px; }
.new-page-form .new-page-note { color: #546760; font-size: 12px; line-height: 1.45; }
.new-page-form > div { display: flex; justify-content: flex-end; gap: 8px; }
.page-manager-help { margin: 10px 14px 20px; padding: 14px; border-radius: 10px; background: #edf5f1; color: #3e5d53; }
.page-manager-help strong { font-size: 14px; }
.page-manager-help p { margin: 5px 0 0; font-size: 13px; line-height: 1.55; }
.website-builder-main { min-width: 0; overflow: hidden; }

.builder-workspace { min-width: 0; container-type: inline-size; }
.builder-settings { min-height: 64px; display: flex; align-items: center; gap: 16px; padding: 9px 16px; border-bottom: 1px solid #d8dfdb; background: #f9faf9; }
.builder-settings > div { display: flex; align-items: center; gap: 8px; color: #31564b; }
.builder-settings label { font-weight: 750; }
.builder-settings select { min-height: 44px; min-width: 180px; border: 1px solid #c7d2cc; border-radius: 8px; padding: 0 34px 0 11px; background: #fff; color: #213d35; }
.builder-settings p { flex: 1; margin: 0; color: #596a64; font-size: 14px; }
.builder-save-status { min-width: 145px; display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; color: #53665f; font-size: 14px; }
.builder-save-status.saved { color: #226949; font-weight: 750; }
.builder-save-status.error { color: #953d37; font-weight: 750; }
@container (max-width: 1240px) {
  .builder-settings p { display: none; }
}
.puck-embedded {
  --puck-color-interactive: #246750;
  --puck-color-interactive-hover: #194d3c;
  --puck-color-interactive-active: #123e31;
  --puck-color-interactive-subtle: #dcece5;
  --puck-color-interactive-soft: #edf5f1;
  --puck-color-focus-ring: #c57a12;
  --puck-color-text-muted: #555f5b;
  --puck-font-family: var(--font-ui);
  --puck-user-sidebar-left-width: clamp(240px, 22vw, 320px);
  --puck-user-sidebar-right-width: clamp(260px, 24vw, 340px);
  font-size: 16px;
}
.puck-embedded :where(button, input, select, textarea) { font-size: 14px; }
.puck-media-field { display: grid; gap: 8px; }
.puck-media-field :where(select, input) { width: 100%; min-height: 44px; border: 1px solid #c9d5cf; border-radius: 7px; padding: 8px 10px; background: #fff; color: #193b32; }
.puck-media-field img { width: 100%; max-height: 150px; border: 1px solid #d8e0dc; border-radius: 8px; object-fit: cover; }

/* Shared website media library */
.media-guidance { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 18px 20px; }
.media-guidance > div { flex: 1; }
.media-guidance strong { color: #21483d; }
.media-guidance p { margin: 3px 0 0; color: #586b64; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.media-card { overflow: hidden; }
.media-preview { aspect-ratio: 16 / 10; display: grid; place-items: center; background: linear-gradient(135deg, #e2eae5, #f5f0e6); color: #567067; }
.media-preview img { width: 100%; height: 100%; object-fit: contain; }
.media-card-copy { display: grid; gap: 8px; padding: 16px; }
.media-card-copy > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.media-card-copy strong { color: #1b4036; font: 600 18px/1.25 var(--font-display); }
.media-card-copy p { min-height: 44px; margin: 0; color: #4f625b; font-size: 14px; }
.media-card-copy small { overflow: hidden; color: #687a73; text-overflow: ellipsis; white-space: nowrap; }
.media-card footer { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-top: 1px solid #e0e6e2; background: #f8faf9; }
.media-modal { width: min(680px, 100%); }
.media-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px 24px 24px; }
.media-form label { display: grid; gap: 7px; color: #294b42; font-size: 14px; font-weight: 750; }
.media-form label > span { display: inline-flex; align-items: center; gap: 5px; color: #677972; font-size: 12px; font-weight: 500; }
.media-form :where(input, select, textarea) { min-height: 46px; border: 1px solid #c7d3cd; border-radius: 8px; padding: 10px 12px; background: #fff; color: #17372f; font: 15px var(--font-ui); }
.media-form textarea { min-height: 96px; resize: vertical; }
.media-form .wide { grid-column: 1 / -1; }
.media-form footer { display: flex; justify-content: flex-end; gap: 10px; }

/* Image-enabled public block */
.photo-feature { background: #f8f5ed; }
.photo-feature-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); align-items: center; gap: clamp(32px, 6vw, 82px); }
.photo-feature.image-right .photo-feature-image { order: 2; }
.photo-feature-image { min-height: 360px; overflow: hidden; display: grid; place-items: center; border-radius: 3px 42px 3px 3px; background: linear-gradient(145deg, #d6e2dc, #ecd9b6); color: #4e685e; }
.photo-feature.image-right .photo-feature-image { border-radius: 42px 3px 3px 3px; }
.photo-feature-image img { width: 100%; height: 100%; min-height: 360px; max-height: 560px; object-fit: cover; }
.photo-feature-image > span { display: grid; justify-items: center; gap: 10px; }
.photo-feature-copy h2 { margin: 0 0 18px; font: 600 clamp(31px, 4vw, 48px)/1.08 var(--font-display); color: #263f36; }
.photo-feature-copy > p:last-of-type { color: #4d6059; font-size: 17px; line-height: 1.7; }
.photo-feature-copy a { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; color: #215d4b; font-weight: 800; }

.search-target { animation: search-target-pulse 1.8s ease-out; box-shadow: inset 4px 0 #bb7417, 0 0 0 3px rgb(187 116 23 / 12%); }
@keyframes search-target-pulse { 0% { background: #fff0ce; } 100% { background: transparent; } }

/* WCAG-oriented minimums for full resident-facing pages. Compact admin previews stay scaled. */
:where(.public-site:not(.compact), .site-theme-root) { font-size: 16px; line-height: 1.6; }
:where(.public-site:not(.compact), .site-theme-root) :where(a, button, input, select, textarea) { min-height: 44px; }
:where(.public-site:not(.compact), .site-theme-root) :where(.event-category, .public-event time span, .guide-label, .demo-chip, .site-status, .listing-visual > span:last-child) { font-size: 12px; }
:where(.public-site:not(.compact), .site-theme-root) :where(.public-event p, .guide-grid p, .listing-grid p) { font-size: 15px; }
:where(.public-site:not(.compact), .site-theme-root) :where(.guide-more, .public-event em) { font-size: 13px; }
.website-stats small { color: #596963; }
.topbar-context span { color: #586a63; }
.public-site:not(.compact) .town-brand small, .site-theme-root .town-brand small { color: #5f4e3e; }
.public-site.theme-old-town:not(.compact) .town-brand small, .site-theme-root.theme-old-town .town-brand small { color: rgb(255 255 255 / 78%); }
.public-site:not(.compact) .site-kicker.ink, .site-theme-root .site-kicker.ink { color: #315f52; }
.public-site:not(.compact) .section-heading.split > p, .site-theme-root .section-heading.split > p,
.public-site:not(.compact) .service-card-grid small, .site-theme-root .service-card-grid small,
.public-site:not(.compact) .feature-grid > div:nth-child(2) > p:last-child, .site-theme-root .feature-grid > div:nth-child(2) > p:last-child,
.public-site:not(.compact) .project-card > div > p:last-child, .site-theme-root .project-card > div > p:last-child,
.public-site:not(.compact) .document-feature > div:nth-child(2) > p:last-child, .site-theme-root .document-feature > div:nth-child(2) > p:last-child,
.public-site:not(.compact) .narrow p, .site-theme-root .narrow p { color: #4f625a; }
.public-site:not(.compact) .notice-inner span, .site-theme-root .notice-inner span { color: #5a4c2f; }
.public-site:not(.compact) .guide-number, .site-theme-root .guide-number { color: #886438; }
.public-site:not(.compact) .message-signature, .site-theme-root .message-signature { color: #65543c; }
.public-site:not(.compact) .community-message.paper .site-kicker, .site-theme-root .community-message.paper .site-kicker { color: #5d4e38; }
.public-site.theme-old-town:not(.compact) .municipal-contact h2, .site-theme-root.theme-old-town .municipal-contact h2 { color: #fff; }

@media (max-width: 950px) {
  .sidebar-collapsed .sidebar { width: 260px; }
  .sidebar-collapsed .sidebar-copy { display: initial !important; }
  .sidebar-collapsed .sidebar-brand .app-mark { display: grid; }
  .sidebar-collapsed .sidebar-collapse { display: none; }
  .sidebar-collapsed .town-switcher { display: grid; justify-content: initial; padding: 9px; }
  .sidebar-collapsed .sidebar nav button, .sidebar-collapsed .sidebar-bottom > button { justify-content: flex-start; padding-inline: 12px; }
  .sidebar-collapsed .sidebar nav b { position: static; margin: 0 0 0 auto; }
  .sidebar-collapsed .user-card { display: grid; justify-content: initial; padding: 16px 7px 0; }
  .website-studio-shell { grid-template-columns: minmax(220px, 34vw) minmax(0,1fr); }
  .builder-settings p { display: none; }
}

@media (max-width: 720px) {
  .topbar-context span { display: none; }
  .editor-appbar { align-items: flex-start; }
  .editor-appbar .badge, .page-panel-toggle span { display: none; }
  .website-studio-shell, .website-studio-shell.pages-closed { grid-template-columns: 1fr; }
  .website-page-manager { position: fixed; inset: 72px 0 0 0; z-index: 60; width: min(88vw, 340px); box-shadow: 18px 0 50px rgb(15 35 28 / 25%); }
  .pages-closed .website-page-manager { transform: translateX(-105%); visibility: hidden; }
  .builder-settings { flex-wrap: wrap; align-items: stretch; gap: 8px; }
  .builder-settings > div { flex: 1 1 100%; }
  .builder-settings select { flex: 1; min-width: 0; }
  .builder-settings .button { flex: 1 1 auto; }
  .builder-save-status { min-width: 0; flex: 1 1 auto; justify-content: flex-end; }
  .page-library > header { align-items: stretch; flex-direction: column; }
  .page-library-list article { grid-template-columns: 1fr; padding: 10px; }
  .page-library-list article > .button { width: 100%; }
  .media-guidance { align-items: flex-start; flex-wrap: wrap; }
  .media-guidance .badge { margin-left: 38px; }
  .media-form { grid-template-columns: 1fr; padding: 16px; }
  .media-form .wide { grid-column: auto; }
  .photo-feature-grid { grid-template-columns: 1fr; }
  .photo-feature.image-right .photo-feature-image { order: 0; }
  .photo-feature-image, .photo-feature-image img { min-height: 260px; }
}

/* MUI admin workspace: colored navigation, muted canvas, focused page surface */
.mui-app-shell { background: #e9ece8; }
.mui-app-main { background: #e9ece8; }
.bc-drawer { min-height: 100%; display: flex; flex-direction: column; background: #173a33; }
.bc-brand-row { min-height: 84px; display: flex; align-items: center; gap: 11px; padding: 15px 14px 13px; }
.bc-brand-copy { min-width: 0; display: grid; gap: 4px; }
.bc-brand-copy strong { font: 700 21px/1 var(--font-display); color: #fff; letter-spacing: -.025em; }
.bc-brand-copy small { color: #bfcfc9; font-size: 12px; white-space: nowrap; }
.bc-town-switcher { border: 1px solid rgb(255 255 255 / 13%) !important; background: rgb(255 255 255 / 6%) !important; color: #fff !important; }
.bc-town-switcher:hover { background: rgb(255 255 255 / 10%) !important; }
.bc-nav-count { min-width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #efd08c; color: #173a33; font-size: 13px; font-weight: 800; }
.bc-help-card { margin: 12px; padding: 13px; display: flex; align-items: center; gap: 11px; color: #28483f; background: #f4f1e8; }
.bc-help-card p { margin: 0; }
.bc-top-user { align-items: center; gap: 10px; padding-left: 8px; }
.bc-top-user > div:last-child { display: grid; line-height: 1.1; }
.bc-search-shortcut { border: 1px solid #d9ded9; border-radius: 5px; padding: 2px 6px; background: #f0f2ef; color: #64716c; font: 12px var(--font-ui); white-space: nowrap; }
.bc-workspace-canvas { min-height: calc(100vh - 72px); padding: 18px; background: #e9ece8; }
.app-page-loading { min-height: 280px; display: grid; place-content: center; justify-items: center; gap: 12px; color: #4f655d; }
.app-page-loading span { width: 32px; height: 32px; border: 3px solid #c9d7d1; border-top-color: #22614f; border-radius: 50%; animation: workspace-spin .8s linear infinite; }
.app-page-loading p { margin: 0; font-weight: 700; }
@keyframes workspace-spin { to { transform: rotate(360deg); } }
.bc-workspace-canvas > .page { max-width: 1400px; min-height: calc(100vh - 108px); margin: 0 auto; padding: 28px; border: 1px solid #e0e3de; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgb(27 48 40 / 5%); }

.bc-dashboard { container-type: inline-size; display: grid; gap: 16px; }
.bc-photo-hero { min-height: 224px; position: relative; overflow: hidden; display: flex; align-items: flex-end; gap: 22px; padding: 34px 38px; border-radius: 14px; background-position: center 86%; background-size: cover; color: #fff; isolation: isolate; }
.bc-photo-hero::after { content: "Workspace welcome image"; position: absolute; right: 18px; bottom: 10px; z-index: -1; color: rgb(255 255 255 / 72%); font-size: 11px; letter-spacing: .04em; }
.bc-photo-hero-copy { max-width: 560px; margin-right: auto; }
.bc-photo-hero-copy h1 { margin: 0 0 7px; color: #fff; font-size: clamp(32px, 4vw, 45px); text-shadow: 0 2px 10px rgb(0 0 0 / 28%); }
.bc-photo-hero-copy p { margin: 0; color: #f2f5f1; font: 400 18px/1.45 var(--font-display); text-shadow: 0 1px 7px rgb(0 0 0 / 30%); }
.bc-photo-hero .bc-hero-action { align-self: center; min-width: 150px; background: #fff; color: #193b32; }
.bc-photo-hero .bc-hero-action:hover { background: #f4f1e8; }
.bc-photo-hero .bc-hero-collapse { position: absolute; top: 10px; right: 10px; color: #fff; background: rgb(14 31 26 / 44%); }
.bc-hero-collapsed .MuiCardActionArea-root { padding: 14px 18px; }
.bc-status-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.bc-status-card, .bc-dashboard-middle > .MuiCard-root, .bc-dashboard-bottom > .MuiCard-root { min-width: 0; }
.bc-status-card .MuiCardActionArea-root { height: 100%; }
.bc-status-card .MuiCardContent-root { min-height: 184px; padding: 17px; }
.bc-status-icon, .bc-metric-icon, .bc-settings-icon { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: #f0f1ec; color: #355a4e; }
.bc-card-label { margin-bottom: 7px !important; color: #596660; font-size: 13px !important; font-weight: 800 !important; letter-spacing: .045em !important; text-transform: uppercase; }
.bc-card-link { min-height: 44px; margin-top: 8px !important; display: flex; align-items: center; gap: 6px; color: #315f51; font-size: 14px !important; font-weight: 750 !important; }
.bc-dashboard-middle { display: grid; grid-template-columns: minmax(320px,.82fr) minmax(0,1.4fr); gap: 12px; }
.bc-dashboard-bottom { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.bc-dashboard-card { min-height: 100%; padding: 20px !important; }
.bc-update-overview { min-height: 190px; display: flex; align-items: center; justify-content: center; gap: 30px; padding: 18px 0 8px; }
.bc-donut { width: 146px; height: 146px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; }
.bc-donut::before { content: ""; grid-area: 1 / 1; width: 94px; height: 94px; border-radius: 50%; background: #fff; }
.bc-donut > span { z-index: 1; grid-area: 1 / 1; display: grid; justify-items: center; text-align: center; }
.bc-donut strong { font: 600 31px/1 var(--font-display); }
.bc-donut small { max-width: 70px; margin-top: 6px; color: #56635e; font-size: 13px; line-height: 1.25; }
.bc-update-legend { display: grid; gap: 12px; }
.bc-update-legend span { display: grid; grid-template-columns: 9px 24px auto; align-items: center; gap: 8px; font-size: 14px; }
.bc-update-legend i { width: 9px; height: 9px; border-radius: 50%; background: #a58e62; }
.bc-update-legend i.approved { background: #55705d; }.bc-update-legend i.deferred { background: #d6c093; }.bc-update-legend i.rejected { background: #a75844; }
.bc-timeline { margin-top: 10px; }
.bc-timeline-row { min-height: 66px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 12px; border-top: 1px solid #eceeea; }
.bc-timeline-row > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #f1f2ee; color: #61706a; }
.bc-timeline-row > span.current { background: #e6f0eb; color: #2f6a56; }
.bc-timeline-row > div:last-child { text-align: right; }
.bc-compact-list { margin-top: 10px; }
.bc-compact-list > button { min-height: 69px; width: 100%; display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 12px; border: 0; border-top: 1px solid #eceeea; padding: 9px 0; background: transparent; text-align: left; cursor: pointer; }
.bc-compact-list > button:hover { background: #fafbf9; }
.bc-compact-list time { width: 44px; height: 48px; display: grid; place-items: center; align-content: center; border: 1px solid #dde2dd; border-radius: 8px; }
.bc-compact-list time strong { color: #5f6964; font-size: 12px; letter-spacing: .055em; }.bc-compact-list time span { font: 600 19px/1 var(--font-display); }
.bc-compact-list > button > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.bc-compact-list > button > span:nth-child(2) strong, .bc-compact-list > button > span:nth-child(2) small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-compact-list > button > span:nth-child(2) small { color: #66736e; }
.bc-analytics-empty { min-height: 170px; display: grid; place-content: center; justify-items: center; gap: 7px; padding: 18px; color: #52665f; text-align: center; }
.bc-analytics-empty p:last-child { max-width: 310px; }
.bc-published-list { min-height: 202px; margin-top: 10px; }
.bc-published-list > div { min-height: 64px; display: grid; grid-template-columns: 9px minmax(0,1fr); align-items: center; gap: 11px; border-top: 1px solid #eceeea; }
.bc-published-list > div > span { width: 8px; height: 8px; border-radius: 50%; background: #59785f; }
.bc-all-clear { min-height: 54px; display: flex; align-items: center; gap: 11px; padding: 7px 14px; border-radius: 10px; background: #f0f2ed; color: #37554c; }
.bc-all-clear p { margin: 0; }.bc-all-clear button { margin-left: auto; }.bc-all-clear.attention { background: #fff4dd; color: #714e18; }

@container (max-width: 1050px) {
  .bc-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bc-status-card .MuiCardContent-root { min-height: 154px; }
}

.bc-report-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.bc-report-metrics .MuiCardContent-root { padding: 20px; }
.bc-report-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.bc-report-card { min-height: 330px; padding: 24px !important; }
.bc-review-breakdown { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.bc-review-breakdown span { display: grid; grid-template-columns: 30px 1fr; align-items: center; min-height: 48px; padding: 8px 11px; border-radius: 8px; background: #f5f6f3; color: #596660; font-size: 14px; }
.bc-review-breakdown strong { color: #23483e; font-size: 18px; }
.bc-empty-analytics { min-height: 190px; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; }
.bc-empty-analytics p:last-child { max-width: 440px; }
.bc-settings { max-width: 1050px !important; }
.bc-settings-card { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 18px; padding: 24px !important; }
.bc-settings-copy { min-width: 0; }
.bc-settings-copy .MuiFormControlLabel-root { min-height: 58px; align-items: center; margin: 0; }
.bc-settings-copy .MuiFormControlLabel-label { flex: 1; }
.bc-settings-copy .MuiFormControlLabel-label > span { display: grid; gap: 2px; }
.bc-settings-copy .MuiFormControlLabel-label strong { font-size: 15px; }
.bc-settings-copy .MuiFormControlLabel-label small { color: #65716d; font-size: 13px; line-height: 1.45; }

@media (max-width: 1180px) {
  .bc-status-grid, .bc-report-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bc-dashboard-bottom { grid-template-columns: 1fr 1fr; }
  .bc-dashboard-bottom > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .bc-workspace-canvas { padding: 12px; }
  .bc-workspace-canvas > .page { min-height: calc(100vh - 96px); padding: 22px; }
  .allow-wide:has(.website-page) { padding: 12px; }
  .allow-wide .page.website-page { min-height: calc(100vh - 96px); padding: 22px; }
  .bc-dashboard-middle, .bc-report-columns { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .bc-search-shortcut { display: none; }
  .bc-workspace-canvas { padding: 0; }
  .bc-workspace-canvas > .page { min-height: calc(100vh - 72px); padding: 16px; border: 0; border-radius: 0; box-shadow: none; }
  .allow-wide:has(.website-page) { padding: 0; }
  .allow-wide .page.website-page { min-height: calc(100vh - 72px); padding: 16px; border: 0; border-radius: 0; box-shadow: none; }
  .bc-photo-hero { min-height: 270px; align-items: flex-start; flex-direction: column; padding: 28px 22px 22px; background-position: 58% bottom; }
  .bc-photo-hero .bc-hero-action { align-self: flex-start; }
  .bc-status-grid, .bc-dashboard-bottom, .bc-report-metrics { grid-template-columns: 1fr; }
  .bc-dashboard-bottom > :last-child { grid-column: auto; }
  .bc-status-card .MuiCardContent-root { min-height: 0; }
  .bc-update-overview { align-items: flex-start; flex-direction: column; }
  .bc-donut { align-self: center; }
  .bc-timeline-row { grid-template-columns: 36px minmax(0,1fr); padding: 10px 0; }
  .bc-timeline-row > div:last-child { grid-column: 2; display: flex; gap: 8px; text-align: left; }
  .bc-compact-list > button { grid-template-columns: 48px minmax(0,1fr); }
  .bc-compact-list .MuiChip-root { grid-column: 2; justify-self: start; }
  .bc-all-clear { align-items: flex-start; flex-wrap: wrap; padding: 12px; }.bc-all-clear button { width: 100%; margin-left: 0; }
  .bc-settings-card { grid-template-columns: 1fr; }
  .bc-settings-copy > .MuiStack-root:first-child { flex-direction: column; }
}

/* Civic theme compositions. Saved theme IDs remain compatible with V1. */
.theme-subnav { display: none; }
.page-hero { position: relative; overflow: hidden; padding: 76px 0; background: var(--site-dark); color: #fff; }
.page-hero-grid { min-height: 250px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: center; gap: 64px; }
.page-hero h1 { max-width: 780px; margin: 12px 0 20px; color: #fff; font: 650 clamp(44px, 6vw, 76px)/1 var(--font-display); letter-spacing: -.045em; }
.page-hero p:last-child { max-width: 720px; margin: 0; color: rgb(255 255 255 / 82%); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.page-hero img { width: 100%; height: 260px; display: block; border: 8px solid rgb(255 255 255 / 14%); object-fit: cover; box-shadow: 0 24px 55px rgb(0 0 0 / 24%); }
.document-library { background: #f8faf9; }
.document-library-list { margin-top: 34px; border-top: 1px solid var(--site-line); }
.document-library-list article { min-height: 128px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--site-line); }
.document-library-list article > svg, .document-library-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; padding: 12px; background: color-mix(in srgb, var(--site-green) 12%, #fff); color: var(--site-green); }
.document-library-list article > div > span { color: #66746f; font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .045em; }
.document-library-list h3 { margin: 5px 0; color: var(--site-dark); font: 650 21px/1.25 var(--font-display); }
.document-library-list p { margin: 0; color: #5c6b65; }
.document-accessibility { display: block; margin-top: 8px; color: #765f35; font-size: 13px; font-weight: 750; }
.accessibility-verified { color: #2b6857 !important; }
.document-library-list article > a { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; color: var(--site-green); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.site-hero { position: relative; isolation: isolate; }
.site-hero.has-image::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.site-hero .hero-grid { position: relative; z-index: 2; }
.hero-source-image { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.stats-intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(260px, .75fr); align-items: end; gap: 48px; }
.stats-intro > p { margin: 0; color: #5d6b66; font-size: 16px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; margin-top: 44px; background: var(--site-line); border: 1px solid var(--site-line); }
.stats-grid article { min-height: 210px; padding: 34px; background: #fff; }
.stats-grid article > strong { display: block; color: var(--site-green); font: 650 clamp(44px, 5vw, 68px)/1 var(--font-display); letter-spacing: -.05em; }
.stats-grid h3 { margin: 16px 0 8px; font-size: 16px; }
.stats-grid p { margin: 0; color: #65716d; }
.newsroom-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 38px; }
.newsroom-grid article { min-width: 0; background: #fff; border: 1px solid var(--site-line); }
.newsroom-art { min-height: 170px; display: grid; place-items: center; background: linear-gradient(135deg, var(--site-dark), var(--site-green)); color: rgb(255 255 255 / 72%); }
.newsroom-art svg { width: 42px; height: 42px; }
.newsroom-art.has-image { display: block; overflow: hidden; }
.newsroom-art.has-image img { width: 100%; height: 100%; min-height: 170px; display: block; object-fit: cover; }
.newsroom-grid article > div:last-child { padding: 26px; }
.newsroom-grid article span { color: #7a6652; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.newsroom-grid h3 { margin: 9px 0; color: #233d35; font: 650 22px/1.2 var(--font-display); }
.newsroom-grid p { color: #596962; }
.newsroom-grid a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: var(--site-green); font-weight: 800; }

/* CityGov Modern: floating dual-level header, split photographic hero, overlapping service deck. */
.public-site.theme-modern, .site-theme-root.theme-modern { background: #fff; }
.theme-modern .public-header { min-height: 100px; background: #fff; }
.theme-modern .public-header > .site-shell { width: min(1060px, calc(100% - 56px)); }
.theme-modern .town-brand { min-height: 100px; padding: 14px 22px; background: #f2502d; color: #111; }
.theme-modern .town-brand strong { font-size: 18px; }
.theme-modern .brand-logo { width: 54px; height: 54px; padding: 5px; background: #fff; }
.theme-modern .search-button { border: 0; border-radius: 0; background: #f6c836; color: #161616; padding-inline: 22px; text-transform: uppercase; }
.theme-modern .theme-subnav { display: block; background: #fff; border-top: 1px solid #ececec; border-bottom: 1px solid #e6e6e6; }
.theme-modern .theme-subnav .site-shell { min-height: 48px; display: flex; align-items: center; gap: 34px; }
.theme-modern .theme-subnav a { min-height: 44px; display: inline-flex; align-items: center; color: #222; font-size: 13px; font-weight: 750; }
.theme-modern .site-hero { min-height: 710px; background: #303030; overflow: visible; }
.theme-modern .hero-source-image { left: 45%; width: 55%; object-position: center bottom; }
.theme-modern .site-hero.has-image::after { background: linear-gradient(90deg, #303030 0 45%, transparent 45% 100%); }
.theme-modern .hero-grid { min-height: 600px; grid-template-columns: minmax(0, 390px) 1fr; align-items: center; padding-top: 70px; padding-bottom: 145px; }
.theme-modern .hero-grid > div:first-child { position: relative; z-index: 1; }
.theme-modern .site-hero h1 { max-width: 400px; color: #fff; font: 750 clamp(42px, 5vw, 67px)/.98 "Avenir Next", Avenir, sans-serif; letter-spacing: -.045em; }
.theme-modern .hero-lede { max-width: 360px; color: #fff; font: 450 18px/1.55 "Avenir Next", Avenir, sans-serif; }
.theme-modern .hero-logo, .theme-modern .civic-seal { display: none; }
.theme-modern .service-directory { position: relative; z-index: 1; margin-top: -180px; padding: 0 0 82px; background: transparent; }
.theme-modern .service-directory .section-heading { display: none; }
.theme-modern .service-directory .site-shell { width: min(1060px, calc(100% - 56px)); }
.theme-modern .service-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid #ddd; box-shadow: 0 24px 58px rgb(0 0 0 / 18%); }
.theme-modern .service-card-grid > a { min-height: 190px; display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 14px; border: 0; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd; padding: 30px; background: #f7f7f7; color: #151515; }
.theme-modern .service-card-grid > a:nth-child(even) { background: #fff; }
.theme-modern .service-card-grid > a:nth-child(3n) { border-right: 0; }
.theme-modern .service-card-icon { grid-column: 1 / -1; width: 52px; height: 52px; border-radius: 0; background: transparent; color: #171717; }
.theme-modern .service-card-grid strong { color: #171717; font-size: 17px; }
.theme-modern .service-card-grid small { color: #5d6264; }
.theme-modern .civic-stats { background: #f5f3ed; }
.theme-modern .stats-grid article { background: #f5f3ed; }
.theme-modern .civic-dashboard { background: #fff; }
.theme-modern .dashboard-columns { border-radius: 0; box-shadow: none; }
.theme-modern .newsroom { background: #f5f3ed; }
.theme-modern .newsroom-grid article { border: 0; box-shadow: 0 10px 30px rgb(24 31 34 / 9%); }
.theme-modern .page-hero { background: linear-gradient(90deg, #303030 0 64%, #f2502d 64%); }
.theme-modern .page-hero h1 { font-family: "Avenir Next", Avenir, sans-serif; font-weight: 780; }
.theme-modern .page-hero img { border: 0; box-shadow: 22px 22px 0 #f6c836; }

/* CityGov Old Town: heritage masthead, photographic stage, offset editorial card, service ribbons. */
.public-site.theme-old-town, .site-theme-root.theme-old-town { background: #f5f0e8; }
.theme-old-town .public-header { min-height: 104px; background: linear-gradient(180deg, #536f94 0%, #455f83 48%, #354f73 100%); border: 0; box-shadow: inset 0 1px rgb(255 255 255 / 12%), inset 0 -1px rgb(19 37 58 / 35%); }
.theme-old-town .public-header > .site-shell { width: min(1200px, 100%); }
.theme-old-town .town-brand { align-self: stretch; min-width: 270px; padding: 14px 30px; background: #233a32; }
.theme-old-town .town-brand strong, .theme-old-town .town-brand small { color: #fff; }
.theme-old-town .brand-logo { position: relative; z-index: 3; width: 120px; height: 92px; margin-block: -8px; transform: translateY(8px); filter: drop-shadow(0 3px 5px rgb(0 0 0 / 22%)); }
.theme-old-town .town-brand.logo-only { position: relative; z-index: 5; align-self: stretch; min-width: 250px; padding: 0 28px; overflow: visible; background: transparent; }
.theme-old-town .town-brand.logo-only .brand-logo { position: absolute; z-index: 6; top: 50%; left: 28px; width: 200px; height: 133px; margin: 0; object-fit: contain; transform: translateY(-50%); filter: drop-shadow(0 5px 8px rgb(0 0 0 / 24%)); }
.theme-old-town .public-header nav { margin-left: 34px; color: #fff; text-shadow: 0 1px 1px rgb(16 30 46 / 42%); }
.theme-old-town .site-search-form { margin-right: 28px; }
.theme-old-town .site-search-form input { border-color: rgb(255 255 255 / 58%); border-radius: 999px 0 0 999px; background: rgb(255 255 255 / 96%); }
.theme-old-town .search-button { border: 0; border-radius: 0 999px 999px 0; background: #e3e9ec; color: #29425b; }
.theme-old-town .theme-subnav { display: block; background: #e7dfd2; }
.theme-old-town .theme-subnav .site-shell { min-height: 50px; display: flex; align-items: center; gap: 34px; }
.theme-old-town .theme-subnav a { min-height: 44px; display: inline-flex; align-items: center; color: #3a3028; font-size: 13px; font-weight: 750; }
.theme-old-town .site-hero { min-height: 660px; background: #b8c8c9; overflow: visible; }
.theme-old-town .hero-source-image { object-position: center bottom; filter: saturate(.72) contrast(1.05); }
.theme-old-town .site-hero.has-image::after { background: linear-gradient(180deg, rgb(20 31 28 / 8%), rgb(20 31 28 / 24%)); }
.theme-old-town .hero-grid { min-height: 660px; display: flex; justify-content: flex-end; align-items: flex-end; padding: 0; }
.theme-old-town .hero-grid > div:first-child { width: min(650px, 62%); margin-bottom: -118px; padding: 54px 58px 62px; background: #fff; color: #201e1a; box-shadow: 0 20px 50px rgb(28 25 21 / 12%); }
.theme-old-town .site-hero h1 { max-width: 590px; color: #1e1d19; font: 650 clamp(48px, 6vw, 78px)/.96 var(--font-display); letter-spacing: -.055em; }
.theme-old-town .hero-lede { color: #3d3933; }
.theme-old-town .site-hero .site-kicker { color: #897662; }
.theme-old-town .site-hero .site-button.light { background: #233a32; color: #fff; }
.theme-old-town .site-hero .site-text-link { color: #543c2f; border-color: #8c7668; }
.theme-old-town .hero-logo, .theme-old-town .civic-seal { display: none; }
.theme-old-town .notice-strip { position: relative; z-index: 3; }
.theme-old-town .service-directory { padding: 185px 0 0; background: #f5f0e8; }
.theme-old-town .service-directory .section-heading { display: none; }
.theme-old-town .service-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.theme-old-town .service-card-grid > a { min-height: 250px; display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 18px; border: 0; border-radius: 0; padding: 38px 32px; color: #fff; box-shadow: none; }
.theme-old-town .service-card-grid > a:nth-child(6n+1) { background: #b7c8c9; color: #203233; }
.theme-old-town .service-card-grid > a:nth-child(6n+2) { background: #d4c6b8; color: #392d28; }
.theme-old-town .service-card-grid > a:nth-child(6n+3) { background: #bd9f93; color: #30201c; }
.theme-old-town .service-card-grid > a:nth-child(6n+4) { background: #e27c68; }
.theme-old-town .service-card-grid > a:nth-child(6n+5) { background: #788d80; }
.theme-old-town .service-card-grid > a:nth-child(6n) { background: #283c34; }
.theme-old-town .service-card-icon { grid-column: 1 / -1; width: 56px; height: 56px; border-radius: 0; background: transparent; color: currentColor; }
.theme-old-town .service-card-grid strong { color: currentColor; font: 650 20px/1.1 var(--font-display); }
.theme-old-town .service-card-grid small { color: currentColor; opacity: .84; }
.theme-old-town .community-message.paper { padding-block: 120px; background: #fff; }
.theme-old-town .community-message.paper::before { display: none; }
.theme-old-town .message-grid { grid-template-columns: minmax(220px, .75fr) minmax(0, 1.15fr); }
.theme-old-town .message-mark { width: 100%; min-height: 330px; border-radius: 0; background: linear-gradient(145deg, #243a32, #728679); color: #fff; }
.theme-old-town .message-mark.has-image { overflow: hidden; border: 0; background: #42584d; opacity: 1; }
.theme-old-town .message-mark.has-image img { width: 100%; height: 100%; min-height: 330px; display: block; object-fit: cover; }
.theme-old-town .community-message blockquote { font: 450 21px/1.75 var(--font-display); }
.theme-old-town .civic-stats { background: #e8dfd3; }
.theme-old-town .stats-grid article { background: #e8dfd3; }
.theme-old-town .quick-links-section { background: #fff; }
.theme-old-town .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid #d9cbbb; }
.theme-old-town .quick-grid a { min-height: 132px; border: 0; border-bottom: 1px solid #d9cbbb; border-radius: 0; box-shadow: none; font: 650 18px var(--font-display); }
.theme-old-town .newsroom { background: #f5f0e8; }
.theme-old-town .newsroom-grid article { border: 0; }
.theme-old-town .newsroom-art { min-height: 220px; background: linear-gradient(145deg, #41584c, #a89277); }
.theme-old-town .page-hero { padding-block: 94px; background: #e8dfd3; color: #251f1a; }
.theme-old-town .page-hero .site-kicker { color: #806b57; }
.theme-old-town .page-hero h1 { color: #251f1a; }
.theme-old-town .page-hero p:last-child { color: #544b42; }
.theme-old-town .page-hero img { height: 300px; border: 0; box-shadow: 24px 24px 0 #bd9f93; filter: saturate(.78); }

/* TownPress: licensed three-column portal pattern from the supplied theme package. */
.public-site.theme-townpress, .site-theme-root.theme-townpress { background: #e7e8e8; color: #3e4547; }
.theme-townpress .site-shell { width: min(1280px, calc(100% - 48px)); }
.theme-townpress .public-utility { position: relative; z-index: 4; }
.theme-townpress .public-header { min-height: 190px; background-color: #57696b; background-image: linear-gradient(90deg, rgb(22 40 43 / 25%), rgb(22 40 43 / 6%)), var(--town-image); background-position: center; background-size: cover; }
.theme-townpress .public-header > .site-shell { align-items: flex-start; padding-top: 26px; }
.theme-townpress .town-brand { padding: 14px 18px; background: rgb(255 255 255 / 94%); box-shadow: 0 8px 25px rgb(0 0 0 / 18%); }
.theme-townpress .town-brand strong { color: #25343a; font-size: 20px; }
.theme-townpress .town-brand small { color: #6a7476; }
.theme-townpress .brand-logo { width: 76px; height: 76px; }
.theme-townpress .public-header nav { padding: 8px 12px; background: rgb(255 255 255 / 94%); color: #25343a; }
.theme-townpress .site-search-form { margin-left: 10px; }
.theme-townpress .search-button { border: 0; border-radius: 0; background: #e9553d; color: #fff; }
.theme-townpress .site-hero { min-height: 0; margin-top: -48px; background: transparent; overflow: visible; }
.theme-townpress .site-hero.has-image::before, .theme-townpress .site-hero.has-image::after { display: none; }
.theme-townpress .hero-source-image { display: none; }
.theme-townpress .hero-grid { min-height: 0; display: block; padding: 0; }
.theme-townpress .hero-grid > div:first-child { width: min(640px, 62%); margin-left: 285px; padding: 28px 34px; background: rgb(20 25 27 / 88%); color: #fff; box-shadow: 0 14px 32px rgb(0 0 0 / 22%); }
.theme-townpress .site-hero .site-kicker, .theme-townpress .site-hero .hero-actions, .theme-townpress .hero-logo, .theme-townpress .civic-seal { display: none; }
.theme-townpress .site-hero h1 { color: #fff; font: 750 clamp(26px, 3vw, 39px)/1.05 "Avenir Next", Avenir, sans-serif; }
.theme-townpress .hero-lede { margin-top: 8px; color: #fff; font: italic 400 20px/1.4 "Avenir Next", Avenir, sans-serif; }
.theme-townpress .page-hero { margin-top: -48px; padding: 38px 0; background: transparent; }
.theme-townpress .page-hero-grid { min-height: 210px; padding: 34px; background: #fff; box-shadow: 0 4px 20px rgb(0 0 0 / 12%); }
.theme-townpress .page-hero h1 { color: #293438; font: 750 clamp(34px, 5vw, 54px)/1.05 "Avenir Next", Avenir, sans-serif; }
.theme-townpress .page-hero .site-kicker { color: #e9553d; }
.theme-townpress .page-hero p:last-child { color: #5b676a; }
.theme-townpress .page-hero img { height: 210px; border: 0; box-shadow: none; }
.townpress-portal { padding: 28px 0 70px; background: linear-gradient(rgb(237 239 239 / 94%), rgb(226 228 228 / 98%)); }
.townpress-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr) 270px; align-items: start; gap: 28px; }
.townpress-left, .townpress-center, .townpress-right { min-width: 0; display: grid; gap: 24px; }
.townpress-left nav { display: grid; background: #e9553d; color: #fff; }
.townpress-left nav > * { min-height: 48px; display: flex; align-items: center; padding: 10px 20px; border-bottom: 1px solid rgb(255 255 255 / 18%); color: #fff; text-transform: uppercase; font-size: 13px; font-weight: 750; }
.townpress-left nav strong { background: rgb(0 0 0 / 8%); }
.townpress-weather { min-height: 170px; display: flex; align-items: flex-start; gap: 14px; padding: 24px; background: linear-gradient(145deg, #3c4b52, #17252b); color: #fff; }
.townpress-weather div { display: grid; gap: 8px; }
.townpress-weather span { color: rgb(255 255 255 / 72%); font-size: 13px; }
.townpress-gallery { padding: 0; overflow: hidden; }
.townpress-gallery > h3 { margin: 0; padding: 18px 20px 13px; }
.townpress-gallery-art { min-height: 176px; display: grid; place-items: center; background: linear-gradient(145deg, #70858a, #263b43); color: #fff; }
.townpress-gallery-art.has-image { display: block; }
.townpress-gallery-art img { width: 100%; height: 176px; display: block; object-fit: cover; }
.townpress-gallery > h4, .townpress-gallery > p, .townpress-gallery > a { margin-inline: 20px; }
.townpress-gallery > h4 { margin-top: 18px; margin-bottom: 7px; color: #e9553d; font-size: 16px; }
.townpress-gallery > p { margin-top: 0; color: #687376; font-size: 13px; }
.townpress-gallery > a { min-height: 44px; display: inline-flex; align-items: center; margin-bottom: 12px; color: #e9553d; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.townpress-welcome { padding: 0 6px; }
.townpress-welcome h2 { color: #293438 !important; font: 750 clamp(29px, 4vw, 43px)/1.08 "Avenir Next", Avenir, sans-serif !important; }
.townpress-welcome p { margin-bottom: 0; color: #596568; }
.townpress-panel { padding: 25px; background: #fff; box-shadow: 0 2px 2px rgb(0 0 0 / 5%); }
.townpress-panel > h3 { min-height: 44px; display: flex; align-items: center; gap: 10px; margin: -6px 0 20px; padding-bottom: 14px; border-bottom: 1px solid #e4e7e7; color: #303b3f; font-size: 16px; text-transform: uppercase; }
.townpress-panel > h3 svg { color: #e9553d; }
.townpress-interests > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; }
.townpress-interest-group { min-width: 0; }
.townpress-interest-group h4 { margin: 0 0 5px; color: #303b3f; font-size: 14px; text-transform: uppercase; }
.townpress-interest-group a { min-height: 44px; display: flex; align-items: center; color: #e9553d; font-size: 14px; }
.townpress-feature { display: grid; grid-template-columns: minmax(170px, .8fr) minmax(0, 1.2fr); gap: 24px; }
.townpress-feature-art { min-height: 220px; display: grid; place-items: center; background: linear-gradient(145deg, #71858a, #293c43); color: #fff; }
.townpress-feature-art svg { width: 46px; height: 46px; }
.townpress-feature-art.has-image { display: block; overflow: hidden; }
.townpress-feature-art.has-image img { width: 100%; height: 100%; min-height: 220px; display: block; object-fit: cover; }
.townpress-feature span { color: #e9553d; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.townpress-feature h4 { margin: 8px 0; color: #e9553d; font-size: 22px; }
.townpress-feature p { color: #657074; }
.townpress-feature a, .townpress-right a { min-height: 44px; display: inline-flex; align-items: center; gap: 5px; color: #e9553d; font-weight: 800; }
.townpress-news-index { margin-top: 24px; border-top: 1px solid #e2e5e5; }
.townpress-news-index a { min-height: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; border-bottom: 1px solid #e2e5e5; color: #e9553d; font-size: 13px; font-weight: 750; }
.townpress-news-index time { color: #7d8688; font-size: 12px; font-weight: 500; text-align: right; }
.townpress-right .townpress-panel article { padding: 13px 0; border-top: 1px solid #eaeded; }
.townpress-right .townpress-panel article:first-of-type { border-top: 0; }
.townpress-right article strong { color: #e9553d; font-size: 14px; }
.townpress-right article p, .townpress-right .townpress-panel > p { margin: 5px 0 0; color: #687376; font-size: 13px; }
.townpress-places article { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: start; }
.townpress-places article > svg, .townpress-places article > span:first-child { width: 42px; height: 42px; display: grid; place-items: center; padding: 10px; background: #edf0f1; color: #e9553d; }
.townpress-places article div { min-width: 0; }
.theme-townpress .event-calendar { background: #263b48; color: #fff; }
.theme-townpress .event-calendar h2, .theme-townpress .event-calendar .site-kicker, .theme-townpress .event-calendar .section-heading > p { color: #fff; }
.theme-townpress .event-calendar-grid { background: transparent; }
.theme-townpress .public-event { background: #fff; color: #303b3f; }
.theme-townpress .site-section.blue { background: #fff; }
.theme-townpress .municipal-contact { background: #e9553d; }
.theme-townpress .public-footer { padding-top: 70px; background: linear-gradient(rgb(24 31 34 / 95%), rgb(24 31 34 / 95%)), var(--town-image); background-position: center; background-size: cover; }

@media (min-width: 1001px) {
  .theme-old-town.has-masthead-logo .public-utility .site-shell,
  .theme-old-town.has-masthead-logo .theme-subnav .site-shell { padding-left: 250px; }
}

.public-site:not(.compact) .site-text-link,
.public-site:not(.compact) .notice-inner a,
.site-theme-root .site-text-link,
.site-theme-root .notice-inner a { min-height: 44px; display: inline-flex; align-items: center; }

@media (max-width: 1000px) {
  .site-kit-grid { grid-template-columns: 1fr; }
  .navigation-list article { grid-template-columns: 1fr; }
  .navigation-controls { justify-content: flex-start; padding: 0 12px 10px 50px; flex-wrap: wrap; }
  .theme-modern .service-card-grid, .theme-old-town .service-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-modern .service-card-grid > a:nth-child(3n) { border-right: 1px solid #ddd; }
  .theme-modern .service-card-grid > a:nth-child(even) { border-right: 0; }
  .theme-old-town .town-brand { min-width: 250px; }
  .theme-old-town .town-brand.logo-only { min-width: 220px; }
  .townpress-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .townpress-right { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-kits > header, .compliance-center > header { align-items: flex-start; padding: 18px; }
  .site-kit-grid { padding: 16px; }
  .compliance-issues article { grid-template-columns: 28px minmax(0, 1fr); padding-inline: 16px; }
  .compliance-issues article .button { grid-column: 2; justify-self: start; }
  .navigation-controls { padding-left: 12px; }
  .navigation-controls label { flex: 1 1 130px; }
  .navigation-controls input, .navigation-controls select { width: 100%; }
  .stats-intro, .newsroom-grid { grid-template-columns: 1fr; }
  .theme-subnav { display: none !important; }
  .theme-modern .town-brand, .theme-old-town .town-brand { min-width: 0; min-height: 70px; padding: 8px 12px; background: transparent; }
  .theme-modern .town-brand strong, .theme-modern .town-brand small { color: #21323a; }
  .theme-old-town .town-brand strong, .theme-old-town .town-brand small { color: #3f3029; }
  .public-site.theme-old-town:not(.compact) .town-brand small, .site-theme-root.theme-old-town .town-brand small { color: #3f3029; }
  .theme-old-town .brand-logo { width: 84px; height: 60px; margin-block: 0; transform: none; }
  .theme-old-town .town-brand.logo-only { position: relative; align-self: center; min-width: 125px; min-height: 70px; padding: 0 8px; }
  .theme-old-town .town-brand.logo-only .brand-logo { position: relative; top: auto; left: auto; width: 112px; height: 75px; margin: -3px 0; transform: none; }
  .theme-modern .site-hero, .theme-old-town .site-hero { min-height: 560px; }
  .theme-modern .hero-source-image { left: 0; width: 100%; opacity: .34; }
  .theme-modern .site-hero.has-image::after { background: rgb(37 39 39 / 78%); }
  .theme-modern .hero-grid { min-height: 560px; display: flex; padding: 70px 0 145px; }
  .theme-modern .service-directory { margin-top: -120px; }
  .theme-modern .service-card-grid, .theme-old-town .service-card-grid { grid-template-columns: 1fr; }
  .theme-old-town .hero-grid { min-height: 560px; align-items: flex-end; }
  .theme-old-town .hero-grid > div:first-child { width: 100%; margin-bottom: -90px; padding: 34px 28px; }
  .theme-old-town .site-hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .theme-old-town .service-directory { padding-top: 135px; }
  .theme-old-town .message-grid { grid-template-columns: 1fr; }
  .theme-old-town .message-mark { min-height: 210px; }
  .theme-townpress .public-header { min-height: 125px; }
  .theme-townpress .site-hero { margin-top: 0; }
  .theme-townpress .hero-grid > div:first-child { width: 100%; margin-left: 0; }
  .townpress-layout { grid-template-columns: 1fr; }
  .townpress-left nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .townpress-left nav strong { grid-column: 1 / -1; }
  .townpress-interests > div, .townpress-right { grid-template-columns: 1fr; }
  .townpress-right { grid-column: auto; }
  .townpress-feature { grid-template-columns: 1fr; }
}

/* V2 flagship interiors: no homepage overlaps, readable records, shared spacing.
   These selectors are consumed by both the staff canvas and the static publisher. */
:is(.theme-modern,.theme-old-town,.theme-townpress) .page-hero { padding:56px 0; }
:is(.theme-modern,.theme-old-town,.theme-townpress) .page-hero-grid { min-height:180px; gap:44px; }
:is(.theme-modern,.theme-old-town,.theme-townpress) .page-hero:not(.has-image) .page-hero-grid { grid-template-columns:1fr; }
:is(.theme-modern,.theme-old-town,.theme-townpress) .page-hero h1 { font-size:clamp(38px,5vw,64px); line-height:1.08; letter-spacing:-.035em; }
:is(.theme-modern,.theme-old-town,.theme-townpress) .page-hero p:last-child { max-width:64ch; font-size:18px; }
:is(.theme-modern,.theme-old-town,.theme-townpress):has(.page-hero) .service-directory { margin-top:0; padding:48px 0; }
:is(.theme-modern,.theme-old-town,.theme-townpress):has(.page-hero) .service-directory .section-heading { display:block; margin-bottom:28px; }
:is(.theme-modern,.theme-old-town,.theme-townpress) .page-hero img { height:220px; border:0; box-shadow:none; border-radius:8px; }
:is(.theme-modern,.theme-old-town,.theme-townpress) .document-library-list { border:1px solid var(--site-line); border-radius:10px; overflow:hidden; background:#fff; }
:is(.theme-modern,.theme-old-town,.theme-townpress) .document-library-list article { padding:25px; }
:is(.theme-modern,.theme-old-town,.theme-townpress) .document-library-list article:last-child { border-bottom:0; }
:is(.theme-modern,.theme-old-town,.theme-townpress) .document-library-list p { max-width:68ch; }
:is(.theme-modern,.theme-old-town,.theme-townpress) .public-meeting-list li { gap:24px; }
:is(.theme-modern,.theme-old-town,.theme-townpress) .public-footer a { text-underline-offset:4px; }
:is(.theme-modern,.theme-old-town,.theme-townpress) .public-footer a:hover { text-decoration:underline; }
/* Civic Modern: generous, service-led, with a quiet forest-and-lime identity. */
.theme-modern { --site-green:#285e50; --site-dark:#163f38; --site-accent:#d4df9d; --site-line:#dae4dc; --site-paper:#f3f6ef; }
.theme-modern .page-hero { background:#eaf0e4; color:#163f38; border-bottom:1px solid #d5e0cf; }
.theme-modern .page-hero h1,.theme-modern .page-hero .site-kicker { color:#163f38; }
.theme-modern .page-hero p:last-child { color:#4a6153; }
.theme-modern .site-hero { background:#163f38; }
.theme-modern .town-brand { background:#163f38; }
.theme-modern .site-hero.has-image::after { background:linear-gradient(90deg,#163f38 35%,#163f3870); }
.theme-modern .service-card-grid { gap:12px; border:0; background:transparent; box-shadow:none; }
.theme-modern .service-card-grid>a { min-height:180px; padding:28px; border:1px solid #d9e2d6; border-radius:10px; background:#fff; color:#234939; }
.theme-modern .service-card-grid>a:nth-child(n) { border:1px solid #d9e2d6; }
.theme-modern .service-card-grid>a:hover { background:#f0f5e8; transform:translateY(-2px); }
.theme-modern .service-card-grid strong { font-size:17px; }
.theme-modern .service-card-grid small { color:#53695b; }
.theme-modern .municipal-contact { background:#163f38; color:#fff; }
.theme-modern .municipal-contact h2,.theme-modern .municipal-contact a { color:#fff; }
/* Civic Heritage: editorial warmth, framed imagery, and restrained civic detail. */
.theme-old-town { --site-green:#365649; --site-dark:#2d443b; --site-line:#ded7ca; --site-paper:#f7f3eb; }
.theme-old-town .page-hero { background:#f1eadc; border-bottom:1px solid #dcd0bc; }
.theme-old-town .page-hero h1 { color:#342e25; }
.theme-old-town .page-hero .site-kicker { color:#725e3e; }
.theme-old-town .page-hero p:last-child { color:#645d4e; }
.theme-old-town .page-hero img { border-radius:2px; outline:1px solid #cabb9e; outline-offset:7px; }
.theme-old-town:has(.page-hero) .service-card-grid { gap:1px; background:#ddd4c5; border:1px solid #ddd4c5; }
.theme-old-town:has(.page-hero) .service-card-grid>a:nth-child(n) { background:#fffdf8; color:#344a3b; min-height:190px; padding:28px; }
.theme-old-town:has(.page-hero) .service-card-grid>a:hover { background:#f2ecdf; }
.theme-old-town .document-library { background:#f7f3eb; }
.theme-old-town .document-library-list { border-radius:2px; }
.theme-old-town .document-library-list h3 { font-family:var(--font-display); }
/* Community Portal: a compact information hierarchy and calm terracotta accents. */
.theme-townpress { --site-green:#94412d; --site-dark:#253e43; --site-line:#dedfda; --site-paper:#f5f4ef; }
.theme-townpress .page-hero { padding:38px 0; background:#253e43; border-bottom:5px solid #bf7353; }
.theme-townpress .page-hero-grid { min-height:150px; }
.theme-townpress .page-hero h1 { font-family:var(--font-ui); font-size:clamp(36px,4vw,54px); }
.theme-townpress .page-hero .site-kicker { color:#f0bf9e; }
.theme-townpress .service-card-grid { gap:12px; }
.theme-townpress .service-card-grid>a { border-radius:4px; border-color:#d9dcd5; min-height:160px; padding:24px; }
.theme-townpress .townpress-panel { border:1px solid #dfe2da; box-shadow:none; border-radius:5px; }
.theme-townpress .townpress-panel a,.theme-townpress .townpress-feature h4,.theme-townpress .townpress-right article strong { color:#94412d; }
.theme-townpress .townpress-panel>h3 { font-size:14px; letter-spacing:.035em; }
.theme-townpress .municipal-contact { background:#94412d; }
@media(max-width:800px) {
  :is(.theme-modern,.theme-old-town,.theme-townpress) .page-hero { padding:34px 0; }
  :is(.theme-modern,.theme-old-town,.theme-townpress) .page-hero-grid { grid-template-columns:1fr; min-height:0; gap:28px; }
  :is(.theme-modern,.theme-old-town,.theme-townpress) .page-hero h1 { font-size:38px; overflow-wrap:anywhere; }
  :is(.theme-modern,.theme-old-town,.theme-townpress) .page-hero p:last-child { font-size:17px; }
  :is(.theme-modern,.theme-old-town,.theme-townpress):has(.page-hero) .service-directory { padding:34px 0; }
  :is(.theme-modern,.theme-old-town,.theme-townpress) .document-library-list article { grid-template-columns:40px minmax(0,1fr); gap:15px; padding:20px; }
  :is(.theme-modern,.theme-old-town,.theme-townpress) .document-library-list article>a { grid-column:2; justify-self:start; }
  :is(.theme-modern,.theme-old-town,.theme-townpress) .document-library-list h3 { overflow-wrap:anywhere; }
  .theme-modern .town-brand { background:transparent; }
  .theme-modern .site-hero.has-image::after { background:#163f38cc; }
}
@media(prefers-reduced-motion:reduce) { .theme-modern .service-card-grid>a:hover { transform:none; } }
@media(min-width:801px) {
  .theme-modern .town-brand strong,.theme-modern .town-brand small { color:#fff; }
}
.theme-modern .search-button { background:#d4df9d; color:#163f38; }

/* Saved navigation, including custom and child routes, in every public family. */
.public-header .site-nav-group { position:relative; text-transform:none; letter-spacing:normal; }
.public-header .site-nav-group summary { list-style:none; min-height:44px; display:flex; align-items:center; gap:7px; cursor:pointer; padding:4px 0; font:inherit; }
.public-header .site-nav-group summary::-webkit-details-marker { display:none; }
.public-header .site-nav-group summary::marker { content:""; }
.public-header .site-nav-group[open]>summary,.public-header .site-nav-group .contains-current,.public-header nav>a[aria-current=page] { text-decoration:underline; text-underline-offset:7px; }
.public-header .site-nav-dropdown { position:absolute; right:0; top:100%; z-index:35; display:grid; width:260px; max-height:65vh; overflow:auto; padding:8px; border:1px solid #d7e1d8; border-radius:10px; background:#fff; box-shadow:0 15px 35px #123a3324; color:#24463b; text-shadow:none; }
.public-header .site-nav-dropdown a { display:flex; align-items:center; min-height:44px; padding:10px 12px; border-radius:6px; color:#24463b; line-height:1.4; overflow-wrap:anywhere; font-size:14px; letter-spacing:normal; text-transform:none; }
.public-header .site-nav-dropdown a.nav-child { padding-left:27px; color:#546c5a; font-weight:450; }
.public-header .site-nav-dropdown a:hover,.public-header .site-nav-dropdown a:focus-visible { background:#eef3e9; }
.public-header .site-nav-group summary:focus-visible { outline:3px solid #d89b36; outline-offset:4px; border-radius:3px; }
.public-header .mobile-site-menu nav { max-height:70vh; overflow:auto; z-index:40; }

/* Resident typography: a readable hierarchy across every theme and preview. */
:is(.public-site, .site-theme-root) .site-kicker { font-weight: 700; letter-spacing: .12em; line-height: 1.6; }
:is(.public-site, .site-theme-root) :is(.public-header nav, .theme-subnav a, .mobile-site-menu summary) { font-weight: 600; }
:is(.public-site, .site-theme-root) :is(.site-button, .search-button, .calendar-link, .contact-grid > a, .newsroom-grid a, .document-library-list article > a, .public-meeting-list a) { font-weight: 600; }
:is(.public-site, .site-theme-root) :is(.message-signature, .newsroom-grid article span, .guide-label, .event-category, .document-accessibility, .site-status, .available) { font-weight: 600; }
:is(.public-site, .site-theme-root) .public-utility.concept .site-shell > span:first-child { font-weight: 600; }
:is(.public-site, .site-theme-root) .public-footer .footer-grid > div:not(:first-child) strong { font-weight: 600; letter-spacing: .07em; line-height: 1.4; }
.theme-old-town .site-hero h1 { font-weight: 500; font-size: clamp(44px, 5.5vw, 72px); line-height: 1.08; letter-spacing: -.035em; }
.theme-old-town .page-hero h1 { font-weight: 500; line-height: 1.12; letter-spacing: -.03em; }
.theme-old-town :is(.site-section h2, .section-heading h2, .public-search-page h1) { font-weight: 500; letter-spacing: -.025em; line-height: 1.25; }
.theme-old-town :is(.service-card-grid strong, .newsroom-grid h3, .document-library-list h3, .guide-grid h3, .public-event h3, .quick-grid a) { font-weight: 500; line-height: 1.35; }
.theme-old-town .stats-grid article > strong { font-weight: 500; letter-spacing: -.035em; }
.theme-old-town .community-message blockquote { font-weight: 400; }
.theme-old-town .site-hero .site-kicker { color: #725e4a; }

/* Preserve readable foregrounds on the heritage service ribbons. */
.theme-old-town .service-card-grid > a:nth-child(6n+4) { color: #35231d; }
.theme-old-town .service-card-grid > a:nth-child(6n+5) { color: #102018; }
:is(.public-site, .site-theme-root).theme-old-town .service-card-grid small { color: inherit; opacity: 1; }
.theme-old-town :is(.stats-intro > p, .stats-grid article > p) { color: #4d574f; }
:is(.public-site, .site-theme-root) .site-status { color: #4f5e57; }
:is(.public-site, .site-theme-root) .document-feature > div:last-child > p { color: #4f625a; }
:is(.public-site, .site-theme-root) .meeting-empty { color: #52625b; }

/* A two-tone keyboard ring remains visible on both light and dark surfaces. */
:is(.public-site, .site-theme-root) :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #112e25; outline-offset: 3px; box-shadow: 0 0 0 6px #fff;
}
:is(.public-site, .site-theme-root) :is(.calendar-link, .notice-inner a, .section-heading a, .meeting-row > a, .project-card a, .site-text-link) { min-height: 44px; }
@media (forced-colors: active) {
  :is(.public-site, .site-theme-root) :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline-color: Highlight; box-shadow: none; }
}

/* Theme overrides must retain contrast in shared light and dark sections. */
:is(.public-site, .site-theme-root) .contact-card :is(small, span) { color: #4f625a; }
:is(.public-site, .site-theme-root) .dashboard-primary > span { color: #725c49; font-weight: 600; }
:is(.public-site, .site-theme-root) .community-message.dark :is(h2, .site-kicker, .message-signature) { color: #f6f3eb; }
:is(.public-site, .site-theme-root) .municipal-contact :is(h2, .site-kicker, .contact-grid small) { color: #fff; }
:is(.theme-modern, .theme-downtown, .theme-community) .municipal-contact :is(h2, .site-kicker, .contact-grid small) { color: #fff; }
.theme-downtown .municipal-contact :is(h2, .site-kicker, .contact-grid small) { color: #1b1c1d; }
:is(.public-site, .site-theme-root).theme-modern .town-brand small { color: #e4ece4; }
@media (max-width: 800px) {
  :is(.public-site, .site-theme-root).theme-modern .town-brand small { color: #355345; }
}
.theme-townpress .townpress-left nav { background: #94412d; }
.theme-townpress .townpress-left nav > strong { background: #7c3425; }
.theme-townpress :is(.townpress-gallery > h4, .townpress-feature span) { color: #94412d; }
.theme-townpress .townpress-news-index time { color: #596568; }
:is(.public-site, .site-theme-root).theme-townpress .event-calendar :is(.site-kicker, .section-heading > p, .calendar-link) { color: #f4f6f4; }
.theme-townpress .public-footer { background: #253e43; }
:is(.public-site, .site-theme-root).theme-community .calendar-link { color: #1e696d; }
:is(.public-site, .site-theme-root).theme-townpress .page-hero .site-kicker { color: #94412d; }
:is(.public-site, .site-theme-root).theme-civic-plain .page-hero .site-kicker { color: #e3ebf4; }
:is(.public-site, .site-theme-root).theme-parkland .municipal-contact :is(h2, .site-kicker, .contact-grid small) { color: #12372f; }

/* Shared record drawers use the same forms from the library and page editor. */
.document-open { display:flex; align-items:center; gap:12px; min-width:0; width:100%; padding:8px 0; border:0; background:transparent; color:#244d41; text-align:left; cursor:pointer; }
.document-copy { display:flex; flex-direction:column; gap:4px; min-width:0; }
.document-open:hover strong { text-decoration:underline; text-underline-offset:3px; }
.document-open:focus-visible,.event-record-button:focus-visible { outline:3px solid #27765d; outline-offset:3px; border-radius:6px; }
.document-detail-layout { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr); gap:24px; }
.document-detail-preview { min-width:0; min-height:380px; padding:12px; background:#eef1ed; border:1px solid #dce3dc; border-radius:10px; }
.document-preview-empty { display:flex; min-height:360px; flex-direction:column; align-items:center; justify-content:center; padding:24px; text-align:center; color:#52635a; }
.document-preview-empty h3 { margin:18px 0 6px; color:#253e33; }
.document-preview-empty p { line-height:1.6; }
.document-detail-sidebar { min-width:0; }
.document-detail-sidebar .document-form,.modal-body .event-form { padding:0; }
.document-detail-sidebar .document-form { gap:18px; }
.document-detail-sidebar dd { margin:4px 0 16px; overflow-wrap:anywhere; color:#4c6357; font-size:14px; }
.document-detail-sidebar dt { font-size:12px; font-weight:600; color:#53665c; }
.record-fields { display:contents; border:0; margin:0; padding:0; }
.record-modal-intro { margin:0 0 16px; color:#53665c; font-size:13px; line-height:1.6; }
.document-detail-preview .pdf-evidence-toolbar { flex-wrap:wrap; }
.event-manager > header { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:20px; }
.event-manager h2 { margin:4px 0 0; font:500 23px/1.3 var(--font-display); }
.event-manager-filters { display:flex; gap:12px; padding:0 20px 18px; }
.event-manager-filters .search-field { flex:1; min-width:0; }
.event-manager-filters input { width:100%; min-width:0; }
.event-manager-filters select { max-width:100%; min-height:40px; border:1px solid #d6dfd8; border-radius:8px; padding:8px; background:#fff; color:#365347; }
.event-record-button { display:flex; align-items:center; gap:16px; width:100%; padding:18px 20px; border:0; border-top:1px solid #e4e9e3; text-align:left; color:#253e33; background:#fff; cursor:pointer; }
.event-record-button:hover { background:#f5f7f1; }
.event-record-button time { display:flex; width:48px; flex:none; flex-direction:column; align-items:center; gap:3px; padding:8px 0; border-radius:8px; background:#edf2e7; }
.event-record-button time strong { font-size:20px; font-weight:600; }
.event-record-button time span { font-size:12px; }
.event-record-copy { display:flex; flex:1; min-width:0; flex-direction:column; gap:6px; }
.event-record-copy > strong { font-size:15px; font-weight:600; overflow-wrap:anywhere; }
.event-record-copy > small { color:#58695f; line-height:1.5; }
.event-manager.compact { margin-top:24px; padding-top:20px; border-top:1px solid #dce3dc; }
.event-manager.compact > header { padding:0 0 14px; align-items:flex-start; flex-wrap:wrap; }
.event-manager.compact h2 { font-size:18px; }
.event-manager.compact .event-manager-filters { flex-direction:column; padding:0 0 12px; }
.event-manager.compact .event-manager-records { max-height:360px; overflow:auto; }
.event-manager.compact .event-record-button { padding:12px 3px; gap:8px; flex-wrap:wrap; }
.event-manager.compact .event-record-copy > strong { font-size:13px; }
.event-manager.compact .badge { margin-left:auto; }
@media(max-width:760px) {
  .document-detail-layout { grid-template-columns:1fr; }
  .document-detail-preview { min-height:200px; }
  .event-manager-filters { flex-direction:column; }
  .event-record-button { flex-wrap:wrap; }
  .event-record-button .badge { margin-left:64px; }
}
:is(.public-site, .site-theme-root) .public-meeting-list :is(time, p) { color:#4d6057; }

/* Native content browsers and visual layout guides. */
.layout-preview{display:block;width:100%;height:auto;border:1px solid #e0e5de;border-radius:7px}.block-library-card{display:grid;gap:9px;padding:7px;width:100%;white-space:normal}.block-library-card strong{font-size:13px}.block-library-card small{font-size:11px;line-height:1.5;color:#5c6b63;font-weight:400}.block-library-card .layout-preview{max-height:118px}.template-option>.layout-preview{width:100%;height:208px;object-fit:cover}.template-option-copy{padding-top:14px}.library-field-button{border:1px solid #d5ded6;background:#fff;border-radius:9px;padding:12px;width:100%;display:flex;align-items:center;gap:12px;text-align:left;color:#244b40;cursor:pointer}.library-field-button img{width:58px;height:44px;object-fit:cover;border-radius:5px}.library-field-button span{display:grid;gap:4px}.library-field-button small{font-size:11px;color:#5a6b62}.library-address{font-size:12px;margin-top:12px}.library-address label{display:grid;gap:6px;margin-top:10px}.library-address input{min-width:0;width:100%}.library-browser{min-width:0}.library-toolbar{display:flex;gap:12px;margin-bottom:18px}.browser-search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #d5ded6;border-radius:8px;padding:0 12px;flex:1;min-width:0}.browser-search input{border:0!important;box-shadow:none!important;background:transparent;min-width:0;width:100%;padding:12px 0;min-height:44px}.library-toolbar select{min-height:44px;max-width:150px}.library-browser-body{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:22px}.library-browser-body>section{min-width:0}.library-count{font-size:12px;color:#58675d}.library-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:420px;overflow:auto;padding:3px}.library-image-grid>button,.library-record-list>button{position:relative;border:1px solid #dce3da;border-radius:8px;background:white;text-align:left;padding:8px;cursor:pointer;color:#263e34}.library-image-grid>button.selected,.library-record-list>button.selected{border-color:#245547;box-shadow:0 0 0 2px #245547}.library-thumb{height:92px;border-radius:5px;background:#edf0e8;display:grid;place-items:center;overflow:hidden}.library-thumb img{width:100%;height:100%;object-fit:cover}.library-image-grid button>span,.library-record-list button>span{display:grid;gap:4px;padding:8px 0}.library-image-grid strong,.library-record-list strong{font-size:12px;overflow-wrap:anywhere}.library-image-grid small,.library-record-list small{font-size:11px;color:#5d6c62}.library-check{position:absolute;right:9px;top:9px;color:#fff;background:#245547;border-radius:50%;padding:2px}.library-record-list{display:grid;gap:8px;max-height:420px;overflow:auto;padding:3px}.library-record-list>button{display:flex;align-items:center;gap:12px;padding:12px 28px 12px 12px}.library-details{background:#f1f3ec;border-radius:10px;padding:20px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.library-details>img{width:100%;max-height:180px;object-fit:contain;border-radius:6px}.library-details h3{font-size:18px;overflow-wrap:anywhere}.library-details p,.library-details small{line-height:1.6;overflow-wrap:anywhere;font-size:12px}.library-details strong{font-size:12px}.library-empty{padding:30px 10px;color:#637167;font-size:13px}.library-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;margin-top:16px}.library-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid #dce3da;padding-top:18px;margin-top:20px}.library-footer>small{margin-right:auto;max-width:45%;font-size:11px;color:#59695f}.meeting-timeline{margin:0 0 24px;border:1px solid #dbe3d9;border-radius:12px;background:#fff;overflow:hidden}.meeting-timeline>header{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid #e7ebe4}.meeting-timeline>header>span,.meeting-timeline>header>div{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600}.meeting-timeline-track{display:flex;gap:12px;overflow-x:auto;padding:16px;scroll-snap-type:x proximity;position:relative}.meeting-date-card{min-width:215px;width:215px;display:grid;gap:7px;border:1px solid #dbe3d9;border-radius:9px;background:#fafbf8;padding:15px;text-align:left;cursor:pointer;color:#2c4439;scroll-snap-align:center}.meeting-date-card.selected{background:#edf3e9;border-color:#285545;box-shadow:inset 0 0 0 1px #285545}.meeting-date-card time{font-size:19px;font-weight:600}.meeting-date-card strong{font-size:12px;font-weight:500}.meeting-date-card small{font-size:11px;color:#576b5f}.meeting-relative{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:#466450}.meeting-archive{display:grid;gap:9px;max-height:55vh;overflow:auto;margin-top:18px}.meeting-archive>button{display:flex;gap:14px;align-items:center;text-align:left;padding:15px;border:1px solid #dce3da;border-radius:8px;background:white;cursor:pointer}.meeting-archive>button>span:first-of-type{display:grid;gap:5px;flex:1}.meeting-archive small{color:#607065}.meeting-archive>button>span:last-child{font-size:12px}.approval-context-note{padding:14px 18px;background:#f1f4eb;border-radius:8px;font-size:13px;line-height:1.6}.approval-preview-pair{margin-top:14px}
@media(max-width:700px){.library-browser-body{grid-template-columns:1fr}.library-details{max-height:240px;overflow:auto}.library-details>img{max-height:100px}.library-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-footer{flex-wrap:wrap}.library-footer>small{max-width:none;width:100%}.meeting-timeline>header{padding:9px}.meeting-timeline>header>span{font-size:11px}.template-option>.layout-preview{height:180px}}

.post-manager>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.post-manager h2{font-size:21px}.post-manager.compact{border-top:1px solid #dde4d9;padding-top:22px;margin-top:20px}.post-manager.compact h2{font-size:15px}.post-manager.compact>p{font-size:12px;line-height:1.6;color:#5b6c61}.post-filters{display:flex;gap:12px;margin-bottom:18px}.post-filters select{max-width:185px}.post-list{display:grid;gap:10px}.post-list>button{display:flex;align-items:center;gap:14px;background:white;border:1px solid #dce3da;border-radius:9px;padding:18px;text-align:left;cursor:pointer;color:#244435}.post-list>button>span{flex:1;display:grid;gap:7px}.post-list strong{font-size:15px;font-weight:600}.post-list small{font-size:12px;color:#667268}.post-list em{font-style:normal;font-size:11px;background:#eef2e9;padding:6px 9px;border-radius:5px}.post-manager.compact .post-filters{flex-direction:column}.post-manager.compact .post-list>button{padding:10px;gap:7px;flex-wrap:wrap}.post-manager.compact .post-list strong{font-size:12px}.post-manager.compact .post-list em{margin-left:25px}.post-editor{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:25px}.post-editor label{display:grid;gap:8px;font-size:12px;font-weight:600}.post-editor input,.post-editor textarea,.post-editor select{min-width:0;width:100%;font-weight:400}.post-title-label input{font-size:23px;font-weight:600;padding:14px}.post-editor-main{min-width:0;display:grid;align-content:start;gap:17px}.post-editor-tabs{display:flex;gap:8px}.post-toolbar{display:flex;flex-wrap:wrap;gap:4px;border:1px solid #d5ded5;border-radius:8px 8px 0 0;background:#f1f4ed;padding:7px;margin-bottom:-17px}.post-toolbar button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:5px;background:transparent;color:#284e3f;cursor:pointer}.post-toolbar button:hover,.post-toolbar button[aria-pressed=true]{background:#dce8da}.post-toolbar select{width:125px;min-height:36px}.post-writing-surface{min-height:330px;padding:24px;border:1px solid #d5ded5;border-radius:0 0 8px 8px;line-height:1.8;font-size:16px;outline-offset:2px;background:#fff}.post-writing-surface p{margin:0 0 1em}.post-writing-surface h2{font-size:24px;margin:1em 0 .5em}.post-writing-surface h3{font-size:20px;margin:1em 0 .5em}.post-writing-surface ul,.post-writing-surface ol{padding-left:24px}.post-writing-surface blockquote{border-left:3px solid #6e8979;padding-left:18px}.post-options{padding:20px;border-radius:10px;background:#f0f3eb;display:flex;flex-direction:column;gap:18px;align-self:start}.post-options h3{font-size:15px}.post-options p,.post-options small{font-size:11px;line-height:1.6;color:#54665a;font-weight:400}.post-options .post-featured{display:flex;align-items:center;gap:9px}.post-featured input{width:16px}.post-editor-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;border-top:1px solid #dae2d6;padding-top:18px;grid-column:1/-1}.post-editor-footer span{margin-right:auto;font-size:11px;line-height:1.6;max-width:55%;color:#627163}.post-editor-error{grid-column:1/-1}.post-link-form{display:flex;align-items:end;gap:8px}.post-link-form label{flex:1}.post-draft-preview{padding:20px;border:1px solid #dce3da;background:white}.post-public-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.post-public-grid article{border:1px solid #dce1d6;border-radius:10px;overflow:hidden;background:#fff;color:#233e32}.post-public-grid article>img{width:100%;height:190px;object-fit:cover}.post-public-grid article>div{padding:24px}.post-public-grid h3{font-size:24px!important;line-height:1.3}.post-public-grid h3 a{color:inherit;text-decoration:none}.post-public-grid article p{font-size:15px;line-height:1.7}.post-public-grid .post-meta,.post-meta{font-size:12px;line-height:1.6;color:#55685d}.post-public-grid .site-text-link{color:#234e3d;display:inline-flex;min-height:44px;align-items:center}.post-public-list{grid-template-columns:1fr}.post-public-list article{display:flex}.post-public-list article>img{width:30%;height:auto;max-height:250px}.post-pagination{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:30px}.post-pagination a{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid #b5c3b5;border-radius:5px;color:#294939;text-decoration:none}.post-pagination a[aria-current=page]{background:#294939;color:#fff}.post-article-heading{max-width:780px;margin:0 auto 32px}.post-article-heading h1{font-size:clamp(32px,5vw,54px);line-height:1.15;font-weight:600}.post-article-heading>p{line-height:1.7}.post-featured-image{display:block;width:100%;max-height:530px;object-fit:cover;border-radius:10px;margin-bottom:40px}.post-body{max-width:740px;margin:auto;color:#283e32;font-size:18px;line-height:1.85;overflow-wrap:anywhere}.post-body p,.post-body ul,.post-body ol,.post-body blockquote{margin:0 0 1.2em}.post-body ul,.post-body ol{padding-left:1.5em}.post-body h2,.post-body h3{margin:1.6em 0 .6em;line-height:1.3}.post-body a{color:#234f40;text-decoration:underline;text-underline-offset:3px}.post-body blockquote{border-left:3px solid #829775;padding:12px 24px;background:#f1f4e9}.post-empty{padding:25px;background:#f1f4ec;border-radius:8px;color:#40594b}
@media(max-width:760px){.post-editor{grid-template-columns:1fr}.post-options{order:1}.post-editor-footer{order:2;flex-wrap:wrap}.post-editor-footer span{max-width:100%;width:100%}.post-filters{flex-direction:column}.post-public-grid{grid-template-columns:1fr}.post-public-list article{display:block}.post-public-list article>img{width:100%;height:190px}.post-toolbar button{width:44px;height:44px}.post-list>button{flex-wrap:wrap}.post-list em{margin-left:36px}}

/* Consistent form controls in the editorial workspace. */
.post-editor :is(input:not([type=checkbox]),textarea,select), .post-filters select {
  min-height:44px;border:1px solid #c7d3cd;border-radius:8px;padding:10px 12px;
  background:#fff;color:#17372f;font:400 14px/1.45 var(--font-ui);
}
.post-editor .post-title-label input{font-size:23px;font-weight:600;padding:14px}
.post-editor textarea{resize:vertical}
.post-editor :is(input,textarea,select):disabled{background:#e9eee7;color:#56665d}
.post-toolbar select{padding:6px 9px;min-height:36px}
.post-featured input{accent-color:#285c4d;min-width:18px;height:18px}
.post-inline-preview>.site-shell{padding-top:36px}
.post-pagination a{padding:0 12px}
.post-pagination .pagination-ellipsis{display:grid;place-items:center;min-width:24px}

.post-draft-preview{width:100%}.post-editor-footer{position:sticky;bottom:-20px;background:#fff;padding-bottom:18px;z-index:2}

.block-library-card{border:1px solid #dce3db;border-radius:9px;background:#fff;padding:9px;gap:8px}
.block-library-card:hover{border-color:#799d8d;background:#f8faf5}
.block-library-card [class*="DrawerItem-draggable"]{border:0!important;box-shadow:none!important;background:transparent!important;padding:2px 0!important;min-height:26px}
:is(.public-site,.site-theme-root) :is(.post-feed,.post-article,.post-inline-preview) .site-kicker{color:#496451}
.library-toolbar select{border:1px solid #c7d3cd;border-radius:8px;padding:8px;background:#fff;color:#244435}

.post-article{background:#fff;color:#283e32}

.theme-townpress .public-utility .site-shell>span{color:#fff}

.library-footer{position:sticky;bottom:-20px;background:#fff;padding-bottom:18px;z-index:2}

/* Keep resident search connected to the site, including its empty state. */
.public-search-header .site-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.public-search-header > .site-shell > .search-site-navigation { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; }
.public-search-header .search-site-navigation a { min-height: 44px; display: inline-flex; align-items: center; }
.public-search-page form label, .public-search-results li > span { font-weight: 700; }
.search-recovery { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; }
.search-recovery a { color: #205846; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 640px) {
  .public-search-header .site-shell { flex-wrap: wrap; gap: 10px; padding-block: 16px; }
  .public-search-header .search-site-navigation { width: 100%; justify-content: flex-start; gap: 4px 20px; }
  .public-search-page { padding-block: 36px; }
  .public-search-page h1 { font-size: clamp(32px, 9vw, 42px); }
  .public-search-results li { padding: 18px; }
}

.public-site .public-search-header { height: auto; }
.public-search-header > .site-shell { min-height: 104px; }
@media (max-width: 760px) {
  .public-utility.concept .site-shell > span:first-child { display: block; }
  .public-search-header > .site-shell { height: auto; min-height: 0; padding-inline: 16px; }
  .public-search-header > .site-shell > .search-site-navigation { margin-left: 0; justify-content: flex-start; }
}
