: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 !important;
    margin: 0;
    padding: 0 !important;
    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__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: 0 auto;
    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: 0 !important;
    }

    .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);
        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;
    }

    .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__check {
        right: 6%;
        width: 16px;
        height: 16px;
        font-size: .52rem;
    }

    .quick-launcher__table-panel {
        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: #bda987;
}

.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: clamp(590px, 72vh, 850px) !important;
    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: clamp(560px, 68vh, 760px) !important;
}

/* На сукне карты используют рассчитанный размер без ограничений старых экранов расклада. */
.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: clamp(520px, 108vw, 720px) !important;
    }
}

@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: clamp(500px, 136vw, 650px) !important;
    }
}

@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(#workspace.workspace > .home-project-info) {
    background: var(--bg) !important;
}

@media (min-width: 900px) {
    body:has(#workspace.workspace > .home-project-info) #app.app-shell {
        min-height: 100dvh;
        box-sizing: border-box;
    }
}

#workspace.workspace:has(> .home-project-info) {
    min-height: calc(100dvh - 72px);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding-bottom: 0 !important;
}

#workspace.workspace > .home-project-info {
    position: relative;
    width: 100vw;
    min-height: 0;
    margin: auto 0 0 calc(50% - 50vw) !important;
    padding: clamp(48px, 5vh, 72px) 0 0 !important;
    display: block;
    overflow: hidden;
    color: var(--text-soft) !important;
    background: transparent !important;
}

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

#workspace.workspace .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;
    background: color-mix(in srgb, var(--surface-solid) 72%, var(--bg-deep)) !important;
    box-shadow: none;
    box-sizing: border-box;
    transform: translateY(34px);
}

#workspace.workspace .home-project-info.is-visible .home-project-info__panel {
    transform: translateY(0);
}

#workspace.workspace .home-project-info__header {
    max-width: none;
    gap: 5px;
}

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

#workspace.workspace .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;
}

#workspace.workspace .home-project-info__eyebrow {
    font-size: .58rem;
    letter-spacing: .14em;
}

#workspace.workspace .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;
}

#workspace.workspace .home-project-info__description--keywords {
    color: var(--muted) !important;
}

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

#workspace.workspace .home-project-info__section {
    gap: 8px;
}

#workspace.workspace .home-project-info__section h3 {
    font-size: .62rem;
    letter-spacing: .1em;
}

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

#workspace.workspace .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;
}

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

#workspace.workspace .home-project-info__system strong {
    font-size: .88rem;
}

#workspace.workspace .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;
}

#workspace.workspace .home-project-info__arrow {
    right: 11px;
    font-size: .88rem;
}

#workspace.workspace .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;
}

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

#workspace.workspace .home-project-info__difference-mark {
    font-size: .56rem;
}

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

#workspace.workspace .home-project-info__links {
    gap: 6px 15px;
}

#workspace.workspace .home-project-info__links a,
#workspace.workspace .home-project-info__copyright {
    font-size: .66rem;
}

#workspace.workspace .home-project-info__copyright {
    color: var(--subtle) !important;
}

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

@media (max-width: 899px) {
    #workspace.workspace:has(> .home-project-info) {
        min-height: calc(100dvh - 66px);
    }

    #workspace.workspace > .home-project-info {
        padding-top: 36px !important;
    }

    #workspace.workspace .home-project-info__panel {
        padding: 20px 16px 16px;
    }

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

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

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

    #workspace.workspace .home-project-info__links {
        align-items: flex-start;
        flex-direction: row;
    }
}
