.theme-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-block: 36px; }
.theme-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.rail .brand, .rail .btn, .topbar a { text-decoration: none; }
.rail .r-nav > a, .topbar a { color: #fff; }
.rail .brand b { color: #fff; }
.rail .r-foot .ghost { color: #fff; }
.theme-inner .page { background: var(--paper); }
.theme-inner .wm-main-content { padding-bottom: 50px; }
.theme-inner .wm-mini-header, .theme-inner .wm-breadcrumb { background: var(--ink-d); }
.theme-inner .wm-main-content img { max-width: 100%; width: auto; height: auto; }
.theme-inner .wm-main-content .container { max-width: calc(100% - 32px); }
.theme-inner .wm-main-content ul { list-style: revert; }
.theme-inner .wm-main-content a:hover { text-decoration: underline; }
.theme-hero-link { display: block; min-width: 0; height: 100%; }
.hero-r > img { max-height: 360px; object-fit: contain; }
.hero-r .pres > img { width: 54px; height: 64px; float: right; margin-left: 12px; }
.theme-request { display: grid; gap: 12px; margin-top: 20px; }
.theme-request label { display: grid; gap: 4px; font-weight: 700; }
.theme-request input, .theme-request textarea { min-width: 0; width: 100%; padding: 8px 12px; background: #fff; border: 1px solid var(--ink); }
.theme-request button { justify-self: start; }
.theme-search-results { display: grid; gap: 8px; }
.theme-search-results a { display: block; background: #fff; padding: 12px 18px; }

.ann figure { position: absolute; inset: 0; }
.theme-inner .wm-main-wrapper.page { width: auto; }
.theme-inner .wm-mini-header .wm-blue-transparent { background: var(--ink-d); }
.theme-inner .wm-mini-title h1 { color: #fff; border-left: 8px solid var(--acc); padding-left: 16px; }
.theme-inner .wm-main-content .wm-rich-aditor { font-family: 'Nunito', system-ui, sans-serif; }
.theme-inner .wm-professor-info h2, .theme-inner .wm-main-content h3 { color: var(--ink); }
.theme-hero-sparse { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
.theme-hero-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.theme-hero-sparse figure:first-child { grid-row: auto; }
.theme-hero-sparse .pres { grid-column: 1 / -1; }
.hero-l, .hero-r { min-width: 0; }
.hero-r img[src="/images/bldlogo.png"], .ann img[src="/images/bldlogo.png"], .news img[src="/images/bldlogo.png"] {
    object-fit: contain;
    padding: 16px;
    background: var(--sky);
}
.hero-r .pres img[src="/images/bldlogo.png"] { display: none; }
@media (max-width: 1100px) {
    .hero-r:not(.theme-hero-sparse) { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
    .theme-hero-sparse figure { height: clamp(200px, 55vw, 400px); }
}
@media (max-width: 640px) {
    .hero h1 { font-size: clamp(30px, 9vw, 40px); overflow-wrap: anywhere; }
    .topbar a { padding-inline: 8px; text-align: center; }
    .theme-request .g-recaptcha { max-width: 100%; overflow: auto; }
}
.page, .theme-inner .wm-main-wrapper.page { margin-left: 0; }
.theme-inner .wm-main-wrapper.page { background: var(--paper); color: var(--ink); }
.municipal-header { position: relative; z-index: 20; color: #fff; background: var(--ink-d); border-bottom: 4px solid var(--acc); }
.municipal-header-main { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 14px; }
.municipal-brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: #fff; font-size: clamp(16px, 2.5vw, 24px); line-height: 1.2; }
.municipal-brand img { width: 52px; height: 42px; object-fit: contain; background: white; border-radius: 6px; padding: 4px; flex-shrink: 0; }
.municipal-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.municipal-actions a { background: var(--acc); color: var(--ink-d); padding: 7px 12px; font-weight: 800; border-radius: 4px; }
.municipal-actions button { display: grid; place-items: center; width: 40px; height: 40px; color: #fff; background: transparent; border: 1px solid #ffffff52; border-radius: 4px; cursor: pointer; }
.municipal-actions [data-menu-toggle], .municipal-nav > .municipal-mobile-service { display: none; }
.municipal-nav { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0 6px; border-top: 1px solid #ffffff38; }
.municipal-nav > a, .municipal-nav summary { display: block; color: #fff; padding: 9px 10px; cursor: pointer; font-weight: 700; }
.municipal-nav summary { list-style: none; }
.municipal-nav summary::-webkit-details-marker { display: none; }
.municipal-nav > a:hover, .municipal-nav summary:hover, .municipal-brand:hover { color: var(--acc); }
.municipal-nav details { position: relative; }
.municipal-dropdown { position: absolute; inset: 100% auto auto 0; width: min(300px, 82vw); max-height: min(55vh, 430px); overflow: auto; background: #fff; box-shadow: 0 12px 36px #17102842; border-top: 3px solid var(--acc); }
.municipal-dropdown a { display: block; color: var(--ink); padding: 8px 14px; border-bottom: 1px solid var(--line); }
.municipal-dropdown a:hover, .municipal-dropdown a:focus-visible { background: var(--sky); }
.municipal-dialog { position: fixed; inset: 0; margin: auto; border: 0; border-radius: 10px; color: var(--ink); }
.municipal-dialog::backdrop { background: #171028db; }
.municipal-search { width: min(540px, 92vw); padding: 52px 18px 20px; }
.dialog-close { position: absolute; right: 10px; top: 10px; z-index: 2; }
.dialog-close, .gallery-heading button, .gallery-dialog [data-gallery-step] { display: grid; place-items: center; width: 40px; height: 40px; background: var(--ink); color: #fff; border: 0; border-radius: 5px; font-size: 23px; line-height: 1; cursor: pointer; }
.municipal-detail { background: var(--paper); color: var(--ink); }
.detail-heading { background: var(--sky); padding: clamp(22px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
.detail-heading h1 { max-width: 1000px; margin: 10px 0 0; font-size: clamp(25px, 3.2vw, 43px); overflow-wrap: anywhere; }
.detail-heading a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.detail-meta span { background: #fff; border-radius: 4px; padding: 3px 10px; font-weight: 700; }
.detail-layout { max-width: 940px; padding-block: 28px 58px; display: grid; gap: 20px; align-items: start; }
.detail-with-sidebar { max-width: 1180px; grid-template-columns: minmax(0, 1fr) minmax(230px, 285px); }
.detail-card { min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.detail-cover { max-height: 490px; width: 100%; height: auto; object-fit: contain; background: var(--paper); }
.detail-copy, .detail-related, .news-gallery { padding: clamp(16px, 3.5vw, 32px); }
.detail-prose { overflow-wrap: anywhere; }
.detail-prose :is(p, figure, blockquote, ul, ol, pre, table) { margin-block: 0 15px; }
.detail-prose :is(ul, ol) { list-style: revert; padding-inline-start: 24px; }
.detail-prose a { text-decoration: underline; color: #51427f; }
.detail-prose img { max-width: 100%; width: auto; height: auto; }
.detail-prose :is(table, iframe) { max-width: 100%; }
.detail-prose table { display: block; overflow-x: auto; }
.detail-copy .btn { margin-top: 12px; }
.detail-related a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); line-height: 1.4; }
.detail-related small { display: block; color: var(--muted); margin-top: 4px; }
.detail-profile:has(.detail-cover) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
.detail-profile .detail-cover { margin: 18px; width: calc(100% - 36px); border-radius: 7px; }
.detail-profile h2 { margin: 0 0 12px; }
.news-gallery { border-top: 1px solid var(--line); }
.gallery-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.gallery-heading > div { display: flex; gap: 8px; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(140px, 25%, 250px); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 10px; }
.gallery-track a { display: block; aspect-ratio: 4 / 3; scroll-snap-align: start; overflow: hidden; border-radius: 6px; }
.gallery-dialog { width: min(1120px, 95vw); max-width: 95vw; background: var(--ink-d); color: #fff; padding: 50px 48px 12px; }
.gallery-dialog figure img { max-height: 71vh; width: 100%; height: auto; object-fit: contain; }
.gallery-dialog figcaption { text-align: center; padding-top: 8px; }
.gallery-dialog [data-gallery-step] { position: absolute; top: 50%; transform: translateY(-50%); }
.gallery-prev { left: 4px; }
.gallery-next { right: 4px; }
.tender-section { padding-block: clamp(28px, 4vw, 52px); }
.tender-section .sh { margin-bottom: 14px; }
.tender-row { display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tender-row h3 { font-size: clamp(14px, 2vw, 18px); overflow-wrap: anywhere; }
.tender-row:hover h3, .detail-related a:hover { text-decoration: underline; }
.municipal-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 19; display: flex; flex-direction: column; gap: 8px; }
.municipal-float a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink-d); color: #fff; font-size: 25px; box-shadow: 0 2px 12px #0004; }
.municipal-float .municipal-wa { background: #09734b; }
@media(max-width: 900px) {
    .municipal-actions [data-menu-toggle] { display: grid; }
    .municipal-nav { display: none; max-height: 64vh; overflow: auto; padding-block: 6px; }
    .municipal-nav.municipal-nav-open { display: block; }
    .municipal-dropdown { position: static; width: auto; max-height: 40vh; margin-left: 10px; }
}
@media(max-width: 640px) {
    .municipal-actions > a { display: none; }
    .municipal-nav > .municipal-mobile-service { display: block; }
    .municipal-brand img { width: 42px; }
    .detail-with-sidebar, .detail-profile:has(.detail-cover) { grid-template-columns: 1fr; }
    .detail-profile .detail-cover { max-height: 280px; }
    .tender-row { grid-template-columns: 5.4rem minmax(0, 1fr) auto; gap: 6px; }
    .municipal-float { right: 10px; bottom: 10px; }
    .municipal-float a { width: 40px; height: 40px; }
}
.municipal-brand img { width: 68px; height: 68px; background: transparent; padding: 0; border-radius: 0; }
.municipal-header-main { min-height: 88px; }
.municipal-actions .municipal-service { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 8px; border: 1px solid #ffd782; background: linear-gradient(130deg, #ffdb86, var(--acc)); color: var(--ink-d); box-shadow: 0 4px 16px #0003; }
.municipal-service:hover { background: #ffe7ae; color: var(--ink-d); }
.municipal-service span { opacity: .75; }
.municipal-nav { position: relative; }
.municipal-nav details { position: static; }
.municipal-nav details[open] > summary { color: var(--acc); }
.municipal-nav details[open] > summary i { transform: rotate(180deg); }
.municipal-dropdown { inset: 100% auto auto 0; width: min(100%, max(290px, calc(var(--menu-columns) * 225px))); padding: 10px 14px; max-height: none; overflow: visible; display: grid; grid-auto-flow: column; grid-template-columns: repeat(var(--menu-columns), minmax(0, 1fr)); grid-template-rows: repeat(var(--menu-rows), auto); column-gap: 14px; border-radius: 0 0 10px 10px; }
.municipal-dropdown a { min-width: 0; overflow-wrap: anywhere; font-size: 15px; line-height: 1.35; min-height: 37px; }
.municipal-dropdown a:hover { border-radius: 4px; }
.division-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.division-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: #fff; border-radius: 10px; }
.division-card img { height: clamp(130px, 17vw, 205px); object-fit: contain; background: var(--paper); }
.division-card img[src="/images/logo.png"] { padding: 28px; }
.division-card > div { padding: 13px 14px 16px; }
.division-card h3 { font-size: 16px; overflow-wrap: anywhere; }
.division-card p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.division-card:hover h3 { text-decoration: underline; }
.announcement-index { padding-block: 24px 52px; }
.announcement-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: white; margin-bottom: 18px; }
.announcement-filter label { display: grid; gap: 4px; width: min(100%, 230px); font-weight: 800; }
.announcement-filter :is(input, select) { width: 100%; min-height: 42px; padding: 8px; border: 1px solid #aea4bc; border-radius: 5px; background: white; }
.announcement-filter button { min-height: 42px; padding-block: 6px; border-radius: 5px; }
.announcement-filter a { margin: 0 0 7px 5px; text-decoration: underline; }
.announcement-list { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.announcement-list li + li { border-top: 1px solid var(--line); }
.announcement-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(145px, 20%) 100px 14px; align-items: center; gap: 12px; padding: 13px 16px; }
.announcement-row:hover { background: var(--sky); }
.announcement-row-title { font-weight: 800; overflow-wrap: anywhere; }
.announcement-category, .announcement-date { font-size: 14px; color: var(--muted); }
.announcement-pages { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 20px; }
.announcement-pages a, .announcement-pages span { display: grid; place-items: center; width: 40px; min-height: 40px; border-radius: 6px; }
.announcement-pages a { border: 1px solid var(--line); background: white; font-weight: 800; }
.announcement-pages a[aria-current="page"], .announcement-pages a:hover { background: var(--ink); color: white; }
.announcement-empty { padding: 20px 16px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.gallery-dialog { width: min(1040px, 96vw); max-width: 96vw; max-height: 94dvh; padding: 0 0 12px; border: 1px solid #ffffff29; border-radius: 14px; box-shadow: 0 24px 100px #0009; background: #14101d; }
.gallery-dialog::backdrop { background: #100b19db; backdrop-filter: blur(4px); }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 9px 13px; border-bottom: 1px solid #ffffff24; font-size: 14px; font-weight: 800; }
.gallery-toolbar .dialog-close { position: static; }
.gallery-dialog figure { background: #08070b; }
.gallery-dialog figure img { width: 100%; height: min(58dvh, 680px); max-height: none; padding: 4px clamp(32px, 6vw, 65px); }
.gallery-dialog figcaption { background: #14101d; padding: 5px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.gallery-dialog [data-gallery-step], .gallery-toolbar .dialog-close { background: #ffffff26; color: white; border: 1px solid #ffffff30; border-radius: 50%; }
.gallery-dialog [data-gallery-step] { top: 44%; }
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gallery-preview { display: flex; overflow-x: auto; gap: 6px; padding: 4px 12px; scrollbar-color: #ffffff55 transparent; }
.gallery-preview button { flex: 0 0 60px; height: 43px; padding: 0; border: 2px solid transparent; border-radius: 5px; overflow: hidden; opacity: .72; cursor: pointer; }
.gallery-preview button:hover, .gallery-preview button[aria-current="true"] { opacity: 1; border-color: var(--acc); }
@media(max-width: 900px) {
    .municipal-dropdown { width: auto; grid-auto-flow: row; grid-template-columns: repeat(var(--menu-mobile-columns), minmax(0, 1fr)); grid-template-rows: none; }
    .division-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media(max-width: 640px) {
    .municipal-header-main { min-height: 68px; }
    .municipal-brand img { width: 54px; height: 54px; }
    .municipal-actions .municipal-service { display: none; }
    .division-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .announcement-row { grid-template-columns: minmax(0, 1fr) auto 12px; gap: 4px 8px; }
    .announcement-row-title { grid-column: 1 / 3; }
    .announcement-category { grid-row: 2; }
    .announcement-date { grid-row: 2; grid-column: 2; }
    .announcement-row > :last-child { grid-row: 1 / 3; grid-column: 3; }
    .gallery-dialog [data-gallery-step] { width: 31px; height: 36px; }
}
body:has(> .foot) { min-height: 100dvh; display: flex; flex-direction: column; }
body:has(> .foot) > .foot { margin-top: auto; }
body:has(> .page > .foot) { min-height: 100dvh; display: flex; flex-direction: column; }
body:has(> .page > .foot) > .page { flex: 1; display: flex; flex-direction: column; }
body:has(> .page > .foot) > .page > .foot { margin-top: auto; }
.municipal-brand img, .footer-brand img { width: 180px; height: 60px; object-fit: contain; border-radius: 6px; background: #fff; padding: 5px 8px; }
.footer-brand { display: inline-block; margin-bottom: 10px; }
.theme-footer nav { align-self: start; max-width: min(100%, 580px); }
.theme-footer nav a { padding: 5px 10px; border-radius: 5px; background: #ffffff12; }
.theme-footer nav a:hover { color: var(--acc); }
.municipal-nav summary, .municipal-nav > a { border-radius: 6px 6px 0 0; }
.municipal-nav details[open] > summary { background: #ffffff16; }
.municipal-dropdown { border: 1px solid var(--line); border-top: 3px solid var(--acc); }
.municipal-dropdown a { display: flex; align-items: center; padding: 8px 10px; border-bottom-color: #eae5ef; }
.detail-profile:has(.detail-cover-link) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
.detail-cover-link { position: relative; display: block; margin: 18px; }
.detail-cover-link .detail-cover { width: 100%; margin: 0; }
.detail-cover-link span { position: absolute; bottom: 8px; right: 8px; border-radius: 6px; background: var(--ink-d); color: #fff; padding: 2px 9px; font-size: 21px; }
.detail-image-dialog figure img { height: min(72dvh, 860px); padding: 8px; }
.meeting-members { padding-block: 25px 54px; }
.meeting-group + .meeting-group { margin-top: 27px; }
.meeting-group h2 { margin-bottom: 14px; border-left: 5px solid var(--acc); padding-left: 10px; }
.meeting-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.meeting-card { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.meeting-card img { height: 190px; background: var(--sky); object-fit: contain; }
.meeting-card img[src="/images/logo.png"] { padding: 26px; }
.meeting-card div { padding: 12px; }
.meeting-card h3 { font-size: 16px; }
.meeting-card p { font-size: 14px; color: var(--muted); }
@media(max-width: 640px) {
    .municipal-brand img, .footer-brand img { width: 137px; height: 49px; }
    .detail-profile:has(.detail-cover-link) { grid-template-columns: 1fr; }
    .meeting-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.detail-main .detail-width { width: min(1600px, 100% - clamp(32px, 6vw, 110px)); }
.detail-main .detail-heading h1 { max-width: 1300px; }
.detail-main .detail-layout { max-width: none; }
.detail-main .detail-with-sidebar { grid-template-columns: minmax(0, 1fr); }
.detail-main .detail-has-cover { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.detail-has-cover > .detail-cover { align-self: start; width: 100%; max-height: min(680px, 74vh); }
.detail-article-content { min-width: 0; }
.detail-has-cover .detail-article-content { border-inline-start: 1px solid var(--line); }
.detail-article-content :is(iframe, video, img) { max-width: 100%; }
.detail-article-content iframe { display: block; }
.detail-main .detail-with-sidebar .detail-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
.detail-main .detail-related h2 { grid-column: 1 / -1; }
@media (max-width: 900px) {
    .detail-main .detail-has-cover { grid-template-columns: minmax(0, 1fr); }
    .detail-has-cover .detail-article-content { border-inline-start: 0; }
    .detail-has-cover > .detail-cover { max-height: min(440px, 65dvh); }
    .detail-main .detail-with-sidebar .detail-related { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .detail-main .detail-width { width: calc(100% - 24px); }
    .detail-main .detail-layout { padding-block: 14px 30px; gap: 14px; }
    .detail-main .detail-heading { padding-block: 20px; }
    .detail-main .detail-heading h1 { font-size: clamp(23px, 6vw, 30px); }
    .detail-main .gallery-track { grid-auto-columns: clamp(118px, 47%, 175px); }
    .detail-prose :is(blockquote, pre, figure) { max-width: 100%; }
    .detail-prose pre { overflow-x: auto; }
}
html { scroll-padding-top: 145px; }
.municipal-header {
    position: sticky;
    top: 0;
    z-index: 50;
    transition: background-color .22s ease, box-shadow .22s ease;
}
.municipal-header .municipal-brand {
    position: relative;
    isolation: isolate;
    align-self: stretch;
    padding-inline: 8px 22px;
}
.municipal-header .municipal-brand::before {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 100vw;
    z-index: -1;
    border-radius: 0 14px 14px 0;
    background: #fff;
}
.municipal-header .municipal-brand img { background: transparent; padding: 0; }
.municipal-header-scrolled {
    background-color: rgb(23 16 40 / 86%);
    backdrop-filter: blur(13px);
    box-shadow: 0 8px 24px rgb(23 16 40 / 16%);
}
.municipal-header-scrolled .municipal-brand::before { background: rgb(255 255 255 / 95%); }
@media (max-width: 900px) { html { scroll-padding-top: 92px; } }
@media (max-width: 640px) {
    html { scroll-padding-top: 76px; }
    .municipal-header .municipal-brand { padding-inline: 5px 15px; }
    .municipal-header .municipal-brand::before { border-radius: 0 10px 10px 0; }
}
.municipal-header-static { position: relative; }
.municipal-header-static.municipal-header-scrolled { background-color: var(--ink-d); backdrop-filter: none; box-shadow: none; }
.municipal-header-static.municipal-header-scrolled .municipal-brand::before { background: #fff; }
.municipal-header-compact .municipal-header-main { min-height: 66px; }
.municipal-header-compact .municipal-brand img { width: 153px; height: 49px; }
.municipal-header-compact .municipal-brand::before { border-radius: 0 10px 10px 0; }
.municipal-header-compact .municipal-actions .municipal-service { padding: 6px 11px; font-size: 14px; }
.municipal-header-compact .municipal-actions button { height: 35px; width: 35px; }
.municipal-header-compact .municipal-nav { gap: 2px 5px; }
.municipal-header-compact .municipal-nav > a, .municipal-header-compact .municipal-nav summary { padding: 5px 10px; font-size: 14px; }
.municipal-header-compact .municipal-dropdown a { min-height: 33px; padding-block: 6px; font-size: 14px; }
.municipal-social { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.municipal-social:has(a) { padding-bottom: 16px; }
.municipal-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #ffffff42; border-radius: 8px; color: #fff; }
.municipal-social a:hover { background: var(--acc); color: var(--ink-d); }
.municipal-float button { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #4b3874; color: #fff; font-size: 19px; box-shadow: 0 2px 12px #0004; cursor: pointer; }
.municipal-float [data-back-top] { font-size: 18px; }
.accessibility-dialog {
    inset: auto max(73px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) auto;
    width: min(384px, calc(100vw - 88px));
    max-height: calc(100dvh - 32px);
    margin: 0;
    padding: 0;
    z-index: 60;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    box-shadow: 0 14px 45px #1710284d;
}
.accessibility-dialog[open] { animation: accessibility-enter .18s ease-out both; }
@keyframes accessibility-enter { from { opacity: 0; transform: translate(14px, 8px); } to { opacity: 1; transform: none; } }
.accessibility-header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px;
    background: var(--ink-d);
    color: #fff;
}
.accessibility-header > i { color: var(--acc); }
.accessibility-header h2 { flex: 1; font-size: 18px; overflow-wrap: anywhere; }
.accessibility-header .dialog-close { position: static; width: 34px; height: 34px; font-size: 16px; }
.accessibility-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 12px; }
.accessibility-grid label {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 6px;
    min-height: 84px;
    padding: 9px 5px;
    text-align: center;
    overflow-wrap: anywhere;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
}
.accessibility-grid label > i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 7px; background: var(--sky); }
.accessibility-grid input { position: absolute; top: 6px; right: 6px; width: 14px; height: 14px; accent-color: var(--ink); }
.accessibility-grid label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.accessibility-grid label:has(input:focus-visible) { outline: 2px solid var(--acc); }
.accessibility-footer { padding: 0 12px 12px; display: grid; gap: 8px; text-align: center; }
.accessibility-footer button { justify-content: center; border-radius: 8px; padding-block: 8px; }
.accessibility-footer p { color: var(--muted); font-size: 12px; }
@media (max-width: 540px) {
    .accessibility-dialog {
        inset: auto max(10px, env(safe-area-inset-right)) max(106px, calc(env(safe-area-inset-bottom) + 96px)) auto;
        width: min(384px, calc(100vw - 20px));
        max-height: calc(100dvh - 118px);
    }
    body:has(.municipal-wa) .accessibility-dialog { bottom: max(154px, calc(env(safe-area-inset-bottom) + 144px)); max-height: calc(100dvh - 166px); }
}
.access-text body { font-size: 20px; }
.access-text :is(.detail-prose, .announcement-row-title, .municipal-nav a, .municipal-nav summary, .q a, .detail-related a, .meeting-card h3, .theme-footer) { font-size: 1.12em; }
.access-links a:not(.skip) { text-decoration: underline; text-underline-offset: .2em; }
.access-spacing :is(main, .detail-prose, .municipal-nav, .theme-footer) { line-height: 1.9; letter-spacing: .015em; }
.access-motion, .access-motion * { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
.access-contrast { --ink: #000; --ink-2: #000; --ink-d: #000; --muted: #242424; --paper: #fff; --sky: #fff; --line: #222; }
.access-contrast body, .access-contrast .detail-prose a { color: #000; }
.access-contrast .municipal-header-scrolled { background: #000; backdrop-filter: none; }
.access-contrast .municipal-nav a:not(.municipal-dropdown a), .access-contrast .municipal-nav summary { color: #fff; }
.access-contrast .foot a, .access-contrast .foot p { color: #fff; }
@media (max-width: 640px) {
    .municipal-header-compact .municipal-header-main { min-height: 58px; }
    .municipal-header-compact .municipal-brand img { width: 128px; height: 44px; }
    .municipal-social { justify-content: flex-start; }
    .municipal-float button { width: 40px; height: 40px; }
}
html:has(.municipal-header-compact) { scroll-padding-top: 116px; }
@media (max-width: 900px) { html:has(.municipal-header-compact) { scroll-padding-top: 73px; } }
@media (max-width: 640px) { html:has(.municipal-header-compact) { scroll-padding-top: 64px; } }
.municipal-dropdown a { gap: 8px; }
.municipal-dropdown a > span { min-width: 0; }
.municipal-link-arrow {
    flex: none;
    color: var(--muted);
    font-size: 12px;
    transition: color .16s ease, transform .16s ease;
}
.municipal-dropdown a:is(:hover, :focus-visible) .municipal-link-arrow {
    color: #08713f;
    transform: rotate(90deg);
}
.announcement-table-scroll { max-width: 100%; overflow-x: auto; margin-block: 0 16px; }
.detail-prose .announcement-table-scroll table { display: table; max-width: none; margin-block: 0; border-collapse: collapse; }
.detail-prose .announcement-table-scroll :is(td, th) { padding: 5px 8px; vertical-align: top; }
.detail-prose .announcement-table-scroll [border] :is(td, th) { border: 1px solid currentColor; }
