.cw-account-dialog {
 width: min(440px, calc(100% - 28px)); max-height: calc(100% - 28px);
 padding: 22px 26px; overflow: auto; border: 1px solid #b99c6a;
 border-radius: 12px; background: #fffaf0; color: #233e32;
 box-shadow: 0 16px 48px #182f2640;
}
.cw-account-dialog::backdrop { background: #112a22a0; }
.cw-account-dialog [hidden] { display: none !important; }
.cw-account-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cw-account-header h2 { margin: 0; color: #203a2e; font: 600 clamp(1.55rem,5vw,2rem)/1.12 var(--serif); }
.cw-account-dialog p { margin: 10px 0; color: #4e493e; overflow-wrap: anywhere; }
#cw-account-feedback:empty { display: none; }
.cw-account-header button, #cw-account-signout, .cw-account-providers a {
 display: inline-flex; justify-content: center; align-items: center; text-align: center; min-height: 42px;
 padding: 7px 12px; border: 1px solid #b79c71; border-radius: 5px;
 background: #fffaf0; color: #233e32; cursor: pointer; font: 700 .84rem var(--sans);
}
.cw-account-providers { display: grid; gap: 8px; margin-top: 15px; }
.cw-account-providers a {
 justify-self: start; width: 210px; max-width: 100%; padding: 0;
 border: 0; background: transparent; text-decoration: none;
}
.cw-account-providers img { display: block; width: 100%; height: auto; max-height: 48px; object-fit: contain; }
.cw-account-providers a:focus-visible { outline: 2px solid #264739; outline-offset: 3px; }
.cw-account-dialog button:is(:hover,:focus-visible) { background: #264739; border-color: #264739; color: #fffaf0; }
.cw-account-dialog .cw-account-privacy { margin-top: 15px; font-size: .82rem; }
@media (max-width: 959px) {
 .site-header .nav-links { display: none; }
 .site-header .header-menu-btn { display: inline-flex; }
 .site-header .cw-header-actions { margin-left: auto; }
 #cw-account-toggle { display: none; }
}
