@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; }
.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; line-height: 1.45; }
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: 238px minmax(0, 1fr); }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 238px; z-index: 30; background: #173a33; color: #eff6f2; padding: 22px 15px 18px; display: flex; flex-direction: column; }
.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: #a9c0b8; font-size: 10px; margin-top: 4px; }
.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: 13px; }
.town-switcher small { color: #a9c0b8; font-size: 10px; }
.sidebar nav { display: flex; flex-direction: column; gap: 4px; margin-top: 23px; }
.sidebar nav button, .sidebar-bottom > button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 9px; background: transparent; color: #b7cac4; font-size: 13px; font-weight: 600; 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: 21px; height: 21px; border-radius: 20px; background: #efc16c; color: #173a33; font-size: 10px; }
.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: 10px; font-weight: 800; }
.user-card div { display: flex; flex-direction: column; }
.user-card strong { font-size: 11px; }
.user-card small { color: #9db4ad; font-size: 9px; margin-top: 2px; }
.mobile-close, .menu-button, .mobile-scrim { display: none; }

.app-main { grid-column: 2; min-width: 0; }
.topbar { height: 64px; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgb(250 251 248 / 92%); backdrop-filter: blur(14px); display: flex; align-items: center; justify-content: space-between; padding: 0 30px; }
.top-search { min-width: 300px; display: flex; align-items: center; gap: 9px; color: #87908d; font-size: 12px; }
.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 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: 7px; color: #5a6964; font-size: 11px; font-weight: 600; }
.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; }

.eyebrow { margin: 0 0 7px; color: #6e7b77; text-transform: uppercase; letter-spacing: .11em; font-size: 10px; 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: var(--muted); font-size: 13px; }
.meeting-title-actions { display: flex; align-items: flex-end; gap: 12px; }
.meeting-switcher { display: flex; flex-direction: column; gap: 5px; color: #6e7b77; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.meeting-switcher select { max-width: 360px; min-height: 37px; border: 1px solid #d9dfda; border-radius: 8px; padding: 0 32px 0 10px; background: #fff; color: #29463f; font-size: 11px; 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: 39px; border: 1px solid transparent; border-radius: 8px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; 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: 33px; padding: 0 11px; font-size: 11px; }
.button.full { width: 100%; }
.button:disabled { opacity: .52; cursor: not-allowed; transform: none; }
.text-button { border: 0; padding: 0; color: var(--green-2); background: transparent; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; cursor: pointer; }
.icon-button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; 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: 10px; }
.badge { width: max-content; display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 5px 9px; background: #edf0ed; color: #5c6965; font-size: 9px; 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: 9px; 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: 11px; }
.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: 6px; 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: 6px; 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: 7px; letter-spacing: .1em; color: #7d8884; }
.subdued { color: #74807c; font-size: 11px; 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: 11px; }
.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: 11px; }
.activity-row p { margin: 3px 0 0; color: #7a8481; font-size: 10px; }
.activity-row > div:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 9px; 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: #9ba39f; font-size: 10px; }
.workflow-steps > div > span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #f0f2f0; margin-right: 8px; font-size: 9px; 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: 8px; 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: 8px; color: #7d8783; padding: 3px 0 8px; }
.meeting-summary h2 { font: 600 20px/1.25 var(--font-display); margin-bottom: 7px; }
.meeting-summary > p { color: #78817e; font-size: 10px; }
.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: #86908c; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.meeting-summary dd { margin: 0; display: flex; align-items: center; gap: 6px; color: #42534e; font-size: 9px; 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: 9px; 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: 9px; color: #315d51; }
.source-upload-progress small { font-size: 8px; color: #6e7d77; text-align: right; }
.source-upload-error { margin: -10px 0 14px; padding: 9px; border-radius: 7px; background: #fff0ed; color: #9b4337 !important; font-size: 9px !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: 12px; 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: 8px; }
.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: 9px; }
.workspace-footer small { color: #87908d; font-size: 8px; 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: 9px; text-transform: uppercase; letter-spacing: .06em; color: #4d6b62; }
.draft-summary p { margin: 6px 0 0; color: #4d5f59; font-size: 11px; 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: 9px; font-weight: 800; }
.minutes-draft article h3 { margin: 0; font-size: 12px; }
.minutes-draft article p { margin: 8px 0 7px 30px; color: #53645f; font-size: 11px; 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: 9px; 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: 9px; 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: 10px; }
.safety-banner p span { font-size: 9px; 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: 10px; 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: 10px; }
.proposal-item small { color: #818b87; font-size: 8px; }
.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: 10px; }
.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: 8px; 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: 8px; 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: 8px; }
.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: 9px; 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: 8px; }
.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: 11px; }
.impact-card > p { margin: 0 0 12px; color: #7b8682; font-size: 9px; }
.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: 9px; }
.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: 10px; }
.reviewed-state small { color: #7a8782; font-size: 8px; 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: 9px; }
.website-stats small { color: #89928f; font-size: 8px; 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: 8px; }
.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 { border: 0; border-radius: 7px; background: transparent; display: flex; align-items: center; gap: 8px; padding: 10px; font-size: 10px; color: #62716c; 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: 8px; 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: 7px; font-weight: 800; }
.document-row p { margin: 0; display: flex; flex-direction: column; gap: 3px; }
.document-row strong { font-size: 10px; }
.document-row small, .document-row > span { color: #89928f; font-size: 8px; }
.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: 10px; }
.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: 10px; }
.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: 11px; 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: 11px; }
.brand-back small { color: #88918e; font-size: 8px; }
.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: 11px; }
.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: 12px;
}
.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: 10px; 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: 11px; 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: 12px; 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: 12px; line-height: 1.5; }
.friendly-panel .button { width: 100%; margin: 8px 0; }
.friendly-panel > small { display: block; text-align: center; color: #85918d; font-size: 10px; }
.check-row { display: flex; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid #e8ebe8; font-size: 9px; 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: 8px; }
.outline-wrap { border-top: 1px solid #e1e5e2; margin-top: 10px; }
.outline-label { display: block; padding: 12px 14px 4px; color: #858f8b; font-size: 8px; 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: 8px; font-style: normal; text-transform: uppercase; letter-spacing: .05em; }
.theme-card p { margin: 7px 0 6px; color: #5f6e68; font-size: 11px; line-height: 1.5; }
.theme-card small { display: block; color: #7f8c87; font-size: 9px; line-height: 1.45; }
.theme-card .button { width: 100%; min-height: 36px; margin-top: 11px; border-color: #d5dfda; background: #f7faf8; color: #235d4b; font-size: 11px; }
.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: 10px; 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: 10px; 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: 12px; font-weight: 750; }
.editor-toolbar small, .toolbar-actions > span { color: #73807b; font-size: 10px; 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: 7px; 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-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; }
.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: 6px; margin-top: 4px; }
.public-header nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); color: #40544d; font-size: 10px; font-weight: 650; }
.public-header nav a, .public-footer a { text-underline-offset: 4px; }
.public-header nav a:hover, .public-footer a:hover { text-decoration: underline; }
.search-button { margin-left: 28px; min-height: 40px; border: 1px solid #d3ddd7; border-radius: 9px; background: #f8faf8; padding: 8px 13px; color: #405851; font-size: 9px; display: inline-flex; align-items: center; gap: 7px; }
.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: 8px; 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: 9px; font-weight: 800; }
.site-button.light { background: #fff; color: #24584d; }
.site-button.dark { background: #24584d; color: #fff; }
.site-text-link { font-size: 9px; 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: 7px; 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: 10px; }
.notice-inner span { color: #756944; font-size: 8px; 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: 8px; 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: 10px; 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: 10px; 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: 10px; }
.service-card-grid small { margin-top: 5px; color: #74817c; font-size: 8px; line-height: 1.45; }
.service-card-grid > a > svg, .service-card-grid > a > span:last-child { color: #7e948c; }
.service-card-icon[class*="icon-"]::before { font-size: 16px; font-weight: 800; }
.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: 10px; 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: 7px; 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: 8px; }
.contact-card a { display: flex; gap: 6px; align-items: center; margin-top: 12px; color: #2f6e5b; font-size: 9px; 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: 8px; }
.site-status { display: inline-block; border-radius: 99px; padding: 5px 8px; background: #eef0ee; color: #68736f; text-transform: capitalize; font-size: 7px; 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: 8px; }
.available { display: flex; align-items: center; gap: 6px; color: #2c785a; font-size: 8px; 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: 6px; 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: 8px; }
.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: 9px; 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: 7px; text-transform: uppercase; letter-spacing: .08em; }
.contact-grid strong { margin-top: 5px; font-size: 8px; 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: 8px; 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: 11px; 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: 10px; }
.dashboard-columns article p, .dashboard-columns > aside > p { margin: 5px 0 0; color: inherit; opacity: .75; font-size: 8px; line-height: 1.5; }
.dashboard-primary { display: flex; flex-direction: column; justify-content: center; }
.dashboard-primary > span { color: #8a7462; font-size: 7px; 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: 9px; line-height: 1.55; }
.dashboard-primary a { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; color: #2f6c5b; font-size: 8px; 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: 7px; }
.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: 8px; }

/* 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: 12px; }
:where(.public-site:not(.compact), .site-theme-root) .town-brand small { font-size: 10px; }
: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: 13px; }
:where(.public-site:not(.compact), .site-theme-root) .site-kicker { font-size: 12px; }
: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: 13px; }
: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: 13px; }
: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: 13px; }
: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: 11px; }
:where(.public-site:not(.compact), .site-theme-root) .contact-card span,
:where(.public-site:not(.compact), .site-theme-root) .contact-card a { font-size: 13px; }
: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: 12px; }
:where(.public-site:not(.compact), .site-theme-root) .date-tile span { font-size: 10px; }
: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: 13px; }
: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: 12px; }
:where(.public-site:not(.compact), .site-theme-root) .contact-grid small { font-size: 11px; }
:where(.public-site:not(.compact), .site-theme-root) .contact-grid strong,
:where(.public-site:not(.compact), .site-theme-root) .contact-grid > a { font-size: 13px; }
: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: 11px; }
: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: 12px; }
:where(.public-site:not(.compact), .site-theme-root) .public-footer .footer-grid > div:not(:first-child) strong { font-size: 12px; }
:where(.public-site:not(.compact), .site-theme-root) .public-footer .footer-grid a { font-size: 13px; }
.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 Hanover 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: 9px; font-weight: 800; letter-spacing: .09em; }
.event-category { color: #826d50; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.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: 12px; line-height: 1.45; }
.public-event em { display: inline-block; margin-top: 8px; color: #8a4b36; font-size: 10px; font-style: normal; font-weight: 800; }
.calendar-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; color: var(--site-green); font-size: 13px; 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: 9px; 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: 12px; line-height: 1.55; }
.guide-more { display: inline-flex; align-items: center; gap: 5px; margin-top: 16px; color: var(--site-green); font-size: 11px; 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: 9px; 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: 9px; 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: 12px; }

/* 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: 9px; 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: 12px; }
.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: 12px; }
.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: 12px; 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 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: 100; 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: 8px; }
.transcript { border: 1px solid #dfe4e0; border-radius: 9px; padding: 14px; }
.transcript p { display: flex; gap: 8px; margin: 8px 0 4px; font-size: 9px; }
.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: 9px; }
.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: 8px; text-transform: uppercase; letter-spacing: .07em; }
.preview-callout strong { font-size: 11px; 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: 7px; }
.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: 11px; 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: 12px; }

@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 nav { display: none; }
  .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; }
  .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; }
  .modal-backdrop { padding: 10px; }
  .modal { max-height: calc(100vh - 20px); }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .button { width: 100%; }
}
