/* UI/UX Pro Max adaptation: original premium editorial system for Волгоград сегодня.
   Semantic design tokens, accessible states, resilient text, purposeful motion.
   This is a last-loaded stylesheet so v1.8 templates and business logic stay intact. */
:root,
html[data-theme='light']{
  --u-ink:#172638;--u-ink-secondary:#425369;--u-muted:#526274;
  --u-brand:#ae263e;--u-brand-hover:#89192e;--u-teal:#126b62;
  --u-surface:#fff;--u-paper:#f7f8f7;--u-soft:#edf3f1;
  --u-line:#d9e0e4;--u-focus:#155fb0;
  --u-radius:10px;--u-radius-sm:7px;--u-shadow:0 12px 38px rgba(20,40,55,.07);
  --u-space-1:4px;--u-space-2:8px;--u-space-3:12px;--u-space-4:16px;
  --u-space-6:24px;--u-space-8:32px;--u-space-12:48px;
  --u-duration:170ms;
}
html[data-theme='dark']{
  --u-ink:#f1f5f8;--u-ink-secondary:#d1dce7;--u-muted:#b8c8d5;
  --u-brand:#ff899b;--u-brand-hover:#ffd0d8;--u-teal:#91d7ca;
  --u-surface:#1b2a39;--u-paper:#0f1a26;--u-soft:#213848;
  --u-line:#415366;--u-focus:#a6ceff;
  --u-shadow:0 14px 36px rgba(0,0,0,.22);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:76px;text-size-adjust:100%;-webkit-text-size-adjust:100%}
body{background:var(--u-paper)!important;color:var(--u-ink)!important;overflow-wrap:break-word}
main,section,article,aside{min-width:0}
img,svg,video{max-width:100%}
.ui-icon{display:block;width:20px;height:20px;flex:0 0 auto}
button,a,select,input,textarea{touch-action:manipulation}
a,button,[type='submit'],select{cursor:pointer}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,
[tabindex]:focus-visible{outline:3px solid var(--u-focus)!important;outline-offset:3px!important}
button:disabled{cursor:not-allowed;opacity:.5}
button:active,.btn-primary:active,.submit-tip:active{filter:brightness(.93)}
.skip-link{z-index:1000!important}
/* Brand / navigation: calm Swiss editorial hierarchy, not a SaaS marketing page. */
.utility{background:#152438!important}
.utility-inner{min-height:34px!important;height:auto!important;padding-top:7px;padding-bottom:7px;gap:12px}
.utility-inner>span{letter-spacing:.12em!important}
.site-header{background:var(--u-surface)!important}
.masthead{min-height:86px!important}
.logo-monogram{background:#142638!important;border-radius:var(--u-radius-sm)!important}
.logo-wordmark strong{letter-spacing:-.056em!important;color:var(--u-ink)!important}
.logo-wordmark>span{color:var(--u-muted)!important}
.theme-toggle{min-height:44px!important;min-width:44px!important;background:var(--u-paper)!important;color:var(--u-ink)!important;border:1px solid var(--u-line)!important;border-radius:var(--u-radius-sm)!important}
.theme-toggle:hover{background:var(--u-soft)!important}
.theme-toggle .ui-icon{width:18px;height:18px}
.submit-tip{min-height:44px!important;background:#af2e43!important;border-color:#af2e43!important;color:#fff!important;border-radius:var(--u-radius-sm)!important;display:inline-flex;align-items:center}
.submit-tip:hover{background:#8b1e34!important}
.mobile-menu-btn{min-height:44px!important;border-radius:var(--u-radius-sm)!important}
.mobile-menu-btn .ui-icon{width:19px;height:19px}
.navigation-line{background:var(--u-surface)!important;border-color:var(--u-line)!important}
.navigation-inner{min-height:56px!important}
.top-nav{gap:clamp(12px,1.35vw,23px)!important}
.top-nav a{position:relative;height:56px;font-size:13px!important;color:var(--u-ink-secondary)!important;font-weight:700}
.top-nav a:first-child{color:var(--u-ink-secondary)!important;border-color:transparent!important}
.top-nav a:hover,.top-nav a[aria-current='page']{color:var(--u-brand)!important;border-color:var(--u-brand)!important}
.header-search{height:42px!important;border-radius:var(--u-radius-sm)!important;min-width:168px!important;border:1px solid var(--u-line)!important;background:var(--u-paper)!important}
.header-search input{font-size:13px!important;min-width:0!important;color:var(--u-ink)!important}
.header-search input::placeholder{color:var(--u-muted)!important;opacity:1}
.header-search button{display:grid;place-items:center;min-width:42px!important;min-height:40px!important;color:var(--u-ink)!important}
.header-search button .ui-icon{width:17px;height:17px}
/* Date, urgent city services and headlines. */
.home-kicker{border-color:var(--u-line)!important;min-height:42px!important;gap:12px}
.home-kicker-label{color:var(--u-brand)!important;font-size:10px!important}
.home-kicker-date{color:var(--u-muted)!important}
.home-kicker>a{color:var(--u-teal)!important;min-height:32px;display:inline-flex;align-items:center}
.city-morning-bar{background:var(--u-surface)!important;border-color:var(--u-line)!important;border-radius:var(--u-radius-sm)!important;gap:16px;min-height:50px;padding:9px 17px}
.pulse-caption{color:var(--u-brand)!important}
.pulse-links a{color:var(--u-ink-secondary)!important;font-size:12px!important;display:inline-flex;align-items:center;min-height:30px}
.pulse-links a:hover{color:var(--u-brand)!important}
.home-heading{padding:clamp(25px,3vw,45px) 0 24px!important;align-items:end!important}
.home-heading .eyebrow{color:var(--u-muted)!important}
.home-heading h1{font-size:clamp(38px,4.6vw,67px)!important;line-height:1.05!important;letter-spacing:-.064em!important;color:var(--u-ink)!important;text-wrap:balance}
.home-heading h1 em{color:var(--u-brand)!important}
.home-heading>p{font-size:14px!important;line-height:1.66!important;color:var(--u-ink-secondary)!important;max-width:340px!important;border-color:var(--u-line)!important}
.home-section-line{border-color:var(--u-line)!important;padding-bottom:15px!important;margin-bottom:18px!important;gap:14px}
.home-section-line h2{font-size:clamp(25px,2.5vw,34px)!important;line-height:1.17!important;letter-spacing:-.04em!important;color:var(--u-ink)!important;text-wrap:balance}
.home-section-line .eyebrow,.city-tools-heading .eyebrow{color:var(--u-brand)!important}
.section-more{font-size:12px!important;color:var(--u-ink-secondary)!important;border-color:var(--u-line)!important;white-space:normal}
.section-more:hover{color:var(--u-brand)!important;border-color:var(--u-brand)!important}
.portal-hero-grid{gap:20px!important;grid-template-columns:minmax(0,1.68fr) minmax(275px,.84fr)!important;align-items:stretch}
.portal-feature .news-card.featured{border-radius:var(--u-radius)!important;background:var(--u-surface)!important;border-color:var(--u-line)!important;box-shadow:var(--u-shadow)!important}
.portal-feature .news-card.featured .card-media{height:215px!important;aspect-ratio:16/7.5;overflow:hidden}
.portal-feature .news-card.featured .card-body{padding:25px 30px 27px!important;background:var(--u-surface)!important}
.portal-feature .news-card.featured .featured-bubble{background:#a7253a!important;color:#fff!important;border-radius:4px!important;padding:7px 10px!important}
.portal-feature .news-card.featured .card-kicker{color:var(--u-brand)!important;font-size:11px!important}
.portal-feature .news-card.featured h3{font-size:clamp(30px,3vw,42px)!important;line-height:1.19!important;color:var(--u-ink)!important;letter-spacing:-.039em!important;text-wrap:pretty}
.portal-feature .news-card.featured p{font-size:14px!important;line-height:1.6!important;color:var(--u-ink-secondary)!important}
.portal-feature .news-card.featured:not(.has-image) .card-body{background:linear-gradient(132deg,#20394e,#112638)!important;min-height:340px!important}
.portal-feature .news-card.featured:not(.has-image) h3{color:#fff!important}
.portal-feature .news-card.featured:not(.has-image) p{color:#dce7ee!important}
.portal-feature .news-card.featured:not(.has-image) .card-kicker{color:#ffb8c4!important}
.portal-feature .news-card.featured .card-meta{color:var(--u-muted)!important;border-color:var(--u-line)!important;font-size:11px!important}
.portal-brief{padding:23px 25px!important;border:1px solid var(--u-line)!important;border-radius:var(--u-radius)!important;background:var(--u-surface)!important;box-shadow:0 5px 22px rgba(20,40,55,.035)}
.brief-heading{color:var(--u-ink)!important;font-size:20px!important}
.brief-heading>span{color:var(--u-muted)!important}
.brief-item{gap:14px!important;padding:18px 0!important;border-color:var(--u-line)!important}
.brief-item strong{font-size:15px!important;line-height:1.39!important;color:var(--u-ink)!important}
.brief-item small:first-child{color:var(--u-brand)!important}
.brief-item small:last-child{color:var(--u-muted)!important}
.brief-number{font-family:Georgia,serif;color:var(--u-muted)!important}
.brief-bottom{color:var(--u-brand)!important;min-height:42px;display:flex;align-items:center}
.portal-feature .news-card:hover h3,.brief-item:hover strong{color:var(--u-brand)!important}
/* City tools and reader-controlled district: recognisable icons, large targets. */
.city-tools-heading{margin-top:35px!important}
.city-tools-heading h2{color:var(--u-ink)!important;font-size:26px!important}
.home-services{background:var(--u-surface)!important;border-color:var(--u-line)!important;border-radius:var(--u-radius)!important;overflow:hidden}
.home-services>a{min-height:100px!important;padding:16px 17px!important;gap:12px!important;border-color:var(--u-line)!important}
.home-services>a:hover{background:var(--u-soft)!important}
.home-services .service-icon{height:43px!important;width:43px!important;flex:0 0 43px!important;background:var(--u-soft)!important;border:1px solid var(--u-line)!important;border-radius:var(--u-radius-sm)!important;color:var(--u-teal)!important;display:grid;place-items:center}
.service-icon .ui-icon{width:23px;height:23px}
.home-services strong{font-size:13px!important;line-height:1.35!important;color:var(--u-ink)!important}
.home-services small{font-size:11px!important;line-height:1.5!important;color:var(--u-muted)!important}
.service-arr{color:var(--u-brand)!important}
.district-module{background:var(--u-soft)!important;border:1px solid var(--u-line)!important;border-radius:var(--u-radius)!important;min-height:85px!important;padding:15px 20px!important;margin-top:16px!important}
.district-mark{display:grid;place-items:center;color:var(--u-teal)!important}
.district-mark .ui-icon{width:25px;height:25px}
.district-module-caption strong{font-size:14px!important;color:var(--u-ink)!important}
.district-module-caption small,.district-privacy{color:var(--u-muted)!important;font-size:11px!important;line-height:1.5!important}
.district-picker select{min-height:44px!important;background:var(--u-surface)!important;color:var(--u-ink)!important;border:1px solid var(--u-line)!important;font-size:13px!important}
.district-picker button{min-height:44px!important;background:#11665c!important;color:#fff!important;font-size:13px!important}
.district-picker button:hover{background:#0a4b43!important}
/* News grid, stories, section content. */
.portal-latest{margin:47px 0 48px!important}
.portal-news-grid{gap:21px!important}
.portal-news-grid .news-card,.story-tiles a,.bulletin,.reader-cta{border-radius:var(--u-radius)!important;border-color:var(--u-line)!important}
.portal-news-grid .news-card{background:var(--u-surface)!important;box-shadow:0 2px 15px rgba(20,40,55,.025)!important;overflow:hidden}
.portal-news-grid .card-media{height:200px!important;aspect-ratio:16/9;overflow:hidden}
.portal-news-grid .card-media img,.portal-feature .card-media img{width:100%;height:100%;object-fit:cover}
.portal-news-grid .card-body{padding:20px 22px 21px!important}
.portal-news-grid .card-body h3{font-size:20px!important;line-height:1.36!important;letter-spacing:-.028em!important;color:var(--u-ink)!important;text-wrap:pretty}
.portal-news-grid .card-body p{font-size:13px!important;line-height:1.58!important;color:var(--u-ink-secondary)!important}
.portal-news-grid .card-kicker{color:var(--u-brand)!important;font-size:10px!important}
.news-card:hover{transform:translateY(-2px)!important;box-shadow:var(--u-shadow)!important}
.card-meta{border-color:var(--u-line)!important;color:var(--u-muted)!important}
.portal-local{background:#1b3043!important;border-radius:var(--u-radius)!important}
.portal-local h2 em{color:#f7b3bd!important}
.story-tiles a,.bulletin{background:var(--u-surface)!important}
.reader-cta{background:#1b3043!important;color:#fff!important}
/* Reading experience: legible paragraphs, visible sources, font controls. */
.article-v09{padding-top:39px!important;gap:clamp(30px,4.5vw,75px)!important}
.article-v09 .story h1{font-size:clamp(37px,4.35vw,62px)!important;line-height:1.14!important;letter-spacing:-.045em!important;color:var(--u-ink)!important;text-wrap:balance}
.article-v09 .story-lead{font-size:clamp(18px,1.8vw,22px)!important;line-height:1.65!important;color:var(--u-ink-secondary)!important;max-width:64ch}
.article-v09 .story-content{font-family:Georgia,'Times New Roman',serif!important;font-size:var(--reader-font-size,19px)!important;line-height:1.8!important;color:var(--u-ink)!important;max-width:72ch!important}
.article-v09 .story-content p{max-width:72ch}
.article-v09 .story-content h2{font-size:clamp(25px,2.35vw,32px)!important;line-height:1.28!important;color:var(--u-ink)!important}
.article-v09 .story-content a{color:var(--u-brand)!important;text-underline-offset:4px}
.article-v09 .story-content blockquote{background:var(--u-soft)!important;border-color:var(--u-teal)!important;color:var(--u-ink)!important;border-radius:0 var(--u-radius-sm) var(--u-radius-sm) 0}
.article-v09 .story-meta{border-color:var(--u-line)!important;color:var(--u-muted)!important;line-height:1.6!important}
.article-v09 .article-utility{border-color:var(--u-line)!important;gap:12px!important}
.article-v09 .article-font-btn{min-width:44px!important;min-height:44px!important;background:var(--u-surface)!important;border-color:var(--u-line)!important;color:var(--u-ink)!important}
.article-v09 .source-note{background:var(--u-soft)!important;border-left:4px solid var(--u-teal)!important;color:var(--u-ink)!important;border-radius:0 var(--u-radius-sm) var(--u-radius-sm) 0;scroll-margin-top:90px}
.article-v09 .source-note span{color:var(--u-ink-secondary)!important}
.article-v09 .source-note a{color:var(--u-teal)!important}
.article-v09 .sidebar-box{background:var(--u-surface)!important;color:var(--u-ink)!important;border-color:var(--u-line)!important;border-radius:var(--u-radius)!important}
.article-v09 .sidebar-box p{color:var(--u-ink-secondary)!important}
.article-v09 .cover img{border-radius:var(--u-radius)!important}
/* Shared forms + CRM: align permission-controlled content without backend changes. */
.crm-page .subhead{padding-bottom:28px;border-color:var(--u-line)}
.crm-page .subhead h1{color:var(--u-ink)!important;font-size:clamp(35px,4vw,56px)!important}
.crm-page .subhead p{color:var(--u-ink-secondary)!important}
.crm-page .subhead a{color:var(--u-teal)!important;text-decoration:underline;text-underline-offset:3px}
.crm-page .dashboard-review.crm-panel{padding:24px 26px;margin:22px 0!important;background:var(--u-surface)!important;border:1px solid var(--u-line)!important;border-radius:var(--u-radius)!important;box-shadow:0 5px 22px rgba(14,32,48,.035)}
.crm-panel-head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:14px}
.crm-panel-head .eyebrow{font-size:10px!important;color:var(--u-brand)!important;margin-bottom:5px!important}
.crm-panel h2{font-size:22px!important;line-height:1.25!important;color:var(--u-ink)!important;margin-bottom:12px}
.crm-panel-head h2{margin-bottom:0}
.crm-stat{display:flex;align-items:baseline;gap:8px;background:var(--u-soft);border:1px solid var(--u-line);padding:8px 14px;border-radius:var(--u-radius-sm);white-space:nowrap}
.crm-stat strong{font-size:28px;line-height:1.1;color:var(--u-ink)}
.crm-stat span{font-size:12px;color:var(--u-muted)}
.crm-table-wrap{border:1px solid var(--u-line)!important;border-radius:var(--u-radius-sm);overflow-x:auto;-webkit-overflow-scrolling:touch}
.crm-table{min-width:630px!important;background:var(--u-surface)}
.crm-table th{color:var(--u-muted)!important;font-size:11px!important;text-transform:uppercase;letter-spacing:.08em;background:var(--u-paper)!important}
.crm-table th,.crm-table td{border-color:var(--u-line)!important;padding:15px 17px!important;text-align:left!important;line-height:1.5}
.crm-table tbody tr:hover{background:var(--u-soft)}
.crm-table td a{color:var(--u-teal)!important;text-decoration:underline;text-underline-offset:3px}
.crm-field input,.crm-field select,.crm-field textarea,.reader-form input,.reader-form textarea{background:var(--u-surface)!important;color:var(--u-ink)!important;border-color:var(--u-line)!important;border-radius:var(--u-radius-sm)!important;min-height:44px;font-size:16px!important}
.crm-field label{color:var(--u-ink)!important;font-size:14px;font-weight:700}
.crm-field small{color:var(--u-muted)!important}
.crm-field .error,.error{color:#ad2841!important}
.crm-page .btn-primary{min-height:44px!important;border-radius:var(--u-radius-sm)!important}
/* Dark colors must override v1.2's legacy !important declarations. */
html[data-theme='dark'] .site-header,html[data-theme='dark'] .navigation-line,
html[data-theme='dark'] .city-morning-bar,html[data-theme='dark'] .portal-brief,
html[data-theme='dark'] .home-services,html[data-theme='dark'] .news-card,
html[data-theme='dark'] .portal-feature .news-card.featured .card-body,
html[data-theme='dark'] .portal-news-grid .news-card,html[data-theme='dark'] .bulletin,
html[data-theme='dark'] .story-tiles a,html[data-theme='dark'] .sidebar-box,
html[data-theme='dark'] .crm-page .dashboard-review.crm-panel{background:var(--u-surface)!important;border-color:var(--u-line)!important;color:var(--u-ink)!important}
html[data-theme='dark'] .home-heading h1,html[data-theme='dark'] .home-section-line h2,
html[data-theme='dark'] .portal-feature .news-card.featured h3,html[data-theme='dark'] .portal-news-grid h3,
html[data-theme='dark'] .brief-item strong,html[data-theme='dark'] .brief-heading,
html[data-theme='dark'] .story h1,html[data-theme='dark'] .story-content,
html[data-theme='dark'] .city-tools-heading h2{color:var(--u-ink)!important}
html[data-theme='dark'] .home-heading>p,html[data-theme='dark'] .portal-feature .news-card.featured p,
html[data-theme='dark'] .portal-news-grid p,html[data-theme='dark'] .story-lead,
html[data-theme='dark'] .story-content p,html[data-theme='dark'] .home-services small{color:var(--u-ink-secondary)!important}
html[data-theme='dark'] .home-kicker,html[data-theme='dark'] .home-section-line,
html[data-theme='dark'] .brief-item,html[data-theme='dark'] .story-meta{border-color:var(--u-line)!important}
html[data-theme='dark'] .top-nav a[aria-current='page']{color:var(--u-brand)!important;border-color:var(--u-brand)!important}
html[data-theme='dark'] .top-nav a:first-child:not([aria-current='page']){color:var(--u-ink-secondary)!important;border-color:transparent!important}
html[data-theme='dark'] .district-module{background:var(--u-soft)!important;border-color:var(--u-line)!important}
html[data-theme='dark'] .home-services .service-icon{background:var(--u-soft)!important;border-color:var(--u-line)!important;color:var(--u-teal)!important}
html[data-theme='dark'] .district-picker select,html[data-theme='dark'] .article-font-btn,
html[data-theme='dark'] .crm-field input,html[data-theme='dark'] .crm-field textarea,
html[data-theme='dark'] .crm-field select{background:var(--u-surface)!important;color:var(--u-ink)!important;border-color:var(--u-line)!important}
/* Adaptive layout at 1024, 850, 600, 375. No auto-swiping content; visible menu. */
@media(max-width:1160px){.top-nav{gap:11px!important}.top-nav a{font-size:12px!important}.masthead-actions{gap:9px!important}}
@media(max-width:1024px){
  .portal-hero-grid{grid-template-columns:minmax(0,1.45fr) minmax(270px,.9fr)!important;gap:14px!important}
  .portal-feature .news-card.featured .card-media{height:215px!important}
  .home-services>a{padding:13px 12px!important}
}
@media(max-width:850px){
  .masthead{min-height:76px!important}
  .navigation-line{position:relative!important;top:auto!important}
  .navigation-inner{display:flex;align-items:stretch;flex-direction:column;gap:10px;padding:0 0 10px}
  .top-nav{width:100%!important;max-height:none!important;overflow:visible!important}
  .top-nav:not(.open){display:none!important}
  .top-nav.open{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px!important;padding:8px 0!important}
  .top-nav.open a{min-height:44px!important;height:auto!important;padding:11px 12px;background:var(--u-paper);border:1px solid var(--u-line)!important;border-radius:var(--u-radius-sm)!important;color:var(--u-ink)!important;white-space:normal}
  .top-nav.open a[aria-current='page']{background:var(--u-soft)!important;color:var(--u-brand)!important;border-color:var(--u-brand)!important}
  .header-search{width:100%!important;min-width:0!important;display:flex!important}
  .header-search input{flex:1!important;font-size:16px!important}
  .portal-hero-grid{grid-template-columns:1fr!important}
  .portal-feature .news-card.featured .card-media{height:215px!important}
  .portal-brief{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
  .brief-heading,.brief-bottom{grid-column:1/-1}
  .home-heading h1{font-size:clamp(38px,6.5vw,57px)!important}
  .article-v09{grid-template-columns:1fr!important}
}
@media(max-width:600px){
  .wrap{width:min(calc(100% - 32px),var(--w))!important}
  .utility-inner{min-height:32px!important}.utility-inner>span{font-size:8px!important;letter-spacing:.055em!important}
  .masthead{min-height:75px!important}
  .logo-monogram{width:42px!important;height:42px!important;font-size:23px!important}
  .logo-wordmark strong{font-size:19px!important}
  .logo-wordmark>span{font-size:8px!important;letter-spacing:.08em!important}
  .masthead-actions{gap:8px!important}
  .theme-toggle,.mobile-menu-btn{min-height:44px!important;min-width:44px!important}
  .mobile-menu-btn{font-size:12px!important}
  .home-kicker{min-height:38px!important;height:auto!important}.home-kicker>a{font-size:10px!important}
  .city-morning-bar{padding:12px!important;gap:6px!important}.pulse-links{gap:4px 14px!important}
  .pulse-links a{font-size:12px!important;min-height:32px}
  .pulse-links a:last-child{display:inline-flex!important}
  .home-heading{padding:22px 0 18px!important}.home-heading h1{font-size:clamp(35px,10vw,47px)!important}
  .home-heading>p{display:none!important}
  .home-section-line{margin-bottom:16px!important}.home-section-line h2{font-size:25px!important}
  .section-more{font-size:11px!important}
  .portal-feature .news-card.featured .card-media{height:155px!important}
  .portal-feature .news-card.featured .card-body{padding:20px!important}
  .portal-feature .news-card.featured h3{font-size:clamp(28px,7.8vw,36px)!important}
  .portal-feature .news-card.featured p{font-size:13px!important}
  .portal-feature .news-card.featured:not(.has-image) .card-body{min-height:270px!important}
  .portal-brief{display:block!important;padding:16px 19px!important}
  .brief-item{padding:15px 0!important}.brief-item strong{font-size:15px!important}
  .city-tools-heading{margin-top:31px!important}.city-tools-heading h2{font-size:24px!important}
  .home-services{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .home-services>a{min-height:122px!important;padding:13px!important;display:flex;flex-direction:column;align-items:flex-start;gap:8px!important}
  .home-services .service-icon{width:38px!important;height:38px!important;flex:0 0 38px!important}
  .service-icon .ui-icon{width:21px;height:21px}
  .home-services strong{font-size:13px!important}.home-services small{font-size:11px!important}
  .home-services .service-arr{display:none}
  .district-module{padding:17px!important;gap:12px!important}
  .district-module-caption strong{font-size:14px!important}
  .district-picker{width:100%;gap:8px}
  .district-picker select,.district-picker button{font-size:14px!important;min-height:46px!important}
  .portal-latest{margin:38px 0!important}.portal-news-grid{grid-template-columns:1fr!important;gap:16px!important}
  .portal-news-grid .card-media{height:195px!important}.portal-news-grid .card-body h3{font-size:21px!important}
  .article-v09{padding-top:25px!important}
  .article-v09 .story h1{font-size:clamp(34px,8.5vw,44px)!important}
  .article-v09 .story-content{font-size:var(--reader-font-size,18px)!important;line-height:1.72!important}
  .crm-page .dashboard-review.crm-panel{padding:17px 15px!important}
  .crm-panel h2{font-size:20px!important}
  .crm-table td,.crm-table th{padding:12px!important}
}
@media(max-width:375px){
  .wrap{width:calc(100% - 26px)!important}
  .logo-wordmark strong{font-size:17px!important}
  .logo-wordmark>span{font-size:7px!important}
  .logo-monogram{width:37px!important;height:39px!important;flex-shrink:0}
  .masthead-actions{gap:5px!important}
  .top-nav.open{grid-template-columns:1fr!important}
  .home-services>a{padding:11px!important}
  .home-heading h1{font-size:34px!important}
  .portal-feature .news-card.featured h3{font-size:27px!important}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
/* Dark-theme controls retain readable icon, label and focus contrast. */
html[data-theme='dark'] .theme-toggle,
html[data-theme='dark'] .mobile-menu-btn{
  color:var(--u-ink)!important;
  background:var(--u-soft)!important;
  border:1px solid var(--u-line)!important;
}
html[data-theme='dark'] .theme-toggle .ui-icon,
html[data-theme='dark'] .mobile-menu-btn .ui-icon{color:var(--u-ink)!important}
