/* Public presentation refresh, round 2, 20261118. Existing scripts, records and safety controls are unchanged. */
body:has(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food){background:#f5f8f5;color:#19372c;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food){--tif-refresh-2:20261118;color:#19372c;font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) *,:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) *::before,:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) *::after{box-sizing:border-box}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) h1{font-size:clamp(2rem,4.5vw,3.2rem);line-height:1.12;letter-spacing:-.04em;font-weight:750;color:#19372c;margin:.4rem 0 1rem}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) h2{color:#14523c;line-height:1.3;letter-spacing:-.025em}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) h3{color:#14523c;line-height:1.35;letter-spacing:-.015em}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) a{color:#14523c;text-underline-offset:3px}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #b45f15;outline-offset:3px}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) :is(.panel,.card,.nx-card,.tif-contact-box,.record){background:#fff;border:1px solid #d3e2d7;border-radius:14px;box-shadow:none}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) :is(.muted,.small,.nx-fine,.counties,.src){color:#496252}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) :is(.hero,header.app){background:#edf5ef;color:#19372c;border-bottom:1px solid #c5dbcc;box-shadow:none}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) :is(.hero,header.app) :is(h1,h2,p,.brand,.brand span,.kicker,.tagline,.lede){color:#19372c;opacity:1}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) :is(.kicker,.nx-kicker){font-size:.75rem;letter-spacing:.09em;font-weight:800;color:#316249;margin:0 0 .75rem;text-transform:uppercase}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) :is(.btn,.go,.nx-button,.print){display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:.7rem 1rem;background:#14523c;color:#fff;border:1px solid #14523c;border-radius:8px;box-shadow:none;text-decoration:none;font:700 .95rem/1.35 system-ui,sans-serif;white-space:normal;text-align:center}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) :is(.btn-secondary,.btn-ghost,.nx-secondary,.btn.alt,.go.quiet,.print){background:#fff;color:#14523c;border-color:#b8cbbb}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%;border:1px solid #b8cbbb;border-radius:8px;background:#fff;color:#19372c;font:inherit;min-height:46px;padding:.6rem .75rem}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) textarea{min-height:9rem}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) [id]{scroll-margin-top:6rem}
/* Community pages: readable intros, useful choices and plain membership comparisons. */
body.tif-next-page main.nx-page{max-width:none;margin:0;padding:0}
main.nx-page>.hero{padding:2.5rem 1rem}
main.nx-page :is(.nx-inner,.hero-inner,.hero>.inner){max-width:1100px;margin:0 auto}
main.nx-page :is(.nx-wrap,.wrap){max-width:1132px;padding:1.3rem 1rem 3rem;margin:0 auto}
main.nx-page .hero h1{max-width:32ch}
main.nx-page .hero .nx-lead{font-size:1.1rem;line-height:1.65;max-width:48rem;margin:.8rem 0 1.2rem}
main.nx-page .nx-fine{font-size:.9rem;line-height:1.55}
main.nx-page .nx-actions{display:flex;gap:.7rem;flex-wrap:wrap;align-items:center;margin:1rem 0}
main.nx-page .nx-section{margin:2rem 0}
main.nx-page .nx-section>p:not(.nx-kicker){max-width:54rem}
main.nx-page .nx-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
main.nx-page .nx-three{grid-template-columns:repeat(3,minmax(0,1fr))}
main.nx-page .nx-card{padding:1.4rem;min-width:0;margin:0}
main.nx-page>.nx-wrap>section.nx-card{margin:1.4rem 0}
main.nx-page .nx-card :is(h2,h3){margin:.1rem 0 .7rem}
main.nx-page .nx-card p:last-child{margin-bottom:0}
main.nx-page .nx-feature{background:#edf5ef;border-color:#c5dbcc}
main.nx-page .nx-step{display:inline-flex;width:2rem;height:2rem;align-items:center;justify-content:center;border-radius:50%;background:#edf5ef;color:#14523c;font-weight:800;margin-bottom:.8rem}
main.nx-page .nx-jumps{display:flex;flex-wrap:wrap;gap:.5rem;padding:.3rem 0}
main.nx-page .nx-jumps a{display:inline-block;border:1px solid #c5dbcc;border-radius:999px;padding:.45rem .8rem;text-decoration:none;font-weight:650;background:#fff}
main.nx-page .nx-list{padding-left:1.3rem}
main.nx-page .nx-list li{margin:.55rem 0}
main.nx-page :is(.wrap .panel,.wrap .card){padding:1.4rem}
main.nx-page .role-box{background:#fff;border:1px solid #d3e2d7;border-radius:12px;padding:1rem}
/* Contact and Events use the older bootstrap shell. Keep its forms and calendar intact. */
main#content-area:has(:is(.tif-contact-sheet,#event-calendar)){max-width:1164px;margin:0 auto;padding:1.8rem 1rem 2.5rem}
main#content-area:has(:is(.tif-contact-sheet,#event-calendar))>.main-content{padding:0}
main#content-area:has(:is(.tif-contact-sheet,#event-calendar))>.main-content>.container{max-width:100%;padding:0}
main#content-area .tif-contact-box{padding:1.35rem}
main#content-area .tif-contact-box h2{font-size:1.2rem}
main#content-area .tif-contact-sheet .title-bar,main#content-area .tif-contact-sheet .title-bar h2,main#content-area .tif-contact-sheet .title-bar h2 *{background:#edf5ef!important;background-image:none!important;color:#19372c!important;border-color:#c5dbcc!important}
main#content-area .tif-contact-sheet .title-bar{border:1px solid #c5dbcc;border-radius:14px 14px 0 0;padding:1rem 1.3rem}
main#content-area .tif-contact-sheet .form-wrap{border:1px solid #d3e2d7;border-radius:0 0 14px 14px;background:#fff;padding:1.3rem}
main#content-area .tif-contact-sheet .form-control{height:auto;min-height:46px;max-width:100%}
main#content-area:has(#event-calendar) #event-calendar{padding:1rem;border:1px solid #d3e2d7;border-radius:14px;background:#fff}
main#content-area #event-calendar .fc-toolbar h2{color:#14523c;font-size:1.4rem}
main#content-area #event-calendar .fc-button{background:#14523c;color:#fff;border:1px solid #14523c;border-radius:8px;min-height:44px;box-shadow:none;text-shadow:none}
main#content-area #event-calendar .fc-button:disabled{opacity:.6}
main#content-area #event-calendar :is(.fc-event,.fc-event .fc-title,.fc-event .fc-time){background:#14523c!important;color:#fff!important;border-color:#14523c!important}
main#content-area #event-calendar .fc-event{opacity:1}
main#content-area #event-calendar .fc-day-grid-event .fc-content{white-space:normal;font-size:.82rem;line-height:1.4;padding:.2rem}
main#content-area #event-calendar .fc-today{background:#edf5ef}
main#content-area:has(#event-calendar) .circle-articles__img{display:none}
main#content-area:has(#event-calendar) .circle-articles article{background:#fff;border:1px solid #d3e2d7;border-radius:12px;padding:1.2rem;margin:.5rem 0}
main#content-area:has(#event-calendar) .circle-articles__title{font-size:1.1rem;margin:0}
/* Public resource pages; preserve red emergency panels and existing alert meanings. */
main.nx-directory{max-width:1140px;padding:2rem 1rem 3rem;margin:0 auto}
main.nx-directory .section-label,main.nx-directory .tif-lockup-topic{color:#316249;font-size:.75rem;letter-spacing:.08em}
main.nx-directory .grid .card{padding:1.2rem}
main.nx-directory .grid .card>a{font-weight:700}
main.tif-main.tif-side-grid:has(.tw) .tw{border:1px solid #d3e2d7;border-radius:12px;overflow-x:auto;background:#fff}
main.tif-main.tif-side-grid:has(.tw) th{background:#edf5ef;color:#19372c}
body:has(main.wrap>.call911)>header.app,body:has(main.wrap>#summary)>.tif-hero{background:#edf5ef;color:#19372c;border-bottom:1px solid #c5dbcc;padding:2rem 1rem}
body:has(main.wrap>.call911)>header.app :is(h1,p,.brand,.brand span),body:has(main.wrap>#summary)>.tif-hero :is(h1,p,.tif-lockup-brand,.tif-lockup-topic){color:#19372c;opacity:1}
body:has(main.wrap>.call911)>header.app h1,body:has(main.wrap>#summary)>.tif-hero h1{font-size:clamp(2rem,4.5vw,3rem);line-height:1.15;letter-spacing:-.04em}
:is(main.nx-page,main.nx-directory,main#content-area:has(.tif-contact-sheet),main#content-area:has(#event-calendar),main.tif-main.tif-side-grid:has(.tw),main.wrap:has(>.call911),main#tif-main:has(#needsrc),main.wrap:has(>#summary),main.food) .call911 a{color:#fff}
main.wrap:has(>.call911) :is(.key,.c){border-color:#d3e2d7;border-radius:12px;background:#fff}
main.wrap:has(>.call911) .grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
main.wrap:has(>.call911) .c .ph a{background:#edf5ef;color:#14523c;border-color:#c5dbcc}
main.wrap:has(>.call911) .tools{position:static;background:#fff;border:1px solid #d3e2d7;border-radius:14px;padding:1rem}
main.wrap:has(>.call911) .chips{flex-wrap:wrap;overflow:visible}
main.wrap:has(>.call911) .chips button{min-height:42px;background:#edf5ef;color:#14523c;border-color:#c5dbcc}
main.wrap:has(>.call911) .chips button.on{background:#14523c;color:#fff}
main.wrap:has(>#summary) :is(.summary b,.need b){color:#14523c}
main.wrap:has(>#summary) :is(.summary>div,.side .box,.city,.day){background:#fff;border-color:#d3e2d7;border-radius:12px}
main.wrap:has(>#summary) .controls button{min-height:42px;background:#edf5ef;color:#14523c;border-color:#c5dbcc}
main.wrap:has(>#summary) .controls button.on{background:#14523c;color:#fff}
main.wrap:has(>#summary) .days{grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr));overflow:visible}
main#tif-main:has(#needsrc)>header.app{padding:2rem 1rem}
main#tif-main:has(#needsrc) .need b{color:#14523c}
main#tif-main:has(#needsrc) .tabs button{min-height:42px;background:#edf5ef;color:#14523c;border-color:#c5dbcc}
main#tif-main:has(#needsrc) .tabs button.on{background:#14523c;color:#fff}
main.food{background:#f5f8f5}
main.food .hero{padding:2rem 1rem}
main.food .hero h1{max-width:24ch}
main.food .record{border-top:3px solid #14523c}
main.food .record .go,main.food .btn{border-radius:8px}
@media(max-width:700px){main.nx-page :is(.nx-grid,.nx-three){grid-template-columns:1fr}main.nx-page>.hero{padding:1.8rem 1rem}main.nx-page .nx-card{padding:1.2rem}main.nx-page .nx-section{margin:1.5rem 0}main#content-area:has(:is(.tif-contact-sheet,#event-calendar)){padding:1.4rem 1rem}main#content-area #event-calendar{padding:.5rem}main#content-area #event-calendar .fc-toolbar{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;justify-content:space-between}main#content-area #event-calendar .fc-toolbar .fc-left,main#content-area #event-calendar .fc-toolbar .fc-right{float:none}main#content-area #event-calendar .fc-toolbar h2{font-size:1.2rem}main#content-area #event-calendar .fc-event .fc-content{font-size:.72rem;overflow-wrap:anywhere}main.wrap:has(>.call911) .tools input[type=search]{min-width:0;width:100%}}
@media print{main.nx-page .nx-actions,main.nx-page .nx-jumps{display:none}main.nx-page>.hero{background:#fff;border:0}main.nx-page .nx-grid{display:block}main.nx-page .nx-card{break-inside:avoid;margin:.7rem 0;box-shadow:none}}
