/* Preserve layout while the selected portal language loads; JS removes this class on success, failure, or timeout. */
html.aurea-locale-pending body { visibility: hidden; }
/* Keep a recognizable brand and a neutral loading indicator visible during the bounded wait. */
html.aurea-locale-pending .site-header .brand { visibility: visible; }
html.aurea-locale-pending body::before {
  content: ''; visibility: visible; position: fixed; z-index: 9999;
  left: calc(50% - 12px); top: calc(50% - 12px); width: 24px; height: 24px;
  border: 2px solid #d9d0be; border-top-color: #8b7654; border-radius: 50%;
  animation: aurea-locale-loading 0.8s linear infinite;
}
@keyframes aurea-locale-loading { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  html.aurea-locale-pending body::before { animation: none; }
}
.ui-language{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;max-width:24rem;text-align:start}
.ui-language select{min-height:46px;width:auto;max-width:100%;padding:.5rem 1.5rem .5rem .75rem;font-size:.8125rem}
.ui-language-hint{max-width:15rem;color:var(--muted);font-size:.6875rem;line-height:1.65}
html[data-aurea-native] .brand>span{font-family:Georgia,'Times New Roman',serif}
html[data-aurea-native][dir=rtl] :is(.card-facts,.field-grid,.comparison-table,.detail-facts,.steps,.saved-comparison-projects){direction:rtl}
html[data-aurea-native][dir=rtl] :is(.card,.surface,.replacement-choice,.metadata,.project-description,.pv-description,.notice){text-align:start}
html[data-aurea-native][dir=rtl] .notice{border-left:1px solid var(--line);border-inline-start:3px solid var(--gold)}
html[data-aurea-native] [data-original-content][lang=en]{font-family:Inter,-apple-system,sans-serif;direction:ltr;text-align:left;line-height:1.65}
html[data-aurea-native] :is(.card,.surface,.header-actions,.cv-detail-panel)>*{min-width:0}
html[data-aurea-native] :is(h1,h2,h3,p,label,button){overflow-wrap:anywhere}
html[data-aurea-native]:lang(ko) :is(h1,h2,h3,p,label,button){word-break:keep-all;overflow-wrap:break-word}
@media(max-width:40rem){.ui-language{max-width:100%;gap:.35rem;align-items:flex-start}.ui-language-hint{max-width:12rem}.site-header{gap:1rem;align-items:start}.header-actions{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:40rem){html[data-aurea-native] .site-header{height:auto;min-height:114px;padding-block:24px;box-sizing:border-box}html[data-aurea-native] .brand{flex-shrink:0}html[data-aurea-native] .filters{flex-wrap:wrap}html[data-aurea-native] .filters>label:has(#area-filter){flex:1 1 12rem;min-width:12rem;max-width:100%}html[data-aurea-native] #area-filter{width:100%}}
