.account-page{max-width:1180px;margin:0 auto;padding:24px 0 64px}.account-nav{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid var(--border,#d9dfd4);padding:0 0 16px;margin:0 0 32px}.account-nav a{padding:10px 16px;border-radius:10px;text-decoration:none;color:inherit;font-weight:600;font-size:14px}.account-nav a[aria-current=page]{background:var(--accent,var(--accent));color:white}.account-nav a:hover{background:var(--surface,#edf0e8);color:var(--text,var(--ink))}.account-heading{display:flex;gap:24px;align-items:center;margin:20px 0 36px}.account-heading h1{font-size:clamp(30px,4vw,44px);margin:0 0 8px;line-height:1.15}.account-heading p{margin:6px 0;color:var(--muted,var(--muted))}.account-avatar{width:88px;height:88px;flex:0 0 88px;display:grid;place-items:center;background:var(--surface-soft);border-radius:50%;overflow:hidden;font-size:32px;color:var(--accent)}.account-avatar img{width:100%;height:100%;object-fit:cover}.account-settings-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.account-panel,.account-page>.content-card{border:1px solid var(--border,#dce1d7);background:var(--card,#fff);padding:28px;border-radius:18px;margin-bottom:24px}.account-panel h2{font-size:22px;margin:0 0 12px}.account-panel p{color:var(--muted,var(--muted));line-height:1.6}.account-form{display:grid;gap:18px;margin-top:24px}.account-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.account-page label{display:grid;gap:7px;font-weight:600;font-size:14px}.account-page input:not([type=checkbox]),.account-page select{width:100%;min-width:0}.account-page input[type=file]{padding:12px;background:var(--surface-soft);border-radius:10px;font-weight:400}.account-page input[type=checkbox]{width:18px;height:18px}.account-page .account-check{display:flex;align-items:center;gap:10px}.account-form small{color:var(--muted,var(--muted));line-height:1.5}.account-form .button{justify-self:start}.account-section-heading{display:flex;gap:20px;justify-content:space-between;align-items:center;margin-bottom:24px}.account-learning-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.account-learning-preview .content-card{margin:0}.account-alert{padding:16px 20px;border:1px solid #bbceae;border-radius:12px;background:#eef4e7;margin-bottom:24px}.account-filters{display:flex;gap:16px;align-items:end;padding:20px;background:var(--card,#fff);border:1px solid var(--border,#dce1d7);border-radius:14px;margin:24px 0}.account-filters label:first-child{flex:1}.account-table-wrap{overflow:auto;background:var(--card,#fff);border:1px solid var(--border,#dce1d7);border-radius:14px}.account-table{width:100%;border-collapse:collapse;text-align:left}.account-table th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;background:var(--surface-soft)}.account-table th,.account-table td{padding:18px;border-bottom:1px solid var(--line)}.account-table small{display:block;margin-top:6px;color:var(--muted)}.account-badge{display:inline-block;padding:5px 9px;background:var(--surface-soft);color:var(--muted);border-radius:6px;font-size:13px;font-weight:600}.account-pagination{display:flex;justify-content:space-between;gap:20px;margin:24px 0}.account-empty{text-align:center;padding:52px 24px;margin-bottom:24px;border:1px solid var(--border,#dce1d7);border-radius:18px;background:var(--card,#fff)}.account-empty h2{font-size:27px;margin:16px 0 12px}.account-empty p{max-width:560px;margin:0 auto 24px;line-height:1.6;color:var(--muted)}.account-empty-icon{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--surface-soft);color:var(--muted);font-size:24px}.account-plan-header{display:flex;justify-content:space-between;align-items:start;gap:20px}.account-plan-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.account-plan-stats div{padding:16px;background:var(--surface-soft);border-radius:10px}.account-plan-stats dt{font-size:13px;color:var(--muted);margin-bottom:8px}.account-plan-stats dd{font-weight:600;margin:0}.account-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.account-actions form{margin:0}.account-panel details{margin-top:20px}.account-panel summary{cursor:pointer;font-weight:600}.account-panel details p{font-size:14px}@media(max-width:760px){.account-page{padding:16px 0 40px}.account-settings-grid,.account-learning-preview{grid-template-columns:1fr}.account-panel,.account-page>.content-card{padding:20px}.account-heading{align-items:flex-start;gap:16px}.account-avatar{width:64px;height:64px;flex-basis:64px}.account-heading p{overflow-wrap:anywhere;font-size:14px}.account-nav{gap:3px}.account-nav a{padding:10px;font-size:13px}.account-filters{flex-wrap:wrap}.account-filters label{flex:1;min-width:150px}.account-filters label:first-child{flex-basis:100%}.account-plan-stats{grid-template-columns:1fr}.account-section-heading{align-items:start;flex-direction:column}.account-table{min-width:640px}.account-form-row{grid-template-columns:1fr}}

.account-page input:not([type=checkbox]):not([type=file]),.account-page select{display:block;border:1px solid var(--line);background:#fff;color:var(--text,#28332b);border-radius:10px;padding:12px 14px;min-height:46px;font-weight:400}.account-page input:focus-visible,.account-page select:focus-visible{outline:2px solid var(--accent,var(--accent));outline-offset:2px}.account-page input[readonly]{background:var(--surface-soft);color:var(--muted)}.account-empty .account-actions{justify-content:center}.account-settings-grid{align-items:start}

.account-page .profile-checkbox{display:flex;align-items:center;gap:12px}.account-page #profile-preferences form{display:grid;gap:16px}.account-page #profile-preferences button{justify-self:start}

/* Account workspace: shared by profile, library, orders and billing. */
.account-page.profile-page{max-width:1180px;display:block;padding-top:24px}
.account-nav{gap:8px;padding:6px;background:var(--surface-soft,#f5f4fa);border:1px solid var(--line,#e5e3ed);border-radius:14px;margin-bottom:32px}
.account-nav a{display:inline-flex;align-items:center;gap:9px;min-height:46px;flex:1;justify-content:center;border-radius:9px;font-size:14px;line-height:1.3;padding:10px 12px}
.account-nav a[aria-current=page],.account-nav a[aria-current=page]:hover{background:var(--card,#fff);color:var(--accent,#6045a7);box-shadow:0 1px 5px #18213b12}
.account-icon{flex:none}
.account-heading{margin:0 0 32px}
.profile-heading{padding:24px 0;border-bottom:1px solid var(--line,#e5e3ed);gap:18px}
.profile-heading h1{font-size:clamp(26px,3vw,36px);letter-spacing:-.035em}
.profile-heading>div:nth-child(2){min-width:0;flex:1}
.profile-heading p{font-size:14px;overflow-wrap:anywhere}
.profile-heading .eyebrow{font-size:11px}
.profile-heading .account-avatar{width:68px;height:68px;flex-basis:68px;font-size:26px}
.profile-settings-link{white-space:nowrap}
.account-page .button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;font-size:14px;line-height:1.4;border-radius:9px;padding:12px 18px;box-shadow:none}
.account-page .button:not(.button-secondary){background:var(--accent,#6045a7)}
.account-page a:focus-visible,.account-nav a:focus-visible,.learning-card a:focus-visible,.learning-card summary:focus-visible{outline:3px solid var(--accent,#6045a7);outline-offset:4px}
.account-section-heading{align-items:center;margin-bottom:20px;gap:16px}
.account-section-heading h2{margin:0;font-size:24px;letter-spacing:-.025em;line-height:1.3}
.account-section-heading .eyebrow{margin:0 0 8px;font-size:11px}
.account-text-link{display:inline-flex;gap:8px;align-items:center;min-height:44px;font-size:14px;font-weight:600}
.profile-learning{margin-bottom:40px}
.account-learning-preview{gap:20px;align-items:stretch}
.profile-resume{display:flex;gap:24px;align-items:center;justify-content:space-between;padding:22px 24px;border:1px solid var(--line,#e5e3ed);border-left:4px solid var(--accent,#6045a7);border-radius:12px;background:var(--surface-soft,#f5f4fa);margin-bottom:20px}
.profile-resume>div{min-width:0}
.profile-resume h3{font-size:20px;line-height:1.35;margin:6px 0}
.profile-resume p{font-size:14px;color:var(--muted,#677080);margin:0}
.profile-resume>.button{flex-shrink:0}
.profile-settings{scroll-margin-top:110px;border-top:1px solid var(--line,#e5e3ed);padding-top:32px}
.profile-settings .account-panel{border-radius:14px;padding:24px;margin:0}
.profile-settings .account-settings-grid{align-items:stretch;gap:20px;margin-bottom:20px}
.profile-settings .account-panel h2{font-size:18px;letter-spacing:-.015em}
.profile-settings .account-panel p{font-size:14px;margin:8px 0}
.profile-settings .account-form{gap:16px;margin-top:20px}
.profile-settings>.account-panel,.profile-settings>#profile-preferences{margin-top:20px}
.profile-settings #profile-preferences{padding:24px;border:1px solid var(--line,#e5e3ed);border-radius:14px;background:var(--card,#fff)}
.profile-settings #profile-preferences h2{font-size:18px;margin-bottom:16px}
.account-page .account-table th{white-space:nowrap;font-size:11px}
.account-page .account-table td{font-size:14px}
.account-page .account-badge{border-radius:99px}
.account-page .account-empty{border-style:dashed;box-shadow:none}
.account-page .account-empty h3{font-size:20px;margin:16px 0}
.account-page .account-plan-stats{gap:12px}
.account-page .account-plan-stats div{border:1px solid var(--line,#e5e3ed);background:var(--surface-soft,#f5f4fa)}
/* Keep library cards identical wherever they are rendered. */
.account-learning-preview .learning-card,.learning-library-page .learning-card{display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden;border:1px solid var(--line,#e5e3ed);border-radius:14px;background:var(--card,#fff);min-width:0;margin:0;box-shadow:0 3px 12px #1b213b04}
.learning-card-cover{aspect-ratio:16/9;background:var(--surface-soft,#f5f4fa);overflow:hidden;border-bottom:1px solid var(--line,#e5e3ed)}
.learning-card-cover img{display:block;width:100%;height:100%;object-fit:cover}
.learning-card-placeholder{height:100%;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--accent,#6045a7);background:linear-gradient(135deg,var(--surface-soft,#f5f4fa),var(--card,#fff));font-size:17px;letter-spacing:-.03em}
.learning-card-placeholder .account-icon{width:32px;height:32px}
.learning-card-body{display:flex;flex-direction:column;gap:16px;flex:1;padding:20px;min-width:0}
.account-learning-preview .learning-card-meta,.learning-library-page .learning-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.learning-card-meta .eyebrow{font-size:10px;margin:0;letter-spacing:.12em}
.account-learning-preview .learning-card-status,.learning-library-page .learning-card-status{padding:4px 8px;font-size:11px;line-height:1.4;border-radius:99px;background:var(--surface-soft,#f5f4fa);color:var(--muted,#677080)}
.learning-card-status[data-progress=completed]{background:#edf6f0;color:#256244}
.learning-card-title{font-size:18px;font-weight:600;line-height:1.45;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}
.learning-card-title a{text-decoration:none;color:inherit}
.account-learning-preview .learning-card-progress,.learning-library-page .learning-card-progress{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;font-size:12px;color:var(--muted,#677080);margin-top:auto;padding-top:4px}
.learning-card-progress p{margin:0;line-height:1.5}
.account-learning-preview .learning-card progress,.learning-library-page .learning-card progress{grid-column:1/-1;display:block;width:100%;height:5px;appearance:none;-webkit-appearance:none;border:0;overflow:hidden;border-radius:99px;background:var(--surface-soft,#efedf5)}
.learning-card progress::-webkit-progress-bar{background:var(--surface-soft,#efedf5);border-radius:99px}
.learning-card progress::-webkit-progress-value{background:var(--accent,#6045a7);border-radius:99px}
.learning-card progress::-moz-progress-bar{background:var(--accent,#6045a7);border-radius:99px}
.account-learning-preview .learning-card-actions,.learning-library-page .learning-card-actions{display:flex;flex-direction:column;gap:4px;align-items:stretch;margin-top:0;font-size:13px}
.account-learning-preview .learning-card-actions .button,.learning-library-page .learning-card-actions .button{width:100%;align-self:stretch;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:11px 14px;font-size:13px;line-height:1.4;border-radius:8px;box-shadow:none;background:var(--accent,#6045a7)}
.account-learning-preview .learning-card-outline,.learning-library-page .learning-card-actions>.learning-card-outline{display:flex;align-items:center;justify-content:center;text-decoration:none;min-height:40px;padding:6px;color:var(--muted,#677080)}
.learning-card-outline:hover{text-decoration:underline}
.learning-language-choices{margin:0}
.learning-language-choices summary{cursor:pointer;min-height:44px;padding:12px 14px;border:1px solid var(--line,#e5e3ed);border-radius:8px;font-size:13px;font-weight:600}
.learning-language-choices>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.learning-language-choices a{padding:10px;min-height:44px;border:1px solid var(--line,#e5e3ed);border-radius:8px;font-size:13px}
@media(max-width:1000px){.account-learning-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .account-page.profile-page{padding-top:12px}.account-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-bottom:20px}.account-nav a{justify-content:flex-start;font-size:12px;padding:10px;min-width:0}.account-nav .account-icon{width:18px;height:18px}
 .profile-heading{flex-wrap:wrap;padding:8px 0 24px;margin-bottom:24px;gap:14px}.profile-heading h1{font-size:26px}.profile-heading .account-avatar{width:54px;height:54px;flex-basis:54px;font-size:22px}.profile-heading .profile-settings-link{margin-left:68px}
 .account-section-heading{align-items:flex-start;flex-direction:column;gap:6px}.account-section-heading h2{font-size:22px}.account-text-link{font-size:13px}
 .profile-resume{display:block;padding:18px}.profile-resume h3{font-size:18px}.profile-resume>.button{margin-top:16px;width:100%}
 .profile-settings .account-settings-grid{grid-template-columns:1fr}.profile-settings .account-panel,.profile-settings #profile-preferences{padding:20px}
}
@media(max-width:540px){.account-learning-preview{grid-template-columns:1fr;gap:16px}.account-learning-preview>.learning-card:last-child:nth-child(3){display:flex}.learning-card-cover{aspect-ratio:2/1}.learning-card-body{padding:18px}.learning-card-title{font-size:18px}.profile-learning{margin-bottom:28px}}

/* Compact account workspace, revision 2. */
body .account-page.profile-page{display:grid;grid-template-columns:190px minmax(0,1fr);column-gap:40px;row-gap:24px;max-width:1280px;padding:32px 0 56px;align-items:start}
body .profile-page> :not(.account-nav){grid-column:2;min-width:0}
body .profile-page>.account-nav{grid-column:1;grid-row:1 / span 3;display:flex;flex-direction:column;position:sticky;top:24px;margin:0;padding:8px;border:0;border-right:1px solid var(--line,#e4e4eb);border-radius:0;background:none;gap:6px;align-items:stretch}
body .profile-page>.account-nav a{flex:none;justify-content:flex-start;gap:10px;padding:12px 10px;font-size:13px;line-height:1.4;min-height:46px;box-shadow:none}
body .profile-page>.account-nav a[aria-current=page]{background:var(--surface-soft,#f1edf9);color:var(--accent,#6045a7)}
body .profile-page .profile-heading{padding:0 0 22px;margin:0;gap:16px;align-items:center}
body .profile-page .profile-heading h1{font-size:28px;margin:0 0 4px;line-height:1.2}
body .profile-page .profile-heading .eyebrow{display:none}
body .profile-page .profile-heading p{font-size:12px;margin:0;line-height:1.6}
body .profile-page .profile-heading .account-avatar{width:48px;height:48px;flex-basis:48px;font-size:20px}
body .profile-page .profile-heading .profile-settings-link{font-size:12px;min-height:40px;padding:9px 12px}
body .profile-page .profile-learning{margin:0}
body .profile-page .account-section-heading{margin-bottom:16px}
body .profile-page .account-section-heading .eyebrow{display:none}
body .profile-page .account-section-heading h2{font-size:21px}
body .profile-page .account-text-link{font-size:12px;max-width:230px;text-align:right;line-height:1.5}
body .profile-page .profile-resume{padding:18px 20px;margin:0 0 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--surface-soft,#f3f0fa);border:1px solid var(--line,#e4e4eb);border-radius:12px}
body .profile-page .profile-resume .eyebrow{font-size:10px;letter-spacing:.1em;margin-bottom:6px}
body .profile-page .profile-resume h3{font-size:17px;line-height:1.4;margin:0 0 5px}
body .profile-page .profile-resume p{font-size:12px}
body .profile-page .profile-resume .button{font-size:12px;padding:11px 14px;white-space:nowrap}
body .profile-page .account-learning-preview{gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}
body .profile-page .learning-card{border-radius:12px;box-shadow:none}
body .profile-page .learning-card-cover{aspect-ratio:16/10}
body .profile-page .learning-card-body{padding:16px;gap:14px}
body .profile-page .learning-card-title{font-size:16px;line-height:1.45}
body .profile-page .learning-card-actions{gap:8px}
body .profile-page .learning-card-outline{min-height:36px}
body .profile-page .profile-settings{padding-top:26px;margin-top:8px}
@media(max-width:1100px) and (min-width:761px){body .account-page.profile-page{grid-template-columns:165px minmax(0,1fr);column-gap:24px}body .profile-page .account-learning-preview{grid-template-columns:repeat(2,minmax(0,1fr))}body .profile-page .profile-resume{flex-wrap:wrap}body .profile-page .profile-resume .button{margin:0}}
@media(max-width:760px){body .account-page.profile-page{display:block;padding:16px 0 40px}body .profile-page>.account-nav{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line,#e4e4eb);border-radius:12px;padding:5px;margin-bottom:24px}body .profile-page .profile-heading{flex-wrap:wrap;margin-bottom:24px;gap:12px}body .profile-page .profile-heading .profile-settings-link{margin:4px 0 0 60px}body .profile-page .profile-resume{display:block}body .profile-page .profile-resume .button{margin-top:14px;width:100%}body .profile-page .account-learning-preview{grid-template-columns:1fr}body .profile-page .account-text-link{text-align:left;max-width:none}body .profile-page .profile-settings{margin-top:30px}body .profile-page .learning-card-cover{aspect-ratio:2/1}}
