/* HE-SIE: Einheitliche, kontrastreiche Bedienelemente. Nur Oberflaeche, keine Logikaenderungen. */
:root{--hs-action:#164b5b;--hs-action-hover:#0b3443;--hs-focus:#e6a02e;--hs-border:#a9c4ce}
button,input[type="submit"],input[type="button"],a{ -webkit-tap-highlight-color:transparent }
button,input[type="submit"],input[type="button"]{font-family:inherit;font-weight:700;line-height:1.35;cursor:pointer}
button:focus-visible,input[type="submit"]:focus-visible,input[type="button"]:focus-visible,a:focus-visible{outline:3px solid var(--hs-focus)!important;outline-offset:3px}
button:disabled,input[type="submit"]:disabled{opacity:.55;cursor:not-allowed}
/* Bedienbuttons in den vier geschuetzten Bereichen */
body:not(.public) main button:not(.daybtn):not(.slot),
body:not(.public) main input[type="submit"],
header .headerlinks button:not(#he-notice-toggle),
#he-notice-head button{border:1px solid var(--hs-action);border-radius:10px;padding:10px 16px;background:var(--hs-action);color:#fff;min-height:42px;box-shadow:none;text-shadow:none;transition:background-color .15s,border-color .15s,transform .15s}
body:not(.public) main button:not(.daybtn):not(.slot):hover:not(:disabled),
body:not(.public) main input[type="submit"]:hover:not(:disabled),
header .headerlinks button:not(#he-notice-toggle):hover{background:var(--hs-action-hover);border-color:var(--hs-action-hover);color:#fff}
/* Gefaehrliche Aktionen bleiben deutlich rot */
body main button.danger,body main button[style*="b52e38"],body main button[style*="b52e38"]:hover{background:#a92835!important;border-color:#a92835!important;color:#fff!important}
/* Links und Navigationsflaechen klar erkennbar */
main a:not(.event):not(.birthday-event):not(.nrw-holiday-event):not(.rk-slot):not(.action):not(.daybtn),
header .headerlinks>a{color:#12546b;font-weight:650;text-underline-offset:3px}
main a:not(.event):not(.birthday-event):not(.nrw-holiday-event):not(.rk-slot):not(.action):hover{color:#072e40}
/* Dashboard: Funktionskacheln als einheitliche, gut lesbare Navigation */
.actions a.action{border:1px solid var(--hs-border);border-radius:14px;color:#164b5b;background:#fff;text-decoration:none;transition:transform .15s,border-color .15s,box-shadow .15s}
.actions a.action:hover{transform:translateY(-2px);border-color:#4d91a6;box-shadow:0 5px 16px #164b5b20}
.actions a.action strong{color:#123f50;font-weight:800}.actions a.action small{color:#345d6d}
/* Dashboard Kopf und Benachrichtigungen: kein Ueberlappen */
.headerlinks{gap:10px;flex-wrap:wrap;align-items:center}
#he-notice-panel .he-notice-head button,#he-notice-panel .he-notice-item button{font-size:13px;line-height:1.4;min-height:34px;padding:6px 10px;border-radius:8px}
#he-notice-panel .he-notice-item button{background:#e8f3f7;color:#164b5b;border:1px solid #bed3dc}
#he-notice-panel .he-notice-item button:hover{background:#d3eaf3}
/* Formulare und Kalender: klickbare Bereiche mit ausreichender Hoehe */
main form button{max-width:100%;white-space:normal}
main .monthnav a{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px}
@media(max-width:640px){body main button,body main input[type="submit"]{min-height:44px}.headerlinks{gap:8px}#he-notice-panel{max-width:calc(100vw - 24px)}}
