/* AUTOOL light language dialog adapted from the authorized source plugin, 2026-10-29.
 * Original region card unchanged. Language publication remains disabled. */
html.abhf-choice-open { overflow:hidden; }
html.abhf-choice-open :is(#abhf-sheet-rg,.abhf-pop--rg) { visibility:hidden; }
#abhf-currency-dialog {
 --choice-ink:#15181c; --choice-line:rgba(21,24,28,.1);
 position:fixed; inset:0; box-sizing:border-box; width:100%; height:100%; max-width:100%; max-height:100%;
 margin:0; padding:0; border:0; overflow:hidden; background:transparent; color:var(--choice-ink);
}
#abhf-currency-dialog[open] { display:flex; align-items:flex-end; justify-content:center; }
#abhf-currency-dialog::backdrop { background:rgba(21,24,28,.32); }
#abhf-currency-dialog .abhf-choice-panel {
 display:flex; flex-direction:column; width:100%; min-height:0;
 height:calc(100% - 12px - env(safe-area-inset-top,0px)); overflow:hidden;
 border-radius:var(--as-radius-md,6px) var(--as-radius-md,6px) 0 0;
 background:rgba(255,255,255,.84); -webkit-backdrop-filter:saturate(180%) blur(18px); backdrop-filter:saturate(180%) blur(18px);
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.6),0 24px 64px rgba(21,24,28,.2);
 animation:abhf-choice-enter .25s ease;
}
#abhf-currency-dialog .abhf-choice-head { position:relative; display:flex; flex:none; align-items:center; justify-content:center; min-height:56px; padding:0 56px; border-bottom:1px solid var(--choice-line); }
#abhf-currency-dialog .abhf-choice-head h2 { margin:0; color:var(--choice-ink); font-size:17px; font-weight:600; line-height:1.3; text-align:center; }
#abhf-currency-dialog .abhf-choice-close { position:absolute; top:6px; right:6px; display:grid; place-items:center; width:44px; height:44px; min-height:0; margin:0; padding:0; border:0; border-radius:var(--as-radius-ctrl,2px); background:transparent; color:var(--choice-ink); font:28px/1 Arial,sans-serif; cursor:pointer; }
#abhf-currency-dialog .abhf-choice-search { position:relative; flex:none; padding:12px 20px; }
#abhf-currency-dialog .abhf-choice-search svg { position:absolute; left:34px; top:50%; transform:translateY(-50%); color:#5f636b; width:18px; height:18px; pointer-events:none; }
#abhf-currency-dialog .abhf-choice-search input { width:100%; height:44px; margin:0; padding:0 14px 0 44px; border:1px solid transparent; border-radius:var(--as-radius-ctrl,2px); background:rgba(21,24,28,.055); color:var(--choice-ink); font-size:16px; appearance:none; }
#abhf-currency-dialog .abhf-choice-search input::placeholder { color:#5f636b; }
#abhf-currency-dialog .abhf-choice-search input:focus { background:rgba(255,255,255,.92); }
#abhf-currency-dialog .abhf-choice-list { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; display:grid; grid-template-columns:minmax(0,1fr); align-content:start; gap:0; padding:0 0 calc(24px + env(safe-area-inset-bottom,0px)); }
#abhf-currency-dialog .abhf-choice-option { display:flex; align-items:center; gap:12px; min-width:0; min-height:52px; margin:0; padding:10px 20px; border:0; border-radius:0; box-shadow:inset 0 -1px 0 var(--choice-line); background:transparent; color:var(--choice-ink); font:inherit; font-size:16px; line-height:1.3; text-align:left; cursor:pointer; }
#abhf-currency-dialog .abhf-choice-code { flex:none; font-weight:500; }
#abhf-currency-dialog .abhf-choice-name { flex:1; min-width:0; color:#5f636b; font-size:14px; text-align:right; }
#abhf-currency-dialog .abhf-choice-option[aria-pressed="true"] { font-weight:600; }
#abhf-currency-dialog .abhf-choice-option[aria-pressed="true"]::after { content:'✓'; flex:none; }
#abhf-currency-dialog :is(.abhf-choice-option,.abhf-choice-close):is(:hover,:active) { background:rgba(21,24,28,.09); color:var(--choice-ink); }
#abhf-currency-dialog :is(button,input):focus-visible { outline:2px solid #15181c !important; outline-offset:-2px; }
#abhf-currency-dialog [hidden] { display:none !important; }
#abhf-currency-dialog .abhf-choice-empty { margin:0; padding:32px 20px; color:#5f636b; font-size:15px; text-align:center; }
@media (min-width:768px) {
 #abhf-currency-dialog[open] { align-items:center; padding:48px 32px; }
 #abhf-currency-dialog .abhf-choice-panel { width:min(960px,100%); height:auto; max-height:100%; border-radius:var(--as-radius-md,6px); }
 #abhf-currency-dialog .abhf-choice-head h2 { font-size:16px; }
 #abhf-currency-dialog .abhf-choice-search { padding:16px 32px; border-bottom:1px solid var(--choice-line); }
 #abhf-currency-dialog .abhf-choice-search svg { left:46px; }
 #abhf-currency-dialog .abhf-choice-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:20px 32px 32px; }
 #abhf-currency-dialog .abhf-choice-option { min-height:48px; padding:10px 16px; border-radius:var(--as-radius-ctrl,2px); background:rgba(21,24,28,.045); box-shadow:none; font-size:14px; }
}
@media (min-width:1280px) {
 #abhf-currency-dialog[open] { padding:96px 60px 64px; }
 #abhf-currency-dialog .abhf-choice-list { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-height:560px) and (min-width:768px) { #abhf-currency-dialog[open] { padding:12px 32px; } }
/* Phone only. Desktop/tablet and the side-toolbar button retain their original site styling. */
@media (max-width:767px) {
 body .as-totop { width:36px; height:36px; min-width:36px; min-height:36px; padding:0; background:rgba(255,255,255,.84); color:#15181c; -webkit-backdrop-filter:saturate(180%) blur(18px); backdrop-filter:saturate(180%) blur(18px); border:1px solid rgba(21,24,28,.14); box-shadow:0 6px 20px rgba(21,24,28,.12); }
 body .as-totop:is(:hover,:focus-visible) { background:rgba(245,245,242,.9); color:#15181c; }
 body .as-totop:active { background:rgba(235,235,232,.92); }
 body .as-totop svg { width:16px; height:16px; }
 body .as-totop::before { content:''; position:absolute; inset:-4px; }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
 #abhf-currency-dialog .abhf-choice-panel { background:#fff; }
 @media (max-width:767px) { body .as-totop { background:#fff; } }
}
@media (prefers-reduced-transparency:reduce) {
 #abhf-currency-dialog .abhf-choice-panel { background:#fff; -webkit-backdrop-filter:none; backdrop-filter:none; }
 @media (max-width:767px) { body .as-totop { background:#fff; -webkit-backdrop-filter:none; backdrop-filter:none; } }
}
@keyframes abhf-choice-enter { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion:reduce) { #abhf-currency-dialog .abhf-choice-panel { animation:none; } }
