/* === askaide-unified-ui.css === */
/* Askaide application chrome and shared design tokens. */
:root {
    --aku-primary: #6d28d9;
    --aku-primary-hover: #5b21b6;
    --aku-accent: #6627c8;
    --aku-ink: #0f1c2e;
    --aku-muted: #526079;
    --aku-paper: #fff;
    --aku-canvas: #f8f8fc;
    --aku-tint: #f0eafe;
    --aku-border: #e6e3ee;
    --aku-line: var(--aku-border);
    --aku-radius: 13px;
    --aku-shadow: 0 4px 16px rgb(34 21 65 / 5%);
    --aku-font: var(--askaide-font-sans, 'Inter', system-ui, sans-serif);
}

html[data-theme="dark"] {
    --aku-accent: #d0b4ff;
    --aku-ink: #f5f1ff;
    --aku-muted: #c4bcd6;
    --aku-paper: #211c2f;
    --aku-canvas: #161321;
    --aku-tint: #34234f;
    --aku-border: #3d3551;
    --aku-shadow: 0 4px 16px rgb(0 0 0 / 22%);
}

.aku-header {
    position: relative;
    z-index: 12;
    isolation: isolate;
    border-block-end: 1px solid var(--aku-border);
    background: var(--aku-paper);
    box-shadow: var(--aku-shadow);
    color: var(--aku-ink);
    font-family: var(--aku-font);
}
.aku-header, .aku-header *, .aku-footer, .aku-footer * { box-sizing: border-box; }
.aku-header a { text-decoration: none; }
.aku-header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(14px, 2.6vw, 34px);
    inline-size: min(1336px, 100% - 64px);
    min-block-size: 71px;
    margin-inline: auto;
}
.aku-brand { position: relative; display: inline-flex; align-items: center; align-self: center; justify-self: start; min-block-size: 44px; }
.aku-brand-motion { position: absolute; top: 50%; left: -9px; inline-size: 56px; block-size: 56px; transform: translateY(-50%); pointer-events: none; }
.aku-brand-motion canvas { display: block; inline-size: 100%; block-size: 100%; }
.aku-logo-frame {
    position: relative;
    display: block;
    flex: none;
    inline-size: var(--aku-logo-width, 153px);
    aspect-ratio: 3.62;
    overflow: hidden;
    border-radius: 2px;
    direction: ltr;
}
.aku-logo-frame img {
    position: absolute;
    inset: 50% auto auto 50%;
    display: block;
    max-inline-size: none;
    inline-size: 113%;
    block-size: auto;
    transform: translate(-51.2%, -48.9%);
}
.aku-site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 28px); min-inline-size: 0; }
.aku-site-nav a {
    position: relative;
    display: flex;
    align-items: center;
    min-block-size: 71px;
    color: var(--aku-ink);
    font-size: .845rem;
    font-weight: 625;
    line-height: 1.25;
    text-align: center;
}
.aku-site-nav a:hover, .aku-site-nav a[aria-current="page"] { color: var(--aku-accent); }
.aku-site-nav a[aria-current="page"]::after {
    position: absolute;
    inset: auto 0 0;
    block-size: 2px;
    border-radius: 2px 2px 0 0;
    background: currentColor;
    content: "";
}
.aku-tools { display: flex; align-items: center; justify-self: end; gap: 7px; }
.aku-icon { flex: none; vertical-align: middle; }
.aku-icon-button, .aku-account {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    gap: 6px;
    min-inline-size: 44px;
    min-block-size: 44px;
    padding: 0 5px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--aku-ink);
    cursor: pointer;
}
.aku-icon-button:hover, .aku-account:hover { color: var(--aku-accent); background: var(--aku-tint); }
.aku-account { font-size: .83rem; font-weight: 650; }
.aku-account img, .aku-account-icon {
    display: inline-grid;
    place-items: center;
    inline-size: 36px;
    block-size: 36px;
    border-radius: 50%;
    background: var(--aku-tint);
    color: var(--aku-accent);
    object-fit: cover;
}
.aku-notification-badge {
    position: absolute;
    inset-block-start: 1px;
    inset-inline-end: 1px;
    display: grid;
    place-items: center;
    min-inline-size: 18px;
    block-size: 18px;
    padding-inline: 3px;
    border-radius: 12px;
    color: #fff;
    background: var(--aku-primary);
    font-size: .62rem;
    font-weight: 700;
    line-height: 1;
}
.aku-member-menu { position: relative; z-index: 2; }
.aku-member-menu summary { list-style: none; }
.aku-member-menu summary::-webkit-details-marker { display: none; }
.aku-member-menu[open] > .aku-account { background: var(--aku-tint); }
.aku-member-links {
    position: absolute;
    inset-block-start: calc(100% + 6px);
    inset-inline-end: 0;
    inline-size: min(315px, 100vw - 36px);
    max-block-size: 75vh;
    max-block-size: min(36rem, var(--aku-account-space, calc(100dvh - 11rem)));
    padding: 7px;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--aku-border);
    border-radius: var(--aku-radius);
    background: var(--aku-paper);
    box-shadow: 0 12px 32px rgb(15 28 46 / 16%);
}
.aku-member-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.aku-member-links :is(a, .aku-account-section > summary) {
    display: flex;
    align-items: center;
    min-block-size: 44px;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--aku-ink);
    font-size: .875rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.aku-member-links :is(a:hover, a[aria-current='page'], summary:hover) {
    color: var(--aku-accent);
    background: var(--aku-tint);
}
.aku-member-links :is(a, summary):focus-visible { outline-offset: -2px !important; }
.aku-account-quick { padding-block-end: 4px !important; }
.aku-account-section, .aku-account-exit {
    margin: 0;
    padding: 3px 0;
    border: 0;
    border-block-start: 1px solid var(--aku-border);
}
.aku-account-section > summary {
    justify-content: space-between;
    cursor: pointer;
    font-weight: 650;
}
.aku-account-section > summary svg { flex: none; color: var(--aku-accent); }
.aku-account-section[open] > summary svg { transform: rotate(180deg); }
.aku-account-section ul { padding-inline-start: 9px; }
.aku-site-search {
    display: flex;
    align-items: stretch;
    inline-size: clamp(153px, 17vw, 245px);
    min-inline-size: 0;
    margin: 0;
    border: 1px solid var(--aku-border);
    border-radius: 9px;
    background: var(--aku-canvas);
}
.aku-site-search:focus-within { border-color: var(--aku-primary); box-shadow: 0 0 0 1px var(--aku-primary); }
.aku-site-search input {
    flex: 1;
    min-inline-size: 0;
    padding: 0 0 0 .75em;
    padding-inline: .75em 0;
    border: 0;
    border-radius: 9px;
    color: var(--aku-ink);
    background: transparent;
    font: inherit;
    font-size: .81rem;
}
.aku-site-search input::placeholder { color: var(--aku-muted); opacity: 1; }
.aku-search-toggle, .aku-search-fallback { display: none; }
.aku-visually-hidden {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
html body :is(.aku-header, .aku-footer) :is(a, button, input, summary, select):focus-visible {
    outline: 2px solid var(--aku-accent) !important;
    outline-offset: 2px;
}
html body .aku-header .aku-site-search input:focus-visible { outline: 0 !important; }

/* Bridge the tokens consumed by the existing public page families. */
html body.ak-universal {
    --ak-brand-navy: var(--aku-ink);
    --ak-brand-terracotta: var(--aku-primary);
    --ak-brand-hover: var(--aku-primary-hover);
    --ak-brand-link: var(--aku-accent);
    --ak-brand-soft: var(--aku-tint);
    --ak-pro-ink: var(--aku-ink);
    --ak-pro-muted: var(--aku-muted);
    --ak-pro-line: var(--aku-border);
    --ak-pro-blue: var(--aku-primary);
    --ak-pro-paper: var(--aku-paper);
    --ak-pro-ground: var(--aku-canvas);
    --identity-violet: var(--aku-primary);
    --identity-deep-violet: var(--aku-primary-hover);
    --identity-ink: var(--aku-ink);
    --identity-paper: var(--aku-paper);
    --identity-canvas: var(--aku-canvas);
    --identity-muted: var(--aku-muted);
    --identity-tint: var(--aku-tint);
    --identity-line: var(--aku-border);
    --identity-focus: var(--aku-primary);
    --studio-focus: var(--aku-accent);
    --studio-action: var(--aku-primary);
    --studio-action-hover: var(--aku-primary-hover);
    --studio-on-action: #fff;
    --akx-blue: var(--aku-primary);
    --akx-ink: var(--aku-ink);
    --akx-ink-2: var(--aku-muted);
    --akx-paper: var(--aku-paper);
    --akx-paper-2: var(--aku-canvas);
    --akx-line: var(--aku-border);
    background: var(--aku-canvas);
}
html body.ak-universal .ak-harmony-page { background: var(--aku-canvas); color: var(--aku-ink); }
html body.ak-universal .akl-home {
    --akl-ink: var(--aku-ink);
    --akl-muted: var(--aku-muted);
    --akl-violet: var(--aku-primary);
    --akl-violet-hover: var(--aku-primary-hover);
    --akl-violet-text: var(--aku-accent);
    --akl-line: var(--aku-border);
    --akl-tint: var(--aku-tint);
    --akl-paper: var(--aku-paper);
    --akl-canvas: var(--aku-canvas);
    --akl-shadow: var(--aku-shadow);
}

html body.ak-universal .ak-brand-search {
    --search-action: var(--aku-primary);
    --search-link: var(--aku-accent);
    --search-ink: var(--aku-ink);
    --search-muted: var(--aku-muted);
    --search-line: var(--aku-border);
    --search-surface: var(--aku-paper);
    --search-tint: var(--aku-tint);
}
html body.ak-universal :is(.akl-card, .ak-brand-search-card, .mk-service, .mk-category-card, .trq-card, .av2-card, .help-next .ak-card, .about-panel, .about-human-card) {
    border-color: var(--aku-border);
    border-radius: var(--aku-radius);
    box-shadow: var(--aku-shadow);
}
html body.ak-universal :is(.ak-pro-btn, .trq-btn, .mk-primary, .ak-brand-search-primary, .av2-submit, .akl-primary, .akl-card__action, .ak-assistant-send):not(.ak-pro-btn-secondary):not(.trq-secondary):not(:disabled) {
    background: var(--aku-primary) !important;
    color: #fff !important;
    border-color: var(--aku-primary) !important;
    box-shadow: none;
}
html body.ak-universal :is(.ak-pro-btn, .trq-btn, .mk-primary, .ak-brand-search-primary, .av2-submit, .akl-primary, .akl-card__action, .ak-assistant-send):not(.ak-pro-btn-secondary):not(.trq-secondary):not(:disabled):hover {
    background: var(--aku-primary-hover) !important;
    border-color: var(--aku-primary-hover) !important;
}

.aku-listing-tags, .aku-listing-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    color: var(--aku-muted);
    font-size: .78rem;
    line-height: 1.4;
}
.aku-listing-category {
    padding: 3px 8px;
    border-radius: 5px;
    color: var(--aku-accent);
    background: var(--aku-tint);
    font-weight: 650;
}
.aku-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    color: #14533b;
    background: #e6f6ed;
    font-size: .73rem;
    font-weight: 650;
}
.aku-status::before { inline-size: 6px; block-size: 6px; border-radius: 50%; background: currentColor; content: ""; }

.aku-catalogue-with-assistant > .aku-assistant-rail { grid-area: assistant; }
.aku-catalogue-with-assistant > .ak-pro-sidebar { grid-area: filters; }
.aku-catalogue-with-assistant > .ak-pro-results { grid-area: results; }
.aku-home-listings > .akl-services__grid { grid-area: cards; }
.aku-home-listings > .akl-services__empty { grid-area: cards; }
.aku-home-listings > .aku-assistant-rail { grid-area: assistant; }
.aku-home-listings { display: grid; gap: 14px; grid-template-areas: "assistant" "cards"; align-items: start; }
.aku-assistant-rail { min-inline-size: 0; scroll-margin-block-start: 14px; }
.aku-assistant-panel {
    padding: 0 12px;
    border: 1px solid var(--aku-border);
    border-radius: var(--aku-radius);
    background: var(--aku-paper);
    color: var(--aku-ink);
    box-shadow: var(--aku-shadow);
}
.aku-assistant-panel summary { display: flex; align-items: center; gap: 9px; min-block-size: 49px; color: var(--aku-accent); font-size: .91rem; font-weight: 650; cursor: pointer; list-style: none; }
.aku-assistant-panel summary::-webkit-details-marker { display: none; }
.aku-assistant-panel summary .aku-icon:last-child { margin-inline-start: auto; }
.aku-assistant-panel[open] summary .aku-icon:last-child { rotate: 180deg; }
html body.ak-universal .aku-assistant-panel .ak-assistant {
    margin: 0;
    padding: 13px 3px 16px;
    border: 0;
    border-block-start: 1px solid var(--aku-border);
    border-radius: 0;
    background: var(--aku-paper);
    color: var(--aku-ink);
    box-shadow: none;
}
html body.ak-universal .aku-assistant-panel .ak-assistant-eyebrow { color: var(--aku-accent); }
html body.ak-universal .aku-assistant-panel .ak-assistant textarea { color: var(--aku-ink); background: var(--aku-canvas); border-color: var(--aku-border); }
html body.ak-universal .aku-assistant-panel .ak-assistant-privacy { color: var(--aku-muted); }
html body.ak-universal .aku-assistant-panel .ak-assistant-log { max-block-size: 440px; overflow: auto; }
html body.ak-universal .ak-brand-search .aku-catalogue-with-assistant {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "filters" "assistant" "results";
}

@media (min-width: 780px) {
    html body.ak-universal .ak-brand-search .aku-catalogue-with-assistant {
        grid-template-columns: minmax(0, 1fr) minmax(240px, .5fr);
        grid-template-areas: "filters assistant" "results results";
    }
}
@media (min-width: 1121px) {
    html body.ak-universal .ak-brand-search .aku-catalogue-with-assistant {
        grid-template-columns: minmax(184px, .66fr) minmax(0, 2fr) minmax(259px, .93fr);
        grid-template-areas: "filters results assistant";
    }
    /* Home: the cards take the full width (4 per row); the AI assistant is a slim bar above them
       instead of a mostly empty right column (owner request 04/12/2026). */
    .aku-home-listings { grid-template-columns: minmax(0, 1fr); grid-template-areas: "assistant" "cards"; gap: 16px; }
    .aku-catalogue-with-assistant .ak-pro-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Header Country & Language selector boxes (B6) */
.aku-locale-switchers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.aku-switcher-box {
    position: relative;
    z-index: 3;
}
.aku-switcher-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-block-size: 38px;
    padding: 4px 9px;
    border: 1px solid var(--aku-border);
    border-radius: 9px;
    background: var(--aku-paper);
    color: var(--aku-ink);
    font-size: .79rem;
    line-height: 1.2;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: border-color .15s ease, background-color .15s ease;
}
.aku-switcher-trigger::-webkit-details-marker { display: none; }
.aku-switcher-trigger:hover,
.aku-switcher-box[open] > .aku-switcher-trigger {
    border-color: var(--aku-primary);
    background: var(--aku-tint);
    color: var(--aku-accent);
}
.aku-switcher-trigger > .aku-icon:first-child {
    color: var(--aku-accent);
}
.aku-switcher-box[open] > .aku-switcher-trigger > .aku-icon:last-child {
    transform: rotate(180deg);
}
.aku-switcher-copy {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}
.aku-switcher-kicker {
    color: var(--aku-muted);
    font-size: .71rem;
    font-weight: 600;
}
.aku-switcher-value {
    color: var(--aku-ink);
    font-weight: 700;
    white-space: nowrap;
}
.aku-switcher-list {
    position: absolute;
    inset-block-start: calc(100% + 6px);
    inset-inline-end: 0;
    min-inline-size: 13.5rem;
    margin: 0;
    padding: 6px;
    list-style: none;
    border: 1px solid var(--aku-border);
    border-radius: var(--aku-radius);
    background: var(--aku-paper);
    box-shadow: 0 12px 32px rgb(15 28 46 / 16%);
}
.aku-switcher-list li { margin: 0; }
.aku-switcher-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-block-size: 38px;
    padding: 5px 10px;
    border-radius: 8px;
    color: var(--aku-ink);
    font-size: .84rem;
    font-weight: 550;
}
.aku-switcher-list a:hover,
.aku-switcher-list a[aria-current="true"] {
    background: var(--aku-tint);
    color: var(--aku-accent);
    font-weight: 700;
}
.aku-switcher-code {
    padding: 2px 6px;
    border-radius: 5px;
    background: var(--aku-tint);
    color: var(--aku-accent);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .03em;
}
@media (max-width: 1180px) {
    .aku-switcher-kicker { display: none; }
}
@media (max-width: 680px) {
    .aku-switcher-trigger {
        padding: 4px 7px;
        min-block-size: 36px;
        font-size: .75rem;
    }
    .aku-locale-switchers { gap: 4px; }
}



/* Country and language share one dialog. */
.aku-header-inner { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: clamp(8px, 1vw, 16px); }
.aku-locale-switchers { justify-self: end; }

/* Unified locale dialog and mobile drawer. */
.aku-site-nav a {
    white-space: nowrap;
    hyphens: none !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}
.aku-switcher-trigger {
    min-block-size: 44px;
    padding: 6px 12px;
}
.aku-switcher-box:not([open]) > .aku-switcher-dialog,
.aku-mobile-burger:not([open]) > .aku-mobile-drawer {
    display: none;
}
.aku-switcher-box[open]::before,
.aku-mobile-burger[open]::before {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgb(15 28 46 / 42%);
    content: "";
}
.aku-switcher-dialog {
    position: fixed;
    inset: 50% auto auto 50%;
    z-index: 100;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    inline-size: min(26rem, calc(100dvw - 24px));
    max-inline-size: calc(100dvw - 24px);
    max-block-size: calc(100dvh - 24px);
    padding: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--aku-border);
    border-radius: var(--aku-radius);
    background: var(--aku-paper);
    box-shadow: 0 14px 36px rgb(15 28 46 / 18%);
    transform: translate(-50%, -50%);
}
.aku-dialog-heading {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.aku-dialog-heading .aku-switcher-heading {
    margin: 0;
}
.aku-dialog-close {
    font-size: 1.5rem;
    line-height: 1;
}
.aku-switcher-section {
    min-inline-size: 0;
}
.aku-switcher-heading {
    margin: 0 0 6px;
    padding: 0 6px;
    color: var(--aku-muted);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.aku-switcher-dialog .aku-switcher-list {
    position: static;
    min-inline-size: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}
.aku-switcher-dialog .aku-switcher-list a {
    min-block-size: 40px;
}
.aku-mobile-burger {
    display: none;
    position: relative;
}
.aku-mobile-burger summary {
    list-style: none;
}
.aku-mobile-burger summary::-webkit-details-marker {
    display: none;
}
.aku-burger-icon-close {
    display: none;
}
.aku-mobile-burger[open] .aku-burger-icon-open {
    display: none;
}
.aku-mobile-burger[open] .aku-burger-icon-close {
    display: block;
}
.aku-mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 100;
    block-size: 100dvh;
    max-block-size: 100dvh;
    padding: 12px 16px max(16px, env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--aku-paper);
    box-shadow: 0 18px 40px rgb(15 28 46 / 22%);
}
.aku-mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-block-end: 12px;
}
.aku-mobile-drawer__header :is(h2, .aku-drawer-title) {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}
.aku-mobile-drawer__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-block-end: 14px;
}
.aku-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-block-size: 44px;
    padding: 8px 12px;
    border: 1px solid var(--aku-border);
    border-radius: 10px;
    background: var(--aku-canvas);
    color: var(--aku-ink);
    font-size: .88rem;
    font-weight: 700;
    text-align: center;
}
.aku-mobile-cta--primary {
    border-color: var(--aku-primary);
    background: var(--aku-primary);
    color: #fff !important;
}
.aku-mobile-drawer__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-block: 10px;
    border-block: 1px solid var(--aku-border);
}
.aku-mobile-drawer__nav a {
    display: flex;
    align-items: center;
    min-block-size: 44px;
    padding: 8px 12px;
    border-radius: 9px;
    color: var(--aku-ink);
    font-size: .95rem;
    font-weight: 650;
    white-space: normal;
    hyphens: none;
}
.aku-mobile-drawer__nav a:hover,
.aku-mobile-drawer__nav a[aria-current="page"] {
    background: var(--aku-tint);
    color: var(--aku-accent);
}
.aku-mobile-drawer__locale {
    padding-block-start: 12px;
}
.aku-mobile-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-block-end: 12px;
}
.aku-mobile-chips a {
    display: inline-flex;
    align-items: center;
    min-block-size: 40px;
    padding: 6px 11px;
    border: 1px solid var(--aku-border);
    border-radius: 8px;
    background: var(--aku-canvas);
    color: var(--aku-ink);
    font-size: .82rem;
    font-weight: 600;
}
.aku-mobile-chips a[aria-current="true"] {
    border-color: var(--aku-primary);
    background: var(--aku-tint);
    color: var(--aku-accent);
    font-weight: 700;
}
html {
    scroll-padding-block-start: var(--aku-header-space, 10rem);
}
html body .aku-header {
    position: sticky;
    inset-block-start: 0;
}
html body .aku-header-inner {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 0;
    row-gap: 0;
    inline-size: min(1080px, calc(100% - 32px));
    min-inline-size: 0;
    min-block-size: 0;
    margin-inline: auto;
    padding: 0;
}
html body .aku-tools {
    display: contents;
}
html body .aku-brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    min-inline-size: 0;
    margin-block: 6px;
}
html body .aku-brand .aku-logo-frame {
    --aku-logo-width: 124px;
    inline-size: 124px;
}
html body .aku-mobile-burger {
    display: inline-block;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin-block: 6px;
}
html body .aku-header :is(.aku-desktop-only, .aku-locale-switchers) {
    display: none !important;
}
html body .aku-site-search {
    position: static;
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    inline-size: 100%;
    min-inline-size: 0;
    max-inline-size: 100%;
    min-block-size: 44px;
    margin: 0;
    border: 0;
    box-shadow: inset 0 0 0 1px var(--aku-border);
}
html body .aku-nav-scroll {
    display: block;
    grid-column: 1 / -1;
    grid-row: 3;
    min-inline-size: 0;
    max-inline-size: 100%;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    border-radius: 8px;
    scrollbar-width: thin;
    white-space: nowrap;
}
html body .aku-header .aku-nav-scroll:focus-visible {
    outline: 2px solid var(--aku-accent) !important;
    outline-offset: 2px;
}
html body .aku-site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: clamp(12px, 4vw, 28px);
    inline-size: max-content;
    min-inline-size: 100%;
    overflow: visible;
}
html body .aku-site-nav a {
    flex: 0 0 auto;
    min-inline-size: 44px;
    min-block-size: 45px;
    padding-inline: 2px;
    white-space: nowrap;
}
.aku-mobile-drawer__actions {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}
.aku-mobile-cta {
    min-inline-size: 0;
    overflow-wrap: anywhere;
}
.aku-switcher-dialog .aku-switcher-list a,
.aku-mobile-chips a {
    min-block-size: 44px;
}

@media (min-width: 971px) {
    html {
        scroll-padding-block-start: var(--aku-header-space, 7rem);
    }
    html body .aku-header-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 4px;
        row-gap: 0;
        min-block-size: 0;
    }
    html body .aku-brand {
        order: 1;
        flex: 0 0 auto;
        margin-block: 10px;
    }
    html body .aku-brand .aku-logo-frame {
        --aku-logo-width: 128px;
        inline-size: 128px;
    }
    html body .aku-mobile-burger {
        display: none;
    }
    html body .aku-publish {
        order: 2;
        flex: 0 0 auto;
        margin-block: 10px;
        padding-inline: 10px;
        border-radius: 10px;
        background: var(--aku-primary);
        color: #fff !important;
    }
    html body .aku-publish:hover {
        background: var(--aku-primary-hover);
        color: #fff !important;
    }
    html body .aku-publish .aku-account-icon {
        background: rgb(255 255 255 / 15%);
        color: #fff;
    }
    html body .aku-site-search {
        order: 3;
        flex: 1 1 0;
        inline-size: auto;
        min-inline-size: 88px;
        max-inline-size: none;
        margin-block: 10px;
    }
    html body .aku-header .aku-locale-switchers {
        display: inline-flex !important;
        order: 4;
        flex: 0 0 auto;
        min-inline-size: 0;
        margin-block: 10px;
    }
    html body .aku-notification {
        order: 5;
        flex: 0 0 auto;
        margin-block: 10px;
    }
    html body .aku-login {
        order: 6;
        flex: 0 0 auto;
        margin-block: 10px;
    }
    html body .aku-header .aku-desktop-only {
        display: inline-flex !important;
        white-space: nowrap;
    }
    html body .aku-header :is(.aku-account-label, .aku-switcher-country, .aku-switcher-separator) {
        display: inline !important;
    }
    html body .aku-nav-scroll {
        order: 7;
        flex: 1 0 100%;
    }
    html body .aku-site-nav {
        gap: clamp(12px, 2vw, 28px);
    }
}

html body .aku-footer__intro > :not(.aku-footer__cta-icon) {
    min-inline-size: 0;
}
html body .aku-footer__intro :is(h2, p) {
    overflow-wrap: anywhere;
}
@media (max-width: 767px) {
    html body .akl-intents > button {
        min-inline-size: 0;
        overflow-wrap: anywhere;
    }
}

html body .aku-footer__cta-actions {
    min-inline-size: 0;
    max-inline-size: 100%;
}
html body .aku-footer__cta-actions .aku-footer__button {
    min-inline-size: 0;
    max-inline-size: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}
html body .aku-footer__utility {
    flex: 0 0 auto;
}
html body .aku-footer__columns h3 {
    overflow-wrap: anywhere;
}
html body .aku-footer__meta .aku-footer__copyright {
    min-inline-size: 0;
    max-inline-size: 100%;
    white-space: normal;
    overflow-wrap: break-word;
}
html body .aku-footer__utilities {
    flex: 1 1 0;
    max-inline-size: 100%;
    justify-content: flex-end;
}
@media (max-width: 820px) {
    html body .aku-footer__utilities {
        flex: 0 1 100%;
        justify-content: flex-start;
    }
}

/* === askaide-unified-pages.css === */
/* Apply the shared design tokens within page-specific legacy components. */
html[data-theme] body.ak-universal.ak-studio {
    --studio-bg: var(--aku-canvas);
    --studio-surface: var(--aku-paper);
    --studio-ink: var(--aku-ink);
    --studio-muted: var(--aku-muted);
    --studio-line: var(--aku-border);
    --studio-soft: var(--aku-tint);
    --studio-action: var(--aku-primary);
    --studio-action-hover: var(--aku-primary-hover);
    --studio-on-action: #fff;
    --studio-focus: var(--aku-accent);
}

html body.ak-universal .av2-shell {
    --primary: var(--aku-primary);
    --violet: var(--aku-primary);
    --display: var(--aku-font);
    --ink: var(--aku-ink);
    --ink-soft: var(--aku-muted);
    --ink-faint: var(--aku-muted);
    --surface: var(--aku-paper);
    --surface-2: var(--aku-canvas);
    --line: var(--aku-border);
    background: var(--aku-canvas) !important;
    color: var(--aku-ink);
    font-family: var(--aku-font);
}
.ak-universal .av2-shell::before, .ak-universal .av2-shell::after,
.ak-universal .av2-brand::after, .ak-universal .av2-submit::after { display: none; }
html body.ak-universal .av2-shell .av2-card {
    border: 1px solid var(--aku-border);
    border-radius: calc(var(--aku-radius) + 3px);
    background: var(--aku-paper);
    box-shadow: var(--aku-shadow);
}
html body.ak-universal .av2-shell .av2-brand {
    background: var(--aku-tint) !important;
    border-inline-end: 1px solid var(--aku-border);
}
html body.ak-universal .av2-shell .av2-brand__title {
    color: var(--aku-ink) !important;
    -webkit-text-fill-color: var(--aku-ink) !important;
    font-weight: 700;
}
.ak-universal .av2-shell :is(.av2-brand__sub, .av2-lead) { color: var(--aku-muted); }
.ak-universal .av2-shell .av2-brand__feat { color: var(--aku-ink); }
.ak-universal .av2-shell :is(.av2-brand__illu, .av2-brand__dot) {
    animation: none;
    background: var(--aku-paper);
    color: var(--aku-accent);
    box-shadow: none;
    border: 1px solid var(--aku-border);
}
.ak-universal .av2-shell .av2-form-side { background: var(--aku-paper); }
.ak-universal .av2-shell :is(.av2-tabs, .av2-input, .av2-social__btn) { border-color: var(--aku-border); box-shadow: none; }
.ak-universal .av2-shell :is(.av2-tabs, .av2-input) { background: var(--aku-canvas); }
.ak-universal .av2-shell .av2-tab--active { background: var(--aku-paper); color: var(--aku-accent); }
html body.ak-universal .av2-shell .av2-submit {
    border-radius: 9px;
    background: var(--aku-primary) !important;
    color: #fff !important;
    box-shadow: none !important;
}
html body.ak-universal .av2-shell .av2-submit:hover {
    background: var(--aku-primary-hover) !important;
    filter: none;
    transform: none;
}

/* About retains the original editorial layout, sharing the chrome palette. */
html body.ak-universal .ak-about {
    --aa-ink: var(--aku-ink);
    --aa-muted: var(--aku-muted);
    --aa-brand: var(--aku-accent);
    --aa-hover: var(--aku-primary-hover);
    --aa-page: var(--aku-canvas);
    --aa-card: var(--aku-paper);
    --aa-soft: var(--aku-tint);
    --aa-line: var(--aku-border);
    font-family: var(--aku-font);
}
html body.ak-universal .ak-about h1 {
    font-size: clamp(2.1rem, 4.25vw, 3.2rem);
    font-weight: 700;
}
html body.ak-universal .ak-about :is(.ak-about__choice, .ak-about__portrait, .ak-about__steps li) {
    border-radius: var(--aku-radius);
    box-shadow: var(--aku-shadow);
}
html body.ak-universal .ak-about :is(a.ak-about__choice--primary, a.ak-about__button--primary) {
    border-color: var(--aku-primary);
    background: var(--aku-primary) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
html body.ak-universal .ak-about a.ak-about__choice--primary :is(strong,span,b,i) {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
html body.ak-universal .ak-about :is(a.ak-about__choice--primary, a.ak-about__button--primary):hover {
    border-color: var(--aku-primary-hover);
    background: var(--aku-primary-hover) !important;
}

/* Help keeps the existing assistant and displays it beside the introduction. */
html body.ak-universal [data-view="preview.help-center-next"] .akmk {
    --ground: var(--aku-canvas);
    --surface: var(--aku-paper);
    --surface-2: var(--aku-canvas);
    --raise: var(--aku-paper);
    --ink: var(--aku-ink);
    --ink-soft: var(--aku-muted);
    --ink-faint: var(--aku-muted);
    --line: var(--aku-border);
    --line-2: var(--aku-border);
    --primary: var(--aku-primary);
    --primary-ink: #fff;
    --primary-soft: var(--aku-tint);
    --primary-line: var(--aku-border);
    --violet: var(--aku-primary);
    --accent: var(--aku-accent);
    --accent-soft: var(--aku-tint);
    --accent-ink: var(--aku-accent);
    --display: var(--aku-font);
    --body: var(--aku-font);
    --shadow: var(--aku-shadow);
    --shadow-lg: var(--aku-shadow);
    --lift: var(--aku-shadow);
    --r: var(--aku-radius);
    --r-sm: var(--aku-radius);
}
html body.ak-universal [data-view="preview.help-center-next"] .akmk::before { display: none; }
html body.ak-universal [data-view="preview.help-center-next"] .akmk .ak-hero .ak-vis { display: none; }
html body.ak-universal [data-view="preview.help-center-next"] .akmk .ak-hero.ak-split {
    display: block;
    text-align: start;
    padding-block: clamp(25px, 3.5vw, 50px) 20px;
}
html body.ak-universal [data-view="preview.help-center-next"] .akmk .ak-hero h1 {
    margin-inline: 0;
    max-inline-size: 24ch;
    font-size: clamp(1.95rem, 4vw, 3.25rem) !important;
    font-weight: 700;
}
html body.ak-universal [data-view="preview.help-center-next"] .akmk .ak-hero h1 .g {
    background: none;
    color: var(--aku-accent) !important;
    -webkit-text-fill-color: currentColor;
}
html body.ak-universal [data-view="preview.help-center-next"] .akmk .ak-faq-item[open] > summary {
    color: var(--aku-accent);
}
.ak-universal [data-view="preview.help-center-next"] .akmk .ak-hero :is(.ak-lead, .ak-wrap) { margin-inline: 0; }
html body.ak-universal [data-view="preview.help-center-next"] .akmk :is(.searchbar, .ak-card, .ak-faq-item, .ak-assistant) {
    border-radius: var(--aku-radius);
    border-color: var(--aku-border);
    background: var(--aku-paper);
    box-shadow: var(--aku-shadow) !important;
}
html body.ak-universal [data-view="preview.help-center-next"] .akmk .ak-card::before { display: none; }
html body.ak-universal [data-view="preview.help-center-next"] .akmk .sb-go {
    background: var(--aku-primary) !important;
    color: #fff !important;
    border-radius: 9px;
    box-shadow: none !important;
}
html body.ak-universal [data-view="preview.help-center-next"] .akmk .sb-go:hover { background: var(--aku-primary-hover) !important; }
html body.ak-universal [data-view="preview.help-center-next"] .akmk .ak-assistant {
    min-inline-size: 0;
    margin-block: 12px 28px;
}
html body.ak-universal [data-view="preview.help-center-next"] .ak-tools-guide {
    background: var(--aku-paper) !important;
    border-color: var(--aku-border) !important;
    color: var(--aku-ink) !important;
    font-family: var(--aku-font) !important;
    box-shadow: var(--aku-shadow);
}
html body.ak-universal [data-view="preview.help-center-next"] .ak-tools-guide :is(.ak-tools-guide__eyebrow, .ak-tools-guide__actions a, .ak-tools-guide__answer a) {
    color: var(--aku-accent) !important;
    -webkit-text-fill-color: var(--aku-accent) !important;
}
html body.ak-universal [data-view="preview.help-center-next"] .ak-tools-guide :is(details, summary, .ak-tools-guide__actions a) {
    border-color: var(--aku-border) !important;
    background: var(--aku-paper) !important;
}
html body.ak-universal [data-view="preview.help-center-next"] .ak-tools-guide :is(h2, summary) {
    color: var(--aku-ink) !important;
    -webkit-text-fill-color: currentColor !important;
}
html body.ak-universal [data-view="preview.help-center-next"] .ak-tools-guide :is(.ak-tools-guide__header, .ak-tools-guide__answer) > p {
    color: var(--aku-muted) !important;
}
html body.ak-universal [data-view="preview.help-center-next"] .ak-tools-guide summary::after {
    color: var(--aku-accent);
}
html body.ak-universal [data-view="preview.help-center-next"] .ak-tools-guide :is(a, summary):focus-visible {
    outline-color: var(--aku-accent);
}
@media (min-width: 1040px) {
    html body.ak-universal [data-view="preview.help-center-next"] .akmk > .shell {
        display: grid;
        grid-template-columns: minmax(0, 1.45fr) minmax(0, .95fr);
        align-items: start;
        gap: 0 clamp(24px, 3vw, 44px);
    }
    .ak-universal [data-view="preview.help-center-next"] .akmk > .shell > :not(.ak-hero, .ak-assistant) { grid-column: 1 / -1; }
    html body.ak-universal [data-view="preview.help-center-next"] .akmk > .shell > .ak-assistant {
        grid-column: 2;
        inline-size: auto;
        max-inline-size: none;
        margin: clamp(25px, 3.5vw, 50px) 0 28px;
    }
}

.ak-universal .trq {
    color: var(--aku-ink);
    background: var(--aku-canvas);
    font-family: var(--aku-font);
}
.ak-universal .trq :is(.trq-lead, .trq-help) { color: var(--aku-muted); }
html body.ak-universal .trq :is(.trq-card, .trq-empty-hero, .trq-empty-block, .trq-local-draft, .trq-ai-live) {
    border-color: var(--aku-border);
    border-radius: var(--aku-radius);
    background: var(--aku-paper);
    box-shadow: var(--aku-shadow);
}
html body.ak-universal .trq .trq-field :is(input, select, textarea):not([aria-invalid="true"]) {
    border-color: var(--aku-border);
    border-radius: 9px;
    background: var(--aku-paper);
    color: var(--aku-ink);
}
html body.ak-universal .trq .trq-btn:not(.trq-secondary) {
    border-color: var(--aku-primary);
    border-radius: 9px;
    background: var(--aku-primary);
    color: #fff !important;
}
html body.ak-universal .trq .trq-btn:not(.trq-secondary):hover { background: var(--aku-primary-hover); }
html body.ak-universal .trq .trq-secondary {
    border-color: var(--aku-border);
    background: var(--aku-paper);
    color: var(--aku-accent) !important;
}
.ak-universal .trq :is(a:not(.trq-btn), .trq-text-button) { color: var(--aku-accent); }
.ak-universal .trq-publication .trq-progress [aria-current="step"] {
    color: var(--aku-accent);
    background: var(--aku-tint);
    border-color: var(--aku-border);
}

html body.ak-universal .ak-detail {
    --ad-bg: var(--aku-canvas);
    --ad-card: var(--aku-paper);
    --ad-ink: var(--aku-ink);
    --ad-muted: var(--aku-muted);
    --ad-line: var(--aku-border);
    --ad-blue: var(--aku-primary);
    --ad-blue-hover: var(--aku-primary-hover);
    --ad-link: var(--aku-accent);
    --ad-soft: var(--aku-tint);
}
html body.ak-universal .ak-detail.svc-page :is(.card, .sim-card, .stat-tile) {
    border-radius: var(--aku-radius);
    box-shadow: var(--aku-shadow) !important;
}
html body.ak-universal .ak-detail.svc-page .card:hover { border-color: var(--aku-border); }
html body.ak-universal .ak-detail :is(.btn-secondary, .btn-icon) {
    background: var(--aku-paper) !important;
    color: var(--aku-accent) !important;
}
html body.ak-universal .ak-detail-profile :is(.prof-card, .prof-stat-card, .prof-service-card, .prof-sidebar__card) {
    border-radius: var(--aku-radius) !important;
    background: var(--aku-paper);
    box-shadow: var(--aku-shadow) !important;
}
html body.ak-universal .ak-detail-profile :is(.prof-btn--outline, .idc__va-btn--outline, .vab__btn--outline) {
    border-color: var(--aku-border);
    background: var(--aku-paper);
    color: var(--aku-accent);
}

html body.ak-universal #main-content .mk-ui {
    --mk-bg: var(--aku-canvas);
    --mk-surface: var(--aku-paper);
    --mk-ink: var(--aku-ink);
    --mk-muted: var(--aku-muted);
    --mk-line: var(--aku-border);
    --mk-accent: var(--aku-primary);
    --mk-on: #fff;
    --mk-soft: var(--aku-tint);
    font-family: var(--aku-font);
}
html body.ak-universal #main-content .mk-category .cd-search button {
    border-radius: 9px;
    background: var(--aku-primary);
    color: #fff;
}
html body.ak-universal #main-content .mk-category .cd-search button:hover { background: var(--aku-primary-hover); }

/* === askaide-unified-footer.css === */
.aku-footer {
    /* The legacy theme gives every footer margin-top: 8.93% of the page width (146px at 1640px). */
    margin-block-start: clamp(16px, 2.5vw, 32px);
    --aku-footer-text: var(--aku-ink, #0f1c2e);
    --aku-footer-muted: var(--aku-muted, #526074);
    --aku-footer-rule: var(--aku-border, #e8e4ef);
    --aku-footer-paper: var(--aku-paper, #fff);
    --aku-footer-accent: var(--aku-primary, #6d28d9);
    --aku-footer-tint: #f5f1fe;
    --aku-footer-link: var(--aku-footer-accent);
    --studio-focus: var(--aku-footer-link);
    color: var(--aku-footer-text);
    background: var(--aku-footer-paper);
    border-block-start: 1px solid var(--aku-footer-rule);
    font-size: .9375rem;
    line-height: 1.55;
    text-align: start;
}

html[data-theme="dark"] .aku-footer {
    --aku-footer-text: #f6f4ff;
    --aku-footer-muted: #cdc6dd;
    --aku-footer-rule: #3e3650;
    --aku-footer-paper: #1e1a2b;
    --aku-footer-tint: #30234c;
    --aku-footer-link: #dcc8ff;
}

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

.aku-footer__container {
    inline-size: min(1080px, calc(100% - 32px));
    margin-inline: auto;
    padding: 2.25rem 0 1.125rem;
}

.aku-footer__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem 2.25rem;
    margin-block-end: clamp(1.875rem, 4vw, 3rem);
    padding: clamp(1rem, 2.8vw, 1.875rem);
    border: 1px solid var(--aku-footer-rule);
    border-radius: 16px;
    background: var(--aku-footer-tint);
}

.aku-footer__intro {
    display: flex;
    align-items: flex-start;
    gap: .95rem;
    min-inline-size: 0;
}

.aku-footer__cta-icon {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    block-size: 46px;
    border-radius: 12px;
    background: var(--aku-footer-accent);
    color: #fff;
}

body .aku-footer__intro h2 {
    margin: 0 0 .25rem;
    color: var(--aku-footer-text);
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    font-weight: 650;
    line-height: 1.22;
}

.aku-footer__intro p {
    margin: 0;
    color: var(--aku-footer-muted);
    font-size: .9375rem;
}

.aku-footer__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

body .aku-footer .aku-footer__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-block-size: 44px;
    padding: .65rem .95rem;
    border: 1px solid var(--aku-footer-rule);
    border-radius: 10px;
    background: var(--aku-footer-paper);
    color: var(--aku-footer-text);
    font: inherit;
    font-size: .875rem;
    font-weight: 650;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
}

body .aku-footer .aku-footer__button:hover {
    border-color: var(--aku-footer-link);
    color: var(--aku-footer-link);
}

body .aku-footer .aku-footer__button--primary {
    border-color: transparent;
    background: var(--aku-footer-accent);
    color: #fff;
}

body .aku-footer .aku-footer__button--primary:hover {
    border-color: transparent;
    background: #5b21b6;
    color: #fff;
}

[dir="rtl"] .aku-footer__cta-actions svg {
    transform: scaleX(-1);
}

.aku-footer__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem clamp(1.25rem, 4vw, 3.25rem);
}

.aku-footer__brand,
.aku-footer__columns nav {
    min-inline-size: 0;
}

.aku-footer__logo {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
}

.aku-footer__baseline {
    margin: .7rem 0 .24rem;
    color: var(--aku-footer-text);
    font-size: 1rem;
    font-weight: 650;
}

.aku-footer__description {
    max-inline-size: 40ch;
    margin: 0;
    color: var(--aku-footer-muted);
    font-size: .875rem;
}

.aku-footer__social {
    margin-block-start: .85rem;
}

.aku-footer__social strong {
    display: block;
    margin-block-end: .35rem;
    color: var(--aku-footer-text);
    font-size: .75rem;
    font-weight: 650;
}

.aku-footer__social div {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}

body .aku-footer__social a {
    display: grid;
    place-items: center;
    inline-size: 44px;
    block-size: 44px;
    color: var(--aku-footer-link);
    border: 1px solid var(--aku-footer-rule);
    border-radius: 10px;
}

.aku-footer__social a:hover {
    background: var(--aku-footer-tint);
}

.aku-footer__social svg {
    width: 16px;
    height: 16px;
}

.aku-footer__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem clamp(.85rem, 2vw, 1.625rem);
}

body .aku-footer__columns h3 {
    margin: .35rem 0 .55rem;
    color: var(--aku-footer-text);
    font-size: .9375rem;
    font-weight: 650;
    line-height: 1.35;
}

.aku-footer__columns ul,
.aku-footer__language-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body .aku-footer__columns a,
body .aku-footer__language-list a {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
    padding-block: .2rem;
    color: var(--aku-footer-muted);
    font-size: .875rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
    text-decoration: none;
}

body .aku-footer__columns a:hover,
body .aku-footer__language-list a:hover {
    color: var(--aku-footer-link);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.aku-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .25rem 1rem;
    margin-block-start: clamp(1.5rem, 3vw, 2.25rem);
    padding-block-start: .75rem;
    border-block-start: 1px solid var(--aku-footer-rule);
}

.aku-footer__copyright {
    margin: 0;
    color: var(--aku-footer-muted);
    font-size: .8125rem;
}

.aku-footer__utilities {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .85rem;
    align-items: flex-start;
    min-inline-size: 0;
}

.aku-footer__utility {
    position: relative;
    min-inline-size: 0;
}

.aku-footer__utility summary,
body .aku-footer__utility-link {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-block-size: 44px;
    padding: 0 .25rem;
    color: var(--aku-footer-text);
    font-size: .8125rem;
    font-weight: 625;
    list-style: none;
    cursor: pointer;
    text-decoration: none;
}

body .aku-footer__utility-link:hover {
    color: var(--aku-footer-link);
    text-decoration: underline;
}

.aku-footer__utility summary::-webkit-details-marker {
    display: none;
}

.aku-footer__utility summary::after {
    content: '';
    inline-size: .42rem;
    block-size: .42rem;
    margin: -.2rem .18rem 0;
    border-block-end: 1.5px solid currentColor;
    border-inline-end: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.aku-footer__utility[open] summary::after {
    margin-block-start: .15rem;
    transform: rotate(-135deg);
}

.aku-footer__countries summary svg,
.aku-footer__countries summary > span > span,
.aku-footer__languages summary svg,
.aku-footer__languages summary [lang] {
    color: var(--aku-footer-link);
}

.aku-footer__newsletter,
.aku-footer .aku-footer__language-list {
    position: absolute;
    z-index: 2;
    inset-block-end: calc(100% + .25rem);
    inset-inline-end: 0;
    inline-size: 22rem;
    max-inline-size: calc(100dvw - 32px);
    padding: .875rem;
    background: var(--aku-footer-paper);
    border: 1px solid var(--aku-footer-rule);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgb(22 16 43 / 9%);
}

.aku-footer .aku-footer__language-list {
    inline-size: 10rem;
}

.aku-footer__language-list a {
    padding-inline: .35rem;
}

body .aku-footer__language-list a[aria-current] {
    color: var(--aku-footer-link);
    font-weight: 650;
}

.aku-footer__newsletter p {
    margin: 0 0 .7rem;
    color: var(--aku-footer-muted);
    font-size: .8125rem;
}

.aku-footer__newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .6rem;
    margin: 0;
}

.aku-footer__newsletter-form input[type="email"] {
    inline-size: 100%;
    min-inline-size: 0;
    padding: .55rem .6rem;
    border: 1px solid var(--aku-footer-rule);
    border-radius: 10px;
    background: var(--aku-footer-paper);
    color: var(--aku-footer-text);
    font-size: 1rem;
}

.aku-footer__consent {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    color: var(--aku-footer-muted);
    font-size: .8125rem;
}

.aku-footer .aku-footer__consent input[type="checkbox"] {
    appearance: auto !important;
    display: block !important;
    position: static !important;
    flex: 0 0 18px;
    block-size: 18px;
    margin: .12rem 0 0;
    opacity: 1 !important;
    accent-color: var(--aku-footer-accent);
}

.aku-footer :focus-visible {
    outline: 2px solid var(--aku-footer-link);
    outline-offset: 3px;
}

@media (min-width: 641px) {
    .aku-footer__columns {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: clamp(.85rem, 2vw, 1.625rem);
    }

    body .aku-footer__columns a,
    body .aku-footer__language-list a {
        min-block-size: 33px;
    }
}

@media (min-width: 971px) {
    .aku-footer__main {
        grid-template-columns: minmax(18rem, .75fr) minmax(0, 2.4fr);
    }
}

@media (max-width: 820px) {
    .aku-footer__newsletter,
    .aku-footer .aku-footer__language-list {
        position: static;
        inline-size: 100%;
        max-inline-size: 100%;
        box-shadow: none;
    }
}

@media (min-width: 641px) and (max-width: 820px) {
    .aku-footer__utilities {
        flex: 0 1 100%;
        justify-content: flex-start;
    }
}

@media (min-width: 821px) {
    .aku-footer__meta {
        flex: 0 0 auto;
        max-inline-size: 100%;
    }

    html body .aku-footer__utilities {
        flex: 0 0 100%;
        flex-wrap: wrap;
        inline-size: 100%;
        max-inline-size: 100%;
    }
}

@media (max-width: 640px) {
    .aku-footer__container {
        padding-block-start: 1.25rem;
    }

    .aku-footer__utilities {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        flex: 0 1 100%;
        inline-size: 100%;
        gap: .25rem .75rem;
        justify-content: stretch;
    }

    .aku-footer__utility,
    .aku-footer__utility summary,
    body .aku-footer__utility-link {
        max-inline-size: 100%;
    }

    .aku-footer__utility summary,
    body .aku-footer__utility-link {
        flex-wrap: wrap;
        inline-size: 100%;
        padding-inline: 0;
    }

    .aku-footer__utility summary > span {
        min-inline-size: 0;
        overflow-wrap: anywhere;
    }

    .aku-footer__utilities > .aku-footer__utility-link:not(.aku-footer__cookie-settings) {
        grid-column: 1;
        justify-self: start;
    }

    .aku-footer__cookie-settings {
        grid-column: 2;
        justify-self: start;
    }

    .aku-footer__utility:has(.aku-footer__newsletter) {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .aku-footer__countries summary,
    .aku-footer__languages summary {
        flex-wrap: nowrap;
        gap: .25rem;
    }

    .aku-footer__countries summary::after,
    .aku-footer__languages summary::after {
        flex: 0 0 .42rem;
        margin-inline: 0;
    }

    .aku-footer__countries summary > svg,
    .aku-footer__languages summary > svg {
        flex: 0 0 16px;
    }

    .aku-footer__countries {
        grid-column: 1;
    }

    .aku-footer__languages {
        grid-column: 2;
    }
}

@media (max-width: 400px) {
    .aku-footer__cta {
        row-gap: .85rem;
    }

    .aku-footer__cta-actions {
        inline-size: 100%;
    }

    .aku-footer__cta-actions .aku-footer__button {
        flex: 1 1 100%;
    }

    .aku-footer__newsletter-form {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* === askaide-sitemap-geo.css === */
/* Local guides, recommendations, and catalogue paths share Askaide's public surfaces. */
.ak-universal #main-content :is(.plh, .mgc, .geb) {
    background: var(--aku-canvas) !important;
    color: var(--aku-ink);
}

.ak-universal #main-content :is(.plh-wrap, .mgc-wrap, .geb-wrap) {
    inline-size: min(1224px, calc(100% - 40px));
}

.ak-universal #main-content :is(.plh-breadcrumb, .mgc-breadcrumb, .geb-breadcrumb) {
    padding-block: 0;
    margin-block: 0;
    padding-block-start: 18px;
    color: var(--aku-muted);
    overflow-wrap: anywhere;
}

.ak-universal #main-content :is(.plh-breadcrumb, .mgc-breadcrumb, .geb-breadcrumb) a {
    color: var(--aku-accent) !important;
}

.ak-universal #main-content :is(.plh-hero, .mgc-hero, .geb-hero) {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(245px, .47fr);
    gap: clamp(14px, 3vw, 32px);
    padding: clamp(16px, 3vw, 34px);
    margin-block: 16px 18px;
    border: 1px solid var(--aku-border);
    border-radius: var(--aku-radius) !important;
    background: var(--aku-paper) !important;
    box-shadow: var(--aku-shadow);
}

.ak-universal #main-content :is(.plh-hero, .mgc-hero, .geb-hero) h1 {
    margin-block: 10px 0;
    color: var(--aku-ink) !important;
    font-size: clamp(1.8rem, 4.1vw, 3.15rem);
    font-weight: 650;
    line-height: 1.1;
    letter-spacing: -.028em;
    overflow-wrap: anywhere;
}

[dir="rtl"] .ak-universal #main-content :is(.plh-hero, .mgc-hero, .geb-hero) h1 { letter-spacing: normal; }

.ak-universal #main-content :is(.plh-lead, .mgc-lead, .geb-lead) {
    margin-block: 12px 0;
    color: var(--aku-muted) !important;
    font-size: 1rem;
    line-height: 1.65;
}

.ak-universal #main-content :is(.plh-pill, .mgc-pill, .geb-pill) {
    min-block-size: 29px;
    padding-inline: 10px;
    border: 1px solid var(--aku-border);
    border-radius: 8px;
    color: var(--aku-accent) !important;
    background: var(--aku-tint) !important;
}

.ak-universal #main-content :is(.plh-actions, .mgc-actions, .geb-actions) { margin-block-start: 16px; }
.ak-universal #main-content :is(.plh-btn, .mgc-btn, .geb-btn) {
    min-block-size: 44px;
    padding: 9px 14px;
    border: 1px solid var(--aku-border);
    border-radius: 8px;
    color: var(--aku-accent) !important;
    background: var(--aku-paper) !important;
    font-size: .91rem;
    text-align: center;
    transform: none;
    box-shadow: none;
}

.ak-universal #main-content :is(.plh-btn--primary, .mgc-btn--primary, .geb-btn--primary) {
    border-color: var(--aku-primary);
    color: #fff !important;
    background: var(--aku-primary) !important;
}

.ak-universal #main-content :is(.plh-btn--primary, .mgc-btn--primary, .geb-btn--primary):hover {
    border-color: var(--aku-primary-hover);
    background: var(--aku-primary-hover) !important;
}

.ak-universal #main-content :is(.plh-card, .plh-info, .mgc-card, .mgc-info, .geb-card, .geb-mini-card, .plh-faq details, .mgc-faq details) {
    min-inline-size: 0;
    border: 1px solid var(--aku-border);
    border-radius: var(--aku-radius);
    color: var(--aku-ink) !important;
    background: var(--aku-paper) !important;
    box-shadow: var(--aku-shadow);
}

.ak-universal #main-content :is(.plh-hero, .mgc-hero, .geb-hero) > aside {
    padding: 16px;
    background: var(--aku-canvas) !important;
    box-shadow: none;
}

.ak-universal #main-content :is(.plh-section, .mgc-section, .geb-section) { padding-block: clamp(13px, 2vw, 27px); }
.ak-universal #main-content :is(.plh, .mgc, .geb) :is(h2, h3, h4) { color: var(--aku-ink) !important; overflow-wrap: anywhere; }
.ak-universal #main-content :is(.plh-section, .mgc-section, .geb-main, .geb-side) h2 {
    margin-block-end: 12px;
    font-size: clamp(1.25rem, 2.3vw, 1.8rem);
    font-weight: 650;
}
.ak-universal #main-content :is(.plh-card, .plh-info, .mgc-card, .mgc-info, .geb-card, .geb-faq) p {
    color: var(--aku-muted) !important;
    overflow-wrap: anywhere;
}

.ak-universal #main-content :is(.plh-signals, .mgc-signals, .geb-signals, .mgc-market, .mgc-action-strip, .plh-links, .mgc-links, .plh-faq-links, .mgc-faq-links) a {
    border: 1px solid var(--aku-border);
    border-radius: 8px;
    color: var(--aku-accent) !important;
    background: var(--aku-paper) !important;
    box-shadow: none;
    overflow-wrap: anywhere;
}
.ak-universal #main-content :is(.mgc-action-strip strong, .mgc-links a span) { color: var(--aku-accent) !important; }
.ak-universal #main-content :is(.mgc-action-strip span, .plh-faq p, .mgc-faq p) { color: var(--aku-muted) !important; }
.ak-universal #main-content .geb-signals > li {
    border-color: var(--aku-border);
    border-radius: 8px;
    background: var(--aku-tint) !important;
    color: var(--aku-ink) !important;
}

.ak-universal #main-content :is(.plh-final, .mgc-final, .geb-final, .mgc-note) {
    border: 1px solid var(--aku-border);
    border-radius: var(--aku-radius);
    background: var(--aku-tint) !important;
    color: var(--aku-ink) !important;
}
.ak-universal #main-content :is(.plh-final, .mgc-final, .geb-final) p { color: var(--aku-muted) !important; }

.ak-universal #main-content:is([data-view="geo.trusted"], [data-view="geo.top-services"]) > .container {
    inline-size: min(1224px, calc(100% - 40px));
    max-inline-size: none;
    margin-inline: auto;
}

.ak-universal #main-content:is([data-view="geo.trusted"], [data-view="geo.top-services"]) :is(.card, [data-ai-summary].bg-light) {
    color: var(--aku-ink);
    background: var(--aku-paper) !important;
    border: 1px solid var(--aku-border) !important;
    border-radius: var(--aku-radius) !important;
    box-shadow: var(--aku-shadow);
}

.ak-universal #main-content:is([data-view="geo.trusted"], [data-view="geo.top-services"]) [data-ai-facts] > .bg-white {
    border: 1px solid var(--aku-border);
    border-radius: 8px !important;
    background: var(--aku-tint) !important;
}
.ak-universal #main-content:is([data-view="geo.trusted"], [data-view="geo.top-services"]) :is(.text-muted, .lead) { color: var(--aku-muted) !important; }
.ak-universal #main-content:is([data-view="geo.trusted"], [data-view="geo.top-services"]) .text-primary { color: var(--aku-accent) !important; }
.ak-universal #main-content:is([data-view="geo.trusted"], [data-view="geo.top-services"]) .btn-primary {
    border-color: var(--aku-primary) !important;
    color: #fff !important;
    background: var(--aku-primary) !important;
}

@media (max-width: 760px) {
    .ak-universal #main-content :is(.plh-wrap, .mgc-wrap, .geb-wrap),
    .ak-universal #main-content:is([data-view="geo.trusted"], [data-view="geo.top-services"]) > .container {
        inline-size: calc(100% - 24px);
    }
    .ak-universal #main-content :is(.plh-hero, .mgc-hero, .geb-hero) { grid-template-columns: minmax(0, 1fr); }
}

/* === askaide-sitemap-catalogue.css === */
/* Public catalogue and editorial families use the shared shell tokens. */
html[data-theme] body.ak-universal #main-content :is(.mk-category, .mk-local, .mk-city, .mk-objects, .geo-city-hub, .ba-page, .bt-page, .akx-blog-hub) {
    font-family: var(--aku-font);
}

html[data-theme] body.ak-universal #main-content :is(.mk-category .mk-hero, .mk-objects .mp-top, .geo-city-hub .gch-hero, .local-guide .lg-hero) {
    grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(18px, 2.5vw, 34px);
    padding: clamp(18px, 2.2vw, 32px);
    border: 1px solid var(--aku-border);
    border-radius: var(--aku-radius);
    background: var(--aku-paper) !important;
    box-shadow: var(--aku-shadow);
}

html[data-theme] body.ak-universal #main-content :is(.mk-category .mk-hero h1, .mk-local .lg-hero h1, .mk-city .hub-hero h1, .mk-objects .mp-top h1, .geo-city-hub .gch-title, .ba-page .ba-title, .bt-page .bt-title) {
    max-inline-size: 28ch;
    font-size: clamp(1.72rem, 3.4vw, 2.4rem) !important;
    line-height: 1.17 !important;
    font-weight: 730;
    letter-spacing: -.028em;
    color: var(--aku-ink) !important;
    -webkit-text-fill-color: var(--aku-ink) !important;
}

html[data-theme][dir="rtl"] body.ak-universal #main-content :is(.mk-category .mk-hero h1, .mk-local .lg-hero h1, .mk-city .hub-hero h1, .mk-objects .mp-top h1, .geo-city-hub .gch-title, .ba-page .ba-title, .bt-page .bt-title) {
    letter-spacing: normal;
}

html[data-theme] body.ak-universal #main-content :is(.mk-category .mk-lead, .mk-objects .mp-lead, .gch-lead, .lg-hero__copy > p, .hub-lead, .ba-page .ba-lead, .bt-page .bt-lead) {
    color: var(--aku-muted) !important;
    line-height: 1.6;
    max-inline-size: 66ch;
}

html[data-theme] body.ak-universal #main-content .mk-category .mk-hero-search {
    background: var(--aku-canvas);
    border: 1px solid var(--aku-border);
    border-radius: var(--aku-radius);
    box-shadow: none;
}

html[data-theme] body.ak-universal #main-content :is(.mk-service-grid, .ak-pro-cards):has(> .aku-service-row) {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

html[data-theme] body.ak-universal #main-content .aku-service-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) max-content;
    align-items: start;
    gap: 14px;
    min-inline-size: 0;
    min-block-size: 0;
    padding: clamp(13px, 1.6vw, 20px);
    border: 1px solid var(--aku-border);
    border-radius: var(--aku-radius);
    background: var(--aku-paper);
    color: var(--aku-ink);
    box-shadow: var(--aku-shadow);
    overflow: visible;
    text-align: start;
}

html[data-theme] body.ak-universal #main-content .aku-service-row:hover { border-color: var(--aku-accent); }

.aku-service-row__icon {
    display: grid;
    block-size: 52px;
    inline-size: 52px;
    overflow: hidden;
    place-items: center;
    border-radius: 12px;
    background: var(--aku-tint);
    color: var(--aku-accent);
}

.aku-service-row__icon > img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.aku-service-row__icon > svg { inline-size: 24px; block-size: 24px; }
.aku-service-row__body { display: grid; align-content: start; gap: 6px; min-inline-size: 0; }

html[data-theme] body.ak-universal #main-content .aku-service-row h3 {
    margin: 0;
    font-size: clamp(1rem, 1.25vw, 1.16rem);
    line-height: 1.27;
    overflow-wrap: anywhere;
}

html[data-theme] body.ak-universal #main-content .aku-service-row h3 a { color: var(--aku-ink); text-decoration: none; }
html[data-theme] body.ak-universal #main-content .aku-service-row h3 a:hover { color: var(--aku-accent); text-decoration: underline; }

html[data-theme] body.ak-universal #main-content .aku-service-row .aku-service-row__description {
    margin: 0;
    color: var(--aku-muted);
    font-size: .9rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.aku-service-row__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 7px;
    color: var(--aku-muted);
    font-size: .78rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.aku-service-row__meta .aku-listing-meta { color: inherit; font-size: inherit; }
.aku-service-row__actions { display: flex; flex-direction: column; align-items: end; gap: 6px; text-align: end; align-self: center; }
.aku-service-row__price { font-size: .85rem; font-weight: 700; }
.aku-service-row__price small { font-size: .77rem; font-weight: 500; color: var(--aku-muted); }

html[data-theme] body.ak-universal #main-content .aku-service-row .aku-service-row__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-block-size: 44px;
    padding: .55rem .72rem;
    border-radius: 9px;
    color: #fff !important;
    background: var(--aku-primary) !important;
    text-decoration: none;
    font-size: .83rem;
    font-weight: 650;
    line-height: 1.23;
    text-align: center;
}

html[data-theme] body.ak-universal #main-content .aku-service-row .aku-service-row__cta:hover { background: var(--aku-primary-hover) !important; }

/* City services retain their data and reading order. The guide shortcuts sit below the offers. */
html[data-theme] body.ak-universal #main-content .local-guide .lg-hero {
    border-radius: var(--aku-radius) !important;
}

html[data-theme] body.ak-universal #main-content .local-guide .lg-hero__media {
    min-inline-size: 0;
    min-block-size: 0;
    border-radius: var(--aku-radius);
    box-shadow: none;
}

html[data-theme] body.ak-universal #main-content .local-guide .lg-hero__media img {
    aspect-ratio: 4 / 3;
    block-size: auto;
    max-block-size: 300px;
    inline-size: 100%;
    object-fit: cover;
}

html[data-theme] body.ak-universal #main-content .local-guide :is(.lg-signals > div, .lg-action-strip > a, .lg-provider, .lg-section, .lg-side-card) {
    border-color: var(--aku-border) !important;
    border-radius: var(--aku-radius) !important;
    background: var(--aku-paper) !important;
    box-shadow: var(--aku-shadow);
}

html[data-theme] body.ak-universal #main-content .local-guide .lg-provider-grid { gap: 12px; }

html[data-theme] body.ak-universal #main-content .local-guide .lg-provider {
    align-items: center;
    gap: 12px;
    padding: 14px;
    min-block-size: 0;
}

html[data-theme] body.ak-universal #main-content .local-guide .lg-provider em { color: var(--aku-accent) !important; }

.aku-local-action-context {
    inline-size: min(1200px, calc(100% - 32px));
    margin: 20px auto;
    padding: clamp(14px, 2vw, 24px);
    border: 1px solid var(--aku-border);
    border-radius: var(--aku-radius);
    background: var(--aku-tint);
}

html[data-theme] body.ak-universal #main-content .aku-local-action-context .lg-action-strip { margin-block-start: 10px; }
html[data-theme] body.ak-universal #main-content .aku-local-action-context .lg-action-strip strong { color: var(--aku-accent) !important; }
html[data-theme] body.ak-universal #main-content .aku-local-action-context .lg-action-strip span { color: var(--aku-muted) !important; }

/* The existing country, city and guide hubs share the same readable surfaces. */
html[data-theme] body.ak-universal #main-content .geo-city-hub .gch-hero::before { display: none; }
html[data-theme] body.ak-universal #main-content .geo-city-hub .gch-stat b {
    color: var(--aku-ink) !important;
    -webkit-text-fill-color: var(--aku-ink) !important;
    background: none !important;
}
.geo-city-hub .gch-stat { min-inline-size: 0; overflow-wrap: anywhere; }

html[data-theme] body.ak-universal #main-content :is(.geo-city-hub .gch-panel, .geo-city-hub .gch-section, .city-hub .hub-panel, .city-hub .hub-hero-card, .mp-page .mp-empty, .mp-page .mk-filter, .ba-page .ba-content, .ba-page .ba-panel, .ba-page .ba-info, .ba-page .ba-card, .ba-page .ba-article-card, .bt-page .bt-card) {
    background: var(--aku-paper) !important;
    border-color: var(--aku-border) !important;
    border-radius: var(--aku-radius) !important;
    box-shadow: var(--aku-shadow);
}

html[data-theme] body.ak-universal #main-content :is(.gch-kicker, .gch-eyebrow, .ba-kicker, .ba-chip, .bt-kicker, .bt-card__theme) {
    background: var(--aku-tint) !important;
    color: var(--aku-accent) !important;
    -webkit-text-fill-color: var(--aku-accent) !important;
    border-color: var(--aku-border) !important;
    border-radius: 999px;
}

html[data-theme] body.ak-universal #main-content :is(.gch-kicker, .ba-kicker)::before { background: var(--aku-primary); box-shadow: none; }

html[data-theme] body.ak-universal #main-content .geo-city-hub .gch-btn:not(.gch-btn--primary),
html[data-theme] body.ak-universal #main-content .ba-page .ba-btn.ba-action {
    border-color: var(--aku-border) !important;
    background: var(--aku-paper) !important;
    color: var(--aku-accent) !important;
    -webkit-text-fill-color: var(--aku-accent) !important;
}

html[data-theme] body.ak-universal #main-content :is(.gch-btn:not(.gch-btn--primary), .ba-page .ba-btn.ba-action):hover { border-color: var(--aku-accent) !important; }

/* The dedicated region pages also use the shared palette. */
html[data-theme] body.ak-universal #main-content .rg-page {
    --hero-bg: var(--aku-paper);
    --hero-glass: var(--aku-tint);
    --hero-glass-line: var(--aku-border);
    --hero-ink: var(--aku-ink);
    --hero-line: var(--aku-border);
    --hero-soft: var(--aku-muted);
    --surface: var(--aku-paper);
    --surface-2: var(--aku-tint);
    --raise: var(--aku-canvas);
    --ink: var(--aku-ink);
    --ink-soft: var(--aku-muted);
    --ink-faint: var(--aku-muted);
    --line: var(--aku-border);
    --line-2: var(--aku-border);
    --primary: var(--aku-primary);
    --primary-soft: var(--aku-tint);
    --primary-line: var(--aku-border);
    --accent: var(--aku-primary);
    --accent-soft: var(--aku-tint);
    --accent-ink: var(--aku-accent);
    --r: var(--aku-radius);
    --r-sm: var(--aku-radius);
    --display: var(--aku-font);
    --body: var(--aku-font);
    --shadow: var(--aku-shadow);
    --lift: var(--aku-shadow);
    background: var(--aku-canvas);
}

html[data-theme] body.ak-universal #main-content .rg-page .rg-hero::after { display: none; }

html[data-theme] body.ak-universal #main-content .rg-page .rg-btn--secondary {
    background: var(--aku-paper) !important;
    color: var(--aku-accent) !important;
    -webkit-text-fill-color: var(--aku-accent) !important;
}

/* Marketplace rows preserve the original full-card link and image state. */
html[data-theme] body.ak-universal #main-content .mp-page .mp-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

html[data-theme] body.ak-universal #main-content .mp-page .mp-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    min-inline-size: 0;
    padding: 14px;
    border-radius: var(--aku-radius);
    border-color: var(--aku-border);
    background: var(--aku-paper) !important;
    color: var(--aku-ink);
    box-shadow: var(--aku-shadow);
}

html[data-theme] body.ak-universal #main-content .mp-page .mp-card:hover { border-color: var(--aku-accent); }

html[data-theme] body.ak-universal #main-content .mp-page .mp-photo {
    block-size: 88px;
    inline-size: 88px;
    border-radius: 10px;
    background: var(--aku-tint);
    color: var(--aku-muted);
    font-size: .73rem;
    text-align: center;
}

html[data-theme] body.ak-universal #main-content .mp-page .mp-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    align-items: start;
    padding: 0;
}

.mp-page .mp-card-body .mp-info { grid-column: 1; color: var(--aku-muted); }
.mp-page .mp-card-body .mp-price { grid-column: 2; grid-row: 1; color: var(--aku-ink); white-space: nowrap; }
.mp-page .mp-card-body .mp-view {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: center;
    justify-self: end;
    min-block-size: 44px;
    align-content: center;
    padding: 6px 10px;
    border-radius: 9px;
    background: var(--aku-tint);
    color: var(--aku-accent);
}

/* Keep the article's summary and search actions near its title. */
html[data-theme] body.ak-universal #main-content .ba-page {
    --page: var(--aku-canvas);
    --ground: var(--aku-canvas);
    --surface: var(--aku-paper);
    --surface-2: var(--aku-tint);
    --ink: var(--aku-ink);
    --ink-soft: var(--aku-muted);
    --line: var(--aku-border);
    --line-2: var(--aku-border);
    --primary: var(--aku-primary);
    --primary-soft: var(--aku-tint);
    --primary-ink: #fff;
    --display: var(--aku-font);
    --body: var(--aku-font);
}

html[data-theme] body.ak-universal #main-content .ba-page .ba-hero { padding-block: clamp(18px, 3vw, 42px) 10px; }
html[data-theme] body.ak-universal #main-content .ba-page .ba-breadcrumb a {
    color: var(--aku-accent) !important;
    -webkit-text-fill-color: var(--aku-accent) !important;
}

html[data-theme] body.ak-universal #main-content .ba-page .aku-article-intro {
    grid-template-areas: "copy cover" "summary summary";
    grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr);
    align-items: start;
    gap: 16px clamp(18px, 3vw, 38px);
    padding: clamp(14px, 2.2vw, 28px);
    border: 1px solid var(--aku-border);
    border-radius: var(--aku-radius);
    background: var(--aku-paper);
    box-shadow: var(--aku-shadow);
}

.aku-article-copy { grid-area: copy; min-inline-size: 0; }
.aku-article-cover { grid-area: cover; min-inline-size: 0; }
html[data-theme] body.ak-universal #main-content .ba-page .aku-article-cover .ba-image {
    margin: 0;
    border-radius: var(--aku-radius);
    inline-size: 100%;
    aspect-ratio: 16 / 11;
}

html[data-theme] body.ak-universal #main-content .ba-page .aku-article-intro .ba-panel {
    position: static;
    grid-area: summary;
    min-inline-size: 0;
    padding: 14px;
    background: var(--aku-canvas) !important;
    box-shadow: none;
}

html[data-theme] body.ak-universal #main-content .ba-page .aku-article-intro .ba-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

html[data-theme] body.ak-universal #main-content .ba-page .aku-article-intro .ba-search .ba-btn {
    min-inline-size: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
}

html[data-theme] body.ak-universal #main-content .ba-page .ba-meta > span { background: var(--aku-canvas); border-color: var(--aku-border); }

@media (min-width: 921px) {
    html[data-theme] body.ak-universal #main-content .ba-page .aku-article-intro .ba-panel {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        grid-template-areas: "title title" "answer search" "answer stats";
        align-items: start;
        gap: 8px 14px;
    }

    .aku-article-intro .ba-panel > h2 { grid-area: title; margin: 0; }
    .aku-article-intro .ba-panel > .ba-answer { grid-area: answer; }
    .aku-article-intro .ba-panel > .ba-search { grid-area: search; margin: 0; }
    .aku-article-intro .ba-panel > .ba-stats { grid-area: stats; margin: 0; }
}

html[data-theme] body.ak-universal #main-content[data-view="preview.conseils-next"] .akmk {
    --display: var(--aku-font);
    --body: var(--aku-font);
}

html[data-theme] body.ak-universal #main-content[data-view="preview.conseils-next"] .akmk :is(.ak-hero, .ak-card) {
    border-color: var(--aku-border);
    border-radius: var(--aku-radius);
}

@media (max-width: 920px) {
    html[data-theme] body.ak-universal #main-content :is(.mk-category .mk-hero, .mk-objects .mp-top, .geo-city-hub .gch-hero, .local-guide .lg-hero) {
        grid-template-columns: minmax(0, 1fr);
    }

    html[data-theme] body.ak-universal #main-content .ba-page .aku-article-intro {
        grid-template-areas: "copy" "cover" "summary";
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 700px) {
    html[data-theme] body.ak-universal #main-content .aku-service-row {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px;
    }

    .aku-service-row__icon { inline-size: 42px; block-size: 42px; border-radius: 9px; }
    .aku-service-row__actions { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; text-align: start; }
    html[data-theme] body.ak-universal #main-content .local-guide .lg-hero__media img { max-block-size: 200px; }
    html[data-theme] body.ak-universal #main-content .mp-page .mp-card { grid-template-columns: 64px minmax(0, 1fr); gap: 9px; padding: 11px; }
    html[data-theme] body.ak-universal #main-content .mp-page .mp-photo { inline-size: 64px; block-size: 64px; }
    html[data-theme] body.ak-universal #main-content .mp-page .mp-card-body { grid-template-columns: minmax(0, 1fr); }
    .mp-page .mp-card-body :is(.mp-price,.mp-view) { grid-column: 1; grid-row: auto; justify-self: start; }
}

@media (max-width: 390px) {
    html[data-theme] body.ak-universal #main-content .ba-page .aku-article-intro .ba-search { grid-template-columns: minmax(0, 1fr); }
}


.aku-service-row:has(a.aku-card-link) {
    position: relative;
}

.aku-service-row h3:has(a.aku-card-link) {
    position: static;
}

.aku-service-row a.aku-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
}

.aku-service-row:has(a.aku-card-link) :is(a:not(.aku-card-link), button, input, select, textarea, summary) {
    position: relative;
    z-index: 1;
}

/* === askaide-sitemap-details.css === */
/* Service, profile and item detail share the public Askaide surfaces. */
.ak-detail {
    --detail-gap: clamp(12px, 2vw, 22px);
    --detail-padding: clamp(16px, 2.6vw, 30px);
}

body.ak-universal #main-content .ak-detail-service .ad-service-hero {
    background: var(--aku-canvas) !important;
    padding-block: 0 !important;
}

html body.ak-universal .ak-detail-service .ad-service-hero > .max-w-7xl {
    padding-block: clamp(18px, 2.7vw, 30px) !important;
}

.ak-detail-service .crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 6px;
    line-height: 1.55;
    margin-block-end: 16px;
}

html body.ak-universal .ak-detail-service .ak-service-summary-grid,
.ak-detail-service .ak-service-content {
    display: grid;
    grid-template-columns: minmax(0, 2.35fr) minmax(260px, 1fr);
    gap: var(--detail-gap);
    align-items: start;
}

html body.ak-universal .ak-detail-service .ak-service-summary,
html body.ak-universal .ak-detail-service .ak-service-provider {
    min-width: 0;
    padding: var(--detail-padding);
    background: var(--aku-paper);
    border: 1px solid var(--aku-border);
    border-radius: var(--aku-radius);
    box-shadow: var(--aku-shadow);
}

html body.ak-universal .ak-detail-service .ak-service-summary h1 {
    margin-block: 12px !important;
    max-width: none !important;
    font-size: clamp(1.7rem, 3.05vw, 2.65rem) !important;
    line-height: 1.16 !important;
    text-wrap: pretty;
}

html body.ak-universal .ak-detail-service .ak-service-summary .profile-service-lead {
    margin-block-end: 0;
    font-size: clamp(.98rem, 1.45vw, 1.1rem) !important;
    line-height: 1.65 !important;
}

body.ak-universal #main-content .ak-detail-service .ak-service-summary .h-eyebrow {
    background: var(--aku-tint) !important;
    border-color: var(--aku-border) !important;
    color: var(--aku-accent) !important;
    -webkit-text-fill-color: var(--aku-accent) !important;
}

body.ak-universal #main-content .ak-detail-service .ak-service-summary .h-eyebrow svg {
    color: var(--aku-accent) !important;
}

html body.ak-universal .ak-detail-service .ak-service-provider {
    display: flex;
    align-items: flex-start;
    text-align: start;
    justify-self: stretch;
    width: auto;
    max-width: none;
    gap: 12px;
}

.ak-service-provider__identity {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    width: 100%;
}

html body.ak-universal .ak-detail-service .ak-service-provider .profile-portrait__photo {
    display: block;
    width: 56px !important;
    height: 56px !important;
    margin: 0;
    border: 1px solid var(--aku-border) !important;
    border-radius: 50% !important;
    object-fit: cover;
}

html body.ak-universal .ak-detail-service .ak-service-provider h2 {
    margin: 0 !important;
    font-size: 1.15rem !important;
    line-height: 1.25;
    color: var(--aku-ink) !important;
}

html body.ak-universal .ak-detail-service .ak-service-provider :is(.profile-overline, .profile-portrait__location) {
    margin: 0 !important;
}

.ak-service-provider__actions {
    display: grid;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.ak-service-provider__price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3px 8px;
    padding-block-start: 12px;
    margin: 0;
    border-block-start: 1px solid var(--aku-border);
}

.ak-service-provider__price dt {
    color: var(--aku-muted);
    font-size: .84rem;
}

.ak-service-provider__price dd {
    margin: 0;
    color: var(--aku-ink);
    font-weight: 700;
}

.ak-service-provider__price small {
    color: var(--aku-muted);
    font-weight: 500;
}

html body.ak-universal .ak-detail-service .ak-service-provider .profile-portrait__link {
    justify-content: flex-start;
    border: 0;
    padding: 0;
    margin: 0;
    line-height: 1.35;
}

.ak-detail-service .ak-service-sections {
    padding-block: clamp(18px, 3vw, 34px) clamp(30px, 4.5vw, 54px);
}

.ak-service-content__main,
.ak-service-content__aside {
    min-width: 0;
}

html body.ak-universal .ak-detail-service .profile-section-nav-wrap {
    border-block-color: var(--aku-border);
}

html body.ak-universal .ak-detail-profile #identity-card.ak-profile-identity-card {
    padding: 0 !important;
    margin-block-end: 0;
    overflow: hidden;
}

html body.ak-universal .ak-detail-profile .ak-profile-identity-card .profile-identity-cover {
    height: clamp(62px, 8vw, 112px);
    min-height: 0;
    position: static;
    border-radius: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--aku-tint);
    border-block-end: 1px solid var(--aku-border);
}

html body.ak-universal .ak-detail-profile .ak-profile-identity-card .profile-identity-heading {
    position: relative;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 12px 18px !important;
    padding: 0 var(--detail-padding) var(--detail-padding) !important;
    margin-block-start: -18px;
    margin-block-end: 0;
}

.ak-profile-identity-copy {
    min-width: 0;
    flex: 1 1 190px;
    padding-block-start: 22px;
}

html body.ak-universal .ak-profile-identity-card .prof-page-title {
    font-size: clamp(1.45rem, 3.1vw, 2.2rem) !important;
}

html body.ak-universal .ak-profile-identity-card .profile-identity-heading :is(.idc__photo-wrap, .idc__avatar-ring) {
    width: 80px !important;
    height: 80px !important;
    flex: 0 0 80px !important;
    border-radius: 50% !important;
}

html body.ak-universal .ak-profile-identity-card .profile-identity-heading .idc__avatar-ring {
    border: 2px solid var(--aku-paper) !important;
    padding: 0 !important;
    background: var(--aku-paper) !important;
}

html body.ak-universal .ak-profile-identity-card .profile-identity-heading .idc__avatar-img {
    width: 76px !important;
    height: 76px !important;
    border-radius: 50% !important;
    object-fit: cover;
}

html body.ak-universal .ak-profile-identity-card :is(.idc__personal-info, .idc__visitor-actions, .idc__share-section, .idc__social-links, .idc__footer, .prof-verif-row) {
    margin: 0 !important;
    padding: 8px var(--detail-padding) !important;
    border-block-start: 1px solid var(--aku-border);
}

html body.ak-universal .ak-profile-identity-card .idc__visitor-actions .idc__va-btn {
    flex: 0 1 auto;
    min-width: 0;
    min-height: 44px;
    margin-block: 3px;
}

html body.ak-universal .ak-profile-identity-card .ak-profile-share summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    margin: 0;
    cursor: pointer;
    list-style: none;
    color: var(--aku-accent);
}

.ak-profile-share summary::-webkit-details-marker {
    display: none;
}

.ak-profile-share summary::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-inline-start: 3px;
    margin-block-end: 3px;
    border-inline-end: 1px solid currentColor;
    border-block-end: 1px solid currentColor;
    transform: rotate(45deg);
}

.ak-profile-share[open] summary::after {
    transform: rotate(225deg);
    margin-block-end: 0;
}

html body.ak-universal .ak-detail-profile .profile-section-nav {
    gap: 6px 20px;
    padding-inline: 4px;
    margin-block-start: 4px;
}

html body.ak-universal .ak-detail-profile .prof-content-grid {
    grid-template-columns: minmax(0, 1fr) minmax(248px, .43fr);
    gap: var(--detail-gap);
    margin-block-start: 12px;
}

.ak-detail-profile .prof-content-grid__aside {
    position: static;
}

html body.ak-universal .ak-detail-profile .prof-content-grid__aside .prof-cta-banner {
    background: var(--aku-paper) !important;
    border-radius: var(--aku-radius) !important;
    box-shadow: var(--aku-shadow);
}

html body.ak-universal .ak-detail.mk-page :is(.mk-detail__gallery, .mk-detail__desc-section, .mk-detail__info) {
    background: var(--aku-paper);
    border-radius: var(--aku-radius);
    box-shadow: var(--aku-shadow);
}

html body.ak-universal .ak-detail.mk-page .mk-disclaimer {
    background: var(--aku-tint);
}

@media (max-width: 1060px) {
    html body.ak-universal .ak-detail-profile:has(> .prof-sidebar) .prof-content-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 800px) {
    html body.ak-universal .ak-detail-profile .prof-content-grid,
    html body.ak-universal .ak-detail-service .ak-service-summary-grid,
    .ak-detail-service .ak-service-content {
        grid-template-columns: minmax(0, 1fr);
    }

    html body.ak-universal .ak-detail-service .profile-section-nav-wrap {
        padding-inline: 16px;
    }

    html body.ak-universal .ak-detail-service .ak-service-provider {
        gap: 8px;
        padding-block: 12px;
    }

    .ak-service-provider__actions {
        gap: 8px;
    }

    .ak-service-provider__price {
        padding-block-start: 8px;
    }

    .ak-profile-identity-copy {
        flex-basis: 140px;
    }
}

@media (max-width: 450px) {
    html body.ak-universal .ak-profile-identity-card .idc__visitor-actions .idc__va-btn {
        flex: 1 1 105px;
    }
}

/* === askaide-sitemap-static.css === */
/* Donation and initial country selection still use their original form markup. */
html[data-theme="dark"] body.ak-universal #main-content :is(
    .trq-publication .trq-progress [aria-current="step"],
    .legal-page .legal-kicker,
    .legal-page .legal-status > a
) {
    color: var(--aku-accent) !important;
}

main[data-view="donation"] .dv2-shell {
    --dv2-brand-900: var(--aku-ink);
    --dv2-brand-800: var(--aku-primary-hover);
    --dv2-brand-700: var(--aku-accent);
    --dv2-brand-600: var(--aku-primary);
    --dv2-brand-50: var(--aku-tint);
    --dv2-ink-900: var(--aku-ink);
    --dv2-ink-700: var(--aku-muted);
    --dv2-ink-500: var(--aku-muted);
    --dv2-line: var(--aku-border);
    --dv2-bg: var(--aku-canvas);
    --dv2-g-blue-bg: var(--aku-tint);
    --dv2-g-blue-text: var(--aku-accent);
    background: var(--aku-canvas);
    color: var(--aku-ink);
}

main[data-view="donation"] .dv2-shell .dv2-hero {
    background: linear-gradient(145deg, var(--aku-tint), var(--aku-canvas) 72%);
}

main[data-view="donation"] .dv2-shell :is(.dv2-card, .dv2-cta, .dv2-section--white) {
    background: var(--aku-paper);
    border-color: var(--aku-border);
}

main[data-view="donation"] .dv2-shell .dv2-card {
    border-radius: var(--aku-radius);
    box-shadow: var(--aku-shadow);
}

main[data-view="donation"] .dv2-shell .dv2-btn:not(.dv2-btn--ghost) {
    background: var(--aku-primary);
    color: #fff;
    border-radius: var(--aku-radius);
}

main[data-view="donation"] .dv2-shell .dv2-btn:not(.dv2-btn--ghost):hover {
    background: var(--aku-primary-hover);
}

main[data-view="donation"] .dv2-shell .dv2-btn--ghost,
main[data-view="donation"] .dv2-shell .dv2-custom input {
    background: var(--aku-paper);
    border-color: var(--aku-border);
}

main[data-view="donation"] .dv2-shell .dv2-btn--ghost {
    color: var(--aku-accent);
    border-radius: var(--aku-radius);
}

main[data-view="donation"] .dv2-shell .dv2-mode__badge {
    background: var(--aku-tint);
    color: var(--aku-accent);
    box-shadow: none;
}

main[data-view="donation"] .dv2-shell .dv2-mode label {
    color: var(--aku-muted);
}

main[data-view="donation"] .dv2-shell .dv2-mode label:hover {
    color: var(--aku-ink);
}

main[data-view="donation"] .dv2-shell .dv2-don-form__hint {
    background: var(--aku-tint);
    border-color: var(--aku-border);
    color: var(--aku-ink);
}

main[data-view="donation"] .dv2-shell .dv2-don-form__hint svg {
    color: var(--aku-accent);
}

main[data-view="donation"] .dv2-shell .dv2-don-form__hint[hidden] {
    display: none;
}

main[data-view="donation"] .dv2-shell :is(.dv2-mode, .dv2-amounts label) {
    background: var(--aku-canvas);
    border-color: var(--aku-border);
    color: var(--aku-ink);
}

main[data-view="donation"] .dv2-shell :is(.dv2-mode, .dv2-amounts) input:checked + label {
    background: var(--aku-tint);
    color: var(--aku-accent);
    border-color: var(--aku-primary);
}

main[data-view="donation"] .dv2-shell :is(.dv2-mode, .dv2-amounts) input:focus-visible + label {
    outline: 2px solid var(--aku-accent);
    outline-offset: 2px;
}

body.ak-harmony-site .header__content:has(#country-form) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, .58fr);
    align-items: center;
    gap: clamp(1.25rem, 4vw, 3.5rem);
    inline-size: min(74rem, 100% - 2rem);
    margin: clamp(1rem, 3vw, 2.5rem) auto;
    padding: clamp(1.25rem, 4vw, 3.75rem);
    border: 1px solid var(--aku-border);
    border-radius: var(--aku-radius);
    background: var(--aku-paper) !important;
    color: var(--aku-ink);
    box-shadow: var(--aku-shadow);
}

body.ak-harmony-site .header__content:has(#country-form) .header__texts {
    inline-size: auto;
    min-inline-size: 0;
    text-align: start;
}

body.ak-harmony-site .header__content:has(#country-form) .title--header {
    color: var(--aku-ink);
    font: 650 clamp(1.75rem, 3.3vw, 2.65rem)/1.16 var(--aku-font);
    letter-spacing: -.025em;
}

body.ak-harmony-site .header__content:has(#country-form) .header__intro {
    color: var(--aku-muted);
}

body.ak-harmony-site .header__content:has(#country-form) :is(.title--header, .header__intro) em {
    color: var(--aku-accent);
    background: none;
    -webkit-text-fill-color: currentColor;
}

body.ak-harmony-site .header__content:has(#country-form) .header__people {
    position: static;
    justify-self: center;
    inline-size: min(100%, 21rem);
    block-size: auto;
    margin: 0;
    object-fit: contain;
}

body.ak-harmony-site #country-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    gap: .65rem;
    align-items: center;
}

body.ak-harmony-site #country-form :is(select, .select2-container) {
    inline-size: 100%;
    min-inline-size: 0;
}

body.ak-harmony-site #country-form :is(select, .select2-selection) {
    min-block-size: 48px;
    border: 1px solid var(--aku-border);
    border-radius: var(--aku-radius);
    background: var(--aku-canvas);
    color: var(--aku-ink);
}

body.ak-harmony-site #country-form .search__button {
    inline-size: 48px;
    block-size: 48px;
    margin: 0;
    border-radius: var(--aku-radius);
    background: var(--aku-primary) !important;
    color: #fff !important;
}

body.ak-harmony-site #country-form .search__button:hover {
    background: var(--aku-primary-hover) !important;
}

@media (max-width: 780px) {
    body.ak-harmony-site .header__content:has(#country-form) {
        grid-template-columns: minmax(0, 1fr);
    }

    body.ak-harmony-site .header__content:has(#country-form) .header__people {
        inline-size: min(55%, 12rem);
    }
}

@media (max-width: 520px) {
    body.ak-harmony-site #country-form {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* === askaide-interactive-layout.css === */
html body.ak-universal .ak-detail-service .ad-service-hero > .max-w-7xl {
    padding-block: clamp(12px, 2vw, 22px) !important;
}

html body.ak-universal .ak-detail-service .ak-service-summary,
html body.ak-universal .ak-detail-service .ak-service-provider--compact {
    padding: clamp(14px, 1.6vw, 20px);
    overflow-wrap: anywhere;
}

.ak-detail-service .crumb {
    margin-block-end: 10px;
}

html body.ak-universal .ak-detail-service .ak-service-summary h1 {
    margin-block: 8px !important;
}

html body.ak-universal .ak-detail-service .ak-service-provider--compact {
    gap: 8px;
    scroll-margin-block-start: 90px;
}

.ak-service-provider--compact .ak-service-provider__identity {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
}

html body.ak-universal .ak-detail-service .ak-service-provider--compact .profile-portrait__photo {
    width: 44px !important;
    height: 44px !important;
}

.ak-service-provider--compact h2 a {
    display: inline-block;
    min-height: 24px;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--aku-border);
}

.ak-service-provider--compact h2 a:hover {
    text-decoration-color: currentColor;
}

.ak-service-provider--compact :is(.ak-service-provider__status, .ak-service-provider__presence) {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    color: var(--aku-muted);
    font-size: .78rem;
}

.ak-service-provider__presence span {
    inline-size: 7px;
    block-size: 7px;
    border-radius: 50%;
    background: var(--aku-muted);
}

.ak-service-provider__presence .is-online {
    background: #15835a;
}

.ak-service-provider--compact .ak-service-provider__price {
    width: 100%;
    padding-block-start: 8px;
}

body.ak-universal .ak-detail-service .ak-service-provider__contact {
    width: 100%;
    min-height: 44px;
    text-align: center;
}

.ak-service-provider__channels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
}

.ak-service-provider__channels > a {
    flex: 1 1 auto;
    min-height: 44px;
}

.ak-detail-service .ak-service-sections {
    padding-block: clamp(14px, 2vw, 22px) clamp(22px, 3vw, 34px);
}

html body.ak-universal .ak-detail-service :is(.profile-description, .profile-practical) {
    padding: clamp(16px, 1.8vw, 22px) !important;
}

.ak-service-content__main.space-y-6 > :not([hidden]) ~ :not([hidden]) {
    margin-block-start: 16px;
}

.ak-service-contact-tip {
    margin: 8px 0;
    color: var(--aku-muted);
    font-size: .875rem;
}

html body.ak-universal .market-home .market-directory .market-tabs {
    margin-block: 10px 12px;
    gap: 4px clamp(8px, 2vw, 20px);
}

html body.ak-universal .market-home .market-directory .market-directory-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
}

html body.ak-universal .market-home .market-directory-list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 10px;
    background: var(--aku-paper);
    border: 1px solid var(--aku-border);
    border-radius: 9px;
    color: var(--aku-ink);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

html body.ak-universal .market-home .market-directory-list a:hover {
    color: var(--aku-accent);
    background: var(--aku-tint);
}

@media (min-width: 710px) {
    html body.ak-universal .market-home .market-directory .market-directory-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1180px) {
    html body.ak-universal .market-home .market-directory .market-directory-list {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* === askaide-sitewide-motion.css === */
.aku-site-motion-rail {
    --aku-scene-height: 48px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: min(calc(100% - 32px), 1280px);
    margin-inline: auto;
    background: radial-gradient(ellipse at right center, var(--aku-tint), transparent 210px);
    border-radius: var(--aku-radius);
    pointer-events: none;
}

[dir="rtl"] .aku-site-motion-rail {
    background: radial-gradient(ellipse at left center, var(--aku-tint), transparent 210px);
}

#main-content:has([data-local-scene], [data-aku-auth-scene], [data-catalogue-scene], [data-page-scene]) > .aku-site-motion-rail {
    display: none;
}

.aku-site-scene {
    position: relative;
    isolation: isolate;
    min-inline-size: 0;
    inline-size: calc(var(--aku-scene-height) * 1.7);
    block-size: var(--aku-scene-height);
    pointer-events: none;
}

.aku-site-scene > canvas,
.aku-site-scene__fallback,
.cx-ic[data-category-card-scene] > canvas {
    position: absolute;
    inset: 0;
    display: block;
    inline-size: 100%;
    block-size: 100%;
    pointer-events: none;
}

.aku-site-scene[data-site-scene-ready] .aku-site-scene__fallback,
[data-category-card-scene][data-card-scene-ready] .aku-card-motion-fallback {
    visibility: hidden;
}

.aku-site-scene__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.aku-site-scene__fallback > span {
    display: grid;
    place-items: center;
    inline-size: 38%;
    aspect-ratio: 1.08;
    max-inline-size: 68px;
    color: var(--aku-accent);
    background: var(--aku-paper);
    border: 1px solid var(--aku-border);
    border-radius: 20%;
    box-shadow: var(--aku-shadow);
    transform: translateY(9%) rotate(-9deg);
}

.aku-site-scene__fallback > span:nth-child(2) {
    color: var(--aku-accent);
    background: var(--aku-tint);
    transform: translateY(-9%) rotate(9deg);
}

.aku-site-motion-rail .aku-site-scene__fallback svg {
    inline-size: 16px;
    block-size: 16px;
}

html body.ak-universal #main-content .mk-requests .aku-requests-intro {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px clamp(14px, 3vw, 36px);
}

.aku-requests-intro__copy {
    min-inline-size: 0;
}

.aku-requests-intro__copy > .mk-button {
    margin-block-start: 14px;
}

.aku-requests-intro .aku-site-scene {
    --aku-scene-height: clamp(96px, 12vw, 174px);
    justify-self: end;
    max-inline-size: 100%;
    background: transparent;
}

.cx-ic[data-category-card-scene] {
    position: relative;
    isolation: isolate;
}

.aku-card-motion-fallback {
    display: grid;
    place-items: center;
    inline-size: 100%;
    block-size: 100%;
    pointer-events: none;
}

@media (max-width: 640px) {
    html body.ak-universal #main-content .mk-requests .aku-requests-intro {
        grid-template-columns: minmax(0, 1fr) minmax(64px, 88px);
        align-items: start;
        gap: 8px 10px;
    }

    .aku-requests-intro__copy {
        display: contents;
    }

    .aku-requests-intro__copy > :not(.mk-button) {
        grid-column: 1 / -1;
    }

    .aku-requests-intro__copy > .mk-button {
        grid-column: 1;
        grid-row: 4;
        align-self: center;
        justify-self: start;
        margin-block-start: 0;
    }

    .aku-requests-intro .aku-site-scene {
        --aku-scene-height: 51px;
        grid-column: 2;
        grid-row: 4;
        align-self: center;
    }

    .aku-requests-intro .aku-site-scene__fallback svg {
        inline-size: 14px;
        block-size: 14px;
    }
}


/* Public illustration fallbacks: no decorative cards. */
html body [data-site-scene]:is([data-site-scene=cities],[data-site-scene=marketplace],[data-site-scene=help]) .aku-site-scene__fallback > span {background:transparent;border:0;box-shadow:none;}
html body [data-site-scene]:is([data-site-scene=cities],[data-site-scene=marketplace],[data-site-scene=help]) .aku-site-scene__fallback svg {inline-size:34px;block-size:34px;}
@media(max-width:600px){html body #main-content [data-site-scene=cities]{min-block-size:105px;min-inline-size:178px;max-inline-size:100%;}}

/* === askaide-category-worlds.css === */
[data-category-world] {
    --cat-surface: var(--cat-tint);
    --cat-color: var(--cat-accent);
    --cat-border: color-mix(in srgb, var(--cat-accent) 18%, var(--aku-border));
    --cat-glow: color-mix(in srgb, var(--cat-accent) 15%, var(--cat-surface));
}

@property --ak-category-outline-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 36deg;
}

@keyframes ak-category-outline-sweep {
    to { --ak-category-outline-angle: 396deg; }
}

html[data-theme] body.ak-universal #main-content :is(.akmk .cx-card, [data-internal-card])[data-category-world] {
    border-color: color-mix(in srgb, var(--cat-color) 21%, var(--aku-border));
}

html[data-theme] body.ak-universal #main-content :is(.akmk .cx-card, [data-internal-card])[data-category-world]::before {
    content: none;
}

@supports (mask-composite: exclude) {
    html[data-theme] body.ak-universal #main-content :is(.akmk .cx-card, [data-internal-card])[data-category-world]::before {
        content: "";
        position: absolute;
        inset: 0;
        inline-size: auto;
        block-size: auto;
        border-radius: inherit;
        padding: 1.5px;
        pointer-events: none;
        background: conic-gradient(
            from var(--ak-category-outline-angle) at 50% 50%,
            transparent 0deg,
            color-mix(in srgb, var(--cat-color) 20%, transparent) 25deg,
            color-mix(in srgb, var(--cat-color) 55%, transparent) 54deg,
            color-mix(in srgb, var(--cat-color) 16%, transparent) 86deg,
            transparent 116deg 360deg
        ) !important;
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask-composite: exclude;
    }

    @media (prefers-reduced-motion: no-preference) {
        html[data-theme] body.ak-universal #main-content :is(.akmk .cx-card, [data-internal-card])[data-category-world][data-category-outline-visible]::before {
            animation: ak-category-outline-sweep 14s linear infinite;
        }

        html[data-theme] body.ak-universal #main-content :is(.akmk .cx-card, [data-internal-card])[data-category-world][data-category-outline-visible]:nth-child(3n + 2)::before {
            animation-delay: -4s;
        }

        html[data-theme] body.ak-universal #main-content :is(.akmk .cx-card, [data-internal-card])[data-category-world][data-category-outline-visible]:nth-child(3n)::before {
            animation-delay: -8s;
        }
    }
}

html[data-theme="dark"] [data-category-world] {
    --cat-surface: var(--cat-dark-tint);
    --cat-color: color-mix(in srgb, var(--cat-accent) 32%, white);
    --cat-border: color-mix(in srgb, var(--cat-color) 20%, var(--aku-border));
}

html[data-theme] body.ak-universal #main-content .akmk .cx-card[data-category-world] .cx-top {
    position: relative;
    display: grid;
    place-items: center;
    justify-content: center;
    grid-template-columns: minmax(0, 1fr);
    min-inline-size: 0;
    padding: 4px 8px;
    margin-block-end: 12px;
    border: 1px solid var(--cat-border);
    border-radius: 10px;
    background: radial-gradient(ellipse at 50% 94%, var(--cat-glow), transparent 72%), var(--cat-surface) !important;
}

html[data-theme] body.ak-universal #main-content .akmk .cx-card[data-category-world] .cx-ic {
    display: grid;
    place-items: center;
    inline-size: 100px !important;
    block-size: 100px !important;
    color: var(--cat-color) !important;
    background: none !important;
    box-shadow: none;
}

html[data-theme] body.ak-universal #main-content .akmk .cx-card[data-category-world] .cx-ic svg {
    color: var(--cat-color);
}

html[data-theme] body.ak-universal #main-content .akmk .cx-card[data-category-world] .cx-count {
    position: absolute;
    inset-block-start: 8px;
    inset-inline-end: 8px;
    max-inline-size: calc(100% - 16px);
    background: var(--aku-paper) !important;
    border: 1px solid var(--cat-border);
    color: var(--cat-color) !important;
    overflow-wrap: anywhere;
}

html[data-theme] body.ak-universal #main-content .akmk .cx-card[data-category-world] .cx-cta {
    color: var(--cat-color) !important;
}

html[data-theme] body.ak-universal #main-content .mk-category .mk-hero[data-category-world] {
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    background: linear-gradient(126deg, var(--cat-surface), var(--cat-glow)) !important;
    border-color: var(--cat-border);
}

html[data-theme] body.ak-universal #main-content .mk-category .mk-hero[data-category-world] .mk-eyebrow {
    color: var(--cat-color) !important;
}

.aku-category-world__copy {
    min-inline-size: 0;
}

html[data-theme] body.ak-universal #main-content .mk-category .aku-category-world__copy .mk-hero-search {
    max-inline-size: 38rem;
    margin-block-start: 14px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

html body.ak-universal #main-content .mk-hero[data-category-world] .aku-catalogue-scene--category {
    inline-size: min(100%, 350px);
    aspect-ratio: 1.38;
    margin-inline: auto;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 58%, var(--cat-glow), transparent 68%) !important;
}

.mk-hero[data-category-world] .aku-catalogue-scene__tile {
    border-color: var(--cat-border);
    color: var(--cat-color);
}

.mk-hero[data-category-world] .aku-catalogue-scene__fallback::before,
.mk-hero[data-category-world] .aku-catalogue-scene__fallback::after {
    background: var(--cat-surface);
    border-color: var(--cat-border);
}

@media (max-width: 760px) {
    html[data-theme] body.ak-universal #main-content .mk-category .mk-hero[data-category-world] {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    html body.ak-universal #main-content .mk-hero[data-category-world] .aku-catalogue-scene--category {
        inline-size: min(100%, 220px);
        aspect-ratio: 1.65;
    }

    html[data-theme] body.ak-universal #main-content .akmk .cx-card[data-category-world] .cx-ic {
        inline-size: 92px !important;
        block-size: 92px !important;
    }
}

/* === askaide-internal-cards.css === */
html body.ak-universal #main-content [data-internal-grid] {
    min-inline-size: 0;
}

html[data-theme] body.ak-universal #main-content [data-internal-card] {
    position: relative;
    min-inline-size: 0;
    border: 1px solid var(--cat-border) !important;
    border-radius: var(--aku-radius);
    background: color-mix(in srgb, var(--cat-surface) 46%, var(--aku-paper)) !important;
    color: var(--aku-ink);
    text-align: start;
    text-decoration: none;
}

html[data-theme] body.ak-universal #main-content [data-internal-card]:not([data-internal-card="listing"]) {
    display: grid !important;
    min-block-size: 82px;
}

html[data-theme] body.ak-universal #main-content [data-internal-card]:not([data-internal-card="listing"], [data-internal-card="stack"]) {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
}

html[data-theme] body.ak-universal #main-content [data-internal-card="stack"] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    align-items: start;
    gap: 10px;
    padding: clamp(14px, 1.6vw, 22px);
}

.aku-internal-card__art {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    inline-size: 58px;
    block-size: 58px;
    flex: none;
    border: 1px solid var(--cat-border);
    border-radius: 12px;
    color: var(--cat-color) !important;
    background: var(--cat-surface) !important;
    pointer-events: none;
}

.aku-internal-card__art > canvas {
    position: absolute;
    inset: 0;
    display: block;
    inline-size: 100%;
    block-size: 100%;
    pointer-events: none;
}

html body.ak-universal #main-content .aku-internal-card__flag {
    position: absolute;
    z-index: 1;
    inset-block-end: -2px;
    inset-inline-end: -3px;
    display: grid;
    place-items: center;
    inline-size: 21px;
    block-size: 16px;
    border: 2px solid var(--aku-paper);
    border-radius: 4px;
    background: var(--aku-paper);
    overflow: hidden;
}

html body.ak-universal #main-content .aku-internal-card__flag svg {
    position: static !important;
    display: block;
    inline-size: 100%;
    block-size: auto;
    margin: 0 !important;
    transform: none !important;
}

html body.ak-universal #main-content .aku-internal-card__art .aku-card-motion-fallback svg {
    position: static !important;
    display: block;
    inline-size: 23px;
    block-size: 23px;
    margin: 0;
    transform: none !important;
    color: var(--cat-color);
}

.aku-internal-card__copy {
    display: grid;
    align-content: center;
    gap: 2px;
    min-inline-size: 0;
    overflow-wrap: anywhere;
}

html body.ak-universal #main-content .aku-internal-card__copy > :is(strong, h2, h3) {
    color: var(--aku-ink);
    margin: 0;
    line-height: 1.32;
}

.aku-internal-card__copy > :is(small, p) {
    color: var(--aku-muted);
    margin: 0;
    line-height: 1.45;
}

html body.ak-universal #main-content .aku-internal-card__end {
    position: static !important;
    display: grid;
    place-items: center;
    justify-self: end;
    align-self: center;
    inline-size: 25px;
    block-size: 28px;
    margin: 0;
    color: var(--cat-color);
}

html body.ak-universal #main-content .aku-internal-card__end > svg {
    position: static !important;
    inline-size: 16px;
    block-size: 16px;
    margin: 0;
}

[dir="rtl"] .aku-internal-card__end > svg,
[dir="rtl"] .aku-internal-card__end--arrow {
    transform: scaleX(-1);
}

html[data-theme] body.ak-universal #main-content [data-internal-card] :is(.mp-view, .aku-listing-category, .aku-internal-card__action) {
    color: var(--cat-color) !important;
}

html[data-theme] body.ak-universal #main-content .mp-card[data-internal-card] .mp-photo {
    background: var(--cat-surface) !important;
}

html[data-theme] body.ak-universal #main-content .mp-card[data-internal-card] .mp-card-body {
    min-inline-size: 0;
}

.aku-internal-hero-art {
    --aku-scene-height: clamp(104px, 15vw, 174px);
    display: grid;
    place-items: center;
    min-inline-size: 0;
    pointer-events: none;
}

.aku-internal-hero-art > .aku-site-scene {
    max-inline-size: 100%;
    background: radial-gradient(ellipse at center, var(--cat-glow, var(--aku-tint)), transparent 69%) !important;
}

html[data-theme] body.ak-universal #main-content .mk-objects .aku-marketplace-intro {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, .68fr);
    align-items: center;
    gap: 14px clamp(18px, 3vw, 34px);
    background: linear-gradient(125deg, var(--aku-paper), var(--cat-surface)) !important;
    border-color: var(--cat-border);
}

.aku-marketplace-intro .mp-btn {
    justify-self: start;
    margin-block-start: 12px;
}

html body.ak-universal #main-content .mk-objects .mk-category-grid[data-internal-grid] {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr));
    gap: 12px;
}

@media (max-width: 620px) {
    html[data-theme] body.ak-universal #main-content [data-internal-card]:not([data-internal-card="listing"], [data-internal-card="stack"]) {
        grid-template-columns: 49px minmax(0, 1fr) auto;
        gap: 9px;
        min-block-size: 70px;
        padding: 10px;
    }

    .aku-internal-card__art {
        inline-size: 49px;
        block-size: 49px;
    }

    .aku-internal-hero-art {
        --aku-scene-height: 86px;
    }

    html[data-theme] body.ak-universal #main-content .mk-objects .aku-marketplace-intro {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* R16 (WCAG 2.5.8): small text links get a tap area of at least 24px. The vertical padding is offset by
   an equal negative margin: blocks keep their place and inline links keep the line height. */
:is(.lg-breadcrumb, .cd-crumb, .ak-pro-crumbs, .ak-about__crumb, .rg-crumb__item, nav.crumb) a,
.lg-blog-card__link,
.lg-faq-body > div > a,
.ak-tools-guide__answer a,
.av2-label__link,
.akl-card__title a,
.aku-service-row__body h3 > a {
    padding-block: 6px;
    margin-block: -6px;
}

/* R17: readable minimum (12px) for chips, eyebrows, badges and photo credits that were 10-11.7px. The ID keeps
   this above the older per-page rules (some of them !important). */
html body.ak-universal #main-content :is(
    .aku-status, .akl-card__photo-credit, .akl-card__category, .mk-eyebrow, .cd-mini small,
    .hub-pill, .hub-provider-type, .hub-eyebrow, .hub-trust-grid i, .geo-aeo__eyebrow, .geo-pricing-block__row dt,
    .rg-eyebrow, .profile-overline, .profile-portrait__verification, .prof-card__badge, .lg-provider-type,
    .lg-blog-card > div > span, .lg-blog-hub > span
) {
    font-size: max(12px, .75rem) !important;
}

/* R17 (WCAG 2.5.8): the newsletter consent checkbox and the search filter checkbox get a 24px target; the home
   search fields are at least 24px tall. */
html body.ak-universal .aku-footer__consent input[type="checkbox"],
html body.ak-universal .ak-pro-checkbox input[type="checkbox"] {
    inline-size: 24px;
    block-size: 24px;
    min-inline-size: 24px;
    flex: 0 0 24px;
}
html body.ak-universal :is(#akl-query, #akl-location) { min-block-size: 24px; }
html body.ak-universal .ak-service-content__aside .sticky-aside > a {
    display: inline-block;
    min-block-size: 24px;
    padding-block: 2px;
}
