.header-account-guest{display:flex;align-items:center;gap:9px}
.header-account{position:relative;color:#172a43}
.header-account>summary{min-height:46px;max-width:255px;padding:5px 9px 5px 6px;display:flex;align-items:center;gap:9px;border:1px solid #d9e3ef;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(24,55,94,.08);cursor:pointer;list-style:none;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.header-account>summary::-webkit-details-marker{display:none}
.header-account>summary:hover{border-color:#afc5df;box-shadow:0 9px 24px rgba(24,55,94,.12);transform:translateY(-1px)}
.header-account>summary:focus-visible{outline:3px solid #f2b51d;outline-offset:3px}
.header-account[open]>summary{border-color:#8fb3dc;box-shadow:0 0 0 4px rgba(7,82,189,.09)}
.header-account__avatar{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;overflow:hidden;border-radius:10px;background:linear-gradient(145deg,#0752bd,#0783dd);color:#fff;font-size:13px;font-weight:900;box-shadow:0 5px 13px rgba(7,82,189,.22)}
.header-account__avatar img{width:100%;height:100%;object-fit:cover}
.header-account__copy{min-width:0;display:grid;gap:1px;text-align:left}
.header-account__copy strong{overflow:hidden;color:#172a43;font-size:10px;font-weight:850;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.header-account__copy small{overflow:hidden;max-width:145px;color:#718097;font-size:7px;font-weight:650;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.header-account__chevron{margin-left:2px;color:#6f8097;font-size:13px;transition:transform .18s ease}
.header-account[open] .header-account__chevron{transform:rotate(180deg)}
.header-account__menu{position:absolute;z-index:40;top:calc(100% + 10px);right:0;width:238px;padding:8px;display:grid;gap:3px;border:1px solid #d9e3ef;border-radius:13px;background:#fff;box-shadow:0 22px 55px rgba(20,47,82,.18)}
.header-account__menu:before{content:"";position:absolute;top:-6px;right:22px;width:10px;height:10px;border-left:1px solid #d9e3ef;border-top:1px solid #d9e3ef;background:#fff;transform:rotate(45deg)}
.header-account__label{padding:8px 10px 6px;color:#8995a7;font-size:7px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.header-account__menu a,.header-account__menu button{width:100%;min-height:39px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;border:0;border-radius:8px;background:transparent;color:#35465d;font:800 9px/1.2 Inter,"Segoe UI",sans-serif;cursor:pointer;transition:background .16s ease,color .16s ease}
.header-account__menu a:hover,.header-account__menu a:focus-visible,.header-account__menu button:hover,.header-account__menu button:focus-visible{outline:0;background:#edf5ff;color:#0752bd}
.header-account__menu form{margin-top:4px;padding-top:4px;border-top:1px solid #e8edf3}
.header-account__menu form button{color:#9c2f29}
.mobile-account-guest{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.25fr;gap:8px}
.mobile-account{grid-column:1/-1;padding:12px;display:grid;gap:11px;border:1px solid #dce5ef;border-radius:12px;background:linear-gradient(145deg,#f8fbff,#eef5fd)}
.mobile-account__identity{min-width:0;display:flex;align-items:center;gap:10px}
.mobile-account__identity>span:last-child{min-width:0;display:grid;gap:2px}
.mobile-account__identity strong,.mobile-account__identity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mobile-account__identity strong{color:#172a43;font-size:11px}.mobile-account__identity small{color:#718097;font-size:8px}
.mobile-account__links{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.mobile-account__links a,.mobile-account form button{min-height:40px;padding:0 11px;display:flex;align-items:center;justify-content:space-between;border:1px solid #d9e3ef;border-radius:8px;background:#fff;color:#334760;font:800 9px/1.2 Inter,"Segoe UI",sans-serif}
.mobile-account form{margin:0}.mobile-account form button{width:100%;justify-content:center;color:#9c2f29;cursor:pointer}
.mobile-account__links a:focus-visible,.mobile-account form button:focus-visible{outline:3px solid #f2b51d;outline-offset:2px}
@media(max-width:1080px){.header-account-guest{display:none}}
@media(prefers-reduced-motion:reduce){.header-account>summary,.header-account__chevron,.header-account__menu a,.header-account__menu button{transition:none}.header-account>summary:hover{transform:none}}
