/* SchoolFinder V16.0 — connected digital blue. Loaded after legacy layout CSS. */
html[data-sf-digital],html[data-sf-digital].dark{color-scheme:dark!important;--ink:#f0faff!important;--muted:#bbd8e8!important;--accent:#8ce9ff!important;--line:#5287a1!important;--paper:#153e58!important;--panel:#153e58!important;--bg:#0c3049!important;--sf-bg:#0c3049;--sf-panel:#153e58;--sf-ink:#f0faff;--sf-muted:#bbd8e8;--sf-accent:#8ce9ff;--sf-line:#5287a1}
html[data-sf-digital] body{background:radial-gradient(ellipse at 85% 0%,#347d9f 0%,#174c6b 34%,#0c3049 78%) fixed!important;color:var(--sf-ink)!important;line-height:1.55;min-height:100vh}
html[data-sf-digital] body a{color:var(--sf-accent)!important}html[data-sf-digital] body :is(h1,h2,h3,h4,h5,label,strong,legend){color:var(--sf-ink)!important}html[data-sf-digital] body :is(small,.muted,.eyebrow,.intro span,.sf-price-note,.sf-price-card p,.workspace a>span:not(.tile-icon),.sgmetric span,.ec-label){color:var(--sf-muted)!important}
html[data-sf-digital] body :is(header,.hero,.site-footer,footer,aside){background:linear-gradient(120deg,#123a56,#246d8e)!important;color:var(--sf-ink)!important;border-color:var(--sf-line)!important}
html[data-sf-digital] body :is(header p,header a,header label,header small,.hero-tag,.intel-heading,.intel-kicker,.intel-label){color:#c1f0ff!important}
html[data-sf-digital] body :is(section,article,.sf-price-card,.workspace a,.tool-group,.ec-promo,.ec-tiles span,.sgmetric,.flash,pre,.launch-kpis>div,.tiles a,.metrics article,.sf-admin-nav,nav:not(.sf153-bar),#message:not(:empty),.intro,.card,.panel){background:linear-gradient(140deg,#20536e,#153b55)!important;color:var(--sf-ink)!important;border-color:var(--sf-line)!important;box-shadow:0 8px 24px #06253735!important}
html[data-sf-digital] body :is(.sf-price-card.featured,.intel-records,.intel-sources){border-color:#8ce9ff!important;box-shadow:0 0 20px #69dcff24!important}
html[data-sf-digital] body header #metrics>div{background:linear-gradient(140deg,#286989,#16435d)!important;color:var(--sf-ink)!important;border:1px solid #7ac8e5!important;box-shadow:0 0 20px #5dd8ff1c!important}
html[data-sf-digital] body header #metrics :is(strong,small,.intel-label,.intel-kicker){color:#e9faff!important}
html[data-sf-digital] body :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){background:#e6f4fa!important;color:#102f48!important;border-color:#88b9ce!important;box-shadow:none!important}html[data-sf-digital] body ::placeholder{color:#4e6e80!important;opacity:1}
html[data-sf-digital] body :is(button,.button,.sf-price-action,.ec-cta,.sgquick a,.sf-admin-nav a,nav button,.tile-icon){background:linear-gradient(160deg,#296d8d,#16435e)!important;color:#f1fbff!important;border:1px solid #6aabc7!important;box-shadow:none!important;border-radius:9px!important}
html[data-sf-digital] body :is(button,.button,.sf-price-action,.sgquick a,.sf-admin-nav a):hover{background:#327c9e!important;border-color:#a6edff!important}
html[data-sf-digital] body :is(button.active,button[aria-pressed=true],.sf-admin-nav a[aria-current=page]){background:#b0edff!important;color:#102f48!important;border-color:#b0edff!important}
html[data-sf-digital] body :is(button.danger,.danger){background:#8f3044!important;color:white!important;border-color:#f1a1ae!important}
html[data-sf-digital] body :is(button:disabled,input:disabled){opacity:.55!important;cursor:not-allowed}
html[data-sf-digital] body :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid #b6efff!important;outline-offset:3px!important}
html[data-sf-digital] body :is(td,th,.school-row,.taskrow,.sf-plan-details,.footer-bottom){border-color:#5287a1!important}html[data-sf-digital] body :is(table,td,th){color:var(--sf-ink)!important}html[data-sf-digital] body th{background:#123a56!important}
html[data-sf-digital] body .sf-admin-brand{color:#e6f7ff!important}html[data-sf-digital] body .sf-admin-nav a{font-weight:600!important}html[data-sf-digital] body .site-footer :is(a,small),html[data-sf-digital] body .footer-bottom{color:#c5e6f4!important}
/* Existing accessible navigation component, no duplicate menu or translation engine. */
html[data-sf-digital] body #sf153-header{background:#12415d!important;color:#e8faff!important;border-bottom:1px solid #6ab4d1!important}
html[data-sf-digital] body #sf153-header .sf153-bar{gap:7px;justify-content:flex-start}
html[data-sf-digital] body #sf153-header :is(.sf153-tile,.sf153-lang){background:linear-gradient(155deg,#286d8c,#1a4d68)!important;color:#f0faff!important;border:1px solid #6aabc7!important;border-radius:10px!important;box-shadow:0 3px 9px #08273d40!important}
html[data-sf-digital] body #sf153-header .sf153-icon{color:#b4eeff!important;background:transparent!important}
html[data-sf-digital] body #sf153-header :is(.sf153-tile:hover,.sf153-tile[aria-expanded=true]){background:#347c9b!important;border-color:#b4eeff!important}
html[data-sf-digital] body #sf153-header .sf153-panel{background:#153e58!important;color:#f0faff!important;border-color:#7ab9d0!important}
html[data-sf-digital] body #sf153-header :is(.sf153-panel a,.sf153-language-option){background:transparent!important;color:#f0faff!important;border:0!important;box-shadow:none!important}
html[data-sf-digital] body #sf153-header :is(.sf153-panel a:hover,.sf153-language-option:hover,.sf153-language-option[aria-pressed=true]){background:#326e8b!important;color:#fff!important}
html[data-sf-digital] body #sf153-header .sf153-brand{background:linear-gradient(120deg,#123c58,#286c8b)!important;border-color:#5287a1!important}html[data-sf-digital] body #sf153-header .sf153-brand a{color:#f0faff!important}
html[data-sf-digital] body #sf153-header #sf-language-control[hidden]{display:none!important}
/* Home-only connected city backdrop. Content remains actual live forms and data. */
html[data-sf-digital=home] body>header:not(.sf153-old){background:linear-gradient(90deg,#103b58fa 0%,#154b68f5 42%,#1c60839c 72%,#236e8b40 100%),url('/digital-network16.svg') right center/auto 100% no-repeat,#1b5473!important;padding-block:clamp(28px,4vw,64px)!important;border-bottom:1px solid #6cb5d0!important}
html[data-sf-digital=home] body>header h1{font-size:clamp(32px,4.8vw,58px)!important;letter-spacing:-.035em!important}html[data-sf-digital=home] body>header :is(.hero-search,#metrics,.hero-tag,p){max-width:680px!important}
html[data-sf-digital] body :is(.leaflet-container,.leaflet-container *){color-scheme:light}html[data-sf-digital] body .leaflet-popup-content-wrapper{background:white!important;color:#142d4e!important}html[data-sf-digital] body .leaflet-popup-content :is(a,strong,h3){color:#174c75!important}
@media(max-width:700px){html[data-sf-digital=home] body>header:not(.sf153-old){background:linear-gradient(180deg,#103b58d9,#154b68fa),url('/digital-network16.svg') right top/auto 75% no-repeat,#1b5473!important}html[data-sf-digital] body #sf153-header .sf153-bar{gap:8px}html[data-sf-digital] body #sf153-header .sf153-tile{min-height:56px!important}html[data-sf-digital] body #sf153-header .sf153-label{overflow-wrap:anywhere}html[data-sf-digital] body :is(section,article){min-width:0}html[data-sf-digital] body .sf-admin-nav{gap:6px!important}}
@media(prefers-reduced-motion:reduce){html[data-sf-digital] body *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{html[data-sf-digital] body,html[data-sf-digital] body :is(section,article,header,pre,table,td,th){background:white!important;color:#111!important;box-shadow:none!important}html[data-sf-digital] body :is(h1,h2,h3,h4,strong,small,p,a,label){color:#111!important}html[data-sf-digital] body #sf153-header{display:none!important}}
