:root{--theme-brand:#F13E1B;--theme-surface:#FFF7E8;--theme-text:#000;--theme-heading:#000;--theme-accent:#FF4633;--theme-power:#FFF7E8;--theme-icon:#000;--theme-shadow:transparent;--theme-signal:#F13E1B;--bg:var(--theme-surface)!important;--paper:var(--theme-surface)!important;--field:var(--theme-surface)!important;--fg:var(--theme-text)!important;--orange:var(--theme-accent)!important;--accent:var(--theme-accent)!important;--kf-hot:var(--theme-accent)!important}
html body,html body #app#app#app#app#app#app{background:var(--theme-surface)!important;color:var(--theme-text)!important}
html body #app#app#app#app#app#app :is(.row,.acc-h,.sbox,.btn,input,textarea,select,.kf-dir-body){color:var(--theme-text)!important}
html body #app#app#app#app#app#app :is(.kf-ref-brand,.kf-orange-statement,.kf-final-ad){background:var(--theme-brand)!important}
html body.kf-solid-orange-tail{background:var(--theme-brand)!important}
html body #app#app#app#app#app#app :is(.dot,.acc-h:after,.sbox:after){background:var(--theme-accent)!important}
html body #app#app#app#app#app#app :is(.kf-nav-pair button,.kf-power,.kf-close-app){background:var(--theme-power)!important;color:var(--theme-icon)!important}
html body #app#app#app#app#app#app :is(.kf-ref-brand>img,.kf-main-heading-graphic,.kf-orange-statement-art>img,.kf-home-slogan-words,.kf-member-thanks>img,.kf-honor-title-art,.kf-honor-lead-name img){filter:var(--theme-ink) drop-shadow(5px 6px 0 var(--theme-shadow))!important}
html body #app#app#app#app#app#app :is(h1.big,.gr){color:var(--theme-heading)!important;text-shadow:5px 6px 0 var(--theme-shadow)!important}
html body #app#app#app#app#app#app .kf-password-screen.kf-password-pattern{background:var(--theme-brand) var(--theme-pattern) center/240px 160px repeat!important}
html body #app#app#app#app#app#app .kf-password-screen.kf-password-personal{background:var(--theme-surface)!important}
html body #kfEmergencyPreview#kfEmergencyPreview{background:var(--theme-signal)!important;color:#000!important;min-height:100dvh}
html body #kfEmergencyPreview#kfEmergencyPreview *{text-shadow:none!important;box-shadow:none!important;color:inherit!important}
/* Slides deliberately never cast shadows. This covers every child, including names and raster lettering. */
html body #splash#splash#splash{background:var(--theme-brand)!important;color:var(--theme-heading)!important}
html body #splash#splash#splash *,html body .kf-static-slide-content *,html body .kf-final-screen *,html body .kf-calendar-photo-slide *{text-shadow:none!important;box-shadow:none!important}
html body #splash#splash#splash img,html body .kf-static-slide-content img{filter:none!important}
html body #splash#splash#splash :is(.kf-final-screen,.kf-final-ad){background:var(--theme-brand)!important}
html body #splash#splash#splash [class*="pattern"]{background-image:var(--theme-pattern)!important}
#kfThemeDialog{width:min(90vw,520px);border:2px solid currentColor;border-radius:14px;padding:24px;background:var(--theme-surface);color:var(--theme-text)}
#kfThemeDialog::backdrop{background:#0008}
.kf-theme-choices{display:grid;gap:12px;margin:20px 0}
.kf-theme-choices button{display:flex;align-items:center;gap:8px;padding:12px;border:2px solid currentColor;background:transparent;color:inherit;cursor:pointer}
.kf-theme-choices button[aria-pressed=true]{outline:3px solid currentColor;outline-offset:2px}
.kf-theme-choices span{width:26px;height:26px;border:1px solid #888;border-radius:50%;flex:none}
.kf-theme-choices strong{margin-left:8px;font:inherit}
#kfThemeDialog form button{padding:10px 20px;background:var(--theme-power);color:var(--theme-icon);border:1px solid currentColor;cursor:pointer}

html body #app#app#app#app#app#app .kf-reference-home .kf-ref-circle{width:44px!important;height:44px!important;flex:0 0 44px!important;background:var(--theme-accent)!important}
html body #app#app#app#app#app#app .kf-honor-lead-name img{filter:brightness(0)!important;text-shadow:none!important}
html body #app#app#app#app#app#app .kf-staff-day{background:transparent!important;border:0!important;position:relative!important}
html body #app#app#app#app#app#app .kf-staff-day.has:after{content:"";position:absolute;bottom:10%;left:50%;transform:translateX(-50%);width:9px;height:9px;border-radius:50%;background:var(--theme-accent)}
html body #app#app#app#app#app#app .kf-staff-day small{display:none!important}
html body :is(#app#app#app#app#app#app,#splash#splash#splash) .logo{background:#000!important}
html body :is(#app#app#app#app#app#app,#splash#splash#splash) .logo::after{background:var(--theme-signal)!important;animation:none!important}
html body #splash#splash#splash :is(.kf-final-farewell,.kf-final-credit-strip){filter:var(--theme-ink)!important}
html body #splash#splash#splash .gr{color:var(--theme-heading)!important;text-shadow:none!important}
html body #splash#splash#splash.kf-brand-intro{animation:none!important;background:var(--theme-brand)!important;color:var(--theme-heading)!important}
html body #splash#splash#splash .kf-intro-wallpaper{background-image:var(--theme-pattern)!important}
html body #splash#splash#splash .kf-final-farewell{cursor:pointer}

html body :is(#app#app#app#app#app#app,#splash#splash#splash) .logo{position:relative!important}
html body :is(#app#app#app#app#app#app,#splash#splash#splash) .logo::after{content:""!important;display:block!important;position:absolute!important;left:5.5%!important;top:33%!important;width:89%!important;aspect-ratio:var(--kf-signature-ratio,3.4)!important;mask:var(--kf-signature-mask) center/contain no-repeat!important;-webkit-mask:var(--kf-signature-mask) center/contain no-repeat!important;background:var(--theme-signal)!important;visibility:visible!important;opacity:1!important;animation:none!important}
html body :is(#app#app#app#app#app#app,#splash#splash#splash) .logo>.wm{visibility:hidden!important}
html body #app#app#app#app#app#app .kf-ref-logo{mix-blend-mode:normal!important}
/* Signal color belongs to the logo disk; lettering stays black. */
html body :is(#app#app#app#app#app#app,#splash#splash#splash) .logo{background:var(--theme-signal)!important;animation:none!important}
html body :is(#app#app#app#app#app#app,#splash#splash#splash) .logo::after{background:#000!important;animation:none!important}

/* Submenu levels: hollow circles, same accent as the main menu. */
html body #app#app#app#app#app#app :is(.acc-b,.facc-b) :is(button.acc-h,button.facc-h,button.row,button.sbox,.kf-unified-choice,summary)::after,
html body #app#app#app#app#app#app details details>summary::after{
 background:transparent!important;border:2px solid var(--theme-accent)!important;box-shadow:none!important;box-sizing:border-box!important;
}
html body #app#app#app#app#app#app :is(.acc-b,.facc-b) :is(button.acc-h,button.facc-h,button.row,button.sbox,.kf-unified-choice,summary):hover::after{
 background:transparent!important;border:2px solid var(--theme-accent)!important;box-shadow:none!important;
}

/* Selection uses a filled ball, never a cross or tick. */
html body #app#app#app#app#app#app input:is([type=checkbox],[type=radio]){
 appearance:none!important;-webkit-appearance:none!important;border-radius:50%!important;
 border:2px solid var(--theme-accent)!important;background:transparent!important;box-shadow:none!important;
}
html body #app#app#app#app#app#app input:is([type=checkbox],[type=radio]):checked{
 background:var(--theme-accent)!important;background-image:none!important;
}
html body #app#app#app#app#app#app input:is([type=checkbox],[type=radio])::after,
html body #app#app#app#app#app#app input:is([type=checkbox],[type=radio])::before{
 content:none!important;display:none!important;
}
html body #app#app#app#app#app#app input:is([type=checkbox],[type=radio]):focus-visible{
 outline:2px solid var(--theme-text)!important;outline-offset:3px!important;
}
html[data-kf-theme=pink] body #app#app#app#app#app#app :is(button,a,input,textarea,select)[data-kf-dark-control],
html[data-kf-theme=pink] body #app#app#app#app#app#app [data-kf-dark-control] *{
 color:#E5639D!important;-webkit-text-fill-color:#E5639D!important;
}
html[data-kf-theme=pink] body #app#app#app#app#app#app :is(input,textarea)[data-kf-dark-control]::placeholder{
 color:#E5639D!important;opacity:.8!important;
}
html[data-kf-theme=pink] body #splash#splash#splash,
html[data-kf-theme=pink] body #splash#splash#splash :is(.gr,.kf-intro-claim,.kf-intro-claim-static,h1,h2,p){
 color:#E5639D!important;text-shadow:none!important;
}

/* Always-visible controls, including the donation receipt confirmation. */
html body #app#app#app#app#app#app#app#app#app#app#app#app input:is([type=checkbox],[type=radio]){
 display:inline-block!important;visibility:visible!important;opacity:1!important;position:static!important;
 width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;max-width:24px!important;max-height:24px!important;
 flex:0 0 24px!important;padding:0!important;overflow:visible!important;clip:auto!important;clip-path:none!important;
 border:2px solid var(--theme-text)!important;background:var(--theme-surface)!important;background-image:none!important;
 box-shadow:none!important;outline-offset:3px!important;
}
html body #app#app#app#app#app#app#app#app#app#app#app#app input:is([type=checkbox],[type=radio]):checked{
 border:2px solid var(--theme-text)!important;background:var(--theme-accent)!important;background-image:none!important;box-shadow:none!important;
}
html body #app#app#app#app#app#app#app#app#app#app#app#app .kf-receipt-confirm{align-items:center!important;gap:12px!important;overflow:visible!important}
html body #app#app#app#app#app#app .kf-reference-home .kf-ref-brand{box-sizing:border-box!important;padding-top:5dvh!important;padding-bottom:4dvh!important}
html body #app#app#app#app#app#app .kf-reference-home .kf-ref-brand>img{max-height:40dvh!important;width:auto!important;max-width:88vw!important;object-fit:contain!important}
html body #app#app#app#app#app#app .kf-nav-pair>button,
html body #app#app#app#app#app#app .kf-nav-pair .logo{width:44px!important;height:44px!important;min-width:44px!important;flex:0 0 44px!important;border-radius:50%!important;background:var(--theme-accent)!important;color:var(--theme-text)!important}
html body #app#app#app#app#app#app .kf-nav-pair .logo::after{background:var(--theme-text)!important}
html[data-kf-theme=yellow] body #app#app#app#app#app#app .label{background:transparent!important;color:#000!important;border:1px solid #000!important;padding:3px 8px!important;-webkit-text-fill-color:#000!important}
html body #splash#splash#splash#splash .kf-static-slide-content .gr{color:var(--theme-heading)!important;text-shadow:none!important;-webkit-text-fill-color:var(--theme-heading)!important}
html body #splash#splash#splash#splash .kf-static-slide-content .gr img{filter:var(--theme-ink)!important;mix-blend-mode:normal!important}
html body #splash#splash#splash#splash .kf-static-slide-content{color:var(--theme-heading)!important;text-shadow:none!important}
/* Center the smaller claim in its color panel. */
html body #app#app#app#app#app#app .kf-reference-home .kf-ref-brand{
 display:flex!important;align-items:center!important;justify-content:center!important;
 padding:0!important;height:100%!important;min-height:0!important;
}
html body #app#app#app#app#app#app .kf-reference-home .kf-ref-brand>img{
 display:block!important;width:auto!important;height:auto!important;
 max-width:78%!important;max-height:34dvh!important;margin:0!important;
}
html body #app#app#app#app#app#app .kf-reference-home .kf-ref-logo{
 left:auto!important;right:12%!important;top:calc(50% - 16dvh)!important;
 width:clamp(44px,8vw,72px)!important;height:clamp(44px,8vw,72px)!important;
 aspect-ratio:1!important;mix-blend-mode:normal!important;
}
html body #app#app#app#app#app#app .kf-reference-home .kf-ref-logo>.logo{
 display:block!important;position:relative!important;width:100%!important;height:100%!important;
 min-width:0!important;background:var(--theme-signal)!important;
 border:1px solid #000!important;border-radius:50%!important;box-sizing:border-box!important;
}
html body #app#app#app#app#app#app .kf-reference-home .kf-ref-logo>.logo::after{
 background:#000!important;
}
html body #app#app#app#app#app#app [data-kf-theme-open]>.dot{display:none!important}
/* Explicit contrast roles for functional controls across every palette. */
html body #app#app#app#app#app#app#app#app :is(button.btn,a.btn,#ortweiter){background:var(--theme-surface)!important;color:var(--theme-text)!important;-webkit-text-fill-color:var(--theme-text)!important;border-color:var(--theme-text)!important}
html body #app#app#app#app#app#app#app#app :is(#adBtn,[data-kfstaff=staffAdopt],button.btn.pri,#ortweiter){background:var(--theme-signal)!important;color:#000!important;-webkit-text-fill-color:#000!important;border-color:currentColor!important}
html body #app#app#app#app#app#app#app#app .kf-nav-pair>button{background:var(--theme-accent)!important;color:var(--theme-surface)!important;-webkit-text-fill-color:var(--theme-surface)!important}
html body #app#app#app#app#app#app#app#app .kf-nav-pair>button svg{stroke:currentColor!important}
html[data-kf-theme=orange] body #app#app#app#app#app#app#app#app .kf-nav-pair>button,
html[data-kf-theme=green] body #app#app#app#app#app#app#app#app .kf-nav-pair>button,
html[data-kf-theme=yellow] body #app#app#app#app#app#app#app#app .kf-nav-pair>button{color:#000!important;-webkit-text-fill-color:#000!important}
html[data-kf-theme=mono] body #app#app#app#app#app#app#app#app .kf-nav-pair .logo::after{background:#fff!important}
html body #app#app#app#app#app#app#app#app .kf-foot-minimal{color:var(--theme-heading)!important}
html body #app#app#app#app#app#app#app#app :is(.kf-foot-minimal,.kf-orange-statement) :is(.kf-home-slogan-words,img.analog-film,.kf-orange-statement-art>img){filter:var(--theme-ink)!important;mix-blend-mode:normal!important;opacity:1!important}

/* Final navigation layer: generic .btn styles must never erase these disks. */
html body #app#app#app#app#app#app#app#app#app#app#app#app .kf-nav-pair>button{
 width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;
 padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 44px!important;border:0!important;border-radius:50%!important;
 background:var(--theme-accent)!important;color:var(--theme-surface)!important;-webkit-text-fill-color:var(--theme-surface)!important;
}
html body #app#app#app#app#app#app#app#app#app#app#app#app .kf-nav-pair>button svg{stroke:currentColor!important}
html[data-kf-theme=orange] body #app#app#app#app#app#app#app#app#app#app#app#app .kf-nav-pair>button,
html[data-kf-theme=green] body #app#app#app#app#app#app#app#app#app#app#app#app .kf-nav-pair>button,
html[data-kf-theme=yellow] body #app#app#app#app#app#app#app#app#app#app#app#app .kf-nav-pair>button{color:#000!important;-webkit-text-fill-color:#000!important}
