:root {
    color-scheme: dark;
    --ak-canvas: #090b0f;
    --ak-canvas-soft: #0d1015;
    --ak-surface: #11151b;
    --ak-surface-raised: #181d25;
    --ak-surface-high: #202630;
    --ak-border: #2b313b;
    --ak-border-strong: #3a424f;
    --ak-text: #f5f1e8;
    --ak-text-soft: #d3d2cf;
    --ak-muted: #aeb3bd;
    --ak-muted-strong: #858c98;
    --ak-brand: #ffb45d;
    --ak-brand-strong: #ff7548;
    --ak-brand-soft: #ffd89b;
    --ak-positive: #66d9b7;
    --ak-info: #79b8ff;
    --ak-future: #a995ff;
    --ak-warning: #f2c96d;
    --ak-danger: #ff7f85;
    --ak-font-sans: "Segoe UI Variable", "Aptos", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --ak-font-mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --ak-container: 100rem;
    --ak-gutter: clamp(1.25rem, 3vw, 4rem);
    --ak-radius-sm: 0.25rem;
    --ak-radius-md: 0.375rem;
    --ak-radius-lg: 0.5rem;
    --ak-radius-xl: 0.625rem;
    --ak-surface-gap: 1rem;
    --ak-button-padding: 10px;
    --ak-button-min-height: 42px;
    --ak-page-entry-gap: 1.4rem;
    --ak-header-category-gap: 0.325rem;
    --ak-breadcrumb-entry-gap: calc(2 * var(--ak-header-category-gap));
    --ak-shadow: 0 1.5rem 4rem rgb(0 0 0 / 24%);
    --ak-shadow-high: 0 2.5rem 8rem rgb(0 0 0 / 42%);
    font-family: var(--ak-font-sans);
    font-size: 16px;
    color: var(--ak-text);
    background: var(--ak-canvas);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-width: 0;
    min-height: 100%;
    overflow-x: clip;
    background: var(--ak-canvas);
    scroll-behavior: auto;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ak-text);
    background:
        radial-gradient(circle at 18% -8%, rgb(255 180 93 / 9%), transparent 28rem),
        radial-gradient(circle at 90% 12%, rgb(109 82 255 / 8%), transparent 30rem),
        var(--ak-canvas);
    font-family: var(--ak-font-sans);
    font-size: 1rem;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}

small {
    font-size: 0.75rem;
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

button,
select,
summary {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
}

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

img,
svg {
    display: block;
    max-width: 100%;
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

h1,
h2,
h3,
p {
    margin-block-start: 0;
}

h1,
h2,
h3 {
    text-wrap: balance;
}

h1 {
    margin-bottom: 0;
    font-size: clamp(3rem, 5.2vw, 6.8rem);
    font-weight: 720;
    letter-spacing: -0.065em;
    line-height: 0.95;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 3.2vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    letter-spacing: -0.025em;
    line-height: 1.22;
}

::selection {
    color: var(--ak-canvas);
    background: var(--ak-brand);
}

:focus-visible {
    outline: 3px solid var(--ak-brand);
    outline-offset: 3px;
}

h1[tabindex="-1"]:focus {
    outline: none;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 5000;
    padding: 0.7rem 1rem;
    border-radius: var(--ak-radius-sm);
    color: var(--ak-canvas);
    background: var(--ak-brand);
    font-weight: 750;
    transform: translateY(-180%);
    transition: transform 140ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.layout-container {
    width: min(calc(100% - (2 * var(--ak-gutter))), var(--ak-container));
    margin-inline: auto;
}

.site-shell {
    display: grid;
    grid-template-rows: auto minmax(40rem, 1fr) auto;
    min-height: 100vh;
}

.site-main {
    min-width: 0;
}

#categories,
#platforms,
#future-ecosystems {
    scroll-margin-top: 8.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgb(255 255 255 / 8%);
    background: rgb(9 11 15 / 88%);
    backdrop-filter: blur(1.4rem) saturate(130%);
}

.site-header__inner {
    display: grid;
    grid-template-columns: minmax(15rem, 1fr) minmax(22rem, 48rem) minmax(max-content, 1fr);
    align-items: center;
    gap: clamp(1rem, 1.8vw, 2.25rem);
    min-height: 4.75rem;
}

.site-header__inner > .brand {
    justify-self: start;
}

.site-header__inner > .header-search {
    width: 100%;
    justify-self: center;
}

.site-header__inner > .header-actions {
    justify-self: end;
}

.brand {
    border-radius: var(--ak-radius-sm);
    text-decoration: none;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-mark {
    width: 2.35rem;
    height: 2.35rem;
    flex: 0 0 auto;
    stroke: none;
    filter: drop-shadow(0 0.6rem 1.3rem rgb(255 117 72 / 18%));
}

.brand-wordmark {
    display: grid;
    line-height: 1;
}

.brand-wordmark strong {
    font-size: 1.35rem;
    font-weight: 780;
    letter-spacing: -0.05em;
}

.brand-wordmark small {
    margin-top: 0.3rem;
    color: var(--ak-muted);
    font-size: 0.75rem;
    font-weight: 620;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.desktop-navigation {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.site-header__categories {
    width: min(calc(100% - (2 * var(--ak-gutter))), 48rem);
    min-height: 0;
    justify-content: center;
    padding-bottom: var(--ak-header-category-gap);
}

.desktop-navigation a {
    padding: 0.65rem 0.72rem;
    border-radius: var(--ak-radius-sm);
    color: var(--ak-text-soft);
    font-size: 0.875rem;
    font-weight: 650;
    text-decoration: none;
    transition: color 140ms ease, background-color 140ms ease;
}

.desktop-navigation a:hover,
.desktop-navigation a.active,
.desktop-navigation a.is-active {
    color: var(--ak-text);
    background: rgb(255 255 255 / 6%);
}

.desktop-navigation .future-link {
    color: #c7bbff;
}

.site-header__categories a {
    position: relative;
    padding-block: var(--ak-header-category-gap);
}

.site-header__categories a::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 50%;
    height: 100%;
    min-height: 42px;
    transform: translateY(-50%);
}

@media (min-width: 64.001rem) {
    .site-header__inner {
        min-height: 3.75rem;
    }
}

.header-search,
.catalog-search {
    display: flex;
    align-items: center;
    min-width: 0;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: rgb(255 255 255 / 3%);
    transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.header-search:focus-within,
.catalog-search:focus-within {
    border-color: rgb(255 180 93 / 70%);
    background: var(--ak-surface);
    box-shadow: 0 0 0 4px rgb(255 180 93 / 9%);
}

.header-search svg,
.catalog-search svg {
    width: 1.15rem;
    height: 1.15rem;
    margin-left: 0.85rem;
    flex: 0 0 auto;
    color: var(--ak-muted);
}

.header-search input,
.catalog-search input {
    width: 100%;
    min-width: 0;
    height: 2.75rem;
    padding: 0 0.75rem;
    border: 0;
    outline: 0;
    color: var(--ak-text);
    background: transparent;
    font-size: 0.875rem;
}

.header-search input::placeholder,
.catalog-search input::placeholder,
.compact-search input::placeholder {
    color: #777e89;
}

.header-search kbd {
    margin-right: 0.55rem;
    padding: 0.25rem 0.4rem;
    border: 1px solid var(--ak-border);
    border-bottom-color: var(--ak-border-strong);
    border-radius: 0.35rem;
    color: var(--ak-muted);
    background: var(--ak-canvas-soft);
    font-family: var(--ak-font-sans);
    font-size: 0.75rem;
    white-space: nowrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--ak-text-soft);
    background: transparent;
    font-size: 0.8125rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.icon-action:not(:disabled):hover,
.icon-action.is-active {
    color: var(--ak-text);
    background: rgb(255 255 255 / 6%);
}

.icon-action svg {
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 auto;
}

.icon-action:disabled {
    opacity: .65;
    cursor: default;
}

.cart-count {
    position: absolute;
    top: -.125rem;
    right: -.125rem;
    display: grid;
    width: max-content;
    min-width: 1.5rem;
    aspect-ratio: 1;
    flex: 0 0 auto;
    padding: 0.25rem;
    place-items: center;
    border-radius: 50%;
    color: var(--ak-canvas);
    background: var(--ak-brand);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
}

.cart-count[hidden] {
    display: none;
}

.account-action {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--ak-border-strong);
    border-radius: 50%;
    color: var(--ak-text-soft);
    background:
        radial-gradient(circle at 35% 30%, rgb(255 216 155 / 16%), transparent 46%),
        var(--ak-surface-raised);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 3%);
    text-decoration: none;
    transition: border-color 140ms ease, color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.account-action svg {
    width: 1.35rem;
    height: 1.35rem;
}

.account-action__initials {
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.02em;
}

.account-action:hover,
.account-action.is-active {
    border-color: var(--ak-brand);
    color: var(--ak-text);
    background-color: rgb(255 180 93 / 9%);
    box-shadow:
        0 0 0 3px rgb(255 180 93 / 16%),
        0 0.7rem 1.6rem rgb(255 117 72 / 14%);
}

.account-action:focus-visible {
    border-color: var(--ak-brand-soft);
    outline: 0;
    box-shadow:
        0 0 0 4px rgb(255 180 93 / 24%),
        0 0.7rem 1.6rem rgb(255 117 72 / 16%);
}

.account-menu {
    position: relative;
    flex: 0 0 auto;
}

.account-menu > summary {
    cursor: pointer;
    list-style: none;
}

.account-menu > summary::-webkit-details-marker {
    display: none;
}

.account-menu[open] > .account-action {
    position: relative;
    z-index: 42;
    border-color: var(--ak-brand);
    color: var(--ak-text);
    background-color: rgb(255 180 93 / 9%);
    box-shadow:
        0 0 0 3px rgb(255 180 93 / 16%),
        0 0.7rem 1.6rem rgb(255 117 72 / 14%);
}

.site-header:has(.account-menu[open]) {
    /* A filtered ancestor would contain the fixed viewport backdrop. */
    backdrop-filter: none;
}

.account-menu__backdrop {
    display: none;
}

.asseteka-enhanced .account-menu[open] .account-menu__backdrop {
    position: fixed;
    z-index: 40;
    inset: 0;
    display: block;
    background: rgb(0 0 0 / 45%);
}

.account-menu__panel {
    position: absolute;
    z-index: 41;
    top: calc(100% + 0.65rem);
    right: 0;
    display: grid;
    width: min(21rem, calc(100vw - 2rem));
    max-height: calc(100dvh - var(--account-menu-top, 5rem) - 1rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
    box-shadow: var(--ak-shadow-high);
}

.account-menu__identity {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--ak-border);
}

.account-menu__avatar {
    display: grid;
    width: 3.25rem;
    height: 3.25rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--ak-border-strong);
    border-radius: 50%;
    background: var(--ak-surface-raised);
    color: var(--ak-brand-soft);
    font-size: 1rem;
    font-weight: 650;
}

.account-menu__identity-text {
    display: grid;
    min-width: 0;
    gap: 0.25rem;
    overflow-wrap: anywhere;
}

.account-menu__identity strong {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 650;
}

.account-menu__identity-text > span {
    color: var(--ak-muted);
    font-size: 0.875rem;
    line-height: 1.4;
}

.account-menu__group {
    padding: 0.75rem;
}

.account-menu__group + .account-menu__group,
.account-menu__panel > form {
    border-top: 1px solid var(--ak-border);
}

.account-menu__group > a,
.account-menu__sign-out {
    display: flex;
    width: 100%;
    min-height: 3rem;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.5rem;
    border: 0;
    border-radius: var(--ak-radius-sm);
    color: var(--ak-text);
    background: transparent;
    font: inherit;
    font-size: 1rem;
    line-height: 1.4;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.account-menu__group svg {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    color: var(--ak-muted);
}

.account-menu__group > a:hover,
.account-menu__group > a.is-active,
.account-menu__sign-out:hover {
    color: var(--ak-text);
    background: rgb(255 255 255 / 6%);
}

.account-menu__panel form {
    margin: 0;
}

.account-menu__group > a:focus-visible,
.account-menu__sign-out:focus-visible {
    outline: 2px solid var(--ak-brand);
    outline-offset: -2px;
}

@media (max-width: 47.99rem) {
    .account-menu__panel {
        position: fixed;
        top: var(--account-menu-top, 5rem);
        right: 1rem;
        left: 1rem;
        width: auto;
    }
}

.mobile-navigation {
    position: relative;
    display: none;
}

.mobile-navigation summary {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid var(--ak-border);
    border-radius: 0.8rem;
    background: var(--ak-surface);
    list-style: none;
}

.mobile-navigation summary::-webkit-details-marker {
    display: none;
}

.mobile-navigation summary svg {
    width: 1.35rem;
    height: 1.35rem;
}

.mobile-navigation__panel {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    width: min(21rem, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-lg);
    background: rgb(17 21 27 / 98%);
    box-shadow: var(--ak-shadow-high);
}

.mobile-navigation__panel nav {
    display: grid;
}

.mobile-navigation__panel nav a {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0.6rem;
    border-radius: 0.6rem;
    text-decoration: none;
}

.mobile-navigation__panel nav a:hover,
.mobile-navigation__panel nav a.is-active {
    color: var(--ak-text);
    background: rgb(255 255 255 / 6%);
}

.site-footer {
    margin-top: 7rem;
    border-top: 1px solid var(--ak-border);
    background: #080a0d;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(18rem, 1.8fr) repeat(3, minmax(9rem, 1fr));
    gap: clamp(2rem, 5vw, 6rem);
    padding-block: 4rem 3.25rem;
}

.site-footer__brand > a {
    display: inline-block;
    text-decoration: none;
}

.site-footer__brand p {
    max-width: 31rem;
    margin: 1.2rem 0 0;
    color: var(--ak-muted);
}

.site-footer__grid > div:not(.site-footer__brand) {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
}

.site-footer__grid h2 {
    margin-bottom: 0.45rem;
    color: var(--ak-text);
    font-size: 0.8125rem;
    font-weight: 760;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.site-footer__grid > div:not(.site-footer__brand) a {
    color: var(--ak-muted);
    font-size: 0.875rem;
    text-decoration: none;
}

.site-footer__grid > div:not(.site-footer__brand) a:hover,
.site-footer__grid > div:not(.site-footer__brand) a.is-active {
    color: var(--ak-brand-soft);
}

.site-footer__legal {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.35rem 1.75rem;
    border-top: 1px solid rgb(255 255 255 / 6%);
    color: var(--ak-muted-strong);
    font-size: 0.75rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    flex: 0 1 auto;
    align-self: flex-start;
    justify-self: start;
    width: fit-content;
    min-width: 0;
    max-width: 100%;
    min-height: var(--ak-button-min-height);
    padding: var(--ak-button-padding);
    border: 1px solid transparent;
    border-radius: var(--ak-radius-md);
    font-size: 0.875rem;
    font-weight: 740;
    line-height: 1.5;
    text-decoration: none;
    transition: transform 140ms ease, color 140ms ease, border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.button:hover:not(:disabled) {
    transform: translateY(-1px);
}

.button--primary {
    color: #241305;
    background: linear-gradient(135deg, var(--ak-brand), #ff9d55 58%, var(--ak-brand-strong));
    box-shadow: 0 0.8rem 2.5rem rgb(255 117 72 / 16%);
}

.button--primary:hover:not(:disabled) {
    box-shadow: 0 1rem 3rem rgb(255 117 72 / 26%);
}

.button--primary:disabled {
    color: #716658;
    background: #393631;
    box-shadow: none;
}

.button--secondary {
    border-color: var(--ak-border-strong);
    color: var(--ak-text);
    background: rgb(255 255 255 / 4%);
}

.button--secondary:hover {
    border-color: #565f6d;
    background: rgb(255 255 255 / 7%);
}

.button--danger {
    border-color: color-mix(in srgb, #ff6b6b 52%, var(--ak-border));
    color: #ffe8e8;
    background: color-mix(in srgb, #a92f3c 38%, var(--ak-surface-high));
    box-shadow: 0 0.8rem 2.5rem rgb(169 47 60 / 14%);
}

.button--danger:hover:not(:disabled) {
    border-color: #ff8787;
    background: color-mix(in srgb, #c53b48 48%, var(--ak-surface-high));
}

.button--ghost {
    color: var(--ak-text-soft);
    background: transparent;
}

.button--ghost:hover {
    background: rgb(255 255 255 / 6%);
}

.button--full {
    width: fit-content;
}

.text-link {
    color: var(--ak-brand-soft);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    color: var(--ak-brand);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
    color: var(--ak-brand-soft);
    font-size: 0.75rem;
    font-weight: 780;
    letter-spacing: 0.105em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--ak-brand);
    box-shadow: 0 0 0 0.35rem rgb(255 180 93 / 10%);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 1.65rem;
    padding: 0.25rem 0.52rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 760;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.status-pill--quiet {
    border-color: var(--ak-border);
    color: var(--ak-text-soft);
    background: rgb(255 255 255 / 4%);
}

.status-pill--accent {
    border-color: rgb(255 180 93 / 28%);
    color: var(--ak-brand-soft);
    background: rgb(255 180 93 / 10%);
}

.status-pill--positive {
    border-color: rgb(102 217 183 / 28%);
    color: #9aefd5;
    background: rgb(102 217 183 / 9%);
}

.status-pill--warning {
    border-color: rgb(242 201 109 / 28%);
    color: #f6d98f;
    background: rgb(242 201 109 / 9%);
}

.status-pill--info {
    border-color: rgb(121 184 255 / 28%);
    color: #a8d0ff;
    background: rgb(121 184 255 / 9%);
}

.status-pill--future {
    border-color: rgb(169 149 255 / 28%);
    color: #cfc3ff;
    background: rgb(169 149 255 / 9%);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.2rem;
}

.section-heading > div:first-child {
    max-width: 52rem;
}

.section-heading h2 {
    max-width: 18ch;
}

.section-heading p:not(.eyebrow) {
    max-width: 52rem;
    margin: 1rem 0 0;
    color: var(--ak-muted);
    font-size: 1.0625rem;
}

.content-section {
    padding-top: clamp(5rem, 9vw, 9rem);
}

.product-artwork {
    position: relative;
    isolation: isolate;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: var(--ak-radius-lg);
    background: #19212a;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 3%);
}

.product-artwork::before,
.product-artwork::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    content: "";
    filter: blur(0.2rem);
}

.product-artwork::before {
    top: -20%;
    right: -8%;
    width: 62%;
    aspect-ratio: 1;
    background: rgb(255 255 255 / 10%);
}

.product-artwork::after {
    bottom: -40%;
    left: -10%;
    width: 75%;
    aspect-ratio: 1;
    background: rgb(0 0 0 / 20%);
}

.product-artwork--compact {
    aspect-ratio: 16 / 10;
    border: 0;
    border-radius: 0;
}

.product-artwork--forest {
    background:
        radial-gradient(circle at 72% 28%, rgb(255 207 112 / 78%), transparent 0.5rem, rgb(255 207 112 / 15%) 0.7rem, transparent 6rem),
        linear-gradient(142deg, #172b28 0%, #21493a 43%, #6b6b35 100%);
}

.product-artwork--dialogue {
    background: linear-gradient(142deg, #171b3f, #393381 54%, #a34b77);
}

.product-artwork--mosswood {
    background: linear-gradient(142deg, #12261f, #285a45 55%, #4a8d73);
}

.product-artwork--motion {
    background: linear-gradient(142deg, #3d182f, #93445f 50%, #d88455);
}

.product-artwork--signals {
    background: linear-gradient(142deg, #28191c, #7d342f 48%, #dd814b);
}

.product-artwork--audio {
    background: linear-gradient(142deg, #151d3a, #344e88 50%, #6d6aae);
}

.artwork-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.17;
    background-image:
        linear-gradient(rgb(255 255 255 / 24%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 24%) 1px, transparent 1px);
    background-size: 2.4rem 2.4rem;
    mask-image: linear-gradient(to bottom right, #000, transparent 72%);
}

.artwork-orbit {
    position: absolute;
    z-index: -1;
    border: 1px solid rgb(255 255 255 / 24%);
    border-radius: 50%;
}

.artwork-orbit--one {
    top: 10%;
    right: 8%;
    width: 48%;
    aspect-ratio: 1;
}

.artwork-orbit--two {
    top: 22%;
    right: 20%;
    width: 25%;
    aspect-ratio: 1;
}

.artwork-shape {
    position: absolute;
    z-index: -1;
    display: block;
    border: 1px solid rgb(255 255 255 / 16%);
    background: rgb(255 255 255 / 10%);
    box-shadow: 0 1rem 3rem rgb(0 0 0 / 14%);
    transform: rotate(28deg);
}

.artwork-shape--one {
    top: 21%;
    right: 24%;
    width: 23%;
    aspect-ratio: 1;
    border-radius: 32% 68% 50% 50%;
}

.artwork-shape--two {
    top: 38%;
    right: 8%;
    width: 18%;
    aspect-ratio: 1;
    border-radius: 50%;
}

.product-artwork--dialogue .artwork-shape--one,
.product-artwork--signals .artwork-shape--one {
    border-radius: 1.2rem;
}

.product-artwork--audio .artwork-shape--one {
    width: 8%;
    height: 42%;
    border-radius: 999px;
    box-shadow: 4rem 1rem 0 rgb(255 255 255 / 9%), 8rem -2rem 0 rgb(255 255 255 / 13%);
}

.artwork-copy {
    position: absolute;
    right: clamp(1rem, 4vw, 2.2rem);
    bottom: clamp(1rem, 4vw, 2.2rem);
    left: clamp(1rem, 4vw, 2.2rem);
    display: grid;
    max-width: 75%;
    text-shadow: 0 0.3rem 1rem rgb(0 0 0 / 34%);
}

.artwork-copy strong {
    max-width: 13ch;
    color: #fffaf1;
    font-size: clamp(1.6rem, 4vw, 3.8rem);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.artwork-kicker,
.artwork-meta {
    width: fit-content;
    color: rgb(255 255 255 / 78%);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.artwork-kicker {
    margin-bottom: 0.6rem;
}

.artwork-meta {
    margin-top: 0.8rem;
    text-transform: none;
}

.product-artwork--compact .artwork-copy {
    right: 1.15rem;
    bottom: 1.05rem;
    left: 1.15rem;
}

.product-artwork--compact .artwork-copy strong {
    font-size: clamp(1.2rem, 2.2vw, 1.75rem);
}

.product-artwork--compact .artwork-kicker,
.product-artwork--compact .artwork-meta {
    font-size: 0.75rem;
}

.product-grid {
    display: grid;
    gap: 1.25rem;
}

.product-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-card {
    display: flex;
    min-width: 0;
    container-type: inline-size;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-lg);
    background: linear-gradient(180deg, rgb(255 255 255 / 3%), transparent 7rem), var(--ak-surface);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
    border-color: #424b59;
    box-shadow: var(--ak-shadow);
    transform: translateY(-0.28rem);
}

.product-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    flex: none;
    overflow: hidden;
    border-bottom: 1px solid var(--ak-border);
}

.product-card__media .product-artwork {
    transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card .product-artwork--compact .artwork-copy strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: clamp(1.2rem, 9cqi, 1.75rem);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card:hover .product-card__media .product-artwork {
    transform: scale(1.02);
}

.product-card__body {
    display: flex;
    padding: 0.875rem 1rem 1rem;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.product-card__meta {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.65rem;
    color: var(--ak-muted);
    font-size: 0.8125rem;
}

.product-card__category {
    min-width: 0;
    padding: 0.125rem 0.375rem;
    overflow: hidden;
    border-radius: var(--ak-radius-sm);
    background: rgb(255 255 255 / 5%);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card h3 {
    margin: 0.5rem 0 0;
    overflow: hidden;
    font-size: 1.0625rem;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card h3 a {
    color: var(--ak-text);
    text-decoration: none;
}

.product-card h3 a:hover {
    color: var(--ak-brand-soft);
}

.product-card__publisher {
    margin: 0.25rem 0 0;
    overflow: hidden;
    color: var(--ak-muted);
    font-size: 0.8125rem;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card__rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.product-card__stars {
    position: relative;
    color: var(--ak-muted);
    font-size: 1rem;
    letter-spacing: 0.0625rem;
    white-space: nowrap;
}

.product-card__stars > span:last-child {
    position: absolute;
    inset: 0 auto 0 0;
    overflow: hidden;
    color: var(--ak-brand-soft);
}

.product-card__rating-count {
    color: var(--ak-muted);
}

.product-card__summary {
    display: -webkit-box;
    margin: 0.375rem 0 0;
    overflow: hidden;
    color: var(--ak-text-soft);
    font-size: 0.875rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card__footer {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-end;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.product-card .product-price {
    font-size: 1rem;
}

.product-price {
    display: inline-flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.4rem;
    row-gap: 0;
    font-size: 1.15rem;
    font-weight: 780;
    letter-spacing: -0.03em;
}

.product-price small {
    flex-basis: 100%;
    color: var(--ak-muted-strong);
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.product-badge {
    color: var(--ak-brand-soft);
    font-size: 0.75rem;
    font-weight: 720;
}

.product-availability {
    color: var(--ak-positive);
    font-size: 0.75rem;
    font-weight: 720;
    white-space: nowrap;
}

.product-availability--unavailable {
    color: var(--ak-muted-strong);
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(30rem, 0.95fr);
    align-items: center;
    gap: clamp(3rem, 6vw, 7.5rem);
    min-height: min(50rem, calc(100vh - 7rem));
    padding-block: clamp(4rem, 8vw, 8rem);
}

.home-hero__copy {
    position: relative;
    z-index: 2;
}

.home-hero h1 {
    max-width: 10ch;
}

.home-hero h1 em {
    color: var(--ak-brand);
    font-style: normal;
    background: linear-gradient(100deg, var(--ak-brand-soft), var(--ak-brand), var(--ak-brand-strong));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lede {
    max-width: 45rem;
    margin: 1.7rem 0 0;
    color: var(--ak-muted);
    font-size: clamp(1.05rem, 1.25vw, 1.25rem);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 3.2rem 0 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--ak-border);
    list-style: none;
}

.hero-proof li {
    display: grid;
    gap: 0.2rem;
}

.hero-proof strong {
    font-size: 0.8125rem;
}

.hero-proof span {
    color: var(--ak-muted-strong);
    font-size: 0.75rem;
    line-height: 1.4;
}

.home-hero__visual {
    position: relative;
    isolation: isolate;
    padding: clamp(1rem, 3vw, 2.4rem);
}

.home-hero__visual .product-artwork {
    box-shadow: var(--ak-shadow-high);
    transform: rotate(1.5deg);
}

.release-preview {
    position: relative;
    min-height: 32rem;
    overflow: hidden;
    padding: clamp(1.25rem, 2.4vw, 2rem);
    border: 1px solid rgb(255 255 255 / 11%);
    border-radius: var(--ak-radius-xl);
    background:
        radial-gradient(circle at 50% 46%, rgb(255 180 93 / 13%), transparent 31%),
        linear-gradient(145deg, rgb(30 35 45 / 96%), rgb(14 17 23 / 98%));
    box-shadow: var(--ak-shadow-high), inset 0 0 0 1px rgb(255 255 255 / 2%);
}

.release-preview__header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.release-preview__header > div {
    display: grid;
    gap: 0.15rem;
}

.release-preview__header > div span {
    color: var(--ak-muted);
    font-size: 0.75rem;
    font-weight: 720;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.release-preview__header strong {
    max-width: 18rem;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.release-preview__status {
    min-height: 2rem;
    padding: 0.3rem 0.72rem;
    border: 1px solid rgb(102 217 183 / 30%);
    border-radius: 999px;
    color: #9af0d4;
    background: rgb(102 217 183 / 9%);
    font-size: 0.75rem;
    font-weight: 760;
}

.release-preview__visual {
    position: relative;
    min-height: 20rem;
}

.release-preview__ring,
.release-preview__mark {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.release-preview__ring {
    border: 1px solid rgb(255 216 155 / 18%);
}

.release-preview__ring--outer {
    width: min(88%, 21rem);
    aspect-ratio: 1;
}

.release-preview__ring--inner {
    width: min(58%, 14rem);
    aspect-ratio: 1;
    border-color: rgb(102 217 183 / 20%);
}

.release-preview__mark {
    display: grid;
    width: clamp(5.5rem, 10vw, 7.5rem);
    aspect-ratio: 1;
    place-items: center;
    color: #23160a;
    background: linear-gradient(145deg, var(--ak-brand-soft), var(--ak-brand-strong));
    box-shadow: 0 0 4rem rgb(255 180 93 / 28%);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 850;
}

.release-preview__node {
    position: absolute;
    z-index: 1;
    min-height: 2rem;
    padding: 0.32rem 0.7rem;
    border: 1px solid var(--ak-border-strong);
    border-radius: 999px;
    color: var(--ak-text-soft);
    background: rgb(13 16 21 / 92%);
    font-size: 0.75rem;
    font-weight: 720;
}

.release-preview__node--source {
    top: 25%;
    left: 4%;
}

.release-preview__node--runtime {
    top: 16%;
    right: 5%;
}

.release-preview__node--release {
    right: 9%;
    bottom: 15%;
}

.release-preview__facts {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--ak-border);
}

.release-preview__facts div {
    display: grid;
    gap: 0.15rem;
}

.release-preview__facts dt {
    color: var(--ak-muted-strong);
    font-size: 0.75rem;
}

.release-preview__facts dd {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 720;
}

.hero-aura {
    position: absolute;
    inset: 10% 5%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(255 180 93 / 28%), rgb(81 116 90 / 18%) 38%, transparent 68%);
    filter: blur(2.5rem);
}

.floating-note {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 12rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgb(255 255 255 / 13%);
    border-radius: 0.85rem;
    background: rgb(14 17 21 / 88%);
    box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 32%);
    backdrop-filter: blur(1rem);
}

.floating-note--top {
    top: 4%;
    right: -1%;
}

.floating-note--bottom {
    bottom: 3%;
    left: -2%;
}

.floating-note__icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 0.55rem;
    color: var(--ak-brand-soft);
    background: rgb(255 180 93 / 12%);
    font-size: 1.1rem;
}

.floating-note > span:last-child {
    display: grid;
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.floating-note strong {
    color: var(--ak-text);
    font-size: 0.75rem;
}

.compatibility-stack {
    display: flex;
    padding-left: 0.45rem;
}

.compatibility-stack i {
    display: grid;
    width: 1.7rem;
    height: 1.7rem;
    margin-left: -0.45rem;
    place-items: center;
    border: 2px solid #11151b;
    border-radius: 50%;
    color: #0d1613;
    background: var(--ak-positive);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 850;
}

.compatibility-stack i:nth-child(2) {
    color: #101627;
    background: var(--ak-info);
}

.compatibility-stack i:nth-child(3) {
    color: #211837;
    background: var(--ak-future);
}

.catalog-empty-state {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 3rem);
    min-height: 14rem;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    overflow: hidden;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-lg);
    background:
        radial-gradient(circle at 8% 50%, rgb(255 180 93 / 12%), transparent 18rem),
        var(--ak-surface);
}

.catalog-empty-state__index {
    color: rgb(255 216 155 / 28%);
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.08em;
    line-height: 0.8;
}

.catalog-empty-state .eyebrow {
    margin-bottom: 0.6rem;
}

.catalog-empty-state h3 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.catalog-empty-state p:not(.eyebrow) {
    max-width: 48rem;
    margin: 0.8rem 0 0;
    color: var(--ak-muted);
}

.platform-rail {
    border-block: 1px solid var(--ak-border);
    background: rgb(255 255 255 / 2%);
}

.platform-rail__inner {
    display: grid;
    grid-template-columns: minmax(13rem, 1.5fr) repeat(5, minmax(7rem, 1fr));
    align-items: center;
    min-height: 6.2rem;
}

.platform-rail__inner > p {
    margin: 0;
    color: var(--ak-muted);
    font-size: 0.8125rem;
    font-weight: 680;
}

.platform-rail__inner > a,
.platform-rail__inner > span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.5rem;
    color: var(--ak-text-soft);
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
}

.platform-rail__inner > a:hover {
    color: var(--ak-brand-soft);
}

.platform-glyph {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    border: 1px solid var(--ak-border-strong);
    border-radius: 0.45rem;
    color: var(--ak-text);
    background: var(--ak-surface-raised);
    font-family: var(--ak-font-mono);
    font-size: 0.75rem;
}

.platform-future {
    color: #9b93b6 !important;
}

.platform-future small {
    padding: 0.16rem 0.35rem;
    border-radius: 999px;
    color: #c8bdff;
    background: rgb(169 149 255 / 10%);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.category-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.category-panel {
    position: relative;
    display: flex;
    min-height: 18rem;
    overflow: hidden;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-lg);
    color: var(--ak-text);
    background: var(--ak-surface);
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease;
}

.category-panel--wide {
    grid-column: span 2;
}

.category-panel:hover {
    border-color: #4a5360;
    transform: translateY(-0.2rem);
}

.category-panel__index {
    position: absolute;
    top: 1.1rem;
    left: 1.2rem;
    z-index: 2;
    color: var(--ak-muted);
    font-family: var(--ak-font-mono);
    font-size: 0.75rem;
}

.category-panel__copy {
    position: relative;
    z-index: 2;
    align-self: flex-end;
    display: grid;
    gap: 0.25rem;
    max-width: 80%;
    padding: 1.3rem;
}

.category-panel__copy strong {
    font-size: 1.5rem;
    letter-spacing: -0.04em;
}

.category-panel__copy small {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.category-panel__arrow {
    position: absolute;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 3;
    display: grid;
    width: 2.2rem;
    height: 2.2rem;
    place-items: center;
    border: 1px solid var(--ak-border-strong);
    border-radius: 50%;
}

.category-panel__visual {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgb(255 255 255 / 5%));
}

.category-panel__visual::before,
.category-panel__visual::after {
    position: absolute;
    content: "";
}

.category-panel__visual--animation {
    background: radial-gradient(circle at 72% 45%, rgb(255 180 93 / 25%), transparent 12rem), linear-gradient(145deg, #17211f, #222b25);
}

.category-panel__visual--animation::before {
    top: 15%;
    right: 15%;
    width: 42%;
    aspect-ratio: 1;
    border: 1px solid rgb(255 180 93 / 38%);
    border-radius: 50%;
    box-shadow: -3rem 2rem 0 -1rem rgb(255 255 255 / 5%);
}

.category-panel__visual--animation::after {
    top: 41%;
    right: 29%;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--ak-brand);
    box-shadow: 3rem -3rem 0 var(--ak-brand-soft), -4rem 2rem 0 rgb(255 255 255 / 40%);
}

.category-panel__visual--tools {
    background: linear-gradient(145deg, #171a31, #272449);
}

.category-panel__visual--tools::before {
    top: 19%;
    right: 18%;
    width: 43%;
    height: 45%;
    border: 1px solid rgb(169 149 255 / 35%);
    border-radius: 1rem;
    box-shadow: -1.3rem 1.3rem 0 rgb(169 149 255 / 8%);
}

.category-panel__visual--tools::after {
    top: 28%;
    right: 28%;
    width: 23%;
    height: 2px;
    background: var(--ak-future);
    box-shadow: 0 1.2rem 0 rgb(169 149 255 / 60%), 0 2.4rem 0 rgb(169 149 255 / 30%);
}

.category-panel__visual--worlds {
    background: linear-gradient(145deg, #14231e, #24483a);
}

.category-panel__visual--worlds::before {
    right: 8%;
    bottom: 24%;
    width: 75%;
    height: 45%;
    background: linear-gradient(145deg, transparent 48%, rgb(102 217 183 / 24%) 49% 58%, transparent 59%), linear-gradient(32deg, transparent 38%, rgb(255 255 255 / 9%) 39% 52%, transparent 53%);
}

.category-panel__visual--signals {
    background: radial-gradient(circle at 74% 35%, rgb(255 117 72 / 25%), transparent 11rem), linear-gradient(145deg, #2a181b, #47242a);
}

.category-panel__visual--signals::before {
    top: 20%;
    right: 15%;
    width: 48%;
    height: 40%;
    opacity: 0.75;
    background: repeating-linear-gradient(90deg, transparent 0 0.7rem, rgb(255 180 93 / 55%) 0.75rem 0.9rem, transparent 0.95rem 1.6rem);
    clip-path: polygon(0 45%, 9% 45%, 14% 14%, 21% 78%, 30% 31%, 36% 59%, 43% 45%, 52% 45%, 58% 3%, 67% 88%, 76% 35%, 84% 62%, 91% 45%, 100% 45%, 100% 55%, 0 55%);
}

.future-section {
    margin-top: 0;
    overflow: hidden;
    border-block: 1px solid rgb(169 149 255 / 20%);
    background:
        radial-gradient(circle at 72% 50%, rgb(169 149 255 / 12%), transparent 24rem),
        linear-gradient(120deg, rgb(169 149 255 / 5%), transparent 45%),
        #0d0e17;
}

.future-section__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.8fr);
    align-items: center;
    gap: clamp(2.5rem, 4vw, 4rem);
    min-height: 32rem;
    padding-block: clamp(3rem, 4vw, 3.5rem);
}

.future-section h2 {
    max-width: 15ch;
}

.future-section p:not(.eyebrow) {
    max-width: 45rem;
    margin: 1.25rem 0 1.8rem;
    color: var(--ak-muted);
    font-size: 1.05rem;
}

.future-platform-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 44rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.future-platform-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    min-height: 4.5rem;
    padding: 0.75rem;
    border: 1px solid rgb(169 149 255 / 22%);
    border-radius: var(--ak-radius-sm);
    background: rgb(169 149 255 / 6%);
}

.future-platform-list li > span:nth-child(2) {
    display: grid;
    gap: 0.12rem;
}

.future-platform-list strong {
    color: var(--ak-text);
    font-size: 0.875rem;
}

.future-platform-list small {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.future-platform-list em {
    padding: 0.25rem 0.45rem;
    border-radius: 999px;
    color: var(--ak-future);
    background: rgb(169 149 255 / 12%);
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 760;
    text-transform: uppercase;
}

.future-orbits {
    position: relative;
    width: min(100%, 28rem);
    aspect-ratio: 1;
    margin-inline: auto;
    isolation: isolate;
}

.future-orbits__core {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: grid;
    width: 5.25rem;
    height: 5.25rem;
    place-items: center;
    border: 1px solid rgb(255 219 153 / 68%);
    border-radius: 50%;
    color: #25170b;
    background: radial-gradient(circle at 35% 30%, #ffd78b 0%, var(--ak-brand) 42%, var(--ak-brand-strong) 100%);
    box-shadow:
        0 0 2.5rem rgb(255 180 93 / 28%),
        0 0 6rem rgb(255 117 72 / 22%);
    font-size: 2rem;
    font-weight: 850;
    transform: translate(-50%, -50%);
}

.future-orbits__ring {
    --orbit-size: 50%;
    --orbit-duration: 36s;
    --orbit-delay: 0s;
    --orbit-direction: normal;
    --orbit-static-angle: 0deg;
    --orbit-static-counter-angle: 0deg;

    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--orbit-size);
    aspect-ratio: 1;
    border: 1px solid rgb(169 149 255 / 27%);
    border-radius: 50%;
    animation: future-orbit-spin var(--orbit-duration) linear var(--orbit-delay) infinite var(--orbit-direction);
    pointer-events: none;
    will-change: transform;
}

.future-orbits__ring--unity {
    --orbit-size: 38%;
    --orbit-delay: 0s;
    --orbit-static-angle: 0deg;
    --orbit-static-counter-angle: 0deg;
}

.future-orbits__ring--spine {
    --orbit-size: 51%;
    --orbit-delay: -7.2s;
    --orbit-static-angle: 72deg;
    --orbit-static-counter-angle: -72deg;
}

.future-orbits__ring--blender {
    --orbit-size: 64%;
    --orbit-delay: -14.4s;
    --orbit-static-angle: 144deg;
    --orbit-static-counter-angle: -144deg;
}

.future-orbits__ring--godot {
    --orbit-size: 77%;
    --orbit-delay: -21.6s;
    --orbit-static-angle: 216deg;
    --orbit-static-counter-angle: -216deg;
}

.future-orbits__ring--warp {
    --orbit-size: 90%;
    --orbit-delay: -28.8s;
    --orbit-static-angle: 288deg;
    --orbit-static-counter-angle: -288deg;
}

.future-orbits__satellite {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.future-orbits__satellite i {
    display: grid;
    min-width: 3.5rem;
    height: 2rem;
    place-items: center;
    padding-inline: 0.6rem;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 999px;
    color: var(--ak-text-soft);
    background: #171824;
    box-shadow: 0 0.5rem 1.5rem rgb(0 0 0 / 18%);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 680;
    animation: future-orbit-counter-spin var(--orbit-duration) linear var(--orbit-delay) infinite var(--orbit-direction);
    will-change: transform;
}

.future-orbits__ring--godot i,
.future-orbits__ring--warp i {
    color: #cfc3ff;
}

@keyframes future-orbit-spin {
    from {
        transform: translate(-50%, -50%) rotate(0turn);
    }

    to {
        transform: translate(-50%, -50%) rotate(1turn);
    }
}

@keyframes future-orbit-counter-spin {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(-1turn);
    }
}

.confidence-panel {
    padding: clamp(2rem, 4vw, 4rem);
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-xl);
    background: linear-gradient(135deg, rgb(255 180 93 / 5%), transparent 35%), var(--ak-surface);
}

.confidence-panel > div:first-child {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2.2rem;
    border-bottom: 1px solid var(--ak-border);
}

.confidence-panel h2 {
    max-width: 12ch;
}

.confidence-panel ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin: 2.2rem 0 0;
    padding: 0;
    list-style: none;
}

.confidence-panel li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 0.8rem;
}

.confidence-panel li > span {
    grid-row: span 2;
    color: var(--ak-brand);
    font-family: var(--ak-font-mono);
    font-size: 0.75rem;
}

.confidence-panel li strong {
    font-size: 0.95rem;
}

.confidence-panel li small {
    color: var(--ak-muted);
    font-size: 0.75rem;
    line-height: 1.5;
}

.storefront-home {
    padding-block: clamp(2rem, 4vw, 4rem) 1rem;
}

.storefront-home__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(24rem, 0.8fr);
    align-items: end;
    gap: clamp(2rem, 5vw, 6rem);
    padding-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.storefront-home__intro h1 {
    max-width: none;
    font-size: clamp(2.35rem, 3.2vw, 3.4rem);
    line-height: 1;
}

.storefront-home__intro > p {
    max-width: 43rem;
    margin: 0;
    color: var(--ak-muted);
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.65;
}

.quick-categories {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.7rem;
}

.quick-categories a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 4rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    color: var(--ak-text-soft);
    background:
        linear-gradient(145deg, rgb(255 255 255 / 4%), transparent 70%),
        var(--ak-surface);
    font-size: 0.9375rem;
    font-weight: 720;
    text-decoration: none;
    transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.quick-categories a:hover {
    border-color: var(--ak-border-strong);
    color: var(--ak-text);
    background-color: var(--ak-surface-raised);
    transform: translateY(-0.12rem);
}

.quick-categories svg {
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 auto;
    color: var(--ak-brand);
}

.quick-categories__sale {
    border-color: rgb(255 180 93 / 30%) !important;
    background:
        linear-gradient(145deg, rgb(255 180 93 / 10%), transparent 72%),
        var(--ak-surface) !important;
}

.storefront-shelf {
    padding-top: clamp(2.5rem, 3vw, 3.5rem);
}

.storefront-shelf__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.25rem;
}

.storefront-shelf__heading .eyebrow {
    margin-bottom: 0.35rem;
}

.storefront-shelf__heading h2 {
    font-size: clamp(1.65rem, 2.3vw, 2.35rem);
    letter-spacing: -0.04em;
}

.storefront-empty-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    min-height: 7.5rem;
    padding: 1.15rem 1.3rem;
    border: 1px dashed var(--ak-border-strong);
    border-radius: var(--ak-radius-lg);
    background: rgb(255 255 255 / 2%);
}

.storefront-empty-row__mark {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border: 1px solid var(--ak-border);
    border-radius: 50%;
    color: var(--ak-brand);
    background: var(--ak-surface);
    font-size: 1.25rem;
    font-weight: 780;
}

.storefront-empty-row h3 {
    font-size: 1rem;
}

.storefront-empty-row p {
    margin: 0.25rem 0 0;
    color: var(--ak-muted);
    font-size: 0.875rem;
}

.storefront-empty-row .text-link {
    white-space: nowrap;
}

.storefront-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: clamp(4rem, 7vw, 7rem);
    overflow: hidden;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-lg);
    background: var(--ak-surface);
}

.storefront-principles p {
    display: grid;
    gap: 0.25rem;
    margin: 0;
    padding: 1.3rem 1.4rem;
    border-right: 1px solid var(--ak-border);
}

.storefront-principles p:last-child {
    border-right: 0;
}

.storefront-principles strong {
    font-size: 0.875rem;
}

.storefront-principles span {
    color: var(--ak-muted);
    font-size: 0.8125rem;
}

.future-page {
    padding-block: clamp(4rem, 8vw, 8rem) 1rem;
}

.future-page__intro {
    max-width: 64rem;
}

.future-page__intro h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 6vw, 6.2rem);
}

.future-page__intro > p:last-child {
    max-width: 50rem;
    margin: 1.5rem 0 0;
    color: var(--ak-muted);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.future-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: clamp(3rem, 6vw, 6rem);
}

.future-page__grid > article {
    position: relative;
    min-height: 24rem;
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-xl);
    background:
        radial-gradient(circle at 92% 8%, rgb(169 149 255 / 14%), transparent 16rem),
        var(--ak-surface);
}

.future-page__glyph {
    display: grid;
    width: 4rem;
    height: 4rem;
    margin-bottom: 3rem;
    place-items: center;
    border: 1px solid rgb(169 149 255 / 30%);
    border-radius: 1.1rem;
    color: #d7ceff;
    background: rgb(169 149 255 / 9%);
    font-size: 1.3rem;
    font-weight: 820;
}

.future-page__grid h2,
.future-page__notes h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.future-page__grid article > p:not(.eyebrow) {
    max-width: 42rem;
    margin: 1rem 0 2rem;
    color: var(--ak-muted);
}

.future-page__grid article > strong {
    position: absolute;
    right: clamp(1.5rem, 3vw, 2.5rem);
    bottom: clamp(1.5rem, 3vw, 2.5rem);
    left: clamp(1.5rem, 3vw, 2.5rem);
    padding-top: 1rem;
    border-top: 1px solid var(--ak-border);
    color: var(--ak-future);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.future-page__notes {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.75fr) auto;
    align-items: end;
    gap: clamp(1.5rem, 4vw, 4rem);
    margin-top: 1rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-lg);
    background: var(--ak-canvas-soft);
}

.future-page__notes > p {
    margin: 0;
    color: var(--ak-muted);
}

.page-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    padding-block: clamp(4.5rem, 8vw, 8rem) 3rem;
}

.page-intro > div:first-child {
    max-width: 60rem;
}

.page-intro h1 {
    max-width: 13ch;
}

.page-intro p:not(.eyebrow) {
    max-width: 44rem;
    margin: 1.25rem 0 0;
    color: var(--ak-muted);
    font-size: 1.0625rem;
}

.page-intro--compact {
    padding-bottom: 2.5rem;
}

.page-intro--catalog {
    padding-block: clamp(2rem, 3vw, 3rem) 2rem;
}

.catalog-intro-description {
    min-block-size: 3.1em;
    line-height: 1.55;
}

.page-intro--compact h1 {
    font-size: clamp(2.8rem, 4.5vw, 5.2rem);
}

.page-intro h1 span {
    color: var(--ak-muted-strong);
    font-size: 0.35em;
    vertical-align: top;
}

.page-intro__stat {
    display: grid;
    grid-template-columns: auto minmax(8rem, 12rem);
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
}

.page-intro__stat strong {
    color: var(--ak-brand);
    font-size: 2.2rem;
    letter-spacing: -0.05em;
}

.page-intro__stat span {
    color: var(--ak-muted);
    font-size: 0.75rem;
    line-height: 1.45;
}

.catalog-shell {
    padding-bottom: 3rem;
}

.catalog-range {
    margin: 0 0 1.35rem;
    color: var(--ak-muted);
    font-size: 0.8125rem;
}

.catalog-control-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    min-height: 2.75rem;
    margin: 0 0 1rem;
}

.filter-disclosure {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding-inline: 0.9rem;
    border: 1px solid var(--ak-border);
    border-radius: 0.75rem;
    color: var(--ak-text);
    background: var(--ak-surface-raised);
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
}

.filter-disclosure-toggle {
    display: none;
}

.catalog-filter-shell {
    position: sticky;
    top: 8.75rem;
    min-width: 0;
}

.catalog-control-bar__filters,
.catalog-control-bar__ordering {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.catalog-control-bar__ordering {
    margin-left: auto;
}

.catalog-dropdown {
    position: relative;
    min-width: 0;
}

.catalog-dropdown > summary {
    list-style: none;
}

.catalog-dropdown > summary::-webkit-details-marker {
    display: none;
}

.catalog-dropdown__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--ak-border);
    border-radius: 0.65rem;
    color: var(--ak-text);
    background: var(--ak-surface);
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 680;
    line-height: 1.2;
    white-space: nowrap;
    transition:
        border-color 140ms ease,
        background-color 140ms ease;
}

.catalog-dropdown__trigger:hover {
    border-color: var(--ak-border-strong);
    background: var(--ak-surface-raised);
}

.catalog-dropdown__trigger:focus-visible {
    border-color: var(--ak-brand);
    outline: 2px solid rgb(255 180 93 / 30%);
    outline-offset: 2px;
}

.catalog-dropdown[open] > .catalog-dropdown__trigger {
    border-color: var(--ak-brand);
    background: var(--ak-surface-raised);
}

.catalog-dropdown__chevron {
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 160ms cubic-bezier(0.4, 0, 0.2, 1);
}

.catalog-dropdown[open] .catalog-dropdown__chevron {
    transform: rotate(180deg);
}

.catalog-dropdown__panel {
    position: absolute;
    z-index: 40;
    top: calc(100% + 0.3rem);
    left: 0;
    width: max-content;
    min-width: 100%;
    max-width: min(22rem, calc(100vw - 2rem));
    padding: 0.5rem;
    border: 1px solid var(--ak-border-strong);
    border-radius: 0.7rem;
    background: var(--ak-surface-raised);
    box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 38%);
}

.catalog-dropdown--align-end .catalog-dropdown__panel {
    right: 0;
    left: auto;
}

.catalog-dropdown--price .catalog-dropdown__panel {
    min-width: 13.25rem;
}

.catalog-dropdown--rating .catalog-dropdown__panel {
    min-width: 14rem;
}

.catalog-dropdown--publisher .catalog-dropdown__panel {
    width: 18rem;
}

.catalog-dropdown--release .catalog-dropdown__panel {
    min-width: 13rem;
}

.catalog-dropdown--sort .catalog-dropdown__trigger {
    min-width: 12.75rem;
}

.catalog-dropdown--sort .catalog-dropdown__panel {
    min-width: 15.5rem;
}

.catalog-dropdown--results .catalog-dropdown__trigger {
    min-width: 7.75rem;
}

.catalog-dropdown--results .catalog-dropdown__panel {
    min-width: 7.75rem;
}

.catalog-dropdown__options {
    display: grid;
    gap: 0.125rem;
}

.catalog-dropdown__option {
    min-height: 2.5rem;
    padding: 0.45rem 0.5rem;
    border-radius: 0.5rem;
    color: var(--ak-text);
    font-size: 0.875rem;
    font-weight: 560;
    line-height: 1.25;
    text-decoration: none;
}

.catalog-dropdown__option:hover,
.catalog-dropdown__option:focus-visible {
    color: var(--ak-text);
    background: rgb(255 255 255 / 7%);
}

.catalog-dropdown__option:focus-visible {
    outline: 2px solid var(--ak-brand);
    outline-offset: -2px;
}

.catalog-dropdown__option--filter {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
}

.catalog-dropdown--rating .catalog-dropdown__option--filter {
    grid-template-columns: 1.25rem 1rem minmax(0, 1fr) auto;
    gap: 0.6rem;
}

.catalog-dropdown__check {
    display: grid;
    width: 1.15rem;
    height: 1.15rem;
    place-items: center;
    border: 1px solid var(--ak-border-strong);
    border-radius: 0.3rem;
    color: var(--ak-canvas);
    background: transparent;
}

.catalog-dropdown__check svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    opacity: 0;
}

.catalog-dropdown__option.is-selected .catalog-dropdown__check {
    border-color: var(--ak-brand);
    background: var(--ak-brand);
}

.catalog-dropdown__option.is-selected .catalog-dropdown__check svg {
    opacity: 1;
}

.catalog-dropdown__star {
    color: var(--ak-muted);
    font-size: 1rem;
    line-height: 1;
}

.catalog-dropdown__option small {
    min-width: 1.75rem;
    padding: 0.2rem 0.35rem;
    border-radius: 0.35rem;
    color: var(--ak-muted);
    background: rgb(255 255 255 / 6%);
    font-size: 0.75rem;
    text-align: center;
}

.catalog-dropdown__option--choice {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.catalog-dropdown__option--choice.is-selected {
    background: rgb(255 255 255 / 8%);
    font-weight: 760;
}

.catalog-dropdown__clear {
    display: flex;
    align-items: center;
    min-height: 2.5rem;
    margin-top: 0.2rem;
    padding: 0.45rem 0.5rem;
    border-radius: 0.5rem;
    color: var(--ak-brand);
    font-size: 0.875rem;
    font-weight: 620;
    line-height: 1.25;
    text-decoration: none;
}

.catalog-dropdown__clear:hover,
.catalog-dropdown__clear:focus-visible {
    color: var(--ak-brand-strong);
    background: rgb(255 255 255 / 7%);
}

.catalog-dropdown__clear:focus-visible {
    outline: 2px solid var(--ak-brand);
    outline-offset: -2px;
}

.catalog-dropdown__search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
    min-height: 2.75rem;
    margin-bottom: 0.5rem;
    padding-inline: 0.65rem;
    border: 1px solid var(--ak-border-strong);
    border-radius: 0.55rem;
    color: var(--ak-muted);
    background: var(--ak-surface);
}

.catalog-dropdown__search:focus-within {
    border-color: var(--ak-brand);
    outline: 2px solid rgb(255 180 93 / 22%);
}

.catalog-dropdown__search svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.6;
}

.catalog-dropdown__search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--ak-text);
    background: transparent;
    font: inherit;
    font-size: 0.875rem;
}

.catalog-dropdown__search input::placeholder {
    color: var(--ak-muted);
}

.catalog-dropdown__empty {
    margin: 0;
    padding: 0.65rem 0.5rem;
    color: var(--ak-muted);
    font-size: 0.8125rem;
}

@media (prefers-reduced-motion: reduce) {
    .catalog-dropdown__chevron {
        transition: none;
    }
}

.catalog-layout {
    display: grid;
    grid-template-columns: 16.5rem minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.5rem, 3vw, 3rem);
    margin-top: 0;
}

.catalog-filters {
    position: static;
    min-width: 0;
}

.catalog-filters fieldset {
    display: grid;
    gap: 0.125rem;
    margin: 0 0 1.75rem;
    padding: 0;
    border: 0;
}

.catalog-filters fieldset:last-child {
    margin-bottom: 0;
}

.catalog-filters legend {
    width: 100%;
    margin-bottom: 0.75rem;
    color: var(--ak-text);
    font-size: 0.875rem;
    font-weight: 700;
}

.filter-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.7rem;
    min-height: 2.5rem;
    padding: 0 0.35rem;
    border-radius: 0.45rem;
    color: var(--ak-muted);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: color 120ms ease, background-color 120ms ease;
}

[data-store-enhanced-filter-option] {
    display: none;
}

.asseteka-enhanced [data-store-enhanced-filter-option] {
    display: grid;
}

.asseteka-enhanced .filter-option--native-fallback {
    display: none;
}

.filter-option:hover {
    color: var(--ak-text);
    background: color-mix(in srgb, var(--ak-surface-raised) 72%, transparent);
}

.filter-option--native-fallback {
    text-decoration: none;
}

.filter-option__native-check {
    display: grid;
    width: 1.0625rem;
    height: 1.0625rem;
    place-items: center;
    border: 1px solid var(--ak-border-strong);
    border-radius: 0.2rem;
    color: var(--ak-canvas);
    background: transparent;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1;
}

.filter-option__native-check.is-selected,
.filter-option__native-check.is-indeterminate {
    border-color: var(--ak-brand);
    background: var(--ak-brand);
}

.filter-option__native-check.is-selected::after {
    content: "✓";
}

.filter-option__native-check.is-indeterminate::after {
    content: "−";
}

.filter-category-tree {
    position: relative;
}

.filter-option--category-root {
    padding-right: 2.85rem;
}

.filter-category-disclosure {
    margin: 0;
}

.filter-category-disclosure > summary {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 0.45rem;
    list-style: none;
    color: var(--ak-muted-strong);
    cursor: pointer;
    transition: color 120ms ease, background-color 120ms ease;
}

.filter-category-disclosure > summary:hover {
    color: var(--ak-text);
    background: color-mix(in srgb, var(--ak-surface-raised) 82%, transparent);
}

.filter-category-disclosure > summary:focus-visible {
    outline: 2px solid var(--ak-brand);
    outline-offset: -2px;
}

.filter-category-disclosure > summary::-webkit-details-marker {
    display: none;
}

.filter-category-disclosure > summary::after {
    content: "›";
    font-size: 1rem;
    transform: rotate(0deg);
    transition: transform 160ms cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-category-disclosure[open] > summary::after {
    transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
    .filter-category-disclosure > summary::after {
        transition: none;
    }
}

.filter-subcategories {
    display: grid;
    gap: 0.125rem;
    padding-left: 1.65rem;
}

.filter-category-disclosure:not([open]) > .filter-subcategories {
    display: none;
}

.filter-option--subcategory {
    min-height: 2.25rem;
}

.catalog-filters input {
    width: 1.0625rem;
    height: 1.0625rem;
    margin: 0;
    accent-color: var(--ak-brand);
}

.filter-option small {
    min-width: 1.5rem;
    padding: 0.1rem 0.35rem;
    border-radius: 0.35rem;
    color: var(--ak-muted);
    background: var(--ak-surface-raised);
    font-size: 0.75rem;
    line-height: 1.25rem;
    text-align: center;
}

.catalog-results {
    min-width: 0;
    container-name: catalog-products;
    container-type: inline-size;
}

.catalog-no-results {
    display: grid;
    min-height: 20rem;
    place-items: center;
    align-content: center;
    padding: 2rem;
    border: 1px dashed var(--ak-border-strong);
    border-radius: var(--ak-radius-lg);
    text-align: center;
}

.catalog-no-results > .button,
.empty-state > .button {
    justify-self: center;
}

.catalog-no-results > span {
    color: var(--ak-brand);
    font-size: 2rem;
}

.catalog-no-results h2 {
    margin-top: 0.8rem;
    font-size: clamp(1.4rem, 2vw, 2rem);
}

.catalog-no-results p {
    max-width: 34rem;
    margin: 0.5rem 0 1.2rem;
    color: var(--ak-muted);
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-block: var(--ak-breadcrumb-entry-gap);
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.breadcrumbs a {
    color: var(--ak-muted);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--ak-brand-soft);
}

.product-page {
    --ak-container: 72rem;
    --ak-product-content-gap: 1.5rem;
}

.product-page .breadcrumbs {
    padding-bottom: 0.7rem;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 26rem);
    align-items: start;
    gap: var(--ak-surface-gap);
    padding-block: 0.75rem var(--ak-surface-gap);
}

.product-gallery__stage {
    position: relative;
}

.product-gallery {
    min-width: 0;
}

.product-gallery__panel[hidden] {
    display: none;
}

.product-gallery__panel > .product-artwork {
    aspect-ratio: 16 / 10;
    border-radius: var(--ak-radius-xl);
    box-shadow: var(--ak-shadow-high);
}

.product-gallery__panel--timeline .product-artwork {
    background: repeating-linear-gradient(90deg, #131821 0 10%, #293341 10% 11%);
}

.product-gallery__panel--package .product-artwork {
    background: linear-gradient(135deg, #161b24 0 48%, #2a3340 48% 52%, #1d2632 52%);
}

.product-gallery__panel--runtime .product-artwork {
    background: linear-gradient(145deg, #151d3a, #315279 52%, #6e6aae);
}

.product-gallery__panel--compatibility .product-artwork {
    background: linear-gradient(145deg, #16291f, #285f4c 52%, #8a7540);
}

.product-gallery__panel--documentation .product-artwork {
    background: linear-gradient(145deg, #181b22, #343b49 55%, #755347);
}

.product-gallery__controls {
    position: absolute;
    inset: 50% 0 auto;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
}

.product-gallery__controls button {
    display: grid;
    width: 2.625rem;
    height: 2.625rem;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: var(--ak-text);
    background: transparent;
    pointer-events: auto;
}

/* A compact 32px visible circle retains a separate 42px pointer target. */
.product-gallery__controls button > span {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #212121;
    opacity: 0.8;
    transition: opacity 0.2s ease-in-out;
}

.product-gallery__controls svg {
    display: block;
    width: 18px;
    height: 18px;
}

.product-gallery__controls button:hover > span {
    opacity: 1;
}

.product-gallery svg.gallery-chevron {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: butt;
    stroke-linejoin: miter;
}

.product-gallery__controls button:first-child > span {
    justify-self: start;
}

.product-gallery__controls button:last-child > span {
    justify-self: end;
}

.gallery-thumbnails {
    display: flex;
    width: 100%;
    max-width: 100%;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 0;
    /* Keep focus inside the scrollport; the trailing space preserves the last page. */
    padding: 8px var(--gallery-thumbnail-tail, 0px) 4px 3px;
    cursor: grab;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 3px;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
    touch-action: pan-x pan-y pinch-zoom;
    user-select: none;
    -webkit-overflow-scrolling: touch;
}

.gallery-thumbnails::-webkit-scrollbar {
    display: none;
}

.gallery-thumbnails.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.gallery-thumbnails button {
    position: relative;
    display: grid;
    flex: 0 0 96px;
    width: 96px;
    height: 64px;
    overflow: visible;
    place-items: center;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--ak-text);
    background: var(--ak-surface);
    scroll-snap-align: start;
}

.gallery-thumbnails button.is-active {
    border-color: #fff;
    box-shadow: none;
}

.gallery-thumbnails button::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #000;
    opacity: 0.6;
    pointer-events: none;
    content: "";
}

.gallery-thumbnails button.is-active::after { opacity: 0; }
.gallery-thumbnails button:focus-visible { outline: 2px solid var(--ak-brand); outline-offset: 2px; }

.gallery-thumbnail-pagination {
    position: relative;
    display: flex;
    height: 14px;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
}

.gallery-thumbnail-pagination[hidden],
.gallery-thumbnail-pagination button[hidden] { display: none; }

.gallery-thumbnail-pagination__pages {
    display: flex;
    width: auto;
    max-width: calc(100% - 84px);
    height: 42px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: safe center;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.gallery-thumbnail-pagination__pages::-webkit-scrollbar { display: none; }

.gallery-thumbnail-pagination [data-product-gallery-page] {
    position: relative;
    display: grid;
    flex: 0 0 16px;
    width: 16px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
}

/* The visible dots keep Unity's 8px/8px rhythm within a 42px vertical hit area. */
.gallery-thumbnail-pagination [data-product-gallery-page]::after { display: block; width: 8px; height: 8px; margin-inline: auto; border-radius: 50%; background: #9e9e9e; content: ""; }
.gallery-thumbnail-pagination [data-product-gallery-page][aria-current="true"]::after { background: #3a5bc7; }
.gallery-thumbnail-pagination [data-product-gallery-page]:focus-visible { outline: 2px solid var(--ak-brand); outline-offset: -1px; border-radius: 4px; }

.gallery-thumbnail-pagination__previous,
.gallery-thumbnail-pagination__next {
    position: absolute;
    top: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 0;
    color: var(--ak-muted);
    background: transparent;
    transform: translateY(-50%);
    cursor: pointer;
}

.gallery-thumbnail-pagination__previous { left: 0; justify-items: start; }
.gallery-thumbnail-pagination__next { right: 0; justify-items: end; }
.gallery-thumbnail-pagination__previous svg,
.gallery-thumbnail-pagination__next svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.gallery-thumbnail-pagination__previous:focus-visible,
.gallery-thumbnail-pagination__next:focus-visible { outline: 2px solid var(--ak-brand); outline-offset: 2px; }

.thumb-swatch,
.thumb-timeline,
.thumb-package,
.thumb-runtime,
.thumb-compatibility,
.thumb-documentation {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: inherit;
}

.thumb-swatch--forest { background: linear-gradient(145deg, #17302a, #786f36); }
.thumb-swatch--dialogue { background: linear-gradient(145deg, #1a204b, #934778); }
.thumb-swatch--mosswood { background: linear-gradient(145deg, #17352a, #4a8d73); }
.thumb-swatch--motion { background: linear-gradient(145deg, #4a1e38, #c67652); }
.thumb-swatch--signals { background: linear-gradient(145deg, #3a1e21, #c56842); }
.thumb-swatch--audio { background: linear-gradient(145deg, #1a2447, #6664a8); }
.thumb-timeline { background: repeating-linear-gradient(90deg, #151922 0 12%, #2b3340 12% 13%); }
.thumb-package { background: linear-gradient(135deg, #151922 50%, #202733 50%); }
.thumb-runtime { background: linear-gradient(145deg, #151d3a, #315279 52%, #6e6aae); }
.thumb-compatibility { background: linear-gradient(145deg, #16291f, #285f4c 52%, #8a7540); }
.thumb-documentation { background: linear-gradient(145deg, #181b22, #343b49 55%, #755347); }

.purchase-panel {
    min-width: 0;
    padding: 1.25rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-xl);
    background: linear-gradient(160deg, rgb(255 180 93 / 5%), transparent 35%), var(--ak-surface);
    box-shadow: var(--ak-shadow);
}

.purchase-panel__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--ak-muted-strong);
    font-family: var(--ak-font-mono);
    font-size: 0.75rem;
}

.product-kind {
    margin: 1.25rem 0 0.45rem;
    color: var(--ak-muted);
    font-size: 0.75rem;
    font-weight: 720;
    text-transform: uppercase;
}

.purchase-panel h1 {
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 1.875rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.purchase-price {
    display: grid;
    gap: 0.25rem;
    margin-block: 1.1rem 1rem;
}

.purchase-price > strong { font-size: 2rem; line-height: 1.2; letter-spacing: -0.04em; }
.purchase-price > span { font-size: 0.875rem; color: var(--ak-text-soft); }
.purchase-price > small { font-size: 0.75rem; color: var(--ak-muted); }
.purchase-cart-form { margin: 0; }
.purchase-editions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ak-surface-gap);
    min-width: 0;
    margin: 1rem 0;
    padding: 0;
    border: 0;
}
.purchase-edition {
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    align-content: start;
    align-items: baseline;
    gap: 0.4rem 0.5rem;
    padding: 0.8rem;
    border: 1px solid var(--ak-border);
    border-radius: 0.75rem;
    cursor: pointer;
    overflow-wrap: anywhere;
}
.purchase-edition > input { margin: 0; width: 1rem; height: 1rem; accent-color: var(--ak-brand); }
.purchase-edition > :not(input):not(.purchase-edition__title) { grid-column: 1 / -1; }
.purchase-edition__title { font-size: 0.875rem; line-height: 1.3; }
.purchase-edition__description { font-size: 0.8125rem; line-height: 1.45; color: var(--ak-muted); }
.purchase-edition__price { font-size: 1.375rem; line-height: 1.25; }
.purchase-edition > small { font-size: 0.75rem; line-height: 1.4; color: var(--ak-muted); }
.purchase-edition:has(input:checked) { border-color: var(--ak-brand); background: rgb(255 180 93 / 8%); }
.purchase-edition:has(input:focus-visible) { outline: 2px solid var(--ak-brand); outline-offset: 3px; }
.purchase-edition:has(input:disabled) { cursor: default; }
@media (max-width: 380px) {
    .purchase-editions { grid-template-columns: minmax(0, 1fr); }
}
.purchase-payments { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin-top: 0.75rem; }
.purchase-payments > span { color: var(--ak-muted); font-size: 0.75rem; }
.purchase-payments__methods { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.purchase-payments__brand { display: grid; place-items: center; width: 2.75rem; height: 1.5rem; border-radius: 0.125rem; background: #fff; }
.purchase-payments__brand img { display: block; object-fit: contain; }
.purchase-options-link, .purchase-policy-link { display: inline-block; margin-top: 0.65rem; color: var(--ak-muted); font-size: 0.8125rem; }
.purchase-options-link:hover, .purchase-policy-link:hover, .purchase-details a:hover { color: var(--ak-brand); }
.purchase-details { display: grid; gap: 0.55rem; margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--ak-border); font-size: 0.875rem; }
.purchase-details > div { display: grid; grid-template-columns: minmax(6.5rem, 0.85fr) minmax(0, 1.4fr); gap: 0.75rem; }
.purchase-details dt { color: var(--ak-muted); }
.purchase-details dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.purchase-details a { color: var(--ak-text-soft); }

.purchase-summary {
    margin: 1.15rem 0 0;
    color: var(--ak-muted);
    font-size: 0.9375rem;
}

.compatibility-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.2rem;
}

.compatibility-list span {
    padding: 0.35rem 0.55rem;
    border: 1px solid var(--ak-border);
    border-radius: 999px;
    color: var(--ak-text-soft);
    background: rgb(255 255 255 / 3%);
    font-size: 0.75rem;
}

.purchase-offer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-block: 1.5rem 0.8rem;
    padding: 1rem;
    border: 1px solid rgb(255 180 93 / 25%);
    border-radius: var(--ak-radius-md);
    background: rgb(255 180 93 / 6%);
}

.purchase-offer > div {
    display: grid;
}

.purchase-offer span {
    font-size: 0.875rem;
    font-weight: 750;
}

.purchase-offer small {
    margin-top: 0.2rem;
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.purchase-offer > strong {
    font-size: 1.8rem;
    letter-spacing: -0.05em;
}

.purchase-panel .button + .button {
    margin-top: 0.6rem;
}

.purchase-assurances {
    display: grid;
    gap: 0.55rem;
    margin: 1.25rem 0 0;
    padding: 1.1rem 0 0;
    border-top: 1px solid var(--ak-border);
    color: var(--ak-muted);
    font-size: 0.75rem;
    list-style: none;
}

.purchase-assurances span {
    margin-right: 0.4rem;
    color: var(--ak-positive);
}

.prototype-note,
.summary-note {
    margin: 1rem 0 0;
    color: var(--ak-muted-strong);
    font-size: 0.75rem;
    text-align: center;
}

.package-content-list {
    display: grid;
    gap: var(--ak-surface-gap);
    min-width: 0;
}

#product-content:not([hidden]) { display: block; }
.package-browser {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 1.5rem;
}
.package-preview { margin: 0; min-width: 0; }
.package-preview__frame {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--ak-border);
    background: #1f252e;
}
.package-preview__frame p { text-align: center; padding: 1rem; color: var(--ak-muted); }
.package-preview__frame img { width: 100%; height: 100%; object-fit: contain; }
.package-preview figcaption { margin-top: 0.75rem; font-size: 0.875rem; color: var(--ak-muted); overflow-wrap: anywhere; }
@media (max-width: 700px) {
    .package-browser { grid-template-columns: minmax(0, 1fr); }
    .package-preview__frame { max-height: 20rem; aspect-ratio: 4 / 3; }
}

.package-content [data-content-retry][hidden] {
    display: none;
}

.package-content {
    min-width: 0;
    overflow-wrap: anywhere;
}

.package-content + .package-content {
    padding-top: var(--ak-product-content-gap);
    border-top: 1px solid var(--ak-border);
}

.package-content > h2 {
    margin: 0;
    font-size: 1.125rem;
}

.package-content > p,
.package-tree__file small {
    color: var(--ak-muted);
    font-size: 0.875rem;
}

.package-tree {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.package-content [data-content-tree] {
    height: 32rem;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 0.25rem;
}

.package-tree .package-tree {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--ak-border);
}

.package-tree summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    cursor: pointer;
    min-height: 2.75rem;
    padding-block: 0.65rem;
    font-weight: 600;
}

.package-tree summary::-webkit-details-marker { display: none; }
.package-tree__chevron {
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    flex-shrink: 0;
    margin-inline: 0.2rem;
}
.package-tree details[open] > summary > .package-tree__chevron { transform: rotate(45deg); }
.package-tree__folder, .package-tree__document {
    width: 0.85rem;
    height: 0.7rem;
    flex-shrink: 0;
    background: var(--ak-brand);
    clip-path: polygon(0 0, 40% 0, 55% 20%, 100% 20%, 100% 100%, 0 100%);
}
.package-tree__document { height: 1rem; clip-path: polygon(0 0, 65% 0, 100% 30%, 100% 100%, 0 100%); }
.package-tree summary:focus-visible,
.package-tree__file:focus-visible {
    outline: 2px solid var(--ak-brand);
    outline-offset: 2px;
}

.package-tree__file {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.65rem 0.5rem;
    width: 100%;
    min-height: 2.75rem;
    text-align: left;
    border: 0;
    border-radius: 0.25rem;
    background: transparent;
    color: var(--ak-text);
    font: inherit;
    cursor: pointer;
}
.package-tree__file:hover { background: var(--ak-surface-raised); }
.package-tree__file[aria-pressed="true"] { background: rgb(255 181 84 / 16%); color: var(--ak-brand); }

.package-tree__file small {
    margin-left: auto;
    flex-shrink: 0;
}

.product-information {
    overflow-anchor: none;
    scroll-margin-top: 8rem;
    min-width: 0;
}

[data-product-tab-panel] {
    min-width: 0;
    padding-top: var(--ak-product-content-gap);
    scroll-margin-top: 10rem;
}

[data-product-tab-panel][hidden] {
    display: none;
}

.product-tabs {
    position: relative;
    top: 0;
    z-index: 100;
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    padding-block: 0;
    border-bottom: 1px solid var(--ak-border);
    background: rgb(9 11 15 / 92%);
    backdrop-filter: blur(1rem);
}

.product-tabs a {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 3px solid transparent;
    color: var(--ak-muted);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.product-tabs a:hover {
    color: var(--ak-text);
    background: var(--ak-surface-raised);
}

.product-tabs a.is-active {
    color: var(--ak-brand);
    border-bottom-color: currentColor;
}

.product-tabs a:focus-visible {
    outline: 2px solid var(--ak-brand);
    outline-offset: -4px;
}

/* Without enhancement the original tabs and purchase form remain ordinary SSR content. */
[data-product-compact-content] { display: none; }
.product-toolbar-slot { min-width: 0; overflow-anchor: none; }
.has-product-compact-bar .site-header { visibility: hidden; pointer-events: none; }
.product-toolbar.is-compact {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    border-bottom: 1px solid var(--ak-border);
    background: var(--ak-surface);
    box-shadow: 0 6px 18px #0003;
}
.product-toolbar.is-compact .product-toolbar__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "title purchase" "tabs purchase";
    column-gap: 1.5rem;
    align-items: center;
    width: min(calc(100% - (2 * var(--ak-gutter))), var(--ak-container));
    margin-inline: auto;
    padding-top: 0.75rem;
}
.product-toolbar.is-compact .product-toolbar__title {
    grid-area: title;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ak-text);
    font-size: 1.25rem;
    font-weight: 750;
    text-decoration: none;
}
.product-toolbar.is-compact .product-tabs { grid-area: tabs; border: 0; background: transparent; }
.product-toolbar.is-compact .product-toolbar__purchase {
    grid-area: purchase;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding-bottom: 0.75rem;
}
.product-toolbar__purchase .button { min-height: var(--ak-button-min-height); padding: var(--ak-button-padding); white-space: normal; }
.product-toolbar__purchase .icon-action { width: 3rem; height: 3rem; flex: 0 0 3rem; border: 1px solid var(--ak-border); border-radius: var(--ak-radius-sm); }
.product-toolbar__price { display: grid; text-align: right; line-height: 1.3; }
.product-toolbar__price[hidden] { display: none; }
.product-toolbar__price strong { font-size: 1.5rem; color: var(--ak-brand); }
.product-toolbar__price a { font-size: 0.875rem; color: var(--ak-muted); }
.product-toolbar__price small { display: block; font-size: 0.75rem; color: var(--ak-muted); }
.product-toolbar__unavailable { font-size: 0.875rem; color: var(--ak-muted); }
#product-title, #asseteka-purchase-panel { scroll-margin-top: calc(var(--asseteka-site-header-height, 9rem) + 1rem); }
/* Native validation and keyboard focus must also work before enhancement. */
input, select, textarea { scroll-margin-top: calc(var(--asseteka-site-header-height, 9rem) + 1rem); }
.product-information [data-product-tab-panel], .product-information #available-offers {
    scroll-margin-top: calc(var(--asseteka-product-bar-height, 9rem) + 1rem);
}
@media (max-width: 64rem) {
    .product-toolbar.is-compact .product-toolbar__inner {
        grid-template-areas: "title title" "purchase purchase" "tabs tabs";
        row-gap: 0.375rem;
    }
    .product-toolbar.is-compact .product-toolbar__purchase { padding-bottom: 0; }
    .product-toolbar__price { margin-right: auto; text-align: left; }
    .product-toolbar.is-compact .product-toolbar__title { font-size: 1.125rem; }
    .product-toolbar__purchase .button { padding: var(--ak-button-padding); }
    .product-toolbar__purchase .icon-action { width: 2.75rem; height: 2.75rem; flex-basis: 2.75rem; }
}
@media (max-width: 26rem) {
    .product-toolbar.is-compact .product-toolbar__purchase { gap: 0.375rem; }
    .product-toolbar__price { flex: 1 1 0; min-width: 0; }
    .product-toolbar__price a { font-size: 0.75rem; }
    .product-toolbar__price strong { font-size: 1.25rem; }
    .product-toolbar__purchase .button { font-size: 0.875rem; padding: var(--ak-button-padding); }
    .product-toolbar.is-compact .product-tabs a { padding-inline: 0.625rem; }
}

.product-copy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}

.product-copy-grid article > p:not(.eyebrow) {
    max-width: 50rem;
    margin: 0;
    color: var(--ak-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 2.5rem;
}

.feature-grid > div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.15rem 0.8rem;
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
}

.feature-grid span {
    grid-row: span 2;
    color: var(--ak-brand);
    font-family: var(--ak-font-mono);
    font-size: 1.3rem;
}

.feature-grid strong {
    font-size: 0.8125rem;
}

.feature-grid small {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.technical-card {
    overflow: hidden;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-lg);
    background: var(--ak-surface);
}

.technical-card h2 {
    padding: 1.2rem;
    border-bottom: 1px solid var(--ak-border);
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.technical-card dl {
    margin: 0;
}

.technical-card dl > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid rgb(255 255 255 / 5%);
    font-size: 0.75rem;
}

.technical-card dl > div:last-child {
    border-bottom: 0;
}

.technical-card dt {
    color: var(--ak-muted);
}

.technical-card dd {
    margin: 0;
    color: var(--ak-text-soft);
    text-align: right;
}

.package-contents {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(25rem, 1.2fr);
    gap: clamp(3rem, 6vw, 7rem);
    padding: clamp(3rem, 6vw, 6rem);
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-xl);
    background: linear-gradient(135deg, rgb(255 180 93 / 5%), transparent 30%), var(--ak-surface);
}

.package-contents h2 {
    max-width: 15ch;
}

.package-contents p:not(.eyebrow) {
    margin: 1.2rem 0 0;
    color: var(--ak-muted);
}

.package-option-list {
    display: grid;
    gap: 0.65rem;
}

.package-option-list > div {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.25rem 0.8rem;
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: rgb(255 255 255 / 3%);
}

.package-option-list .option-state {
    grid-row: span 2;
    padding: 0.3rem 0.45rem;
    border-radius: 0.4rem;
    color: #25170b;
    background: var(--ak-brand);
    font-size: 0.75rem;
    font-weight: 780;
}

.package-option-list .option-state--quiet {
    color: var(--ak-muted);
    background: var(--ak-surface-high);
}

.package-option-list strong {
    font-size: 0.875rem;
}

.package-option-list small {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.package-option-list b {
    grid-column: 3;
    grid-row: 1 / 3;
    color: var(--ak-text-soft);
    font-size: 0.75rem;
}

.changelog-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1.2rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
}

.changelog-card > span {
    padding: 0.35rem 0.5rem;
    border-radius: 0.45rem;
    color: var(--ak-info);
    background: rgb(121 184 255 / 9%);
    font-family: var(--ak-font-mono);
    font-size: 0.75rem;
}

.changelog-card strong {
    font-size: 0.875rem;
}

.changelog-card p {
    margin: 0.25rem 0 0;
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.changelog-card > small {
    color: var(--ak-positive);
    font-size: 0.75rem;
}

.product-related {
    padding-bottom: 2rem;
}

.animation-preview,
.product-gallery__empty {
    position: relative;
    display: grid;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    min-height: 24rem;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-xl);
    background:
        radial-gradient(circle at 68% 30%, rgb(255 180 93 / 10%), transparent 24%),
        linear-gradient(145deg, #11161e, #1c2632);
    box-shadow: var(--ak-shadow-high);
    place-items: center;
}

.animation-preview video,
.animation-preview img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #050608;
}

.animation-preview__label {
    position: absolute;
    z-index: 1;
    top: 0.75rem;
    left: 0.75rem;
    max-width: calc(100% - 1.5rem);
    padding: 0.375rem 0.625rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-sm);
    background: rgb(7 10 14 / 88%);
    color: var(--ak-text);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
    pointer-events: none;
}

.animation-preview__fallback,
.product-gallery__empty {
    align-content: center;
    gap: 0.55rem;
    padding: clamp(2rem, 5vw, 4rem);
    color: var(--ak-muted);
    text-align: center;
}

.animation-preview__fallback > span,
.product-gallery__empty > span {
    color: var(--ak-brand);
    font-size: 3rem;
}

.animation-preview__fallback strong,
.product-gallery__empty strong {
    color: var(--ak-text);
    font-size: 1.15rem;
}

.animation-preview__fallback small,
.product-gallery__empty small {
    max-width: 28rem;
    font-size: 0.8125rem;
    line-height: 1.55;
}

.gallery-thumbnails button > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    pointer-events: none;
}

.product-media-thumb-placeholder {
    display: grid;
    position: absolute;
    inset: 0;
    color: var(--ak-brand-soft);
    background:
        radial-gradient(circle at 72% 26%, rgb(255 180 93 / 12%), transparent 24%),
        var(--ak-surface-raised);
    font-size: 1.4rem;
    place-items: center;
    border-radius: inherit;
}

.product-publisher {
    margin: 0.5rem 0 0;
    color: var(--ak-muted);
    font-size: 0.8125rem;
}

.product-publisher strong {
    color: var(--ak-text-soft);
}

.purchase-offer--unavailable {
    border-color: var(--ak-border);
    background: var(--ak-surface-raised);
}

.product-state {
    min-height: 58vh;
    padding-block: clamp(5rem, 12vw, 10rem);
}

.product-state h1 {
    max-width: 18ch;
    margin-top: 0.65rem;
}

.product-state > p:not(.eyebrow) {
    max-width: 42rem;
    margin-block: 1rem 1.5rem;
    color: var(--ak-muted);
}

.product-rich-copy {
    min-width: 0;
}

.product-copy-section {
    display: grid;
    gap: 0.6rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ak-border);
}

.product-copy-section h2 {
    font-size: 1.05rem;
}

.product-copy-section p {
    margin: 0 !important;
    white-space: pre-line;
}

.product-section-card {
    display: grid;
    grid-template-columns: minmax(17rem, 0.72fr) minmax(24rem, 1.28fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 5rem);
    margin-top: var(--ak-surface-gap);
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-xl);
    background:
        linear-gradient(135deg, rgb(255 180 93 / 4%), transparent 28%),
        var(--ak-surface);
    scroll-margin-top: 10rem;
}

.product-section-card__intro h2 {
    margin-top: 0.45rem;
    font-size: clamp(1.55rem, 2.6vw, 2.35rem);
}

.product-section-card__intro > p:not(.eyebrow) {
    margin: 0.85rem 0 0;
    color: var(--ak-muted);
    font-size: 0.875rem;
    line-height: 1.65;
    white-space: pre-line;
}

.product-empty-detail {
    margin: 0;
    color: var(--ak-muted);
    font-size: 0.875rem;
}

.product-tab-note {
    margin: 0 0 var(--ak-surface-gap);
    color: var(--ak-muted);
    font-size: 0.875rem;
}

.product-detail-list {
    display: grid;
    gap: 0.65rem;
}

.product-detail-list > div {
    display: grid;
    min-width: 0;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.25rem 0.8rem;
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: rgb(255 255 255 / 2.5%);
}

.product-detail-list .option-state {
    grid-row: span 2;
    padding: 0.3rem 0.45rem;
    border-radius: 0.4rem;
    color: #25170b;
    background: var(--ak-brand);
    font-size: 0.75rem;
    font-weight: 780;
    white-space: nowrap;
}

.product-detail-list .option-state--quiet {
    color: var(--ak-muted);
    background: var(--ak-surface-high);
}

.product-detail-list strong {
    overflow: hidden;
    font-size: 0.875rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-detail-list small {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.product-offer-list > div {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.product-offer-list b {
    grid-column: 3;
    grid-row: 1 / 3;
    color: var(--ak-text);
    font-size: 0.875rem;
    white-space: nowrap;
}

.product-offer-list form {
    display: flex;
    grid-column: 3;
    justify-content: flex-end;
}

.product-offer-list form .button {
    min-height: var(--ak-button-min-height);
    padding: var(--ak-button-padding);
    font-size: 0.75rem;
}

.product-section-card--spine-selector {
    --spine-selector-sticky-top: 12.5rem;

    grid-template-columns: minmax(15rem, 0.38fr) minmax(0, 1.62fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    background:
        radial-gradient(circle at 12% 12%, rgb(255 180 93 / 9%), transparent 22rem),
        linear-gradient(145deg, rgb(19 24 32 / 98%), rgb(12 15 20 / 98%));
}

.spine-selector__intro {
    position: sticky;
    top: var(--spine-selector-sticky-top);
}

.spine-selector__ownership {
    display: grid;
    gap: 0.35rem;
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px solid rgb(102 217 183 / 20%);
    border-radius: var(--ak-radius-md);
    background: rgb(102 217 183 / 5%);
}

.spine-selector__ownership > span,
.spine-selector__ownership > small {
    color: var(--ak-muted);
    font-size: 0.75rem;
    line-height: 1.5;
}

.spine-selector__ownership > strong {
    color: var(--ak-text-soft);
    font-size: 0.875rem;
    line-height: 1.4;
}

.spine-selector__workspace {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) minmax(14.5rem, 0.38fr);
    align-items: start;
    gap: 1rem;
}

.spine-selector__catalog {
    display: grid;
    min-width: 0;
    gap: 0.8rem;
}

.spine-selector__toolbar {
    display: flex;
    min-width: 0;
    align-items: end;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.85rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: rgb(255 255 255 / 2.5%);
}

.spine-selector__toolbar label {
    display: grid;
    min-width: 0;
    flex: 1;
    gap: 0.4rem;
    color: var(--ak-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.spine-selector__toolbar input {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--ak-border-strong);
    border-radius: 0.7rem;
    color: var(--ak-text);
    background: var(--ak-canvas-soft);
    font: inherit;
    font-size: 0.8125rem;
}

.spine-selector__toolbar input::placeholder {
    color: var(--ak-muted-strong);
}

.text-button {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--ak-border-strong);
    border-radius: 0.7rem;
    color: var(--ak-brand-soft);
    background: var(--ak-surface-raised);
    font: inherit;
    font-size: 0.75rem;
    font-weight: 750;
    white-space: nowrap;
}

.text-button:hover:not(:disabled) {
    border-color: rgb(255 180 93 / 40%);
    background: rgb(255 180 93 / 8%);
}

.text-button:disabled {
    color: var(--ak-muted-strong);
    cursor: not-allowed;
    opacity: 0.65;
}

.spine-selector__group {
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: rgb(255 255 255 / 2%);
}

.spine-selector__group-header {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.7rem 0.8rem;
    border-bottom: 1px solid var(--ak-border);
    background: rgb(255 255 255 / 2.5%);
}

.spine-selector__group-header > span {
    min-width: 0;
    color: var(--ak-text-soft);
    font-size: 0.875rem;
    font-weight: 760;
}

.spine-selector__group-header small {
    display: inline-grid;
    min-width: 1.65rem;
    min-height: 1.65rem;
    margin-left: 0.35rem;
    place-items: center;
    border-radius: 0.45rem;
    color: var(--ak-muted);
    background: var(--ak-surface-high);
    font-size: 0.75rem;
}

.spine-selector__group-header .text-button {
    min-height: 2.25rem;
    padding-block: 0.35rem;
}

.spine-selector__component-list {
    display: grid;
}

.spine-selector__component {
    display: grid;
    min-width: 0;
    grid-template-columns: 8rem minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    min-height: 4.25rem;
    padding: 0.7rem 0.8rem;
    border-bottom: 1px solid rgb(255 255 255 / 5%);
    transition: background 150ms ease, box-shadow 150ms ease;
}

.spine-selector__component-choice {
    display: grid;
    min-width: 0;
    min-height: 4rem;
    grid-template-columns: minmax(0, 1fr) 2.625rem;
    align-items: center;
    gap: 0.35rem 0.5rem;
    cursor: pointer;
}

.spine-selector__component-choice input {
    grid-column: 2;
    grid-row: 1 / 4;
    justify-self: center;
}

.component-animation-preview {
    position: relative;
    min-width: 0;
    aspect-ratio: 1;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-bg);
}

.component-animation-preview img,
.component-animation-preview video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.component-animation-preview video {
    opacity: 0;
}

.component-animation-preview[data-preview-ready] video,
.component-animation-preview video:focus-visible {
    opacity: 1;
}

.component-animation-preview__unavailable {
    position: relative;
    display: grid;
    min-height: 100%;
    padding: 0.5rem;
    place-content: center;
    color: var(--ak-muted);
    background: rgb(9 12 16 / 85%);
    font-size: 0.75rem;
    text-align: center;
}

.spine-selector__component:last-child {
    border-bottom: 0;
}

.spine-selector__component:hover {
    background: rgb(255 255 255 / 3%);
}

.spine-selector__component.is-new {
    background: rgb(255 180 93 / 7%);
    box-shadow: inset 3px 0 0 var(--ak-brand);
}

.spine-selector__component.is-owned {
    cursor: default;
    background: rgb(102 217 183 / 5%);
    box-shadow: inset 3px 0 0 var(--ak-positive);
}

.spine-selector__component input {
    width: 1.2rem;
    height: 1.2rem;
    margin: 0;
    accent-color: var(--ak-brand);
}

.spine-selector__component.is-owned input {
    accent-color: var(--ak-positive);
}

.spine-selector__component-copy {
    display: grid;
    min-width: 0;
    gap: 0.15rem;
    grid-column: 1;
}

.spine-selector__component-copy strong {
    color: var(--ak-text-soft);
    font-size: 0.875rem;
    overflow-wrap: anywhere;
}

.spine-selector__component-copy small,
.spine-selector__component-state {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.spine-selector__component-price {
    grid-column: 1;
    color: var(--ak-text-soft);
    font-size: 0.8125rem;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.spine-selector__component-state {
    grid-column: 1;
    min-width: 0;
    text-align: left;
}

.spine-selector__component.is-new .spine-selector__component-state {
    color: var(--ak-brand-soft);
}

.spine-selector__component.is-owned .spine-selector__component-state {
    color: var(--ak-positive);
}

.spine-selector__summary {
    position: sticky;
    top: var(--spine-selector-sticky-top);
    display: grid;
    gap: 0.65rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgb(255 180 93 / 22%);
    border-radius: var(--ak-radius-md);
    background: linear-gradient(145deg, rgb(255 180 93 / 7%), rgb(255 255 255 / 2%));
}

.spine-selector__summary .eyebrow {
    margin: 0;
}

.spine-selector__summary h3 {
    font-size: 1.1rem;
    line-height: 1.25;
}

.spine-selector__summary > p,
.spine-selector__summary > small,
.spine-selector__summary li,
.spine-selector__summary-empty {
    color: var(--ak-muted);
    font-size: 0.75rem;
    line-height: 1.55;
}

.spine-selector__summary > p {
    margin: 0;
}

.spine-selector__summary-price {
    color: var(--ak-text);
    font-size: 1.55rem;
    letter-spacing: -0.04em;
}

.spine-selector__summary ul {
    display: grid;
    gap: 0.25rem;
    margin: 0;
    padding: 0.75rem 0 0.75rem 1.2rem;
    border-top: 1px solid var(--ak-border);
    border-bottom: 1px solid var(--ak-border);
}

.spine-selector__summary .spine-selector__server-note {
    padding-top: 0.75rem;
    border-top: 1px solid var(--ak-border);
    color: var(--ak-muted-strong);
}

.spine-selector__cart-form {
    display: grid;
}

.spine-selector__illustrative-note {
    display: block;
    padding: 0.7rem;
    border: 1px dashed var(--ak-border-strong);
    border-radius: 0.65rem;
}

.spine-selector__ready-made {
    display: grid;
    min-width: 0;
    grid-column: 2;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ak-border);
}

.spine-selector__ready-made h3 {
    font-size: 1.15rem;
}

.spine-selector__edition-grid {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.spine-selector__edition {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    color: var(--ak-text);
    background: rgb(255 255 255 / 2.5%);
    font: inherit;
    text-align: left;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.spine-selector__edition:hover:not(:disabled) {
    border-color: rgb(255 180 93 / 42%);
    background: rgb(255 180 93 / 6%);
    transform: translateY(-0.12rem);
}

.spine-selector__edition.is-selected {
    border-color: var(--ak-brand);
    background: rgb(255 180 93 / 10%);
    box-shadow: 0 0 0 2px rgb(255 180 93 / 10%);
}

.spine-selector__edition:disabled {
    cursor: default;
    opacity: 0.76;
}

.spine-selector__edition > span,
.spine-selector__edition > small {
    color: var(--ak-muted);
    font-size: 0.75rem;
    line-height: 1.45;
}

.spine-selector__edition > span {
    color: var(--ak-brand-soft);
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.spine-selector__edition > strong {
    font-size: 0.9375rem;
    line-height: 1.3;
}

.spine-selector__edition > b {
    margin-top: auto;
    padding-top: 0.5rem;
    color: var(--ak-text);
    font-size: 1.15rem;
}

@media (max-width: 75rem) {
    .spine-selector__workspace {
        grid-template-columns: 1fr;
    }

    .spine-selector__summary {
        position: static;
    }
}

@media (max-width: 64rem) {
    .spine-selector__intro {
        position: static;
    }

    .spine-selector__ready-made {
        grid-column: 1;
    }

    .spine-selector__edition-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 48rem) {
    .spine-selector__toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .spine-selector__component {
        grid-template-columns: 6rem minmax(0, 1fr);
        gap: 0.65rem;
        padding: 0.65rem 0.5rem;
    }

    .spine-selector__component-choice input {
        grid-row: 3;
    }

    .spine-selector__component-copy,
    .spine-selector__component-price {
        grid-column: 1 / -1;
    }

    .spine-selector__edition-grid {
        grid-template-columns: 1fr;
    }
}

.compatibility-table {
    display: grid;
    max-width: 56rem;
    gap: 0.8rem;
}

.compatibility-table > section {
    min-width: 0;
}

.compatibility-table h2 {
    margin: 0;
    padding-block: 0.5rem;
    border-bottom: 1px solid var(--ak-border);
    font-size: 1.125rem;
}

.compatibility-table table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 0.875rem;
    line-height: 1.5;
}

.compatibility-table__feature { width: 44%; }
.compatibility-table__value { width: 56%; }

.compatibility-table th,
.compatibility-table td {
    padding: 0.375rem 1rem 0.375rem 0;
    border-bottom: 1px solid rgb(255 255 255 / 5%);
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.compatibility-table tr > :last-child { padding-right: 0; }

.compatibility-table tbody tr:last-child > * {
    border-bottom: 0;
}

.compatibility-table th,
.compatibility-table__restriction {
    color: var(--ak-muted);
    font-weight: 400;
}

.compatibility-table thead th {
    font-size: 0.75rem;
}

.compatibility-table__formats {
    min-width: 0;
    max-width: 100%;
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
}

.product-changelog {
    display: grid;
    grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
}

.product-changelog h2 { margin: 0; font-size: 1.25rem; }
.product-releases-nav {
    display: grid;
    gap: 0.25rem;
    position: sticky;
    top: calc(var(--asseteka-header-height, 9rem) + 1rem);
    max-height: calc(100dvh - var(--asseteka-header-height, 9rem) - 2rem);
    overflow-y: auto;
    align-content: start;
}
.product-releases-nav a {
    display: block;
    padding: 0.65rem 0.875rem;
    border-radius: var(--ak-radius-sm);
    font-size: 0.9375rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.product-releases-nav a:hover,
.product-releases-nav a[aria-current="location"] { background: var(--ak-surface-raised); color: var(--ak-brand); }
.product-releases-nav a[aria-current="location"] { box-shadow: inset 3px 0 var(--ak-brand); }
.product-releases-list { min-width: 0; max-width: 56rem; }
.product-release-entry { position: relative; overflow-wrap: anywhere; }
.product-release-entry + .product-release-entry { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ak-border); }
.product-release-anchor { display: block; height: 0; scroll-margin-top: calc(var(--asseteka-product-bar-height, var(--asseteka-header-height, 9rem)) + 1rem); }
.has-product-compact-bar .product-releases-nav {
    top: calc(var(--asseteka-product-bar-height, 9rem) + 1rem);
    max-height: calc(100dvh - var(--asseteka-product-bar-height, 9rem) - 2rem);
}
.product-release-current { margin-inline-start: 0.4rem; color: var(--ak-muted); font-size: 1rem; font-weight: 400; }
.product-releases-nav span { margin-inline-start: 0.3rem; }
.product-release-notes__text { white-space: pre-line; font-size: 0.9375rem; line-height: 1.7; margin-top: 1rem; }
.product-changelog p { color: var(--ak-muted); font-size: 0.875rem; line-height: 1.65; white-space: pre-line; }
.product-changelog .product-release-date { margin: 0.35rem 0 0; }

.product-changelog time {
    color: var(--ak-muted);
    font-size: 0.875rem;
    white-space: nowrap;
}

.product-support-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--ak-surface-gap);
    width: 100%;
    max-width: 56rem;
    margin: 0;
    scroll-margin-top: 10rem;
}

.product-support-copy article {
    min-width: 0;
}

.product-support-copy article + article {
    padding-top: 1rem;
    border-top: 1px solid var(--ak-border);
}

.product-support-copy h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: normal;
}

.product-support-copy p,
.product-support-copy ol {
    margin: 0.65rem 0 0;
    color: var(--ak-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.product-support-copy ol {
    padding-left: 1.5rem;
}

.product-support-copy li + li {
    margin-top: 0.5rem;
}

.product-support-copy a {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.65fr);
    align-items: start;
    gap: var(--ak-surface-gap);
}

.checkout-layout--empty {
    grid-template-columns: minmax(0, 1fr);
}

#asseteka-cart-header { padding-top: var(--ak-page-entry-gap); padding-bottom: 1.5rem; }
#cart-title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
#cart-title > span { color: var(--ak-muted); font-size: 1rem; margin-inline-start: 0.5rem; }
#asseteka-order-summary { scroll-margin-top: calc(var(--asseteka-header-height, 9rem) + 1rem); }
.quote-evidence > summary { cursor: pointer; font-size: 0.875rem; }

html.mini-cart-open { overflow: hidden; }
.mini-cart {
    position: fixed;
    inset: 5rem 1rem auto auto;
    width: min(30rem, calc(100% - 24px));
    max-width: calc(100% - 24px);
    max-height: calc(100dvh - 6rem);
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
    color: var(--ak-text);
    box-shadow: 0 1rem 4rem rgb(0 0 0 / 50%);
}
.mini-cart[open] { display: flex; flex-direction: column; }
.mini-cart::backdrop { background: rgb(0 0 0 / 55%); }
.mini-cart__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.625rem 1rem; border-bottom: 1px solid var(--ak-border); }
.mini-cart__header h2 { margin: 0; font-size: 1.25rem; }
.mini-cart__header button { flex: none; width: 2.625rem; height: 2.625rem; padding: 0; border: 0; border-radius: 0.4rem; background: transparent; color: var(--ak-muted); font-size: 1.75rem; cursor: pointer; }
.mini-cart__header button:hover { color: var(--ak-text); background: var(--ak-canvas-soft); }
.mini-cart__body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-inline: 1rem; }
.product-contents-scroll-space { height: 0; margin: 0; padding: 0; border: 0; overflow-anchor: none; pointer-events: none; }
.mini-cart__footer { flex: none; padding: 1rem; border-top: 1px solid var(--ak-border); }
.mini-cart__subtotal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: 1rem; }
.mini-cart__note, .mini-cart__empty, [data-mini-cart-message] { font-size: 0.875rem; color: var(--ak-muted); line-height: 1.5; }
.mini-cart__empty { padding-block: 1.5rem; }
.mini-cart__note { margin: 0.4rem 0 1rem; }
[data-mini-cart-message] { margin: 0 0 0.75rem; }
[data-mini-cart-message]:empty { display: none; }
.mini-cart__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.mini-cart__actions > * { flex: 0 1 auto; min-width: 0; }
.mini-cart__actions form { margin: 0; }
.mini-cart__actions .button { width: fit-content; min-height: var(--ak-button-min-height); padding: var(--ak-button-padding); font-size: 0.875rem; }
.mini-cart__actions > [hidden] { display: none; }
.mini-cart .mini-cart__item { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border: 0; border-bottom: 1px solid var(--ak-border); border-radius: 0; background: transparent; }
.mini-cart__item:last-child { border-bottom: 0; }
.mini-cart__item .cart-item__copy { display: flex; flex-direction: column; min-height: 6.5rem; }
.cart-item__heading { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; column-gap: 0.75rem; row-gap: 0.25rem; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__info > span { display: block; color: var(--ak-muted); font-size: 0.8125rem; line-height: 1.4; }
.cart-item__heading > strong { flex: none; font-size: 1rem; line-height: 1.4; white-space: nowrap; }
.mini-cart__item .cart-item__heading > strong { font-size: 0.875rem; }
.mini-cart__item .cart-item__copy h2 { font-size: 1rem; line-height: 1.3; margin: 0; }
.mini-cart__item .cart-item__copy > p { margin: 0.2rem 0 0; font-size: 0.8125rem; line-height: 1.4; }
.mini-cart__item .cart-item__preview img,
.mini-cart__item .cart-item__preview-fallback { border-radius: 0.375rem; }
.cart-item__actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; margin-top: auto; }
.cart-item__actions form { margin: 0; }
.cart-item .cart-item__actions button { display: inline-flex; align-items: center; gap: 0.375rem; min-height: 2.625rem; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ak-muted); font-size: 0.8125rem; line-height: 1.4; text-decoration: none; }
.cart-item__actions button:not(:disabled) { cursor: pointer; }
.cart-item__actions button:not(:disabled):hover { color: var(--ak-text); text-decoration: underline; }
.cart-item__actions button:disabled { cursor: default; }
.cart-item__actions svg { flex: none; width: 1rem; height: 1rem; }
@media (max-width: 480px) {
    .mini-cart .mini-cart__item { grid-template-columns: 5rem minmax(0, 1fr); gap: 0.75rem; }
    .cart-item__actions { column-gap: 0.5rem; }
    .cart-item .cart-item__actions button { gap: 0.25rem; font-size: 0.75rem; }
    .cart-item__actions svg { width: 0.875rem; height: 0.875rem; }
    .mini-cart__footer { padding: 0.75rem; }
    .mini-cart__body { padding-inline: 0.75rem; }
}
@media (max-height: 500px) {
    .mini-cart { top: 12px !important; max-height: calc(100dvh - 24px) !important; }
    .mini-cart__note { display: none; }
}

.cart-items {
    display: grid;
    min-width: 0;
    gap: 0;
    padding: clamp(0.75rem, 2vw, 1.5rem);
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
}

.cart-items__header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; }
.cart-items__header h2 { margin: 0; font-size: 1.125rem; }
.cart-items__header > span { color: var(--ak-muted); font-size: 0.875rem; }
.cart-items > .cart-item + .cart-item { border-top: 1px solid var(--ak-border); }
.cart-item > [data-source-runtime-included],
.cart-item > [data-source-event-editor] { grid-column: 1 / -1; margin: 0; color: var(--ak-muted); font-size: 0.875rem; }
.checkout-layout--empty .cart-items { padding: 0; border: 0; background: transparent; }

.cart-item {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    padding: 1.25rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.cart-item > .cart-item__copy { display: flex; flex-direction: column; min-height: 7rem; }
.cart-item__art {
    overflow: hidden;
    border-radius: 0.75rem;
}

.cart-item__copy,
.cart-item__contents,
.cart-component__copy {
    min-width: 0;
    overflow-wrap: anywhere;
}

.cart-item__contents {
    grid-column: 1 / -1;
    margin: 0;
    border-top: 1px solid var(--ak-border);
}

.product-contents {
    grid-column: 1 / -1;
    min-width: 0;
    border-top: 1px solid var(--ak-border);
}

.product-contents__toggle {
    margin: 0;
    padding: 0.75rem 0.25rem;
    min-height: 3rem;
    list-style: none;
    cursor: pointer;
    color: var(--ak-muted);
    border-radius: var(--ak-radius-sm);
}

.product-contents__toggle::-webkit-details-marker { display: none; }
.product-contents__toggle:hover { color: var(--ak-text); }
.product-contents__toggle:focus-visible { outline: 2px solid var(--ak-brand); outline-offset: 2px; }

.product-contents__toggle h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: inherit;
}

.product-contents__toggle svg {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
}

.product-contents[open] > .product-contents__toggle svg { transform: rotate(90deg); }

.cart-components {
    margin: 0;
    padding: 0 0 0 1rem;
    border-inline-start: 1px solid var(--ak-border);
    list-style: none;
}

.cart-component {
    position: relative;
    display: grid;
    grid-template-columns: clamp(5rem, 16vw, 8rem) minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    padding-block: 0.75rem;
}

.cart-component::before {
    position: absolute;
    top: 50%;
    inset-inline-start: -1rem;
    width: 0.75rem;
    border-top: 1px solid var(--ak-border);
    content: "";
}

.cart-component--removable {
    grid-template-columns: clamp(5rem, 16vw, 8rem) minmax(0, 1fr) 2.625rem;
    column-gap: clamp(0.5rem, 1vw, 1rem);
}

.cart-component__remove-form {
    margin: 0;
}

.cart-component__remove {
    display: grid;
    place-items: center;
    width: 2.625rem;
    height: 2.625rem;
    padding: 0;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-sm);
    background: var(--ak-canvas-soft);
    color: var(--ak-muted);
    cursor: pointer;
}

.cart-component__remove:hover {
    border-color: var(--ak-danger);
    color: var(--ak-danger);
}

#asseteka-cart[aria-busy="true"] [data-cart-remove] button {
    opacity: 0.5;
    cursor: progress;
}

.cart-status.cart-removal-toast {
    margin: 0;
    background: var(--ak-surface);
}

.cart-removal-toast .asseteka-enhanced-toast__dismiss {
    width: 2.625rem;
    height: 2.625rem;
}

.cart-component__remove svg {
    width: 1.125rem;
    height: 1.125rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.cart-component + .cart-component {
    border-top: 1px solid var(--ak-border);
}

.cart-component__copy h4 {
    margin: 0;
    font-size: 1rem;
}

.cart-component__copy p {
    margin: 0.4rem 0 0;
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.cart-item__preview {
    min-width: 0;
    max-width: 10rem;
    margin: 0;
}

.cart-item__preview video,
.cart-item__preview img,
.cart-item__preview-fallback {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-sm);
    background: var(--ak-canvas-soft);
}

.cart-item__preview-fallback {
    display: grid;
    place-items: center;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.75rem;
}

.cart-item__preview figcaption {
    margin-top: 0.4rem;
    color: var(--ak-muted);
    font-size: 0.75rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.cart-item__identity {
    display: grid;
    min-height: 7.5rem;
    place-items: center;
    border: 1px solid rgb(255 180 93 / 20%);
    border-radius: 0.75rem;
    color: var(--ak-brand-soft);
    background:
        radial-gradient(circle at 70% 25%, rgb(255 124 74 / 18%), transparent 55%),
        var(--ak-canvas-soft);
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    font-weight: 850;
    letter-spacing: -0.06em;
}

.cart-item__art .artwork-copy,
.library-item__art .artwork-copy {
    right: 0.65rem;
    bottom: 0.55rem;
    left: 0.65rem;
}

.cart-item__art .artwork-kicker,
.cart-item__art .artwork-meta,
.library-item__art .artwork-kicker,
.library-item__art .artwork-meta {
    display: none;
}

.cart-item__art .artwork-copy strong,
.library-item__art .artwork-copy strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.75rem;
    line-height: 1.1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cart-item__copy > span,
.cart-item__copy > p,
.cart-item__compatibility {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.cart-item__copy h2 {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.4;
}

.cart-item__copy h2 a {
    text-decoration: none;
}

.cart-item__copy h2 a:hover,
.cart-item__copy h2 a:focus-visible { color: var(--ak-brand); text-decoration: underline; text-underline-offset: 0.15em; }

.cart-item__copy > p {
    margin: 0.35rem 0;
    font-size: 0.875rem;
}

.cart-item__copy button {
    display: inline-flex;
    align-items: center;
    min-height: 2.625rem;
    margin-top: 0.25rem;
    padding-inline: 0.25rem;
    border: 0;
    color: var(--ak-muted);
    background: transparent;
    font-size: 0.875rem;
    text-decoration: underline;
}

.cart-item > strong {
    max-width: 11rem;
    text-align: right;
    font-size: 1.15rem;
}

.cart-status {
    margin-bottom: 1.25rem;
    padding: 1rem 1.2rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
}

.cart-status strong {
    display: block;
    font-size: 0.875rem;
}

.cart-status p {
    margin: 0.3rem 0 0;
    color: var(--ak-muted);
    font-size: 0.8125rem;
}

.cart-status--success {
    border-color: rgb(102 217 183 / 35%);
    background: rgb(102 217 183 / 7%);
}

.cart-status--warning {
    border-color: rgb(255 199 102 / 40%);
    background: rgb(255 199 102 / 7%);
}

.cart-assurance {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
}

.cart-assurance > span {
    color: var(--ak-info);
    font-size: 1.3rem;
}

.cart-assurance strong {
    font-size: 0.8125rem;
}

.cart-assurance p {
    margin: 0.25rem 0 0;
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.order-summary {
    position: sticky;
    top: 8.75rem;
    padding: 1.5rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
    box-shadow: var(--ak-shadow);
}

.order-summary h2 {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ak-border);
    font-size: 1.15rem;
}

.order-summary dl {
    display: grid;
    gap: 0.8rem;
    margin: 1rem 0;
}

.order-summary dl > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.order-summary dd {
    margin: 0;
    color: var(--ak-text-soft);
}

.order-summary .order-total {
    flex-wrap: wrap;
    margin-top: 0.3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ak-border);
    color: var(--ak-text);
    font-size: 0.9rem;
    font-weight: 750;
}

.order-summary .order-total dd { white-space: nowrap; }

.quote-evidence {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 1rem;
    padding: 0.85rem;
    border: 1px solid rgb(102 217 183 / 25%);
    border-radius: var(--ak-radius-sm);
    background: rgb(102 217 183 / 6%);
}

.quote-evidence strong {
    color: var(--ak-positive);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.quote-evidence span {
    font-size: 0.8125rem;
    font-weight: 750;
}

.checkout-action-form {
    display: grid;
    gap: 0.65rem;
}

.checkout-action-form small {
    color: var(--ak-muted);
    font-size: 0.75rem;
    line-height: 1.55;
}

.quote-evidence small,
.summary-note {
    color: var(--ak-muted);
    font-size: 0.75rem;
    line-height: 1.55;
}

.summary-note {
    margin: 1rem 0 0;
}

.order-total dd {
    color: var(--ak-text);
    font-size: 1.5rem;
}

.order-total small {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.coupon-field {
    display: grid;
    gap: 0.45rem;
    margin-block: 1.2rem;
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.coupon-field__control {
    display: flex;
}

.coupon-field input {
    min-width: 0;
    height: 2.65rem;
    flex: 1;
    padding-inline: 0.75rem;
    border: 1px solid var(--ak-border);
    border-right: 0;
    border-radius: 0.65rem 0 0 0.65rem;
    background: var(--ak-canvas-soft);
}

.coupon-field button {
    padding-inline: 0.8rem;
    border: 1px solid var(--ak-border);
    border-radius: 0 0.65rem 0.65rem 0;
    background: var(--ak-surface-high);
    font-size: 0.75rem;
    font-weight: 700;
}

.payment-mark {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.1rem 1rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ak-border);
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.payment-mark strong {
    grid-row: span 2;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: -0.08em;
}

.payment-mark small {
    color: var(--ak-muted-strong);
}

.account-shell {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 4.5rem);
    padding-block: clamp(3rem, 6vw, 6rem);
}

.account-sidebar,
.admin-sidebar {
    position: sticky;
    top: 8.75rem;
    overflow: hidden;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-lg);
    background: var(--ak-surface);
}

.account-person,
.admin-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid var(--ak-border);
}

.account-person > span,
.admin-label > span {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 0.75rem;
    color: #261707;
    background: linear-gradient(135deg, var(--ak-brand), var(--ak-brand-strong));
    font-size: 0.75rem;
    font-weight: 850;
}

.account-person > div,
.admin-label > div {
    display: grid;
}

.account-person strong,
.admin-label strong {
    font-size: 0.8125rem;
}

.account-person small,
.admin-label small {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.account-sidebar nav,
.admin-sidebar nav {
    display: grid;
    gap: 0.2rem;
    padding: 0.7rem;
}

.account-sidebar nav a,
.admin-sidebar nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 2.5rem;
    padding-inline: 0.75rem;
    border-radius: 0.65rem;
    color: var(--ak-muted);
    font-size: 0.75rem;
    font-weight: 650;
    text-decoration: none;
}

.account-sidebar nav a:hover,
.admin-sidebar nav a:hover,
.account-sidebar nav a.is-active,
.admin-sidebar nav a.is-active {
    color: var(--ak-text);
    background: var(--ak-surface-high);
}

.account-sidebar nav a span,
.admin-sidebar nav a span {
    min-width: 1.3rem;
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    color: var(--ak-brand-soft);
    background: rgb(255 180 93 / 9%);
    font-size: 0.75rem;
    text-align: center;
}

.account-help {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.7rem;
    padding: 0.75rem;
    border: 1px solid var(--ak-border);
    border-radius: 0.7rem;
    color: var(--ak-muted);
    font-size: 0.75rem;
    text-decoration: none;
}

.account-help span {
    display: grid;
    width: 1.5rem;
    height: 1.5rem;
    place-items: center;
    border-radius: 50%;
    color: var(--ak-info);
    background: rgb(121 184 255 / 9%);
}

.account-sign-out {
    margin: 0 0.7rem;
}

.account-sign-out button {
    width: 100%;
    min-height: 2.5rem;
    padding-inline: 0.75rem;
    border: 1px solid var(--ak-border);
    border-radius: 0.65rem;
    color: var(--ak-muted);
    background: transparent;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: left;
}

.account-sign-out button:hover {
    border-color: var(--ak-border-strong);
    color: var(--ak-text);
    background: var(--ak-surface-high);
}

.account-content,
.admin-content {
    min-width: 0;
}

.account-heading,
.admin-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.account-heading h1,
.admin-heading h1 {
    font-size: clamp(2.7rem, 4.2vw, 4.8rem);
}

.account-heading p:not(.eyebrow),
.admin-heading p:not(.eyebrow) {
    margin: 0.9rem 0 0;
    color: var(--ak-muted);
}

.compact-search input {
    min-width: 15rem;
    min-height: 2.75rem;
    padding-inline: 0.85rem;
    border: 1px solid var(--ak-border);
    border-radius: 0.75rem;
    background: var(--ak-surface);
    font-size: 0.75rem;
}

.library-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-block: 2rem 1rem;
}

.library-stats > div {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
}

.library-stats strong {
    color: var(--ak-brand);
    font-family: var(--ak-font-mono);
    font-size: 1.4rem;
}

.library-stats span {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.library-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.65rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
}

.library-toolbar > div {
    display: flex;
    gap: 0.2rem;
}

.library-toolbar button {
    min-height: 2.2rem;
    padding-inline: 0.7rem;
    border: 0;
    border-radius: 0.55rem;
    color: var(--ak-muted);
    background: transparent;
    font-size: 0.75rem;
}

.library-toolbar button.is-active {
    color: var(--ak-text);
    background: var(--ak-surface-high);
}

.library-toolbar button span {
    margin-left: 0.3rem;
    color: var(--ak-brand-soft);
}

.library-toolbar > label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.library-toolbar select {
    min-height: 2.1rem;
    border: 0;
    color: var(--ak-text);
    background: transparent;
    font-size: 0.75rem;
}

.library-list {
    display: grid;
    gap: 0.65rem;
}

.library-item {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr) 9rem auto;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
}

.library-item__art {
    overflow: hidden;
    border-radius: 0.65rem;
}

.library-item__cover {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border: 1px solid var(--ak-border);
    border-radius: 0.65rem;
    background: var(--ak-canvas-soft);
}

.library-item__contents {
    grid-column: 1 / -1;
    min-width: 0;
    margin-inline: clamp(0rem, 2vw, 1rem);
}

.library-animations {
    margin: 0 0 0 0.5rem;
    padding: 0 0 0 1rem;
    list-style: none;
    border-left: 1px solid var(--ak-border);
}

.library-animation {
    position: relative;
    display: grid;
    grid-template-columns: clamp(5rem, 18vw, 9rem) minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.library-animation::before {
    position: absolute;
    top: 50%;
    left: -1rem;
    width: 0.75rem;
    border-top: 1px solid var(--ak-border);
    content: "";
}

.library-animation + .library-animation {
    border-top: 1px solid var(--ak-border);
}

.library-animation .component-animation-preview {
    width: 100%;
}

.library-animation__copy {
    min-width: 0;
    overflow-wrap: anywhere;
}

.library-animation__copy h4 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.library-animation__copy p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--ak-muted);
}

.library-item__identity {
    display: grid;
    min-height: 5.5rem;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--ak-brand) 35%, var(--ak-border));
    border-radius: 0.65rem;
    color: var(--ak-brand-soft);
    background:
        radial-gradient(circle at 78% 18%, rgb(255 180 93 / 22%), transparent 34%),
        linear-gradient(145deg, color-mix(in srgb, var(--ak-brand) 12%, var(--ak-surface-high)), var(--ak-surface));
    font-family: var(--ak-font-display);
    font-size: 1.35rem;
    font-weight: 850;
    letter-spacing: -0.04em;
}

.library-item__copy > span,
.library-item__copy > p,
.library-item__copy > div,
.library-item__version span,
.library-item__version small {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.library-item__copy h2 {
    margin: 0.15rem 0;
    font-size: 1rem;
}

.library-item__copy h2 a {
    text-decoration: none;
}

.library-item__copy > p {
    margin: 0 0 0.25rem;
    color: var(--ak-positive);
}

.library-item__version {
    display: grid;
}

.library-item__version strong {
    margin-block: 0.15rem;
    font-family: var(--ak-font-mono);
    font-size: 0.8rem;
}

.library-item__actions {
    display: grid;
    justify-items: start;
    gap: 0.35rem;
}

.library-item__actions .button {
    min-height: var(--ak-button-min-height);
    padding: var(--ak-button-padding);
    font-size: 0.75rem;
}

.library-item__actions a {
    color: var(--ak-muted);
    font-size: 0.75rem;
    text-align: center;
}

.library-item__actions > span {
    color: var(--ak-muted);
    font-size: 0.75rem;
    text-align: center;
}

.admin-shell {
    display: grid;
    grid-template-columns: 14rem minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.5rem, 3vw, 3rem);
    padding-block: 2.5rem 5rem;
}

.admin-sidebar {
    top: 8.75rem;
}

.admin-label > span {
    color: #d6cbff;
    background: linear-gradient(135deg, #55477f, #292340);
}

.admin-environment {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0.7rem;
    padding: 0.75rem;
    border: 1px solid var(--ak-border);
    border-radius: 0.7rem;
    background: var(--ak-canvas-soft);
}

.admin-environment > span {
    width: 0.5rem;
    height: 0.5rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--ak-positive);
    box-shadow: 0 0 0 0.3rem rgb(102 217 183 / 9%);
}

.admin-environment > div {
    display: grid;
}

.admin-environment strong {
    font-size: 0.75rem;
}

.admin-environment small {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.admin-heading {
    align-items: center;
}

.admin-heading > div:last-child {
    display: flex;
    gap: 0.55rem;
}

.admin-heading h1 {
    font-size: clamp(2.5rem, 3.8vw, 4.3rem);
}

.admin-alert {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgb(121 184 255 / 20%);
    border-radius: var(--ak-radius-md);
    background: rgb(121 184 255 / 5%);
}

.admin-alert > span {
    display: grid;
    width: 1.6rem;
    height: 1.6rem;
    place-items: center;
    border-radius: 50%;
    color: var(--ak-info);
    background: rgb(121 184 255 / 12%);
    font-size: 0.75rem;
    font-weight: 800;
}

.admin-alert strong {
    font-size: 0.75rem;
}

.admin-alert p {
    margin: 0.2rem 0 0;
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.admin-alert button {
    display: grid;
    width: 2.625rem;
    height: 2.625rem;
    padding: 0;
    place-items: center;
    border: 0;
    color: var(--ak-muted);
    background: transparent;
    font-size: 1.1rem;
}

.admin-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.admin-metrics article {
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
}

.admin-metrics article > span {
    display: block;
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.admin-metrics article > strong {
    display: block;
    margin-block: 0.45rem;
    font-size: 2rem;
    letter-spacing: -0.06em;
}

.admin-metrics article > strong small {
    color: var(--ak-muted);
    font-size: 0.55em;
}

.admin-metrics article > small {
    display: block;
    margin-top: 0.6rem;
    overflow: hidden;
    color: var(--ak-muted-strong);
    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.metric-bar {
    height: 0.25rem;
    overflow: hidden;
    border-radius: 999px;
    background: var(--ak-surface-high);
}

.metric-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--ak-brand), var(--ak-brand-strong));
}

.metric-trend {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.metric-trend--warning { color: var(--ak-warning); }
.metric-trend--positive { color: var(--ak-positive); }

.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 0.6fr);
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.admin-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
}

.admin-panel__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--ak-border);
}

.admin-panel__heading .eyebrow {
    margin-bottom: 0.2rem;
    font-size: 0.75rem;
}

.admin-panel__heading h2 {
    font-size: 1rem;
}

.admin-panel__heading > a {
    color: var(--ak-brand-soft);
    font-size: 0.75rem;
    text-decoration: none;
}

.data-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    contain: inline-size;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.data-table th,
.data-table td {
    padding: 0.8rem 0.9rem;
    border-bottom: 1px solid rgb(255 255 255 / 5%);
    text-align: left;
    white-space: nowrap;
}

.data-table th {
    color: var(--ak-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.data-table td:first-child {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.data-table td:first-child > span:last-child {
    display: grid;
}

.data-table td:first-child strong {
    font-size: 0.75rem;
}

.data-table td:first-child small {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.table-product-icon {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 0.55rem;
    font-size: 0.75rem;
    font-weight: 800;
}

.table-product-icon--forest { color: #c9ffe2; background: #265344; }
.table-product-icon--dialogue { color: #ded8ff; background: #403970; }
.table-product-icon--mosswood { color: #d3ffe9; background: #346850; }

.data-table td > button {
    min-height: 2.625rem;
    padding-inline: 0.55rem;
    border: 1px solid var(--ak-border);
    border-radius: 0.5rem;
    color: var(--ak-text-soft);
    background: var(--ak-surface-high);
    font-size: 0.75rem;
}

.job-feed {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0.3rem 1rem;
    list-style: none;
}

.job-feed li {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
    padding-block: 0.9rem;
    border-bottom: 1px solid rgb(255 255 255 / 5%);
}

.job-feed li:last-child {
    border-bottom: 0;
}

.job-state {
    width: 0.6rem;
    height: 0.6rem;
    margin-top: 0.25rem;
    border: 2px solid var(--ak-muted);
    border-radius: 50%;
}

.job-state--running { border-color: var(--ak-info); box-shadow: 0 0 0 0.3rem rgb(121 184 255 / 8%); }
.job-state--complete { border-color: var(--ak-positive); background: var(--ak-positive); }
.job-state--waiting { border-color: var(--ak-warning); }

.job-feed li > div {
    display: grid;
}

.job-feed strong {
    font-size: 0.75rem;
}

.job-feed small {
    margin: 0.2rem 0 0.55rem;
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.design-reference {
    padding-bottom: 3rem;
}

.reference-section {
    padding-block: 2.5rem;
    border-top: 1px solid var(--ak-border);
}

.reference-section > h2 {
    margin-bottom: 1.4rem;
    font-size: 1.5rem;
}

.swatch-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.65rem;
}

.swatch-grid > div {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--ak-border);
    border-radius: 0.75rem;
    background: var(--ak-surface);
}

.swatch-grid span {
    height: 5rem;
    border-bottom: 1px solid var(--ak-border);
}

.swatch-grid strong,
.swatch-grid small {
    padding-inline: 0.65rem;
}

.swatch-grid strong {
    padding-top: 0.55rem;
    font-size: 0.75rem;
}

.swatch-grid small {
    padding-bottom: 0.6rem;
    color: var(--ak-muted);
    font-family: var(--ak-font-mono);
    font-size: 0.75rem;
}

.type-specimens {
    display: grid;
    gap: 1rem;
}

.type-specimens > div {
    display: grid;
    grid-template-columns: 8rem 1fr;
    align-items: baseline;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgb(255 255 255 / 5%);
}

.type-specimens small {
    color: var(--ak-muted);
    font-family: var(--ak-font-mono);
    font-size: 0.75rem;
}

.type-specimens > div:first-child strong {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.06em;
    line-height: 1;
}

.type-specimens h3 {
    font-size: 2.5rem;
}

.type-specimens p {
    max-width: 50rem;
    margin: 0;
    color: var(--ak-muted);
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.reference-card {
    min-width: 0;
    padding: 1.2rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
}

.reference-card > h3 {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.button-row,
.status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.form-stack {
    display: grid;
    gap: 0.8rem;
}

.form-stack > h3 {
    margin-bottom: 0.2rem;
}

.form-stack > label:not(.check-control) {
    display: grid;
    gap: 0.35rem;
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.form-stack input[type="text"],
.form-stack select {
    min-height: 2.75rem;
    padding-inline: 0.75rem;
    border: 1px solid var(--ak-border);
    border-radius: 0.65rem;
    background: var(--ak-canvas-soft);
}

.check-control {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--ak-text-soft);
    font-size: 0.75rem;
}

.check-control input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--ak-brand);
}

.field-hint {
    margin: 0;
    color: var(--ak-muted);
    font-size: 0.8125rem;
}

.feedback {
    display: flex;
    gap: 0.65rem;
    padding: 0.75rem;
    border: 1px solid var(--ak-border);
    border-radius: 0.7rem;
}

.feedback + .feedback {
    margin-top: 0.6rem;
}

.feedback > span {
    display: grid;
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 850;
}

.feedback strong {
    font-size: 0.75rem;
}

.feedback p {
    margin: 0.15rem 0 0;
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.feedback--success { border-color: rgb(102 217 183 / 18%); background: rgb(102 217 183 / 4%); }
.feedback--success > span { color: #123127; background: var(--ak-positive); }
.feedback--warning { border-color: rgb(242 201 109 / 18%); background: rgb(242 201 109 / 4%); }
.feedback--warning > span { color: #34290f; background: var(--ak-warning); }

.skeleton-card {
    display: grid;
    gap: 0.6rem;
}

.skeleton-card span,
.skeleton-card i {
    display: block;
    border-radius: 0.5rem;
    background: linear-gradient(90deg, #202630 25%, #2b323d 50%, #202630 75%);
    background-size: 200% 100%;
    animation: skeleton-shift 1.6s ease-in-out infinite;
}

.skeleton-card span { height: 9rem; }
.skeleton-card i { width: 70%; height: 0.7rem; }
.skeleton-card i:nth-child(3) { width: 45%; }
.skeleton-card i:nth-child(4) { width: 25%; }

@keyframes skeleton-shift {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

.empty-state {
    display: grid;
    place-items: center;
    text-align: center;
}

.empty-state__icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border: 1px solid var(--ak-border);
    border-radius: 50%;
    color: var(--ak-brand);
    background: var(--ak-canvas-soft);
    font-size: 1.4rem;
}

.empty-state h3 {
    margin-top: 0.8rem;
}

.empty-state p {
    margin: 0.35rem 0 0.8rem;
    color: var(--ak-muted);
    font-size: 0.75rem;
}

#blazor-error-ui {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 5000;
    display: none;
    padding: 1rem 1.25rem;
    border: 1px solid rgb(255 127 133 / 50%);
    border-radius: var(--ak-radius-md);
    color: var(--ak-text);
    background: #431d22;
    box-shadow: var(--ak-shadow-high);
}

#blazor-error-ui .dismiss {
    float: right;
    border: 0;
    color: inherit;
    background: transparent;
    font-size: 1.25rem;
}

.valid.modified:not([type="checkbox"]) {
    outline: 2px solid var(--ak-positive);
}

.invalid {
    outline: 2px solid var(--ak-danger);
}

.validation-message {
    color: #ffacb0;
    font-size: 0.8125rem;
}

.category-landing {
    --ak-category-card-edge-gap: 1.625rem;
    --ak-category-heading-card-gap: 1.375rem;
    padding-bottom: 1rem;
}

.sale-landing__intro,
.category-landing {
    --ak-category-section-gap: 1.25rem;
}

.sale-landing__intro,
.category-landing__intro {
    padding-block: var(--ak-breadcrumb-entry-gap) var(--ak-category-section-gap);
}

.category-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: var(--ak-surface-gap);
    color: var(--ak-muted-strong);
    font-size: 0.8125rem;
}

.category-breadcrumbs a {
    color: var(--ak-muted);
    text-decoration: none;
}

.category-breadcrumbs a:hover {
    color: var(--ak-text);
}

.sale-landing__heading,
.category-landing__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: clamp(2rem, 6vw, 7rem);
}

.sale-landing__heading h1,
.category-landing__heading h1 {
    max-width: 13ch;
    font-size: clamp(3rem, 6vw, 6.25rem);
    line-height: 0.94;
}

.sale-landing__heading > div:first-child > p:last-child,
.category-landing__heading > div:first-child > p:last-child {
    max-width: 48rem;
    margin: 1.2rem 0 0;
    color: var(--ak-muted);
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.65;
}

.category-landing__browse,
.category-landing__products {
    border-top: 1px solid var(--ak-border);
}

.category-landing__browse {
    padding-top: var(--ak-category-section-gap);
}

.category-landing__browse > .storefront-shelf__heading {
    margin-bottom: var(--ak-category-heading-card-gap);
}

.category-landing__products {
    padding-top: var(--ak-category-section-gap);
    margin-top: var(--ak-category-card-edge-gap);
}

.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.subcategory-card {
    position: relative;
    display: grid;
    min-height: 10.5rem;
    align-content: end;
    gap: 0.55rem;
    padding: 1.25rem 3rem 1.25rem 1.25rem;
    overflow: hidden;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-lg);
    color: var(--ak-text);
    background:
        radial-gradient(circle at 85% 15%, rgb(255 180 93 / 11%), transparent 38%),
        linear-gradient(145deg, rgb(255 255 255 / 4%), transparent 65%),
        var(--ak-surface);
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.subcategory-card:hover,
.subcategory-card.is-active {
    border-color: var(--ak-border-strong);
    background-color: var(--ak-surface-raised);
    transform: translateY(-0.15rem);
}

.subcategory-card span {
    font-size: 1.05rem;
    font-weight: 780;
}

.subcategory-card small {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ak-muted);
    font-size: 0.75rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.subcategory-card i {
    position: absolute;
    right: 1.15rem;
    bottom: 1.15rem;
    color: var(--ak-brand);
    font-style: normal;
}

.catalog-pagination {
    display: grid;
    grid-template-columns: minmax(8rem, 1fr) auto minmax(8rem, 1fr);
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ak-border);
    color: var(--ak-muted);
    font-size: 0.8125rem;
}

.catalog-pagination__direction {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    min-height: 2.75rem;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    color: var(--ak-text-soft);
    background: var(--ak-surface);
    text-decoration: none;
}

.catalog-pagination__direction:last-child {
    justify-self: end;
}

a.catalog-pagination__direction:hover {
    border-color: var(--ak-border-strong);
    color: var(--ak-text);
}

.catalog-pagination__direction.is-disabled {
    color: var(--ak-muted-strong);
    opacity: 0.55;
}

.catalog-pagination__status {
    text-align: center;
}

.catalog-pagination__status strong {
    color: var(--ak-text);
}

@media (max-width: 92rem) {
    .site-header__inner {
        grid-template-columns: minmax(12rem, 1fr) minmax(20rem, 42rem) minmax(max-content, 1fr);
    }

    .product-grid--four {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-grid--catalog {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .swatch-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .admin-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 75rem) {
    .home-hero {
        grid-template-columns: minmax(0, 1fr) minmax(25rem, 0.85fr);
        gap: 3rem;
    }

    .home-hero h1 {
        font-size: clamp(3.6rem, 7vw, 5.6rem);
    }

    .platform-rail__inner {
        grid-template-columns: repeat(5, minmax(7rem, 1fr));
        padding-block: 0.8rem;
    }

    .platform-rail__inner > p {
        grid-column: 1 / -1;
        text-align: center;
    }

    .product-grid--three,
    .product-grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-grid--five {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .product-grid--catalog {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .catalog-control-bar {
        flex-wrap: wrap;
    }

    .product-detail {
        grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
    }

    .account-shell,
    .admin-shell {
        grid-template-columns: 12rem minmax(0, 1fr);
    }

    .library-item {
        grid-template-columns: 7rem minmax(0, 1fr) auto;
    }

    .library-item__version {
        display: none;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 64rem) {
    :root {
        --ak-gutter: 1.5rem;
    }

    .header-actions {
        gap: .5rem;
    }

    .site-header__inner {
        grid-template-columns: auto minmax(13rem, 1fr) auto;
    }

    .desktop-navigation {
        display: none;
    }

    .mobile-navigation {
        display: block;
    }

    .product-grid--five {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-information {
        scroll-margin-top: 5rem;
    }

    .site-footer__grid {
        grid-template-columns: 1.5fr repeat(2, 1fr);
    }

    .site-footer__grid > div:last-child {
        grid-column: 2;
    }

    .home-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .storefront-home__intro {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .storefront-home__intro > p {
        max-width: 50rem;
    }

    .quick-categories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .future-page__notes {
        grid-template-columns: 1fr auto;
    }

    .future-page__notes > p {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .home-hero__copy {
        max-width: 52rem;
    }

    .home-hero__visual {
        width: min(100%, 46rem);
        margin-inline: auto;
    }

    .category-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-panel--wide {
        grid-column: span 1;
    }

    .future-section__inner {
        grid-template-columns: 1fr 22rem;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-filter-shell {
        position: static;
    }

    .catalog-filter-shell > .filter-disclosure-toggle {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .catalog-filter-shell > .filter-disclosure {
        display: inline-flex;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .catalog-filter-shell > .filter-disclosure::after {
        content: "+";
        color: var(--ak-brand-soft);
        font-size: 1rem;
    }

    .catalog-filter-shell > .filter-disclosure-toggle:checked + .filter-disclosure::after {
        content: "−";
    }

    .catalog-filter-shell > .filter-disclosure-toggle:not(:checked) ~ .catalog-filters {
        display: none;
    }

    .catalog-filter-shell > .filter-disclosure-toggle:checked ~ .catalog-filters {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .catalog-filter-shell > .filter-disclosure-toggle:focus-visible + .filter-disclosure {
        outline: 3px solid var(--ak-brand);
        outline-offset: 3px;
    }

    .product-detail,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .purchase-panel,
    .order-summary {
        position: static;
    }

    .product-copy-grid,
    .package-contents,
    .product-section-card {
        grid-template-columns: 1fr;
    }

    .animation-preview,
    .product-gallery__empty {
        min-height: 20rem;
    }

    .account-shell,
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .account-sidebar,
    .admin-sidebar {
        position: static;
    }

    .account-sidebar nav,
    .admin-sidebar nav {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .admin-environment {
        display: none;
    }
}

@media (max-width: 48rem) {
    :root {
        --ak-gutter: 1rem;
    }

    h1 {
        font-size: clamp(2.8rem, 13vw, 4.2rem);
    }

    .site-header__inner {
        grid-template-areas:
            "brand actions"
            "search search";
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.55rem;
        min-height: 0;
        padding-block: 0.65rem;
    }

    .site-header__inner > .brand {
        grid-area: brand;
    }

    .site-header__inner > .header-search {
        grid-area: search;
    }

    .site-header__inner > .header-actions {
        grid-area: actions;
    }

    .brand-wordmark small {
        display: none;
    }

    .header-search kbd {
        display: none;
    }

    .header-search svg {
        margin-left: 0.6rem;
    }

    .header-search input {
        padding-inline: 0.55rem;
    }

    #categories,
    #platforms,
    #future-ecosystems {
        scroll-margin-top: 9rem;
    }

    .header-actions {
        justify-self: end;
        gap: .125rem;
    }

    .product-information {
        scroll-margin-top: 7rem;
    }

    .site-footer {
        margin-top: 5rem;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding-block: 3rem 2rem;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__grid > div:last-child {
        grid-column: auto;
    }

    .site-footer__legal {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-hero {
        padding-block: 3.5rem 4rem;
    }

    .storefront-home {
        padding-top: 1.75rem;
    }

    .storefront-home__intro h1 {
        font-size: clamp(2.5rem, 12vw, 3.7rem);
    }

    .quick-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .storefront-shelf__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.65rem;
    }

    .storefront-empty-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .storefront-empty-row .text-link {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .storefront-principles,
    .future-page__grid,
    .future-page__notes {
        grid-template-columns: 1fr;
    }

    .storefront-principles p {
        border-right: 0;
        border-bottom: 1px solid var(--ak-border);
    }

    .storefront-principles p:last-child {
        border-bottom: 0;
    }

    .future-page {
        padding-top: 3rem;
    }

    .future-page__intro h1 {
        font-size: clamp(2.8rem, 13vw, 4.2rem);
    }

    .future-page__grid > article {
        min-height: 23rem;
    }

    .future-page__notes > p {
        grid-column: auto;
        grid-row: auto;
    }

    .future-page__notes .button {
        justify-self: start;
    }

    .home-hero h1 {
        font-size: clamp(3rem, 15vw, 4.7rem);
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }

    .floating-note--top {
        top: -0.5rem;
        right: 0;
    }

    .floating-note--bottom {
        bottom: -1rem;
        left: 0;
    }

    .catalog-empty-state {
        grid-template-columns: 1fr;
    }

    .catalog-empty-state__index {
        font-size: 4rem;
    }

    .catalog-empty-state .button {
        justify-self: start;
    }

    .platform-rail__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .platform-rail__inner > p,
    .platform-rail__inner > span:last-child {
        grid-column: 1 / -1;
    }

    .section-heading,
    .page-intro,
    .account-heading,
    .admin-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-grid--three,
    .product-grid--four,
    .category-bento,
    .confidence-panel ul,
    .library-stats,
    .reference-grid,
    .admin-metrics {
        grid-template-columns: 1fr;
    }

    .product-grid--five {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-panel {
        min-height: 15rem;
    }

    .future-section__inner {
        grid-template-columns: 1fr;
    }

    .future-platform-list {
        grid-template-columns: 1fr;
    }

    .future-orbits {
        width: min(100%, 21rem);
    }

    .confidence-panel > div:first-child {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-intro__stat {
        width: 100%;
    }

    .page-intro--catalog {
        padding-block: 2rem 1.5rem;
    }

    .catalog-control-bar {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .catalog-control-bar__filters,
    .catalog-control-bar__ordering {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        margin-left: 0;
    }

    .catalog-dropdown,
    .catalog-dropdown__trigger {
        width: 100%;
    }

    .catalog-dropdown__panel,
    .catalog-dropdown--publisher .catalog-dropdown__panel {
        right: auto;
        left: 0;
        width: max-content;
        max-width: min(22rem, calc(100vw - 2rem));
    }

    .catalog-filters {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .package-contents {
        padding: 1.5rem;
    }

    .package-option-list > div {
        grid-template-columns: auto 1fr;
    }

    .package-option-list b {
        grid-column: 2;
        grid-row: auto;
    }

    .product-detail {
        gap: 1.25rem;
        padding-bottom: var(--ak-surface-gap);
    }

    .purchase-panel {
        padding: 1.25rem;
    }

    .purchase-panel h1 {
        font-size: 1.5rem;
    }

    .product-section-card {
        gap: 1.5rem;
        padding: 1.25rem;
    }

    .product-offer-list > div {
        grid-template-columns: 1fr;
    }

    .product-detail-list .option-state,
    .product-offer-list b {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }

    .product-detail-list strong {
        white-space: normal;
    }

    .compatibility-table th,
    .compatibility-table td {
        padding-right: 0.5rem;
    }

    .product-changelog {
        grid-template-columns: 1fr;
        gap: var(--ak-surface-gap);
    }

    .product-releases-nav {
        display: flex;
        flex-wrap: wrap;
        position: static;
        max-height: 12rem;
    }

    .product-changelog time {
        justify-self: start;
    }

    .cart-item {
        grid-template-columns: 6.5rem minmax(0, 1fr);
    }

    .cart-item__identity {
        min-height: 6.5rem;
    }

    .cart-item > strong {
        grid-column: 2;
    }

    .account-sidebar nav,
    .admin-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .compact-search,
    .compact-search input {
        width: 100%;
        min-width: 0;
    }

    .library-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .library-item {
        grid-template-columns: 5.5rem minmax(0, 1fr);
    }

    .library-item__actions {
        grid-column: 1 / -1;
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .admin-heading > div:last-child {
        width: 100%;
    }

    .admin-heading .button {
        flex: 1;
    }

    .swatch-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .type-specimens > div {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 36rem) {
    .catalog-intro-description {
        min-block-size: 4.65em;
    }
}

@media (max-width: 30rem) {
    .catalog-intro-description {
        min-block-size: 6.2em;
    }

    .catalog-control-bar__filters,
    .catalog-control-bar__ordering {
        grid-template-columns: 1fr;
    }

    .catalog-dropdown__panel,
    .catalog-dropdown--publisher .catalog-dropdown__panel {
        width: 100%;
        min-width: 100%;
        max-width: calc(100vw - 2rem);
    }

    .product-grid--five {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .product-grid--five .product-card {
        display: grid;
        min-height: 8.5rem;
        grid-template-columns: minmax(7.75rem, 38%) minmax(0, 1fr);
    }

    .product-grid--five .product-card:hover {
        transform: none;
    }

    .product-grid--five .product-card__media {
        aspect-ratio: auto;
        min-height: 8.5rem;
        border-right: 1px solid var(--ak-border);
        border-bottom: 0;
    }

    .product-grid--five .product-artwork--compact {
        height: 100%;
        min-height: 8.5rem;
        aspect-ratio: auto;
    }

    .product-grid--five .product-artwork--compact .artwork-copy {
        right: 0.65rem;
        bottom: 0.65rem;
        left: 0.65rem;
    }

    .product-grid--five .product-artwork--compact .artwork-copy strong {
        font-size: 1rem;
        line-height: 1.05;
    }

    .product-grid--five .product-artwork--compact .artwork-meta {
        display: none;
    }

    .product-grid--five .product-card__body {
        display: flex;
        min-width: 0;
        flex-direction: column;
        padding: 0.8rem 0.85rem;
    }

    .product-grid--five .product-card__meta {
        gap: 0.4rem;
    }

    .product-grid--five .product-card h3 {
        display: -webkit-box;
        margin-top: 0.55rem;
        overflow: hidden;
        font-size: 1rem;
        line-height: 1.25;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
    }

    .product-grid--five .product-card__summary,
    .product-grid--five .product-badge {
        display: none;
    }

    .product-grid--five .product-card__rating {
        gap: 0.25rem;
        font-size: 0.75rem;
    }

    .product-grid--five .product-card__stars {
        font-size: 0.875rem;
        letter-spacing: 0;
    }

    .product-grid--five .product-card__footer {
        align-items: center;
        margin-top: auto;
        padding-top: 0.55rem;
        border-top: 0;
    }

    .product-grid--five .product-price {
        font-size: 1rem;
    }

    .hero-actions,
    .hero-actions .button,
    .admin-heading > div:last-child {
        width: 100%;
    }

    .floating-note {
        position: relative;
        inset: auto;
        width: 100%;
        margin-top: 0.55rem;
    }

    .home-hero__visual {
        padding: 0;
    }

    .release-preview {
        min-height: 29rem;
        padding: 1.1rem;
    }

    .release-preview__visual {
        min-height: 17rem;
    }

    .release-preview__facts {
        gap: 0.5rem;
    }

    .release-preview__node--source {
        left: 0;
    }

    .release-preview__node--runtime {
        right: 0;
    }

    .release-preview__node--release {
        right: 1%;
    }

    .gallery-thumbnails {
        grid-auto-columns: 7.5rem;
    }

    .animation-preview,
    .product-gallery__empty {
        min-height: 13rem;
    }

    .cart-item {
        grid-template-columns: 4rem minmax(0, 1fr);
    }

    .cart-item__art {
        width: 8rem;
    }

    .cart-item > strong { grid-column: 2; text-align: left; }

    .library-item__actions {
        grid-column: 1;
    }

    .library-item {
        grid-template-columns: 1fr;
    }

    .library-item__art {
        width: 8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .future-orbits__ring {
        animation: none;
        transform: translate(-50%, -50%) rotate(var(--orbit-static-angle));
    }

    .future-orbits__satellite i {
        animation: none;
        transform: rotate(var(--orbit-static-counter-angle));
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@container catalog-products (max-width: 77.5rem) {
    .product-grid--catalog {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@container catalog-products (max-width: 61.75rem) {
    .product-grid--catalog {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@container catalog-products (max-width: 46rem) {
    .product-grid--catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@container catalog-products (max-width: 30.25rem) {
    .product-grid--catalog {
        grid-template-columns: 1fr;
    }
}

.admin-auth-shell {
    display: grid;
    min-height: min(720px, 72vh);
    place-items: center;
    padding-block: clamp(3rem, 8vw, 7rem);
}

.admin-auth-card {
    width: min(100%, 35rem);
    padding: clamp(1.5rem, 4vw, 2.75rem);
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-xl);
    background: color-mix(in srgb, var(--ak-surface-raised) 94%, transparent);
    box-shadow: var(--ak-shadow);
}

.admin-auth-card h1 {
    margin-block: 0.35rem 0.85rem;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.admin-auth-card > p:not(.eyebrow) {
    margin-block: 0 1.5rem;
    color: var(--ak-muted);
}

.admin-auth-form {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.admin-auth-form label {
    color: var(--ak-text);
    font-size: 0.875rem;
    font-weight: 700;
}

.admin-auth-form input {
    min-height: 3rem;
    padding-inline: 0.9rem;
    border: 1px solid var(--ak-border-strong);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
    color: var(--ak-text);
    font: inherit;
}

.admin-auth-form input:focus-visible {
    border-color: var(--ak-brand);
    outline: 3px solid color-mix(in srgb, var(--ak-brand) 28%, transparent);
    outline-offset: 2px;
}

.admin-auth-form .button {
    margin-top: 0.75rem;
}

.admin-auth-message {
    margin-block: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid color-mix(in srgb, var(--ak-info) 55%, var(--ak-border));
    border-radius: var(--ak-radius-md);
    background: color-mix(in srgb, var(--ak-info) 12%, var(--ak-surface));
    color: var(--ak-text);
    font-size: 0.875rem;
}

.admin-auth-message--error {
    border-color: color-mix(in srgb, var(--ak-danger) 65%, var(--ak-border));
    background: color-mix(in srgb, var(--ak-danger) 12%, var(--ak-surface));
}

.identity-auth-shell {
    display: grid;
    min-height: min(720px, 72vh);
    place-items: center;
    padding-block: clamp(3rem, 8vw, 7rem);
}

.identity-auth-card {
    width: min(100%, 36rem);
    padding: clamp(1.5rem, 4vw, 2.75rem);
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-xl);
    background: color-mix(in srgb, var(--ak-surface-raised) 94%, transparent);
    box-shadow: var(--ak-shadow);
}

.identity-auth-card--wide {
    width: min(100%, 48rem);
}

.identity-auth-card h1,
.policy-document h1 {
    margin-block: 0.35rem 0.85rem;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.identity-auth-card > p:not(.eyebrow),
.policy-document > p:not(.eyebrow),
.account-panel > p:not(.eyebrow) {
    margin-block: 0 1.5rem;
    color: var(--ak-muted);
}

.identity-auth-form {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.identity-auth-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--ak-text);
    font-size: 0.875rem;
    font-weight: 700;
}

.identity-form-field {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.identity-form-field > legend {
    margin-bottom: 0.45rem;
    padding: 0;
    color: var(--ak-text);
    font-size: 0.875rem;
    font-weight: 700;
}

.identity-auth-form input,
.identity-auth-form select {
    width: 100%;
    min-height: 3rem;
    padding-inline: 0.9rem;
    border: 1px solid var(--ak-border-strong);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
    color: var(--ak-text);
    font: inherit;
}

.identity-auth-form input[readonly] {
    color: var(--ak-muted-strong);
    background: var(--ak-canvas-soft);
}

.identity-auth-form input:focus-visible,
.identity-auth-form select:focus-visible {
    border-color: var(--ak-brand);
    outline: 3px solid color-mix(in srgb, var(--ak-brand) 28%, transparent);
    outline-offset: 2px;
}

.identity-password-control {
    display: grid;
    min-width: 0;
    gap: 0.45rem;
}

.identity-password-field {
    position: relative;
    min-width: 0;
}

.identity-auth-form .identity-password-field input,
.admin-auth-form .identity-password-field input {
    width: 100%;
    padding-right: 3.6rem;
}

.identity-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.3rem;
    display: grid;
    width: 2.625rem;
    min-height: 2.625rem;
    padding: 0;
    border: 1px solid transparent;
    border-radius: calc(var(--ak-radius-md) - 0.2rem);
    background: transparent;
    color: var(--ak-muted-strong);
    cursor: pointer;
    place-items: center;
    transform: translateY(-50%);
    transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.identity-password-toggle:hover {
    border-color: var(--ak-border);
    background: var(--ak-surface-raised);
    color: var(--ak-text);
}

.identity-password-toggle:focus-visible {
    border-color: var(--ak-brand);
    outline: 3px solid color-mix(in srgb, var(--ak-brand) 28%, transparent);
    outline-offset: 1px;
}

.identity-password-toggle__icon {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.identity-password-toggle__icon--hide,
.identity-password-toggle[aria-pressed="true"] .identity-password-toggle__icon--show {
    display: none;
}

.identity-password-toggle[aria-pressed="true"] .identity-password-toggle__icon--hide {
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .identity-password-toggle {
        transition: none;
    }
}

.form-dropdown {
    width: 100%;
}

.form-dropdown .catalog-dropdown__trigger {
    width: 100%;
    min-height: 3rem;
}

.form-dropdown .catalog-dropdown__panel {
    width: 100%;
}

.identity-auth-form .form-dropdown__option {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.65rem;
    cursor: pointer;
}

.identity-auth-form .form-dropdown__option:has(input:checked) {
    background: rgb(255 255 255 / 8%);
}

.identity-auth-form .form-dropdown__option:focus-within {
    outline: 2px solid var(--ak-brand);
    outline-offset: -2px;
}

.identity-auth-form .form-dropdown__option input {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    margin: 0;
    padding: 0;
    clip-path: inset(50%);
    opacity: 0;
}

.form-dropdown__option > span {
    min-width: 0;
}

.form-dropdown__option input:checked ~ span {
    font-weight: 760;
}

.form-dropdown__check {
    color: var(--ak-brand-soft);
    opacity: 0;
}

.form-dropdown__option input:checked ~ .form-dropdown__check {
    opacity: 1;
}

.identity-auth-form .button {
    margin-top: 0.5rem;
}

.identity-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.identity-field-help {
    margin: -0.35rem 0 0;
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.identity-policy-check {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
}

.identity-policy-check input {
    width: 1.2rem;
    min-height: 1.2rem;
    margin-top: 0.15rem;
    accent-color: var(--ak-brand);
}

.identity-policy-check a,
.identity-auth-links a {
    color: var(--ak-brand-soft);
}

.identity-auth-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
    margin-top: 1.25rem;
    font-size: 0.8125rem;
}

.identity-auth-message {
    margin-block: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid color-mix(in srgb, var(--ak-info) 55%, var(--ak-border));
    border-radius: var(--ak-radius-md);
    background: color-mix(in srgb, var(--ak-info) 12%, var(--ak-surface));
    color: var(--ak-text);
    font-size: 0.875rem;
}

.identity-auth-message--error {
    border-color: color-mix(in srgb, var(--ak-danger) 65%, var(--ak-border));
    background: color-mix(in srgb, var(--ak-danger) 12%, var(--ak-surface));
}

.identity-auth-message--success {
    border-color: color-mix(in srgb, var(--ak-positive) 55%, var(--ak-border));
    background: color-mix(in srgb, var(--ak-positive) 12%, var(--ak-surface));
}

.policy-document {
    width: min(100%, 60rem);
    padding-block: clamp(3rem, 7vw, 6rem);
}

.policy-document > p:not(.eyebrow) {
    max-width: 52rem;
    font-size: 1rem;
    line-height: 1.8;
}

.account-panel {
    margin-top: 2rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-lg);
    background: var(--ak-surface);
}

.account-panel--warning {
    border-color: color-mix(in srgb, var(--ak-warning) 35%, var(--ak-border));
}

.account-panel h2 {
    margin-block: 0.35rem 0.75rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.account-panel__heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.account-panel__heading > span {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    color: var(--ak-positive);
    background: color-mix(in srgb, var(--ak-positive) 10%, transparent);
    font-size: 0.75rem;
    font-weight: 750;
    white-space: nowrap;
}

.account-metadata {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ak-border);
}

.account-metadata > div {
    display: grid;
    gap: 0.25rem;
}

.account-metadata dt {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.account-metadata dd {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
}

.account-security-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.account-security-grid .account-panel {
    height: fit-content;
}

.account-empty-state {
    display: grid;
    justify-items: start;
    min-height: 19rem;
    align-content: center;
}

.account-empty-state > p:not(.eyebrow) {
    max-width: 45rem;
}

.account-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
    color: var(--ak-muted);
    font-size: 0.8125rem;
}

.account-breadcrumbs a {
    color: var(--ak-brand-soft);
}

.account-heading--detail {
    align-items: center;
}

.account-heading--detail > div {
    min-width: 0;
    max-width: 100%;
}

.account-heading--detail h1 {
    overflow-wrap: anywhere;
}

.account-heading--detail .button {
    flex: 0 0 auto;
}

.account-heading__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.spine-editor-heading {
    gap: 1.5rem;
}

.spine-editor-boundary {
    display: grid;
    grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: clamp(1rem, 3vw, 2.5rem);
    border-color: color-mix(in srgb, var(--ak-brand) 32%, var(--ak-border));
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--ak-brand) 7%, transparent), transparent 55%),
        var(--ak-surface);
}

.spine-editor-boundary h2,
.spine-editor-boundary p {
    margin: 0;
}

.spine-editor-boundary h2 {
    margin-top: 0.35rem;
}

.spine-editor-boundary > p {
    color: var(--ak-muted-strong);
    font-size: 0.875rem;
    line-height: 1.7;
}

.spine-editor-workspace {
    min-width: 0;
    padding: clamp(0.75rem, 2vw, 1.25rem);
    overflow: hidden;
}

.spine-runtime-editor-island {
    min-width: 0;
}

.account-state-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--ak-border);
    border-radius: 999px;
    color: var(--ak-muted-strong);
    background: var(--ak-surface-high);
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
}

.account-state-badge--positive {
    border-color: color-mix(in srgb, var(--ak-positive) 38%, var(--ak-border));
    color: var(--ak-positive);
    background: color-mix(in srgb, var(--ak-positive) 9%, var(--ak-surface));
}

.account-state-badge--info {
    border-color: color-mix(in srgb, var(--ak-info) 38%, var(--ak-border));
    color: var(--ak-info);
    background: color-mix(in srgb, var(--ak-info) 9%, var(--ak-surface));
}

.account-state-badge--warning {
    border-color: color-mix(in srgb, var(--ak-warning) 38%, var(--ak-border));
    color: var(--ak-warning);
    background: color-mix(in srgb, var(--ak-warning) 9%, var(--ak-surface));
}

.account-state-badge--neutral {
    color: var(--ak-muted-strong);
}

.entitlement-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.entitlement-summary > div {
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-canvas-soft);
}

.entitlement-summary span,
.account-record-list li > span,
.account-record-list li div > span {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.entitlement-summary strong {
    font-size: 0.875rem;
}

.account-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.account-record-list {
    display: grid;
    gap: 0;
    margin: 1rem 0 0;
    padding: 0;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    list-style: none;
    overflow: hidden;
}

.account-record-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.6rem;
    padding: 0.75rem;
    border-top: 1px solid var(--ak-border);
}

.account-record-list li:first-child {
    border-top: 0;
}

.account-record-list li > div {
    display: grid;
    gap: 0.15rem;
}

.account-record-list li > span {
    text-align: right;
}

.customer-record-table td > small,
.customer-record-table td > strong {
    display: block;
}

.account-boundary-note {
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--ak-border);
    color: var(--ak-muted);
    font-size: 0.8125rem;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.account-actions form {
    display: contents;
}

.account-download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
    gap: var(--ak-surface-gap);
    margin-top: var(--ak-surface-gap);
}

.account-download-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    gap: 1rem;
    background: color-mix(in srgb, var(--ak-surface-raised) 82%, transparent);
}

.account-download-option strong,
.account-download-option span {
    display: block;
}

.account-download-option span {
    margin-top: 0.35rem;
    color: var(--ak-muted);
    font-size: 0.875rem;
    line-height: 1.55;
}

.account-download-option form {
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.account-download-option .button {
    width: fit-content;
}

.runtime-alpha-choice {
    display: grid;
    gap: 0.5rem;
}

.runtime-alpha-choice select {
    min-height: 2.75rem;
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--ak-border);
    border-radius: 0.375rem;
    color: var(--ak-text);
    background: var(--ak-surface);
    font: inherit;
    font-size: 0.875rem;
}

.runtime-alpha-help {
    color: var(--ak-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-block: 0.75rem;
}

.account-download-notice {
    display: grid;
    padding: 0.9rem 1rem;
    border: 1px solid color-mix(in srgb, var(--ak-warning) 52%, var(--ak-border));
    border-radius: var(--ak-radius-md);
    color: var(--ak-text);
    background: color-mix(in srgb, var(--ak-warning) 9%, var(--ak-surface));
    gap: 0.2rem;
}

.account-download-notice span {
    color: var(--ak-muted);
    font-size: 0.875rem;
}

.account-download-notice[hidden] {
    display: none;
}

[data-protected-download-status] .asseteka-enhanced-toast__dismiss {
    width: 2.625rem;
    height: 2.625rem;
}

.account-notice {
    display: grid;
    gap: 0.2rem;
    margin-bottom: 1.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
}

.account-notice span {
    color: var(--ak-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.account-notice--success {
    border-color: color-mix(in srgb, var(--ak-success) 52%, var(--ak-border));
    background: color-mix(in srgb, var(--ak-success) 9%, var(--ak-surface));
}

.account-notice--warning {
    border-color: color-mix(in srgb, var(--ak-warning) 52%, var(--ak-border));
    background: color-mix(in srgb, var(--ak-warning) 9%, var(--ak-surface));
}

.admin-order-refund-item {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.75rem;
    min-width: 0;
}

.admin-order-refund-item form,
.admin-order-refund-item label {
    display: grid;
    gap: 0.4rem;
    min-width: 0;
}

.admin-order-refund-item input,
.admin-order-refund-item .button {
    min-width: 0;
    width: 100%;
    white-space: normal;
}

.admin-order-refund-item label > span {
    font-size: 0.75rem;
}

.admin-order-refund-item > span > small {
    display: block;
    margin-top: 0.25rem;
    color: var(--ak-muted);
}

.account-list-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-block: 2rem 1rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
}

.account-list-summary strong {
    color: var(--ak-brand);
    font-family: var(--ak-font-mono);
    font-size: 1.2rem;
}

.account-list-summary span {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.account-order-list,
.customer-order-lines {
    display: grid;
    gap: 0.75rem;
}

.account-order-card,
.customer-order-line {
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-lg);
    background: var(--ak-surface);
    overflow: hidden;
}

.account-order-card__heading,
.customer-order-line__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--ak-border);
}

.account-order-card__heading > div,
.customer-order-line__heading > div {
    display: grid;
    gap: 0.15rem;
}

.account-order-card__heading span:not(.account-state-badge),
.customer-order-line__heading span {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.account-order-card__heading h2,
.customer-order-line__heading h3 {
    margin: 0;
    font-size: 1rem;
}

.account-order-card__heading h2 a {
    text-decoration: none;
}

.account-order-card__details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.account-order-card__details > div {
    display: grid;
    align-content: start;
    gap: 0.2rem;
}

.account-order-card__details span,
.account-order-card__details small {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.account-order-card__details strong {
    font-size: 0.875rem;
}

.account-order-card__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 2.75rem;
    padding-inline: 1rem;
    border-top: 1px solid var(--ak-border);
    color: var(--ak-brand-soft);
    font-size: 0.8125rem;
    font-weight: 750;
    text-decoration: none;
}

.account-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    color: var(--ak-muted);
    font-size: 0.8125rem;
}

.account-pagination .button:last-child {
    justify-self: end;
}

.customer-order-totals {
    display: grid;
    gap: 0;
    margin: 1rem 0 0;
    padding: 0;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    overflow: hidden;
}

.customer-order-totals > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.9rem;
    border-top: 1px solid var(--ak-border);
}

.customer-order-totals > div:first-child {
    border-top: 0;
}

.customer-order-totals dt {
    color: var(--ak-muted);
}

.customer-order-totals dd {
    margin: 0;
    font-weight: 750;
}

.customer-order-totals__total {
    background: var(--ak-surface-high);
    font-size: 1rem;
}

.account-metadata--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-order-line__heading > strong {
    white-space: nowrap;
}

.customer-order-refund {
    align-items: center;
    border-top: 1px solid var(--ak-border);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: 0 1.25rem;
    padding: 1rem 0 1.25rem;
}

.customer-order-refund > div {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

.customer-order-refund span,
.customer-order-refund-note {
    color: var(--ak-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.customer-order-refund form {
    flex: 0 0 auto;
}

.customer-order-refund-note {
    border-top: 1px solid var(--ak-border);
    margin: 0 1.25rem;
    padding: 1rem 0 1.25rem;
}

.customer-order-line > dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
}

.customer-order-line > dl > div {
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--ak-border);
}

.customer-order-line > dl dt {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.customer-order-line > dl dd {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
}

.customer-order-components {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0.8rem 1rem;
}

.customer-order-components > span {
    padding: 0.35rem 0.55rem;
    border: 1px solid var(--ak-border);
    border-radius: 999px;
    color: var(--ak-muted-strong);
    font-size: 0.75rem;
}

.customer-order-components > span:first-child {
    padding-inline: 0;
    border: 0;
    color: var(--ak-muted);
}

.customer-order-components small {
    color: var(--ak-muted);
}

@media (max-width: 48rem) {
    .identity-form-grid,
    .account-metadata,
    .account-security-grid {
        grid-template-columns: 1fr;
    }

    .identity-auth-links,
    .account-panel__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-empty-state {
        min-height: 15rem;
    }

    .account-heading--detail,
    .account-order-card__heading,
    .customer-order-line__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .account-heading--detail .button {
        width: fit-content;
    }

    .customer-order-refund {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-order-refund form {
        width: 100%;
    }

    .account-heading__actions {
        display: grid;
        width: 100%;
        justify-content: stretch;
    }

    .account-download-option {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .account-download-option form {
        width: 100%;
    }

    .spine-editor-boundary {
        grid-template-columns: 1fr;
    }

    .entitlement-summary,
    .account-detail-grid,
    .account-order-card__details,
    .account-metadata--three,
    .customer-order-line > dl {
        grid-template-columns: 1fr;
    }

    .account-record-list li {
        align-items: flex-start;
    }

    .account-pagination {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .account-pagination > span:empty {
        display: none;
    }

    .account-pagination .button:last-child {
        justify-self: center;
    }
}

@media (max-width: 30rem) {
    .library-stats {
        grid-template-columns: 1fr;
    }

    .library-item {
        grid-template-columns: 1fr;
    }

    .library-item__identity {
        min-height: 4rem;
    }

    .library-item__actions {
        grid-column: auto;
        grid-template-columns: 1fr;
    }
}

.admin-heading__actions,
.admin-sign-out {
    align-items: center;
    display: flex;
    gap: 0.65rem;
}

.admin-sign-out {
    margin: 0;
}

.admin-alert--warning {
    border-color: color-mix(in srgb, var(--ak-warning) 50%, var(--ak-border));
    background: color-mix(in srgb, var(--ak-warning) 9%, var(--ak-surface));
}

.admin-alert--success {
    border-color: color-mix(in srgb, var(--ak-positive) 50%, var(--ak-border));
    background: color-mix(in srgb, var(--ak-positive) 9%, var(--ak-surface));
}

.admin-alert--warning > span {
    color: var(--ak-warning);
    background: color-mix(in srgb, var(--ak-warning) 16%, transparent);
}

.admin-alert--success > span {
    color: var(--ak-positive);
    background: color-mix(in srgb, var(--ak-positive) 16%, transparent);
}

.asseteka-enhanced-toast {
    position: fixed;
    right: clamp(1rem, 2vw, 2rem);
    bottom: clamp(1rem, 2vw, 2rem);
    z-index: 6000;
    width: min(30rem, calc(100vw - 2rem));
    margin: 0;
    padding-right: 3.5rem;
    box-shadow: 0 1.25rem 3rem rgb(0 0 0 / 45%);
}

.asseteka-enhanced-toast__dismiss {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid var(--ak-line);
    border-radius: 50%;
    color: var(--ak-text);
    background: transparent;
    font: inherit;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    place-items: center;
}

.admin-empty-state {
    display: grid;
    gap: 0.45rem;
    padding: 1.25rem;
}

.admin-empty-state strong {
    font-size: 0.875rem;
}

.admin-empty-state p {
    margin: 0;
    color: var(--ak-muted);
    font-size: 0.8125rem;
    line-height: 1.65;
}

.admin-activity-list {
    display: grid;
    min-width: 0;
}

.admin-activity-list > a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgb(255 255 255 / 5%);
    color: inherit;
    text-decoration: none;
}

.admin-activity-list > a:last-child {
    border-bottom: 0;
}

.admin-activity-list > a:hover,
.admin-activity-list > a:focus-visible {
    background: rgb(255 255 255 / 2.5%);
}

.admin-activity-list > a > span {
    display: grid;
    min-width: 0;
    gap: 0.25rem;
}

.admin-activity-list strong,
.admin-activity-list small,
.admin-activity-list time {
    overflow-wrap: anywhere;
}

.admin-activity-list strong {
    font-size: 0.8125rem;
}

.admin-activity-list small,
.admin-activity-list time {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.admin-activity-list time {
    text-align: right;
    white-space: nowrap;
}

.admin-toolbar {
    display: grid;
    grid-template-columns: auto minmax(14rem, 1fr) auto minmax(10rem, 0.35fr) auto;
    align-items: end;
    gap: 0.75rem;
    margin-block: 1.5rem 0.75rem;
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
}

.admin-toolbar label {
    color: var(--ak-muted);
    font-size: 0.8125rem;
    font-weight: 700;
}

.admin-order-refund-item input[name="reason"],
.admin-toolbar input,
.admin-toolbar select,
.admin-editor input,
.admin-editor select,
.admin-editor textarea {
    width: 100%;
    border: 1px solid var(--ak-border-strong);
    border-radius: var(--ak-radius-md);
    color: var(--ak-text);
    background: var(--ak-canvas-soft);
    font: inherit;
}

.admin-order-refund-item input[name="reason"],
.admin-toolbar input,
.admin-toolbar select,
.admin-editor input,
.admin-editor select {
    min-height: 3rem;
    padding-inline: 0.85rem;
}

.admin-toolbar select,
.admin-editor select {
    appearance: none;
    padding-right: 2.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23c5c2bb' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1rem;
}

.admin-editor input[type="file"] {
    padding: 0.35rem 0.5rem;
    line-height: 2.15rem;
}

.admin-editor input[type="file"]::file-selector-button {
    min-height: 2.15rem;
    margin: 0 0.75rem 0 0;
    padding-inline: 0.8rem;
    border: 0;
    border-radius: calc(var(--ak-radius-md) - 0.2rem);
    color: var(--ak-text);
    background: var(--ak-surface-high);
    font: inherit;
    font-weight: 700;
    vertical-align: middle;
    cursor: pointer;
}

.admin-catalog-panel {
    margin-top: 0.75rem;
}

.admin-panel__heading > span {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.admin-operations-panel {
    margin-top: 0.75rem;
}

.admin-toolbar--search-only {
    grid-template-columns: auto minmax(14rem, 1fr) auto;
}

.admin-metrics--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-metrics--embedded {
    margin: 0;
    padding: 1rem;
}

.admin-metrics article > .admin-metric-word {
    overflow-wrap: anywhere;
    font-size: clamp(1rem, 2vw, 1.35rem);
    letter-spacing: -0.035em;
}

.data-table--wrap {
    table-layout: fixed;
}

.data-table--wrap th,
.data-table--wrap td {
    min-width: 0;
    vertical-align: top;
    white-space: normal;
    overflow-wrap: anywhere;
}

.data-table--wrap td:first-child {
    display: table-cell;
}

.data-table--wrap td:first-child > span,
.data-table--wrap td > small,
.data-table--wrap td > span > small {
    display: block;
}

.data-table--wrap td > small,
.data-table--wrap td > span > small {
    margin-top: 0.25rem;
    color: var(--ak-muted);
}

.data-table--wrap code {
    white-space: normal;
    overflow-wrap: anywhere;
}

.admin-orders-table th:nth-child(1) { width: 20%; }
.admin-orders-table th:nth-child(2) { width: 18%; }
.admin-orders-table th:nth-child(3) { width: 12%; }
.admin-orders-table th:nth-child(4) { width: 12%; }
.admin-orders-table th:nth-child(5) { width: 22%; }
.admin-orders-table th:nth-child(6) { width: 16%; }

.admin-orders-table td[data-payment-provider] > .status-pill {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 64rem) {
    .admin-orders-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .admin-orders-table,
    .admin-orders-table tbody,
    .admin-orders-table tr {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .data-table.admin-orders-table td,
    .data-table.admin-orders-table td:first-child {
        display: grid;
        gap: 0.35rem;
        width: auto;
        justify-items: start;
    }

    .admin-orders-table td::before {
        content: attr(data-label);
        color: var(--ak-muted);
        font-size: 0.75rem;
        font-weight: 600;
    }

    .admin-orders-table .admin-order-refund-item {
        width: 100%;
    }

    .admin-orders-table tr + tr {
        border-top: 2px solid var(--ak-border);
    }
}

.admin-panel-note {
    padding: 0.9rem 1rem;
    border-top: 1px solid var(--ak-border);
    color: var(--ak-muted);
    font-size: 0.8125rem;
    line-height: 1.6;
}

.admin-role-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1rem;
}

.admin-role-grid article {
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-canvas-soft);
}

.admin-role-grid article > strong {
    display: block;
    font-size: 0.875rem;
}

.admin-role-grid ul {
    display: grid;
    gap: 0.35rem;
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.admin-role-grid code {
    white-space: normal;
    overflow-wrap: anywhere;
}

.admin-evidence-details {
    margin-top: 0.35rem;
}

.admin-evidence-details summary {
    color: var(--ak-brand-soft);
    cursor: pointer;
}

.admin-evidence-details code {
    display: block;
    margin-top: 0.35rem;
    padding: 0.55rem;
    border-radius: 0.45rem;
    background: var(--ak-canvas-soft);
    line-height: 1.55;
}

.data-table a {
    color: inherit;
    text-decoration-color: color-mix(in srgb, var(--ak-brand) 55%, transparent);
    text-underline-offset: 0.2rem;
}

.status-pill--neutral {
    color: var(--ak-muted-strong);
    border-color: var(--ak-border-strong);
    background: var(--ak-surface-high);
}

.admin-editor {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.admin-editor__section {
    display: grid;
    grid-template-columns: minmax(12rem, 0.42fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-lg);
    background: var(--ak-surface);
}

.admin-editor__section h2 {
    font-size: 1.15rem;
}

.admin-editor__section > div:first-child > p:not(.eyebrow) {
    margin-block: 0.55rem 0;
    color: var(--ak-muted);
    font-size: 0.8125rem;
    line-height: 1.65;
}

.admin-editor__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 0.9rem;
}

.admin-editor__fields label {
    display: grid;
    align-content: start;
    gap: 0.4rem;
    color: var(--ak-text-soft);
    font-size: 0.8125rem;
    font-weight: 700;
}

.admin-editor__fields textarea {
    min-height: 7rem;
    resize: vertical;
    padding: 0.8rem 0.85rem;
    line-height: 1.55;
}

.admin-editor__fields .field-span {
    grid-column: 1 / -1;
}

.admin-editor__fields .accounting-confirmation {
    display: flex;
    align-items: center;
    min-height: 44px;
    gap: 0.75rem;
}

.accounting-confirmation input[type="checkbox"] {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    min-height: 24px;
}

.admin-order-refund-item input[name="reason"]:focus-visible,
.admin-editor input:focus-visible,
.admin-editor select:focus-visible,
.admin-editor textarea:focus-visible,
.admin-toolbar input:focus-visible,
.admin-toolbar select:focus-visible {
    border-color: var(--ak-brand);
    outline: 3px solid color-mix(in srgb, var(--ak-brand) 24%, transparent);
    outline-offset: 2px;
}

.admin-editor__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    padding-block: 0.5rem 1rem;
}

.admin-editor__actions > span {
    margin-right: auto;
    color: var(--ak-muted);
    font-size: 0.8125rem;
    line-height: 1.55;
}

.admin-editor--compact {
    margin-top: 0.85rem;
}

.subvendor-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-block: 1.5rem;
}

.subvendor-summary article {
    display: grid;
    gap: 0.35rem;
    min-height: 10rem;
    padding: 1.35rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-lg);
    background: linear-gradient(145deg, var(--ak-surface), var(--ak-canvas-soft));
}

.subvendor-summary span,
.subvendor-summary small,
.subvendor-card__state small,
.subvendor-attribution-current span,
.subvendor-attribution-current small {
    color: var(--ak-muted);
    font-size: 0.8125rem;
}

.subvendor-summary strong {
    align-self: end;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.subvendor-summary small {
    line-height: 1.45;
}

.subvendor-registry {
    margin-top: 1.5rem;
}

.subvendor-list {
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.subvendor-card {
    padding: clamp(1rem, 2vw, 1.5rem);
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-lg);
    background: var(--ak-canvas-soft);
}

.subvendor-card > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.subvendor-card h3,
.subvendor-card h4 {
    margin: 0;
}

.subvendor-card header p:not(.eyebrow) {
    margin-block: 0.35rem 0;
    color: var(--ak-muted);
}

.subvendor-card__state {
    display: grid;
    justify-items: end;
    gap: 0.3rem;
    text-align: right;
}

.subvendor-card__state strong {
    font-size: clamp(1.65rem, 3vw, 2.6rem);
    line-height: 1;
}

.subvendor-card__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin-block: 1rem 0;
}

.subvendor-card__facts div,
.subvendor-attribution-current {
    display: grid;
    gap: 0.3rem;
    padding: 0.85rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
}

.subvendor-card__facts dt {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.subvendor-card__facts dd {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 800;
}

.subvendor-card__notes {
    display: grid;
    gap: 0.3rem;
    margin: 1rem 0;
    color: var(--ak-muted);
    font-size: 0.8125rem;
    line-height: 1.55;
}

.subvendor-card__notes strong {
    color: var(--ak-text);
}

.subvendor-policy-history {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
}

.subvendor-policy-history__heading,
.subvendor-policy-history__item > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.subvendor-policy-history__heading h4,
.subvendor-policy-history__item p {
    margin: 0;
}

.subvendor-policy-history__heading > span,
.subvendor-policy-history__item span,
.subvendor-policy-history__item small {
    color: var(--ak-muted);
    font-size: 0.8125rem;
}

.subvendor-policy-history__list {
    display: grid;
    gap: 0.6rem;
}

.subvendor-policy-history__item {
    display: grid;
    gap: 0.4rem;
    padding: 0.8rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-sm);
    background: var(--ak-canvas-soft);
}

.subvendor-policy-history__item p {
    color: var(--ak-text-soft);
    font-size: 0.875rem;
    line-height: 1.5;
}

.subvendor-card__details {
    margin-top: 1rem;
    border-top: 1px solid var(--ak-border);
}

.subvendor-card__details > summary {
    padding-block: 1rem 0;
    color: var(--ak-text-soft);
    font-size: 0.875rem;
    font-weight: 800;
    cursor: pointer;
}

.subvendor-management-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.subvendor-management-grid .admin-editor__section,
.subvendor-status-form .admin-editor__section {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.subvendor-attribution-current strong {
    font-size: 1rem;
}

.admin-editor__fields--wide {
    grid-template-columns: minmax(0, 1fr);
}

.admin-choice-fieldset,
.compatibility-field {
    min-width: 0;
    margin: 0;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
}

.admin-choice-fieldset {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--ak-canvas-soft);
}

.admin-choice-fieldset legend,
.compatibility-field legend {
    padding-inline: 0.35rem;
    color: var(--ak-text);
    font-size: 0.875rem;
    font-weight: 800;
}

.admin-choice-fieldset > p {
    margin: 0;
    color: var(--ak-muted);
    font-size: 0.8125rem;
    line-height: 1.55;
}

.admin-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.admin-choice-grid--tags,
.admin-choice-grid--options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-choice {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.65rem 0.7rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-sm);
    color: var(--ak-text-soft);
    background: var(--ak-surface);
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.4;
}

.admin-choice:hover {
    border-color: var(--ak-border-strong);
    background: var(--ak-surface-high);
}

.admin-choice:has(input:checked) {
    border-color: color-mix(in srgb, var(--ak-brand) 65%, var(--ak-border));
    background: color-mix(in srgb, var(--ak-brand) 8%, var(--ak-surface));
}

.admin-choice input {
    flex: 0 0 auto;
    width: 1rem;
    min-height: 1rem;
    margin-top: 0.1rem;
    padding: 0;
    accent-color: var(--ak-brand);
}

.admin-choice span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.admin-compatibility {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.admin-compatibility__ecosystem {
    overflow: clip;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-lg);
    background: var(--ak-surface);
}

.admin-compatibility__ecosystem > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    cursor: pointer;
    list-style-position: inside;
}

.admin-compatibility__ecosystem > summary::marker {
    color: var(--ak-brand);
}

.admin-compatibility__ecosystem > summary > span:first-child {
    display: inline-flex;
    align-items: baseline;
    gap: 0.65rem;
}

.admin-compatibility__ecosystem > summary small,
.compatibility-field > small {
    color: var(--ak-muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.admin-compatibility__ecosystem > summary > span:last-child {
    padding: 0.25rem 0.55rem;
    border: 1px solid var(--ak-border);
    border-radius: 999px;
    color: var(--ak-muted-strong);
    background: var(--ak-surface-high);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-compatibility__form {
    display: grid;
    gap: 1rem;
    padding: 0 1.15rem 1.15rem;
    border-top: 1px solid var(--ak-border);
}

.admin-compatibility__definitions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding-top: 1rem;
}

.compatibility-field {
    display: grid;
    align-content: start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--ak-canvas-soft);
}

.compatibility-field legend {
    max-width: calc(100% - 1rem);
}

.required-marker {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.18rem 0.4rem;
    border-radius: 999px;
    color: var(--ak-warning);
    background: color-mix(in srgb, var(--ak-warning) 12%, transparent);
    font-size: 0.75rem;
    font-weight: 800;
}

.compatibility-field > input,
.compatibility-field > select,
.compatibility-field > textarea,
.compatibility-field__provenance select {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--ak-border-strong);
    border-radius: var(--ak-radius-md);
    color: var(--ak-text);
    background: var(--ak-surface);
    font: inherit;
}

.compatibility-field > textarea {
    min-height: 6rem;
    resize: vertical;
    line-height: 1.5;
}

.compatibility-field__provenance {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.compatibility-field__provenance label {
    display: grid;
    gap: 0.35rem;
    color: var(--ak-muted);
    font-size: 0.75rem;
    font-weight: 800;
}

.admin-form-note {
    margin: 0;
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--ak-brand);
    color: var(--ak-muted);
    background: color-mix(in srgb, var(--ak-brand) 6%, var(--ak-canvas-soft));
    font-size: 0.8125rem;
    line-height: 1.6;
}

.admin-future-ecosystem {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.35rem 0.65rem;
    padding: 1rem 1.15rem;
    border: 1px dashed var(--ak-border-strong);
    border-radius: var(--ak-radius-md);
    background: var(--ak-canvas-soft);
}

.admin-future-ecosystem > span {
    grid-row: 1 / 3;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    color: var(--ak-muted-strong);
    background: var(--ak-surface-high);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-future-ecosystem p {
    margin: 0;
    color: var(--ak-muted);
    font-size: 0.8125rem;
}

.admin-product-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-block: 1.5rem 0.75rem;
}

.admin-product-facts > div {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-surface);
}

.admin-product-facts span {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.admin-product-facts strong {
    overflow-wrap: anywhere;
    font-size: 0.875rem;
}

.admin-lifecycle {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
    scroll-margin-top: 6rem;
}

.admin-lifecycle__heading {
    padding-inline: 0;
    border-bottom: 0;
}

.admin-lifecycle__heading h2 {
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
    letter-spacing: -0.035em;
}

.admin-lifecycle__metrics {
    margin-top: 0;
}

.admin-lifecycle__metrics article > strong {
    font-size: clamp(1.25rem, 2.1vw, 1.8rem);
    letter-spacing: -0.035em;
}

.admin-lifecycle__metrics article > small {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    line-height: 1.5;
}

.admin-lifecycle__metric--ready {
    color: var(--ak-positive);
}

.admin-lifecycle__metric--blocked {
    color: var(--ak-warning);
}

.admin-lifecycle__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0.85rem;
}

.admin-lifecycle__panel {
    display: grid;
    align-content: start;
}

.admin-lifecycle__panel .admin-panel__heading h3,
.admin-lifecycle__actions-panel .admin-panel__heading h3,
.admin-lifecycle__history .admin-panel__heading h3 {
    font-size: 1rem;
}

.admin-lifecycle__ready {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
    margin: 1rem;
    padding: 1rem;
    border: 1px solid color-mix(in srgb, var(--ak-positive) 44%, var(--ak-border));
    border-radius: var(--ak-radius-md);
    background: color-mix(in srgb, var(--ak-positive) 8%, var(--ak-canvas-soft));
}

.admin-lifecycle__ready > span {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 999px;
    color: var(--ak-positive);
    background: color-mix(in srgb, var(--ak-positive) 14%, transparent);
    font-size: 1.1rem;
    font-weight: 800;
}

.admin-lifecycle__ready p,
.admin-lifecycle__locked p,
.admin-lifecycle__actions p,
.admin-lifecycle__versions p {
    margin: 0.35rem 0 0;
    color: var(--ak-muted);
    font-size: 0.8125rem;
    line-height: 1.55;
}

.admin-lifecycle__issues {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.admin-lifecycle__issues > strong {
    color: var(--ak-warning);
    font-size: 0.875rem;
}

.admin-lifecycle__issues ol {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.admin-lifecycle__issues li {
    display: grid;
    grid-template-columns: minmax(8rem, 0.45fr) minmax(0, 1fr);
    gap: 0.3rem 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-sm);
    background: var(--ak-canvas-soft);
}

.admin-lifecycle__issues code {
    color: var(--ak-warning);
    font-family: var(--ak-font-mono);
    font-size: 0.75rem;
    overflow-wrap: anywhere;
}

.admin-lifecycle__issues li > span,
.admin-lifecycle__issues li > small {
    font-size: 0.75rem;
    line-height: 1.45;
}

.admin-lifecycle__issues li > small {
    grid-column: 2;
    color: var(--ak-muted);
}

.admin-lifecycle__versions {
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
}

.admin-lifecycle__versions > article {
    display: grid;
    gap: 0.4rem;
    min-width: 0;
    padding: 0.9rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-canvas-soft);
}

.admin-lifecycle__versions > article > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.admin-lifecycle__versions article > small,
.admin-lifecycle__versions li > small {
    color: var(--ak-muted);
    font-size: 0.75rem;
    line-height: 1.45;
}

.admin-lifecycle__versions ul {
    display: grid;
    gap: 0.45rem;
    margin: 0.35rem 0 0;
    padding: 0;
    list-style: none;
}

.admin-lifecycle__versions li {
    display: grid;
    grid-template-columns: minmax(8rem, 0.5fr) minmax(0, 1fr);
    gap: 0.3rem 0.7rem;
    padding-top: 0.55rem;
    border-top: 1px solid var(--ak-border);
    font-size: 0.75rem;
}

.admin-lifecycle__versions li > small {
    grid-column: 2;
}

.admin-lifecycle__actions-panel {
    display: grid;
}

.admin-lifecycle__actions {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.admin-lifecycle__actions > form,
.admin-lifecycle__locked {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-canvas-soft);
}

.admin-lifecycle__management {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(30rem, 100%), 1fr));
    gap: 0.85rem;
}

.admin-lifecycle__management > form {
    min-width: 0;
}

.admin-lifecycle__new-version .admin-editor__section,
.admin-lifecycle__archive .admin-editor__section {
    grid-template-columns: 1fr;
    gap: 1rem;
    height: 100%;
}

.admin-lifecycle__confirm {
    display: flex !important;
    grid-template-columns: none;
    align-items: flex-start;
    gap: 0.65rem !important;
    padding: 0.85rem;
    border: 1px solid color-mix(in srgb, #ff6b6b 38%, var(--ak-border));
    border-radius: var(--ak-radius-md);
    background: color-mix(in srgb, #a92f3c 8%, var(--ak-canvas-soft));
    cursor: pointer;
}

.admin-lifecycle__confirm input {
    flex: 0 0 auto;
    width: 1.1rem;
    min-height: 1.1rem;
    margin-top: 0.1rem;
    padding: 0;
    accent-color: #ff6b6b;
}

.admin-lifecycle__history {
    margin-top: 0.15rem;
}

.admin-inventory {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.admin-inventory__panel {
    display: grid;
    gap: 0.85rem;
}

.admin-inventory__panel h3 {
    font-size: 1.05rem;
}

.admin-inventory__table code {
    color: var(--ak-muted-strong);
    font-family: var(--ak-font-mono);
    font-size: 0.75rem;
    overflow-wrap: anywhere;
}

.admin-inventory__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.admin-inventory__cards article {
    display: grid;
    align-content: start;
    gap: 0.35rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-canvas-soft);
}

.admin-inventory__cards span {
    color: var(--ak-brand);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-inventory__cards p {
    margin: 0;
    color: var(--ak-muted);
    font-size: 0.8125rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.admin-commercial .data-table td small {
    display: block;
    margin-top: 0.3rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.45;
}

.admin-commercial .data-table td {
    vertical-align: top;
    line-height: 1.45;
}

.admin-commercial .data-table td:first-child {
    display: table-cell;
}

#asseteka-admin-commercial-offers-table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
}

#asseteka-admin-commercial-offers-table th,
#asseteka-admin-commercial-offers-table td {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

#asseteka-admin-commercial-offers-table th:nth-child(1) {
    width: 17%;
}

#asseteka-admin-commercial-offers-table th:nth-child(2) {
    width: 17%;
}

#asseteka-admin-commercial-offers-table th:nth-child(3) {
    width: 27%;
}

#asseteka-admin-commercial-offers-table th:nth-child(4) {
    width: 29%;
}

#asseteka-admin-commercial-offers-table th:nth-child(5) {
    width: 10%;
}

.admin-commercial .data-table td:nth-child(4) > small:first-child {
    margin-top: 0;
}

.admin-commercial .data-table td small + small {
    margin-top: 0.45rem;
}

.admin-commercial__preview {
    margin: 0 1.5rem 1.5rem;
}

.admin-content-ingestion {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.admin-content-ingestion__panel {
    display: grid;
    gap: 0.85rem;
}

.admin-content-purpose-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-canvas-soft);
}

.admin-content-purpose-fields[hidden],
.admin-upload-progress[hidden] {
    display: none;
}

.admin-content-purpose-fields label {
    display: grid;
    align-content: start;
    gap: 0.4rem;
    color: var(--ak-text-soft);
    font-size: 0.8125rem;
    font-weight: 700;
}

.admin-content-purpose-fields .field-span {
    grid-column: 1 / -1;
}

.admin-upload-progress {
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-canvas-soft);
}

.admin-upload-progress > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.admin-upload-progress strong,
.admin-upload-progress span,
.admin-upload-progress p {
    font-size: 0.8125rem;
}

.admin-upload-progress span,
.admin-upload-progress p {
    color: var(--ak-muted);
}

.admin-upload-progress p {
    margin: 0;
    line-height: 1.5;
}

.admin-upload-progress progress {
    width: 100%;
    height: 0.65rem;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    accent-color: var(--ak-brand);
}

.admin-upload-progress progress::-webkit-progress-bar {
    background: var(--ak-surface-high);
}

.admin-upload-progress progress::-webkit-progress-value {
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ak-brand), var(--ak-brand-warm));
}

.admin-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0 1.25rem 1.25rem;
}

.admin-media-card {
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-canvas-soft);
}

.admin-media-card > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.admin-media-card > header > div {
    display: grid;
    gap: 0.3rem;
    min-width: 0;
}

.admin-media-card > header > div > span {
    color: var(--ak-brand);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-media-card > header strong {
    overflow-wrap: anywhere;
    font-size: 0.875rem;
    line-height: 1.45;
}

.admin-media-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-block: 1rem;
}

.admin-media-card dl > div {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
    padding: 0.65rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-sm);
    background: var(--ak-surface);
}

.admin-media-card dt {
    color: var(--ak-muted);
    font-size: 0.75rem;
}

.admin-media-card dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 0.8125rem;
    font-weight: 700;
}

.admin-content-ingestion__table td {
    vertical-align: top;
    line-height: 1.45;
}

.admin-content-ingestion__table td strong,
.admin-content-ingestion__table td span,
.admin-content-ingestion__table td small {
    display: block;
}

.admin-content-ingestion__table td small {
    margin-top: 0.3rem;
    color: var(--ak-muted);
    font-size: 0.75rem;
    line-height: 1.45;
}

.admin-content-ingestion__table code,
.admin-media-card code {
    color: var(--ak-muted-strong);
    font-family: var(--ak-font-mono);
    font-size: 0.75rem;
    overflow-wrap: anywhere;
}

.admin-content-ingestion__table .admin-content-rejection {
    max-width: 32rem;
    color: var(--ak-warning);
}

.publishing-control code {
    font-family: var(--ak-font-mono);
    font-size: 0.75rem;
    overflow-wrap: anywhere;
}

.publishing-control__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(22rem, 0.82fr);
    gap: 0.85rem;
    margin-top: 0.85rem;
}

.publishing-control__grid > .admin-panel {
    min-width: 0;
}

.publishing-flow {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 1.25rem clamp(1rem, 2vw, 1.5rem) 1.4rem;
    list-style: none;
}

.publishing-flow li {
    position: relative;
    display: grid;
    grid-template-columns: 2.35rem minmax(0, 1fr);
    gap: 0.85rem;
    min-width: 0;
    padding-bottom: 1.15rem;
}

.publishing-flow li:last-child {
    padding-bottom: 0;
}

.publishing-flow li:not(:last-child)::after {
    position: absolute;
    top: 2.2rem;
    bottom: 0.2rem;
    left: 1.12rem;
    width: 1px;
    content: "";
    background: color-mix(in srgb, var(--ak-brand) 35%, var(--ak-border));
}

.publishing-flow li > span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--ak-brand) 48%, var(--ak-border));
    border-radius: 999px;
    color: var(--ak-brand);
    background: var(--ak-canvas-soft);
    font-family: var(--ak-font-mono);
    font-size: 0.75rem;
    font-weight: 800;
}

.publishing-flow li > div {
    display: grid;
    gap: 0.3rem;
    min-width: 0;
    padding-top: 0.18rem;
}

.publishing-flow strong {
    font-size: 0.875rem;
}

.publishing-flow p,
.publishing-muted,
.publishing-boundaries {
    color: var(--ak-muted);
    font-size: 0.8125rem;
    line-height: 1.6;
}

.publishing-security {
    display: grid;
    gap: 1.2rem;
    padding: 1.25rem clamp(1rem, 2vw, 1.5rem) 1.4rem;
}

.publishing-endpoint {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.35rem 1rem;
    min-width: 0;
    padding: 0.9rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-canvas-soft);
}

.publishing-endpoint > span,
.publishing-label,
.publishing-command-list span {
    color: var(--ak-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.publishing-endpoint > strong {
    justify-self: end;
    font-size: 0.875rem;
}

.publishing-endpoint > code {
    grid-column: 1 / -1;
    color: var(--ak-brand);
}

.publishing-scope-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.6rem;
}

.publishing-scope-list code {
    padding: 0.42rem 0.58rem;
    border: 1px solid var(--ak-border-strong);
    border-radius: 999px;
    color: var(--ak-text-soft);
    background: var(--ak-canvas-soft);
}

.publishing-muted {
    margin-top: 0.5rem;
}

.publishing-boundaries {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding-left: 1.1rem;
}

.publishing-boundaries li::marker {
    color: var(--ak-brand);
}

.publishing-commands {
    margin-top: 0.85rem;
}

.publishing-command-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1.25rem clamp(1rem, 2vw, 1.5rem) 1.4rem;
}

.publishing-command-list > div {
    display: grid;
    align-content: start;
    gap: 0.65rem;
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: var(--ak-canvas-soft);
}

.publishing-command-list code {
    display: block;
    color: var(--ak-text-soft);
    line-height: 1.65;
    white-space: normal;
}

.publishing-command-note {
    margin: 0;
    padding: 0 1.5rem 1.4rem;
    color: var(--ak-muted);
    font-size: 0.8125rem;
    line-height: 1.6;
}

@media (max-width: 75rem) {
    .publishing-control__grid,
    .publishing-command-list,
    .admin-lifecycle__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 64rem) {
    .admin-toolbar {
        grid-template-columns: 1fr 1fr auto;
    }

    .admin-toolbar label {
        grid-row: 1;
    }

    .admin-product-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-choice-grid,
    .admin-choice-grid--tags,
    .admin-choice-grid--options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-inventory__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-media-grid {
        grid-template-columns: 1fr;
    }

    .subvendor-card__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-lifecycle__management {
        grid-template-columns: 1fr;
    }

    .admin-role-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 48rem) {
    .admin-toolbar,
    .admin-toolbar--search-only,
    .admin-editor__section,
    .admin-editor__fields,
    .admin-product-facts,
    .admin-compatibility__definitions,
    .compatibility-field__provenance,
    .admin-choice-grid,
    .admin-choice-grid--tags,
    .admin-choice-grid--options {
        grid-template-columns: 1fr;
    }

    .subvendor-summary,
    .subvendor-management-grid,
    .subvendor-card__facts {
        grid-template-columns: 1fr;
    }

    .subvendor-card > header {
        flex-direction: column;
    }

    .subvendor-card__state {
        justify-items: start;
        text-align: left;
    }

    .admin-inventory__cards {
        grid-template-columns: 1fr;
    }

    .admin-metrics--two,
    .admin-role-grid {
        grid-template-columns: 1fr;
    }

    .admin-content-purpose-fields,
    .admin-media-card dl {
        grid-template-columns: 1fr;
    }

    .admin-lifecycle__actions > form,
    .admin-lifecycle__locked,
    .admin-lifecycle__issues li,
    .admin-lifecycle__versions li {
        grid-template-columns: 1fr;
    }

    .admin-lifecycle__actions .button {
        width: 100%;
    }

    .admin-lifecycle__issues li > small,
    .admin-lifecycle__versions li > small {
        grid-column: 1;
    }

    .admin-content-purpose-fields .field-span {
        grid-column: auto;
    }

    .admin-toolbar label {
        grid-row: auto;
    }

    .admin-editor__fields .field-span {
        grid-column: auto;
    }

    .admin-editor__actions {
        display: grid;
    }

    .admin-editor__actions > span {
        margin-right: 0;
    }

    .admin-compatibility__ecosystem > summary,
    .admin-compatibility__ecosystem > summary > span:first-child {
        align-items: flex-start;
        flex-direction: column;
    }
}
.asseteka-admin-request-pending::before {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 34%;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
    box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 58%, transparent);
    animation: asseteka-admin-request-progress 0.9s ease-in-out infinite alternate;
}

form[data-asseteka-enhance="true"][aria-busy="true"] button[type="submit"] {
    cursor: wait;
    opacity: 0.78;
}

.asseteka-enhanced-form-error {
    margin: 0 0 1rem;
}

@keyframes asseteka-admin-request-progress {
    from {
        transform: translateX(-8%);
    }

    to {
        transform: translateX(194%);
    }
}

@media (max-width: 64rem) {
    .subcategory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 48rem) {
    .sale-landing__heading,
    .category-landing__heading {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 1.5rem;
    }

    .sale-landing__heading h1,
    .category-landing__heading h1 {
        font-size: clamp(2.8rem, 13vw, 4.2rem);
    }

    .sale-landing__heading .page-intro__stat,
    .category-landing__heading .page-intro__stat {
        width: 100%;
    }

    .catalog-pagination {
        grid-template-columns: 1fr 1fr;
    }

    .catalog-pagination__status {
        grid-column: 1 / -1;
        grid-row: 1;
    }
}

@media (max-width: 30rem) {
    .subcategory-grid {
        grid-template-columns: 1fr;
    }

    .subcategory-card {
        min-height: 8.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .asseteka-admin-request-pending::before {
        width: 100%;
        animation: none;
    }
}

.partner-workspace {
    display: grid;
    gap: clamp(1.25rem, 2.4vw, 2.25rem);
    padding-block: clamp(3rem, 6vw, 6rem);
}

.partner-heading,
.partner-section__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.partner-heading h1 {
    margin-bottom: 0.6rem;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
}

.partner-heading p:not(.eyebrow),
.partner-section__heading > div > p:not(.eyebrow) {
    max-width: 54rem;
    margin: 0;
    color: var(--ak-muted);
    font-size: 1.08rem;
}

.partner-heading__actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.8rem;
}

.partner-heading__actions form {
    margin: 0;
}

.partner-earnings-hero {
    display: grid;
    grid-template-areas: "metrics earnings";
    grid-template-columns: minmax(28rem, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 4vw, 4rem);
    overflow: hidden;
    padding: clamp(1.7rem, 4vw, 3.5rem);
    border: 1px solid rgb(255 180 93 / 28%);
    border-radius: var(--ak-radius-xl);
    background:
        radial-gradient(circle at 86% 16%, rgb(255 180 93 / 19%), transparent 24rem),
        radial-gradient(circle at 4% 14%, rgb(169 149 255 / 15%), transparent 25rem),
        var(--ak-surface);
    box-shadow: var(--ak-shadow);
}

.partner-earnings-hero > div {
    display: flex;
    width: 100%;
    min-width: 0;
    grid-area: earnings;
    align-items: flex-end;
    flex-direction: column;
    text-align: right;
}

.partner-earnings-hero h2 {
    max-width: 100%;
    margin: 0.25rem 0 0.65rem;
    color: var(--ak-brand-soft);
    font-size: clamp(4rem, 9vw, 8.6rem);
    line-height: 0.86;
    letter-spacing: -0.065em;
    overflow-wrap: anywhere;
}

.partner-earnings-hero p:not(.eyebrow) {
    max-width: 42rem;
    margin: 0;
    color: var(--ak-muted);
    font-size: 1.05rem;
}

.partner-earnings-hero dl {
    display: grid;
    grid-area: metrics;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin: 0;
}

.partner-earnings-hero dl > div,
.partner-balance-grid article,
.partner-product-grid article {
    min-width: 0;
    padding: 1.25rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
    background: rgb(9 11 15 / 58%);
}

.partner-earnings-hero dt,
.partner-balance-grid span {
    color: var(--ak-muted);
    font-size: 0.82rem;
}

.partner-earnings-hero dd {
    margin: 0.35rem 0 0;
    font-size: clamp(1.15rem, 2vw, 1.7rem);
    font-weight: 800;
}

.partner-panel,
.partner-section {
    padding: clamp(1.25rem, 2.6vw, 2.25rem);
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-lg);
    background: var(--ak-surface);
}

.partner-filters {
    display: grid;
    grid-template-columns: minmax(10rem, 0.65fr) minmax(10rem, 0.65fr) minmax(16rem, 1.4fr) auto;
    align-items: end;
    gap: 1rem;
}

.partner-filters > div:not(.partner-filters__actions) {
    display: grid;
    gap: 0.45rem;
}

.partner-filters label {
    color: var(--ak-text-soft);
    font-size: 0.82rem;
    font-weight: 700;
}

.partner-filters input,
.partner-filters select {
    width: 100%;
    min-height: 3.2rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--ak-border-strong);
    border-radius: var(--ak-radius-sm);
    outline: none;
    background: var(--ak-surface-raised);
}

.partner-filters input:focus-visible,
.partner-filters select:focus-visible {
    border-color: var(--ak-brand);
    box-shadow: 0 0 0 3px rgb(255 180 93 / 15%);
}

.partner-filters__actions {
    display: flex;
    gap: 0.65rem;
}

.partner-section {
    display: grid;
    gap: 1.25rem;
}

.partner-section__heading {
    align-items: center;
}

.partner-section__heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3.4vw, 3rem);
    letter-spacing: -0.035em;
}

.partner-section__heading > span:not(.status-pill) {
    color: var(--ak-muted);
    white-space: nowrap;
}

.partner-balance-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--ak-surface-gap);
}

.partner-balance-grid article {
    display: grid;
    gap: 0.35rem;
}

.partner-balance-grid strong {
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 1;
    overflow-wrap: anywhere;
}

.partner-balance-grid small,
.partner-product-grid small,
.partner-product-grid p,
.partner-sales-table small {
    color: var(--ak-muted);
}

.partner-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.partner-product-grid article {
    display: flex;
    flex-direction: column;
    min-height: 15.5rem;
    background: var(--ak-surface-raised);
}

.partner-product-grid article > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.partner-product-grid h3 {
    margin: 1.25rem 0 0.35rem;
    font-size: 1.35rem;
}

.partner-product-grid p {
    margin-bottom: auto;
}

.partner-product-grid article > strong {
    margin-top: 1.2rem;
    font-size: 1.55rem;
}

.partner-product-grid article > strong span {
    color: var(--ak-muted);
    font-size: 0.78rem;
    font-weight: 500;
}

.partner-product-grid article > small {
    display: block;
    margin-top: 0.25rem;
}

.partner-sales-table {
    overflow-x: auto;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-md);
}

.partner-sales-table table {
    width: 100%;
    min-width: 52rem;
    border-collapse: collapse;
}

.partner-sales-table th,
.partner-sales-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--ak-border);
    text-align: left;
    vertical-align: top;
}

.partner-sales-table th {
    color: var(--ak-muted);
    background: var(--ak-canvas-soft);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.055em;
}

.partner-sales-table tbody tr:last-child td {
    border-bottom: 0;
}

.partner-sales-table td strong,
.partner-sales-table td small {
    display: block;
}

.partner-accounting-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.partner-accounting-grid .partner-empty-state {
    height: 100%;
    border-style: dashed;
    background: var(--ak-canvas-soft);
}

.partner-record-list {
    display: grid;
    gap: var(--ak-surface-gap);
}

.partner-record-list article {
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius-card);
    background: var(--ak-canvas-soft);
    min-width: 0;
    overflow-wrap: anywhere;
}

.partner-record-list article > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.partner-record-list p,
.partner-record-list time {
    margin: 0;
    color: var(--ak-muted);
}

.partner-empty-state h1,
.partner-empty-state h3 {
    margin-bottom: 0.5rem;
}

.partner-empty-state p {
    max-width: 48rem;
    color: var(--ak-muted);
}

@media (max-width: 72rem) {
    .partner-earnings-hero {
        grid-template-areas:
            "earnings"
            "metrics";
        grid-template-columns: 1fr;
    }

    .partner-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .partner-filters__actions {
        align-self: stretch;
    }

    .partner-filters__actions .button {
        flex: 1;
    }

    .partner-balance-grid,
    .partner-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 48rem) {
    .partner-workspace {
        padding-block: 2.25rem;
    }

    .partner-heading,
    .partner-section__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .partner-heading__actions {
        justify-content: space-between;
        width: 100%;
    }

    .partner-earnings-hero dl,
    .partner-balance-grid,
    .partner-product-grid,
    .partner-accounting-grid {
        grid-template-columns: 1fr;
    }

    .partner-filters {
        grid-template-columns: 1fr;
    }

    .partner-product-grid article {
        min-height: 13rem;
    }
}

@media (max-width: 30rem) {
    .partner-heading h1 {
        font-size: clamp(2.65rem, 15vw, 4rem);
    }

    .partner-earnings-hero h2 {
        font-size: clamp(3rem, 17vw, 6rem);
    }

    .partner-earnings-hero dl {
        grid-template-columns: 1fr;
    }

    .partner-heading__actions,
    .partner-filters__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .partner-heading__actions form,
    .partner-heading__actions .button,
    .partner-filters__actions .button {
        width: 100%;
    }
}
/* Staff-only draft preview framing; product presentation is shared with the public page. */
.private-draft-preview-notice { margin-top: 1.5rem; padding: 1.5rem; border: 1px solid var(--ak-brand); border-radius: var(--ak-radius-xl); }
.private-draft-preview-notice h2 { font-size: 1.25rem; }
.private-draft-preview-notice details { margin-top: 1rem; }
.private-draft-preview-notice li { margin: .4rem 0; }
