.site-header .header-account { position: relative; }
.site-header .header-account::after {
content: "";
position: absolute;
right: 4px;
bottom: 9px;
width: 5px;
height: 5px;
border-right: 1.5px solid currentColor;
border-bottom: 1.5px solid currentColor;
transform: rotate(45deg);
opacity: .55;
pointer-events: none;
transition: transform .18s ease, opacity .18s ease;
}
.site-header .header-account.is-open { background: var(--muted, #f1f5f9); color: var(--green, #2563eb); }
.site-header .header-account.is-open::after { transform: rotate(225deg); opacity: .9; }
.og-acct {
position: fixed;
top: 0;
left: 0;
z-index: 1180;
width: min(340px, calc(100vw - 32px));
max-height: calc(100dvh - 96px);
overflow-y: auto;
overscroll-behavior: contain;
}
.og-acct[hidden] { display: none; }
.og-acct__panel {
background: #fff;
border: 1px solid var(--border, #e2e8f0);
border-radius: var(--radius-lg, 16px);
box-shadow: var(--shadow-card-hover, 0 2px 4px rgb(15 23 42/.08),0 8px 24px rgb(15 23 42/.12));
overflow: hidden;
transform-origin: top right;
animation: og-acct-in .18s ease;
}
@keyframes og-acct-in {
from { opacity: 0; transform: translateY(-8px) scale(.98); }
to   { opacity: 1; transform: translateY(0) scale(1); }
}
.og-acct__panel:focus { outline: none; }
.og-acct__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-12, 12px);
padding: var(--space-12, 12px) var(--space-16, 16px);
border-bottom: 1px solid var(--border, #e2e8f0);
background: var(--muted, #f1f5f9);
}
.og-acct__headings { display: flex; flex-direction: column; gap: var(--space-2, 2px); min-width: 0; }
.og-acct__title {
font-family: var(--font-display, 'Space Grotesk','Segoe UI',sans-serif);
font-weight: 700;
font-size: 16px;
line-height: 1.3;
color: var(--slate-dark, #1e293b);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.og-acct__sub {
font-size: 13px;
line-height: 1.4;
color: var(--slate-500, #64748b);
overflow-wrap: anywhere;
}
.og-acct__close {
flex: none;
width: var(--tap-min, 44px);
height: var(--tap-min, 44px);
margin-right: -8px;
background: transparent;
border: 0;
border-radius: var(--radius-8, 8px);
color: var(--slate-500, #64748b);
display: inline-flex;
align-items: center;
justify-content: center;
transition: background .2s, color .2s;
}
.og-acct__close:hover { background: #fff; color: var(--slate-dark, #1e293b); }
.og-acct__close svg { display: block; }
.og-acct__body { padding: var(--space-12, 12px); }
.og-acct__panel .btn-primary.og-acct__cta {
display: flex;
width: 100%;
min-height: 48px;
margin-bottom: var(--space-12, 12px);
font-size: 15px;
}
.og-acct__list { list-style: none; margin: 0; padding: 0; }
.og-acct__item + .og-acct__item { border-top: 1px solid var(--border, #e2e8f0); }
.og-acct__panel .og-acct__row {
display: flex;
align-items: center;
gap: var(--space-12, 12px);
padding: 10px;
border-radius: var(--radius, 12px);
color: var(--fg, #0f172a);
text-decoration: none;
transition: background .15s ease, color .15s ease;
}
.og-acct__panel .og-acct__row:hover { background: var(--muted, #f1f5f9); }
.og-acct__panel .og-acct__row:hover .og-acct__row-title { color: var(--green, #2563eb); }
.og-acct__panel .og-acct__row:hover .og-acct__row-arrow { color: var(--green, #2563eb); transform: translateX(2px); }
.og-acct__row-icon {
flex: none;
width: 36px;
height: 36px;
border-radius: var(--radius-8, 8px);
background: var(--brand-a1, rgb(37 99 235/.06));
color: var(--green, #2563eb);
display: inline-flex;
align-items: center;
justify-content: center;
}
.og-acct__row-icon svg { display: block; }
.og-acct__row-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--space-2, 2px); }
.og-acct__row-title {
font-size: 15px;
font-weight: var(--fw-semibold, 600);
line-height: 1.35;
color: var(--slate-dark, #1e293b);
transition: color .15s ease;
}
.og-acct__row-desc {
font-size: 12.5px;
line-height: 1.35;
color: var(--slate-500, #64748b);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.og-acct__row-arrow {
flex: none;
color: var(--slate-300, #cbd5e1);
display: inline-flex;
transition: color .15s ease, transform .15s ease;
}
.og-acct__row-arrow svg { display: block; }
.og-acct__foot {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: var(--space-8, 8px);
padding: var(--space-12, 12px) var(--space-16, 16px);
border-top: 1px solid var(--border, #e2e8f0);
background: var(--muted, #f1f5f9);
font-size: 14px;
}
.og-acct__foot-text { color: var(--slate-600, #475569); }
.og-acct__panel .og-acct__foot-link {
color: var(--green, #2563eb);
font-weight: var(--fw-semibold, 600);
text-decoration: underline;
text-underline-offset: 3px;
padding-block: 12px;
display: inline-flex;
align-items: center;
}
.og-acct__panel .og-acct__foot-link:hover { color: var(--green-dark, #1d4ed8); }
.og-acct__panel .og-acct__logout {
display: inline-flex;
align-items: center;
justify-content: center;
gap: var(--space-8, 8px);
width: 100%;
min-height: var(--tap-min, 44px);
border-radius: var(--radius, 12px);
background: #fff;
border: 1px solid var(--border, #e2e8f0);
color: var(--slate-600, #475569);
font-size: 14px;
font-weight: var(--fw-semibold, 600);
text-decoration: none;
transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.og-acct__panel .og-acct__logout:hover { color: var(--danger-dark, #b91c1c); border-color: var(--danger, #ef4444); background: #fff; }
.og-acct__logout-icon { display: inline-flex; }
.og-acct__logout-icon svg { display: block; }
@media (max-width: 400px) {
.og-acct__row-desc { white-space: normal; }
.og-acct__title { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
.og-acct__panel { animation: none; }
.site-header .header-account::after,
.og-acct__close,
.og-acct__panel .og-acct__row,
.og-acct__row-title,
.og-acct__row-arrow,
.og-acct__panel .og-acct__logout { transition: none; }
.og-acct__panel .og-acct__row:hover .og-acct__row-arrow { transform: none; }
}
