/* Approved header alignment and consistent typography. */
body,body *,html body #home *{font-family:Arial,"Segoe UI",sans-serif!important}
.top.header-logo{position:relative!important;display:grid!important;grid-template-columns:90px minmax(0,1fr) 90px;align-items:start;gap:10px!important;direction:rtl!important;padding:10px 18px!important;min-height:0!important}
.top.header-logo .brand{position:static!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;grid-column:2;grid-row:1;display:flex!important;justify-content:center;align-items:center;min-width:0;gap:0!important}
.top.header-logo .brand-logo{display:block;width:187px!important;max-width:100%;height:auto!important;object-fit:contain;mix-blend-mode:multiply}
.top.header-logo #profileControl{grid-column:1;grid-row:1;position:static!important;display:block!important;align-self:start;margin-top:25px;width:auto!important;min-width:0!important;max-width:none!important}
.top.header-logo #profileGreeting,.top.header-logo #profileAvatar{display:none!important}
.header-account-actions{display:flex;flex-direction:column;gap:0;padding:5px 4px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
.top.header-logo #profileLoginButton,.top.header-logo #headerRegisterButton{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:26px;padding:2px!important;font:700 14px/1.2 Arial,"Segoe UI",sans-serif!important;border:0;background:transparent!important;color:var(--red2);white-space:normal!important;cursor:pointer}
.top.header-logo #headerRegisterButton[hidden]{display:none!important}
.top.header-logo .header-account-actions button:focus-visible{outline:2px solid var(--red);outline-offset:2px;border-radius:5px}
.announcement{position:static!important;clear:both;display:flex!important;justify-content:center!important;margin:12px auto 0!important;padding:0 14px!important}
.dark-mode .top.header-logo .brand-logo{mix-blend-mode:normal;border-radius:50%}
@media(max-width:620px){.top.header-logo{grid-template-columns:56px minmax(0,1fr) 56px;gap:6px!important;padding:10px 12px!important}.top.header-logo .brand-logo{width:202.4px!important}.top.header-logo #profileControl{margin-top:24px}.header-account-actions{padding:5px 0}}
@media(max-width:350px){.top.header-logo{grid-template-columns:52px minmax(0,1fr) 52px;gap:4px!important;padding:10px 8px!important}.top.header-logo .brand-logo{width:180.4px!important}}

/* Single account entry; registration remains inside the existing dialog. */
.top.header-logo #profileControl{cursor:default}
.top.header-logo .header-account-actions{display:block;padding:0;border:0;background:transparent}
.top.header-logo #profileLoginButton{min-height:44px!important;padding:8px 3px!important;border:1px solid var(--red)!important;border-radius:12px;background:var(--red)!important;color:#fff!important;box-shadow:0 3px 10px #b85d3c18}
.login-signup-link{display:block;align-self:center;min-height:44px;width:100%;border:0;background:transparent;color:var(--red2);text-decoration:underline;text-underline-offset:3px;font:700 14px/1.5 Arial,sans-serif;padding:8px 4px;cursor:pointer}
#orderBackButton{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 18px!important;border:1px solid var(--red)!important;border-radius:13px;background:var(--red)!important;color:#fff!important;font-weight:700;font-size:16px;text-decoration:none!important;margin-bottom:16px;box-shadow:0 4px 12px #b85d3c20}
#orderBackButton:before{content:'→';font-size:20px;line-height:1}
html[lang="en"] #orderBackButton:before{content:'←'}
.login-signup-link[hidden]{display:none!important}
.login-signup-link:focus-visible,.order-back:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
