/* MODERA - consistent light home tiles and always-visible, accessible compact account controls */
.top .head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;min-width:0}
.top .brandWrap{min-width:0;flex:1 1 auto;gap:7px!important}
.top .brandWrap>div{min-width:0}
.top .brandWrap .sub{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.top .right{display:flex!important;flex:0 0 auto;gap:0!important;min-width:0}
.top .right>#guestLoginButton,.top .right>.profile,.top .right>.moderaQuickSettings,.top .right>.headerLogout{display:none!important}
.moderaHeaderActions{display:flex;align-items:center;gap:4px;position:relative;flex:none}
.moderaHeaderIcon{width:38px;height:38px;min-height:38px;display:flex;align-items:center;justify-content:center;position:relative;border-radius:11px;border:1px solid rgba(241,222,175,.27);background:rgba(255,255,255,.07);color:#f8fafc;cursor:pointer;padding:0;appearance:none}
.moderaHeaderIcon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.moderaHeaderIcon:hover,.moderaHeaderIcon:focus-visible{background:rgba(218,171,73,.19);outline:2px solid #d8a43d;outline-offset:1px}
.moderaHeaderIcon[aria-expanded=true]{background:rgba(218,171,73,.19);border-color:#e2be67}
.moderaAccountMenu{position:absolute;z-index:400;top:calc(100% + 12px);right:0;width:min(265px,calc(100vw - 20px));padding:12px;border-radius:13px;background:#fff;color:#22334b;border:1px solid #d8e1e9;box-shadow:0 18px 45px #0f172a40;display:flex;flex-direction:column;gap:8px}
.moderaAccountMenu[hidden]{display:none!important}
.moderaAccountMenu strong{font-size:13px}.moderaAccountMenu p{font-size:11px;margin:0;color:#64748b;line-height:1.4}
.moderaAccountMenu button{min-height:38px;padding:8px 11px;border-radius:9px;border:1px solid #cbd5e1;color:#1c3655;background:#f8fafc;text-align:left;font-weight:750;cursor:pointer}
.moderaAccountMenu button.primary{color:#fff;background:#203f5b;border-color:#203f5b}
.moderaGuestHint{display:block;margin:9px 0;padding:9px 12px;font-size:12px;color:#475569;background:#f6f9fd;border:1px solid #e2e8f0;border-radius:10px}
@media(max-width:600px){
 .top{padding:7px 8px!important}
 .top .logo{width:35px!important;height:35px!important}
 .top .brand{font-size:15px!important}
 .top .sub{font-size:7px!important;max-width:150px!important}
 .moderaHeaderActions{gap:3px}
 .moderaHeaderIcon{width:34px;height:36px;min-height:36px;border-radius:9px}
 .moderaHeaderIcon svg{width:19px;height:19px}
}
@media(max-width:375px){
 .top .brand{font-size:14px!important}.top .sub{max-width:110px!important}
 .moderaHeaderIcon{width:31px;height:34px;min-height:34px}
 .moderaHeaderIcon svg{width:18px;height:18px}
}
