/* Stafford per-user theme layer */
body.sf-theme-blue{
 --red:#168dff!important;--r:#168dff!important;--accent:#168dff!important;--sf-red:#168dff!important;
 --danger:#168dff!important;--primary:#168dff!important;--brand:#168dff!important;
 background-color:#020812!important;color:#edf7ff!important;
 background-image:radial-gradient(circle at 75% 0,rgba(0,132,255,.14),transparent 35%)!important;
}
body.sf-theme-blue .side,body.sf-theme-blue aside{background:radial-gradient(circle at 50% 78%,rgba(0,96,190,.28),transparent 30%),linear-gradient(180deg,#040b13,#06111d)!important;border-color:#123d63!important}
body.sf-theme-blue .main,body.sf-theme-blue main{background-color:#020812!important}
body.sf-theme-blue .brand b,body.sf-theme-blue .brand span,body.sf-theme-blue .family-gold,body.sf-theme-blue .eyebrow,body.sf-theme-blue .stats-title,body.sf-theme-blue .modal-kicker{color:#20aaff!important}
body.sf-theme-blue .nav button:hover,body.sf-theme-blue .nav button.active{background:linear-gradient(90deg,#087dd8,#063760)!important;box-shadow:inset 0 0 0 1px #179fff!important}
body.sf-theme-blue .nav .ico,body.sf-theme-blue .side-crown{color:#20aaff!important}
body.sf-theme-blue .nav button.active .ico{color:#fff!important}
body.sf-theme-blue .card,body.sf-theme-blue .panel,body.sf-theme-blue .section,body.sf-theme-blue .box,body.sf-theme-blue .profile,body.sf-theme-blue .sf-crumb,body.sf-theme-blue .ticker{border-color:#17466d!important;background:radial-gradient(circle at 85% 20%,rgba(0,105,210,.12),transparent 32%),linear-gradient(145deg,#07121e,#030a12)!important}
body.sf-theme-blue .profile-card,body.sf-theme-blue .rating{border-color:#167fc4!important;background:radial-gradient(circle at 70% 30%,rgba(0,115,220,.20),transparent 46%),linear-gradient(145deg,#071827,#040b13)!important}
body.sf-theme-blue .info,body.sf-theme-blue .stat,body.sf-theme-blue input,body.sf-theme-blue select,body.sf-theme-blue textarea{background:#06111b!important;border-color:#17415f!important;color:#edf7ff!important}
body.sf-theme-blue input:focus,body.sf-theme-blue select:focus,body.sf-theme-blue textarea:focus{border-color:#18a8ff!important;box-shadow:0 0 0 2px rgba(24,168,255,.12)!important}
body.sf-theme-blue .edit,body.sf-theme-blue .save-btn,body.sf-theme-blue .btn.primary{background:linear-gradient(90deg,#087edb,#07518d)!important;border-color:#20aaff!important;color:#fff!important;box-shadow:0 0 18px rgba(0,139,255,.18)!important}
body.sf-theme-blue .badge{border-color:#176aa1!important}body.sf-theme-blue .badge.active{border-color:#008c55!important}
body.sf-theme-blue .big-avatar,body.sf-theme-blue .avatar{border-color:#1aa9ff!important;box-shadow:0 0 22px rgba(0,154,255,.25)!important}
body.sf-theme-blue .sf-shortcuts button,body.sf-theme-blue .quick .q,body.sf-theme-blue .q{border-color:#145886!important;background:linear-gradient(145deg,#07121e,#071827)!important}
body.sf-theme-blue .sf-shortcuts>button>span{border-color:#1aa9ff!important;color:#1aa9ff!important}
body.sf-theme-blue .sf-crumb b,body.sf-theme-blue a,body.sf-theme-blue .accent{color:#29b2ff!important}
body.sf-theme-blue .pill,body.sf-theme-blue .back{border-color:#176a9f!important;background:#06121d!important}
body.sf-theme-blue .side-art{border-color:#155b8c!important;background:linear-gradient(0deg,rgba(0,80,150,.48),rgba(0,0,0,.18)),url('images/stafford-blue-banner.webp') center/cover!important;color:#2db5ff!important}
body.sf-theme-blue .sf-footer-art{background:linear-gradient(0deg,rgba(0,0,0,.2),#020812),url('images/stafford-blue-banner.webp') center 65%/cover!important}
body.sf-theme-blue .sf-watermark b{color:rgba(30,170,255,.28)!important}
body.sf-theme-blue .modal-overlay{background:rgba(0,5,12,.82)!important}body.sf-theme-blue .edit-modal{border-color:#1778b8!important;background:linear-gradient(145deg,#07121d,#030910)!important;box-shadow:0 25px 80px rgba(0,91,170,.28)!important}
body.sf-theme-blue [style*="#ff1428"],body.sf-theme-blue [style*="#ff1"],body.sf-theme-blue [style*="#e70b1d"]{color:#20aaff!important}
.theme-choice-v2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.theme-option-v2{position:relative;border:1px solid #343b42;border-radius:12px;background:#0b0e11;padding:11px;cursor:pointer}.theme-option-v2 input{position:absolute;opacity:0}.theme-option-v2 strong{display:block;font-size:12px}.theme-option-v2 small{display:block;color:#7f8992;font-size:9px;margin-top:4px}.theme-option-v2:has(input:checked){border-color:#168dff;box-shadow:0 0 0 2px rgba(22,141,255,.12)}.theme-swatch-v2{height:9px;border-radius:6px;margin-bottom:8px}.theme-swatch-v2.red{background:linear-gradient(90deg,#25050a,#ff1428)}.theme-swatch-v2.blue{background:linear-gradient(90deg,#03101d,#168dff,#00d5ff)}

/* Blue v3 — replace the remaining red UI accents everywhere */
body.sf-theme-blue .logo .cr,body.sf-theme-blue .logo span,body.sf-theme-blue .menu a i,
body.sf-theme-blue .welcome h1 span,body.sf-theme-blue .profile b,body.sf-theme-blue .profile span,
body.sf-theme-blue .title i,body.sf-theme-blue .quick a b,body.sf-theme-blue .adminlinks b,
body.sf-theme-blue .side-logout a:hover,body.sf-theme-blue .bar b{color:#20aaff!important}
body.sf-theme-blue .ava,body.sf-theme-blue .bigava,body.sf-theme-blue .circle{border-color:#168dff!important}
body.sf-theme-blue .menu a:hover,body.sf-theme-blue .menu a.active{background:linear-gradient(90deg,#087edb,#07345b)!important;box-shadow:inset 0 0 0 1px #159fff!important}
body.sf-theme-blue .profile:hover,body.sf-theme-blue .quick a:hover,body.sf-theme-blue .adminlinks a:hover{border-color:#168dff!important;background:linear-gradient(135deg,rgba(22,141,255,.16),rgba(22,141,255,.04))!important}
body.sf-theme-blue .bell:hover,body.sf-theme-blue .bell.active{border-color:#168dff!important;background:linear-gradient(180deg,#0b3151,#061522)!important;box-shadow:0 0 18px rgba(22,141,255,.28)!important}
body.sf-theme-blue .bell b{background:#168dff!important;box-shadow:0 0 10px rgba(22,141,255,.45)!important}
body.sf-theme-blue .status{border-color:#168dff!important}
body.sf-theme-blue .welcome{background:radial-gradient(circle at 85% 25%,rgba(0,110,220,.18),transparent 35%),#050b12!important;border-color:#17466d!important}
body.sf-theme-blue .card{box-shadow:inset 0 0 0 1px rgba(22,141,255,.03)!important}
body.sf-theme-blue .quick a{background:linear-gradient(135deg,#071726,#06111c)!important;border-color:#17537d!important}
body.sf-theme-blue .hero{border-color:#174d78!important;box-shadow:0 0 26px rgba(0,123,255,.10)!important}
body.sf-theme-blue .bar{border-color:#17466d!important;background:#050c13!important}
body.sf-theme-blue .side-logout{border-color:#17415f!important}
body.sf-theme-blue [style*="color:#ff1729"],body.sf-theme-blue [style*="color: #ff1729"],
body.sf-theme-blue [style*="color:#ff2637"],body.sf-theme-blue [style*="color:#ff2839"],
body.sf-theme-blue [style*="color:#ff3342"],body.sf-theme-blue [style*="color:#e70b1d"]{color:#20aaff!important}
body.sf-theme-blue [style*="border-color:#ff1729"],body.sf-theme-blue [style*="border-color: #ff1729"]{border-color:#168dff!important}

/* Stafford Blue v4: global coverage for list/top/reports and legacy pages */
body.sf-theme-blue{--sf-accent:#19a8ff;--sf-line:#16547f;--sf-bg:#020812;--sf-panel:#06111c;--sf-panel2:#071827}
body.sf-theme-blue .reports-userbar{border-color:#17466d!important;background:linear-gradient(90deg,#030912,#061522)!important}
body.sf-theme-blue .reports-hero{border-color:#17699e!important;background-image:linear-gradient(180deg,rgba(0,8,18,.04),rgba(0,8,18,.28)),url('images/stafford-blue-banner.webp')!important;background-position:center!important;background-size:cover!important}
body.sf-theme-blue .hero-copy .crumb b,body.sf-theme-blue .eyebrow,body.sf-theme-blue .reports-footer b{color:#20aaff!important}
body.sf-theme-blue .report-stat{border-color:#17608f!important;background:linear-gradient(135deg,#06111c,#071827)!important}
body.sf-theme-blue .report-stat::before{border-color:#168dff!important;color:#20aaff!important;background:#061a2b!important;box-shadow:inset 0 0 22px rgba(0,139,255,.18)!important}
body.sf-theme-blue .report-stat.pending{border-color:#8b6517!important}body.sf-theme-blue .report-stat.approved{border-color:#087542!important}
body.sf-theme-blue .new-report{border-color:#159fff!important;background:linear-gradient(135deg,#05243d,#087edb 55%,#06365d)!important;box-shadow:inset 0 0 0 7px rgba(255,255,255,.03),0 0 22px rgba(0,139,255,.20)!important}
body.sf-theme-blue .reports-card{border-color:#17547f!important;background:linear-gradient(135deg,#050c14,#071827)!important}
body.sf-theme-blue .reports-title select{border-color:#17699e!important;background:#06111b!important}
body.sf-theme-blue .report-row{border-color:#17547f!important;border-left-color:#19a8ff!important;background:linear-gradient(110deg,#050c14,#071522)!important}
body.sf-theme-blue .notify-btn{border-color:#17699e!important;background:#06111b!important}
body.sf-theme-blue .notify-btn:hover,body.sf-theme-blue .notify-btn.active{border-color:#20aaff!important;box-shadow:0 0 20px rgba(0,153,255,.28)!important;background:#08243a!important}
body.sf-theme-blue .notify-badge{background:#168dff!important}
body.sf-theme-blue .user-chip .uava{border-color:#168dff!important}
body.sf-theme-blue .report-dialog{border-color:#17699e!important;background:#06111b!important}body.sf-theme-blue .report-dialog input,body.sf-theme-blue .report-dialog select,body.sf-theme-blue .report-dialog textarea{border-color:#17415f!important;background:#040c14!important}
body.sf-theme-blue .form-actions .save{background:linear-gradient(90deg,#087edb,#07518d)!important}
/* common hard-coded red surfaces used by members/top */
body.sf-theme-blue table,body.sf-theme-blue .table,body.sf-theme-blue .members-wrap,body.sf-theme-blue .top-wrap{border-color:#17466d!important}
body.sf-theme-blue tr.active,body.sf-theme-blue tr.highlight,body.sf-theme-blue .member-row.active,body.sf-theme-blue .rank-row.active{background:linear-gradient(90deg,rgba(0,112,205,.32),rgba(0,51,92,.18))!important;border-color:#159fff!important}
body.sf-theme-blue button:not(.status):not(.approved):not(.pending):not(.rejected){--button-blue:#168dff}
