/*
 * OA4EFZ Glossary public interface.
 * Every rule is scoped to a plugin-owned root. The single-term template owns
 * its page canvas, so it does not need to escape or transform a theme column.
 */
.oa4efz-glo-page-frame,
.oa4efz-glo-page-frame *,
.oa4efz-glo-shell,
.oa4efz-glo-shell *,
.oa4efz-glo-preview,
.oa4efz-glo-preview * {
    box-sizing: border-box;
}

.oa4efz-glo-topic-nav__icon .dashicons,
.oa4efz-glo-topic-card > span .dashicons,
.oa4efz-glo-term-icon .dashicons,
.oa4efz-glo-concept-node__icon .dashicons,
.oa4efz-glo-related-card > span .dashicons,
.oa4efz-glo-preview__eyebrow > .dashicons {
    display: block;
    width: 1em;
    height: 1em;
    margin: 0;
    font-size: inherit;
    line-height: 1;
    text-align: center;
}

.oa4efz-glo-page-frame {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: clamp(28px, 4vw, 58px) 0;
    background: var(--glo-page, #edf2f4);
}

.oa4efz-glo-page-canvas {
    width: min(var(--glo-single-width, 1380px), calc(100vw - 48px));
    max-width: none;
    min-width: 0;
    margin-inline: auto;
}

.oa4efz-glo-shell {
    width: 100%;
    max-width: var(--glo-content-width, 1280px);
    min-width: 0;
    margin-inline: auto;
    color: var(--glo-ink);
    font-family: inherit;
}

.oa4efz-glo-page-canvas > .oa4efz-glo-shell {
    max-width: none;
}

.oa4efz-glo-shell a {
    color: inherit;
}

.oa4efz-glo-shell img,
.oa4efz-glo-shell iframe,
.oa4efz-glo-shell video {
    max-width: 100%;
    height: auto;
}

.oa4efz-glo-shell p,
.oa4efz-glo-shell li,
.oa4efz-glo-shell td,
.oa4efz-glo-shell th {
    overflow-wrap: anywhere;
}

/* Mode switch */
.oa4efz-glo-mode-switch {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin: 0;
    border: 1px solid #dbe5e1;
    border-radius: 999px;
    background: #edf3f0;
}

.oa4efz-glo-mode-switch a {
    padding: 9px 18px;
    border-radius: 999px;
    color: #52625c;
    font-weight: 800;
    text-decoration: none;
}

.oa4efz-glo-mode-switch a.is-active {
    background: #fff;
    color: var(--glo-green-dark);
    box-shadow: 0 2px 10px rgba(20, 50, 40, 0.12);
}

/* Single-term page navigation */
.oa4efz-glo-single-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    padding-inline: 2px;
}

.oa4efz-glo-single-nav a,
.oa4efz-glo-single-nav button {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--glo-green-dark);
    font: inherit;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.oa4efz-glo-top-navigation {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
    padding: clamp(16px, 2vw, 22px);
    border: 1px solid var(--glo-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(28, 55, 45, 0.07);
}

.oa4efz-glo-top-navigation__head {
    display: grid;
    grid-template-columns: auto minmax(320px, 1fr);
    gap: 18px;
    align-items: center;
}

.oa4efz-glo-quick-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
}

.oa4efz-glo-quick-search input {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #cad9d3;
    border-radius: 12px;
    background: #fff;
    color: var(--glo-ink);
    font: inherit;
}

.oa4efz-glo-quick-search button {
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: var(--glo-green);
    color: #fff;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}

.oa4efz-glo-topic-nav-block {
    display: grid;
    gap: 10px;
}

.oa4efz-glo-topic-nav-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.oa4efz-glo-topic-nav-title span {
    color: var(--glo-navy);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.oa4efz-glo-topic-nav-title a {
    color: var(--glo-green-dark);
    font-size: 0.78rem;
    font-weight: 850;
    text-decoration: none;
}

.oa4efz-glo-topic-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
}

.oa4efz-glo-topic-nav__item {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 64px;
    padding: 10px 12px;
    overflow: hidden;
    border: 1px solid var(--glo-topic-line, #dbe5e1);
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.oa4efz-glo-topic-nav__item::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--glo-topic-color, var(--glo-green));
    opacity: 0.58;
}

.oa4efz-glo-topic-nav__item:hover {
    border-color: var(--glo-topic-color, var(--glo-green));
    box-shadow: 0 8px 20px rgba(20, 50, 40, 0.10);
    transform: translateY(-1px);
}

.oa4efz-glo-topic-nav__item.is-active {
    border-color: var(--glo-topic-color, var(--glo-green));
    background: linear-gradient(90deg, var(--glo-topic-soft, #eef5f2) 0%, #fff 74%);
    box-shadow: inset 0 0 0 1px var(--glo-topic-line, #dbe5e1), 0 10px 24px rgba(20, 50, 40, 0.12);
    transform: none;
}

.oa4efz-glo-topic-nav__item.is-active::before {
    width: 6px;
    opacity: 1;
}

.oa4efz-glo-topic-nav__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--glo-topic-color, var(--glo-green));
    color: #fff;
    font-size: 20px;
}


.oa4efz-glo-topic-nav__label {
    min-width: 0;
    color: #244054;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.22;
}

.oa4efz-glo-topic-nav__item small {
    min-width: 26px;
    padding: 4px 7px;
    border-radius: 999px;
    background: var(--glo-topic-soft, #f5f9f7);
    color: var(--glo-topic-color, var(--glo-green));
    font-size: 0.67rem;
    font-weight: 900;
    text-align: center;
}

.oa4efz-glo-topic-nav__item.is-active small {
    background: var(--glo-topic-color, var(--glo-green));
    color: #fff;
}

.oa4efz-glo-alphabet-panel {
    border-top: 1px solid var(--glo-line);
    padding-top: 10px;
}

.oa4efz-glo-alphabet-panel summary {
    width: max-content;
    color: var(--glo-green-dark);
    font-size: 0.79rem;
    font-weight: 850;
    cursor: pointer;
}

.oa4efz-glo-alphabet {
    display: grid;
    grid-template-columns: repeat(27, minmax(28px, 1fr));
    margin-top: 10px;
    overflow: hidden;
    border: 1px solid var(--glo-line);
    border-radius: 10px;
    background: #fff;
}

.oa4efz-glo-alphabet a {
    display: grid;
    place-items: center;
    min-height: 34px;
    border-right: 1px solid var(--glo-line);
    color: #355061;
    font-size: 0.72rem;
    font-weight: 850;
    text-decoration: none;
}

.oa4efz-glo-alphabet a:last-child {
    border-right: 0;
}

.oa4efz-glo-alphabet a:hover,
.oa4efz-glo-alphabet a.is-active {
    background: var(--glo-green);
    color: #fff;
}

/* Learning route on a term */
.oa4efz-glo-learning-context {
    display: grid;
    gap: 15px;
    margin: 0 0 18px;
    padding: clamp(18px, 2.3vw, 26px);
    border: 1px solid var(--glo-route-line);
    border-radius: 20px;
    background: var(--glo-route-bg);
    box-shadow: 0 10px 30px rgba(20, 50, 40, 0.06);
}

.oa4efz-glo-learning-context__header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 15px;
    align-items: start;
}

.oa4efz-glo-learning-context__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: var(--glo-route-accent);
    color: #fff;
}

.oa4efz-glo-learning-context__title small,
.oa4efz-glo-route-map__header small {
    display: block;
    color: #435951;
    font-size: 0.73rem;
    letter-spacing: 0.05em;
}

.oa4efz-glo-learning-context__title strong {
    display: block;
    margin-top: 2px;
    color: #18241f;
    font-size: 1.12rem;
}

.oa4efz-glo-learning-context__title p {
    max-width: 90ch;
    margin: 4px 0 0;
    color: #51645c;
    font-size: 0.91rem;
    line-height: 1.55;
}

.oa4efz-glo-learning-context__position {
    color: #17231f;
    font-size: 1.05rem;
    white-space: nowrap;
}

.oa4efz-glo-progress {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(18, 50, 40, 0.10);
}

.oa4efz-glo-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--glo-route-accent, var(--glo-green));
}

.oa4efz-glo-learning-context__actions {
    display: grid;
    grid-template-columns: 1fr minmax(150px, auto) 1fr;
    gap: 10px;
}

.oa4efz-glo-learning-context__actions a {
    display: grid;
    gap: 2px;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid var(--glo-route-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.70);
    text-decoration: none;
}

.oa4efz-glo-learning-context__actions a.is-route {
    text-align: center;
}

.oa4efz-glo-learning-context__actions a.is-next {
    text-align: right;
}

.oa4efz-glo-learning-context__actions small {
    color: #61736c;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.oa4efz-glo-learning-context__actions strong {
    color: #20362d;
    font-size: 0.82rem;
    line-height: 1.30;
}

.oa4efz-glo-route-map {
    overflow: hidden;
    border: 1px solid var(--glo-route-line);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.38);
}

.oa4efz-glo-route-map__header {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 15px;
    border-bottom: 1px solid var(--glo-route-line);
}

.oa4efz-glo-route-map__icon {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border-radius: 11px;
    background: var(--glo-route-accent);
    color: #fff;
}

.oa4efz-glo-route-map__header strong {
    display: block;
    color: #1c2b25;
}

.oa4efz-glo-map-track {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 15px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    list-style: none;
}

.oa4efz-glo-map-track::-webkit-scrollbar {
    display: none;
}

.oa4efz-glo-map-item {
    flex: 0 0 clamp(220px, 25vw, 285px);
    scroll-snap-align: start;
}

.oa4efz-glo-map-node {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    min-height: 88px;
    padding: 12px;
    border: 1px solid var(--glo-route-line);
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
}

.oa4efz-glo-map-item.is-current .oa4efz-glo-map-node {
    border-color: var(--glo-route-accent);
    outline: 3px solid var(--glo-route-soft);
}

.oa4efz-glo-map-node__number {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--glo-route-accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
}

.oa4efz-glo-map-node__content {
    display: grid;
    gap: 8px;
}

.oa4efz-glo-map-node strong {
    color: #1f2c27;
    font-size: 0.82rem;
    line-height: 1.28;
}

.oa4efz-glo-level {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: max-content;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef3f1;
    color: #475650;
    font-size: 0.72rem;
    font-weight: 750;
}

.oa4efz-glo-level .dashicons {
    width: 14px;
    height: 14px;
    font-size: 14px;
}

.oa4efz-glo-level.is-beginner {
    background: #e9f7ef;
    color: #16633f;
}

.oa4efz-glo-level.is-intermediate {
    background: #edf1fb;
    color: #3b548d;
}

.oa4efz-glo-level.is-advanced {
    background: #f9ece9;
    color: #94452f;
}

.oa4efz-glo-takeaway {
    margin: 0 0 18px;
    padding: 16px 19px;
    border-left: 5px solid var(--glo-topic-color, var(--glo-green));
    border-radius: 0 13px 13px 0;
    background: var(--glo-topic-soft, #f1f7f4);
}

.oa4efz-glo-takeaway small {
    color: var(--glo-topic-color, var(--glo-green));
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.oa4efz-glo-takeaway p {
    margin: 5px 0 0;
    color: #30465a;
    font-size: 1.02rem;
    font-weight: 680;
}

/* Term content */
.oa4efz-glo-record {
    width: 100%;
    min-width: 0;
    padding: clamp(24px, 3.3vw, 44px);
    overflow: hidden;
    border: 1px solid var(--glo-line);
    border-top: 6px solid var(--glo-topic-color, var(--glo-green));
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--glo-shadow);
}

.oa4efz-glo-term-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    margin-bottom: 23px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--glo-line);
}

.oa4efz-glo-term-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 21px;
    background: var(--glo-topic-soft, #eef5f2);
    color: var(--glo-topic-color, var(--glo-green));
    font-size: 38px;
}


.oa4efz-glo-term-head small {
    color: var(--glo-topic-color, var(--glo-green));
    font-weight: 900;
}

.oa4efz-glo-term-head h1 {
    margin: 3px 0 11px;
    color: #12364e;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.oa4efz-glo-meta-strip,
.oa4efz-glo-route-card-meta,
.oa4efz-glo-step-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #596a64;
    font-size: 0.78rem;
}

.oa4efz-glo-meta-strip > span {
    padding: 5px 9px;
    border: 1px solid var(--glo-line);
    border-radius: 999px;
    background: var(--glo-soft);
}

.oa4efz-glo-lead {
    margin: 0 0 24px;
    padding-left: 17px;
    border-left: 4px solid var(--glo-topic-color, var(--glo-green));
    color: #30485b;
    font-size: 1.14rem;
    line-height: 1.65;
}

.oa4efz-glo-definition,
.oa4efz-glo-content-card {
    width: 100%;
    max-width: none;
    color: #253c4c;
    font-size: 1rem;
    line-height: 1.75;
}

.oa4efz-glo-definition > :first-child,
.oa4efz-glo-content-card > :first-child {
    margin-top: 0;
}

.oa4efz-glo-definition table,
.oa4efz-glo-content-card table {
    display: block;
    width: max-content;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.oa4efz-glo-definition pre,
.oa4efz-glo-content-card pre,
.oa4efz-glo-definition .wp-block-table,
.oa4efz-glo-content-card .wp-block-table {
    max-width: 100%;
    overflow-x: auto;
}

.oa4efz-glo-definition code,
.oa4efz-glo-content-card code {
    overflow-wrap: anywhere;
}

.oa4efz-glo-content-card {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid var(--glo-line);
    border-radius: 14px;
    background: var(--glo-soft);
}

.oa4efz-glo-content-card h2,
.oa4efz-glo-relations > h2,
.oa4efz-glo-aliases h2,
.oa4efz-glo-recent h2 {
    margin: 0 0 14px;
    color: #17364f;
    font-size: 1.28rem;
    line-height: 1.25;
}

.oa4efz-glo-media {
    margin: 0 0 22px;
}

.oa4efz-glo-media img {
    display: block;
    width: 100%;
    max-height: 540px;
    object-fit: contain;
    border-radius: 14px;
    background: #f4f6f5;
}

.oa4efz-glo-media figcaption {
    margin-top: 7px;
    color: var(--glo-muted);
    font-size: 0.8rem;
}

.oa4efz-glo-aliases,
.oa4efz-glo-relations,
.oa4efz-glo-sources {
    margin-top: 28px;
}

.oa4efz-glo-aliases > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.oa4efz-glo-aliases span {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--glo-topic-soft, #eef5f2);
    color: var(--glo-topic-color, var(--glo-green));
    font-size: 0.82rem;
    font-weight: 750;
}

.oa4efz-glo-concept-map {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
    max-width: 100%;
    padding: 12px 0 18px;
}

.oa4efz-glo-concept-node {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    flex: 0 1 auto;
    min-width: 180px;
    max-width: 290px;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid var(--glo-topic-line, var(--glo-line));
    border-radius: 13px;
    background: #fff;
    color: #233d4d;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.oa4efz-glo-concept-node:hover {
    border-color: var(--glo-topic-color, var(--glo-green));
    box-shadow: 0 8px 18px rgba(20, 50, 40, 0.09);
    transform: translateY(-1px);
}

.oa4efz-glo-concept-node.is-current {
    border: 2px solid var(--glo-topic-color, var(--glo-green));
    background: var(--glo-topic-soft, #eef5f2);
    box-shadow: 0 8px 18px rgba(20, 50, 40, 0.10);
}

.oa4efz-glo-concept-node__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--glo-topic-soft, #eef5f2);
    color: var(--glo-topic-color, var(--glo-green));
    font-size: 18px;
}

.oa4efz-glo-concept-node.is-current .oa4efz-glo-concept-node__icon {
    background: var(--glo-topic-color, var(--glo-green));
    color: #fff;
}


.oa4efz-glo-concept-node__text {
    min-width: 0;
}

.oa4efz-glo-concept-node__text strong {
    display: block;
    font-size: 0.84rem;
    line-height: 1.28;
}

.oa4efz-glo-concept-node__text small {
    display: block;
    margin-top: 3px;
    color: var(--glo-topic-color, var(--glo-green));
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.oa4efz-glo-relation-group {
    margin-top: 18px;
}

.oa4efz-glo-relation-group h3 {
    margin: 0 0 10px;
    color: var(--glo-muted);
    font-size: 0.96rem;
}

.oa4efz-glo-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.oa4efz-glo-related-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
    border: 1px solid var(--glo-topic-line, var(--glo-line));
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
}

.oa4efz-glo-related-card > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--glo-topic-soft, #eef5f2);
    color: var(--glo-topic-color, var(--glo-green));
    font-size: 18px;
}


.oa4efz-glo-related-card strong,
.oa4efz-glo-related-card small {
    display: block;
}

.oa4efz-glo-related-card small {
    margin-top: 3px;
    color: var(--glo-muted);
    font-size: 0.76rem;
}

.oa4efz-glo-inline-link {
    color: var(--glo-green) !important;
    font-weight: 720;
    text-decoration: underline solid 1px;
    text-underline-offset: 3px;
}

/* Bibliography: source strings are displayed verbatim, split into entries and never auto-linked. */
.oa4efz-glo-sources {
    overflow: hidden;
    border: 1px solid var(--glo-line);
    border-radius: 16px;
    background: #fff;
}

.oa4efz-glo-sources > summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    color: #17364f;
    font-weight: 900;
    cursor: pointer;
}

.oa4efz-glo-sources > summary small {
    min-width: 30px;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--glo-soft);
    color: var(--glo-green-dark);
    text-align: center;
}

.oa4efz-glo-sources[open] > summary {
    border-bottom: 1px solid var(--glo-line);
}

.oa4efz-glo-sources__body {
    display: grid;
    padding: 0;
}

.oa4efz-glo-source-group {
    min-width: 0;
    padding: 20px 22px;
}

.oa4efz-glo-source-group + .oa4efz-glo-source-group {
    border-top: 1px solid var(--glo-line);
}

.oa4efz-glo-source-group__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.oa4efz-glo-source-group__head h3 {
    margin: 0;
    color: #244154;
    font-size: 1rem;
    line-height: 1.3;
}

.oa4efz-glo-source-group__head p {
    margin: 3px 0 0;
    color: var(--glo-muted);
    font-size: 0.76rem;
}

.oa4efz-glo-source-group__head > small {
    min-width: 28px;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--glo-soft);
    color: var(--glo-green-dark);
    font-size: 0.72rem;
    font-weight: 900;
    text-align: center;
}

.oa4efz-glo-citation-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.oa4efz-glo-citation-list li {
    margin: 0;
    padding: 10px 12px;
    border-left: 3px solid var(--glo-green);
    border-radius: 0 10px 10px 0;
    background: var(--glo-soft);
    color: #3d5360;
    font-size: 0.89rem;
    line-height: 1.55;
}

.oa4efz-glo-reference-list {
    display: grid;
    gap: 13px;
    max-width: 105ch;
}

.oa4efz-glo-reference-entry {
    margin: 0;
    padding-left: 1.6rem;
    color: #314a58;
    font-size: 0.93rem;
    line-height: 1.65;
    text-indent: -1.6rem;
    overflow-wrap: anywhere;
}

.oa4efz-glo-recent {
    margin-top: 22px;
    padding: 18px;
    border: 1px solid var(--glo-line);
    border-radius: 16px;
    background: #fff;
}

.oa4efz-glo-recent [data-glo-recent-list] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.oa4efz-glo-recent a {
    padding: 8px 11px;
    border: 1px solid var(--glo-line);
    border-radius: 999px;
    font-size: 0.82rem;
    text-decoration: none;
}

/* Directory and learning landing */
.oa4efz-glo-learning-spotlight {
    margin-bottom: 30px;
    padding: 26px;
    border: 1px solid #cfe2db;
    border-radius: var(--glo-radius-lg);
    background: linear-gradient(135deg, #f4fbf8, #fff);
    box-shadow: var(--glo-shadow);
}

.oa4efz-glo-learning-spotlight > header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 20px;
}

.oa4efz-glo-learning-spotlight-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--glo-green);
    color: #fff;
}

.oa4efz-glo-learning-spotlight h2,
.oa4efz-glo-consult-intro h2,
.oa4efz-glo-learning-intro h2,
.oa4efz-glo-learning-map h2 {
    margin: 3px 0 7px;
    color: #17364f;
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    line-height: 1.15;
}

.oa4efz-glo-learning-spotlight p,
.oa4efz-glo-consult-intro p,
.oa4efz-glo-learning-intro p {
    margin: 0;
    color: var(--glo-muted);
}

.oa4efz-glo-spot-route-grid,
.oa4efz-glo-route-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.oa4efz-glo-spot-route-grid::-webkit-scrollbar,
.oa4efz-glo-route-grid::-webkit-scrollbar {
    display: none;
}

.oa4efz-glo-hscroll {
    position: relative;
    min-width: 0;
}

.oa4efz-glo-hscroll::before,
.oa4efz-glo-hscroll::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: 34px;
    pointer-events: none;
    content: "";
    opacity: 1;
    transition: opacity .18s ease;
}

.oa4efz-glo-hscroll::before {
    left: 0;
    background: linear-gradient(90deg, rgba(247,250,249,.96), rgba(247,250,249,0));
}

.oa4efz-glo-hscroll::after {
    right: 0;
    background: linear-gradient(270deg, rgba(247,250,249,.96), rgba(247,250,249,0));
}

.oa4efz-glo-hscroll.is-at-start::before,
.oa4efz-glo-hscroll.is-at-end::after {
    opacity: 0;
}

.oa4efz-glo-hscroll__button {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid #c6d8d2;
    border-radius: 50%;
    background: rgba(255,255,255,.96);
    color: #17364f;
    box-shadow: 0 6px 18px rgba(17,45,37,.14);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.oa4efz-glo-hscroll__button.is-prev { left: 7px; }
.oa4efz-glo-hscroll__button.is-next { right: 7px; }
.oa4efz-glo-hscroll__button:disabled { opacity: 0; pointer-events: none; }

.oa4efz-glo-hscroll [data-glo-hscroll-track] {
    padding-inline: 2px;
}

.oa4efz-glo-learning-map__routes {
    display: grid;
    gap: 18px;
}

.oa4efz-glo-map-scroll .oa4efz-glo-hscroll__button {
    width: 34px;
    height: 34px;
    font-size: 24px;
}

.oa4efz-glo-route-card {
    display: flex;
    flex: 0 0 clamp(285px, 29vw, 345px);
    flex-direction: column;
    gap: 10px;
    min-height: 255px;
    scroll-snap-align: start;
    padding: 20px;
    border: 1px solid var(--glo-route-line);
    border-top: 5px solid var(--glo-route-accent);
    border-radius: var(--glo-radius);
    background: var(--glo-route-bg);
    box-shadow: 0 8px 20px rgba(25, 55, 45, 0.06);
}

.oa4efz-glo-route-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.oa4efz-glo-route-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--glo-route-accent);
    color: #fff;
}

.oa4efz-glo-route-index {
    color: var(--glo-route-accent);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.oa4efz-glo-route-card h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.25;
}

.oa4efz-glo-route-card h3 a,
.oa4efz-glo-route-action {
    text-decoration: none;
}

.oa4efz-glo-route-card p {
    flex: 1;
    margin: 0;
    color: #4d5d57;
    font-size: 0.9rem;
    line-height: 1.5;
}

.oa4efz-glo-route-action {
    margin-top: auto;
    color: var(--glo-route-accent);
    font-weight: 850;
}

.oa4efz-glo-consult-intro,
.oa4efz-glo-learning-intro,
.oa4efz-glo-learning-map > header {
    margin: 28px 0 18px;
}

.oa4efz-glo-consult-intro small,
.oa4efz-glo-learning-intro small,
.oa4efz-glo-learning-map small,
.oa4efz-glo-topic-section small {
    color: var(--glo-green);
    font-weight: 900;
    letter-spacing: 0.10em;
}

.oa4efz-glo-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-bottom: 22px;
}

.oa4efz-glo-search input,
.oa4efz-glo-filter-row select {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #cfdcd7;
    border-radius: 12px;
    background: #fff;
    color: var(--glo-ink);
}

.oa4efz-glo-search button {
    padding: 0 22px;
    border: 0;
    border-radius: 12px;
    background: var(--glo-green);
    color: #fff;
    font-weight: 850;
    cursor: pointer;
}

.oa4efz-glo-topic-section {
    margin: 20px 0;
}

.oa4efz-glo-topic-section > header h2 {
    margin: 3px 0 14px;
    font-size: 1.25rem;
}

.oa4efz-glo-topic-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.oa4efz-glo-topic-card {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 74px;
    padding: 13px;
    overflow: hidden;
    border: 1px solid var(--glo-topic-line, #dbe5e1);
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.oa4efz-glo-topic-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--glo-topic-color, var(--glo-green));
    opacity: 0.58;
}

.oa4efz-glo-topic-card:hover {
    border-color: var(--glo-topic-color, var(--glo-green));
    box-shadow: 0 8px 20px rgba(20, 50, 40, 0.10);
    transform: translateY(-1px);
}

.oa4efz-glo-topic-card.is-active {
    border-color: var(--glo-topic-color, var(--glo-green));
    background: linear-gradient(90deg, var(--glo-topic-soft, #eef5f2) 0%, #fff 74%);
    box-shadow: inset 0 0 0 1px var(--glo-topic-line, #dbe5e1), 0 10px 24px rgba(20, 50, 40, 0.12);
    transform: none;
}

.oa4efz-glo-topic-card.is-active::before {
    width: 6px;
    opacity: 1;
}

.oa4efz-glo-topic-card > span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--glo-topic-color, var(--glo-green));
    color: #fff;
    font-size: 20px;
}


.oa4efz-glo-topic-card strong {
    min-width: 0;
    font-size: 0.82rem;
    line-height: 1.25;
}

.oa4efz-glo-topic-card small {
    min-width: 26px;
    padding: 4px 7px;
    border-radius: 999px;
    background: var(--glo-topic-soft, #f5f9f7);
    color: var(--glo-topic-color, var(--glo-green));
    font-weight: 900;
    text-align: center;
}

.oa4efz-glo-topic-card.is-active small {
    background: var(--glo-topic-color, var(--glo-green));
    color: #fff;
}

.oa4efz-glo-filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 18px 0;
}

.oa4efz-glo-feedback {
    margin: 18px 0;
    color: var(--glo-muted);
}

.oa4efz-glo-letter-group {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid var(--glo-line);
}

.oa4efz-glo-letter-group > h2 {
    margin: 0;
    color: var(--glo-green);
    font-size: 2rem;
}

.oa4efz-glo-entries {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.oa4efz-glo-entry {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 13px;
    padding: 16px;
    border: 1px solid var(--glo-topic-line, var(--glo-line));
    border-radius: 14px;
    background: #fff;
}

.oa4efz-glo-entry-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--glo-topic-soft, #eef5f2);
    color: var(--glo-topic-color, var(--glo-green));
}

.oa4efz-glo-entry h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    line-height: 1.3;
}

.oa4efz-glo-entry h3 a {
    text-decoration: none;
}

.oa4efz-glo-entry p {
    margin: 0 0 8px;
    color: var(--glo-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.oa4efz-glo-entry footer {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
}

.oa4efz-glo-entry footer small {
    color: var(--glo-topic-color, var(--glo-green));
    font-size: 0.74rem;
    font-weight: 750;
}

.oa4efz-glo-pagination {
    margin: 24px 0;
    text-align: center;
}

.oa4efz-glo-pagination .page-numbers {
    display: inline-block;
    margin: 2px;
    padding: 7px 11px;
    border-radius: 8px;
    background: #eef4f1;
    text-decoration: none;
}

.oa4efz-glo-pagination .current {
    background: var(--glo-green);
    color: #fff;
}

.oa4efz-glo-route-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 22px;
    margin: 16px 0;
    padding: 28px;
    border: 1px solid var(--glo-route-line);
    border-radius: var(--glo-radius-lg);
    background: var(--glo-route-bg);
}

.oa4efz-glo-route-header > span {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 20px;
    background: var(--glo-route-accent);
    color: #fff;
}

.oa4efz-glo-route-header h2 {
    margin: 3px 0 9px;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.oa4efz-glo-route-header p {
    margin: 0 0 12px;
    color: #4c5d56;
}

.oa4efz-glo-route-back {
    display: inline-block;
    margin: 8px 0;
    color: var(--glo-green);
    font-weight: 850;
    text-decoration: none;
}

.oa4efz-glo-route-progress-box {
    margin: 16px 0;
    padding: 16px 18px;
    border: 1px solid var(--glo-line);
    border-radius: 14px;
}

.oa4efz-glo-route-progress-box > div:first-child {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.oa4efz-glo-route-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.oa4efz-glo-route-steps li {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 128px;
    padding: 15px;
    border: 1px solid var(--glo-topic-line, var(--glo-line));
    border-radius: 14px;
    background: #fff;
}

.oa4efz-glo-step-icon,
.oa4efz-glo-step-number {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--glo-topic-soft, #eef5f2);
    color: var(--glo-topic-color, var(--glo-green));
}

.oa4efz-glo-step-number {
    border-radius: 50%;
    background: var(--glo-green);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
}

.oa4efz-glo-route-steps a {
    font-weight: 850;
    text-decoration: none;
}

.oa4efz-glo-route-steps p {
    margin: 6px 0;
    color: var(--glo-muted);
    font-size: 0.9rem;
}

.oa4efz-glo-step-check {
    color: var(--glo-green);
    font-weight: 900;
}

.oa4efz-glo-route-quiz {
    margin: 24px 0;
}

.oa4efz-glo-route-quiz h3 {
    font-size: 1.3rem;
}

.oa4efz-glo-route-quiz details {
    margin: 8px 0;
    padding: 13px 15px;
    border: 1px solid var(--glo-line);
    border-radius: 12px;
}

.oa4efz-glo-route-quiz summary {
    font-weight: 850;
    cursor: pointer;
}

/* Quick preview overlay. It is independent from theme dialog/modal styles. */
.oa4efz-glo-preview[hidden] {
    display: none !important;
}

.oa4efz-glo-preview {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.oa4efz-glo-preview__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(8, 21, 29, 0.62);
    cursor: default;
}

.oa4efz-glo-preview__card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    width: min(720px, calc(100vw - 40px));
    max-height: min(720px, calc(100vh - 40px));
    overflow: auto;
    border: 1px solid #cbdad4;
    border-radius: 20px;
    background: #fff;
    color: var(--glo-ink);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.oa4efz-glo-preview.has-media .oa4efz-glo-preview__card {
    grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
}

.oa4efz-glo-preview__close {
    position: absolute;
    top: 11px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0 0 2px;
    border: 1px solid #d7e2de;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #20352d;
    font: 700 25px/1 sans-serif;
    cursor: pointer;
}

.oa4efz-glo-preview__media {
    min-height: 280px;
    background: #eef3f1;
}

.oa4efz-glo-preview__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.oa4efz-glo-preview__body {
    display: grid;
    align-content: start;
    gap: 12px;
    min-width: 0;
    padding: 30px;
}

.oa4efz-glo-preview__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 36px;
    color: var(--preview-color, var(--glo-green));
    font-weight: 900;
}

.oa4efz-glo-preview__eyebrow > .dashicons {
    font-size: 20px;
}

.oa4efz-glo-preview__body h2 {
    margin: 0;
    color: #17364f;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.oa4efz-glo-preview__meta {
    color: var(--glo-muted);
    font-size: 0.79rem;
    line-height: 1.45;
}

.oa4efz-glo-preview__body p {
    min-height: 3em;
    margin: 0;
    color: #354b5b;
    font-size: 0.96rem;
    line-height: 1.62;
}

.oa4efz-glo-preview__footer {
    padding-top: 4px;
}

.oa4efz-glo-preview__more {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--preview-color, var(--glo-green));
    color: #fff !important;
    font-weight: 900;
    text-decoration: none;
}

body.oa4efz-glo-preview-open {
    overflow: hidden;
}

@media (max-width: 1120px) {
    .oa4efz-glo-topic-nav,
    .oa4efz-glo-topic-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .oa4efz-glo-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .oa4efz-glo-page-frame {
        padding: 18px 0 34px;
    }

    .oa4efz-glo-page-canvas {
        width: min(100%, calc(100vw - 24px));
    }

    .oa4efz-glo-top-navigation__head,
    .oa4efz-glo-learning-context__header,
    .oa4efz-glo-term-head,
    .oa4efz-glo-route-header {
        grid-template-columns: 1fr;
    }

    .oa4efz-glo-quick-search,
    .oa4efz-glo-learning-context__actions,
    .oa4efz-glo-filter-row,
    .oa4efz-glo-route-steps,
    .oa4efz-glo-entries,
    .oa4efz-glo-related-grid {
        grid-template-columns: 1fr;
    }

    .oa4efz-glo-learning-context__actions .is-empty {
        display: none;
    }

    .oa4efz-glo-learning-context__actions a,
    .oa4efz-glo-learning-context__actions a.is-route,
    .oa4efz-glo-learning-context__actions a.is-next {
        text-align: left;
    }

    .oa4efz-glo-topic-nav,
    .oa4efz-glo-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oa4efz-glo-alphabet {
        display: flex;
        flex-wrap: wrap;
        overflow: visible;
        border: 0;
        gap: 5px;
    }

    .oa4efz-glo-alphabet a {
        width: 34px;
        border: 1px solid var(--glo-line);
        border-radius: 8px;
    }

    .oa4efz-glo-letter-group {
        grid-template-columns: 1fr;
    }

    .oa4efz-glo-record {
        padding: 20px;
        border-radius: 17px;
    }

    .oa4efz-glo-preview.has-media .oa4efz-glo-preview__card {
        grid-template-columns: 1fr;
    }

    .oa4efz-glo-preview__media,
    .oa4efz-glo-preview__media img {
        min-height: 180px;
        max-height: 220px;
    }

    .oa4efz-glo-preview__body {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .oa4efz-glo-single-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .oa4efz-glo-topic-nav,
    .oa4efz-glo-topic-grid {
        grid-template-columns: 1fr;
    }

    .oa4efz-glo-route-card {
        flex-basis: min(86vw, 330px);
    }

    .oa4efz-glo-map-item {
        flex-basis: min(78vw, 270px);
    }

    .oa4efz-glo-mode-switch {
        width: 100%;
    }

    .oa4efz-glo-mode-switch a {
        flex: 1;
        text-align: center;
    }

    .oa4efz-glo-quick-search button {
        padding: 12px;
    }

    .oa4efz-glo-term-icon {
        width: 58px;
        height: 58px;
    }

    .oa4efz-glo-term-head h1 {
        font-size: 1.9rem;
    }

    .oa4efz-glo-preview {
        padding: 10px;
    }

    .oa4efz-glo-preview__card {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        border-radius: 16px;
    }
}

/* OA4EFZ 3.0 knowledge blocks and normalized evidence. */
.oa4efz-glo-content-card.is-development {
    background: #f7fbfa;
}

.oa4efz-glo-content-card.is-technical {
    border-left: 4px solid #245a79;
    background: #f3f8fb;
}

.oa4efz-glo-content-card.is-formula {
    border-left: 4px solid #6653a6;
    background: #f7f5fc;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.oa4efz-glo-content-card.is-limitations {
    border-left: 4px solid #b56a1d;
    background: #fff9ef;
}

.oa4efz-glo-evidence-list {
    display: grid;
    gap: 14px;
}

.oa4efz-glo-evidence-entry {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--glo-line);
    border-radius: 12px;
    background: #fbfcfc;
}

.oa4efz-glo-evidence-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-bottom: 10px;
}

.oa4efz-glo-evidence-meta code,
.oa4efz-glo-evidence-meta span {
    padding: 4px 7px;
    border-radius: 999px;
    background: var(--glo-soft);
    color: #365164;
    font-size: 0.72rem;
    overflow-wrap: anywhere;
}

.oa4efz-glo-evidence-entry blockquote {
    margin: 0;
    padding: 10px 12px;
    border-left: 3px solid var(--glo-topic-color, var(--glo-green));
    background: #fff;
    color: #304956;
    font-size: 0.9rem;
    line-height: 1.6;
}

.oa4efz-glo-evidence-entry p {
    margin: 10px 0 0;
    color: #455d68;
    font-size: 0.87rem;
    line-height: 1.55;
}

.oa4efz-glo-reference-entry a {
    color: #244f68;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.oa4efz-glo-reference-entry small {
    display: block;
    margin-top: 4px;
    padding-left: 1.6rem;
    color: var(--glo-muted);
    font-size: 0.72rem;
    text-indent: 0;
}

/* Learning catalog 3.2.0: routes never disappear because a step is under review. */
.oa4efz-glo-route-card.is-unavailable {
    background: color-mix(in srgb, var(--glo-route-bg) 82%, #ffffff);
    border-style: solid;
}

.oa4efz-glo-route-status {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 10px 12px;
    border: 1px solid var(--glo-route-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.66);
    color: #4d5d57;
    font-size: 0.82rem;
}

.oa4efz-glo-route-status strong {
    width: 100%;
    color: var(--glo-route-accent);
}

.oa4efz-glo-learning-empty {
    margin: 20px 0;
    padding: 22px;
    border: 1px solid #b8cbc4;
    border-radius: var(--glo-radius);
    background: #f7faf9;
    color: #41544d;
}

.oa4efz-glo-learning-empty h3,
.oa4efz-glo-learning-empty p {
    margin-top: 0;
}


/* Site-wide semantic interconnection. */
.oa4efz-glossary-interconnected-page .oa4efz-glo-inline-link {
    color: #08785d !important;
    font-weight: 720;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    cursor: pointer;
}

@media (max-width: 760px) {
    .oa4efz-glo-hscroll__button { display: none; }
    .oa4efz-glo-hscroll::before,
    .oa4efz-glo-hscroll::after { width: 20px; }
}

/* OA4EFZ 3.5.0: clean public bibliography, evidence remains internal. */
.oa4efz-glo-bibliography {
    margin-top: clamp(26px, 4vw, 48px);
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid var(--glo-line);
    border-radius: var(--glo-radius);
    background: #fbfcfc;
}

.oa4efz-glo-bibliography__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.oa4efz-glo-bibliography__head h2,
.oa4efz-glo-bibliography__head p {
    margin: 0;
}

.oa4efz-glo-bibliography__head p {
    margin-top: 4px;
    color: var(--glo-muted);
    font-size: .88rem;
}

.oa4efz-glo-bibliography__head > small {
    display: inline-grid;
    min-width: 34px;
    min-height: 34px;
    place-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--glo-soft);
    color: var(--glo-topic-color, var(--glo-green));
    font-weight: 800;
}

.oa4efz-glo-bibliography .oa4efz-glo-reference-list {
    display: grid;
    gap: 13px;
}

.oa4efz-glo-bibliography .oa4efz-glo-reference-entry {
    padding-left: 1.75rem;
    line-height: 1.65;
    text-indent: -1.75rem;
    overflow-wrap: anywhere;
}

.oa4efz-glo-bibliography .oa4efz-glo-reference-entry a,
.oa4efz-glo-bibliography .oa4efz-glo-reference-entry span {
    color: #244f68;
}

.oa4efz-glo-inline-link {
    color: var(--glo-topic-color, #08785d);
    font-weight: 680;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    cursor: pointer;
}

/* OA4EFZ 3.7.0: one minimal homepage entry point, themed by the active Child. */
.oa4efz-glo-home,
.oa4efz-glo-home * {
    box-sizing: border-box;
}

.oa4efz-glo-home {
    width: 100%;
    color: var(--glo-home-text, #102f49);
    font-family: inherit;
}

.oa4efz-glo-home__inner {
    display: grid;
    justify-items: start;
    width: min(100%, 760px);
    gap: 18px;
}

.oa4efz-glo-home__kicker {
    margin: 0;
    color: var(--glo-home-accent, #00a978);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .14em;
}

.oa4efz-glo-home h2 {
    max-width: 15ch;
    margin: 0;
    color: inherit;
    font-size: clamp(2.5rem, 5.4vw, 5.6rem);
    line-height: .92;
    letter-spacing: -.05em;
    text-wrap: balance;
}

.oa4efz-glo-home__intro {
    max-width: 54ch;
    margin: 0;
    color: var(--glo-home-muted, #526a72);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.7;
}

.oa4efz-glo-home__search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: min(100%, 680px);
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--glo-home-border, rgba(16,47,73,.18));
    border-radius: 15px;
    background: var(--glo-home-input-bg, rgba(255,255,255,.94));
    box-shadow: 0 18px 46px rgba(0,0,0,.12);
}

.oa4efz-glo-home__search:focus-within {
    border-color: var(--glo-home-accent, #00a978);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--glo-home-accent, #00a978) 28%, transparent), 0 18px 46px rgba(0,0,0,.14);
}

.oa4efz-glo-home__search input {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--glo-home-input-text, #102f49);
    font: inherit;
}

.oa4efz-glo-home__search input::placeholder {
    color: var(--glo-home-placeholder, #667982);
    opacity: 1;
}

.oa4efz-glo-home__search button,
.oa4efz-glo-home__start {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 24px;
    border: 0;
    border-radius: 13px;
    background: var(--glo-home-accent, #00a978);
    color: #04140f;
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.oa4efz-glo-home__search button {
    border-radius: 0 13px 13px 0;
}

.oa4efz-glo-home__search button:hover,
.oa4efz-glo-home__search button:focus-visible,
.oa4efz-glo-home__start:hover,
.oa4efz-glo-home__start:focus-visible {
    filter: brightness(1.07);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--glo-home-accent, #00a978) 26%, transparent);
    transform: translateY(-1px);
}

.oa4efz-glo-home__route-context {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px 12px;
    max-width: 680px;
    color: var(--glo-home-muted, #526a72);
}

.oa4efz-glo-home__route-context span {
    color: var(--glo-home-accent, #00a978);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.oa4efz-glo-home__route-context strong {
    color: var(--glo-home-text, #102f49);
    font-size: 1rem;
}

.oa4efz-glo-home__route-context small {
    color: var(--glo-home-muted, #526a72);
}

.oa4efz-glo-home__start {
    min-width: min(100%, 250px);
}

.oa4efz-glo-home__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.oa4efz-glo-home__links a {
    color: var(--glo-home-link, var(--glo-home-text, #102f49));
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, currentColor 36%, transparent);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.oa4efz-glo-home__links a:hover,
.oa4efz-glo-home__links a:focus-visible {
    color: var(--glo-home-accent, #00a978);
}

.oa4efz-glo-home__depth {
    margin: 0;
    color: var(--glo-home-muted, #526a72);
    font-size: .82rem;
}

@media (max-width: 620px) {
    .oa4efz-glo-home__inner { gap: 16px; }
    .oa4efz-glo-home h2 { font-size: clamp(2.45rem, 13vw, 4.2rem); }
    .oa4efz-glo-home__search { grid-template-columns: 1fr; }
    .oa4efz-glo-home__search button { border-radius: 0 0 13px 13px; }
    .oa4efz-glo-home__start { width: 100%; }
    .oa4efz-glo-home__links { display: grid; gap: 10px; }
}

