/* Shared public authentication and account identity, isolated from admin. */
.account-page .account-auth-shell { padding-top: 32px; padding-bottom: 42px; }
.account-page .account-auth-panel { width: 100%; max-width: 500px; margin-inline: auto; background: #fff; border: 1px solid #e2ecec; border-radius: 22px; padding: 28px; box-shadow: 0 8px 32px #214f5407; }
.account-page .account-panel-wide { max-width: 700px; }
.account-page .account-auth-heading { margin-bottom: 20px; }
.account-page .account-eyebrow { color: #1d9098; font-size: .8rem; font-weight: 700; }
.account-page .account-auth-heading h1 { font-size: clamp(1.4rem,2.6vw,1.9rem); line-height: 1.6; color: #244b54; margin: 4px 0 7px; font-weight: 800; }
.account-page .account-auth-heading p { font-size: .9rem; color: #637d82; line-height: 1.85; margin: 0; }
.account-page .account-form { display: grid; gap: 16px; }
.account-page .account-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.account-page .account-field > label, .account-page .account-field > legend { color: #31535a; font-size: .9rem; font-weight: 600; margin: 0; padding: 0; float: none; width: auto; }
.account-page .account-field :is(input:not([type=radio]), select) { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #d5e4e5; border-radius: 11px; background: #fbfdfd; color: #244b54; padding: 10px 12px; font-family: inherit; font-size: 16px; box-shadow: none; }
.account-page .account-field input[type=email] { direction: ltr; text-align: start; }
.account-page .account-field input[type=file] { font-size: .8rem; padding: 8px; min-height: 42px; }
.account-page .account-field input[type=file]::file-selector-button { border: 0; border-radius: 6px; background: #e4f3f3; color: #176d75; padding: 5px 8px; margin-inline-end: 8px; }
.account-page :is(input,select,button,a):focus-visible { outline: 3px solid #e8aa55; outline-offset: 3px; }
.account-page .account-field input:focus, .account-page .account-field select:focus { border-color: #1d9098; }
.account-page input[aria-invalid=true], .account-page select[aria-invalid=true] { border-color: #ad6354 !important; }
.account-page .account-field small { color: #698187; font-size: .76rem; line-height: 1.7; }
.account-page .account-password { position: relative; }
.account-page .account-password input { padding-inline-end: 50px; }
.account-page .account-password-toggle { position: absolute; inset-inline-end: 2px; top: 2px; width: 43px; height: calc(100% - 4px); border: 0; border-radius: 9px; background: transparent; color: #427b81; cursor: pointer; }
.account-page .account-primary { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 10px 20px; background: #1d9098; color: #fff; border: 1px solid #1d9098; border-radius: 11px; font-family: inherit; font-size: .94rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s; }
.account-page .account-primary:hover { background: #177b83; color: #fff; }
.account-page .account-google { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 14px; border: 1px solid #d8e4e5; border-radius: 11px; color: #315159; text-decoration: none; font-size: .9rem; min-height: 46px; }
.account-page .account-google img { width: 21px; height: 21px; object-fit: contain; }
.account-page .account-divider { display: flex; align-items: center; gap: 12px; color: #7b9094; font-size: .77rem; margin: 16px 0; }
.account-page .account-divider::before, .account-page .account-divider::after { content: ''; height: 1px; flex: 1; background: #e7eeee; }
.account-page .account-text-button { padding: 4px 0; border: 0; background: transparent; color: #197b83; font: inherit; font-size: .85rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.account-page .account-forgot { justify-self: start; margin-top: -6px; }
.account-page .account-switch { text-align: center; font-size: .85rem; color: #657e83; margin: 20px 0 0; line-height: 1.9; }
.account-page .account-switch a, .account-page .account-check a, .account-page .account-back { color: #167a82; font-weight: 600; text-underline-offset: 4px; }
.account-page .account-back { display: inline-block; margin-bottom: 16px; font-size: .85rem; }
.account-page .account-alert { border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; font-size: .86rem; line-height: 1.85; overflow-wrap: anywhere; }
.account-page .account-alert ul { padding-inline-start: 18px; margin: 0; }
.account-page .account-alert-error { background: #fff3ee; color: #8d4737; border: 1px solid #f0d7cc; }
.account-page .account-alert-success { background: #edf8f1; color: #2e7751; border: 1px solid #d6eadd; }
.account-page .account-alert-message { background: #edf6fa; color: #376c80; }
.account-page .account-section { padding: 0; margin: 0; border: 0; min-width: 0; }
.account-page .account-section > legend { float: none; width: auto; color: #2c5961; font-size: 1rem; font-weight: 700; margin-bottom: 14px; padding: 0; }
.account-page .account-fields-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.account-page .account-photo-field { display: flex; gap: 16px; align-items: center; min-width: 0; padding-bottom: 4px; }
.account-page .account-photo-field .account-field { flex: 1; }
.account-page .account-photo-preview { width: 64px; height: 64px; flex-shrink: 0; object-fit: cover; border-radius: 50%; background: #eef6f6; }
.account-page .account-radio-row { display: flex; flex-wrap: wrap; gap: 8px; min-height: 46px; }
.account-page .account-radio-row label { display: flex; align-items: center; gap: 7px; flex: 1; padding: 8px 12px; border: 1px solid #dbe7e7; border-radius: 10px; font-size: .9rem; cursor: pointer; }
.account-page .account-radio-row label:has(:checked) { border-color: #1d9098; background: #edf8f8; }
.account-page .account-check, .account-page .account-radio-row label { line-height: 1.8; }
.account-page .account-check { display: flex; gap: 9px; align-items: baseline; font-size: .86rem; color: #526e75; }
.account-page .account-radio-row input, .account-page .account-check input { appearance: auto; position: static; width: 17px; height: 17px; opacity: 1; accent-color: #1d9098; flex-shrink: 0; }
.account-page .account-code-fieldset { margin: 4px 0; border: 0; padding: 0; min-width: 0; }
.account-page .account-code-fieldset legend { float: none; text-align: center; font-size: .9rem; margin-bottom: 14px; }
.account-page .account-code { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; max-width: 310px; margin: 0 auto; }
.account-page .account-code input { width: 100%; min-width: 0; height: 56px; border: 1px solid #cfe3e4; border-radius: 11px; background: #f8fcfc; color: #24656d; text-align: center; font-size: 25px; font-variant-numeric: tabular-nums; }
.account-page .account-delivery { text-align: center; color: #59767d; font-size: .85rem; overflow-wrap: anywhere; margin-bottom: 20px; }
.account-page .account-resend { text-align: center; margin-top: 18px; color: #698187; font-size: .82rem; }
.account-page [data-resend-button][hidden], .account-page [data-resend-wait][hidden] { display: none; }
.account-page .account-recovery .modal-content { border: 0; border-radius: 18px; padding: 6px; }
.account-page .account-recovery .modal-header { border-color: #edf2f2; }
.account-page .account-recovery h2 { font-size: 1.25rem; margin: 0; font-weight: 700; }
.account-page .account-recovery .modal-body > p { color: #657e83; font-size: .9rem; line-height: 1.8; }
/* Existing profile data and actions retain their markup and destinations. */
.account-page .new_profile_page { padding: 28px 0 44px; color: #2c515b; }
.account-page .new_profile_page > .container { max-width: 1140px; }
.account-page .account-profile-heading { display: flex; align-items: center; gap: 18px; padding: 22px; background: #f1f9f9; border-radius: 20px; flex-wrap: wrap; }
.account-page .account-profile-heading > img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; }
.account-page .account-profile-heading > div { flex: 1; min-width: 0; }
.account-page .account-profile-heading h1 { font-size: clamp(1.25rem,2.3vw,1.8rem); margin: 4px 0; font-weight: 800; overflow-wrap: anywhere; }
.account-page .account-profile-heading p { margin: 0; color: #5f7d83; font-size: .85rem; overflow-wrap: anywhere; }
.account-page .account-shortcuts { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0 24px; }
.account-page .account-shortcuts a { color: #1b7982; padding: 8px 14px; background: #edf6f6; border-radius: 999px; font-size: .85rem; text-decoration: none; }
.account-page .new_profile_page :is(.person_summery,.my_traingins,.my_badges,.my_notifications,.my_activites) { border: 0; border-radius: 18px; background: #f8fbfb; padding: 20px; margin-bottom: 24px; }
.account-page .new_profile_page .person_summery_wrapper > .row { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; }
.account-page .new_profile_page .person_summery_wrapper > .row > .col { width: auto; padding: 0; }
.account-page .new_profile_page .person_summery_card img { width: 32px; height: 32px; object-fit: contain; }
.account-page .new_profile_page .person_summery_card h5 { color: #1d9098; font-size: 1.4rem; margin: 8px 0 4px; }
.account-page .new_profile_page .person_summery_card h6 { color: #617d84; font-size: .78rem; line-height: 1.7; }
.account-page .new_profile_page .head h2, .account-page .new_profile_page .head h5 { font-size: 1.25rem; color: #315c64; font-weight: 800; }
.account-page .new_profile_page .my_traingins_card { display: flex; flex-direction: column; align-items: stretch; padding: 0; border: 1px solid #e2ecec; border-radius: 16px; overflow: hidden; height: calc(100% - 12px); background: #fff; }
.account-page .new_profile_page .my_traingins_card .card-img { width: 100%; height: auto; }
.account-page .new_profile_page .my_traingins_card .img-parent { position: static; width: 100%; height: auto; padding: 0; aspect-ratio: 16 / 9; }
.account-page .new_profile_page .my_traingins_card .img-parent img { position: static; width: 100%; height: 100%; object-fit: cover; }
.account-page .new_profile_page .my_traingins_card .card_body { padding: 15px; width: 100%; min-width: 0; }
.account-page .new_profile_page .my_traingins_card .card_body h5 { font-size: 1rem; overflow-wrap: anywhere; }
.account-page .new_profile_page .my_traingins_card .card_body p { color: #6b8187; font-size: .85rem; overflow-wrap: anywhere; }
.account-page .new_profile_page .my_traingins_card .card_body ul { margin: 12px 0 0; }
.account-page .new_profile_page .my_badges_card img { max-width: 90px; height: auto; }
.account-page .new_profile_page .my_notifications_card { border-color: #e2ecec; padding: 14px; background: #fff; border-radius: 12px; }
.account-page .new_profile_page .my_notifications_card span { color: #456970; overflow-wrap: anywhere; }
.account-page .new_profile_page .my_notifications_card i { color: #1d9098; }
.account-page .new_profile_page > .container > .account-alert { margin-top: 16px; }
.account-page .new_profile_page ~ .account-alert { max-width: 1140px; margin-inline: auto; }
@media(max-width:767.98px) {
 .account-page .account-fields-grid { grid-template-columns: minmax(0,1fr); }
 .account-page .new_profile_page .person_summery_wrapper > .row { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .account-page .new_profile_page .my_traingins_wrapper > .row > .col-6 { width: 100%; }
}
@media(max-width:575.98px) {
 .account-page .account-auth-shell { padding-top: 18px; padding-bottom: 28px; }
 .account-page .account-auth-panel { padding: 20px 16px; border-radius: 17px; }
 .account-page .account-photo-field { gap: 10px; }
 .account-page .account-photo-preview { width: 48px; height: 48px; }
 .account-page .account-profile-heading { padding: 16px; gap: 12px; }
 .account-page .account-profile-heading > img { width: 52px; height: 52px; }
 .account-page .account-profile-heading > .account-primary { width: 100%; }
 .account-page .new_profile_page :is(.person_summery,.my_traingins,.my_badges,.my_notifications,.my_activites) { padding: 14px 10px; }
 .account-page .account-recovery .modal-dialog { margin: 12px; }
}
@media(prefers-reduced-motion:reduce) { .account-page *, .account-page *::before, .account-page *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.account-page .account-country-search { font-size: .8rem; color: #1c7c84; }
.account-page .account-country-search summary { cursor: pointer; width: fit-content; }
.account-page .account-country-search input { margin-top: 7px; }
.account-page .new_profile_page .my_traingins_card .img-parent, .account-page .new_profile_page .my_traingins_card .img-parent img { border-radius: 0; }
.account-page .new_profile_page .my_latest_trainings { border: 0; background: #f8fbfb; border-radius: 18px; padding: 20px; }
.account-page .new_profile_page .my_latest_trainings .my_traingins_card { flex-direction: row; align-items: center; height: auto; padding: 10px; }
.account-page .new_profile_page .my_latest_trainings .card-img { flex: 0 0 52px; width: 52px; }
.account-page .new_profile_page .my_latest_trainings .img-parent { aspect-ratio: 1; border-radius: 9px; overflow: hidden; }
.account-page .new_profile_page .my_latest_trainings .card_body { flex: 1; padding: 8px 12px; }
.account-overview-page #main-content-container > .account-alert { max-width: 1100px; margin: 18px auto; }
@media(max-width:575.98px) { .account-page .new_profile_page .my_latest_trainings { padding: 14px 10px; } }

/* Final account refinement: compact forms and progressive, keyboard-friendly profile tabs. */
.public-site.account-page .custom-navbar { position: relative; top: auto; }
.account-page .account-auth-shell { padding-top: 22px; padding-bottom: 30px; }
.account-page .account-auth-panel { padding: 22px 24px; }
.account-page .account-auth-heading { margin-bottom: 14px; }
.account-page .account-auth-heading h1 { margin-block: 2px 4px; }
.account-page .account-form { gap: 12px; }
.account-page .account-fields-grid { gap: 12px 16px; }
.account-page .account-field { gap: 5px; }
.account-page .account-section > legend { display: flex; align-items: center; gap: 7px; font-size: .92rem; margin-bottom: 10px; }
.account-page .account-section > legend i, .account-page .account-field > label > i { color: #1d9098; font-size: .85em; margin-inline-end: 3px; }
.account-page .account-security { display: grid; gap: 10px; }
.account-page .account-security > legend { margin-bottom: 0; }
.account-page .account-photo-field { gap: 12px; padding: 0; }
.account-page .account-photo-preview { width: 44px; height: 44px; }
.account-page .account-photo-field .account-field { gap: 3px; }
.account-page .account-photo-field input[type=file] { padding: 5px 7px; min-height: 36px; }
.account-page .account-photo-field small { font-size: .7rem; }
.account-page .account-section > .account-photo-field { margin-bottom: 12px; }
.account-page .account-google { min-height: 43px; padding-block: 9px; }
.account-page .account-divider { margin-block: 12px; }
.account-page .account-switch { margin-top: 14px; }
.account-page .account-back { margin-bottom: 10px; }
.account-page .account-field input, .account-page .account-field select, .account-page .account-google { transition: border-color .18s, background-color .18s, box-shadow .18s; }
.account-page .account-field input:hover, .account-page .account-field select:hover { border-color: #aacfd2; }
.account-page .account-field input:focus, .account-page .account-field select:focus { box-shadow: 0 0 0 3px #1d90980d; background: #fff; }
.account-page .account-google:hover { background: #f7fbfb; border-color: #b5d7da; }
.account-page .account-profile-shell { max-width: 1160px; padding-block: 24px 40px; color: #2c515b; }
.account-page .account-profile-hero { background: #f0f8f8; border-radius: 20px; padding: 18px 22px; }
.account-page .account-profile-hero .account-profile-heading { background: transparent; padding: 0; border-radius: 0; }
.account-page .account-profile-hero .account-profile-heading > img { width: 60px; height: 60px; }
.account-page .account-profile-heading .account-primary { gap: 7px; min-height: 42px; font-size: .84rem; }
.account-page .account-profile-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding-top: 14px; margin: 14px 0 0; border-top: 1px solid #dceaea; }
.account-page .account-profile-metrics > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.account-page .account-profile-metrics dt { font-size: .75rem; color: #638086; font-weight: 500; }
.account-page .account-profile-metrics dt i { color: #1d9098; margin-inline-end: 5px; }
.account-page .account-profile-metrics dd { color: #1d9098; font-size: 1.4rem; font-weight: 800; margin: 0; font-variant-numeric: tabular-nums; }
.account-page .account-tabs { display: flex; gap: 5px; overflow-x: auto; max-width: 100%; padding: 5px; margin-block: 18px 22px; border-radius: 13px; background: #f3f7f7; scrollbar-width: thin; scroll-margin-top: 12px; }
.account-page .account-tabs button { display: flex; align-items: center; justify-content: center; gap: 7px; flex: 1 0 auto; border: 0; border-radius: 9px; padding: 10px 12px; background: transparent; color: #55737b; font-size: .85rem; white-space: nowrap; }
.account-page .account-tabs button[aria-selected=true] { background: #1d9098; color: #fff; font-weight: 700; box-shadow: inset 0 -3px 0 #126a71; }
.account-page .account-tabs button:hover { background: #e7f2f2; }
.account-page .account-tabs button[aria-selected=true]:hover { background: #1d9098; }
.account-page .account-tab-panel[hidden] { display: none; }
.account-page .account-tab-panel { min-width: 0; }
.account-page .account-tab-panel:focus-visible { outline: 2px solid #e8aa55; outline-offset: 5px; }
.account-page .account-profile-section { margin-bottom: 22px; min-width: 0; }
.account-page .account-section-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.account-page .account-section-heading h2 { font-size: 1.15rem; font-weight: 800; margin: 0; line-height: 1.7; }
.account-page .account-section-heading h2 i { font-size: .9em; color: #1d9098; margin-inline-end: 5px; }
.account-page .account-section-heading .account-text-button { font-size: .76rem; }
.account-page .account-learning-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.account-page .account-learning-card { min-width: 0; border: 1px solid #e3eded; border-radius: 15px; overflow: hidden; background: #fff; transition: border-color .18s, transform .18s; }
.account-page .account-learning-card:hover { border-color: #acd1d4; transform: translateY(-2px); }
.account-page .account-course-image { display: block; aspect-ratio: 16 / 8; background: #f5f9f9; overflow: hidden; }
.account-page .account-course-image img { width: 100%; height: 100%; object-fit: cover; }
.account-page .account-course-body { padding: 12px 14px; }
.account-page .account-course-body h3 { margin: 0 0 10px; font-size: .95rem; font-weight: 700; line-height: 1.75; overflow-wrap: anywhere; }
.account-page .account-course-body h3 a { color: #31565f; text-decoration: none; }
.account-page .account-course-progress { display: flex; align-items: center; gap: 10px; font-size: .75rem; color: #52767d; }
.account-page .account-course-progress progress { appearance: none; min-width: 0; flex: 1; width: 100%; height: 6px; border: 0; border-radius: 6px; overflow: hidden; background: #e6efef; accent-color: #1d9098; }
.account-page .account-course-progress progress::-webkit-progress-bar { background: #e6efef; }
.account-page .account-course-progress progress::-webkit-progress-value { background: #1d9098; }
.account-page .account-course-progress progress::-moz-progress-bar { background: #1d9098; }
.account-page .account-course-state { display: inline-block; font-size: .7rem; padding: 2px 8px; border-radius: 999px; background: #eaf5f5; color: #35717a; margin-top: 8px; }
.account-page .account-course-cta { display: flex; align-items: center; gap: 7px; color: #1b7a83; font-size: .82rem; font-weight: 600; text-decoration: none; margin-top: 10px; }
html[lang=en] .account-page .account-course-cta .fa-arrow-left { transform: rotate(180deg); }
.account-page .account-certificate-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),300px)); }
.account-page .account-certificate-grid .account-learning-card { display: flex; align-items: center; }
.account-page .account-certificate-grid .account-course-image { width: 70px; flex: 0 0 70px; aspect-ratio: 1; }
.account-page .account-certificate-grid .account-course-body { min-width: 0; }
.account-page .account-certificate-grid .account-course-body h3 { font-size: .87rem; margin-bottom: 5px; }
.account-page .account-certificate-grid .account-course-cta { margin-top: 3px; font-size: .75rem; }
.account-page .account-overview-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.account-page .account-empty { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; background: #f6fafa; border-radius: 12px; padding: 14px 16px; color: #688087; font-size: .85rem; line-height: 1.8; }
.account-page .account-empty > i { color: #4b969d; }
.account-page .account-empty a { color: #1d9098; }
.account-page .account-notification-list, .account-page .account-timeline { list-style: none; margin: 0; padding: 0; }
.account-page .account-notification-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #edf2f2; line-height: 1.8; }
.account-page .account-notification-list li > i { color: #1d9098; padding-top: 5px; }
.account-page .account-notification-list a { color: #426b73; text-decoration: none; font-size: .86rem; overflow-wrap: anywhere; }
.account-page .account-notification-list p { margin: 0; font-size: .86rem; overflow-wrap: anywhere; }
.account-page .account-timeline li { display: flex; align-items: start; gap: 12px; position: relative; padding: 10px 0; }
.account-page .account-timeline li::before { content: ''; position: absolute; inset-inline-start: 14px; top: 38px; bottom: -4px; width: 1px; background: #dceaea; }
.account-page .account-timeline li:last-child::before { display: none; }
.account-page .account-timeline li > i { display: grid; place-items: center; flex: 0 0 29px; width: 29px; height: 29px; border-radius: 50%; color: #1d9098; background: #edf7f7; font-size: 12px; }
.account-page .account-timeline p { font-size: .86rem; line-height: 1.8; margin: 0; overflow-wrap: anywhere; }
.account-page .account-timeline span { color: #789095; font-size: .73rem; }
.account-page .account-medal-card { display: flex; align-items: center; gap: 18px; width: fit-content; max-width: 100%; padding: 18px 22px; border: 1px solid #e3e4d6; border-radius: 16px; background: #fffdf6; transition: box-shadow .2s; }
.account-page .account-medal-card:hover { box-shadow: 0 0 20px #e5b35718; }
.account-page .account-medal-icon { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; color: #af7a27; background: #f7edda; font-size: 26px; }
.account-page .account-medal-icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.account-page .account-medal-card h3 { margin: 5px 0 0; font-size: 1.05rem; line-height: 1.7; }
.account-page .account-achievement-details { display: flex; flex-wrap: wrap; gap: 24px; margin: 20px 0 0; }
.account-page .account-achievement-details dt { color: #6c8389; font-size: .8rem; }
.account-page .account-achievement-details dd { color: #1d9098; font-size: 1.3rem; font-weight: 700; }
.account-page .account-group-grid { display: grid; gap: 12px; }
.account-page .account-group-card { display: flex; align-items: center; gap: 14px; padding: 14px; background: #f6fafa; border-radius: 14px; }
.account-page .account-group-card > img { width: 46px; height: 46px; border-radius: 11px; object-fit: cover; }
.account-page .account-group-card > div { flex: 1; min-width: 0; }
.account-page .account-group-card h3 { margin: 0; font-size: 1rem; line-height: 1.7; }
.account-page .account-group-card h3 a { color: #315f68; text-decoration: none; }
.account-page .account-group-card p { font-size: .8rem; color: #6d878c; margin: 4px 0 0; overflow-wrap: anywhere; }
.account-page .account-group-leave { color: #966052; background: #fff; border: 1px solid #ead9d3; border-radius: 9px; padding: 6px 10px; font-size: .75rem; }
@media(max-width:991.98px) {
 .account-page .account-learning-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .account-page .account-certificate-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),300px)); }
}
@media(max-width:767.98px) {
 .account-page .account-overview-columns { grid-template-columns: minmax(0,1fr); gap: 0; }
 .account-page .account-profile-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:575.98px) {
 .account-page .account-auth-panel { padding: 18px 16px; }
 .account-page .account-auth-shell { padding-top: 16px; padding-bottom: 24px; }
 .account-page .account-profile-shell { padding-top: 18px; }
 .account-page .account-profile-hero { padding: 16px; }
 .account-page .account-profile-heading > .account-primary { width: auto; padding: 8px 12px; font-size: .8rem; }
 .account-page .account-profile-hero .account-profile-heading > img { width: 46px; height: 46px; }
 .account-page .account-profile-heading { gap: 10px; }
 .account-page .account-profile-heading > div { flex-basis: calc(100% - 60px); }
 .account-page .account-tabs { margin-block: 14px 18px; }
 .account-page .account-tabs button { padding: 9px 11px; }
 .account-page .account-learning-grid { grid-template-columns: minmax(0,1fr); }
 .account-page .account-certificate-grid { grid-template-columns: minmax(0,1fr); max-width: 360px; }
 .account-page .account-group-card { flex-wrap: wrap; }
 .account-page .account-group-card form { margin-inline-start: auto; }
 .account-page .account-section-heading h2 { font-size: 1.05rem; }
}
@media(prefers-reduced-motion:no-preference) {
 .account-page .account-auth-panel { animation: account-enter .3s ease-out both; }
 .account-page .account-tab-panel:not([hidden]) { animation: account-enter .23s ease-out both; }
 .account-page .account-course-cta i { transition: translate .18s; }
 .account-page .account-course-cta:hover i { translate: -2px 0; }
}
@keyframes account-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media(prefers-reduced-motion:reduce) {
 .account-page *, .account-page *::before, .account-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
 .account-page .account-learning-card:hover { transform: none; }
}

@media(max-width:575.98px) {
 .account-page #account-panel-overview .account-learning-card { display: flex; align-items: center; }
 .account-page #account-panel-overview .account-course-image { flex: 0 0 72px; width: 72px; aspect-ratio: 1; }
 .account-page #account-panel-overview .account-course-body { min-width: 0; flex: 1; padding: 10px 12px; }
 .account-page #account-panel-overview .account-course-body h3 { font-size: .85rem; margin-bottom: 6px; }
 .account-page #account-panel-overview .account-course-state { margin-top: 5px; }
 .account-page #account-panel-overview .account-course-cta { font-size: .75rem; margin-top: 6px; }
}
/* Editorial auth studio: scoped away from the profile overview. */
.public-site.account-studio{background:#f6f9f9;color:#203438;min-height:100vh;display:flex;flex-direction:column}
.auth-lite-header{display:flex;align-items:center;justify-content:space-between;padding-block:18px;gap:16px}.auth-lite-header img{width:115px;max-height:52px;object-fit:contain}.auth-lite-header nav{display:flex;align-items:center;gap:20px;font-size:14px}.account-studio a{color:#24777d}.auth-header-action{border:1px solid #c5dedd;border-radius:10px;padding:9px 15px}
.auth-studio-shell{display:grid;grid-template-columns:minmax(280px,1fr) minmax(0,550px);align-items:stretch;max-width:1120px;gap:0;margin-block:20px 28px;flex:1}
.account-studio .account-auth-panel{width:100%;max-width:none;margin:0;padding:30px 34px;border:1px solid #e0e9e8;border-radius:0 20px 20px 0;background:white;box-shadow:0 12px 40px #20343805;align-self:center;animation:auth-form-enter .45s ease both}
.account-studio .account-auth-heading h1{font-size:30px;line-height:1.4;margin:5px 0 8px;color:#203438}.account-studio .account-auth-heading{margin-bottom:20px}.account-studio .account-auth-heading p{font-size:14px;line-height:1.8;margin:0}.account-studio .account-eyebrow{font-size:11px;letter-spacing:.02em;color:#24777d}.account-studio .account-form{gap:14px}.account-studio .account-section{margin:0;padding-block:10px}.account-studio .account-section legend{font-size:13px}.account-studio .account-field label{font-size:13px}.account-studio .account-fields-grid{gap:12px}.account-studio .account-switch{font-size:13px;margin-top:16px}
.auth-identity{background:linear-gradient(145deg,#e5f3ef,#d8eeee 55%,#edf6f6);border-radius:20px 0 0 20px;position:relative;overflow:hidden;min-height:540px;display:flex;align-items:flex-end;padding:38px;isolation:isolate}.auth-identity:before{content:'';position:absolute;inset:0;background-image:radial-gradient(#338e8d30 1px,transparent 1px);background-size:22px 22px;z-index:-1;mask-image:linear-gradient(black,transparent)}.auth-identity-copy h2{font-size:32px;line-height:1.65;max-width:330px;margin:12px 0}.auth-identity-copy p{font-size:14px;line-height:1.9;max-width:320px;color:#436567}.auth-identity ul{display:flex;flex-wrap:wrap;gap:10px 18px;list-style:none;padding:0;margin:22px 0 0}.auth-identity li{font-size:12px;display:flex;gap:7px;align-items:center}.auth-identity li i{color:#1d9098}.auth-orbit{position:absolute;top:45px;inset-inline-end:55px;width:190px;height:190px;display:grid;place-items:center;animation:auth-drift 12s ease-in-out infinite}.auth-orbit span{position:absolute;inset:0;border:1px solid #1d909833;border-radius:50%}.auth-orbit span:nth-child(2){inset:24px}.auth-orbit>i{font-size:44px;color:#1d9098;background:#ffffff95;border-radius:24px;padding:22px;box-shadow:0 12px 25px #1d909810}
.auth-lite-footer{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;font-size:11px;color:#607778;padding-block:15px 22px}.auth-icon-input{position:relative}.auth-icon-input>i{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);color:#809898;pointer-events:none;transition:color .18s}.account-studio .auth-icon-input input{padding-inline-start:42px}.auth-icon-input:focus-within>i{color:#1d9098}.account-studio .account-field input:focus,.account-studio .account-field select:focus{border-color:#1d9098;box-shadow:0 0 0 3px #1d909812}.account-studio .account-primary{transition:transform .18s,box-shadow .18s,background .18s}.account-studio .account-primary:hover{transform:translateY(-2px);box-shadow:0 6px 15px #1d909822}.account-studio .account-primary:active{transform:translateY(0)}
.auth-stepper,.auth-edit-tabs{display:flex;align-items:center;gap:10px;margin:0 0 18px}.auth-stepper button,.auth-edit-tabs button{border:0;background:transparent;color:#687d80;font-size:13px;padding:9px;display:flex;align-items:center;gap:7px;border-radius:9px}.auth-stepper button span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#edf2f2;transition:background .2s,color .2s}.auth-stepper button.is-active{color:#176f75;font-weight:700}.auth-stepper button.is-active span{background:#1d9098;color:white}.auth-step-line{height:1px;flex:1;background:#dbe7e6}.auth-edit-tabs{background:#eff5f4;padding:4px;border-radius:12px}.auth-edit-tabs button{flex:1;justify-content:center}.auth-edit-tabs .is-active{background:white;color:#176f75;box-shadow:0 1px 4px #2034380a;font-weight:700}[data-auth-panel]:not([hidden]){animation:auth-form-enter .24s ease both}.account-studio [hidden]{display:none!important}
.auth-photo-button{display:inline-flex!important;border:1px solid #c8dddd;padding:6px 12px;border-radius:8px;cursor:pointer;width:fit-content;color:#24777d;background:#f7fbfa}.account-studio .account-photo-field{gap:12px;padding:6px 0}.account-studio .account-photo-preview{width:48px;height:48px;transition:box-shadow .2s}.account-studio .account-photo-field:hover .account-photo-preview{box-shadow:0 0 0 4px #1d909811}.account-studio .account-photo-field .account-field{gap:4px}.account-studio .account-photo-field small{font-size:10px}.auth-photo-button:has(+input:focus-visible){outline:2px solid #1d9098;outline-offset:3px}.account-studio .account-section legend i{color:#1d9098}.account-studio .account-back{font-size:12px;margin-bottom:12px}.auth-next{margin-top:12px;width:100%}.auth-next i{margin-inline-start:8px}html[lang=en] .auth-next i{transform:scaleX(-1)}
@keyframes auth-drift{50%{transform:translateY(-9px)}}@keyframes auth-form-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(min-width:768px){html[lang=ar] .account-studio .account-auth-panel{border-radius:20px 0 0 20px}html[lang=ar] .auth-identity{border-radius:0 20px 20px 0}}
@media(max-width:767px){.auth-studio-shell{grid-template-columns:minmax(0,1fr);max-width:580px;margin-block:8px 18px}.auth-identity{min-height:0;padding:15px 20px;border-radius:16px 16px 0 0!important;align-items:center}.auth-identity-copy h2{font-size:17px;margin:0;max-width:none}.auth-identity-copy>.account-eyebrow,.auth-identity-copy>p,.auth-identity ul,.auth-orbit{display:none}.account-studio .account-auth-panel{border-radius:0 0 16px 16px!important;padding:23px 22px}.auth-lite-header{padding-block:12px}.auth-lite-header img{width:90px}.auth-lite-header nav{gap:12px;font-size:12px}.auth-header-action{padding:7px 9px}.account-studio .account-auth-heading h1{font-size:26px}.auth-lite-footer{font-size:10px;gap:8px}.account-studio .account-primary{width:100%}}
@media(max-width:389px){.account-studio .account-auth-panel{padding:20px 16px}.account-studio .account-fields-grid{grid-template-columns:1fr}.auth-studio-shell{padding-inline:12px}.auth-stepper button{font-size:12px;padding:6px}.auth-identity{padding:13px 16px}.auth-identity-copy h2{font-size:15px}}
@media(prefers-reduced-motion:reduce){.account-studio *,.account-studio *:before,.account-studio *:after{animation:none!important;transition:none!important}.account-studio .account-primary:hover{transform:none}}
.public-site.account-studio .auth-studio-shell{width:calc(100% - 48px);margin-inline:auto;flex:0 0 auto;min-height:540px;padding:0}.public-site.account-studio .auth-lite-header,.public-site.account-studio .auth-lite-footer{width:calc(100% - 48px);max-width:1120px;margin-inline:auto}.account-studio .auth-identity{min-height:540px}.account-studio .auth-identity-copy{position:relative;z-index:1}.account-studio .auth-lite-footer{margin-top:auto}.account-studio .auth-identity-copy h2{font-family:inherit}
@media(max-width:767px){.public-site.account-studio .auth-studio-shell{width:calc(100% - 24px);min-height:0}.account-studio .auth-identity{min-height:0}.public-site.account-studio .auth-lite-header,.public-site.account-studio .auth-lite-footer{width:calc(100% - 24px)}}
.account-studio .account-photo-field .auth-photo-button{padding:7px 12px;width:fit-content;align-self:flex-start;line-height:1.4;min-height:32px}.account-studio .account-photo-field input.visually-hidden{min-height:0!important;padding:0!important}
/* Desktop scale refinement for login, signup and account editing only. */
@media (min-width: 768px) {
 .public-site.auth-desktop-polish .auth-studio-shell { width: min(1120px, calc(100% - 48px)); max-width: 1120px; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); margin-inline: auto; align-items: stretch; }
 .auth-desktop-polish .account-auth-panel { align-self: stretch; padding: 26px 32px; }
 .auth-desktop-polish .account-auth-heading h1 { font-size: 34px; line-height: 1.35; }
 .auth-desktop-polish .account-auth-heading p { font-size: 15px; line-height: 1.7; }
 .auth-desktop-polish .account-eyebrow { font-size: 12px; }
 .auth-desktop-polish .account-field > label, .auth-desktop-polish .account-field > legend, .auth-desktop-polish .account-section > legend { font-size: 15px; }
 .auth-desktop-polish .account-field input:not([type=radio]):not([type=checkbox]):not([type=file]), .auth-desktop-polish .account-field select { min-height: 46px; font-size: 15px; }
 .auth-desktop-polish .account-primary, .auth-desktop-polish .account-google { min-height: 46px; font-size: 16px; width: 100%; }
 .auth-desktop-polish .account-forgot, .auth-desktop-polish .account-switch, .auth-desktop-polish .account-check, .auth-desktop-polish .account-radio-row label { font-size: 14px; }
 .auth-desktop-polish .account-forgot, .auth-desktop-polish .account-switch a { font-weight: 600; color: #176f75; }
 .auth-desktop-polish .account-field small { font-size: 12px; }
 .auth-desktop-polish .auth-stepper button, .auth-desktop-polish .auth-edit-tabs button { font-size: 15px; padding: 10px; }
 .auth-desktop-polish .auth-stepper button span { width: 30px; height: 30px; }
 .auth-desktop-polish .account-photo-preview { width: 54px; height: 54px; }
 .auth-desktop-polish .account-fields-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
 .auth-desktop-polish .account-form { gap: 12px; }
 .auth-desktop-polish .auth-lite-header { padding-block: 18px; }
 .auth-desktop-polish .auth-lite-header img { width: 142px; max-height: 64px; }
 .auth-desktop-polish .auth-lite-header nav { font-size: 15px; }
 .auth-desktop-polish .auth-identity { padding: 30px; justify-content: center; flex-direction: column; align-items: flex-start; gap: 20px; min-height: 540px; }
 .auth-desktop-polish .auth-orbit { position: relative; top: auto; inset-inline-end: auto; flex: 0 0 158px; width: 158px; height: 158px; align-self: center; }
 .auth-desktop-polish .auth-identity-copy h2 { font-size: 30px; line-height: 1.55; margin-block: 9px; }
 .auth-desktop-polish .auth-identity-copy p { font-size: 15px; line-height: 1.8; margin-bottom: 0; }
 .auth-desktop-polish .auth-identity:before { background-image: linear-gradient(45deg, transparent 49.6%, #338e8d0a 50%, transparent 50.4%), radial-gradient(#338e8d25 1px, transparent 1px); background-size: 64px 64px, 22px 22px; }
 .auth-desktop-polish .auth-identity ul { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 22px; }
 .auth-desktop-polish .auth-identity ul:before { content: ''; position: absolute; top: 15px; inset-inline: 14%; border-top: 1px dashed #1d90983d; }
 .auth-desktop-polish .auth-identity li { position: relative; flex-direction: column; gap: 7px; font-size: 13px; text-align: center; }
 .auth-desktop-polish .auth-identity li i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #e9f6f3; border: 1px solid #1d909825; }
 .auth-desktop-polish .auth-lite-header, .auth-desktop-polish .auth-lite-footer { max-width: 1120px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
 .public-site.auth-desktop-polish .auth-studio-shell { grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); }
 .auth-desktop-polish .account-auth-panel { padding: 24px; }
 .auth-desktop-polish .auth-identity { padding: 22px; }
 .auth-desktop-polish .auth-identity-copy h2 { font-size: 25px; }
 .auth-desktop-polish .auth-identity-copy p { font-size: 14px; }
 .auth-desktop-polish .account-auth-heading h1 { font-size: 30px; }
}
@media(min-width:768px){
 .auth-desktop-polish .account-panel-wide .account-auth-heading{margin-bottom:16px}
 .auth-desktop-polish .account-panel-wide .account-divider{margin-block:10px}
 .auth-desktop-polish .account-panel-wide .account-section{padding-block:4px}
 .auth-desktop-polish .account-panel-wide .account-section>legend{margin-bottom:8px}
 .auth-desktop-polish .auth-stepper,.auth-desktop-polish .auth-edit-tabs{margin-bottom:12px}
 .auth-desktop-polish .account-panel-wide .account-switch{margin-top:12px}
 .auth-desktop-polish .account-photo-field{padding-block:3px}
 .auth-desktop-polish .account-section>.account-photo-field{margin-bottom:4px}
}
