.ax-header .ax-nav a{white-space:nowrap;padding-inline:10px}
.ax-locale{display:flex;align-items:center;gap:6px;flex:0 0 auto;height:44px;padding:0 9px 0 12px;color:var(--ax-text-primary);border:1px solid var(--ax-border-strong);border-radius:999px;position:relative}
.ax-locale:focus-within,.ax-profile__toggle:focus-visible,.ax-account-link:focus-visible{outline:2px solid var(--ax-focus);outline-offset:3px}
.ax-locale__icon{flex:none;pointer-events:none}
.ax-locale select{width:100px;min-width:0;padding:0 12px 0 0;color:inherit;background:transparent;border:0;font:inherit;font-size:var(--ax-fs-sm);cursor:pointer}
.ax-locale option{color:#121b10;background:#f2f8ed}
.ax-account-link,.ax-profile__toggle{flex:none;border-radius:50%}
.ax-profile{position:relative;flex:0 0 auto}
.ax-profile__toggle{list-style:none;cursor:pointer}
.ax-profile__toggle::-webkit-details-marker{display:none}
.ax-profile__panel{position:absolute;right:0;top:calc(100% + 10px);z-index:120;min-width:200px;padding:8px;background:var(--ax-bg-secondary);border:1px solid var(--ax-border-strong);border-radius:14px;box-shadow:var(--ax-shadow-card);color:var(--ax-text-primary)}
.ax-profile__panel strong{display:block;padding:10px 12px;overflow-wrap:anywhere;border-bottom:1px solid var(--ax-border-soft)}
.ax-profile__panel a,.ax-profile__panel button{display:block;width:100%;padding:11px 12px;background:none;border:0;border-radius:8px;color:inherit;font:inherit;font-weight:600;text-align:left;cursor:pointer}
.ax-profile__panel a:hover,.ax-profile__panel button:hover{background:var(--ax-border-soft)}
.ax-profile__panel form{margin:0}
.ax-viewer-auth{max-width:480px;margin:2.5rem auto 5rem}.ax-viewer-auth form{display:grid;gap:1rem;margin:1.5rem 0}
.ax-viewer-auth label{display:grid;gap:.35rem}.ax-viewer-auth input,.ax-comments textarea{width:100%;padding:.8rem;color:#f6fff2;background:#121e12;border:1px solid #4c6045;border-radius:10px}
.ax-viewer-error,.ax-comments__error{color:#ff9191}.ax-comments{margin:2rem 0;padding:1.5rem;border:1px solid #354735;border-radius:14px}
.ax-comments h2{margin:0 0 1rem}.ax-comments form{display:grid;gap:.7rem}.ax-comments textarea{min-height:96px;resize:vertical}
.ax-comments__item{padding:1rem 0;border-top:1px solid #354735}.ax-comments__item p{white-space:pre-wrap;overflow-wrap:anywhere}
.ax-comments__meta{display:flex;gap:1rem;align-items:center;font-size:.85rem;opacity:.8}
.ax-comments__actions{display:flex;gap:.5rem;flex-wrap:wrap;margin:.5rem 0}
.ax-comments__actions .ax-btn{min-height:34px;padding:.3rem .8rem}
.ax-comments__reply-form{display:grid;gap:.5rem;margin:.75rem 0;max-width:600px}
.ax-comments__replies{margin-inline-start:1.1rem;padding-inline-start:1rem;border-inline-start:2px solid #354735}
.ax-comments__admin{color:#a4ee3a}
@media(min-width:1024px) and (max-width:1359px){.ax-header .ax-nav,.ax-header .ax-search{display:none}.ax-header .ax-menu{display:block;margin-left:0}.ax-header .ax-search-btn{display:inline-flex}}
@media(min-width:1360px) and (max-width:1599px){.ax-header .ax-search input{width:170px}.ax-header__bar{gap:10px}}
@media(max-width:1023px){
 .ax-header .ax-locale,.ax-header .ax-profile{pointer-events:auto}
 .ax-header .ax-locale,.ax-header .ax-btn.ax-account-link,.ax-header .ax-btn.ax-profile__toggle,.ax-header .ax-btn.ax-search-btn,.ax-header .ax-btn.ax-menu-toggle{background:var(--ax-glass);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-color:var(--ax-border-strong)}
 .ax-header .ax-locale:hover,.ax-header .ax-btn.ax-account-link:hover,.ax-header .ax-btn.ax-profile__toggle:hover,.ax-header .ax-btn.ax-search-btn:hover,.ax-header .ax-btn.ax-menu-toggle:hover{background:var(--ax-glass);border-color:var(--ax-primary)}
}
@media(max-width:700px){.ax-locale{width:44px;justify-content:center;padding:0}.ax-locale select{position:absolute;inset:0;width:100%;height:100%;opacity:0}}
@media(max-width:380px){.ax-header__row{gap:4px}.ax-header__bar{gap:4px}.ax-header .ax-logo__full{width:84px;height:auto}}
html[dir="rtl"] .ax-profile__panel{right:auto;left:0}
html[dir="rtl"] .ax-profile__panel a,html[dir="rtl"] .ax-profile__panel button{text-align:right}
html[dir="rtl"] .ax-synopsis,html[dir="rtl"] .ax-slide__syn{direction:ltr;text-align:left;unicode-bidi:plaintext}
html[dir="rtl"] input[type="email"],html[dir="rtl"] input[type="url"]{direction:ltr;text-align:left}
html[dir="rtl"] .ax-comments__item{unicode-bidi:plaintext}

/* Keep account form fields readable when focused on mobile Safari. */
@media(max-width:1023px),(pointer:coarse){
 .ax-viewer-auth input:not([type=hidden]):not([type=checkbox]):not([type=radio]),
 .ax-viewer-auth select,.ax-viewer-auth textarea{font-family:inherit;font-size:16px;font-size:max(16px,1rem);line-height:1.5;min-height:44px;box-sizing:border-box}
}

.ax-viewer-auth .ax-remember-choice{display:flex;align-items:flex-start;gap:.65rem;cursor:pointer}.ax-viewer-auth .ax-remember-choice input{width:1.1rem;height:1.1rem;flex:0 0 auto;margin-top:.2rem;padding:0;accent-color:var(--ax-primary,#a4ee3a)}.ax-remember-choice small{display:block;margin-top:.25rem;font-size:.8rem;opacity:.75}.ax-viewer-notice{color:var(--ax-primary,#a4ee3a)}.ax-viewer-note{font-size:.85rem;opacity:.8}.ax-viewer-security h2{font-size:1.15rem;margin-top:2rem}
