/* KoraStats account dropdown - self-contained global header component. */
.kt-header__topbar-item--user .ks-user-avatar-initials{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#dce9ef;color:#17475a;font-size:12px;font-weight:800;line-height:1;letter-spacing:.02em;flex-shrink:0}
.kt-header__topbar-item--user .ksc-account-menu{width:390px!important;max-width:calc(100vw - 20px);padding:0!important;margin-top:10px!important;background:#fff;border:1px solid #e4eaf1;border-radius:12px!important;box-shadow:0 16px 46px rgba(23,42,66,.19);overflow:hidden}
.ksc-account-menu__header{padding:21px 22px 18px;background:linear-gradient(125deg,#172f4b 0%,#214c6c 100%);color:#fff}
.ksc-account-menu__identity{display:flex;align-items:center;gap:13px;min-width:0}
.ksc-account-menu__avatar{width:56px;height:56px;border:2px solid rgba(255,255,255,.35);border-radius:13px;overflow:hidden;flex-shrink:0;background:#e3eef3;display:flex;align-items:center;justify-content:center}
.ksc-account-menu__avatar img{display:block;width:100%;height:100%;object-fit:cover}
.ksc-account-menu__avatar .ks-user-avatar-initials{width:100%!important;height:100%!important;border-radius:0!important;font-size:18px!important}
.ksc-account-menu__identity-text{min-width:0;display:flex;flex-direction:column;gap:3px}
.ksc-account-menu__eyebrow{font-size:10px;letter-spacing:1.1px;font-weight:750;color:#a9c9d9}
.ksc-account-menu__name{font-size:16px;line-height:1.3;font-weight:750;color:#fff;overflow-wrap:anywhere}
.ksc-account-menu__username{font-size:11px;color:#c1d6e2;overflow-wrap:anywhere}
.ksc-account-menu__messages{display:inline-flex;align-items:center;gap:8px;margin-top:15px;padding:8px 11px;color:#dcf5f3!important;text-decoration:none!important;font-size:12px;font-weight:650;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:8px}
.ksc-account-menu__messages:hover,.ksc-account-menu__messages:focus{background:rgba(255,255,255,.19);color:#fff!important}
.ksc-account-menu__messages i{font-size:14px}
.ksc-account-menu__body{padding:16px 12px 15px;max-height:min(65vh,530px);overflow-y:auto}
.ksc-account-menu__section-label{display:block;padding:0 10px;font-size:10px;font-weight:800;letter-spacing:1px;color:#77899d}
.ksc-account-menu__link{display:flex;align-items:center;gap:12px;padding:11px 10px;border-radius:9px;text-decoration:none!important;color:#263c52!important;transition:background .16s ease;min-width:0}
.ksc-account-menu__link:hover,.ksc-account-menu__link:focus{background:#eef8f7;color:#0b7775!important}
.ksc-account-menu__icon,.ksc-account-menu__usage-icon{display:flex;align-items:center;justify-content:center;width:37px;height:37px;flex:0 0 37px;background:#edf7f6;border-radius:9px;color:#0b7775;font-size:16px}
.ksc-account-menu__link-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.ksc-account-menu__link-text strong{font-size:12.5px;line-height:1.4;font-weight:700;color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ksc-account-menu__link-text small{font-size:11px;color:#8292a5;line-height:1.4}
.ksc-account-menu__arrow{font-size:14px;color:#a5b2c0;margin-left:auto}
.ksc-account-menu__section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:15px 0 7px;padding-top:13px;border-top:1px solid #e9eef2}
.ksc-account-menu__details-link{font-size:11px;color:#0b7775!important;text-decoration:none!important;font-weight:700;padding-right:10px;white-space:nowrap}
.ksc-account-menu__details-link:hover{text-decoration:underline!important}
.ksc-account-menu__usage{display:flex;align-items:center;gap:10px;padding:10px;border-radius:8px;min-width:0}
.ksc-account-menu__usage+.ksc-account-menu__usage{border-top:1px solid #f0f3f7;border-radius:0}
.ksc-account-menu__usage-icon{width:34px;height:34px;flex-basis:34px;font-size:14px;background:#f1f5fa;color:#3c617c}
.ksc-account-menu__usage-info{display:flex;flex-direction:column;min-width:0;flex:1;gap:2px}
.ksc-account-menu__usage-info span{color:#2c4158;font-size:12px;font-weight:700}
.ksc-account-menu__usage-info small{font-size:10.5px;color:#8998a9}
.ksc-account-menu__usage-count{color:#173c57;font-size:13px;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}
.ksc-account-menu__usage-count small{font-size:10px;color:#8493a5;font-weight:500}
.ksc-account-menu__footer{padding:13px 21px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e9eef3;background:#f8fafc}
.ksc-account-menu__footer-note{font-size:11px;color:#8493a5;display:flex;align-items:center;gap:6px}
.ksc-account-menu__signout{display:inline-flex;align-items:center;gap:7px;border:1px solid #d9e4ed;border-radius:7px;padding:8px 13px;background:#fff;color:#3b536a!important;text-decoration:none!important;font-size:12px;font-weight:700}
.ksc-account-menu__signout:hover,.ksc-account-menu__signout:focus{border-color:#cc7373;background:#fff7f7;color:#a53d3d!important}
@media(max-width:479.98px){.kt-header__topbar-item--user .ksc-account-menu{width:min(370px,calc(100vw - 18px))!important}.ksc-account-menu__header{padding:16px}.ksc-account-menu__body{max-height:60vh;padding:12px 9px}.ksc-account-menu__footer{padding:12px 15px}}
@media(prefers-reduced-motion:reduce){.ksc-account-menu__link{transition:none}}
