:root {
    --website-identity: #0d1726;
    --website-surface: #142136;
    --website-elevated: #1b2a40;
    --website-text: #f5f7fa;
    --website-muted: #aab5c4;
    --website-interaction: #5794f7;
    --website-meaning: #d5a94f;
    --website-border: #31425b;
    --website-tree-connector: #6f879f;
    --website-focus: #8fb6ff;
}

html { scrollbar-gutter: stable; }
body:has(#global-navigation) { display: block; width: 100%; height: 100dvh; min-height: 0 !important; margin: 0; overflow: hidden; }
#global-navigation { width: 100%; height: 100dvh; min-height: 0; }
#global-navigation[hidden] { display: none; }
#global-navigation *, #global-navigation *::before, #global-navigation *::after { box-sizing: border-box; }

.malakium-website-shell {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    height: 100%;
    min-height: 0;
    color: var(--website-text);
    background: var(--website-identity);
    font-family: Arial, Helvetica, sans-serif;
}

.global-navigation-shell {
    z-index: 10;
    direction: ltr;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-areas: "brand utilities";
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 12px clamp(16px, 4vw, 52px);
    background: var(--website-identity);
    border-bottom: 1px solid var(--website-border);
    text-align: start;
}

#global-navigation .brand {
    grid-area: brand;
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 10px;
    color: var(--website-text);
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}

#main-navigation {
    grid-area: utilities;
    direction: ltr;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
}

#main-navigation .navigation-participant-zone {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    min-width: 0;
}

#main-navigation .campaign-session-status {
    display: inline-flex;
    align-items: center;
    min-block-size: 30px;
    max-width: 100%;
    padding: 5px 9px;
    border: 1px solid color-mix(in srgb, var(--website-meaning) 62%, transparent);
    border-radius: 999px;
    color: var(--website-text);
    background: color-mix(in srgb, var(--website-meaning) 16%, transparent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

#main-navigation a, #main-navigation button, .website-overview-control,
.website-overview-close, .website-orientation-dismiss, .website-tree-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-block-size: 38px;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: var(--website-muted);
    background: transparent;
    font: inherit;
    font-size: 14px;
    line-height: 1.25;
    text-decoration: none;
    white-space: normal;
}

#main-navigation a:hover, #main-navigation button:hover,
.website-overview-control:hover, .website-overview-close:hover,
.website-orientation-dismiss:hover, .website-tree-toggle:hover {
    color: var(--website-text);
    background: var(--website-elevated);
}

#main-navigation a[aria-current="page"] {
    color: var(--website-text);
    box-shadow: inset 0 -2px 0 var(--website-interaction);
}

#global-navigation .language, #global-navigation .administrator-presentation-mode {
    width: auto;
    min-block-size: 38px;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid var(--website-border);
    border-radius: 7px;
    color: var(--website-text);
    background: var(--website-elevated);
    font: inherit;
    cursor: pointer;
}

#global-navigation .language option, #global-navigation .administrator-presentation-mode option { color: #0f172a; background: #ffffff; }
.website-overview-control { display: none; grid-area: overview; color: var(--website-text); border-color: var(--website-interaction); background: #214e89; font-weight: 700; cursor: pointer; }

.website-layout {
    direction: ltr;
    display: grid;
    grid-template-columns: minmax(225px, 280px) minmax(0, 1fr);
    grid-template-areas: "tree workspace";
    min-height: 0;
    overflow: hidden;
}

.website-tree-region {
    grid-area: tree;
    min-width: 0;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    padding-block: 14px 20px;
    padding-inline: clamp(14px, 2vw, 28px) 12px;
    background: var(--website-identity);
    border-inline-end: 1px solid var(--website-border);
}

.website-tree-heading {
    margin: 0 0 8px;
    color: var(--website-meaning);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    line-height: 1.35;
    text-transform: uppercase;
}

.website-tree { display: block !important; min-width: 0; }
.website-tree-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.website-tree-list .website-tree-list { position: relative; margin: 2px 0 4px; padding-inline-start: 18px; }
.website-tree-list .website-tree-list::before { content: ""; position: absolute; inset-inline-start: 0; top: -18px; width: 1px; height: 18px; background: var(--website-tree-connector); }
.website-tree-list .website-tree-list > .website-tree-item { position: relative; }
.website-tree-list .website-tree-list > .website-tree-item::before { content: ""; position: absolute; z-index: 0; inset-inline-start: -18px; top: 15px; width: 18px; border-top: 1px solid var(--website-tree-connector); }
.website-tree-list .website-tree-list > .website-tree-item::after { content: ""; position: absolute; z-index: 0; inset-inline-start: -18px; top: 0; bottom: -3px; border-inline-start: 1px solid var(--website-tree-connector); }
.website-tree-list .website-tree-list > .website-tree-item:last-child::after { bottom: calc(100% - 15px); }
.website-tree-list .website-tree-list > .website-tree-item.branch-active::before,
.website-tree-list .website-tree-list > .website-tree-item.branch-active::after { border-color: color-mix(in srgb, var(--website-meaning) 40%, var(--website-tree-connector)); }
.website-tree-list .website-tree-list > .website-tree-item.current-branch::before { border-color: var(--website-meaning); }

.website-tree-row { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px; border-radius: 7px; }
.website-tree-link { display: flex; align-items: center; min-width: 0; min-height: 31px; padding: 5px 7px; border-radius: 7px; color: var(--website-muted); font-size: 14px; font-weight: 600; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.website-tree-row.contains-current > .website-tree-link { color: var(--website-text); font-weight: 700; }
.website-tree-row.is-current { background: var(--website-elevated); box-shadow: inset 3px 0 0 var(--website-meaning); }
.website-tree-row.is-current > .website-tree-link { color: var(--website-text); font-weight: 800; }
.website-tree-row:hover { background: #1c2e47; }
.website-tree-row.is-current:hover { background: #214e89; }
.website-tree-toggle { min-width: 42px; cursor: pointer; }
.temporary-task > .website-tree-row { background: rgb(87 148 247 / .1); }

.website-content-workspace {
    grid-area: workspace;
    min-width: 0;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    background: var(--website-surface);
}

.website-location-confirmation {
    width: min(1200px, 92%);
    min-height: 20px;
    margin: 14px auto 0;
    color: var(--website-muted);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
}

.website-page-content { display: flex; flex-direction: column; min-width: 0; min-height: calc(100% - 34px); overflow: visible; }
.website-page-content > .container { margin-block: 0; margin-inline: auto; }
.website-page-content [data-website-route-owner][hidden] { display: none !important; }
.website-page-content :where(.information, .publication-route-owner) > :where(p, ul, ol, dl) + :where(h2, h3, h4) { margin-block-start: 32px; }
.website-language-error { width: min(1200px, 92%); margin: 16px auto; padding: 14px 16px; border: 1px solid #b45309; border-radius: 8px; color: var(--website-text); background: #3b2414; line-height: 1.5; }
.website-page-content > footer { margin-top: auto !important; padding-top: 90px; padding-bottom: 1px; }
.website-overview-backdrop, .mobile-website-overview { display: none; }
.website-orientation-hint[hidden] { display: none; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }

#global-navigation :focus-visible { outline: 3px solid var(--website-focus); outline-offset: 3px; }
.brand-navigation-text, .website-tree-link bdi, .website-location-confirmation bdi { unicode-bidi: isolate; }

html[dir="rtl"] .global-navigation-shell { grid-template-columns: minmax(0, 1fr) max-content; grid-template-areas: "utilities brand"; }
html[dir="rtl"] #main-navigation { direction: rtl; justify-content: flex-start; }
html[dir="rtl"] #global-navigation .language, html[dir="rtl"] #global-navigation .administrator-presentation-mode { direction: rtl; text-align: right; }
html[dir="rtl"] .website-layout { grid-template-columns: minmax(0, 1fr) minmax(225px, 280px); grid-template-areas: "workspace tree"; }
html[dir="rtl"] .website-tree-region, html[dir="rtl"] .website-content-workspace { direction: rtl; text-align: right; }
html[dir="rtl"] .website-tree-row.is-current { box-shadow: inset -3px 0 0 var(--website-meaning); }
html[dir="rtl"] .website-tree-heading { letter-spacing: 0; }

footer .legal-entities-disclosure, footer .legal-entities-link { overflow-wrap: anywhere; }
footer .legal-entities-link { color: var(--website-focus); text-decoration: none; }
footer .legal-entities-link:hover, footer .legal-entities-link:focus-visible { color: var(--website-text); text-decoration: underline; }

@media (max-height: 959px) and (min-width: 721px) {
    .global-navigation-shell { padding-block: 8px; }
    .website-tree-region { padding-block: 12px 18px; }
    .website-tree-heading { margin-bottom: 6px; }
    .website-tree-list { gap: 1px; }
    .website-tree-list .website-tree-list { margin-block: 1px 3px; padding-inline-start: 16px; }
    .website-tree-list .website-tree-list > .website-tree-item::before { inset-inline-start: -16px; top: 14px; width: 16px; }
    .website-tree-list .website-tree-list > .website-tree-item::after { inset-inline-start: -16px; bottom: -2px; }
    .website-tree-list .website-tree-list > .website-tree-item:last-child::after { bottom: calc(100% - 14px); }
    .website-tree-link { min-height: 28px; padding: 4px 6px; font-size: 13.5px; line-height: 1.25; }
}

@media (max-width: 720px) {
    .global-navigation-shell { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand overview" "utilities utilities"; padding-block: 9px; }
    html[dir="rtl"] .global-navigation-shell { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "overview brand" "utilities utilities"; }
    .website-overview-control { display: inline-flex; justify-self: end; }
    html[dir="rtl"] .website-overview-control { justify-self: start; }
    #main-navigation { width: 100%; justify-content: stretch; }
    #main-navigation .navigation-participant-zone { flex: 1 1 auto; justify-content: flex-end; }
    #global-navigation .language, #global-navigation .administrator-presentation-mode { flex: 1 1 9rem; min-width: 0; }
    .website-layout { display: block; }
    .desktop-website-tree { display: none; }
    .website-content-workspace { height: 100%; }
    .website-location-confirmation { width: calc(100% - 32px); margin-top: 10px; }
    .website-overview-backdrop[hidden], .mobile-website-overview[hidden] { display: none; }
    .website-overview-backdrop { position: fixed; z-index: 30; inset: 0; display: block; background: rgb(0 0 0 / .62); }
    .mobile-website-overview { position: fixed; z-index: 31; inset-block: 0; inset-inline-start: 0; display: block; width: min(350px, calc(100vw - 28px)); overflow: auto; overscroll-behavior: contain; padding: 18px 16px 32px; background: var(--website-identity); border-inline-end: 1px solid var(--website-border); box-shadow: 10px 0 32px rgb(0 0 0 / .38); }
    .mobile-website-overview-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
    .mobile-website-overview-header .website-tree-heading { margin: 0; }
    .website-orientation-hint { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; color: var(--website-muted); font-size: 12px; line-height: 1.4; }
    .website-orientation-dismiss { flex: 0 0 auto; min-block-size: 36px; cursor: pointer; }
    .mobile-website-tree .website-tree-link { min-height: 44px; font-size: 15px; }
    .website-tree-toggle { min-height: 44px; }
    body.website-overview-open { overflow: hidden; }
    html[dir="rtl"] .mobile-website-overview { inset-inline-start: auto; inset-inline-end: 0; box-shadow: -10px 0 32px rgb(0 0 0 / .38); }
}

@media (max-width: 420px) {
    #main-navigation { flex-wrap: wrap; }
    #main-navigation .navigation-participant-zone { width: 100%; justify-content: flex-start; }
    html[dir="rtl"] #main-navigation .navigation-participant-zone { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    #global-navigation *, .website-content-workspace { scroll-behavior: auto !important; transition: none !important; animation-duration: .01ms !important; }
}
