/* Shared language picker and account prototype across AndaLab site pages. */
.al-language-heading {
  padding: 10px 12px 8px;
  color: var(--muted, #69717c);
  font-size: 13px;
  font-weight: 750;
}
.language-options .language-option {
  position: relative;
  min-height: 40px;
  padding: 9px 12px 9px 40px;
  border-radius: 8px;
  color: var(--ink, #212529);
}
.language-options .language-option::before {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 17px;
  height: 17px;
  border: 1.5px solid #9a9da3;
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}
.language-options .language-option[aria-checked="true"]::before { border-color: #e87822; }
.language-options .language-option[aria-checked="true"]::after {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e87822;
  content: "";
  transform: translateY(-50%);
}
.language-options .language-option[aria-checked="true"] { font-weight: 750; }
.al-current-language { min-width: 2.2em; text-align: center; }
.al-site-utility { display: flex; align-items: center; gap: 8px; }
.al-account-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid var(--line, #d6d9de);
  border-radius: 10px;
  background: var(--paper, #fff);
  color: var(--ink, #212529);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.al-account-button:hover, .al-account-button[aria-expanded="true"] {
  border-color: #d9b638;
  background: #fff8dc;
  color: #212529;
}
.al-account-button:focus-visible, .al-auth-dialog button:focus-visible,
.al-auth-dialog input:focus-visible { outline: 3px solid #e6ac0055; outline-offset: 2px; }
.al-main-utility { position: fixed; z-index: 60; top: 14px; right: 18px; }
.al-main-utility .al-site-utility { display: flex; align-items: center; gap: 8px; padding: 7px; border: 1px solid #e8e9eb; border-radius: 13px; background: #fff; box-shadow: 0 8px 24px #21252918; }
.al-main-utility .language-menu { position: relative; }
.al-main-utility .language-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 8px 11px; border: 1px solid #d6d9de; border-radius: 10px; background: #fff; color: #212529; font: inherit; font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.al-main-utility .language-button:hover, .al-main-utility .language-button[aria-expanded="true"] { border-color: #e7c65a; background: #fffaf0; }
.al-main-utility .language-button svg { width: 17px; height: 17px; flex: none; }
.al-main-utility .language-options { position: absolute; z-index: 70; top: calc(100% + 8px); right: 0; width: 220px; max-height: min(70vh, 460px); padding: 7px; overflow-y: auto; border: 1px solid #e8e9eb; border-radius: 13px; background: #fff; color: #212529; box-shadow: 0 12px 32px #21252924; }
.al-main-utility .language-options[hidden] { display: none; }
.al-auth-dialog {
  width: min(900px, calc(100vw - 36px));
  max-width: 900px;
  max-height: min(760px, calc(100dvh - 36px));
  padding: 0;
  overflow: auto;
  border: 1px solid #e3e3e3;
  border-radius: 20px;
  background: #fff;
  color: #212529;
  box-shadow: 0 28px 90px #1115;
}
.al-auth-dialog::backdrop { background: #1119; backdrop-filter: blur(3px); }
.al-auth-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 24px; border-bottom: 1px solid #e8e9eb; }
.al-auth-brand { color: #212529; font-size: 14px; font-weight: 850; letter-spacing: .04em; }
.al-auth-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: #62666d; font-size: 25px; line-height: 1; cursor: pointer; }
.al-auth-close:hover { background: #f1f2f4; }
.al-auth-content { display: grid; grid-template-columns: 1fr .9fr; min-height: 460px; }
.al-auth-form-panel { padding: 28px clamp(22px, 4vw, 42px) 30px; }
.al-auth-social { padding: 34px clamp(22px, 4vw, 42px); border-left: 1px solid #e2e2e2; background: #fcfcfb; }
.al-auth-eyebrow { margin: 0 0 7px; color: #8c6d00; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.al-auth-dialog h2 { margin: 0 0 19px; font-size: clamp(22px, 3vw, 28px); line-height: 1.25; }
.al-auth-dialog h3 { margin: 0 0 19px; font-size: 21px; }
.al-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 0 0 22px; padding: 4px; border-radius: 11px; background: #f1f2f4; }
.al-auth-tab { min-height: 40px; border: 0; border-radius: 8px; background: transparent; color: #62666d; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.al-auth-tab[aria-selected="true"] { background: #fff; color: #212529; box-shadow: 0 1px 4px #1112; }
.al-auth-field { display: block; margin: 0 0 15px; color: #454a52; font-size: 13px; font-weight: 700; }
.al-auth-field[hidden] { display: none; }
.al-auth-field input { display: block; width: 100%; min-height: 48px; margin-top: 7px; padding: 11px 13px; border: 1px solid #cfd2d6; border-radius: 9px; background: #fff; color: #212529; font: inherit; font-size: 15px; }
.al-auth-field input:focus { border-color: #bd9700; outline: 0; box-shadow: 0 0 0 3px #ffc70030; }
.al-auth-submit { width: 100%; min-height: 48px; margin-top: 2px; border: 0; border-radius: 9px; background: #ffc700; color: #212529; font: inherit; font-weight: 800; cursor: pointer; }
.al-auth-submit:hover { background: #f0bb00; }
.al-auth-legal { margin: 14px 0 0; color: #767b82; font-size: 11px; line-height: 1.65; }
.al-auth-provider { display: flex; width: 100%; min-height: 52px; align-items: center; gap: 12px; margin: 0 0 12px; padding: 10px 14px; border: 1px solid #cfd2d6; border-radius: 9px; background: #fff; color: #292d32; font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.al-auth-provider:hover { background: #f7f8f9; border-color: #aeb2b8; }
.al-auth-line-official { color: #212529; text-decoration: none; }
.al-auth-line-official small { display: block; margin-top: 2px; color: #767b82; font-size: 12px; font-weight: 600; }
.al-auth-line-official:hover { border-color: #06c755; background: #f4fff8; }
.al-google-mark { display: inline-grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: conic-gradient(from -45deg,#4285f4 0 25%,#34a853 25% 50%,#fbbc05 50% 73%,#ea4335 73% 100%); color: #fff; font: 900 15px Arial,sans-serif; }
.al-line-mark { display: inline-grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #06c755; color: #fff; font: 850 9px Arial,sans-serif; }
.al-auth-status { min-height: 42px; margin: 15px 0 0; padding: 10px 12px; border-radius: 9px; background: #fff8dc; color: #665000; font-size: 12px; line-height: 1.6; }
.al-auth-status:empty { display: none; }
.al-auth-privacy { margin: 23px 0 0; color: #777d85; font-size: 12px; line-height: 1.7; }
@media (max-width: 680px) {
  .al-main-utility { top: 10px; right: 10px; }
  .al-site-utility { gap: 5px; }
  .al-main-utility .al-site-utility { gap: 5px; padding: 5px; }
  .al-account-button, .al-main-utility .language-button { min-height: 38px; padding: 7px 9px; font-size: 12px; }
  .al-auth-dialog { width: 100vw; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .al-auth-header { padding: 14px 18px; }
  .al-auth-content { display: block; }
  .al-auth-form-panel { padding: 24px 20px; }
  .al-auth-social { padding: 22px 20px 30px; border-top: 1px solid #e2e2e2; border-left: 0; }
  .al-auth-social h3 { margin-bottom: 13px; font-size: 17px; }
  .al-auth-provider { min-height: 46px; margin-bottom: 8px; }
}
