/* FCFW R35 Rev2 Hotfix 18 — vibrant, uplifting public theme overlay.
   Presentation only. Loaded after the existing public design system. */
:root{
  --r14-bg:#f4fbff;--r14-paper:#ffffff;--r14-paper2:#eef9f7;--r14-ink:#17324a;--r14-muted:#587083;
  --r14-navy:#126fc4;--r14-blue:#238fe5;--r14-cyan:#19b8c4;--r14-gold:#e9aa18;--r14-gold2:#ffe19a;
  --r14-red:#ee6658;--r14-line:#cfe4ed;--r14-line2:#e8f2f6;
  --r14-shadow:0 24px 70px rgba(32,104,145,.14);--r14-shadow-sm:0 10px 30px rgba(32,104,145,.10);
  --fcfw-v-sky:#238fe5;--fcfw-v-sky2:#73c8ff;--fcfw-v-teal:#13b8a6;--fcfw-v-green:#45bf75;
  --fcfw-v-gold:#f0b323;--fcfw-v-coral:#ff7164;--fcfw-v-violet:#7a67e8;--fcfw-v-ink:#17324a;
  --fcfw-v-soft:#f5fbff;--fcfw-v-cream:#fffaf0;
}
html{background:#f4fbff!important}
body:not(.linked-public){background:
  radial-gradient(circle at 8% 5%,rgba(115,200,255,.16),transparent 25rem),
  radial-gradient(circle at 92% 18%,rgba(69,191,117,.10),transparent 26rem),
  linear-gradient(180deg,#f9fdff 0%,#f4fbff 55%,#fffaf4 100%)!important;color:var(--fcfw-v-ink)!important}
body:not(.linked-public) :focus-visible{outline-color:rgba(35,143,229,.48)!important}
body:not(.linked-public) a{color:#126fc4}

/* Public chrome — same menu, brighter atmosphere. */
.fcfw-public-global-header{background:rgba(255,255,255,.94)!important;border-bottom:1px solid rgba(35,143,229,.16)!important;box-shadow:0 12px 34px rgba(34,112,157,.10)!important;backdrop-filter:blur(18px) saturate(1.28)!important}
.fcfw-public-global-header .fcfw-brand img{border-color:#c7e8f6!important;box-shadow:0 8px 24px rgba(35,143,229,.14)!important}
.fcfw-public-global-header .fcfw-public-menu>a:hover{background:linear-gradient(135deg,#eef9ff,#ecfbf7)!important;border-color:#bfe7ec!important;color:#0f70bd!important}
.fcfw-public-global-header .fcfw-public-dashboard-link,.fcfw-public-global-header .fcfw-public-login-link{background:linear-gradient(135deg,#167fda,#17aaaf)!important;border-color:#167fda!important;box-shadow:0 8px 20px rgba(35,143,229,.18)!important}
.fcfw-public-global-header .fcfw-public-account-link{border-color:#bfe0ed!important;background:#f8fdff!important;color:#126fc4!important}
.fcfw-public-global-header .nav-toggle{border-color:#bfe0ed!important;background:linear-gradient(135deg,#fff,#f1fbff)!important}
.fcfw-public-global-footer{background:linear-gradient(135deg,#e9f8ff 0%,#ecfbf5 52%,#fff6df 100%)!important;border-top:1px solid #c6e5ec!important}
.fcfw-public-global-footer a:hover{background:#fff!important;box-shadow:0 8px 24px rgba(35,143,229,.12)!important}

/* Shared public surfaces. */
body:not(.linked-public) :is(.panel,.card,.surface,.survey-card,.polled-card,.press-card,.career-card,.public-file-card,.public-file-details,.share-card,.pubpublic-story,.public-object-card){border-color:#cfe4ed!important;box-shadow:0 12px 34px rgba(34,112,157,.09)!important}
body:not(.linked-public) :is(input,select,textarea){border-color:#badbe7!important;background:#fff!important}
body:not(.linked-public) :is(button,.button):not(.fcfw-public-logout):not(.nav-toggle){border-color:#1889d0;color:#fff;background:linear-gradient(135deg,#238fe5,#13b8a6);box-shadow:0 8px 20px rgba(35,143,229,.16)}
body:not(.linked-public) :is(button,.button):not(.fcfw-public-logout):not(.nav-toggle):hover{filter:saturate(1.08) brightness(1.03)}

/* Landing: keep the strong visual, replace near-black with optimistic depth. */
body.fcfw-h4-public{--h4-black:#0b69bd;--h4-ink:#17324a;--h4-navy:#116da8;--h4-navy2:#178f9e;--h4-paper:#f7fcff;--h4-paper2:#eefaf5;--h4-text:#486779;--h4-muted:#6d8492;--h4-gold:#f0b323;--h4-gold2:#ffe29a;--h4-red:#ff7164;--h4-line:#cce4ec;background:#f7fcff!important}
.fcfw-h4-public .h4{background:#f7fcff!important;color:#17324a!important}
.fcfw-h4-public .h4-hero{background:linear-gradient(125deg,#126ec4 0%,#168fc2 38%,#12a99f 70%,#44bd78 100%)!important;color:#fff!important}
.fcfw-h4-public .h4-hero:after{background:linear-gradient(90deg,rgba(8,67,124,.83) 0%,rgba(9,102,151,.54) 48%,rgba(13,150,131,.18) 100%)!important}
.fcfw-h4-public .h4-hero-grid{background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px)!important}
.fcfw-h4-public .h4-hero-glow-a{background:radial-gradient(circle,rgba(255,225,122,.48),rgba(255,225,122,0) 68%)!important}
.fcfw-h4-public .h4-hero-glow-b{background:radial-gradient(circle,rgba(255,113,100,.28),rgba(255,113,100,0) 70%)!important}
.fcfw-h4-public .h4-kicker{color:#e9f8ff!important}.fcfw-h4-public .h4-kicker span{color:#fff3bd!important;border-color:rgba(255,236,163,.75)!important;background:rgba(255,255,255,.08)!important}
.fcfw-h4-public .h4-hero h1 em{color:#fff0a8!important;text-shadow:0 4px 18px rgba(16,80,100,.18)!important}
.fcfw-h4-public .h4-hero-lede{color:#eefcff!important}.fcfw-h4-public .h4-hero-proof span{color:#e6f8fb!important}.fcfw-h4-public .h4-hero-proof i{background:#ffe279!important}
.fcfw-h4-public .h4-button-gold{background:linear-gradient(135deg,#ffd85a,#ffb92f)!important;color:#17324a!important;box-shadow:0 12px 28px rgba(131,89,0,.18)!important}
.fcfw-h4-public .h4-button-outline{background:rgba(255,255,255,.13)!important;border-color:rgba(255,255,255,.5)!important;color:#fff!important;backdrop-filter:blur(8px)!important}
.fcfw-h4-public .h4-hero-footer{background:rgba(8,71,117,.42)!important;border-top-color:rgba(255,255,255,.2)!important}.fcfw-h4-public .h4-hero-footer span{color:#ddf3f7!important}.fcfw-h4-public .h4-hero-footer a{color:#fff1a6!important}

/* Simplified four-system front door. */
.h4-command-center{position:relative;padding:clamp(72px,8vw,128px) 0;background:linear-gradient(180deg,#f8fdff 0%,#eefaf6 58%,#fff9ea 100%);overflow:hidden}
.h4-command-center:before,.h4-command-center:after{content:"";position:absolute;border-radius:50%;filter:blur(2px);pointer-events:none}.h4-command-center:before{width:30rem;height:30rem;right:-12rem;top:-14rem;background:radial-gradient(circle,rgba(115,200,255,.24),transparent 68%)}.h4-command-center:after{width:28rem;height:28rem;left:-13rem;bottom:-14rem;background:radial-gradient(circle,rgba(255,216,90,.22),transparent 68%)}
.h4-command-head{position:relative;z-index:1;max-width:920px;margin-bottom:34px}.h4-command-head h2{margin:.16em 0 .18em;color:#17324a;font-size:clamp(2.6rem,5vw,5.6rem);line-height:.92;letter-spacing:-.055em}.h4-command-head p{max-width:720px;margin:0;color:#587083;font-size:1rem;line-height:1.7}.h4-command-head .h4-eyebrow{color:#1187c9!important}
.h4-command-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.h4-command-card{position:relative;display:flex;min-height:410px;flex-direction:column;padding:clamp(24px,3vw,42px);overflow:hidden;border:1px solid #cbe4ec;border-radius:26px;background:#fff;box-shadow:0 18px 54px rgba(31,105,145,.10);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.h4-command-card:before{content:"";position:absolute;inset:0 0 auto;height:8px;background:var(--command-accent,#238fe5)}.h4-command-card:after{content:"";position:absolute;width:17rem;height:17rem;right:-7rem;top:-8rem;border-radius:50%;background:radial-gradient(circle,var(--command-wash,rgba(35,143,229,.16)),transparent 70%);pointer-events:none}
.h4-command-card:hover{transform:translateY(-5px);box-shadow:0 24px 64px rgba(31,105,145,.16)}
.h4-command-number{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:var(--command-soft,#ebf7ff);color:var(--command-accent,#238fe5);font-size:.72rem;font-weight:950;letter-spacing:.06em}
.h4-command-card>small{margin-top:24px;color:var(--command-accent,#238fe5);font-size:.68rem;font-weight:950;letter-spacing:.14em}.h4-command-card h3{margin:.2em 0 .22em;color:#17324a;font-size:clamp(2rem,3.6vw,4.25rem);line-height:.92;letter-spacing:-.05em}.h4-command-card>p{max-width:620px;margin:0;color:#587083;line-height:1.65}
.h4-command-folders{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.h4-command-folders a{display:inline-flex;align-items:center;min-height:38px;padding:8px 12px;border:1px solid var(--command-border,#c8e3ef);border-radius:999px;background:var(--command-soft,#f2f9ff);color:#284d64!important;text-decoration:none!important;font-size:.74rem;font-weight:850;transition:.16s ease}.h4-command-folders a:hover{transform:translateY(-1px);background:var(--command-accent,#238fe5);border-color:var(--command-accent,#238fe5);color:#fff!important}
.h4-command-open{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:auto;padding-top:20px;border-top:1px solid #dcebf0;color:#17324a!important;text-decoration:none!important;font-size:.82rem;font-weight:950;text-transform:uppercase;letter-spacing:.05em}.h4-command-open b{color:var(--command-accent,#238fe5);font-size:1.3rem}
.h4-command-shame{--command-accent:#f06d5f;--command-soft:#fff2ef;--command-border:#ffd0ca;--command-wash:rgba(255,113,100,.17);background:linear-gradient(150deg,#fff 0%,#fff7f4 100%)}
.h4-command-fame{--command-accent:#d99a08;--command-soft:#fff7d9;--command-border:#f2d98a;--command-wash:rgba(240,179,35,.2);background:linear-gradient(150deg,#fff 0%,#fffbed 100%)}
.h4-command-action{--command-accent:#13a895;--command-soft:#e9fbf6;--command-border:#abe4d8;--command-wash:rgba(19,184,166,.18);background:linear-gradient(150deg,#fff 0%,#eefcf8 100%)}
.h4-command-news{--command-accent:#6e64df;--command-soft:#f0efff;--command-border:#cbc8f6;--command-wash:rgba(122,103,232,.18);background:linear-gradient(150deg,#fff 0%,#f7f5ff 100%)}
.h4-scroll-top{background:linear-gradient(135deg,#238fe5,#13b8a6)!important;border-color:rgba(255,255,255,.5)!important;color:#fff!important;box-shadow:0 12px 30px rgba(35,143,229,.22)!important}
@media(max-width:900px){.h4-command-grid{grid-template-columns:1fr}.h4-command-card{min-height:350px}}
@media(max-width:620px){.h4-command-center{padding:56px 0}.h4-command-grid{gap:12px}.h4-command-card{min-height:0;border-radius:20px;padding:22px 18px}.h4-command-folders{margin:18px 0}.h4-command-folders a{min-height:36px;padding:7px 10px}}

/* Editorial directories: Wall of Shame / Wall of Fame / Breaking News. */
.fcfw-editorial-shell,.fcfw-managed-shell{background:linear-gradient(180deg,#f7fcff,#f5fbf8 60%,#fffaf0)!important}
.fcfw-editorial-mast{background:linear-gradient(135deg,#1e8ee0 0%,#13b7a4 64%,#56c576 100%)!important}
.fcfw-editorial-mast>img{filter:saturate(1.04) contrast(.94) brightness(1.03)!important}.fcfw-editorial-mast-shade{background:linear-gradient(90deg,rgba(9,75,129,.86) 0%,rgba(10,124,145,.64) 44%,rgba(20,170,139,.24) 75%,rgba(255,255,255,.08) 100%)!important}
.fcfw-editorial-mast-copy span{color:#fff1a4!important}.fcfw-editorial-mast-copy p{color:#effdff!important}
.fcfw-editorial-body{background:transparent!important}.fcfw-editorial-card{overflow:hidden!important;border-color:#cde4ed!important;border-radius:22px!important;box-shadow:0 12px 34px rgba(31,105,145,.09)!important;transition:transform .18s ease,box-shadow .18s ease!important}.fcfw-editorial-card:hover{transform:translateY(-3px)!important;box-shadow:0 18px 42px rgba(31,105,145,.14)!important}
.fcfw-editorial-card .fcfw-editorial-meta span,.fcfw-editorial-tags span{background:#e9f8ff!important;border-color:#bfe2ee!important;color:#126fc4!important}
.fcfw-wall-folders{gap:10px!important}.fcfw-wall-folder{border-color:#c9e3eb!important;border-radius:18px!important;background:linear-gradient(145deg,#fff,#f0f9ff)!important;box-shadow:0 8px 24px rgba(31,105,145,.07)!important}.fcfw-wall-folder span{color:#1387c9!important}.fcfw-wall-folder:hover,.fcfw-wall-folder.active{background:linear-gradient(135deg,#238fe5,#13b8a6)!important;border-color:#1599c2!important;color:#fff!important;box-shadow:0 14px 34px rgba(35,143,229,.18)!important}.fcfw-wall-folder:hover span,.fcfw-wall-folder.active span{color:#fff0a4!important}.fcfw-wall-folder:hover small,.fcfw-wall-folder.active small{color:#ecffff!important}
body.fcfw-public-page-judicial-wall-of-shame .fcfw-editorial-mast{background:linear-gradient(135deg,#ee6c5e,#f39e4b 56%,#f2c84a)!important}body.fcfw-public-page-judicial-wall-of-shame .fcfw-editorial-mast-shade{background:linear-gradient(90deg,rgba(135,45,43,.72),rgba(228,105,76,.42),rgba(255,207,79,.08))!important}
body.fcfw-public-page-hall-of-fame .fcfw-editorial-mast{background:linear-gradient(135deg,#168fc3,#16b39f 54%,#55c77b)!important}
body.fcfw-public-page-family-court-corruption .fcfw-editorial-mast{background:linear-gradient(135deg,#6d64df,#538be9 48%,#20b5c1)!important}

/* Article/profile pages. */
.fcfw-article-shell{background:transparent!important}.fcfw-article-header{background:linear-gradient(145deg,#fff,#f2fbff)!important;border-color:#cde4ed!important;box-shadow:0 12px 34px rgba(31,105,145,.08)!important}.fcfw-article-header .fcfw-editorial-meta span{color:#1183c6!important}.fcfw-article-body{background:#fff!important;border-color:#d3e7ee!important;box-shadow:0 12px 36px rgba(31,105,145,.07)!important}.fcfw-article-footer a,.fcfw-article-breadcrumbs a{color:#126fc4!important}

/* Action Center: energetic and constructive. */
.fcfw-action-center-page{background:linear-gradient(180deg,#f5fcff,#effbf6 60%,#fff9e9)!important;color:#17324a!important}.fcfw-action-hero{background:linear-gradient(120deg,#187fd5 0%,#18aaa9 58%,#4dbf7a 100%)!important;color:#fff!important;border-bottom-color:#ffd258!important}.fcfw-action-hero p{color:#effcff!important}.fcfw-action-seal{border-color:#ffe18c!important;color:#fff!important;background:rgba(255,255,255,.08)!important}.fcfw-action-section{background:transparent!important}.fcfw-action-card{border-color:#c9e5ec!important;border-radius:20px!important;background:#fff!important;box-shadow:0 12px 34px rgba(31,105,145,.09)!important}.fcfw-action-card-copy>small{color:#13a895!important}.fcfw-action-open{border-top-color:#dcecf0!important;color:#126fc4!important}.fcfw-action-open b{color:#13a895!important}.fcfw-action-folder{border-color:#c8e4eb!important;border-radius:18px!important;background:linear-gradient(145deg,#fff,#eefbf7)!important;color:#17324a!important}.fcfw-action-folder span{color:#13a895!important}.fcfw-action-folder:hover,.fcfw-action-folder.active{background:linear-gradient(135deg,#238fe5,#13b8a6)!important;border-color:#159bc0!important;color:#fff!important;box-shadow:0 14px 34px rgba(35,143,229,.18)!important}.fcfw-action-folder:hover span,.fcfw-action-folder.active span{color:#fff1a5!important}.fcfw-action-folder:hover small,.fcfw-action-folder.active small{color:#edffff!important}
.fcfw-action-detail-page{background:linear-gradient(180deg,#f6fcff,#f1fbf7 70%,#fff9eb)!important}.fcfw-action-detail-header{background:linear-gradient(120deg,#167fd5 0%,#18aaa9 58%,#45bf75 100%)!important;border-bottom-color:#ffd35b!important}.fcfw-action-detail-meta{color:#fff0a0!important}.fcfw-action-detail-html{border-color:#cfe5ec!important;box-shadow:0 12px 34px rgba(31,105,145,.08)!important}.fcfw-action-detail-next{background:linear-gradient(135deg,#eaf8ff,#edfaf3)!important;border-color:#cfe5ec!important}.fcfw-action-detail-breadcrumbs a,.fcfw-action-detail-footer a{color:#126fc4!important}

/* Public Record: evidence cards can still feel approachable and visual. */
body.fcfw-public-record{background:linear-gradient(180deg,#f5fcff 0%,#eefaf6 72%,#fff9e9 100%)!important;color:#17324a!important}.public-record-hero{border-color:#c6e4ed!important;background:linear-gradient(135deg,#fff 0%,#eaf8ff 48%,#eafbf4 100%)!important;box-shadow:0 20px 60px rgba(31,105,145,.11)!important}.public-record-hero>span{color:#1587c8!important}.public-record-hero h1{color:#17324a!important}.public-record-search button{background:linear-gradient(135deg,#238fe5,#13b8a6)!important;box-shadow:0 8px 20px rgba(35,143,229,.18)!important}.public-record-total strong{color:#126fc4!important}.public-record-card{border-color:#c9e4ed!important;border-radius:20px!important;box-shadow:0 10px 30px rgba(31,105,145,.08)!important;transition:transform .17s ease,box-shadow .17s ease}.public-record-card:hover{transform:translateY(-3px);box-shadow:0 17px 40px rgba(31,105,145,.14)!important}.public-record-media{background:linear-gradient(135deg,#eaf8ff,#e8f9f1)!important;border-bottom-color:#cce4ec!important}.public-record-type-badge{background:linear-gradient(135deg,rgba(24,123,205,.94),rgba(18,167,153,.94))!important}.public-record-fallback{background:radial-gradient(circle at 75% 18%,rgba(255,220,95,.24),transparent 42%),linear-gradient(135deg,#197bc9,#14a99e)!important}.public-record-snippet{border-left-color:#13b8a6!important;background:#effaf7!important}.public-record-card code{background:#eef8fd!important;color:#12609a!important}.public-record-open{color:#126fc4!important}.public-record-pages a{border-color:#c6e3ec!important;background:#fff!important;color:#126fc4!important}.public-record-pages a:hover{background:#eaf8ff!important}

/* Generic public heroes and forms used elsewhere. */
body:not(.linked-public) :is(.hired-job-hero,.hired-careers-hero,.polled-hero,.press-hero,.public-file-hero,.pubpublic-mast){background:linear-gradient(135deg,#ffffff 0%,#e9f8ff 48%,#eafaf4 100%)!important;border-color:#cce5ec!important}
body:not(.linked-public) :is(.page-hero,.hero):not(.h4-hero):not(.fcfw-action-hero){border-color:#cce5ec!important}

/* Small screens keep the palette airy instead of visually dense. */
@media(max-width:1540px){.fcfw-public-global-header .fcfw-public-menu{background:linear-gradient(180deg,#fff,#f5fbff)!important;border-color:#c5e2eb!important}}
@media(prefers-reduced-motion:reduce){.h4-command-card,.h4-command-folders a,.fcfw-editorial-card,.public-record-card{transition:none!important}}
