.learner-greeting { display: block; flex: 1 1 250px; min-width: 220px; max-width: 360px; padding: 0 12px; border-left: 1px solid #e5e2ec; color: #111; font-family: Nunito, Inter, "Segoe UI", Arial, sans-serif; font-size: 20px; line-height: 1.4; letter-spacing: 0; overflow-wrap: anywhere; }
.learner-greeting[hidden] { display: none !important; }
.learner-greeting [data-salutation] { color: #111; font-size: inherit; line-height: inherit; font-weight: 700; }
.learner-greeting [data-greeting-name] { color: #111; font-size: inherit; line-height: inherit; font-weight: 850; }
#moduleHeader.has-learner-greeting, #homeInterface .home-topbar.has-learner-greeting { flex-wrap: wrap; gap: 12px; }
#editLearnerNameButton > i { display: inline-grid; place-items: center; width: 24px; height: 24px; color: #64718b; }
#createAccountForm .login-v2-input > i { display: inline-grid; place-items: center; width: 20px; flex: 0 0 20px; color: #64718b; }
#learnerNameDialog, #learnerLeaderboardDialog { font-family: Nunito, Inter, "Segoe UI", Arial, sans-serif; letter-spacing: 0; box-sizing: border-box; color: #30284d; }
#learnerNameDialog * , #learnerLeaderboardDialog * { box-sizing: border-box; letter-spacing: 0; }
#learnerNameDialog:not([open]), #learnerLeaderboardDialog:not([open]) { display: none; }
#learnerNameDialog::backdrop, #learnerLeaderboardDialog::backdrop { background: rgb(27 22 45 / 30%); }
#learnerNameDialog { width: 480px; max-width: calc(100% - 28px); max-height: calc(100dvh - 32px); padding: 32px; border: 1px solid #ddd8e8; border-top: 3px solid #b38a35; border-radius: 8px; background: #fff; box-shadow: 0 24px 80px rgb(28 21 58 / 20%); overflow-y: auto; }
#learnerNameDialog::backdrop { background: rgb(27 22 45 / 42%); }
#learnerNameDialog .learner-name-brand { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 29px; padding-bottom: 20px; border-bottom: 1px solid #eeedf2; }
#learnerNameDialog .learner-name-brandmark { display: flex; align-items: center; gap: 10px; min-width: 0; }
#learnerNameDialog .learner-name-brandmark img { display: block; width: 36px; height: 36px; object-fit: contain; }
#learnerNameDialog .learner-name-brandmark strong { color: #211847; font-size: 17px; font-weight: 900; }
#learnerNameDialog .learner-name-profile { display: inline-flex; align-items: center; gap: 6px; color: #727083; font-size: 11px; line-height: 1.4; white-space: nowrap; }
#learnerNameDialog .learner-name-profile i { color: #8a651c; font-size: 13px; }
#learnerNameDialog h2 { margin: 0 0 11px; font-size: 25px; font-weight: 850; line-height: 1.3; color: #211847; }
#learnerNameDialog > p { margin: 0 0 25px; color: #64718b; font-size: 14px; line-height: 1.65; }
#learnerNameDialog form { display: block; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
#learnerNameDialog label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 850; color: #30284d; }
#learnerNameDialog .learner-name-input-wrap { display: flex; align-items: center; gap: 12px; padding: 0 15px; border: 1px solid #cbd0dd; border-radius: 6px; background: #fbfcfe; }
#learnerNameDialog .learner-name-input-wrap > i { flex: 0 0 17px; color: #798094; font-size: 16px; }
#learnerNameDialog .learner-name-input-wrap:focus-within { border-color: var(--conj-purple, #6d28d9); background: #fff; box-shadow: 0 0 0 3px rgb(109 40 217 / 9%); }
#learnerNameDialog .learner-name-input-wrap:has(input[aria-invalid="true"]) { border-color: #c62828; box-shadow: 0 0 0 3px rgb(198 40 40 / 7%); }
#learnerNameDialog input { display: block; min-width: 0; width: 100%; height: 54px; padding: 12px 0; border: 0 !important; border-radius: 0; background: transparent !important; color: #1d2a52; box-shadow: none !important; font: inherit; font-size: 17px; font-weight: 700; line-height: 1.4; }
#learnerNameDialog input:focus { outline: none; box-shadow: none; }
#learnerNameDialog input::placeholder { color: #8d91a2; font-weight: 500; opacity: 1; }
#learnerNameDialog small { display: block; margin-top: 11px; color: #727789; font-size: 11px; line-height: 1.6; }
#learnerNameDialog .learner-name-status { min-height: 19px; margin: 13px 0 16px; color: #a52626; font-size: 12px; line-height: 1.5; }
#learnerNameDialog .learner-name-actions { display: grid; gap: 19px; }
#learnerNameDialog button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; margin: 0; border: 1px solid #d9dce5; border-radius: 6px; background: #fff; color: #30284d; font-family: inherit; font-size: 13px; font-weight: 800; line-height: 1.4; box-shadow: none; transform: none; cursor: pointer; }
#learnerNameDialog button:hover { background: #f6f7fa; transform: none; }
#learnerNameDialog button:focus-visible { outline: 2px solid var(--conj-purple, #6d28d9); outline-offset: 3px; }
#learnerNameDialog .learner-name-save { width: 100%; min-height: 48px; background: var(--conj-purple, #6d28d9); border-color: var(--conj-purple, #6d28d9); color: #fff; font-size: 14px; box-shadow: 0 4px 9px rgb(109 40 217 / 12%); }
#learnerNameDialog .learner-name-save:hover { background: var(--conj-purple-dark, #4c1d95); border-color: var(--conj-purple-dark, #4c1d95); }
#learnerNameDialog .learner-name-secondary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid #eeedf2; }
#learnerNameDialog .learner-name-exit { min-height: 36px; padding: 6px 0; border-color: transparent; background: transparent; color: #747487; font-size: 12px; }
#learnerNameDialog .learner-name-exit:hover { color: #30284d; background: transparent; }
#learnerNameDialog .learner-name-exit:only-child { margin-left: auto; }
#learnerNameDialog button:disabled { opacity: .6; cursor: wait; }
#learnerNameDialog [hidden] { display: none !important; }
#floatingLearnerLeaderboard { position: fixed; z-index: 1850; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 80px; height: 64px; min-height: 64px; padding: 6px 3px; margin: 0; border: 1px solid #d7c28e; border-radius: 8px; background: #fff; color: #8a5a00; box-shadow: 0 3px 10px rgb(38 30 72 / 9%); font-size: 24px; cursor: pointer; }
#floatingLearnerLeaderboard > span { color: #5c461b; font-size: 10px; line-height: 1.2; font-weight: 800; white-space: nowrap; }
#floatingLearnerLeaderboard[hidden] { display: none !important; }
#floatingLearnerLeaderboard:hover { background: #fff9ea; border-color: #b48420; }
#floatingLearnerLeaderboard:focus-visible { outline: 2px solid #8a5a00; outline-offset: 3px; }
#floatingLearnerLeaderboard, #floatingLearnerLeaderboard *, #floatingLearnerLeaderboard *::before, #floatingLearnerLeaderboard *::after,
#learnerLeaderboardDialog .learner-ranking-close, #learnerLeaderboardDialog .learner-ranking-close *, #learnerLeaderboardDialog .learner-ranking-close *::before {
  animation: none !important; transition: none !important; transform: none !important; translate: none !important; rotate: none !important; scale: none !important;
}
#learnerLeaderboardDialog { position: fixed; inset: 0 0 0 auto; margin: 0; width: 590px; max-width: 100%; height: 100dvh; max-height: 100dvh; padding: 0; border: 0; border-left: 1px solid #e5e2ec; border-radius: 0; background: #fff; box-shadow: -10px 0 35px rgb(33 24 70 / 10%); }
#learnerLeaderboardDialog[open] { display: flex; flex-direction: column; }
#learnerLeaderboardDialog .learner-ranking-head { display: flex; flex: 0 0 auto; align-items: flex-start; justify-content: space-between; gap: 16px; width: 100%; max-width: none; margin: 0; padding: 24px; border-radius: 0; background: #fff; box-shadow: none; border-bottom: 1px solid #ece9f1; }
#learnerLeaderboardDialog .learner-ranking-head > div > span { color: #8a5a00; font-size: 11px; font-weight: 800; }
#learnerLeaderboardDialog h2 { margin: 5px 0 0; color: #1d2a52; font-size: 24px; line-height: 1.3; }
#learnerLeaderboardDialog .learner-ranking-close { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; min-height: 40px; padding: 0; margin: 0; border: 1px solid #ddd7eb; border-radius: 6px; background: #fff; color: #c62828; font-size: 21px; box-shadow: none; cursor: pointer; }
#learnerLeaderboardDialog .learner-ranking-close:hover { background: #fff1f1; }
#learnerLeaderboardDialog .learner-ranking-scroll { flex: 1; min-height: 0; overflow-y: auto; scrollbar-gutter: stable; overscroll-behavior: contain; padding: 20px 24px; }
#learnerLeaderboardDialog .learner-ranking-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
#learnerLeaderboardDialog .learner-ranking-caption > span { color: #8a5a00; border: 1px solid #ead8a5; background: #fff8e5; padding: 3px 7px; border-radius: 4px; white-space: nowrap; font-size: 10px; }
#learnerLeaderboardDialog [data-ranking-status] { margin: 10px 0 18px; color: #64718b; font-size: 11px; line-height: 1.6; }
#learnerLeaderboardDialog table { width: 100%; max-width: 100%; margin: 0; table-layout: fixed; border-collapse: collapse; box-shadow: none; border-radius: 0; }
#learnerLeaderboardDialog col:first-child { width: 48px; }
#learnerLeaderboardDialog col:nth-child(3) { width: 116px; }
#learnerLeaderboardDialog th { padding: 10px 7px; border-bottom: 1px solid #e5e2ec; background: #edf8f6; color: #087f79; text-align: left; font-size: 11px; line-height: 1.5; font-weight: 800; }
#learnerLeaderboardDialog th:nth-child(n+3), #learnerLeaderboardDialog td:nth-child(n+3) { text-align: right; }
#learnerLeaderboardDialog td { padding: 13px 7px; height: 66px; border-bottom: 1px solid #eeedf2; vertical-align: middle; font-size: 13px; }
#learnerLeaderboardDialog th:last-child, #learnerLeaderboardDialog td:last-child { padding-right: 12px; }
#learnerLeaderboardDialog .learner-rank { color: #898293; font-size: 11px; font-weight: 800; }
#learnerLeaderboardDialog .learner-rank-medal { position: relative; display: inline-grid; place-items: center; width: 24px; height: 30px; vertical-align: middle; }
#learnerLeaderboardDialog .medal-gold { --medal-light: #fff0b3; --medal-base: #d1a22c; --medal-dark: #a37512; --medal-ink: #62430b; }
#learnerLeaderboardDialog .medal-silver { --medal-light: #ffffff; --medal-base: #bdbdbd; --medal-dark: #737373; --medal-ink: #333333; }
#learnerLeaderboardDialog .medal-bronze { --medal-light: #f4d9ba; --medal-base: #c58a54; --medal-dark: #946032; --medal-ink: #55351d; }
#learnerLeaderboardDialog .learner-rank-medal > i { color: var(--medal-base); font-size: 24px; line-height: 1; filter: drop-shadow(0 1px 1px rgb(47 38 22 / 16%)); }
#learnerLeaderboardDialog .learner-rank-medal > i::before { background: linear-gradient(125deg,var(--medal-light),var(--medal-base) 54%,var(--medal-dark)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
#learnerLeaderboardDialog .medal-silver > i::before { background-image: linear-gradient(130deg,#fafafa,#c6c6c6 30%,#fff 48%,#a2a2a2 65%,#686868); }
#learnerLeaderboardDialog .learner-rank-medal > strong { position: absolute; right: 0; bottom: 4px; left: 0; display: grid; place-items: center; width: 12px; height: 12px; margin: 0 auto; border-radius: 50%; background: linear-gradient(125deg,var(--medal-light),var(--medal-base)); color: var(--medal-ink); font-size: 9px; line-height: 12px; font-weight: 900; text-align: center; text-shadow: 0 1px 0 rgb(255 255 255 / 50%); }
#learnerLeaderboardDialog .learner-rank-name { color: #30284d; overflow-wrap: anywhere; font-size: 13px; line-height: 1.5; }
#learnerLeaderboardDialog td small { display: block; margin-top: 3px; color: #64718b; font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
#learnerLeaderboardDialog .no-record { color: #898293; font-size: 10px; font-weight: 600; }
#learnerLeaderboardDialog .is-you td { background: #f4faf8; }
#learnerLeaderboardDialog .learner-overall-ring { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(#0c8977 var(--overall-progress,0%),#e6efec 0); }
#learnerLeaderboardDialog .learner-overall-ring::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
#learnerLeaderboardDialog .learner-overall-ring strong { position: relative; color: #087564; font-size: 12px; font-weight: 900; font-variant-numeric: tabular-nums; }
#learnerLeaderboardDialog footer { display: flex; flex: 0 0 auto; flex-direction: column; gap: 5px; padding: 17px 24px max(20px,env(safe-area-inset-bottom)); border-top: 1px solid #e5e2ec; background: #f8f9fb; }
#learnerLeaderboardDialog footer > strong { color: #1d2a52; font-size: 13px; overflow-wrap: anywhere; }
#learnerLeaderboardDialog footer > span { color: #64718b; font-size: 11px; }
@media(max-width:1100px) {
  body:has(#moduleHeader.has-learner-greeting:not(.hidden)) #spanishInterface .conjugator-section > .aside-title { display: flex; align-items: flex-start; min-height: 60px; }
}
@media(max-width:1100px) and (min-width:1181px) {
  #moduleHeader.has-learner-greeting .learner-greeting { max-width: 280px; padding: 0 8px; font-size: 18px; }
}
@media(max-width:1180px) {
  #moduleHeader .app-module-nav { display: none; }
  #moduleHeader.has-learner-greeting:not(.hidden) { height: auto; align-content: flex-start; }
  body:has(#moduleHeader.has-learner-greeting:not(.hidden)) #spanishInterface.layout:not(.hidden):not(.mobile-practice-open) { top: var(--learner-module-bottom, 116px); }
  #moduleHeader.has-learner-greeting .learner-greeting, #homeInterface .home-topbar.has-learner-greeting .learner-greeting { order: 3; flex: 1 1 calc(100% - 56px); min-width: 0; max-width: calc(100% - 56px); padding: 12px 0; border-left: 0; border-top: 1px solid #eeedf2; font-size: 18px; align-self: center; }
  #learnerNameDialog { padding: 24px; }
  #learnerNameDialog .learner-name-brand { gap: 10px; margin-bottom: 24px; padding-bottom: 17px; }
  #learnerNameDialog .learner-name-brandmark { gap: 7px; }
  #learnerNameDialog .learner-name-brandmark strong { font-size: 16px; }
  #learnerNameDialog .learner-name-profile { font-size: 10px; }
  #learnerNameDialog h2 { font-size: 23px; }
  #floatingLearnerLeaderboard { width: 44px; height: 44px; min-height: 44px; padding: 0; font-size: 21px; }
  #floatingLearnerLeaderboard.in-mobile-header { position: static; order: 4; flex: 0 0 44px; align-self: center; }
  #floatingLearnerLeaderboard > span { display: none; }
  body:has(#moduleHeader.has-learner-greeting:not(.hidden)) #spanishInterface .conjugator-section > .aside-title { min-height: 0; }
  #learnerLeaderboardDialog { width: 100%; }
  #learnerLeaderboardDialog .learner-ranking-head { padding: 20px 16px; }
  #learnerLeaderboardDialog .learner-ranking-scroll { padding: 17px 12px; }
  #learnerLeaderboardDialog col:first-child { width: 44px; }
  #learnerLeaderboardDialog col:nth-child(3) { width: 90px; }
  #learnerLeaderboardDialog td, #learnerLeaderboardDialog th { padding-left: 5px; padding-right: 5px; }
  #learnerLeaderboardDialog .learner-rank-name { font-size: 12px; }
  #learnerLeaderboardDialog footer { padding-left: 16px; padding-right: 16px; }
  #learnerLeaderboardDialog .learner-ranking-caption { align-items: flex-start; }
  #learnerLeaderboardDialog .learner-ranking-caption > strong { max-width: 170px; }
}
