.pelite-a11y-root {
    --a11y-green: #065f46;
    --a11y-green-dark: #022c22;
    --a11y-green-soft: #ecfdf5;
    --a11y-blue: #1d4ed8;
    --a11y-border: #d7e4de;
    --a11y-text: #17211d;
    --a11y-muted: #5c6963;
    position: relative;
    z-index: 2147483000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    color: var(--a11y-text);
}

.pelite-a11y-root [hidden] { display: none !important; }
.pelite-a11y-root button,
.pelite-a11y-root textarea,
.pelite-a11y-root input { font: inherit; }
.pelite-a11y-root button { cursor: pointer; }
.pelite-a11y-root button:focus-visible,
.pelite-a11y-root a:focus-visible,
.pelite-a11y-root textarea:focus-visible,
.pelite-a11y-root input:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 3px;
}

.pelite-skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 2147483647;
    transform: translateY(-180%);
    border-radius: .75rem;
    background: #fff;
    color: #064e3b;
    padding: .75rem 1rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}
.pelite-skip-link:focus { transform: translateY(0); }

.pelite-a11y-trigger {
    position: fixed;
    left: 0;
    top: 50%;
    z-index: 2147483002;
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 48px;
    transform: translateY(-50%);
    border: 2px solid #fff;
    border-left: 0;
    border-radius: 0 1rem 1rem 0;
    background: linear-gradient(145deg, #047857, #064e3b);
    color: #fff;
    padding: .7rem .85rem .7rem .65rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(2, 44, 34, .32);
}
.pelite-a11y-trigger svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pelite-a11y-trigger span { max-width: 0; overflow: hidden; opacity: 0; transition: max-width .2s ease, opacity .2s ease; white-space: nowrap; }
.pelite-a11y-trigger:hover span,
.pelite-a11y-trigger:focus-visible span { max-width: 9rem; opacity: 1; }

.pelite-a11y-scrim {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    background: rgba(2, 6, 23, .45);
    backdrop-filter: blur(2px);
}

.pelite-a11y-panel {
    position: fixed;
    left: 1rem;
    top: 50%;
    z-index: 2147483003;
    width: min(430px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    transform: translateY(-50%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 1.4rem;
    background: #fff;
    box-shadow: 0 30px 80px rgba(2, 44, 34, .3);
}
.pelite-a11y-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(145deg, #064e3b, #047857);
    color: #fff;
}
.pelite-a11y-panel__header h2 { margin: .1rem 0 .2rem; font-size: 1.25rem; line-height: 1.2; font-weight: 900; }
.pelite-a11y-panel__header p { margin: 0; color: rgba(255,255,255,.82); font-size: .78rem; }
.pelite-a11y-panel__header .pelite-a11y-eyebrow { color: #a7f3d0; font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.pelite-a11y-icon-button,
.pelite-a11y-modal__header > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 1.5rem;
}
.pelite-a11y-panel__body { max-height: calc(100vh - 8.2rem); overflow-y: auto; overscroll-behavior: contain; padding: 1rem; }
.pelite-a11y-panel__body section + section { margin-top: 1.15rem; }
.pelite-a11y-section-heading { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .65rem; }
.pelite-a11y-section-heading h3 { margin: 0; font-size: .92rem; font-weight: 900; }
.pelite-a11y-section-heading span { color: var(--a11y-muted); font-size: .7rem; }

.pelite-a11y-profile-grid,
.pelite-a11y-control-grid,
.pelite-a11y-tools-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.pelite-a11y-profile-grid button,
.pelite-a11y-control-grid button,
.pelite-a11y-tools-grid button {
    min-width: 0;
    border: 1px solid var(--a11y-border);
    border-radius: .85rem;
    background: #fff;
    color: var(--a11y-text);
    transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.pelite-a11y-profile-grid button:hover,
.pelite-a11y-control-grid button:hover,
.pelite-a11y-tools-grid button:hover { transform: translateY(-1px); border-color: #34d399; background: #f0fdf4; }
.pelite-a11y-profile-grid button[aria-pressed="true"],
.pelite-a11y-control-grid button[aria-pressed="true"],
.pelite-a11y-tools-grid button[aria-pressed="true"] { border-color: #047857; background: #ecfdf5; box-shadow: inset 0 0 0 1px #047857; }
.pelite-a11y-profile-grid button { display: flex; align-items: center; gap: .55rem; padding: .7rem; text-align: left; font-size: .78rem; font-weight: 800; }
.pelite-a11y-profile-grid button:first-letter { font-size: 1rem; }
.pelite-a11y-control-grid button,
.pelite-a11y-tools-grid button { display: grid; place-items: center; align-content: center; min-height: 74px; padding: .55rem .4rem; text-align: center; }
.pelite-a11y-control-grid b,
.pelite-a11y-tools-grid b { color: var(--a11y-green); font-size: 1.15rem; line-height: 1; }
.pelite-a11y-control-grid span,
.pelite-a11y-tools-grid span { margin-top: .35rem; font-size: .72rem; font-weight: 800; line-height: 1.15; }
.pelite-a11y-control-grid small { margin-top: .2rem; color: var(--a11y-muted); font-size: .62rem; }
.pelite-a11y-panel__footer { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--a11y-border); }
.pelite-a11y-panel__footer a { color: var(--a11y-green); font-size: .78rem; font-weight: 900; text-decoration: underline; }
.pelite-a11y-reset { border: 0; border-radius: 999px; background: #fee2e2; color: #991b1b; padding: .55rem .8rem; font-size: .75rem; font-weight: 900; }

.pelite-a11y-modal {
    width: min(620px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 1.35rem;
    color: var(--a11y-text);
    background: #fff;
    box-shadow: 0 30px 90px rgba(2, 6, 23, .35);
}
.pelite-a11y-modal--wide { width: min(820px, calc(100vw - 2rem)); }
.pelite-a11y-modal::backdrop { background: rgba(2, 6, 23, .62); backdrop-filter: blur(3px); }
.pelite-a11y-modal__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; background: linear-gradient(145deg, #064e3b, #047857); color: #fff; }
.pelite-a11y-modal__header span { color: #a7f3d0; font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.pelite-a11y-modal__header h2 { margin: .1rem 0 0; font-size: 1.25rem; font-weight: 900; }
.pelite-a11y-modal__body { max-height: calc(100vh - 7rem); overflow-y: auto; padding: 1.2rem; }
.pelite-a11y-note { margin: 0 0 1rem; color: var(--a11y-muted); font-size: .82rem; line-height: 1.55; }
.pelite-a11y-phrase-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem; margin-bottom: 1rem; }
.pelite-a11y-phrase-grid button { min-height: 54px; border: 1px solid #bbf7d0; border-radius: .8rem; background: #f0fdf4; color: #065f46; padding: .65rem; font-size: .78rem; font-weight: 800; text-align: left; }
.pelite-a11y-field { display: grid; gap: .4rem; color: #334155; font-size: .78rem; font-weight: 900; }
.pelite-a11y-field textarea { width: 100%; resize: vertical; border: 1px solid #cbd5e1; border-radius: .8rem; background: #fff; color: #111827; padding: .75rem; line-height: 1.5; }
.pelite-a11y-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: .9rem; }
.pelite-a11y-actions button,
.pelite-a11y-contact-link { border: 0; border-radius: 999px; background: var(--a11y-green); color: #fff; padding: .65rem .95rem; font-size: .78rem; font-weight: 900; text-decoration: none; }
.pelite-a11y-actions button.secondary { border: 1px solid #cbd5e1; background: #fff; color: #334155; }
.pelite-a11y-color { display: inline-flex; align-items: center; gap: .45rem; color: #334155; font-size: .78rem; font-weight: 800; }
.pelite-a11y-whiteboard { display: block; width: 100%; height: 320px; border: 2px solid #cbd5e1; border-radius: .9rem; background: #fff; touch-action: none; }
.pelite-a11y-transcript { min-height: 180px; max-height: 340px; overflow-y: auto; border: 1px solid #bfdbfe; border-radius: .9rem; background: #eff6ff; color: #1e3a8a; padding: 1rem; font-size: 1.08rem; line-height: 1.65; white-space: pre-wrap; }
.pelite-a11y-status { margin: .7rem 0 0; color: var(--a11y-muted); font-size: .75rem; }
.pelite-a11y-braille-output { min-height: 100px; margin-top: .85rem; border: 1px solid #d8b4fe; border-radius: .9rem; background: #faf5ff; color: #581c87; padding: 1rem; font-family: "Segoe UI Symbol", sans-serif; font-size: 1.7rem; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
.pelite-a11y-info-list { display: grid; gap: .65rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.pelite-a11y-info-list li { display: grid; gap: .2rem; border: 1px solid var(--a11y-border); border-radius: .8rem; background: #f8fafc; padding: .75rem; }
.pelite-a11y-info-list b { color: var(--a11y-green); font-size: .82rem; }
.pelite-a11y-info-list span { color: #475569; font-size: .76rem; line-height: 1.5; }
.pelite-a11y-contact-link { display: inline-flex; }

.pelite-a11y-magnifier {
    position: fixed;
    z-index: 2147483646;
    width: min(360px, calc(100vw - 2rem));
    pointer-events: none;
    border: 3px solid #f59e0b;
    border-radius: 1rem;
    background: #fff;
    color: #111827;
    padding: .75rem 1rem;
    box-shadow: 0 18px 45px rgba(0,0,0,.28);
}
.pelite-a11y-magnifier b { display: block; margin-bottom: .25rem; color: #92400e; font-size: .7rem; text-transform: uppercase; }
.pelite-a11y-magnifier span { display: block; font-size: 1.45rem; font-weight: 700; line-height: 1.45; }
.pelite-a11y-tooltip { position: fixed; z-index: 2147483647; max-width: 280px; pointer-events: none; border-radius: .55rem; background: #111827; color: #fff; padding: .45rem .65rem; font-size: .72rem; box-shadow: 0 8px 25px rgba(0,0,0,.22); }
.pelite-a11y-toast { position: fixed; left: 50%; bottom: 1.25rem; z-index: 2147483647; transform: translateX(-50%); border-radius: 999px; background: #111827; color: #fff; padding: .7rem 1rem; font-size: .78rem; font-weight: 800; box-shadow: 0 10px 35px rgba(0,0,0,.3); }

html.a11y-contrast body > :not(.pelite-a11y-root) { filter: contrast(1.35); }
html.a11y-highlight-links body > :not(.pelite-a11y-root) a { outline: 3px solid #f59e0b !important; outline-offset: 3px !important; text-decoration: underline !important; }
html.a11y-text-spacing body > :not(.pelite-a11y-root) { letter-spacing: .08em !important; word-spacing: .16em !important; }
html.a11y-text-spacing body > :not(.pelite-a11y-root) * { letter-spacing: inherit; word-spacing: inherit; }
html.a11y-pause-motion body > :not(.pelite-a11y-root),
html.a11y-pause-motion body > :not(.pelite-a11y-root) * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
html.a11y-hide-images body > :not(.pelite-a11y-root) img,
html.a11y-hide-images body > :not(.pelite-a11y-root) picture,
html.a11y-hide-images body > :not(.pelite-a11y-root) video { display: none !important; }
html.a11y-hide-images body > :not(.pelite-a11y-root) * { background-image: none !important; }
html.a11y-readable-font body > :not(.pelite-a11y-root),
html.a11y-readable-font body > :not(.pelite-a11y-root) * { font-family: Arial, Helvetica, sans-serif !important; }
html.a11y-large-cursor body > :not(.pelite-a11y-root),
html.a11y-large-cursor body > :not(.pelite-a11y-root) * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M5 3v29l8-7 5 12 6-3-5-11h11z' fill='white' stroke='black' stroke-width='2'/%3E%3C/svg%3E") 5 3, auto !important; }
html.a11y-custom-line-height body > :not(.pelite-a11y-root) p,
html.a11y-custom-line-height body > :not(.pelite-a11y-root) li,
html.a11y-custom-line-height body > :not(.pelite-a11y-root) article,
html.a11y-custom-line-height body > :not(.pelite-a11y-root) section { line-height: var(--pelite-a11y-line-height, 1.7) !important; }
html.a11y-align-left body > :not(.pelite-a11y-root) p,
html.a11y-align-left body > :not(.pelite-a11y-root) h1,
html.a11y-align-left body > :not(.pelite-a11y-root) h2,
html.a11y-align-left body > :not(.pelite-a11y-root) h3,
html.a11y-align-left body > :not(.pelite-a11y-root) li { text-align: left !important; }
html.a11y-saturation-low body > :not(.pelite-a11y-root) { filter: saturate(0); }
html.a11y-saturation-high body > :not(.pelite-a11y-root) { filter: saturate(1.8); }
html.a11y-contrast.a11y-saturation-low body > :not(.pelite-a11y-root) { filter: contrast(1.35) saturate(0); }
html.a11y-contrast.a11y-saturation-high body > :not(.pelite-a11y-root) { filter: contrast(1.35) saturate(1.8); }

@media (max-width: 640px) {
    .pelite-a11y-trigger { top: auto; bottom: 1rem; transform: none; }
    .pelite-a11y-trigger span { max-width: 9rem; opacity: 1; }
    .pelite-a11y-panel { left: .5rem; top: .5rem; width: calc(100vw - 1rem); max-height: calc(100vh - 1rem); transform: none; }
    .pelite-a11y-panel__body { max-height: calc(100vh - 7.3rem); }
    .pelite-a11y-profile-grid { grid-template-columns: 1fr; }
    .pelite-a11y-phrase-grid { grid-template-columns: 1fr; }
    .pelite-a11y-whiteboard { height: 250px; }
}

@media (prefers-reduced-motion: reduce) {
    .pelite-a11y-root *, .pelite-a11y-root *::before, .pelite-a11y-root *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
