/* Self-hosted site enhancement: accessibility toolbar + language menu.
   No third-party overlay. No external dependencies. */
.enh-bar{position:fixed;left:16px;bottom:16px;z-index:2147483000;display:flex;gap:8px;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.enh-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid rgba(0,0,0,.18);border-radius:10px;background:#ffffff;color:#1a1a1a;font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.18)}
.enh-btn:hover{background:#f3f3f3}
.enh-btn:focus-visible{outline:3px solid #1f44c4;outline-offset:2px}
.enh-btn svg{width:20px;height:20px;flex:0 0 auto}
.enh-panel{position:fixed;left:16px;bottom:72px;z-index:2147483001;width:288px;max-width:calc(100vw - 32px);background:#ffffff;color:#1a1a1a;border:1px solid rgba(0,0,0,.18);border-radius:14px;box-shadow:0 8px 30px rgba(0,0,0,.28);padding:14px;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.enh-panel[hidden]{display:none}
.enh-panel h2{margin:0 0 10px;font-size:15px;font-weight:700;color:#1a1a1a}
.enh-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;border-top:1px solid #eee}
.enh-row:first-of-type{border-top:0}
.enh-row span{font-size:14px}
.enh-ctrl{display:inline-flex;gap:6px}
.enh-toggle{min-width:64px;min-height:38px;padding:6px 12px;border:1px solid rgba(0,0,0,.22);border-radius:8px;background:#f5f5f5;color:#1a1a1a;font-size:13px;font-weight:600;cursor:pointer}
.enh-toggle[aria-pressed="true"]{background:#1f44c4;border-color:#1f44c4;color:#fff}
.enh-toggle:focus-visible,.enh-step:focus-visible,.enh-reset:focus-visible,.enh-lang a:focus-visible{outline:3px solid #1f44c4;outline-offset:2px}
.enh-step{width:40px;height:38px;border:1px solid rgba(0,0,0,.22);border-radius:8px;background:#f5f5f5;color:#1a1a1a;font-size:17px;font-weight:700;cursor:pointer}
.enh-reset{margin-top:12px;width:100%;min-height:40px;border:1px solid rgba(0,0,0,.22);border-radius:8px;background:#fff;color:#1a1a1a;font-size:14px;font-weight:600;cursor:pointer}
.enh-reset:hover{background:#f3f3f3}
.enh-lang{position:fixed;left:16px;bottom:72px;z-index:2147483001;width:220px;max-width:calc(100vw - 32px);background:#fff;color:#1a1a1a;border:1px solid rgba(0,0,0,.18);border-radius:14px;box-shadow:0 8px 30px rgba(0,0,0,.28);padding:8px}
.enh-lang[hidden]{display:none}
.enh-lang ul{list-style:none;margin:0;padding:0}
.enh-lang a{display:block;padding:9px 10px;border-radius:8px;color:#1a1a1a;text-decoration:none;font-size:14px}
.enh-lang a:hover{background:#f3f3f3}
.enh-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* User toggles applied to <html> */
html.enh-contrast,html.enh-contrast body{background:#000 !important;color:#fff !important}
html.enh-contrast a{color:#ffe14d !important}
html.enh-contrast img{filter:none}
html.enh-links a{text-decoration:underline !important;outline:1px dashed currentColor;outline-offset:2px}
html.enh-readable body,html.enh-readable p,html.enh-readable li,html.enh-readable span,html.enh-readable a,html.enh-readable td,html.enh-readable div{font-family:Verdana,"Segoe UI",Tahoma,Arial,sans-serif !important;letter-spacing:.01em;line-height:1.7 !important}
@media (prefers-reduced-motion:no-preference){.enh-panel,.enh-lang{animation:enh-in .12s ease-out}}
@keyframes enh-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media print{.enh-bar,.enh-panel,.enh-lang{display:none !important}}
