.aiesep-preference-dock[hidden],
.aiesep-cookie-banner[hidden],
.aiesep-access-panel [data-read-aloud-row][hidden],
.aiesep-preference-link[hidden] { display: none !important; }

.page-id-30416 .reading-content a { overflow-wrap: anywhere; }

@media (max-width: 700px) {
    html[data-aiesep-text-size] body.aiesep-task .task-command-bar .task-command-link {
        flex: 0 0 auto;
        inline-size: auto;
        min-inline-size: max-content;
    }
}

html:has(.aiesep-preference-dock:not([hidden])) { scroll-padding-bottom: calc(var(--aiesep-bottom-bar, 0px) + var(--aiesep-preferences-height, 0px) + 16px); }
body:has(.aiesep-preference-dock:not([hidden])) > :is(.site-footer, .task-footer) { padding-block-end: calc(var(--aiesep-bottom-bar, 0px) + var(--aiesep-preferences-height, 0px) + 16px) !important; }

.aiesep-preference-dock,
.aiesep-preference-dialog {
    --preference-ink: #122c3d;
    --preference-text: #375264;
    --preference-border: #9aafb9;
    --preference-surface: #f4f9fa;
    color: var(--preference-ink);
    font: inherit;
}
.aiesep-preference-dock {
    position: fixed;
    z-index: 950;
    inset-inline-start: max(0.75rem, env(safe-area-inset-left));
    inset-block-end: calc(max(0.75rem, env(safe-area-inset-bottom)) + var(--aiesep-bottom-bar, 0px));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    max-width: calc(100vw - max(1.5rem, env(safe-area-inset-left) + env(safe-area-inset-right)));
}
.aiesep-access-launch,
.aiesep-cookie-decisions button,
.aiesep-preference-actions button,
.aiesep-preference-header button,
.aiesep-preference-stepper button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 44px;
    border: 1px solid var(--preference-border);
    border-radius: .64rem;
    background: #fff;
    color: var(--preference-ink);
    padding: .38rem .7rem;
    font: inherit;
    font-weight: 650;
    line-height: 1.25;
    cursor: pointer;
}
.aiesep-access-launch {
    order: 1;
    border-color: #1c4559;
    background: #122f42;
    color: #fff;
    box-shadow: 0 4px 16px #0b2d4440;
    font-size: .85rem;
}
.aiesep-access-mark { font-size: 1.02em; font-weight: 750; }
.aiesep-cookie-banner,
.aiesep-preference-dialog {
    border: 1px solid var(--preference-border);
    border-radius: .92rem;
    background: var(--preference-surface);
    box-shadow: 0 12px 32px #102b4540;
    padding: .95rem;
    overflow: auto;
    overscroll-behavior: contain;
}
.aiesep-cookie-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    box-sizing: border-box;
    width: min(27rem, 100%);
    max-height: min(53dvh, calc(100dvh - 76px));
    padding: clamp(14px, 4vw, 22px);
    border: 1px solid #345d74;
    border-radius: 20px;
    background: linear-gradient(140deg, #173b54 0%, #10283e 80%);
    box-shadow: 0 10px 36px #08182760, 0 3px 8px #08182732;
    color: #fff;
}
.aiesep-cookie-banner h2,
.aiesep-preference-dialog h2 { margin: 0; color: var(--preference-ink); font: inherit; font-size: 1.22rem; font-weight: 750; line-height: 1.23; }
.aiesep-cookie-banner p,
.aiesep-preference-dialog p,
.aiesep-preference-dialog small { display: block; margin: .35rem 0 .7rem; color: var(--preference-text); font-size: .88rem; line-height: 1.45; }
.aiesep-cookie-banner .aiesep-cookie-copy h2 { color: #fff; font-size: max(21px, 1.375rem); letter-spacing: -.025em; text-wrap: balance; }
.aiesep-cookie-banner .aiesep-cookie-copy p { margin: 5px 0 0; color: #e3edf5; font-size: max(15px, .9375rem); }
.aiesep-cookie-decisions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.aiesep-cookie-decisions button {
    min-width: 0;
    min-height: 46px;
    padding: 8px 6px;
    border: 1px solid #b4d7eb;
    border-radius: 10px;
    background: #edf7ff;
    color: #14344b;
    font-size: max(14px, .875rem);
    overflow-wrap: normal;
}
.aiesep-cookie-decisions button:hover { background: #cdeafb; }
.aiesep-cookie-links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.aiesep-cookie-links :is(a, button) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #d9effc;
    font: inherit;
    font-size: max(14px, .875rem);
    text-decoration: underline;
    text-underline-offset: .2em;
    cursor: pointer;
}
.aiesep-cookie-links :is(a, button):hover { color: #fff; }
.aiesep-preference-actions { display: flex; gap: .32rem .58rem; flex-wrap: wrap; align-items: center; }
.aiesep-preference-actions a { display: inline-flex; align-items: center; min-height: 44px; color: #174d72; text-decoration: underline; text-underline-offset: .15em; }
.aiesep-preference-actions button, .aiesep-preference-actions a { font-size: .86rem; }
.aiesep-preference-dialog {
    box-sizing: border-box;
    inset: 0;
    margin: auto;
    width: min(31rem, calc(100vw - 24px));
    max-width: none;
    max-height: calc(100dvh - 24px);
    border-radius: 22px;
    box-shadow: 0 18px 64px #122d4948, 0 3px 10px #102b4526;
}
.aiesep-preference-dialog:not([open]) { display: none; }
.aiesep-preference-dialog::backdrop { background: rgb(8 26 41 / 42%); }
.aiesep-cookie-panel { padding: 20px; background: #f5f9fc; }
.aiesep-cookie-panel h2 { font-size: max(22px, 1.375rem); }
.aiesep-cookie-panel :is(p, small) { font-size: max(15px, .9375rem) !important; }
.aiesep-cookie-panel .aiesep-preference-actions { margin-top: 8px; }
.aiesep-cookie-essential { flex: none; padding: 4px 8px; border-radius: 20px; background: #dcebf5; color: #173b54; font-size: max(13px, .8125rem); font-weight: 700; }
.aiesep-access-panel {
    width: min(34rem, calc(100vw - 24px));
    padding: 0;
    background: #f5f9fc;
    font-size: max(18px, 1.125rem);
    overflow-wrap: anywhere;
}
@supports ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
    .aiesep-preference-dialog::backdrop {
        background: rgb(8 26 41 / 30%);
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
    }
}
.aiesep-access-panel .aiesep-preference-header {
    margin: 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, #e0eef7, #edf5fb);
    border-bottom: 1px solid #c4d8e5;
}
.aiesep-access-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.aiesep-access-title .aiesep-access-mark {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    height: 36px;
    border-radius: 10px;
    background: #173e59;
    color: #fff;
    font-size: 16px;
}
.aiesep-access-panel .aiesep-preference-header h2 { font-size: max(24px, 1.5rem); letter-spacing: -.025em; overflow-wrap: normal; }
.aiesep-access-panel .aiesep-preference-header button { flex: 0 0 auto; border-radius: 50%; }
.aiesep-access-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
}
.aiesep-access-panel .aiesep-preference-row {
    min-width: 0;
    min-height: 64px;
    padding: 9px 10px;
    border: 1px solid #c0d3e0;
    border-radius: 10px;
    background: #fff;
}
.aiesep-access-panel .aiesep-access-size { grid-column: 1 / -1; background: #e8f3fa; border-color: #b2cddd; flex-wrap: wrap; }
.aiesep-access-panel [data-read-aloud-row] { grid-column: 1 / -1; }
.aiesep-access-panel .aiesep-preference-row:has([data-access-motion]) { grid-column: 1 / -1; }
.aiesep-access-panel .aiesep-preference-row strong { font: inherit; font-weight: 720; }
.aiesep-access-panel .aiesep-preference-row small { font-size: max(15px, .9375rem) !important; margin-block-start: 2px; line-height: 1.35; }
.aiesep-access-panel .aiesep-preference-stepper { flex: none; gap: 4px; padding: 2px; border: 1px solid #b4cbd9; border-radius: 12px; background: #f6fbff; }
.aiesep-access-panel .aiesep-preference-stepper button { font-size: 1.25rem; }
.aiesep-access-panel .aiesep-preference-stepper output { font-weight: 700; }
.aiesep-access-panel label.aiesep-preference-row:has(input:checked) { background: #eaf5fb; border-color: #73a3bf; }
.aiesep-access-panel label.aiesep-preference-row { box-sizing: border-box; min-height: 64px; margin: 0; }
.aiesep-access-panel label.aiesep-preference-row:has(input:disabled) { cursor: default; }
.aiesep-access-panel .aiesep-access-actions {
    justify-content: space-between;
    padding: 9px 12px 12px;
    border-top: 1px solid #c4d8e5;
    gap: 4px 12px;
    background: #edf5fa;
}
.aiesep-access-panel .aiesep-access-actions :is(button, a) { font-size: max(16px, 1rem); }
.aiesep-preference-header, .aiesep-preference-row, .aiesep-preference-stepper { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.aiesep-preference-header { margin-block-end: .4rem; }
.aiesep-preference-header button { font-size: 1.4rem; }
.aiesep-preference-header button, .aiesep-preference-stepper button { min-width: 44px; }
.aiesep-preference-stepper output { min-width: 3.15em; font-variant-numeric: tabular-nums; text-align: center; }
.aiesep-preference-row { border-top: 1px solid var(--preference-border); padding: .52rem 0; line-height: 1.3; }
.aiesep-preference-row p, .aiesep-preference-row small { margin: .13rem 0 0; }
.aiesep-preference-dialog label.aiesep-preference-row { display: flex; width: 100%; min-height: 44px; cursor: pointer; }
.aiesep-preference-switch { position: relative; display: grid; place-items: center; inline-size: 48px; min-block-size: 44px; flex: 0 0 48px; }
.aiesep-preference-switch input[type=checkbox] { position: absolute; inset: 0; z-index: 1; inline-size: 100%; block-size: 100%; margin: 0; opacity: 0; cursor: inherit; }
.aiesep-preference-switch > span { box-sizing: border-box; position: relative; inline-size: 44px; block-size: 26px; border: 1px solid #6a879a; border-radius: 50px; background: #e1ecf3; pointer-events: none; }
.aiesep-preference-switch > span::before { content: ''; position: absolute; inset-block-start: 3px; inset-inline-start: 3px; inline-size: 18px; block-size: 18px; border: 1px solid #6a879a; box-sizing: border-box; border-radius: 50%; background: #fff; }
.aiesep-preference-switch input:checked + span { background: #13577f; border-color: #13577f; }
.aiesep-preference-switch input:checked + span::before { inset-inline-start: 21px; border-color: #fff; }
.aiesep-preference-switch input:focus-visible + span { outline: 3px solid #12608b; outline-offset: 3px; }
.aiesep-preference-switch input:disabled + span { border-style: dashed; }
.aiesep-preference-stepper button[aria-disabled=true] { color: #536873; background: #ecf1f3; cursor: default; }
.aiesep-preference-link { color: inherit; border: 0; background: transparent; cursor: pointer; padding: .35rem 0; font: inherit; text-decoration: underline; text-underline-offset: .15em; }
.aiesep-preference-dock :focus-visible, .aiesep-preference-dialog :focus-visible, .aiesep-preference-link:focus-visible { outline: 3px solid #12608b; outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
.election-media-permission { padding: 1.25rem; color: #fff; }

html[data-aiesep-font] :is(main, .site-header, .task-header, .site-footer, .task-footer, .navigation-dialog, .app-search-dialog) :where(h1, h2, h3, h4, h5, h6, p, li, small, dt, dd, label, a, button, input, select, textarea):not(.dashicons) { font-family: system-ui, sans-serif !important; }
html[data-aiesep-spacing] :is(main, .navigation-dialog, .app-search-dialog) :is(p, li, dd, label, small, a, button, input, select, textarea):not(.screen-reader-text, .dashicons) { line-height: 1.55 !important; letter-spacing: .075em !important; word-spacing: .13em !important; }
html[data-aiesep-spacing] main p + p { margin-block-start: 1.25em; }
html[data-aiesep-links] :is(main, .site-header, .task-header, .site-footer, .task-footer, .navigation-dialog, .app-search-dialog) a[href] { text-decoration: underline !important; text-decoration-thickness: .11em !important; text-underline-offset: .17em; }
html[data-aiesep-contrast] :is(main, .navigation-dialog, .app-search-dialog) :is(h1, h2, h3, h4, h5, h6, p, li, label, small, dt, dd, a, button):not(:has(img)):not(.screen-reader-text) {
    color: #fff !important;
    background: #081b27 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}
html[data-aiesep-contrast] :is(main, .navigation-dialog, .app-search-dialog) :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #ffe36b !important; outline-offset: 2px; box-shadow: 0 0 0 2px #081b27 !important; }
html[data-aiesep-contrast] :is(main, .navigation-dialog, .app-search-dialog) :is(input, select, textarea):not([type=checkbox], [type=radio]) { background: #081b27 !important; color: #fff !important; border-color: #98c3d8 !important; }
html[data-aiesep-contrast] :is(main, .navigation-dialog, .app-search-dialog) a[href]:not(:has(img)) { color: #afddfb !important; text-decoration-thickness: .11em; }

@media (min-width: 1120px) {
    html[data-aiesep-text-size] .aiesep-app .header-inner { flex-wrap: wrap; justify-content: space-between; padding-block: .55rem; }
    html[data-aiesep-text-size] .primary-navigation { min-width: 0; }
    html[data-aiesep-text-size] .mega-primary-list { flex-wrap: wrap; }
}
@media (min-width: 850px) {
    .aiesep-preference-dock:has(.aiesep-cookie-banner:not([hidden])) { width: min(56rem, calc(100vw - 24px)); }
    .aiesep-cookie-banner { width: 100%; grid-template-columns: minmax(0, 1fr) minmax(282px, .65fr); align-items: center; gap: 18px 24px; }
    .aiesep-cookie-links { justify-content: flex-start; }
}
@media (max-width: 540px) {
    .aiesep-access-launch span:last-child { display: none; }
    .aiesep-access-launch { min-width: 44px; }
    .aiesep-access-options { grid-template-columns: minmax(0, 1fr); }
    .aiesep-access-panel .aiesep-preference-header { padding: 10px 12px; }
    .aiesep-access-panel .aiesep-preference-header h2 { font-size: max(22px, 1.35rem); }
    .aiesep-access-size .aiesep-preference-stepper { margin-inline-start: auto; }
}
@media (max-height: 500px) and (min-width: 620px) {
    .aiesep-preference-dock:has(.aiesep-cookie-banner:not([hidden])) { width: min(56rem, calc(100vw - 24px)); }
    .aiesep-cookie-banner { width: 100%; grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr); align-items: center; gap: 12px; }
}
@media (forced-colors: active) {
    .aiesep-cookie-banner, .aiesep-preference-dialog, .aiesep-access-launch { border: 2px solid CanvasText; background: Canvas; color: CanvasText; }
    .aiesep-cookie-banner .aiesep-cookie-copy :is(h2, p), .aiesep-access-title .aiesep-access-mark { color: CanvasText; }
    .aiesep-cookie-links :is(a, button) { color: LinkText; }
    .aiesep-preference-dialog::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }
    .aiesep-preference-switch input[type=checkbox] { position: static; opacity: 1; inline-size: 24px; block-size: 24px; appearance: auto; }
    .aiesep-preference-switch > span { display: none; }
}
