:root {
    --table-gold: #e2bf75;
    --table-gold-soft: #f4dea8;
    --table-emerald: #0c5947;
    --table-ink: #f8f1dd;
    --table-panel: rgba(4, 18, 15, .76);
    --table-panel-strong: rgba(4, 15, 13, .9);
    --table-line: rgba(235, 203, 132, .25);
    --table-line-strong: rgba(242, 213, 151, .5);
    --table-shadow: 0 24px 70px rgba(0, 0, 0, .32);
}

.desktop-top-bar {
    display: none;
}

.bottom-nav {
    display: none !important;
}

@media (min-width: 900px) {
    html {
        scroll-padding-top: 74px;
    }

    .app-shell,
    .app-shell.nav-collapsed,
    .app-shell.details-collapsed,
    .app-shell.nav-collapsed.details-collapsed {
        display: block !important;
        min-height: 100vh;
        padding-top: 72px;
    }

    .side-nav,
    #nav-expand,
    .top-bar,
    .bottom-nav {
        display: none !important;
    }

    .desktop-top-bar {
        position: fixed;
        inset: 0 0 auto;
        z-index: 80;
        height: 72px;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: clamp(16px, 2.2vw, 34px);
        padding: 0 clamp(20px, 3vw, 48px);
        border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
        background: color-mix(in srgb, var(--bg-elevated) 88%, transparent);
        box-shadow: 0 12px 36px rgba(0, 0, 0, .08);
        backdrop-filter: blur(24px) saturate(132%);
        -webkit-backdrop-filter: blur(24px) saturate(132%);
    }

    body:has(.workspace[data-route="home"]) .desktop-top-bar {
        border-bottom-color: rgba(232, 204, 143, .14);
        background: linear-gradient(180deg, rgba(3, 12, 10, .9), rgba(3, 13, 11, .72));
        box-shadow: 0 14px 40px rgba(0, 0, 0, .16);
    }

    .desktop-top-brand {
        min-width: 130px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: var(--text);
        text-decoration: none;
    }

    .desktop-top-brand .brand__name {
        font-size: 19px;
    }

    .desktop-primary-nav {
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(1px, .5vw, 8px);
    }

    .desktop-primary-nav > .nav-link,
    .desktop-primary-nav > .nav-group > .nav-group-summary {
        width: auto;
        min-height: 40px;
        display: inline-flex;
        grid-template-columns: none;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 0 clamp(9px, 1.05vw, 15px);
        border: 1px solid transparent;
        border-radius: 999px;
        color: color-mix(in srgb, var(--text-soft) 82%, transparent);
        background: transparent;
        font-size: clamp(.72rem, .78vw, .84rem);
        font-weight: 670;
        letter-spacing: -.01em;
        white-space: nowrap;
        transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
    }

    body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-link,
    body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-group > .nav-group-summary {
        color: rgba(247, 240, 218, .78);
    }

    .desktop-primary-nav > .nav-link:hover,
    .desktop-primary-nav > .nav-link:focus-visible,
    .desktop-primary-nav > .nav-group > .nav-group-summary:hover,
    .desktop-primary-nav > .nav-group > .nav-group-summary:focus-visible,
    .desktop-primary-nav > .nav-link.is-active,
    .desktop-primary-nav > .nav-group.is-active > .nav-group-summary,
    .desktop-primary-nav > .nav-group[open] > .nav-group-summary {
        color: var(--text);
        border-color: color-mix(in srgb, var(--accent) 23%, var(--line));
        background: color-mix(in srgb, var(--surface-hover) 70%, transparent);
        transform: translateY(-1px);
    }

    body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-link:hover,
    body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-link:focus-visible,
    body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-group > .nav-group-summary:hover,
    body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-group > .nav-group-summary:focus-visible,
    body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-link.is-active,
    body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-group.is-active > .nav-group-summary,
    body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-group[open] > .nav-group-summary {
        color: #fff9e8;
        border-color: rgba(231, 200, 132, .28);
        background: rgba(255, 248, 225, .08);
    }

    .desktop-primary-nav .nav-icon {
        display: none;
    }

    .desktop-primary-nav .nav-group {
        position: relative;
        flex: 0 0 auto;
    }

    .desktop-primary-nav .nav-group-summary {
        list-style: none;
        cursor: pointer;
    }

    .desktop-primary-nav .nav-group-summary::-webkit-details-marker {
        display: none;
    }

    .desktop-primary-nav .nav-group-caret {
        display: inline-block;
        color: currentColor;
        font-size: .9rem;
        transform: rotate(90deg);
        transition: transform .18s ease;
    }

    .desktop-primary-nav .nav-group[open] .nav-group-caret {
        transform: rotate(-90deg);
    }

    .desktop-primary-nav .nav-sub-list {
        position: absolute;
        top: calc(100% + 12px);
        left: 50%;
        z-index: 92;
        width: max-content;
        min-width: 228px;
        max-width: 300px;
        display: grid;
        gap: 4px;
        padding: 8px;
        border: 1px solid color-mix(in srgb, var(--line-strong) 78%, transparent);
        border-radius: 17px;
        background: color-mix(in srgb, var(--surface-solid) 94%, transparent);
        box-shadow: 0 20px 56px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .04);
        backdrop-filter: blur(24px) saturate(130%);
        -webkit-backdrop-filter: blur(24px) saturate(130%);
        transform: translateX(-50%);
    }

    body:has(.workspace[data-route="home"]) .desktop-primary-nav .nav-sub-list {
        border-color: rgba(224, 192, 122, .2);
        background: rgba(5, 18, 15, .96);
    }

    .desktop-primary-nav .nav-sub-link {
        min-height: 40px;
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 0 12px;
        border-radius: 11px;
        color: var(--muted);
        text-decoration: none;
        font-size: .8rem;
        font-weight: 620;
        transition: color .16s ease, background .16s ease;
    }

    .desktop-primary-nav .nav-sub-link:hover,
    .desktop-primary-nav .nav-sub-link:focus-visible,
    .desktop-primary-nav .nav-sub-link.is-active {
        color: var(--text);
        background: color-mix(in srgb, var(--accent) 9%, var(--surface-hover));
    }

    body:has(.workspace[data-route="home"]) .desktop-primary-nav .nav-sub-link {
        color: rgba(246, 237, 211, .7);
    }

    body:has(.workspace[data-route="home"]) .desktop-primary-nav .nav-sub-link:hover,
    body:has(.workspace[data-route="home"]) .desktop-primary-nav .nav-sub-link:focus-visible,
    body:has(.workspace[data-route="home"]) .desktop-primary-nav .nav-sub-link.is-active {
        color: #fff7df;
        background: rgba(235, 203, 132, .1);
    }

    .desktop-primary-nav .nav-sub-marker {
        width: 5px;
        height: 5px;
        flex: 0 0 auto;
        border-radius: 50%;
        background: currentColor;
        opacity: .42;
    }

    .desktop-primary-nav :where(.is-guest-locked, .is-guest-locked-group) {
        opacity: .72;
    }

    .desktop-top-actions {
        min-width: 130px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 7px;
    }

    .desktop-top-icon,
    .desktop-language-switcher > summary {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        padding: 0;
        border: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
        border-radius: 12px;
        color: var(--text-soft);
        background: color-mix(in srgb, var(--surface) 58%, transparent);
        cursor: pointer;
        transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
    }

    body:has(.workspace[data-route="home"]) :where(.desktop-top-icon, .desktop-language-switcher > summary) {
        border-color: rgba(232, 203, 139, .14);
        color: rgba(248, 241, 219, .78);
        background: rgba(255, 248, 225, .045);
    }

    .desktop-top-icon:hover,
    .desktop-top-icon:focus-visible,
    .desktop-language-switcher > summary:hover,
    .desktop-language-switcher > summary:focus-visible,
    .desktop-language-switcher[open] > summary {
        color: var(--text);
        border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
        background: color-mix(in srgb, var(--surface-hover) 75%, transparent);
        transform: translateY(-1px);
    }

    body:has(.workspace[data-route="home"]) :where(.desktop-top-icon:hover, .desktop-top-icon:focus-visible, .desktop-language-switcher > summary:hover, .desktop-language-switcher > summary:focus-visible, .desktop-language-switcher[open] > summary) {
        color: #fff8e4;
        border-color: rgba(232, 201, 133, .32);
        background: rgba(255, 248, 225, .09);
    }

    .desktop-top-icon svg,
    .desktop-language-switcher > summary svg {
        width: 19px;
        height: 19px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .desktop-language-switcher {
        position: relative;
    }

    .desktop-language-switcher > summary {
        list-style: none;
    }

    .desktop-language-switcher > summary::-webkit-details-marker {
        display: none;
    }

    .desktop-language-switcher .app-language-menu {
        top: calc(100% + 10px);
        right: 0;
        left: auto;
        min-width: 112px;
    }

    .desktop-top-actions .desktop-login-button {
        position: static !important;
        min-width: 74px !important;
        width: auto !important;
        height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 15px !important;
        overflow: hidden !important;
        border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line)) !important;
        border-radius: 12px !important;
        color: var(--text) !important;
        background: color-mix(in srgb, var(--accent) 8%, var(--surface)) !important;
        box-shadow: none !important;
        animation: none !important;
        transform: none !important;
    }

    body:has(.workspace[data-route="home"]) .desktop-top-actions .desktop-login-button {
        border-color: rgba(232, 201, 133, .24) !important;
        color: #fff8e4 !important;
        background: rgba(230, 198, 127, .1) !important;
    }

    .desktop-top-actions .desktop-login-button[hidden] {
        display: none !important;
    }

    .desktop-top-actions .desktop-login-button:hover,
    .desktop-top-actions .desktop-login-button:focus-visible {
        border-color: color-mix(in srgb, var(--accent) 48%, var(--line)) !important;
        background: color-mix(in srgb, var(--accent) 13%, var(--surface-hover)) !important;
        transform: translateY(-1px) !important;
    }

    .desktop-top-actions .desktop-login-button .login-cloud-button__body,
    .desktop-top-actions .desktop-login-button .login-cloud-button__content {
        position: static !important;
        inset: auto !important;
        display: inline-flex !important;
        padding: 0 !important;
        animation: none !important;
        transform: none !important;
        text-shadow: none !important;
    }

    .desktop-top-actions .desktop-login-button :where(.login-cloud-button__shape, .login-cloud-button__icon, .login-cloud-button__spark, .login-cloud-button__tooltip) {
        display: none !important;
    }

    .desktop-top-actions .desktop-login-button .login-cloud-button__label {
        overflow: visible;
        color: inherit;
        font-size: .76rem !important;
        font-weight: 720;
    }

    .workspace {
        max-width: none;
    }

    .workspace:not([data-route="home"]) {
        width: 100%;
        max-width: 1480px;
        margin-inline: auto;
        padding: 38px clamp(26px, 4vw, 64px) 90px;
    }

    .home-table-hero {
        min-height: calc(100dvh - 72px);
    }

    .details-panel {
        top: 72px;
        height: calc(100dvh - 72px);
    }
}

.workspace[data-route="home"] {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 1;
    transform: none;
    animation: none !important;
}

.home-table-hero {
    position: relative;
    isolation: isolate;
    min-height: calc(100dvh - 64px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    justify-items: center;
    gap: clamp(10px, 1.8vh, 18px);
    overflow: hidden;
    padding: clamp(18px, 2.8vh, 34px) clamp(14px, 3.8vw, 58px) clamp(18px, 3.4vh, 42px);
    color: #3b3024;
    background: #bda987;
}

.home-table-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -4;
    background:
        radial-gradient(
            circle at center,
            #ccb998 0%,
            #bda987 55%,
            #a89270 100%
        );
}

.home-table-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .13;
    mix-blend-mode: soft-light;
    background-image:
        radial-gradient(circle at 22% 31%, rgba(255, 255, 255, .28) 0 .45px, transparent .8px),
        radial-gradient(circle at 73% 64%, rgba(58, 39, 22, .2) 0 .4px, transparent .78px),
        radial-gradient(circle at 47% 78%, rgba(255, 255, 255, .18) 0 .35px, transparent .72px);
    background-size: 4px 4px, 5px 5px, 7px 7px;
}

.home-table-hero__vignette {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 58% 48% at 50% 43%, rgba(255, 247, 226, .14), transparent 62%),
        radial-gradient(ellipse at center, transparent 52%, rgba(69, 47, 28, .17) 100%);
}

.home-table-hero__glow {
    display: none;
}

.home-table-hero__glow--one {
    top: 7%;
    left: 7%;
    background: radial-gradient(circle, rgba(66, 203, 154, .6), transparent 68%);
}

.home-table-hero__glow--two {
    right: 5%;
    bottom: 8%;
    background: radial-gradient(circle, rgba(226, 185, 98, .46), transparent 68%);
}

.home-table-brand {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: clamp(12px, 1.4vw, 20px);
    padding: 4px 18px 6px;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .28));
    animation: table-brand-float 7s ease-in-out infinite;
}

.home-table-brand::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(235, 204, 134, .52), transparent);
    transform: translateX(-50%);
}

.home-table-brand__mark {
    width: clamp(38px, 4vw, 54px);
    height: clamp(42px, 4.4vw, 59px);
    transform: scale(1.24);
    transform-origin: center;
}

.home-table-brand__mark span {
    border-color: rgba(244, 215, 151, .62);
    background: linear-gradient(160deg, rgba(237, 211, 149, .14), rgba(42, 151, 119, .08));
    box-shadow: inset 0 0 15px rgba(239, 211, 145, .07), 0 0 18px rgba(228, 193, 116, .06);
}

.home-table-brand__name {
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    letter-spacing: .055em;
    text-shadow: 0 4px 26px rgba(0, 0, 0, .3), 0 0 28px rgba(231, 199, 126, .12);
}

.home-table-hero__title {
    position: relative;
    z-index: 3;
    margin: 0;
    color: rgba(58, 46, 34, .82);
    font-family: var(--body-font);
    font-size: clamp(.78rem, 1.05vw, 1rem);
    font-weight: 650;
    letter-spacing: .09em;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 1px 1px rgba(255, 248, 231, .28);
}

.home-table-resume {
    position: absolute;
    z-index: 6;
    top: clamp(18px, 3vh, 34px);
    left: clamp(16px, 3vw, 44px);
    max-width: min(300px, 31vw);
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 9px 13px 9px 9px;
    border: 1px solid rgba(235, 207, 146, .22);
    border-radius: 999px;
    color: rgba(255, 248, 226, .86);
    background: rgba(3, 16, 13, .58);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255,255,255,.04);
    backdrop-filter: blur(15px) saturate(125%);
    -webkit-backdrop-filter: blur(15px) saturate(125%);
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.home-table-resume:hover,
.home-table-resume:focus-visible {
    border-color: rgba(239, 209, 143, .5);
    background: rgba(5, 24, 19, .76);
    transform: translateY(-2px);
}

.home-table-resume__mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(233, 203, 137, .22);
    border-radius: 50%;
    color: var(--table-gold-soft);
    background: rgba(232, 197, 121, .08);
}

.home-table-resume__copy {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.home-table-resume__copy strong {
    color: inherit;
    font-size: .72rem;
    font-weight: 720;
}

.home-table-resume__copy span {
    overflow: hidden;
    color: rgba(245, 237, 214, .58);
    font-size: .65rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-table-launcher {
    position: relative;
    z-index: 4;
    grid-row: 2;
    width: min(1320px, 100%);
    min-height: 0;
    align-self: stretch;
    display: grid;
    align-items: stretch;
}

.home-table-launcher > .loading {
    align-self: center;
    color: rgba(255, 248, 227, .76);
}

.quick-launcher.quick-launcher--table {
    position: relative;
    width: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(390px, 1fr) auto;
    gap: clamp(16px, 2.4vh, 26px);
    align-items: stretch;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: rgba(54, 42, 31, .88) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.quick-launcher--table.is-pending {
    opacity: .78;
}

.quick-launcher--table > .quick-limit-panel {
    position: absolute;
    z-index: 10;
    top: 6px;
    left: 50%;
    width: min(720px, calc(100% - 24px));
    border-color: rgba(236, 203, 133, .25);
    color: var(--table-ink);
    background: rgba(5, 20, 16, .9);
    box-shadow: 0 20px 55px rgba(0,0,0,.28);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(-50%);
}

.quick-launcher--table .quick-limit-panel__copy strong,
.quick-launcher--table .quick-limit-panel__copy p {
    color: inherit;
}

.quick-launcher__table-decks {
    min-height: 0;
    display: grid;
    place-items: center;
    padding: clamp(4px, 1.2vh, 12px) 0 0;
}

.quick-system-grid.quick-system-grid--table {
    width: min(1160px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    align-items: end;
    justify-content: center;
    gap: clamp(28px, 5vw, 76px);
}

.quick-system-card.quick-system-card--table {
    position: relative;
    width: 100%;
    min-height: clamp(390px, 47vh, 500px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    padding: 20px 4px 12px;
    overflow: visible;
    border: 0 !important;
    border-radius: 0;
    color: rgba(54, 42, 31, .88) !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
    transform: translateY(0);
    transition: color .2s ease, transform .28s cubic-bezier(.2,.78,.25,1), filter .24s ease;
}

.quick-system-card--table::before {
    content: none;
}

.quick-system-card--table:hover:not(:disabled),
.quick-system-card--table:focus-visible,
.quick-system-card--table.is-active {
    color: rgba(45, 34, 25, .98) !important;
    background: transparent !important;
    transform: translateY(-6px) !important;
}

.quick-system-card--table:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.quick-system-card--table .quick-system-card__copy {
    display: block;
}

.quick-system-card--table .quick-system-card__copy strong {
    display: block;
    color: inherit;
    font-family: var(--display-font);
    font-size: clamp(1.25rem, 1.75vw, 1.65rem);
    font-weight: 570;
    letter-spacing: .025em;
    text-shadow: 0 1px 1px rgba(255, 248, 231, .24);
}

.quick-system-card--table .quick-system-card__note {
    display: block;
    max-width: min(24ch, 100%);
    margin: 0 auto;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    color: rgba(61, 49, 37, .86);
    font-size: clamp(.82rem, 1.08vw, .98rem);
    font-weight: 460;
    line-height: 1.45;
    transform: translateY(-8px);
    transition: max-height .24s ease, margin-top .24s ease, opacity .2s ease, transform .24s ease;
}

.quick-system-card--table.is-active .quick-system-card__note {
    max-height: 7.5em;
    margin-top: 10px;
    opacity: 1;
    transform: translateY(0);
}

.quick-system-card--table .quick-system-card__check {
    position: absolute;
    right: 18%;
    bottom: 11px;
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(239, 207, 138, .25) !important;
    border-radius: 50%;
    opacity: 0;
    color: #092117 !important;
    background: var(--table-gold) !important;
    box-shadow: 0 0 18px rgba(225, 189, 109, .28);
    font-size: .62rem;
    transform: scale(.7);
    transition: opacity .18s ease, transform .2s ease;
}

.quick-system-card--table.is-active .quick-system-card__check {
    opacity: 1;
    transform: scale(1);
}

.quick-table-deck {
    position: relative;
    width: clamp(188px, 16vw, 248px);
    aspect-ratio: .69;
    display: block;
    perspective: 800px;
    filter: drop-shadow(0 22px 18px rgba(59, 40, 24, .24));
}

.quick-table-deck::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -18px;
    width: 82%;
    height: 24px;
    border-radius: 50%;
    opacity: .25;
    background: radial-gradient(ellipse, rgba(62, 39, 21, .48), transparent 72%);
    filter: blur(9px);
    transform: translateX(-50%);
}

.quick-table-deck__card {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(232, 201, 132, .54);
    border-radius: clamp(10px, 1.3vw, 15px);
    color: rgba(242, 217, 158, .8);
    background:
        radial-gradient(circle at 50% 42%, rgba(236, 205, 137, .16), transparent 36%),
        linear-gradient(145deg, #0d2d27, #061612 72%);
    box-shadow: inset 0 0 0 4px rgba(4, 17, 14, .74), inset 0 0 0 5px rgba(229, 197, 127, .18), inset 0 0 35px rgba(0,0,0,.38);
    font-family: var(--display-font);
    font-size: clamp(1.4rem, 2.3vw, 2.1rem);
    text-shadow: 0 0 16px rgba(232, 198, 124, .28);
    transition: transform .28s cubic-bezier(.2,.78,.25,1), box-shadow .24s ease, border-color .24s ease;
}

.quick-table-deck__card::before,
.quick-table-deck__card::after {
    content: '';
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(230, 199, 132, .15);
    border-radius: inherit;
}

.quick-table-deck__card::after {
    inset: 23%;
    border-radius: 50%;
    transform: rotate(45deg);
}

.quick-table-deck__card--1 {
    transform: translate(-13px, 8px) rotate(-7deg);
}

.quick-table-deck__card--2 {
    transform: translate(11px, 7px) rotate(6deg);
}

.quick-table-deck__card--3 {
    z-index: 3;
    transform: translate(0, 0) rotate(0);
}

.quick-system-card--table:hover .quick-table-deck__card--1,
.quick-system-card--table:focus-visible .quick-table-deck__card--1,
.quick-system-card--table.is-active .quick-table-deck__card--1 {
    transform: translate(-19px, 6px) rotate(-10deg);
}

.quick-system-card--table:hover .quick-table-deck__card--2,
.quick-system-card--table:focus-visible .quick-table-deck__card--2,
.quick-system-card--table.is-active .quick-table-deck__card--2 {
    transform: translate(17px, 4px) rotate(9deg);
}

.quick-system-card--table:hover .quick-table-deck__card--3,
.quick-system-card--table:focus-visible .quick-table-deck__card--3,
.quick-system-card--table.is-active .quick-table-deck__card--3 {
    border-color: rgba(244, 215, 151, .78);
    box-shadow: inset 0 0 0 4px rgba(4, 17, 14, .68), inset 0 0 0 5px rgba(239, 210, 145, .28), inset 0 0 42px rgba(0,0,0,.32), 0 0 28px rgba(230, 194, 115, .17);
    transform: translateY(-5px);
}

.quick-table-deck--runes .quick-table-deck__card {
    color: rgba(183, 238, 220, .88);
    border-color: rgba(157, 220, 199, .48);
    background:
        radial-gradient(circle at 50% 40%, rgba(125, 213, 185, .18), transparent 38%),
        linear-gradient(145deg, #173a34, #081d19 72%);
    box-shadow: inset 0 0 0 4px rgba(5, 19, 17, .7), inset 0 0 0 5px rgba(141, 215, 191, .16), inset 0 0 35px rgba(0,0,0,.38);
    text-shadow: 0 0 18px rgba(126, 220, 190, .3);
}

.quick-table-deck--runes .quick-table-deck__card::after {
    border-radius: 7px;
    transform: rotate(45deg);
}

.quick-table-deck--mac .quick-table-deck__card {
    color: rgba(244, 199, 229, .88);
    border-color: rgba(227, 173, 210, .5);
    background:
        radial-gradient(circle at 50% 39%, rgba(229, 166, 208, .18), transparent 40%),
        linear-gradient(145deg, #38233a, #160d1a 74%);
    box-shadow: inset 0 0 0 4px rgba(21, 10, 22, .72), inset 0 0 0 5px rgba(227, 170, 209, .16), inset 0 0 35px rgba(0,0,0,.4);
    text-shadow: 0 0 18px rgba(226, 158, 207, .3);
}

.quick-table-deck--mac .quick-table-deck__card::after {
    border-radius: 50%;
    box-shadow: 0 0 0 9px rgba(229, 176, 212, .04), 0 0 0 18px rgba(229, 176, 212, .025);
}

.quick-launcher__table-panel {
    width: min(1120px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        'spreads'
        'status';
    align-items: stretch;
    gap: 12px 14px;
    margin: clamp(20px, 3.8vh, 44px) auto 0;
    padding: 14px;
    border: 1px solid var(--table-line);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.035), transparent 42%),
        var(--table-panel);
    box-shadow: var(--table-shadow), inset 0 1px 0 rgba(255,255,255,.035);
    backdrop-filter: blur(22px) saturate(125%);
    -webkit-backdrop-filter: blur(22px) saturate(125%);
}

.quick-launcher__table-spreads {
    grid-area: spreads;
    min-width: 0;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 9px;
    padding: 4px 2px 2px 4px;
}

.quick-launcher--table .quick-launcher__section-head {
    align-items: center;
}

.quick-launcher--table .quick-launcher__section-title {
    margin: 0;
    color: rgba(252, 246, 227, .72);
    font-size: .7rem;
    font-weight: 670;
    letter-spacing: .085em;
    text-transform: uppercase;
}


.quick-spread-search {
    min-width: 0;
    min-height: 42px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 0 13px;
    border: 1px solid rgba(233, 204, 141, .16);
    border-radius: 14px;
    color: rgba(242, 218, 164, .62);
    background: rgba(255, 249, 229, .035);
    transition: border-color .17s ease, background .17s ease, box-shadow .17s ease;
}

.quick-spread-search:focus-within {
    border-color: rgba(239, 209, 144, .42);
    background: rgba(238, 207, 140, .075);
    box-shadow: 0 0 0 3px rgba(229, 195, 120, .08);
}

.quick-spread-search__icon {
    font-size: 1.1rem;
    line-height: 1;
    opacity: .82;
}

.quick-spread-search__input {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0;
    border: 0;
    outline: 0;
    color: rgba(255, 249, 232, .92);
    background: transparent;
    box-shadow: none;
    font: inherit;
    font-size: .74rem;
}

.quick-spread-search__input::placeholder {
    color: rgba(243, 233, 205, .43);
    opacity: 1;
}

.quick-spread-search__input::-webkit-search-cancel-button {
    cursor: pointer;
    filter: sepia(1) saturate(.45) brightness(1.35);
}

.quick-spread-grid.quick-spread-grid--table {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.quick-spread-card-shell {
    position: relative;
    min-width: 0;
    border-radius: 15px;
}

.quick-spread-card-shell.is-favorite .quick-spread-card.quick-spread-card--table {
    border-color: rgba(239, 209, 144, .34) !important;
    background: rgba(238, 207, 140, .075) !important;
}

.quick-spread-card.quick-spread-card--table {
    width: 100%;
    min-height: 114px !important;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 13px 13px 13px 15px;
    border: 1px solid rgba(233, 204, 141, .14) !important;
    border-radius: 15px;
    color: rgba(251, 245, 225, .84) !important;
    background: rgba(255, 249, 229, .035) !important;
    box-shadow: none !important;
    text-align: left;
    transform: none !important;
    transition: color .17s ease, border-color .17s ease, background .17s ease, transform .17s ease !important;
}

.quick-spread-card--table:hover:not(:disabled),
.quick-spread-card--table:focus-visible {
    border-color: rgba(239, 209, 144, .4) !important;
    color: #fff9e8 !important;
    background: rgba(238, 207, 140, .09) !important;
    transform: translateY(-2px) !important;
}

.quick-spread-card--table:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(229, 195, 120, .1) !important;
}

.quick-spread-card--table:disabled {
    cursor: not-allowed;
    opacity: .42;
    transform: none !important;
}

.quick-spread-card__copy-group {
    min-width: 0;
    display: grid;
    gap: 5px;
    padding-right: 17px;
}

.quick-spread-card--table .quick-spread-card__title {
    overflow: hidden;
    display: -webkit-box;
    color: inherit;
    font-size: .82rem;
    font-weight: 690;
    line-height: 1.24;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.quick-spread-card--table .quick-spread-card__meta {
    color: rgba(242, 232, 202, .47);
    font-size: .58rem;
    font-weight: 650;
    letter-spacing: .055em;
    text-transform: uppercase;
}


.quick-spread-card--table .quick-spread-card__copy {
    overflow: hidden;
    display: -webkit-box;
    color: rgba(244, 235, 208, .55);
    font-size: .63rem;
    font-weight: 500;
    line-height: 1.36;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.quick-spread-favorite {
    position: absolute;
    z-index: 2;
    top: 8px;
    right: 9px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 50%;
    color: rgba(242, 222, 177, .66);
    background: rgba(8, 25, 20, .42);
    box-shadow: none;
    cursor: pointer;
    font-size: 1.08rem;
    line-height: 1;
    transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}

.quick-spread-favorite:hover:not(:disabled),
.quick-spread-favorite:focus-visible {
    border-color: rgba(239, 209, 144, .38);
    color: #ffe29b;
    background: rgba(238, 207, 140, .12);
    outline: none;
    transform: scale(1.08);
}

.quick-spread-favorite.is-favorite {
    color: #f4cd70;
    text-shadow: 0 0 14px rgba(245, 202, 103, .34);
}

.quick-spread-favorite:disabled {
    cursor: wait;
    opacity: .45;
}

.quick-spread-search-empty {
    grid-column: 1 / -1;
    min-height: 96px;
    display: grid;
    place-items: center;
    padding: 18px;
    border: 1px dashed rgba(233, 204, 141, .18);
    border-radius: 15px;
    color: rgba(244, 235, 208, .56);
    font-size: .72rem;
    text-align: center;
}

.quick-spread-card__arrow {
    color: var(--table-gold-soft);
    font-size: 1rem;
    opacity: .66;
    transition: transform .17s ease, opacity .17s ease;
}

.quick-spread-card--table:hover .quick-spread-card__arrow,
.quick-spread-card--table:focus-visible .quick-spread-card__arrow {
    opacity: 1;
    transform: translateX(3px);
}

.quick-launcher--table .quick-launcher__status {
    grid-area: status;
    min-height: 0;
    color: rgba(247, 238, 212, .65);
    font-size: .68rem;
    text-align: center;
}

:root[data-theme="light"] {
    --table-ink: #17372f;
    --table-panel: rgba(255, 255, 255, .74);
    --table-panel-strong: rgba(255, 255, 255, .9);
    --table-line: rgba(21, 92, 74, .16);
    --table-line-strong: rgba(163, 120, 39, .34);
    --table-shadow: 0 24px 70px rgba(50, 80, 72, .16);
}

:root[data-theme="light"] .home-table-hero {
    color: #3b3024;
    background: #bda987;
}

:root[data-theme="light"] .home-table-hero::before {
    background:
        radial-gradient(
            circle at center,
            #ccb998 0%,
            #bda987 55%,
            #a89270 100%
        );
}

:root[data-theme="light"] .home-table-hero__vignette {
    background:
        radial-gradient(ellipse 58% 48% at 50% 43%, rgba(255, 247, 226, .14), transparent 62%),
        radial-gradient(ellipse at center, transparent 52%, rgba(69, 47, 28, .17) 100%);
}

:root[data-theme="light"] .home-table-hero__glow--one {
    background: radial-gradient(circle, rgba(38, 158, 126, .3), transparent 68%);
}

:root[data-theme="light"] .home-table-hero__glow--two {
    background: radial-gradient(circle, rgba(216, 166, 65, .25), transparent 68%);
}

:root[data-theme="light"] .home-table-brand,
:root[data-theme="light"] .home-table-hero__title {
    filter: none;
    text-shadow: 0 1px 1px rgba(255, 248, 231, .28);
}

:root[data-theme="light"] .home-table-hero__title {
    color: rgba(58, 46, 34, .82);
}

:root[data-theme="light"] .home-table-resume {
    border-color: rgba(30, 113, 90, .18);
    color: #214f43;
    background: rgba(255,255,255,.68);
    box-shadow: 0 14px 34px rgba(55, 91, 81, .12), inset 0 1px 0 rgba(255,255,255,.8);
}

:root[data-theme="light"] .home-table-resume:hover,
:root[data-theme="light"] .home-table-resume:focus-visible {
    border-color: rgba(34, 123, 98, .35);
    background: rgba(255,255,255,.88);
}

:root[data-theme="light"] .home-table-resume__mark {
    border-color: rgba(169, 124, 42, .24);
    color: #8a6728;
    background: rgba(205, 160, 69, .08);
}

:root[data-theme="light"] .home-table-resume__copy span {
    color: rgba(34, 77, 66, .58);
}

:root[data-theme="light"] .quick-system-card.quick-system-card--table {
    color: rgba(54, 42, 31, .88) !important;
}

:root[data-theme="light"] .quick-system-card--table:hover:not(:disabled),
:root[data-theme="light"] .quick-system-card--table:focus-visible,
:root[data-theme="light"] .quick-system-card--table.is-active {
    color: rgba(45, 34, 25, .98) !important;
}

:root[data-theme="light"] .quick-system-card--table .quick-system-card__copy strong {
    text-shadow: 0 2px 14px rgba(51, 84, 74, .12);
}

:root[data-theme="light"] .quick-launcher__table-panel {
    border-color: rgba(30, 101, 83, .14);
    background:
        linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.26) 42%),
        rgba(244, 250, 247, .72);
    box-shadow: 0 20px 58px rgba(57, 91, 81, .14), inset 0 1px 0 rgba(255,255,255,.88);
}

:root[data-theme="light"] .quick-launcher--table .quick-launcher__section-title {
    color: rgba(24, 75, 62, .62);
}

:root[data-theme="light"] .quick-spread-card.quick-spread-card--table {
    border-color: rgba(29, 105, 86, .13) !important;
    color: rgba(22, 65, 55, .82) !important;
    background: rgba(255,255,255,.54) !important;
}

:root[data-theme="light"] .quick-spread-card--table:hover:not(:disabled),
:root[data-theme="light"] .quick-spread-card--table:focus-visible {
    border-color: rgba(27, 118, 94, .3) !important;
    color: #123e32 !important;
    background: rgba(255,255,255,.86) !important;
}

:root[data-theme="light"] .quick-spread-card--table .quick-spread-card__meta {
    color: rgba(29, 78, 66, .48);
}

:root[data-theme="light"] .quick-spread-card__arrow {
    color: #8a6728;
}


:root[data-theme="light"] .quick-spread-search {
    border-color: rgba(29, 105, 86, .14);
    color: rgba(24, 75, 62, .58);
    background: rgba(255, 255, 255, .52);
}

:root[data-theme="light"] .quick-spread-search:focus-within {
    border-color: rgba(27, 118, 94, .3);
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 0 0 3px rgba(27, 118, 94, .07);
}

:root[data-theme="light"] .quick-spread-search__input {
    color: #123e32;
}

:root[data-theme="light"] .quick-spread-search__input::placeholder {
    color: rgba(29, 78, 66, .43);
}

:root[data-theme="light"] .quick-spread-card--table .quick-spread-card__copy {
    color: rgba(29, 78, 66, .58);
}

:root[data-theme="light"] .quick-spread-favorite {
    color: rgba(121, 88, 28, .66);
    background: rgba(255, 255, 255, .66);
}

:root[data-theme="light"] .quick-spread-favorite:hover:not(:disabled),
:root[data-theme="light"] .quick-spread-favorite:focus-visible,
:root[data-theme="light"] .quick-spread-favorite.is-favorite {
    color: #8a5f12;
    border-color: rgba(166, 119, 34, .28);
    background: rgba(255, 248, 225, .94);
}

:root[data-theme="light"] .quick-spread-search-empty {
    border-color: rgba(29, 105, 86, .17);
    color: rgba(29, 78, 66, .58);
}

:root[data-theme="light"] .quick-launcher--table .quick-launcher__status {
    color: rgba(31, 76, 64, .58);
}

:root[data-theme="light"] .quick-launcher--table > .quick-limit-panel {
    border-color: rgba(34, 110, 89, .2);
    color: #214f43;
    background: rgba(255,255,255,.92);
    box-shadow: 0 20px 48px rgba(52, 87, 77, .16);
}

@media (min-width: 900px) {
    .home-table-hero {
        min-height: calc(100dvh - 72px);
    }

    :root[data-theme="light"] body:has(.workspace[data-route="home"]) .desktop-top-bar {
        border-bottom-color: rgba(31, 105, 86, .12);
        background: linear-gradient(180deg, rgba(251, 254, 252, .94), rgba(245, 251, 248, .78));
        box-shadow: 0 12px 36px rgba(54, 91, 80, .08);
    }

    :root[data-theme="light"] body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-link,
    :root[data-theme="light"] body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-group > .nav-group-summary {
        color: rgba(32, 72, 62, .72);
    }

    :root[data-theme="light"] body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-link:hover,
    :root[data-theme="light"] body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-link:focus-visible,
    :root[data-theme="light"] body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-group > .nav-group-summary:hover,
    :root[data-theme="light"] body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-group > .nav-group-summary:focus-visible,
    :root[data-theme="light"] body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-link.is-active,
    :root[data-theme="light"] body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-group.is-active > .nav-group-summary,
    :root[data-theme="light"] body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-group[open] > .nav-group-summary {
        color: #1c5143;
        border-color: rgba(34, 118, 95, .18);
        background: rgba(255,255,255,.66);
    }

    :root[data-theme="light"] body:has(.workspace[data-route="home"]) :where(.desktop-top-icon, .desktop-language-switcher > summary) {
        border-color: rgba(33, 106, 86, .12);
        color: rgba(29, 76, 63, .72);
        background: rgba(255,255,255,.54);
    }

    :root[data-theme="light"] body:has(.workspace[data-route="home"]) .desktop-top-actions .desktop-login-button {
        border-color: rgba(34, 111, 90, .18) !important;
        color: #1d5142 !important;
        background: rgba(255,255,255,.7) !important;
    }

    :root[data-theme="light"] body:has(.workspace[data-route="home"]) .desktop-primary-nav .nav-sub-list {
        border-color: rgba(34, 105, 87, .14);
        background: rgba(250, 253, 251, .96);
    }

    :root[data-theme="light"] body:has(.workspace[data-route="home"]) .desktop-primary-nav .nav-sub-link {
        color: rgba(33, 72, 62, .7);
    }

    :root[data-theme="light"] body:has(.workspace[data-route="home"]) .desktop-primary-nav .nav-sub-link:hover,
    :root[data-theme="light"] body:has(.workspace[data-route="home"]) .desktop-primary-nav .nav-sub-link:focus-visible,
    :root[data-theme="light"] body:has(.workspace[data-route="home"]) .desktop-primary-nav .nav-sub-link.is-active {
        color: #164a3b;
        background: rgba(34, 128, 101, .08);
    }
}

@media (max-width: 1120px) and (min-width: 900px) {
    .desktop-top-bar {
        gap: 10px;
        padding-inline: 16px;
    }

    .desktop-top-brand {
        min-width: 112px;
    }

    .desktop-top-brand .brand__mark {
        transform: scale(.88);
    }

    .desktop-top-brand .brand__name {
        font-size: 17px;
    }

    .desktop-primary-nav > .nav-link,
    .desktop-primary-nav > .nav-group > .nav-group-summary {
        padding-inline: 8px;
        font-size: .7rem;
    }

    .desktop-top-actions {
        min-width: 112px;
        gap: 5px;
    }

    .desktop-top-icon,
    .desktop-language-switcher > summary {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 899px) {
    body {
        padding-bottom: 0 !important;
    }

    .app-shell,
    .app-shell.nav-collapsed,
    .app-shell.details-collapsed,
    .app-shell.nav-collapsed.details-collapsed {
        display: block !important;
        min-height: 100dvh;
        padding-top: 0;
    }

    .side-nav {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 44;
        width: min(312px, calc(100vw - 54px));
        height: 100dvh;
        padding: 20px 16px;
        transform: translateX(-104%);
        transition: transform .3s var(--ease-out);
        box-shadow: var(--shadow);
    }

    .side-nav.is-mobile-open {
        transform: translateX(0);
    }

    #nav-toggle {
        display: none;
    }

    .app-shell.nav-collapsed .brand__name,
    .app-shell.nav-collapsed .brand__mark,
    .app-shell.nav-collapsed .nav-link > span:last-child,
    .app-shell.nav-collapsed .side-footer .ghost-button {
        display: inline-block;
    }

    .app-shell.nav-collapsed .side-head {
        justify-content: space-between;
        padding: 0 6px;
    }

    .app-shell.nav-collapsed .nav-link {
        grid-template-columns: 34px minmax(0, 1fr);
        padding: 0 12px;
        place-items: initial;
    }

    .app-shell.nav-collapsed .nav-link::after {
        display: none;
    }

    .mobile-nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 43;
        display: block;
        padding: 0;
        border: 0;
        opacity: 0;
        pointer-events: none;
        background: rgba(0, 0, 0, .52);
        backdrop-filter: blur(4px);
        transition: opacity .22s ease;
    }

    .mobile-nav-backdrop.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .top-bar {
        position: sticky;
        top: 0;
        z-index: 36;
        min-height: 66px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 8px 14px;
        border-bottom: 1px solid var(--line);
        background: color-mix(in srgb, var(--bg-elevated) 88%, transparent);
        box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }

    .mobile-brand {
        display: inline-flex;
    }

    .top-actions .top-login-button {
        position: relative !important;
        inset: auto !important;
        width: auto !important;
        min-width: 72px;
        height: 38px !important;
        min-height: 38px !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        padding: 0 14px !important;
        overflow: hidden;
        border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)) !important;
        border-radius: 999px !important;
        color: var(--text) !important;
        background: color-mix(in srgb, var(--surface-solid) 82%, transparent) !important;
        box-shadow: none !important;
        animation: none !important;
        transform: none !important;
    }

    .top-actions .top-login-button[hidden] {
        display: none !important;
    }

    .top-actions .top-login-button .login-cloud-button__body,
    .top-actions .top-login-button .login-cloud-button__content {
        position: static !important;
        inset: auto !important;
        display: inline-flex !important;
        padding: 0 !important;
        animation: none !important;
        transform: none !important;
        text-shadow: none !important;
    }

    .top-actions .top-login-button :where(.login-cloud-button__shape, .login-cloud-button__icon, .login-cloud-button__spark, .login-cloud-button__tooltip) {
        display: none !important;
    }

    .top-actions .top-login-button .login-cloud-button__label {
        overflow: visible;
        color: inherit;
        font-size: .76rem !important;
        font-weight: 720;
    }

    .desktop-top-bar {
        display: none !important;
    }

    .top-bar {
        display: flex;
    }

    .workspace[data-route="home"] {
        padding-top: 0;
    }

    .home-table-hero {
        min-height: calc(100dvh - 66px);
        grid-template-rows: auto auto minmax(0, 1fr);
        padding: 18px 14px 24px;
    }

    .home-table-brand {
        gap: 10px;
        padding-inline: 12px;
    }

    .home-table-brand__mark {
        transform: scale(.98);
    }

    .home-table-brand__name {
        font-size: clamp(2rem, 8vw, 3.4rem);
    }

    .home-table-hero__title {
        margin-top: 8px;
        font-size: .7rem;
        letter-spacing: .075em;
    }

    .home-table-resume {
        position: static;
        width: min(100%, 330px);
        max-width: none;
        justify-self: center;
        margin: 8px 0 0;
    }

    .home-table-launcher {
        grid-row: 3;
        margin-top: 0;
    }

    .quick-launcher.quick-launcher--table {
        grid-template-rows: minmax(300px, auto) auto;
        gap: 14px;
    }

    .quick-launcher__table-decks {
        padding-top: 8px;
    }

    .quick-system-grid.quick-system-grid--table {
        width: min(820px, 100%);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(8px, 3vw, 28px);
    }

    .quick-system-card.quick-system-card--table {
        min-height: clamp(270px, 40vh, 360px);
        gap: 14px;
        padding: 12px 2px 10px;
    }

    .quick-table-deck {
        width: clamp(118px, 24vw, 178px);
    }

    .quick-system-card--table .quick-system-card__copy strong {
        font-size: clamp(.96rem, 2.9vw, 1.28rem);
    }

    .quick-system-card--table .quick-system-card__check {
        right: 13%;
        bottom: 6px;
    }

    .quick-launcher__table-panel {
        grid-template-columns: minmax(0, 1fr);
        margin-top: clamp(18px, 3vh, 30px);
        padding: 11px;
        border-radius: 20px;
    }

    .quick-spread-card.quick-spread-card--table {
        min-height: 108px !important;
        padding: 11px 11px 11px 13px;
    }

    .quick-spread-card--table .quick-spread-card__title {
        font-size: .72rem;
    }

}

@media (max-width: 720px) {
    .home-table-hero {
        overflow-y: auto;
    }

    .quick-launcher__table-panel {
        grid-template-columns: 1fr;
        grid-template-areas:
            'spreads'
            'status';
        gap: 11px;
        margin-top: 18px;
    }

    .quick-spread-grid.quick-spread-grid--table {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 1px 1px 8px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

    .quick-spread-card-shell {
        min-width: min(82vw, 310px);
        scroll-snap-align: start;
    }

    .quick-spread-card.quick-spread-card--table {
        min-width: 0;
    }


    .quick-launcher--table > .quick-limit-panel {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        margin-bottom: 4px;
        transform: none;
    }
}

@media (max-width: 480px) {
    .top-actions > .app-language-switcher,
    #top-theme {
        display: none !important;
    }

    .top-actions {
        gap: 0;
    }

    .home-table-hero {
        padding-inline: 10px;
    }

    .home-table-brand__name {
        font-size: clamp(1.9rem, 11vw, 2.7rem);
    }

    .home-table-brand__mark {
        width: 30px;
        height: 34px;
        transform: scale(.84);
    }

    .home-table-hero__title {
        max-width: 300px;
        font-size: .63rem;
    }

    .home-table-resume {
        width: calc(100% - 12px);
    }

    .quick-system-grid.quick-system-grid--table {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
    }

    .quick-system-card.quick-system-card--table {
        min-height: 205px;
        gap: 10px;
        padding-inline: 0;
    }

    .quick-table-deck {
        width: clamp(92px, 28vw, 112px);
    }

    .quick-table-deck__card {
        border-radius: 8px;
        font-size: 1.15rem;
        box-shadow: inset 0 0 0 2px rgba(4, 17, 14, .74), inset 0 0 0 3px rgba(229, 197, 127, .18), inset 0 0 25px rgba(0,0,0,.38);
    }

    .quick-table-deck__card::before {
        inset: 6px;
    }

    .quick-table-deck__card--1 {
        transform: translate(-7px, 5px) rotate(-6deg);
    }

    .quick-table-deck__card--2 {
        transform: translate(7px, 5px) rotate(6deg);
    }

    .quick-system-card--table:hover .quick-table-deck__card--1,
    .quick-system-card--table:focus-visible .quick-table-deck__card--1,
    .quick-system-card--table.is-active .quick-table-deck__card--1 {
        transform: translate(-10px, 4px) rotate(-8deg);
    }

    .quick-system-card--table:hover .quick-table-deck__card--2,
    .quick-system-card--table:focus-visible .quick-table-deck__card--2,
    .quick-system-card--table.is-active .quick-table-deck__card--2 {
        transform: translate(10px, 3px) rotate(8deg);
    }

    .quick-system-card--table .quick-system-card__copy strong {
        font-size: .82rem;
    }

    .quick-system-card--table .quick-system-card__note {
        max-width: 100%;
        font-size: .67rem;
        line-height: 1.35;
    }

    .quick-system-card--table .quick-system-card__check {
        right: 6%;
        width: 16px;
        height: 16px;
        font-size: .52rem;
    }

    .quick-launcher__table-panel {
        margin-top: 14px;
        padding: 10px;
        border-radius: 17px;
    }

    .quick-launcher--table .quick-launcher__section-title {
        font-size: .62rem;
    }

    .quick-spread-card-shell {
        min-width: min(86vw, 286px);
    }
}



:root .quick-launcher.quick-launcher--table,
:root[data-theme-variant="cream"] .quick-launcher.quick-launcher--table,
:root:is([data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="pastel"], [data-visual-theme="night"]) .quick-launcher.quick-launcher--table {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

:root .quick-system-card.quick-system-card--table,
:root[data-theme-variant="cream"] .quick-system-card.quick-system-card--table,
:root:is([data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="pastel"], [data-visual-theme="night"]) .quick-system-card.quick-system-card--table {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

:root .quick-system-card.quick-system-card--table:hover:not(:disabled),
:root .quick-system-card.quick-system-card--table:focus-visible,
:root .quick-system-card.quick-system-card--table.is-active,
:root[data-theme-variant="cream"] .quick-system-card.quick-system-card--table:hover:not(:disabled),
:root[data-theme-variant="cream"] .quick-system-card.quick-system-card--table:focus-visible,
:root[data-theme-variant="cream"] .quick-system-card.quick-system-card--table.is-active,
:root:is([data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="pastel"], [data-visual-theme="night"]) .quick-system-card.quick-system-card--table:hover:not(:disabled),
:root:is([data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="pastel"], [data-visual-theme="night"]) .quick-system-card.quick-system-card--table:focus-visible,
:root:is([data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="pastel"], [data-visual-theme="night"]) .quick-system-card.quick-system-card--table.is-active {
    border: 0 !important;
    color: rgba(45, 34, 25, .98) !important;
    background: transparent !important;
    box-shadow: none !important;
}

:root .quick-system-card.quick-system-card--table::before,
:root[data-theme-variant="cream"] .quick-system-card.quick-system-card--table::before,
:root:is([data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="pastel"], [data-visual-theme="night"]) .quick-system-card.quick-system-card--table::before {
    content: none !important;
    display: none !important;
}

:root .quick-system-card.quick-system-card--table .quick-system-card__copy strong,
:root[data-theme-variant="cream"] .quick-system-card.quick-system-card--table .quick-system-card__copy strong,
:root:is([data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="pastel"], [data-visual-theme="night"]) .quick-system-card.quick-system-card--table .quick-system-card__copy strong {
    color: rgba(54, 42, 31, .94) !important;
    text-shadow: 0 1px 1px rgba(255, 248, 231, .24) !important;
}

@keyframes table-brand-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
    .home-table-brand,
    .home-table-brand__name,
    .quick-system-card--table,
    .quick-table-deck__card,
    .quick-spread-card--table,
    .quick-spread-favorite {
        animation: none !important;
        transition-duration: .01ms !important;
    }
}

/* Все расклады и результат на главном сукне */
.quick-launcher--table .quick-launcher__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.quick-spread-toggle.quick-spread-toggle--table {
    min-height: 30px;
    flex: 0 0 auto;
    padding: 0 11px;
    border: 1px solid rgba(236, 207, 144, .2);
    border-radius: 999px;
    color: rgba(252, 246, 227, .72);
    background: rgba(255, 249, 229, .045);
    box-shadow: none;
    font-size: .62rem;
    font-weight: 680;
    letter-spacing: .035em;
    white-space: nowrap;
}

.quick-spread-toggle.quick-spread-toggle--table:hover:not(:disabled),
.quick-spread-toggle.quick-spread-toggle--table:focus-visible {
    border-color: rgba(239, 209, 144, .42);
    color: #fff9e8;
    background: rgba(238, 207, 140, .1);
    outline: none;
}

.quick-launcher--table.is-spreads-expanded .quick-spread-grid--table {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: min(48vh, 520px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 1px 5px 5px 1px;
    scrollbar-color: rgba(231, 198, 129, .38) transparent;
    scrollbar-width: thin;
}

.quick-launcher--table.is-spreads-expanded .quick-spread-grid--table::-webkit-scrollbar {
    width: 7px;
}

.quick-launcher--table.is-spreads-expanded .quick-spread-grid--table::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(231, 198, 129, .32);
}

:root[data-theme="light"] .quick-spread-toggle.quick-spread-toggle--table {
    border-color: rgba(29, 105, 86, .16);
    color: rgba(24, 75, 62, .7);
    background: rgba(255, 255, 255, .55);
}

:root[data-theme="light"] .quick-spread-toggle.quick-spread-toggle--table:hover:not(:disabled),
:root[data-theme="light"] .quick-spread-toggle.quick-spread-toggle--table:focus-visible {
    border-color: rgba(27, 118, 94, .32);
    color: #123e32;
    background: rgba(255, 255, 255, .88);
}

.workspace[data-route="home"]:has(.home-table-hero.is-reading) {
    overflow: visible;
}

.home-table-hero.is-reading {
    min-height: calc(100dvh - 72px);
    overflow-x: hidden;
    overflow-y: auto;
    align-content: start;
    grid-template-rows: auto minmax(0, 1fr);
    padding-bottom: clamp(26px, 4vh, 52px);
}

.home-table-hero.is-reading .home-table-resume {
    display: none;
}

.home-table-hero.is-reading .home-table-hero__title {
    max-width: min(760px, calc(100% - 28px));
    color: rgba(53, 40, 29, .88);
    font-family: var(--display-font);
    font-size: clamp(1rem, 1.8vw, 1.45rem);
    font-weight: 620;
    letter-spacing: .035em;
    text-transform: none;
}

.home-table-hero.is-reading .home-table-launcher {
    width: min(1420px, 100%);
    align-self: start;
}

.home-reading-shell {
    width: 100%;
    min-height: 0;
    display: grid;
    gap: clamp(14px, 2vh, 24px);
    align-content: start;
}

.reading-stage.reading-stage--home {
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 10px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    color: #3b3024;
    background: transparent;
    box-shadow: none;
}

.reading-stage.reading-stage--home::before {
    content: none;
    display: none;
}

.reading-stage--home .reading-stage-toolbar {
    width: min(1120px, 100%);
    min-height: 44px;
    margin: 0 auto;
    padding: 5px 8px;
    border: 0;
    border-radius: 16px;
    color: rgba(54, 42, 31, .8);
    background: transparent;
    box-shadow: none;
}

.reading-stage--home .reading-stage-symbol {
    opacity: .52;
}

.reading-stage--home .reading-stage-symbol span {
    border-color: rgba(70, 51, 33, .32);
}

.reading-stage--home .reading-stage-progress,
.reading-stage--home .reading-stage-hint {
    color: rgba(54, 42, 31, .72);
}

.reading-stage--home .reading-stage-actions :where(.secondary-button, button) {
    border-color: rgba(69, 51, 34, .2);
    color: rgba(49, 37, 27, .82);
    background: rgba(255, 249, 231, .24);
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.reading-stage--home .reading-stage-actions :where(.secondary-button, button):hover:not(:disabled),
.reading-stage--home .reading-stage-actions :where(.secondary-button, button):focus-visible {
    border-color: rgba(69, 51, 34, .34);
    color: #2f241a;
    background: rgba(255, 249, 231, .42);
}

.reading-stage--home .reading-canvas {
    width: 100%;
    min-height: clamp(540px, 61vh, 810px);
    aspect-ratio: auto;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.reading-stage--home .reading-canvas::before,
.reading-stage--home .reading-canvas::after {
    content: none;
    display: none;
}

.reading-stage--home .reading-focus-backdrop {
    background: radial-gradient(circle at 50% 44%, rgba(255, 248, 226, .1), transparent 0 15%, rgba(80, 57, 36, .32) 48%, rgba(56, 39, 25, .56) 100%);
}

.reading-stage--home .reading-item {
    filter: drop-shadow(0 16px 15px rgba(63, 42, 25, .26));
    animation: home-table-card-drop .82s cubic-bezier(.18, .82, .24, 1) both;
    animation-delay: calc(var(--order, 0) * 105ms);
}

.reading-stage--home .reading-item.is-focused {
    filter: drop-shadow(0 30px 30px rgba(58, 38, 23, .38));
}

.reading-stage--home .reading-card-details {
    display: none;
}

.home-reading-actions {
    width: min(760px, 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto;
}

.home-reading-action {
    min-height: 44px;
    padding-inline: 18px;
    border-radius: 999px;
}

.home-reading-action.secondary-button {
    border-color: rgba(65, 47, 31, .22);
    color: rgba(49, 37, 27, .86);
    background: rgba(255, 249, 231, .3);
    box-shadow: 0 8px 24px rgba(72, 48, 28, .08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.home-reading-action.secondary-button:hover:not(:disabled),
.home-reading-action.secondary-button:focus-visible {
    border-color: rgba(65, 47, 31, .36);
    color: #2f241a;
    background: rgba(255, 249, 231, .5);
}

.home-reading-action--save.primary-button {
    color: #fff8e8;
    background: linear-gradient(135deg, #244a3e, #12372e);
    box-shadow: 0 12px 30px rgba(27, 55, 46, .2);
}

.home-reading-story {
    width: min(980px, 100%);
    margin: clamp(10px, 2vh, 22px) auto 0;
    scroll-margin-top: 92px;
}

.home-reading-story[hidden] {
    display: none !important;
}

.home-reading-story .quick-story {
    padding-bottom: 12px;
}

@keyframes home-table-card-drop {
    0% {
        opacity: 0;
        transform: translate3d(-50%, -160%, 0) rotate(calc(var(--rotation, 0deg) - 8deg)) scale(.78);
        filter: blur(5px) drop-shadow(0 5px 5px rgba(63, 42, 25, .08));
    }
    68% {
        opacity: 1;
        transform: translate3d(-50%, -45%, 0) rotate(calc(var(--rotation, 0deg) + 1.5deg)) scale(1.035);
        filter: blur(0) drop-shadow(0 20px 17px rgba(63, 42, 25, .3));
    }
    84% {
        transform: translate3d(-50%, -52%, 0) rotate(var(--rotation, 0deg)) scale(.99);
    }
    100% {
        opacity: 1;
        transform: translate3d(-50%, -50%, 0) rotate(var(--rotation, 0deg)) scale(1);
        filter: blur(0) drop-shadow(0 16px 15px rgba(63, 42, 25, .26));
    }
}

@media (max-width: 899px) {
    .home-table-hero.is-reading {
        min-height: calc(100dvh - 66px);
        grid-template-rows: auto minmax(0, 1fr);
        padding: 18px 10px 30px;
    }

    .home-table-hero.is-reading .home-table-launcher {
        grid-row: 2;
    }

    .reading-stage--home .reading-canvas {
        min-height: clamp(500px, 92vw, 700px);
    }
}

@media (max-width: 720px) {
    .quick-launcher--table .quick-launcher__section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .quick-launcher--table.is-spreads-expanded .quick-spread-grid--table {
        display: grid;
        grid-template-columns: 1fr;
        max-height: min(54vh, 520px);
        overflow-x: hidden;
        overflow-y: auto;
        padding: 1px 5px 5px 1px;
        scroll-snap-type: none;
    }

    .quick-launcher--table.is-spreads-expanded .quick-spread-card-shell {
        min-width: 0;
    }

    .reading-stage--home .reading-stage-toolbar {
        padding-inline: 2px;
    }

    .home-reading-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .home-reading-action {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .home-table-hero.is-reading .home-table-hero__title {
        font-size: .96rem;
    }

    .reading-stage--home .reading-canvas {
        min-height: clamp(480px, 126vw, 620px);
    }

    .reading-stage--home .reading-stage-copy {
        min-width: 0;
    }

    .reading-stage--home .reading-stage-progress {
        font-size: .68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reading-stage--home .reading-item {
        animation-duration: .01ms !important;
        animation-delay: 0ms !important;
    }
}

/* Верхняя панель: Telegram, тема, язык, личный кабинет. */
@media (min-width: 900px) {
    .desktop-top-actions {
        min-width: 176px;
    }
}

.desktop-telegram-link,
.top-telegram-link {
    color: #35a9e8;
}

.desktop-telegram-link:hover,
.desktop-telegram-link:focus-visible,
.top-telegram-link:hover,
.top-telegram-link:focus-visible {
    color: #74cbf4;
}

#desktop-profile,
#top-profile {
    border-color: rgba(193, 158, 255, .62) !important;
    color: #fff !important;
    background: linear-gradient(145deg, #9d72f5 0%, #7c48d8 52%, #6030b8 100%) !important;
    box-shadow: 0 9px 24px rgba(94, 45, 177, .32), inset 0 1px 0 rgba(255, 255, 255, .24) !important;
}

#desktop-profile:hover,
#desktop-profile:focus-visible,
#top-profile:hover,
#top-profile:focus-visible {
    border-color: rgba(225, 207, 255, .9) !important;
    background: linear-gradient(145deg, #ae87ff 0%, #8b57e8 52%, #6c36cb 100%) !important;
    box-shadow: 0 12px 30px rgba(94, 45, 177, .42), inset 0 1px 0 rgba(255, 255, 255, .3) !important;
}

/* Информационный блок под первым экраном. */
.workspace[data-route="home"] {
    overflow-x: hidden;
    overflow-y: visible;
    background: transparent;
}

.home-project-info {
    position: relative;
    isolation: isolate;
    min-height: clamp(520px, 72vh, 760px);
    display: grid;
    place-items: center;
    padding: clamp(56px, 8vw, 112px) clamp(16px, 5vw, 76px);
    color: #f8efda;
    background:
        radial-gradient(circle at 50% 0%, rgba(222, 205, 168, .22), transparent 42%),
        radial-gradient(circle at center, #bba580 0%, #ad9573 58%, #927a5c 100%);
}

.home-project-info::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .12;
    mix-blend-mode: soft-light;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 22% 31%, rgba(255,255,255,.28) 0 .45px, transparent .8px),
        radial-gradient(circle at 73% 64%, rgba(58,39,22,.22) 0 .4px, transparent .78px),
        radial-gradient(circle at 47% 78%, rgba(255,255,255,.18) 0 .35px, transparent .72px);
    background-size: 4px 4px, 5px 5px, 7px 7px;
}

.home-project-info__panel {
    width: min(1240px, 100%);
    display: grid;
    gap: clamp(28px, 4vw, 48px);
    padding: clamp(28px, 4.2vw, 58px);
    border: 1px solid rgba(239, 216, 164, .24);
    border-radius: clamp(24px, 3vw, 40px);
    background:
        linear-gradient(145deg, rgba(5, 22, 18, .94), rgba(7, 30, 24, .88)),
        rgba(4, 20, 16, .9);
    box-shadow: 0 34px 90px rgba(53, 35, 20, .28), inset 0 1px 0 rgba(255, 255, 255, .05);
    opacity: 0;
    transform: translateY(84px) scale(.985);
    transition: opacity .7s ease, transform .82s cubic-bezier(.18, .78, .2, 1);
}

.home-project-info.is-visible .home-project-info__panel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.home-project-info__header {
    max-width: 980px;
    display: grid;
    gap: 14px;
}

.home-project-info__eyebrow {
    color: #d9bb78;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.home-project-info__header h2 {
    max-width: 920px;
    margin: 0;
    color: #fff7e4;
    font-family: var(--display-font);
    font-size: clamp(2rem, 4.1vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.home-project-info__description {
    max-width: 1040px;
    margin: 0;
    color: rgba(245, 237, 216, .76);
    font-size: clamp(.96rem, 1.2vw, 1.1rem);
    line-height: 1.78;
}

.home-project-info__columns {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(22px, 3vw, 40px);
}

.home-project-info__section {
    display: grid;
    align-content: start;
    gap: 18px;
}

.home-project-info__section h3 {
    margin: 0;
    color: #f2d9a1;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.home-project-info__systems {
    display: grid;
    gap: 10px;
}

.home-project-info__system {
    position: relative;
    min-height: 92px;
    display: grid;
    gap: 6px;
    align-content: center;
    padding: 17px 52px 17px 18px;
    border: 1px solid rgba(230, 204, 145, .13);
    border-radius: 18px;
    color: inherit;
    text-decoration: none;
    background: rgba(255, 249, 229, .045);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.home-project-info__system:hover,
.home-project-info__system:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(230, 204, 145, .34);
    background: rgba(255, 249, 229, .085);
}

.home-project-info__system strong {
    color: #fff5db;
    font-family: var(--display-font);
    font-size: 1.25rem;
}

.home-project-info__system > span:not(.home-project-info__arrow) {
    color: rgba(241, 232, 209, .66);
    font-size: .84rem;
    line-height: 1.45;
}

.home-project-info__arrow {
    position: absolute;
    top: 50%;
    right: 18px;
    color: #d9bb78;
    font-size: 1.15rem;
    transform: translateY(-50%);
}

.home-project-info__differences {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-project-info__differences li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    padding: 15px 0;
    border-bottom: 1px solid rgba(234, 211, 160, .11);
    color: rgba(247, 238, 217, .76);
    font-size: .9rem;
    line-height: 1.55;
}

.home-project-info__difference-mark {
    color: #d9bb78;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.home-project-info__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(234, 211, 160, .13);
}

.home-project-info__links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.home-project-info__links a {
    color: rgba(250, 241, 219, .72);
    text-decoration: none;
    font-size: .78rem;
    font-weight: 680;
}

.home-project-info__links a:hover,
.home-project-info__links a:focus-visible {
    color: #f3cf83;
}

.home-project-info__copyright {
    flex: 0 0 auto;
    color: rgba(239, 229, 204, .45);
    font-size: .76rem;
}

/* Расклад на главном экране остаётся непосредственно на том же сукне. */
.home-table-hero.is-reading {
    min-height: calc(100dvh - 72px);
    overflow: visible;
    grid-template-rows: minmax(0, 1fr);
    padding-top: clamp(12px, 2vh, 24px);
}

.home-table-hero.is-reading .home-table-hero__title {
    display: none !important;
}

.home-table-hero.is-reading .home-table-launcher {
    align-self: stretch;
    display: grid;
    align-items: center;
}

.reading-stage.reading-stage--home {
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.reading-stage--home .reading-stage-toolbar,
.reading-stage--home .reading-card-details {
    display: none !important;
}

.reading-stage--home .reading-canvas {
    width: 100% !important;
    min-height: 0;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

.reading-stage--home .reading-canvas::before,
.reading-stage--home .reading-canvas::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

.reading-stage--home .reading-item {
    filter: drop-shadow(0 18px 17px rgba(63, 42, 25, .28));
}

.reading-stage--home .reading-canvas[data-count="1"] {
    min-height: 0;
}

/* На сукне карты используют рассчитанный размер без ограничений старых экранов расклада. */
.reading-stage--home .reading-canvas[data-density] .reading-item {
    width: var(--reading-card-width, 220px) !important;
}

.reading-stage--home .reading-canvas[data-count="1"] .reading-item {
    width: min(var(--reading-card-width, 300px), 300px) !important;
}

@media (max-width: 899px) {
    .home-project-info {
        min-height: auto;
        padding: 56px 14px 74px;
    }

    .home-project-info__columns {
        grid-template-columns: 1fr;
    }

    .home-project-info__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-table-hero.is-reading {
        min-height: calc(100dvh - 66px);
        padding: 10px 8px 26px;
    }

    .reading-stage--home .reading-canvas {
        min-height: 0;
    }
}

@media (max-width: 480px) {
    .top-actions {
        gap: 4px;
    }

    .top-actions > .app-language-switcher,
    #top-theme {
        display: block !important;
    }

    .top-actions > :where(.icon-button, .app-language-switcher > summary) {
        width: 34px;
        height: 34px;
        min-width: 34px;
        border-radius: 11px;
    }

    .top-actions > :where(.icon-button, .app-language-switcher > summary) svg {
        width: 17px;
        height: 17px;
    }

    .mobile-brand .brand__name {
        display: none;
    }

    .home-project-info__panel {
        padding: 25px 18px;
        border-radius: 26px;
    }

    .home-project-info__header h2 {
        font-size: clamp(1.85rem, 10vw, 2.55rem);
    }

    .home-project-info__description {
        font-size: .9rem;
        line-height: 1.65;
    }

    .home-project-info__system {
        min-height: 84px;
    }

    .home-project-info__links {
        align-items: flex-start;
        flex-direction: column;
    }

    .reading-stage--home .reading-canvas {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-project-info__panel {
        transition-duration: .01ms !important;
    }
}

/* Финальная фиксация подвала и прозрачного стола расклада. */
#workspace.workspace[data-route="home"] {
    min-height: calc(100dvh - 72px);
    display: flex;
    flex-direction: column;
    padding-bottom: 0 !important;
}

#workspace[data-route="home"] > .home-table-hero {
    flex: 0 0 auto;
}

#workspace[data-route="home"] > .home-project-info {
    position: relative;
    width: 100%;
    min-height: 0;
    margin: auto 0 0;
    padding: 0 !important;
    display: block;
    color: #f8efda;
    background: transparent !important;
}

#workspace[data-route="home"] > .home-project-info::before {
    content: none !important;
    display: none !important;
}

#workspace[data-route="home"] .home-project-info__panel {
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 16px;
    padding: 22px clamp(20px, 4vw, 64px) 18px;
    border-width: 1px 0 0;
    border-radius: 0;
    background: linear-gradient(145deg, rgba(5, 22, 18, .98), rgba(7, 30, 24, .96));
    box-shadow: none;
    transform: translateY(34px);
}

#workspace[data-route="home"] .home-project-info.is-visible .home-project-info__panel {
    transform: translateY(0);
}

#workspace[data-route="home"] .home-project-info__header {
    max-width: none;
    gap: 5px;
}

#workspace[data-route="home"] .home-project-info__eyebrow {
    font-size: .58rem;
    letter-spacing: .14em;
}

#workspace[data-route="home"] .home-project-info__header h2 {
    max-width: none;
    font-size: clamp(.95rem, 1.15vw, 1.22rem);
    line-height: 1.24;
    letter-spacing: -.01em;
}

#workspace[data-route="home"] .home-project-info__description {
    max-width: 1180px;
    font-size: clamp(.68rem, .72vw, .76rem);
    line-height: 1.55;
}

#workspace[data-route="home"] .home-project-info__columns {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(16px, 2.4vw, 32px);
}

#workspace[data-route="home"] .home-project-info__section {
    gap: 8px;
}

#workspace[data-route="home"] .home-project-info__section h3 {
    font-size: .62rem;
    letter-spacing: .1em;
}

#workspace[data-route="home"] .home-project-info__systems {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

#workspace[data-route="home"] .home-project-info__system {
    min-height: 62px;
    gap: 3px;
    padding: 10px 32px 10px 12px;
    border-radius: 12px;
}

#workspace[data-route="home"] .home-project-info__system strong {
    font-size: .88rem;
}

#workspace[data-route="home"] .home-project-info__system > span:not(.home-project-info__arrow) {
    font-size: .66rem;
    line-height: 1.35;
}

#workspace[data-route="home"] .home-project-info__arrow {
    right: 11px;
    font-size: .88rem;
}

#workspace[data-route="home"] .home-project-info__differences li {
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 8px;
    padding: 7px 0;
    font-size: .68rem;
    line-height: 1.42;
}

#workspace[data-route="home"] .home-project-info__difference-mark {
    font-size: .56rem;
}

#workspace[data-route="home"] .home-project-info__footer {
    gap: 12px;
    padding-top: 10px;
}

#workspace[data-route="home"] .home-project-info__links {
    gap: 6px 15px;
}

#workspace[data-route="home"] .home-project-info__links a,
#workspace[data-route="home"] .home-project-info__copyright {
    font-size: .66rem;
}

#workspace[data-route="home"] .home-table-hero.is-reading .home-table-launcher,
#workspace[data-route="home"] .home-reading-shell,
#workspace[data-route="home"] .reading-stage.reading-stage--home,
#workspace[data-route="home"] .reading-stage.reading-stage--home > .reading-canvas {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

#workspace[data-route="home"] .reading-stage.reading-stage--home::before,
#workspace[data-route="home"] .reading-stage.reading-stage--home::after,
#workspace[data-route="home"] .reading-stage.reading-stage--home > .reading-canvas::before,
#workspace[data-route="home"] .reading-stage.reading-stage--home > .reading-canvas::after {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    border: 0 !important;
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

@media (max-width: 899px) {
    #workspace.workspace[data-route="home"] {
        min-height: calc(100dvh - 66px);
    }

    #workspace[data-route="home"] .home-project-info__panel {
        padding: 20px 16px 16px;
    }

    #workspace[data-route="home"] .home-project-info__columns {
        grid-template-columns: 1fr;
    }

    #workspace[data-route="home"] .home-project-info__footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    #workspace[data-route="home"] .home-project-info__systems {
        grid-template-columns: 1fr;
    }

    #workspace[data-route="home"] .home-project-info__links {
        align-items: flex-start;
        flex-direction: row;
    }
}

/* Подвал Reflecta: чёрный фон, золотая типографика и отсутствие пустой прокрутки после него. */
body:has(.workspace[data-route="home"]) {
    background: #000;
}

#workspace[data-route="home"] > .home-project-info {
    margin-bottom: 0 !important;
    color: #e2bf75 !important;
    background: #000 !important;
}

#workspace[data-route="home"] .home-project-info__panel {
    border-top-color: rgba(226, 191, 117, .34) !important;
    background: #000 !important;
}

#workspace[data-route="home"] .home-project-info__eyebrow,
#workspace[data-route="home"] .home-project-info__header h2,
#workspace[data-route="home"] .home-project-info__section h3,
#workspace[data-route="home"] .home-project-info__system strong,
#workspace[data-route="home"] .home-project-info__arrow,
#workspace[data-route="home"] .home-project-info__difference-mark,
#workspace[data-route="home"] .home-project-info__links a,
#workspace[data-route="home"] .home-project-info__copyright {
    color: #e2bf75 !important;
}

#workspace[data-route="home"] .home-project-info__description,
#workspace[data-route="home"] .home-project-info__system > span:not(.home-project-info__arrow),
#workspace[data-route="home"] .home-project-info__differences li {
    color: rgba(226, 191, 117, .82) !important;
}

#workspace[data-route="home"] .home-project-info__description {
    max-width: none !important;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
}

#workspace[data-route="home"] .home-project-info__description--keywords {
    color: rgba(226, 191, 117, .72) !important;
}

#workspace[data-route="home"] .home-project-info__system {
    border-color: rgba(226, 191, 117, .2) !important;
    background: #050505 !important;
}

#workspace[data-route="home"] .home-project-info__system:hover,
#workspace[data-route="home"] .home-project-info__system:focus-visible {
    border-color: rgba(226, 191, 117, .5) !important;
    background: #0a0a0a !important;
}

#workspace[data-route="home"] .home-project-info__system > span:not(.home-project-info__arrow),
#workspace[data-route="home"] .home-project-info__differences li > span:last-child {
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
}

#workspace[data-route="home"] .home-project-info__differences li,
#workspace[data-route="home"] .home-project-info__footer {
    border-color: rgba(226, 191, 117, .18) !important;
}

#workspace[data-route="home"] .home-project-info__links a:hover,
#workspace[data-route="home"] .home-project-info__links a:focus-visible {
    color: #f2d895 !important;
}

@media (min-width: 900px) {
    body:has(.workspace[data-route="home"]) #app.app-shell {
        min-height: 100dvh;
        box-sizing: border-box;
    }

    body:has(.workspace[data-route="home"]) #details-panel {
        position: fixed !important;
        top: 72px !important;
        right: 0;
        bottom: 0;
        height: calc(100dvh - 72px) !important;
        margin: 0 !important;
    }
}

/* Подвал Reflecta на всех экранах приложения, кроме раздела обучения. */
body:has(> .home-project-info) {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--bg) !important;
}

body:has(> .home-project-info) > #app.app-shell {
    flex: 1 0 auto;
    width: 100%;
    min-height: 0 !important;
    height: auto !important;
    box-sizing: border-box;
}

body:has(> .home-project-info) > #app.app-shell > #workspace.workspace {
    min-height: 0 !important;
    box-sizing: border-box;
    padding-bottom: clamp(48px, 5vh, 72px) !important;
}

body > .home-project-info {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    overflow: hidden;
    color: var(--text-soft) !important;
    background: transparent !important;
}

body > .home-project-info::before {
    content: none !important;
    display: none !important;
}

body > .home-project-info .home-project-info__panel {
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 16px;
    padding: 22px max(clamp(20px, 4vw, 64px), calc((100vw - 1480px) / 2 + 32px)) 18px;
    border-width: 1px 0 0;
    border-style: solid;
    border-color: color-mix(in srgb, var(--accent) 24%, var(--line-strong)) !important;
    border-radius: 0;
    opacity: 1 !important;
    background: color-mix(in srgb, var(--surface-solid) 72%, var(--bg-deep)) !important;
    box-shadow: none;
    box-sizing: border-box;
    transform: none !important;
}

body > .home-project-info .home-project-info__header {
    max-width: none;
    gap: 5px;
}

body > .home-project-info .home-project-info__eyebrow,
body > .home-project-info .home-project-info__section h3,
body > .home-project-info .home-project-info__system strong,
body > .home-project-info .home-project-info__arrow,
body > .home-project-info .home-project-info__difference-mark,
body > .home-project-info .home-project-info__links a {
    color: var(--accent) !important;
}

body > .home-project-info .home-project-info__header h2 {
    max-width: none;
    color: var(--text) !important;
    font-size: clamp(.95rem, 1.15vw, 1.22rem);
    line-height: 1.24;
    letter-spacing: -.01em;
}

body > .home-project-info .home-project-info__eyebrow {
    font-size: .58rem;
    letter-spacing: .14em;
}

body > .home-project-info .home-project-info__description {
    max-width: none !important;
    color: var(--text-soft) !important;
    font-size: clamp(.68rem, .72vw, .76rem);
    line-height: 1.55;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
}

body > .home-project-info .home-project-info__description--keywords {
    color: var(--muted) !important;
}

body > .home-project-info .home-project-info__columns {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(16px, 2.4vw, 32px);
}

body > .home-project-info .home-project-info__section {
    gap: 8px;
}

body > .home-project-info .home-project-info__section h3 {
    font-size: .62rem;
    letter-spacing: .1em;
}

body > .home-project-info .home-project-info__systems {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

body > .home-project-info .home-project-info__system {
    min-height: 62px;
    gap: 3px;
    padding: 10px 32px 10px 12px;
    border-color: color-mix(in srgb, var(--accent) 18%, var(--line)) !important;
    border-radius: 12px;
    background: color-mix(in srgb, var(--surface-2) 86%, transparent) !important;
}

body > .home-project-info .home-project-info__system:hover,
body > .home-project-info .home-project-info__system:focus-visible {
    border-color: color-mix(in srgb, var(--accent) 46%, var(--line-strong)) !important;
    background: var(--surface-hover) !important;
}

body > .home-project-info .home-project-info__system strong {
    font-size: .88rem;
}

body > .home-project-info .home-project-info__system > span:not(.home-project-info__arrow) {
    color: var(--muted) !important;
    font-size: .66rem;
    line-height: 1.35;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
}

body > .home-project-info .home-project-info__arrow {
    right: 11px;
    font-size: .88rem;
}

body > .home-project-info .home-project-info__differences li {
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 8px;
    padding: 7px 0;
    border-color: color-mix(in srgb, var(--accent) 14%, var(--line)) !important;
    color: var(--text-soft) !important;
    font-size: .68rem;
    line-height: 1.42;
}

body > .home-project-info .home-project-info__differences li > span:last-child {
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
}

body > .home-project-info .home-project-info__difference-mark {
    font-size: .56rem;
}

body > .home-project-info .home-project-info__footer {
    gap: 12px;
    padding-top: 10px;
    border-color: color-mix(in srgb, var(--accent) 14%, var(--line)) !important;
}

body > .home-project-info .home-project-info__links {
    gap: 6px 15px;
}

body > .home-project-info .home-project-info__links a,
body > .home-project-info .home-project-info__copyright {
    font-size: .66rem;
}

body > .home-project-info .home-project-info__copyright {
    color: var(--subtle) !important;
}

body > .home-project-info .home-project-info__links a:hover,
body > .home-project-info .home-project-info__links a:focus-visible {
    color: var(--text) !important;
}

@media (min-width: 900px) {
    body:has(> .home-project-info) > #app.app-shell {
        padding-top: 72px;
    }
}

@media (max-width: 899px) {
    body:has(> .home-project-info) > #app.app-shell {
        min-height: 0 !important;
        padding-top: 0 !important;
    }

    body:has(> .home-project-info) > #app.app-shell > #workspace.workspace {
        padding-bottom: 36px !important;
    }

    body > .home-project-info {
        flex: 0 0 auto;
    }

    body > .home-project-info .home-project-info__panel {
        gap: 10px;
        padding: 14px 12px 11px;
    }

    body > .home-project-info .home-project-info__header {
        gap: 3px;
    }

    body > .home-project-info .home-project-info__eyebrow {
        font-size: .48rem;
        letter-spacing: .11em;
    }

    body > .home-project-info .home-project-info__header h2 {
        font-size: .82rem;
        line-height: 1.18;
    }

    body > .home-project-info .home-project-info__description {
        font-size: .57rem;
        line-height: 1.34;
    }

    body > .home-project-info .home-project-info__description--keywords {
        font-size: .53rem;
        line-height: 1.28;
    }

    body > .home-project-info .home-project-info__columns {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    body > .home-project-info .home-project-info__section {
        gap: 5px;
    }

    body > .home-project-info .home-project-info__section h3 {
        font-size: .5rem;
    }

    body > .home-project-info .home-project-info__systems {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
    }

    body > .home-project-info .home-project-info__system {
        min-height: 0;
        gap: 2px;
        padding: 7px 17px 7px 7px;
        border-radius: 8px;
    }

    body > .home-project-info .home-project-info__system strong {
        font-size: .62rem;
    }

    body > .home-project-info .home-project-info__system > span:not(.home-project-info__arrow) {
        font-size: .48rem;
        line-height: 1.22;
    }

    body > .home-project-info .home-project-info__arrow {
        right: 6px;
        font-size: .62rem;
    }

    body > .home-project-info .home-project-info__differences {
        gap: 0;
    }

    body > .home-project-info .home-project-info__differences li {
        grid-template-columns: 19px minmax(0, 1fr);
        gap: 5px;
        padding: 4px 0;
        font-size: .5rem;
        line-height: 1.26;
    }

    body > .home-project-info .home-project-info__difference-mark {
        font-size: .43rem;
    }

    body > .home-project-info .home-project-info__footer {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px 10px;
        padding-top: 7px;
    }

    body > .home-project-info .home-project-info__links {
        flex: 1 1 100%;
        align-items: center;
        flex-direction: row;
        gap: 4px 9px;
    }

    body > .home-project-info .home-project-info__links a,
    body > .home-project-info .home-project-info__copyright {
        font-size: .5rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    body:has(> .home-project-info) > #app.app-shell > #workspace.workspace {
        padding-bottom: 28px !important;
    }

    body > .home-project-info .home-project-info__panel {
        gap: 8px;
        padding: 11px 9px 9px;
    }

    body > .home-project-info .home-project-info__eyebrow {
        font-size: .44rem;
    }

    body > .home-project-info .home-project-info__header h2 {
        font-size: .76rem;
    }

    body > .home-project-info .home-project-info__description {
        font-size: .52rem;
        line-height: 1.28;
    }

    body > .home-project-info .home-project-info__description--keywords {
        font-size: .49rem;
        line-height: 1.23;
    }

    body > .home-project-info .home-project-info__systems {
        gap: 4px;
    }

    body > .home-project-info .home-project-info__system {
        padding: 6px 15px 6px 6px;
    }

    body > .home-project-info .home-project-info__system strong {
        font-size: .58rem;
    }

    body > .home-project-info .home-project-info__system > span:not(.home-project-info__arrow) {
        font-size: .44rem;
        line-height: 1.18;
    }

    body > .home-project-info .home-project-info__differences li {
        font-size: .46rem;
        line-height: 1.22;
    }

    body > .home-project-info .home-project-info__links a,
    body > .home-project-info .home-project-info__copyright {
        font-size: .47rem;
    }
}

@media (min-width: 900px) {
    .desktop-primary-nav > .nav-link,
    .desktop-primary-nav > .nav-group > .nav-group-summary {
        min-height: 48px;
        padding: 0 clamp(7px, .7vw, 12px);
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        font-size: clamp(1.44rem, 1.56vw, 1.68rem);
        line-height: 1;
        transform-origin: center bottom;
        text-shadow: none;
        transition: color .18s ease, transform .18s var(--ease-out), text-shadow .18s ease, font-weight .18s ease;
    }

    .desktop-primary-nav > .nav-link::before,
    .desktop-primary-nav > .nav-group > .nav-group-summary::before {
        display: none !important;
    }

    .desktop-primary-nav > .nav-link.is-active,
    .desktop-primary-nav > .nav-group.is-active > .nav-group-summary,
    .desktop-primary-nav > .nav-group[open] > .nav-group-summary {
        border-color: transparent !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none;
        text-shadow: none;
        font-weight: 700;
    }

    .desktop-primary-nav .nav-sub-link {
        font-size: 1.6rem;
    }

    .desktop-primary-nav > .nav-link:hover,
    .desktop-primary-nav > .nav-link:focus-visible,
    .desktop-primary-nav > .nav-group > .nav-group-summary:hover,
    .desktop-primary-nav > .nav-group > .nav-group-summary:focus-visible {
        border-color: transparent !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: translateY(-1px) scale(1.055);
        text-shadow: -0.24px 0 currentColor, 0.24px 0 currentColor, 0 7px 10px rgba(0, 0, 0, .28), 0 2px 3px rgba(0, 0, 0, .18);
    }
}

@media (min-width: 900px) {
    .desktop-primary-nav > .nav-link > .nav-link-label,
    .desktop-primary-nav > .nav-group > .nav-group-summary > .nav-link-label {
        font-family: var(--display-font) !important;
        font-size: 15px !important;
        font-weight: 700;
        font-synthesis: none;
        line-height: 1.08 !important;
        letter-spacing: .045em;
    }

    .desktop-primary-nav .nav-sub-link > span:last-child {
        font-family: var(--display-font) !important;
        font-size: 15px !important;
        font-weight: 700;
        font-synthesis: none;
        line-height: 1.15 !important;
        letter-spacing: .045em;
    }

    .desktop-primary-nav > .nav-link:hover > .nav-link-label,
    .desktop-primary-nav > .nav-link:focus-visible > .nav-link-label,
    .desktop-primary-nav > .nav-group > .nav-group-summary:hover > .nav-link-label,
    .desktop-primary-nav > .nav-group > .nav-group-summary:focus-visible > .nav-link-label,
    .desktop-primary-nav .nav-sub-link:hover > span:last-child,
    .desktop-primary-nav .nav-sub-link:focus-visible > span:last-child {
        text-shadow: -0.24px 0 currentColor, 0.24px 0 currentColor, 0 7px 10px rgba(0, 0, 0, .28), 0 2px 3px rgba(0, 0, 0, .18);
    }

    .desktop-primary-nav > .nav-link,
    .desktop-primary-nav > .nav-group > .nav-group-summary {
        min-height: 52px;
        font-size: 15px !important;
    }

    .desktop-primary-nav .nav-sub-link {
        min-height: 52px;
        font-size: 15px !important;
    }
}

/* Мобильная шапка: меню, логотип Reflecta и Telegram без дублирующих элементов бокового меню. */
@media (max-width: 899px) {
    .top-bar {
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        align-items: center;
        gap: 8px;
    }

    #mobile-menu {
        grid-column: 1;
        justify-self: start;
    }

    .mobile-brand {
        grid-column: 2;
        justify-self: center;
        min-width: 0;
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
    }

    .mobile-brand .brand__mark--small {
        width: 29px;
        height: 31px;
        flex: 0 0 29px;
        margin: 0;
        transform: none !important;
        transform-origin: center !important;
    }

    .mobile-brand .brand__name {
        display: inline-block !important;
        font-size: 18px !important;
    }

    .top-actions {
        grid-column: 3;
        justify-self: end;
        display: flex;
        align-items: center;
        gap: 0;
    }

    #top-login,
    #top-theme,
    .top-actions > .app-language-switcher,
    #top-profile {
        display: none !important;
    }

    .top-actions .top-telegram-link {
        width: 40px;
        height: 40px;
        min-width: 40px;
        display: grid !important;
        place-items: center;
    }
}

/* Подвал приложения завершает документ и остаётся у нижней границы короткого экрана. */
html.app-page-root {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

body.app-page,
body.has-project-footer {
    width: 100%;
    height: var(--app-viewport-height, 100vh);
    min-height: 100%;
    min-height: var(--app-viewport-height, 100dvh);
    display: flex !important;
    flex-direction: column;
    background: var(--bg) !important;
}

body.app-page > #app.app-shell,
body.has-project-footer > #app.app-shell {
    flex: 1 0 auto !important;
    align-self: stretch;
    width: 100%;
    min-height: 0 !important;
    height: auto !important;
    box-sizing: border-box;
}

body.app-page > #app.app-shell > #workspace.workspace,
body.has-project-footer > #app.app-shell > #workspace.workspace {
    min-height: 0 !important;
    box-sizing: border-box;
}

body.app-page > .home-project-info,
body.has-project-footer > .home-project-info {
    flex: 0 0 auto;
    align-self: stretch;
    margin: 0 !important;
}

@supports (-webkit-touch-callout: none) {
    html.app-page-root {
        min-height: -webkit-fill-available;
    }

    body.app-page,
    body.has-project-footer {
        min-height: -webkit-fill-available;
    }
}

@media (min-width: 900px) {
    body.app-page > #app.app-shell,
    body.has-project-footer > #app.app-shell {
        padding-top: 72px;
    }
}

@media (max-width: 899px) {
    body.app-page > #app.app-shell,
    body.has-project-footer > #app.app-shell {
        padding-top: 0 !important;
    }
}

/* Премиальные рубашки Таро, Рун и МАК на главном столе. */
.quick-system-grid.quick-system-grid--table {
    isolation: isolate;
}

.quick-system-card.quick-system-card--table {
    --deck-glow-rgb: 231, 188, 78;
    --deck-accent: #e7bc4e;
    --deck-accent-light: #ffe6a1;
    --deck-border: rgba(231, 188, 78, .74);
    --deck-image: url('/app/images/deck-tarot-ornament.svg');
    --deck-stack-outer-x: 18px;
    --deck-stack-inner-x: 9px;
    --deck-hover-outer-x: 30px;
    --deck-hover-inner-x: 16px;
    --deck-active-outer-x: 48px;
    --deck-active-inner-x: 26px;
    z-index: 1;
    opacity: 1;
    will-change: opacity, filter, transform;
    transition:
        color .24s ease,
        opacity .36s ease,
        filter .36s ease,
        transform .48s cubic-bezier(.18, .82, .24, 1) !important;
}

.quick-system-card.quick-system-card--table[data-system="TAROT"] {
    --deck-glow-rgb: 231, 188, 78;
    --deck-accent: #e7bc4e;
    --deck-accent-light: #ffe6a1;
    --deck-border: rgba(231, 188, 78, .78);
    --deck-image: url('/app/images/deck-tarot-ornament.svg');
}

.quick-system-card.quick-system-card--table[data-system="RUNES"] {
    --deck-glow-rgb: 235, 56, 51;
    --deck-accent: #eb3833;
    --deck-accent-light: #ff9285;
    --deck-border: rgba(213, 103, 87, .78);
    --deck-image: url('/app/images/deck-runes-ornament.svg');
}

.quick-system-card.quick-system-card--table[data-system="MAC"] {
    --deck-glow-rgb: 69, 164, 255;
    --deck-accent: #45a4ff;
    --deck-accent-light: #a6dcff;
    --deck-border: rgba(104, 184, 255, .82);
    --deck-image: url('/app/images/deck-mac-ornament.svg');
}

.quick-system-grid.quick-system-grid--table .quick-system-card.quick-system-card--table:not(.is-active) {
    z-index: 1;
    opacity: 1;
    filter: none;
    transform: translateY(10px) scale(.89) !important;
}

.quick-system-grid.quick-system-grid--table .quick-system-card.quick-system-card--table:not(.is-active):hover:not(:disabled),
.quick-system-grid.quick-system-grid--table .quick-system-card.quick-system-card--table:not(.is-active):focus-visible {
    z-index: 4;
    opacity: 1;
    filter: none;
    transform: translateY(2px) scale(.95) !important;
}

.quick-system-grid.quick-system-grid--table .quick-system-card.quick-system-card--table:not(.is-active) .quick-table-deck {
    opacity: .54;
    filter:
        saturate(.46)
        brightness(.7)
        drop-shadow(0 22px 20px rgba(37, 24, 15, .28));
}

.quick-system-grid.quick-system-grid--table .quick-system-card.quick-system-card--table:not(.is-active):hover:not(:disabled) .quick-table-deck,
.quick-system-grid.quick-system-grid--table .quick-system-card.quick-system-card--table:not(.is-active):focus-visible .quick-table-deck {
    opacity: .82;
    filter:
        saturate(.86)
        brightness(.9)
        drop-shadow(0 25px 24px rgba(26, 17, 12, .34))
        drop-shadow(0 0 15px rgba(var(--deck-glow-rgb), .14));
}

.quick-system-grid.quick-system-grid--table .quick-system-card.quick-system-card--table.is-active {
    z-index: 6;
    opacity: 1;
    filter: none;
    transform: translateY(-10px) scale(1.07) !important;
    animation: quick-premium-system-select .56s cubic-bezier(.16, .9, .22, 1.08) both;
}

.quick-system-card.quick-system-card--table .quick-system-card__copy strong {
    transition: color .28s ease, opacity .28s ease, text-shadow .28s ease;
}

.quick-system-card.quick-system-card--table.is-active .quick-system-card__copy strong {
    color: rgba(44, 32, 22, .99) !important;
    text-shadow:
        0 1px 1px rgba(255, 248, 231, .28),
        0 0 18px rgba(var(--deck-glow-rgb), .22) !important;
}

.quick-system-card.quick-system-card--table .quick-system-card__check {
    border-color: rgba(var(--deck-glow-rgb), .48) !important;
    color: #fff !important;
    background: var(--deck-accent) !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .18),
        0 0 22px rgba(var(--deck-glow-rgb), .46) !important;
}

.quick-system-card.quick-system-card--table .quick-table-deck {
    position: relative;
    isolation: isolate;
    z-index: 1;
    aspect-ratio: 2 / 3;
    perspective: 1200px;
    transform-style: preserve-3d;
    filter: drop-shadow(0 22px 20px rgba(37, 24, 15, .28));
    transition: opacity .36s ease, filter .34s ease, transform .46s cubic-bezier(.18, .82, .24, 1);
}

.quick-system-card.quick-system-card--table:hover:not(:disabled) .quick-table-deck,
.quick-system-card.quick-system-card--table:focus-visible .quick-table-deck,
.quick-system-card.quick-system-card--table.is-active .quick-table-deck {
    filter:
        drop-shadow(0 25px 24px rgba(26, 17, 12, .34))
        drop-shadow(0 0 15px rgba(var(--deck-glow-rgb), .14));
}

.quick-system-card.quick-system-card--table .quick-table-deck::before {
    content: '';
    position: absolute;
    z-index: 0;
    top: -58%;
    left: -46%;
    width: 192%;
    height: 122%;
    pointer-events: none;
    opacity: .035;
    background:
        radial-gradient(circle at 18% 84%, rgba(var(--deck-glow-rgb), .92) 0 1.2px, transparent 2.2px),
        radial-gradient(circle at 31% 58%, rgba(var(--deck-glow-rgb), .72) 0 1px, transparent 2px),
        radial-gradient(circle at 45% 72%, rgba(var(--deck-glow-rgb), .95) 0 1.4px, transparent 2.5px),
        radial-gradient(circle at 57% 46%, rgba(var(--deck-glow-rgb), .66) 0 1px, transparent 2px),
        radial-gradient(circle at 69% 67%, rgba(var(--deck-glow-rgb), .9) 0 1.3px, transparent 2.3px),
        radial-gradient(circle at 82% 38%, rgba(var(--deck-glow-rgb), .68) 0 1px, transparent 2px),
        radial-gradient(ellipse 43% 62% at 50% 100%, rgba(var(--deck-glow-rgb), .76), rgba(var(--deck-glow-rgb), .2) 42%, transparent 76%);
    filter: blur(3.5px);
    transform: translateY(24px) scale(.72, .58);
    transform-origin: center bottom;
    transition: opacity .34s ease, transform .5s cubic-bezier(.18, .82, .24, 1), filter .34s ease;
}

.quick-system-card.quick-system-card--table .quick-table-deck::after {
    content: '';
    position: absolute;
    z-index: 0;
    left: 50%;
    bottom: -22px;
    width: 96%;
    height: 28px;
    pointer-events: none;
    border: 0;
    border-radius: 50%;
    opacity: .34;
    background: radial-gradient(ellipse, rgba(44, 27, 16, .54), transparent 72%);
    filter: blur(9px);
    transform: translateX(-50%);
}

.quick-system-card.quick-system-card--table:hover:not(:disabled) .quick-table-deck::before,
.quick-system-card.quick-system-card--table:focus-visible .quick-table-deck::before {
    opacity: .72;
    filter: blur(2.5px);
    transform: translateY(-1px) scale(.98, 1);
}

.quick-system-card.quick-system-card--table.is-active .quick-table-deck::before {
    opacity: .92;
    filter: blur(2.2px);
    transform: translateY(-7px) scale(1.08, 1.06);
    animation: quick-premium-aura-rise 2.8s ease-in-out infinite;
}

.quick-system-card.quick-system-card--table .quick-table-deck__card {
    --card-rest-x: 0;
    --card-rest-y: 0;
    --card-rest-rotate: 0deg;
    --card-rest-scale: 1;
    --card-hover-x: 0;
    --card-hover-y: 0;
    --card-hover-rotate: 0deg;
    --card-hover-scale: 1;
    --card-active-x: 0;
    --card-active-y: 0;
    --card-active-rotate: 0deg;
    --card-active-scale: 1;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--deck-border) !important;
    border-radius: clamp(11px, 1.25vw, 16px);
    opacity: .9;
    color: transparent !important;
    background-color: #050607 !important;
    background-image:
        linear-gradient(118deg, rgba(255, 255, 255, .12), transparent 17%, transparent 72%, rgba(0, 0, 0, .32)),
        var(--deck-image) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 100% 100% !important;
    box-shadow:
        inset 0 0 0 2px rgba(0, 0, 0, .68),
        inset 0 0 22px rgba(0, 0, 0, .36),
        0 16px 28px rgba(22, 14, 10, .24) !important;
    font-size: 0 !important;
    text-shadow: none !important;
    backface-visibility: hidden;
    transform:
        translate(var(--card-rest-x), var(--card-rest-y))
        rotate(var(--card-rest-rotate))
        scale(var(--card-rest-scale));
    transform-origin: 50% 90%;
    will-change: transform, filter, opacity, box-shadow;
    transition:
        transform .56s cubic-bezier(.18, .88, .22, 1),
        opacity .34s ease,
        filter .34s ease,
        border-color .28s ease,
        box-shadow .34s ease !important;
}

.quick-system-card.quick-system-card--table .quick-table-deck__card::before {
    content: '' !important;
    position: absolute !important;
    inset: 6px !important;
    z-index: 1;
    pointer-events: none;
    border: 1px solid rgba(var(--deck-glow-rgb), .18) !important;
    border-radius: calc(clamp(11px, 1.25vw, 16px) - 5px) !important;
    opacity: .8;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .1), transparent 20%, transparent 74%, rgba(0, 0, 0, .22));
    box-shadow: inset 0 0 20px rgba(0, 0, 0, .16);
    transform: none !important;
}

.quick-system-card.quick-system-card--table .quick-table-deck__card::after {
    content: '' !important;
    position: absolute !important;
    inset: -26% -62% !important;
    z-index: 2;
    pointer-events: none;
    border: 0 !important;
    border-radius: 0 !important;
    opacity: 0;
    background: linear-gradient(112deg, transparent 40%, rgba(255, 255, 255, .28) 49%, rgba(var(--deck-glow-rgb), .22) 52%, transparent 61%);
    box-shadow: none !important;
    transform: translateX(-68%) rotate(3deg) !important;
}

.quick-system-card.quick-system-card--table .quick-table-deck__card--1 {
    --card-rest-x: calc(0px - var(--deck-stack-outer-x));
    --card-rest-y: 10px;
    --card-rest-rotate: -7deg;
    --card-hover-x: calc(0px - var(--deck-hover-outer-x));
    --card-hover-y: 8px;
    --card-hover-rotate: -10deg;
    --card-active-x: calc(0px - var(--deck-active-outer-x));
    --card-active-y: 12px;
    --card-active-rotate: -14deg;
    z-index: 1;
    opacity: .66;
    filter: brightness(.62) saturate(.74);
}

.quick-system-card.quick-system-card--table .quick-table-deck__card--2 {
    --card-rest-x: calc(0px - var(--deck-stack-inner-x));
    --card-rest-y: 5px;
    --card-rest-rotate: -3.5deg;
    --card-hover-x: calc(0px - var(--deck-hover-inner-x));
    --card-hover-y: 2px;
    --card-hover-rotate: -6deg;
    --card-active-x: calc(0px - var(--deck-active-inner-x));
    --card-active-y: 2px;
    --card-active-rotate: -7deg;
    z-index: 2;
    opacity: .8;
    filter: brightness(.76) saturate(.84);
}

.quick-system-card.quick-system-card--table .quick-table-deck__card--3 {
    --card-rest-x: var(--deck-stack-inner-x);
    --card-rest-y: 5px;
    --card-rest-rotate: 3.5deg;
    --card-hover-x: var(--deck-hover-inner-x);
    --card-hover-y: 2px;
    --card-hover-rotate: 6deg;
    --card-active-x: var(--deck-active-inner-x);
    --card-active-y: 2px;
    --card-active-rotate: 7deg;
    z-index: 2;
    opacity: .8;
    filter: brightness(.76) saturate(.84);
}

.quick-system-card.quick-system-card--table .quick-table-deck__card--4 {
    --card-rest-x: var(--deck-stack-outer-x);
    --card-rest-y: 10px;
    --card-rest-rotate: 7deg;
    --card-hover-x: var(--deck-hover-outer-x);
    --card-hover-y: 8px;
    --card-hover-rotate: 10deg;
    --card-active-x: var(--deck-active-outer-x);
    --card-active-y: 12px;
    --card-active-rotate: 14deg;
    z-index: 1;
    opacity: .66;
    filter: brightness(.62) saturate(.74);
}

.quick-system-card.quick-system-card--table .quick-table-deck__card--5 {
    --card-rest-y: 0;
    --card-hover-y: -7px;
    --card-hover-scale: 1.015;
    --card-active-y: -16px;
    --card-active-scale: 1.04;
    z-index: 5;
    opacity: 1;
    filter: brightness(1) saturate(1);
}

.quick-system-card.quick-system-card--table:hover:not(:disabled) .quick-table-deck__card,
.quick-system-card.quick-system-card--table:focus-visible .quick-table-deck__card {
    opacity: .96;
    filter: brightness(.9) saturate(.94);
    transform:
        translate(var(--card-hover-x), var(--card-hover-y))
        rotate(var(--card-hover-rotate))
        scale(var(--card-hover-scale));
}

.quick-system-card.quick-system-card--table:hover:not(:disabled) .quick-table-deck__card--5,
.quick-system-card.quick-system-card--table:focus-visible .quick-table-deck__card--5 {
    opacity: 1;
    filter: brightness(1.05) saturate(1.06);
    border-color: var(--deck-accent-light) !important;
    box-shadow:
        inset 0 0 0 2px rgba(0, 0, 0, .62),
        inset 0 0 26px rgba(0, 0, 0, .3),
        0 0 26px rgba(var(--deck-glow-rgb), .2),
        0 20px 34px rgba(20, 12, 9, .3) !important;
}

.quick-system-card.quick-system-card--table.is-active .quick-table-deck__card {
    opacity: .97;
    filter: brightness(.9) saturate(.94);
    transform:
        translate(var(--card-active-x), var(--card-active-y))
        rotate(var(--card-active-rotate))
        scale(var(--card-active-scale));
    animation: quick-premium-card-open .6s cubic-bezier(.16, .9, .22, 1.08) both;
}

.quick-system-card.quick-system-card--table.is-active .quick-table-deck__card--1 {
    animation-delay: 0s;
}

.quick-system-card.quick-system-card--table.is-active .quick-table-deck__card--4 {
    animation-delay: .025s;
}

.quick-system-card.quick-system-card--table.is-active .quick-table-deck__card--2 {
    animation-delay: .05s;
}

.quick-system-card.quick-system-card--table.is-active .quick-table-deck__card--3 {
    animation-delay: .075s;
}

.quick-system-card.quick-system-card--table.is-active .quick-table-deck__card--5 {
    opacity: 1;
    filter: brightness(1.07) saturate(1.08);
    border-color: var(--deck-accent-light) !important;
    box-shadow:
        inset 0 0 0 2px rgba(0, 0, 0, .6),
        inset 0 0 28px rgba(0, 0, 0, .28),
        0 0 0 1px rgba(var(--deck-glow-rgb), .26),
        0 0 38px rgba(var(--deck-glow-rgb), .3),
        0 24px 42px rgba(18, 11, 8, .34) !important;
    animation-delay: .11s;
}

.quick-system-card.quick-system-card--table:hover:not(:disabled) .quick-table-deck__card--5::after,
.quick-system-card.quick-system-card--table:focus-visible .quick-table-deck__card--5::after,
.quick-system-card.quick-system-card--table.is-active .quick-table-deck__card--5::after {
    opacity: .72;
    animation: quick-premium-card-shimmer 3.8s ease-in-out infinite;
}

@keyframes quick-premium-system-select {
    from {
        opacity: .72;
        transform: translateY(5px) scale(.94);
    }
    to {
        opacity: 1;
        transform: translateY(-10px) scale(1.07);
    }
}

@keyframes quick-premium-card-open {
    from {
        opacity: .76;
        transform:
            translate(var(--card-rest-x), var(--card-rest-y))
            rotate(var(--card-rest-rotate))
            scale(var(--card-rest-scale));
    }
    to {
        opacity: .97;
        transform:
            translate(var(--card-active-x), var(--card-active-y))
            rotate(var(--card-active-rotate))
            scale(var(--card-active-scale));
    }
}

@keyframes quick-premium-aura-rise {
    0%, 100% {
        opacity: .78;
        transform: translateY(0) scale(1.02, .98);
    }
    50% {
        opacity: .98;
        transform: translateY(-14px) scale(1.1, 1.1);
    }
}

@keyframes quick-premium-card-shimmer {
    0%, 20% {
        opacity: 0;
        transform: translateX(-68%) rotate(3deg);
    }
    42% {
        opacity: .72;
    }
    68%, 100% {
        opacity: 0;
        transform: translateX(68%) rotate(3deg);
    }
}

@media (max-width: 899px) {
    .quick-system-card.quick-system-card--table {
        --deck-stack-outer-x: 11px;
        --deck-stack-inner-x: 5px;
        --deck-hover-outer-x: 19px;
        --deck-hover-inner-x: 10px;
        --deck-active-outer-x: 31px;
        --deck-active-inner-x: 17px;
    }

    .quick-system-grid.quick-system-grid--table .quick-system-card.quick-system-card--table:not(.is-active) {
        opacity: 1;
        filter: none;
        transform: translateY(5px) scale(.94) !important;
    }

    .quick-system-grid.quick-system-grid--table .quick-system-card.quick-system-card--table:not(.is-active):hover:not(:disabled),
    .quick-system-grid.quick-system-grid--table .quick-system-card.quick-system-card--table:not(.is-active):focus-visible {
        opacity: 1;
        transform: translateY(1px) scale(.97) !important;
    }

    .quick-system-grid.quick-system-grid--table .quick-system-card.quick-system-card--table.is-active {
        transform: translateY(-4px) scale(1.035) !important;
        animation-name: quick-premium-system-select-tablet;
    }

    .quick-system-card.quick-system-card--table .quick-table-deck__card--1,
    .quick-system-card.quick-system-card--table .quick-table-deck__card--4 {
        --card-rest-y: 7px;
        --card-hover-y: 5px;
        --card-active-y: 8px;
    }

    .quick-system-card.quick-system-card--table .quick-table-deck__card--2,
    .quick-system-card.quick-system-card--table .quick-table-deck__card--3 {
        --card-rest-y: 4px;
        --card-hover-y: 2px;
        --card-active-y: 2px;
    }

    .quick-system-card.quick-system-card--table .quick-table-deck__card--5 {
        --card-hover-y: -5px;
        --card-active-y: -10px;
        --card-active-scale: 1.025;
    }

    .quick-system-card.quick-system-card--table .quick-table-deck::before {
        top: -48%;
        left: -36%;
        width: 172%;
        height: 108%;
    }
}

@keyframes quick-premium-system-select-tablet {
    from {
        opacity: .72;
        transform: translateY(4px) scale(.95);
    }
    to {
        opacity: 1;
        transform: translateY(-4px) scale(1.035);
    }
}

@media (max-width: 480px) {
    .quick-system-card.quick-system-card--table {
        --deck-stack-outer-x: 7px;
        --deck-stack-inner-x: 3px;
        --deck-hover-outer-x: 11px;
        --deck-hover-inner-x: 6px;
        --deck-active-outer-x: 15px;
        --deck-active-inner-x: 8px;
    }

    .quick-system-grid.quick-system-grid--table .quick-system-card.quick-system-card--table:not(.is-active) {
        opacity: 1;
        transform: translateY(3px) scale(.93) !important;
    }

    .quick-system-grid.quick-system-grid--table .quick-system-card.quick-system-card--table.is-active {
        transform: translateY(-2px) scale(1.01) !important;
        animation-name: quick-premium-system-select-mobile;
    }

    .quick-system-card.quick-system-card--table .quick-table-deck__card {
        border-width: 1px !important;
        border-radius: 8px;
    }

    .quick-system-card.quick-system-card--table .quick-table-deck__card::before {
        inset: 4px !important;
        border-radius: 5px !important;
    }

    .quick-system-card.quick-system-card--table .quick-table-deck__card--1,
    .quick-system-card.quick-system-card--table .quick-table-deck__card--4 {
        --card-rest-y: 5px;
        --card-hover-y: 4px;
        --card-active-y: 6px;
        --card-active-rotate: -10deg;
    }

    .quick-system-card.quick-system-card--table .quick-table-deck__card--4 {
        --card-active-rotate: 10deg;
    }

    .quick-system-card.quick-system-card--table .quick-table-deck__card--2 {
        --card-active-rotate: -5deg;
    }

    .quick-system-card.quick-system-card--table .quick-table-deck__card--3 {
        --card-active-rotate: 5deg;
    }

    .quick-system-card.quick-system-card--table .quick-table-deck__card--5 {
        --card-hover-y: -3px;
        --card-active-y: -6px;
        --card-active-scale: 1.012;
    }

    .quick-system-card.quick-system-card--table .quick-table-deck::before {
        top: -38%;
        left: -24%;
        width: 148%;
        height: 92%;
        filter: blur(2px);
    }

    .quick-system-card.quick-system-card--table.is-active .quick-table-deck::before {
        transform: translateY(-2px) scale(.94, .92);
    }
}

@keyframes quick-premium-system-select-mobile {
    from {
        opacity: .72;
        transform: translateY(2px) scale(.95);
    }
    to {
        opacity: 1;
        transform: translateY(-2px) scale(1.01);
    }
}

@media (prefers-reduced-motion: reduce) {
    .quick-system-card.quick-system-card--table,
    .quick-system-card.quick-system-card--table .quick-table-deck,
    .quick-system-card.quick-system-card--table .quick-table-deck::before,
    .quick-system-card.quick-system-card--table .quick-table-deck__card,
    .quick-system-card.quick-system-card--table .quick-table-deck__card::after {
        animation: none !important;
        transition-duration: .01ms !important;
    }
}

/* REFLECTA APP UX 2026 START */
:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.page-title) {
    max-width: 820px;
    font-size: clamp(2.15rem, 3.9vw, 3.55rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -.042em !important;
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.hero-card h2) {
    font-size: clamp(1.95rem, 3.5vw, 3.15rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -.04em !important;
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.home-table-hero__title) {
    font-size: clamp(.975rem, 1.75vw, 1.575rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -.04em !important;
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.section-title, .card h2, .modal-header h2, .home-project-info__header h2) {
    font-size: clamp(1.3rem, 2vw, 1.72rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -.025em !important;
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.page-subtitle, .card p, .hero-card p, .metric-label, .helper-text, .muted) {
    color: var(--muted) !important;
    line-height: 1.64;
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.card, .metric, .modal, .details-card, .quick-launcher, .quick-story-card, .home-guest-hero, .home-value-card, .home-consultants-promo, .home-consultant-workspace, .settings-export-card) {
    border-color: transparent !important;
    background: var(--theme-card-bg) !important;
    box-shadow: var(--shadow-sm) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.card, .metric, .modal, .details-card)::before {
    opacity: .25;
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.card.is-clickable, .metric.is-clickable, button.metric):hover {
    border-color: transparent !important;
    background: var(--theme-card-hover-bg) !important;
    box-shadow: var(--shadow) !important;
    transform: translateY(-4px);
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.side-nav, .details-panel, .top-bar, .bottom-nav, .desktop-top-bar) {
    border-color: transparent !important;
    background: color-mix(in srgb, var(--bg-elevated) 94%, transparent) !important;
    box-shadow: 0 10px 34px color-mix(in srgb, var(--text) 7%, transparent) !important;
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.nav-link.is-active, .system-tab.is-selected, .tab.is-selected) {
    border-color: transparent !important;
    color: var(--text) !important;
    background: color-mix(in srgb, var(--accent) 14%, var(--surface-solid)) !important;
    box-shadow: inset 4px 0 0 var(--accent);
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.quick-system-card.quick-system-card--table, .quick-spread-card--table) {
    border-color: transparent !important;
    box-shadow: var(--shadow-xs) !important;
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.quick-system-card.quick-system-card--table:hover:not(:disabled), .quick-system-card.quick-system-card--table:focus-visible, .quick-system-card.quick-system-card--table.is-active, .quick-spread-card--table:hover, .quick-spread-card--table:focus-visible) {
    border-color: transparent !important;
    box-shadow: var(--shadow-sm) !important;
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.modal-backdrop) {
    background: color-mix(in srgb, #000000 62%, transparent) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 760px) {
    :root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.page-title) {
        font-size: clamp(1.82rem, 8.2vw, 2.45rem) !important;
        line-height: 1.06 !important;
    }

    :root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.hero-card h2) {
        font-size: clamp(1.75rem, 7.7vw, 2.35rem) !important;
        line-height: 1.06 !important;
    }

    :root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.home-table-hero__title) {
        font-size: clamp(.875rem, 3.85vw, 1.175rem) !important;
        line-height: 1.06 !important;
    }

    :root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.section-title, .card h2, .modal-header h2, .home-project-info__header h2) {
        font-size: clamp(1.2rem, 5.6vw, 1.55rem) !important;
    }

    :root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(.card, .metric, .modal, .details-card, .quick-launcher, .quick-story-card, .home-guest-hero, .home-value-card, .home-consultants-promo, .home-consultant-workspace, .settings-export-card) {
        border-radius: 20px !important;
    }
}

/* Контрастность элементов выбора расклада по WCAG 2 AA. */
:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) .quick-system-card.quick-system-card--table .quick-system-card__copy strong {
    color: #2d2219 !important;
    text-shadow: 0 1px 1px rgba(255, 248, 231, .32) !important;
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) .quick-launcher--table .quick-launcher__section-title {
    color: var(--text-soft);
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) .quick-spread-card.quick-spread-card--table {
    color: var(--text-soft) !important;
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) :where(
    .quick-spread-card--table .quick-spread-card__meta,
    .quick-spread-card--table .quick-spread-card__copy,
    .quick-spread-search,
    .quick-spread-search-empty,
    .quick-launcher--table .quick-launcher__status
) {
    color: color-mix(in srgb, var(--text-soft) 72%, var(--muted)) !important;
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) .quick-spread-search__input {
    color: var(--text);
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) .quick-spread-search__input::placeholder {
    color: color-mix(in srgb, var(--text-soft) 72%, var(--muted)) !important;
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) .quick-spread-toggle.quick-spread-toggle--table {
    border-color: color-mix(in srgb, var(--text-soft) 24%, transparent) !important;
    color: var(--text-soft) !important;
    background: color-mix(in srgb, var(--surface-solid) 78%, transparent) !important;
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) .quick-spread-toggle.quick-spread-toggle--table:hover:not(:disabled),
:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) .quick-spread-toggle.quick-spread-toggle--table:focus-visible {
    border-color: color-mix(in srgb, var(--text) 36%, transparent) !important;
    color: var(--text) !important;
    background: var(--surface-solid) !important;
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) .quick-spread-favorite {
    border-color: color-mix(in srgb, var(--warning) 36%, transparent);
    color: var(--warning);
    background: var(--surface-solid);
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) .quick-spread-favorite:hover:not(:disabled),
:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) .quick-spread-favorite:focus-visible,
:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) .quick-spread-favorite.is-favorite {
    border-color: color-mix(in srgb, var(--warning) 58%, transparent);
    color: var(--warning);
    background: var(--surface-solid);
}

:root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) .quick-spread-card__arrow {
    color: var(--text-soft);
    opacity: .88;
}

@media (min-width: 900px) {
    :root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-link,
    :root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) body:has(.workspace[data-route="home"]) .desktop-primary-nav > .nav-group > .nav-group-summary,
    :root:is([data-visual-theme="cream"], [data-visual-theme="premium"], [data-visual-theme="sky"], [data-visual-theme="pearl"], [data-visual-theme="sage"], [data-visual-theme="cosmos"]) body:has(.workspace[data-route="home"]) .desktop-primary-nav .nav-sub-link {
        color: var(--text-soft);
    }
}


.quick-launcher--table .quick-launcher__section-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.quick-launcher--table .quick-launcher__section-availability {
    color: inherit;
    font-size: .9em;
    font-weight: 620;
    letter-spacing: .035em;
    text-transform: none;
    white-space: nowrap;
    opacity: .76;
}

/* REFLECTA APP UX 2026 END */
/* REFLECTA APP UX 2026.08.17 — polished utility controls, footer disclosure, about page, spread cards */

:root {
    --reflecta-display-font: var(--display-font);
    --reflecta-body-font: var(--body-font);
}

body,
button,
input,
select,
textarea,
option,
label,
p,
li,
div,
span,
small,
.text-body,
.page-subtitle,
.list-meta,
.card p,
.quick-spread-card--table .quick-spread-card__copy,
.quick-spread-card--table .quick-spread-card__meta,
.home-project-info__description,
.home-project-info__differences li,
.about-hero-copy p,
.about-highlight p,
.about-contact-card p {
    font-family: var(--reflecta-body-font);
}

h1,
h2,
h3,
h4,
h5,
h6,
.page-title,
.section-title,
.brand__name,
.desktop-primary-nav .nav-link-label,
.desktop-primary-nav .nav-sub-link > span:last-child,
.quick-spread-card--table .quick-spread-card__title,
.home-project-info__header h2,
.home-project-info__section h3,
.about-hero-copy h2,
.about-highlight h3,
.about-contact-card h3 {
    font-family: var(--reflecta-display-font);
}

.desktop-top-actions,
.top-actions {
    display: flex;
    align-items: center;
    gap: 10px !important;
}

.desktop-top-actions {
    min-width: auto;
}

.desktop-top-icon,
.desktop-language-switcher > summary,
.top-actions > .icon-button,
.top-actions > .app-language-switcher > summary {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line)) !important;
    border-radius: 14px !important;
    background: color-mix(in srgb, var(--surface-solid) 90%, transparent) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06), inset 0 1px 0 rgba(255,255,255,.2);
    transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.desktop-top-icon:hover,
.desktop-top-icon:focus-visible,
.desktop-language-switcher > summary:hover,
.desktop-language-switcher > summary:focus-visible,
.top-actions > .icon-button:hover,
.top-actions > .icon-button:focus-visible,
.top-actions > .app-language-switcher > summary:hover,
.top-actions > .app-language-switcher > summary:focus-visible {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--accent) 28%, var(--line-strong)) !important;
    background: color-mix(in srgb, var(--surface-hover) 86%, var(--surface-solid)) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(255,255,255,.24);
}

@media (min-width: 900px) {
    .desktop-primary-nav {
        gap: 10px;
    }

    .desktop-primary-nav > .nav-link,
    .desktop-primary-nav > .nav-group > .nav-group-summary {
        min-height: 42px !important;
        padding: 0 16px !important;
        border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line)) !important;
        border-radius: 14px !important;
        background: color-mix(in srgb, var(--surface-solid) 88%, transparent) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.16) !important;
        font-size: 14px !important;
        transform: none !important;
        text-shadow: none !important;
    }

    .desktop-primary-nav > .nav-link > .nav-link-label,
    .desktop-primary-nav > .nav-group > .nav-group-summary > .nav-link-label,
    .desktop-primary-nav .nav-sub-link > span:last-child {
        font-family: var(--reflecta-display-font) !important;
        font-size: 14px !important;
        font-weight: 640 !important;
        letter-spacing: .02em !important;
        text-shadow: none !important;
    }

    .desktop-primary-nav > .nav-link:hover,
    .desktop-primary-nav > .nav-link:focus-visible,
    .desktop-primary-nav > .nav-group > .nav-group-summary:hover,
    .desktop-primary-nav > .nav-group > .nav-group-summary:focus-visible,
    .desktop-primary-nav > .nav-link.is-active,
    .desktop-primary-nav > .nav-group.is-active > .nav-group-summary,
    .desktop-primary-nav > .nav-group[open] > .nav-group-summary {
        border-color: color-mix(in srgb, var(--accent) 28%, var(--line-strong)) !important;
        background: color-mix(in srgb, var(--surface-hover) 90%, var(--surface-solid)) !important;
        box-shadow: 0 10px 24px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(255,255,255,.22) !important;
        transform: translateY(-1px) !important;
        text-shadow: none !important;
    }

    .desktop-primary-nav .nav-sub-list {
        padding: 10px;
        gap: 8px;
        border-radius: 18px;
    }

    .desktop-primary-nav .nav-sub-link {
        min-height: 44px !important;
        padding: 0 14px !important;
        border: 1px solid color-mix(in srgb, var(--accent) 14%, var(--line)) !important;
        border-radius: 13px !important;
        background: color-mix(in srgb, var(--surface) 86%, transparent);
        font-size: 14px !important;
    }

    .desktop-primary-nav .nav-sub-link:hover,
    .desktop-primary-nav .nav-sub-link:focus-visible,
    .desktop-primary-nav .nav-sub-link.is-active {
        border-color: color-mix(in srgb, var(--accent) 24%, var(--line-strong)) !important;
        background: color-mix(in srgb, var(--surface-hover) 92%, var(--surface-solid)) !important;
    }
}

.quick-spread-grid.quick-spread-grid--table {
    gap: 14px;
    grid-auto-rows: 1fr;
}

.quick-spread-card-shell {
    height: 100%;
}

.quick-spread-card.quick-spread-card--table {
    height: 100%;
    min-height: 164px !important;
    align-items: start;
    gap: 12px;
    padding: 18px 18px 16px 18px;
    border-color: color-mix(in srgb, var(--accent) 18%, var(--line)) !important;
}

.quick-spread-card__copy-group {
    gap: 8px;
    align-content: start;
    padding-right: 20px;
}

.quick-spread-card--table .quick-spread-card__title {
    font-size: 1rem;
    font-weight: 620;
    line-height: 1.28;
}

.quick-spread-card--table .quick-spread-card__meta {
    font-size: .73rem;
    font-weight: 590;
    letter-spacing: .03em;
}

.quick-spread-card--table .quick-spread-card__copy {
    font-size: .86rem;
    font-weight: 480;
    line-height: 1.48;
    color: color-mix(in srgb, var(--text-soft) 82%, var(--muted));
    -webkit-line-clamp: 3;
}

.quick-spread-card__arrow {
    font-size: 1.4rem;
}

.quick-spread-card--table:hover:not(:disabled),
.quick-spread-card--table:focus-visible {
    border-color: color-mix(in srgb, var(--accent) 28%, var(--line-strong)) !important;
}

.reading-stage .reading-system-purpose {
    display: none !important;
}

#workspace[data-route="about"] .page-header {
    margin-bottom: 18px;
}

#workspace[data-route="about"] .page-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 520;
}

#workspace[data-route="about"] .page-subtitle {
    font-size: .94rem;
    line-height: 1.55;
}

#workspace[data-route="about"] .about-hero {
    align-items: start;
    min-height: 320px;
    gap: clamp(22px, 3vw, 40px);
    padding: clamp(24px, 3.8vw, 42px);
}

#workspace[data-route="about"] .about-hero-copy h2 {
    margin: 14px 0 14px;
    font-size: clamp(1.9rem, 3.3vw, 3rem);
    font-weight: 520;
    line-height: 1.04;
}

#workspace[data-route="about"] .about-highlight,
#workspace[data-route="about"] .about-contact-card {
    padding: 20px;
}

#workspace[data-route="about"] .about-highlight h3,
#workspace[data-route="about"] .about-contact-card h3 {
    font-size: 1.06rem;
    font-weight: 560;
}

#workspace[data-route="about"] .about-highlight p,
#workspace[data-route="about"] .about-contact-card p {
    font-size: .94rem;
}

.home-project-info__seo-disclosure {
    margin-bottom: 18px;
}

.home-project-info__seo-summary {
    display: none;
}

@media (max-width: 720px) {
    body.has-project-footer > .home-project-info,
    body.app-page > .home-project-info {
        margin-top: auto !important;
    }

    .quick-spread-grid.quick-spread-grid--table {
        gap: 10px;
    }

    .quick-spread-card-shell {
        min-width: min(86vw, 340px);
    }

    .quick-spread-card.quick-spread-card--table {
        min-height: 176px !important;
    }

    .home-project-info__seo-disclosure {
        overflow: hidden;
        margin-bottom: 16px;
        border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line));
        border-radius: 18px;
        background: color-mix(in srgb, var(--surface-solid) 92%, transparent);
    }

    .home-project-info__seo-summary {
        list-style: none;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0 16px;
        cursor: pointer;
        user-select: none;
    }

    .home-project-info__seo-summary::-webkit-details-marker {
        display: none;
    }

    .home-project-info__seo-summary-label {
        font-family: var(--reflecta-display-font);
        font-size: .96rem;
        font-weight: 620;
        letter-spacing: .02em;
    }

    .home-project-info__seo-summary-icon {
        font-size: 1rem;
        transition: transform .16s ease;
    }

    .home-project-info__seo-disclosure[open] .home-project-info__seo-summary-icon {
        transform: rotate(180deg);
    }

    .home-project-info__seo-disclosure > .home-project-info__header {
        padding: 0 16px 16px;
    }

    .home-project-info__header {
        gap: 10px;
    }

    #workspace[data-route="about"] .about-hero {
        min-height: 0;
        padding: 22px 18px;
    }

    #workspace[data-route="about"] .about-hero-copy h2 {
        font-size: clamp(1.72rem, 8vw, 2.35rem);
    }

    .top-actions,
    .desktop-top-actions {
        gap: 8px !important;
    }
}

/* Подбор расклада по вопросу на главном столе. */
.quick-launcher.quick-launcher--table {
    grid-template-rows: auto minmax(390px, 1fr) auto;
}

.quick-question-picker {
    position: relative;
    z-index: 6;
    width: min(1040px, 100%);
    justify-self: center;
    display: grid;
    gap: 12px;
    padding: clamp(18px, 2vw, 24px);
    border: 1px solid rgba(235, 207, 150, .22);
    border-radius: 22px;
    color: rgba(250, 243, 223, .94);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .055), transparent 48%),
        rgba(7, 25, 20, .72);
    box-shadow: 0 20px 55px rgba(38, 25, 15, .18), inset 0 1px 0 rgba(255, 255, 255, .07);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.quick-question-picker__heading {
    display: grid;
    gap: 5px;
    text-align: center;
}

.quick-question-picker__eyebrow {
    color: rgba(239, 207, 138, .8);
    font-size: .68rem;
    font-weight: 720;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.quick-question-picker__heading h2 {
    margin: 0;
    color: inherit;
    font-family: var(--display-font);
    font-size: clamp(1.25rem, 2.2vw, 1.8rem);
    font-weight: 580;
    line-height: 1.15;
}

.quick-question-picker__heading p {
    max-width: 74ch;
    margin: 0 auto;
    color: rgba(247, 238, 212, .66);
    font-size: .82rem;
    line-height: 1.5;
}

.quick-question-picker__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 10px;
}

.quick-question-picker__input {
    width: 100%;
    min-height: 58px;
    max-height: 132px;
    resize: vertical;
    padding: 15px 17px;
    border: 1px solid rgba(235, 207, 150, .2);
    border-radius: 15px;
    outline: none;
    color: rgba(253, 248, 232, .96);
    background: rgba(3, 17, 13, .54);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
    font: inherit;
    font-size: .93rem;
    line-height: 1.45;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.quick-question-picker__input::placeholder {
    color: rgba(243, 232, 202, .42);
}

.quick-question-picker__input:focus {
    border-color: rgba(239, 204, 128, .55);
    background: rgba(3, 17, 13, .76);
    box-shadow: 0 0 0 3px rgba(232, 195, 112, .09), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.quick-question-picker__action {
    min-width: 190px;
    min-height: 58px;
    align-self: stretch;
    border-radius: 15px !important;
    white-space: nowrap;
}

.quick-question-picker__feedback {
    min-height: 1.25em;
    margin: -2px 2px 0;
    color: rgba(247, 232, 192, .76);
    font-size: .76rem;
    line-height: 1.4;
    text-align: center;
}

.quick-question-picker__results {
    display: grid;
    gap: 9px;
}

.quick-question-picker__results[hidden] {
    display: none;
}

.quick-question-picker__results-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    color: rgba(249, 241, 218, .78);
    font-size: .73rem;
}

.quick-question-picker__results-head strong {
    font-family: var(--display-font);
    font-size: .88rem;
    font-weight: 620;
}

.quick-question-picker__results-head span {
    color: rgba(245, 235, 207, .48);
}

.quick-question-picker__result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.quick-question-result {
    min-width: 0;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 5px;
    padding: 13px 14px;
    border: 1px solid rgba(235, 207, 150, .16);
    border-radius: 14px;
    color: rgba(248, 241, 221, .86);
    background: rgba(3, 17, 13, .36);
    text-align: left;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.quick-question-result:hover:not(:disabled),
.quick-question-result:focus-visible,
.quick-question-result.is-primary {
    border-color: rgba(237, 203, 125, .35);
    background: rgba(8, 31, 24, .68);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .12);
}

.quick-question-result:hover:not(:disabled),
.quick-question-result:focus-visible {
    outline: none;
    transform: translateY(-2px);
}

.quick-question-result__system {
    color: rgba(239, 207, 138, .72);
    font-size: .62rem;
    font-weight: 720;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.quick-question-result__title {
    overflow: hidden;
    color: inherit;
    font-family: var(--display-font);
    font-size: .9rem;
    font-weight: 620;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-question-result__copy {
    display: -webkit-box;
    overflow: hidden;
    color: rgba(246, 236, 208, .58);
    font-size: .7rem;
    line-height: 1.38;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.quick-question-result__action {
    justify-self: end;
    color: rgba(240, 205, 127, .82);
    font-size: .68rem;
    font-weight: 670;
}

.quick-question-picker__manual {
    display: grid;
    grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
    align-items: center;
    gap: 12px;
}

.quick-question-picker__manual-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(235, 207, 150, .19));
}

.quick-question-picker__manual-line:last-child {
    background: linear-gradient(90deg, rgba(235, 207, 150, .19), transparent);
}

.quick-question-picker__manual-action {
    padding: 2px 6px;
    border: 0;
    color: rgba(247, 237, 209, .52);
    background: transparent;
    font: inherit;
    font-size: .7rem;
    cursor: pointer;
}

.quick-question-picker__manual-action:hover,
.quick-question-picker__manual-action:focus-visible {
    color: rgba(249, 240, 215, .82);
    outline: none;
    text-decoration: underline;
    text-underline-offset: 3px;
}

:root[data-theme="light"] .quick-question-picker {
    border-color: rgba(43, 111, 91, .17);
    color: rgba(45, 35, 25, .94);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .26) 52%),
        rgba(249, 245, 235, .7);
    box-shadow: 0 20px 52px rgba(57, 91, 81, .13), inset 0 1px 0 rgba(255, 255, 255, .82);
}

:root[data-theme="light"] .quick-question-picker__eyebrow,
:root[data-theme="light"] .quick-question-result__system,
:root[data-theme="light"] .quick-question-result__action {
    color: #856321;
}

:root[data-theme="light"] .quick-question-picker__heading p,
:root[data-theme="light"] .quick-question-picker__feedback,
:root[data-theme="light"] .quick-question-picker__results-head,
:root[data-theme="light"] .quick-question-picker__manual-action {
    color: rgba(42, 76, 65, .62);
}

:root[data-theme="light"] .quick-question-picker__results-head span,
:root[data-theme="light"] .quick-question-result__copy {
    color: rgba(42, 76, 65, .52);
}

:root[data-theme="light"] .quick-question-picker__input {
    border-color: rgba(35, 104, 84, .16);
    color: #173d32;
    background: rgba(255, 255, 255, .66);
}

:root[data-theme="light"] .quick-question-picker__input::placeholder {
    color: rgba(35, 83, 69, .42);
}

:root[data-theme="light"] .quick-question-picker__input:focus {
    border-color: rgba(32, 119, 94, .34);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 0 0 3px rgba(32, 119, 94, .07);
}

:root[data-theme="light"] .quick-question-result {
    border-color: rgba(35, 104, 84, .13);
    color: rgba(28, 66, 55, .86);
    background: rgba(255, 255, 255, .48);
}

:root[data-theme="light"] .quick-question-result:hover:not(:disabled),
:root[data-theme="light"] .quick-question-result:focus-visible,
:root[data-theme="light"] .quick-question-result.is-primary {
    border-color: rgba(32, 119, 94, .28);
    background: rgba(255, 255, 255, .84);
}

:root[data-theme="light"] .quick-question-picker__manual-line {
    background: linear-gradient(90deg, transparent, rgba(35, 104, 84, .17));
}

:root[data-theme="light"] .quick-question-picker__manual-line:last-child {
    background: linear-gradient(90deg, rgba(35, 104, 84, .17), transparent);
}

@media (max-width: 899px) {
    .quick-launcher.quick-launcher--table {
        grid-template-rows: auto auto auto;
    }

    .quick-question-picker {
        width: 100%;
        padding: 16px;
        border-radius: 18px;
    }

    .quick-question-picker__heading {
        text-align: left;
    }

    .quick-question-picker__heading p {
        margin: 0;
    }
}

@media (max-width: 720px) {
    .quick-question-picker {
        gap: 10px;
        padding: 14px;
        border-radius: 16px;
    }

    .quick-question-picker__form {
        grid-template-columns: 1fr;
    }

    .quick-question-picker__input {
        min-height: 82px;
        resize: none;
    }

    .quick-question-picker__action {
        width: 100%;
        min-width: 0;
        min-height: 48px;
    }

    .quick-question-picker__result-grid {
        grid-template-columns: 1fr;
    }

    .quick-question-result {
        min-height: 112px;
    }

    .quick-question-picker__manual {
        gap: 8px;
    }

    .quick-question-picker__manual-action {
        max-width: 230px;
        font-size: .67rem;
        line-height: 1.35;
    }
}

@media (prefers-reduced-motion: reduce) {
    .quick-question-result,
    .quick-question-picker__input {
        transition: none;
    }

    .quick-question-result:hover:not(:disabled),
    .quick-question-result:focus-visible {
        transform: none;
    }
}

/* На странице раскладов опускаем колоды и блок списка ниже, чтобы не налезали на заголовок. */
#workspace[data-route="home"] .home-table-launcher {
    margin-top: 5vh;
}

#workspace[data-route="home"] .quick-launcher__table-decks {
    padding-top: clamp(18px, 3vh, 36px);
}

#workspace[data-route="home"] .quick-launcher__table-panel {
    margin-top: clamp(28px, 5vh, 64px);
}

@media (max-width: 899px) {
    #workspace[data-route="home"] .home-table-launcher {
        margin-top: 3vh;
    }

    #workspace[data-route="home"] .quick-launcher__table-decks {
        padding-top: clamp(12px, 2vh, 24px);
    }

    #workspace[data-route="home"] .quick-launcher__table-panel {
        margin-top: clamp(20px, 3vh, 36px);
    }
}

/* Сгруппированное меню Reflecta: четыре продуктовых раздела сверху и личный док слева. */
.nav-sub-section {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.nav-sub-section-title {
    display: block;
    padding: 7px 10px 3px;
    color: var(--subtle);
    font-size: .64rem;
    font-weight: 500;
    letter-spacing: .1em;
    line-height: 1.25;
    text-transform: uppercase;
}

#primary-nav .nav-sub-list--sectioned {
    gap: 8px;
}

#primary-nav .nav-sub-section + .nav-sub-section {
    padding-top: 6px;
    border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.desktop-side-dock {
    display: none;
}

@media (min-width: 900px) {
    .desktop-primary-nav > .nav-link,
    .desktop-primary-nav > .nav-group > .nav-group-summary {
        font-weight: 500;
    }

    .desktop-primary-nav .nav-group--wide .nav-sub-list {
        width: min(590px, calc(100vw - 38px));
        max-width: none;
    }

    .desktop-primary-nav .nav-group--align-right .nav-sub-list {
        right: 0;
        left: auto;
        transform: none;
    }

    .desktop-primary-nav .nav-sub-list--sectioned {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .desktop-primary-nav .nav-sub-section {
        align-content: start;
        gap: 3px;
        padding: 2px;
    }

    .desktop-primary-nav .nav-sub-section + .nav-sub-section {
        padding-left: 10px;
        border-left: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
    }

    .desktop-primary-nav .nav-sub-section-title {
        padding: 7px 10px 5px;
        color: color-mix(in srgb, var(--text-soft) 68%, transparent);
        font-size: .62rem;
        font-weight: 500;
        letter-spacing: .12em;
    }

    body:has(.workspace[data-route="home"]) .desktop-primary-nav .nav-sub-section-title {
        color: rgba(239, 218, 170, .58);
    }

    .desktop-side-dock {
        position: fixed;
        top: 88px;
        bottom: 16px;
        left: 12px;
        z-index: 78;
        width: 52px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 9px;
        padding: 7px 6px;
        overflow: visible;
        border: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
        border-radius: 19px;
        color: var(--text-soft);
        background: color-mix(in srgb, var(--bg-elevated) 72%, transparent);
        box-shadow: 0 18px 48px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .035);
        backdrop-filter: blur(22px) saturate(128%);
        -webkit-backdrop-filter: blur(22px) saturate(128%);
    }

    body:has(.workspace[data-route="home"]) .desktop-side-dock {
        border-color: color-mix(in srgb, var(--accent) 19%, transparent);
        background: color-mix(in srgb, var(--bg-elevated) 58%, transparent);
        box-shadow: 0 20px 54px rgba(0, 0, 0, .15), inset 0 1px 0 rgba(255, 255, 255, .045);
    }

    .desktop-side-dock__nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .desktop-side-dock__nav--main {
        min-height: 0;
    }

    .desktop-side-dock__nav--bottom {
        margin-top: auto;
        padding-top: 8px;
        border-top: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
    }

    .desktop-dock-link,
    .desktop-dock-button {
        position: relative;
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        padding: 0;
        border: 1px solid transparent;
        border-radius: 12px;
        color: color-mix(in srgb, var(--text-soft) 82%, transparent);
        background: transparent;
        text-decoration: none;
        list-style: none;
        cursor: pointer;
        transition: color .17s ease, border-color .17s ease, background .17s ease, transform .17s ease;
    }

    .desktop-dock-button::-webkit-details-marker {
        display: none;
    }

    .desktop-dock-link::before,
    .desktop-dock-button::before {
        content: '';
        position: absolute;
        top: 50%;
        left: -7px;
        width: 3px;
        height: 17px;
        border-radius: 999px;
        opacity: 0;
        background: linear-gradient(180deg, var(--accent-soft), var(--gold));
        box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 32%, transparent);
        transform: translateY(-50%) scaleY(.45);
        transition: opacity .17s ease, transform .2s ease;
    }

    .desktop-dock-link:hover,
    .desktop-dock-link:focus-visible,
    .desktop-dock-button:hover,
    .desktop-dock-button:focus-visible,
    .desktop-dock-link.is-active,
    .desktop-dock-group.is-active > .desktop-dock-button,
    .desktop-dock-group[open] > .desktop-dock-button {
        color: var(--text);
        border-color: color-mix(in srgb, var(--accent) 25%, var(--line));
        background: color-mix(in srgb, var(--accent) 8%, var(--surface-hover));
        outline: none;
        transform: translateY(-1px);
    }

    .desktop-dock-link.is-active::before,
    .desktop-dock-group.is-active > .desktop-dock-button::before,
    .desktop-dock-group[open] > .desktop-dock-button::before {
        opacity: 1;
        transform: translateY(-50%) scaleY(1);
    }

    .desktop-dock-icon,
    .desktop-dock-icon .ui-icon {
        width: 20px;
        height: 20px;
    }

    .desktop-dock-icon {
        display: grid;
        place-items: center;
    }

    .desktop-dock-lock {
        position: absolute;
        right: 1px;
        bottom: 1px;
        width: 13px;
        height: 13px;
        display: grid;
        place-items: center;
        border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
        border-radius: 50%;
        color: var(--subtle);
        background: var(--surface-solid);
    }

    .desktop-dock-lock .ui-icon {
        width: 8px;
        height: 8px;
        stroke-width: 1.8;
    }

    .desktop-dock-link.is-guest-locked,
    .desktop-dock-group.is-guest-locked-group > .desktop-dock-button {
        opacity: .55;
        filter: saturate(.5);
    }

    .desktop-dock-tooltip {
        position: absolute;
        top: 50%;
        left: calc(100% + 13px);
        z-index: 102;
        width: max-content;
        max-width: 260px;
        padding: 7px 10px;
        border: 1px solid color-mix(in srgb, var(--line-strong) 76%, transparent);
        border-radius: 10px;
        opacity: 0;
        visibility: hidden;
        color: var(--text);
        background: color-mix(in srgb, var(--surface-solid) 96%, transparent);
        box-shadow: 0 14px 36px rgba(0, 0, 0, .18);
        font-size: .72rem;
        font-weight: 500;
        line-height: 1.3;
        pointer-events: none;
        transform: translate(6px, -50%);
        transition: opacity .15s ease, visibility 0s linear .15s, transform .17s ease;
    }

    .desktop-dock-link:hover > .desktop-dock-tooltip,
    .desktop-dock-link:focus-visible > .desktop-dock-tooltip,
    .desktop-dock-button:hover > .desktop-dock-tooltip,
    .desktop-dock-button:focus-visible > .desktop-dock-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translate(0, -50%);
        transition-delay: .08s, 0s, .08s;
    }

    .desktop-dock-group[open] > .desktop-dock-button > .desktop-dock-tooltip {
        display: none;
    }

    .desktop-dock-group {
        position: relative;
        width: 40px;
        height: 40px;
        flex: 0 0 auto;
    }

    .desktop-dock-menu {
        position: absolute;
        top: -5px;
        left: calc(100% + 14px);
        z-index: 101;
        width: max-content;
        min-width: 248px;
        max-width: min(320px, calc(100vw - 94px));
        display: grid;
        gap: 3px;
        padding: 9px;
        border: 1px solid color-mix(in srgb, var(--line-strong) 78%, transparent);
        border-radius: 16px;
        color: var(--text-soft);
        background: color-mix(in srgb, var(--surface-solid) 95%, transparent);
        box-shadow: 0 22px 58px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .04);
        backdrop-filter: blur(24px) saturate(132%);
        -webkit-backdrop-filter: blur(24px) saturate(132%);
    }

    .desktop-dock-group--align-bottom .desktop-dock-menu {
        top: auto;
        bottom: -5px;
    }

    .desktop-dock-menu__title {
        display: block;
        padding: 7px 10px 8px;
        border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
        color: var(--text);
        font-family: var(--display-font);
        font-size: .9rem;
        font-weight: 400;
        line-height: 1.25;
    }

    .desktop-dock-menu .nav-sub-link {
        min-height: 38px;
        padding: 7px 10px;
        border-radius: 10px;
        color: var(--muted);
        font-size: .78rem;
        font-weight: 450;
    }

    .desktop-dock-menu .nav-sub-link:hover,
    .desktop-dock-menu .nav-sub-link:focus-visible,
    .desktop-dock-menu .nav-sub-link.is-active {
        color: var(--text);
        background: color-mix(in srgb, var(--accent) 8%, var(--surface-hover));
        outline: none;
    }

    .desktop-dock-menu__section {
        display: grid;
        gap: 3px;
    }

    .desktop-dock-menu__section + .desktop-dock-menu__section {
        margin-top: 5px;
        padding-top: 7px;
        border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
    }

    .desktop-dock-menu__section-title {
        padding: 5px 10px 2px;
        color: var(--subtle);
        font-size: .62rem;
        font-weight: 500;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .workspace:not([data-route="home"]) {
        padding-left: clamp(78px, 6vw, 92px);
    }

    #workspace[data-route="home"] .home-table-resume {
        left: clamp(76px, 6vw, 96px);
    }
}

@media (min-width: 900px) and (max-width: 1100px) {
    .desktop-top-bar {
        gap: 12px;
        padding-inline: 14px;
    }

    .desktop-top-brand,
    .desktop-top-actions {
        min-width: 112px;
    }

    .desktop-primary-nav {
        gap: 2px;
    }

    .desktop-primary-nav > .nav-link,
    .desktop-primary-nav > .nav-group > .nav-group-summary {
        min-height: 38px;
        padding-inline: 9px;
        font-size: .7rem;
    }

    .desktop-primary-nav .nav-group--wide .nav-sub-list {
        width: min(520px, calc(100vw - 24px));
    }

    .desktop-side-dock {
        left: 8px;
        width: 48px;
        padding-inline: 4px;
    }

    .workspace:not([data-route="home"]) {
        padding-left: 72px;
    }

    #workspace[data-route="home"] .home-table-resume {
        left: 68px;
    }
}

@media (min-width: 900px) and (max-height: 720px) {
    .desktop-side-dock {
        top: 82px;
        bottom: 10px;
        gap: 5px;
        padding-block: 5px;
    }

    .desktop-side-dock__nav {
        gap: 2px;
    }

    .desktop-dock-link,
    .desktop-dock-button,
    .desktop-dock-group {
        width: 36px;
        height: 36px;
    }

    .desktop-dock-icon,
    .desktop-dock-icon .ui-icon {
        width: 18px;
        height: 18px;
    }
}

@media print {
    .desktop-side-dock {
        display: none !important;
    }
}
