.aio-project-switcher,.aio-theme-toggle{--aio-theme-surface:#0b1d2d;--aio-theme-text:#edf7ff;--aio-theme-muted:#9fb6c8;--aio-theme-line:rgba(125,211,252,.24);--aio-theme-accent:#38bdf8;--aio-theme-shadow:0 20px 55px rgba(0,8,20,.38)}
html[data-theme="light"] :is(.aio-project-switcher,.aio-theme-toggle){--aio-theme-surface:#fff;--aio-theme-text:#102638;--aio-theme-muted:#5c7181;--aio-theme-line:rgba(24,80,112,.18);--aio-theme-accent:#087eaa;--aio-theme-shadow:0 18px 50px rgba(30,72,98,.12)}
.aio-theme-toggle {
    position: fixed;
    z-index: 2147483000;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 10px));
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 46px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--aio-theme-line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--aio-theme-surface) 90%, transparent);
    color: var(--aio-theme-text);
    box-shadow: var(--aio-theme-shadow);
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
    font: 600 12px/1 Arial, sans-serif;
    letter-spacing: .02em;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.aio-theme-toggle:hover { transform: translateY(-2px); }
.aio-theme-toggle:focus-visible { outline: 3px solid color-mix(in srgb, var(--aio-theme-accent) 35%, transparent); outline-offset: 3px; }
.aio-theme-toggle__icon { width: 18px; font-size: 19px; line-height: 1; text-align: center; }

.aio-project-switcher {
    position: fixed;
    z-index: 2147482900;
    top: 50%;
    right: max(14px, env(safe-area-inset-right));
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(-50%);
    font-family: 'Poppins', Arial, sans-serif;
}

.aio-project-switcher__button {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 7px;
    border: 2px solid var(--aio-theme-accent);
    border-radius: 50%;
    color: var(--aio-theme-accent);
    background: color-mix(in srgb, var(--aio-theme-surface) 92%, transparent);
    box-shadow: var(--aio-theme-shadow);
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease;
}

.aio-project-switcher__button:hover,
.aio-project-switcher.is-open .aio-project-switcher__button {
    transform: scale(1.06);
    background: color-mix(in srgb, var(--aio-theme-accent) 14%, var(--aio-theme-surface));
}

.aio-project-switcher__button:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--aio-theme-accent) 35%, transparent);
    outline-offset: 3px;
}

.aio-project-switcher__button svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
}

.aio-project-switcher__button .aio-project-switcher__pupil {
    fill: currentColor;
    stroke: none;
}

.aio-project-switcher__menu {
    position: absolute;
    right: 62px;
    top: 50%;
    width: 250px;
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px;
    border: 1px solid var(--aio-theme-line);
    border-radius: 18px;
    background: color-mix(in srgb, var(--aio-theme-surface) 96%, transparent);
    box-shadow: var(--aio-theme-shadow);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(12px, -50%);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.aio-project-switcher.is-open .aio-project-switcher__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(0, -50%);
}

.aio-project-switcher__title {
    display: block;
    padding: 4px 10px 10px;
    color: var(--aio-theme-muted);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.aio-project-switcher__menu a {
    display: flex;
    align-items: center;
    min-height: 42px;
    line-height: 1.4;
    padding: 8px 11px;
    border-radius: 11px;
    color: var(--aio-theme-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.aio-project-switcher__menu a::before {
    content: '';
    width: 6px;
    flex-shrink: 0;
    height: 6px;
    margin-right: 10px;
    border: 1px solid var(--aio-theme-accent);
    border-radius: 50%;
}

.aio-project-switcher__menu a:hover {
    background: color-mix(in srgb, var(--aio-theme-accent) 10%, transparent);
}

.aio-project-switcher__menu a.is-active {
    color: var(--aio-theme-accent);
    background: color-mix(in srgb, var(--aio-theme-accent) 14%, transparent);
}

.aio-project-switcher__menu a.is-active::before {
    background: var(--aio-theme-accent);
    box-shadow: 0 0 10px var(--aio-theme-accent);
}

@media (max-width: 700px) {
    .aio-project-switcher {
        right: max(8px, env(safe-area-inset-right));
    }

    .aio-project-switcher__button {
        width: 44px;
        height: 44px;
    }

    .aio-project-switcher__menu {
        right: 54px;
        width: min(250px, calc(100vw - 78px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .aio-project-switcher__button,
    .aio-project-switcher__menu {
        transition: none;
    }
}

[data-aio-draggable]{touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab!important}
[data-aio-dragging]{cursor:grabbing!important}
[data-aio-positioned]{position:fixed!important;right:auto!important;bottom:auto!important;transform:none!important;transition:none!important}
@media(max-width:700px){.aio-theme-toggle{width:44px;min-width:44px;height:44px;padding:0;justify-content:center}.aio-theme-toggle__label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}}