/* Accessibility preferences panel — shared by the agency pages and the /condos/ section.
   Preferences are applied as classes on <html> by /assets/js/a11y-init.js (before first paint).
   This panel helps; it does not replace accessible markup, which every page also has. */

.a11y-panel{position:fixed;z-index:95;top:84px;right:max(16px,calc((100vw - 1180px)/2 + 20px));width:min(360px,calc(100vw - 32px));max-height:calc(100vh - 100px);overflow-y:auto;background:#fff;color:#15212B;border:1px solid #E0D9CB;border-radius:20px;box-shadow:0 2px 4px rgba(21,33,43,.06),0 22px 48px -22px rgba(21,33,43,.38);padding:20px;font-family:"Instrument Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:1rem;line-height:1.5;text-align:left}
.a11y-panel h2{font:600 1.25rem/1.2 "Fraunces",Georgia,serif;margin:0 0 4px;letter-spacing:-.01em}
.a11y-panel p.note{font-size:.88rem;color:#5B6672;margin:0 0 14px}
.a11y-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-top:1px solid #E0D9CB}
.a11y-row>span{font-weight:600;font-size:1rem}
.a11y-row small{display:block;font-weight:400;font-size:.84rem;color:#5B6672}
.a11y-seg{display:inline-flex;border:1.5px solid #CBC2B1;border-radius:10px;overflow:hidden;flex:none}
.a11y-seg button{border:0;background:#fff;color:#15212B;padding:8px 12px;font:600 .95rem/1 inherit;font-family:inherit;cursor:pointer;min-width:44px;min-height:40px}
.a11y-seg button+button{border-left:1.5px solid #CBC2B1}
.a11y-seg button[aria-pressed="true"]{background:#0E5A57;color:#fff}
.a11y-switch{position:relative;width:52px;height:30px;border-radius:999px;border:0;background:#B7AE9C;cursor:pointer;flex:none}
.a11y-switch::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .18s}
.a11y-switch[aria-pressed="true"]{background:#0E5A57}
.a11y-switch[aria-pressed="true"]::after{transform:translateX(22px)}
.a11y-panel :focus-visible{outline:3px solid #E8A93B;outline-offset:2px}
.a11y-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}
.a11y-foot a{font-size:.9rem;color:#0E5A57}
.a11y-btn-plain{border:1.5px solid #CBC2B1;background:#fff;color:#15212B;border-radius:10px;padding:9px 14px;font:600 .95rem/1 inherit;font-family:inherit;cursor:pointer;min-height:42px}
.a11y-btn-plain:hover{border-color:#15212B}
.a11y-trigger{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:12px;border:1.5px solid #CBC2B1;background:#fff;color:#15212B;cursor:pointer;flex:none;padding:0}
.a11y-trigger:hover{border-color:#15212B}
.a11y-trigger svg{width:24px;height:24px}

/* ---- Preferences ---- */
html.a11y-text-1{font-size:112.5%}
html.a11y-text-2{font-size:125%}
html.a11y-motion,html.a11y-motion *{scroll-behavior:auto!important}
html.a11y-motion *,html.a11y-motion *::before,html.a11y-motion *::after{animation:none!important;transition:none!important}
html.a11y-motion .reveal{opacity:1!important;transform:none!important}
/* Higher contrast: darken secondary text and lines (agency + condo variable names). */
html.a11y-contrast{--ink-2:#1A252E;--ink-3:#26323C;--line:#8F8676;--line-2:#5F5849;--night-muted:#EEF4F2;--teal:#073F3D;--muted:#1A252E;--line-strong:#5F5849;--brand:#073F3D}
html.a11y-contrast a{text-decoration-thickness:2px}
html.a11y-contrast :focus-visible{outline-width:4px}
/* Readable font: plain sans-serif headings, more spacing. */
html.a11y-readable body{letter-spacing:.02em;word-spacing:.08em;line-height:1.85}
html.a11y-readable h1,html.a11y-readable h2,html.a11y-readable h3,html.a11y-readable .display{font-family:"Instrument Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;letter-spacing:0!important;font-weight:700!important}
html.a11y-readable em,html.a11y-readable i{font-style:normal}
@media print{.a11y-panel,.a11y-trigger{display:none!important}}
