[hidden] { display: none !important; }
html[data-pathway-protected="true"]:not([data-pathway-authenticated="true"]) main { visibility: hidden !important; }
.pathway-account-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; height: auto !important; flex-wrap: wrap; padding-block: 14px !important; box-sizing: border-box; }
.pathway-account-topbar { padding: 14px clamp(20px,6vw,92px); background: #fff; border-bottom: 1px solid #e2e8f1; }
.pathway-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex-wrap: wrap; min-width: 0; margin-left: auto; }
.pathway-user-menu { position: relative; flex: 0 0 44px; font-family: Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; font-size: 14px; line-height: 1.4; letter-spacing: 0; }
.pathway-user-trigger { display: grid; place-items: center; width: 44px; height: 44px; min-width: 44px; padding: 0; margin: 0; border: 1px solid #cbd9ee; border-radius: 50%; background: #eaf0ff; color: #234ea0; cursor: pointer; font: 750 18px/1 system-ui; box-shadow: 0 2px 6px #173b7610; }
.pathway-user-trigger:hover { border-color: #2962e8; background: #dfeaff; }
.pathway-user-avatar { display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; }
.pathway-user-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pathway-user-dropdown { position: absolute; z-index: 1000; right: 0; top: calc(100% + 11px); width: min(284px,calc(100vw - 32px)); max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px); overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box; padding: 8px; border: 1px solid #dbe4f1; border-radius: 15px; background: #fff; color: #15233c; box-shadow: 0 18px 45px #15233c20; text-align: left; }
.pathway-menu-identity { padding: 12px 11px 16px; }
.pathway-menu-identity strong { display: block; font-size: 15px; font-weight: 750; overflow-wrap: anywhere; }
.pathway-menu-identity > span { display: block; margin-top: 4px; color: #62708a; font-size: 12px; overflow-wrap: anywhere; }
.pathway-menu-item { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 44px; margin: 0; padding: 10px 11px; border: 0; border-radius: 8px; background: transparent; color: #253755; text-align: left; text-decoration: none; font: 650 14px/1.4 system-ui; cursor: pointer; box-sizing: border-box; }
.pathway-menu-item:hover,.pathway-menu-item:focus { color: #1648c1; background: #f0f5ff; }
.pathway-menu-item svg { width: 20px; height: 20px; flex: 0 0 20px; }
.pathway-menu-item span { overflow-wrap: anywhere; }
.pathway-menu-separator { height: 1px; margin: 7px 9px; background: #e2e8f1; }
.pathway-menu-logout { color: #a04949; }
.pathway-menu-logout:hover { color: #8d303a; background: #fff2f3; }
.pathway-menu-message { margin: 4px 11px; font-size: 12px; color: #a83d47; overflow-wrap: anywhere; }
.pathway-menu-message:empty { display: none; }
.pathway-user-trigger:focus-visible,.pathway-menu-item:focus-visible { outline: 3px solid #96b7ff; outline-offset: 2px; }
.pathway-auth-status { width: min(560px,calc(100% - 40px)); margin: 28px auto; color: #62708a; font: 15px/1.5 system-ui; text-align: center; }
.pathway-auth-status button,.pathway-auth-status a { display: inline-block; padding: 10px 16px; border: 1px solid #ccd6e4; border-radius: 8px; background: #fff; color: #1648c1; font: 650 14px system-ui; text-decoration: none; cursor: pointer; }
html[data-pathway-theme="dark"] { color-scheme: dark; --ink: #e5edf9; --muted: #a4b3ca; --line: #33435c; --blue: #88aaff; --blue-dark: #b2c9ff; }
html[data-pathway-theme="dark"] body { color: #e5edf9 !important; background: #111b2c !important; }
html[data-pathway-theme="dark"] :is(header,footer,.pathway-home-bar,.shared-footer,.site-footer) { color: #e5edf9 !important; background: #182438 !important; border-color: #33435c !important; }
html[data-pathway-theme="dark"] :is(.card,.course-card,.creator,.deleted-box,.empty,.panel,.folder,.word-card,.item-card,.exercise-card,.account-panel,.pathway-user-dropdown,.ad-slot,.option,.action,.question,.choice,.entry,.folder-form,.exercise,.item) { color: #e5edf9 !important; background: #1c2a40 !important; border-color: #33435c !important; box-shadow: none !important; }
html[data-pathway-theme="dark"] :is(input,select,textarea) { color: #e5edf9 !important; background: #172438 !important; border-color: #455773 !important; }
html[data-pathway-theme="dark"] :is(a[data-pathway-home],.brand,h1,h2,h3,label,.course,.open-deleted-course,.pathway-menu-item) { color: #e5edf9 !important; }
html[data-pathway-theme="dark"] :is(.intro,.lead,.hint,.user,.pathway-menu-identity > span,.pathway-auth-status,.account-hint,.account-intro) { color: #a4b3ca !important; }
html[data-pathway-theme="dark"] a { color: #abc4ff; }
html[data-pathway-theme="dark"] .pathway-user-trigger { color: #c5d7ff; background: #273e65; border-color: #526c97; }
html[data-pathway-theme="dark"] .pathway-menu-item:hover,html[data-pathway-theme="dark"] .pathway-menu-item:focus { background: #2a3d5d; color: #c5d7ff !important; }
html[data-pathway-theme="dark"] .pathway-menu-separator { background: #33435c; }
html[data-pathway-theme="dark"] :is(.pathway-menu-logout,.account-status[role="alert"]) { color: #ffadb4 !important; }
html[data-pathway-theme="dark"] :is(.account-button,.create,.login,.start,.recover-deleted-course) { color: #fff !important; background: #2962e8 !important; }
html[data-pathway-theme="dark"] :is(.tag,.number,.symbol,.icon) { color: #c5d7ff !important; background: #273e65 !important; border-color: #526c97 !important; }
html[data-pathway-theme="dark"] .choice.correct { color: #b3f0cf !important; background: #173d30 !important; border-color: #58b18a !important; }
html[data-pathway-theme="dark"] .choice.incorrect { color: #ffd0d5 !important; background: #492631 !important; border-color: #d77788 !important; }
@media(max-width:530px) {
  .pathway-account-header { padding-inline: 16px !important; gap: 9px; }
  .pathway-header-actions { gap: 8px; }
  .pathway-header-actions select.language { max-width: 100px; padding-inline: 9px; }
  .pathway-user-menu { flex-basis: 42px; }
  .pathway-user-trigger { width: 42px; height: 42px; min-width: 42px; }
}
