/* F10.4.3 authentication: leaves global brand and tool styling unchanged */
.ww-auth-section{margin:60px auto 0;max-width:1000px;padding:30px;border:1px solid #d7bd88;border-radius:16px;background:#faf7ef;text-align:center;box-sizing:border-box}
.ww-auth-section>h2{font:normal clamp(1.9rem,3.5vw,2.7rem) Georgia,serif;margin:10px 0 25px;color:#183d30}
.ww-auth-note,.ww-auth-feedback{padding:14px 18px;margin:12px auto;border-radius:9px;border:1px solid #d5b46e;background:#efe8d8;max-width:700px;line-height:1.6}
.ww-auth-feedback[data-kind=error]{background:#fff0ec;color:#7e2922;border-color:#cc8e86}
.ww-auth-tabs{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.ww-auth-tabs button,.ww-auth-secondary{border:1px solid #b89553;border-radius:22px;background:#fffaf0;color:#183d30;padding:11px 16px;cursor:pointer;font-weight:bold}
.ww-auth-tabs button.is-active,.ww-auth-tabs button:hover,.ww-auth-secondary:hover{background:#183d30;color:#fff8eb}
.ww-auth-form{max-width:530px;margin:0 auto 22px;padding:24px;background:#fffdf7;border:1px solid #e0cfab;border-radius:12px;display:grid;gap:16px;text-align:left;box-sizing:border-box}
.ww-auth-form[hidden],#ww-auth-guest[hidden],#ww-auth-member[hidden],#ww-password-reset-form[hidden],.ww-auth-note[hidden],.ww-auth-feedback[hidden]{display:none!important}
.ww-auth-form label{display:grid;gap:7px;font-weight:bold;font-size:.92rem}.ww-auth-form input[type=email],.ww-auth-form input[type=password],.ww-auth-form input[type=text]{width:100%;box-sizing:border-box;border:1px solid #c8b68f;border-radius:8px;padding:12px 13px;background:#fff;color:#183d30;font:normal 1rem Arial,sans-serif}
.ww-auth-form input:focus-visible{outline:2px solid #315b43;outline-offset:2px}
.ww-auth-form button[type=submit]{border:1px solid #c4a35a;background:#183d30;color:#fff8e8;border-radius:24px;padding:13px;cursor:pointer;font-weight:bold}.ww-auth-form button:disabled{opacity:.65;cursor:wait}
.ww-auth-fine{font-size:.82rem;line-height:1.6}.ww-auth-fine a,.ww-member-panel a{color:#315b43}
.ww-member-panel{text-align:left}.ww-member-heading{display:flex;align-items:center;gap:22px;margin:20px auto 30px;max-width:750px}.ww-member-heading h3{font:normal 2rem Georgia,serif;margin:5px 0}.ww-member-avatar{display:grid;place-items:center;background:#183d30;color:#f0d391;border:3px solid #c4a35a;border-radius:50%;width:83px;height:83px;font-size:2.6rem;flex-shrink:0}.ww-member-grid{margin:15px 0 35px}.ww-member-grid .ww-account-card a{display:inline-block;margin-top:10px}.ww-profile-form{max-width:700px}.ww-profile-form h3{font:normal 1.8rem Georgia,serif;margin:0}.ww-choice-row{display:flex;gap:10px;flex-wrap:wrap}.ww-choice-row label{display:inline-flex;align-items:center;gap:6px;background:#f5eedf;border:1px solid #ddc69c;padding:9px;border-radius:8px;font-weight:normal}.ww-profile-form fieldset{border:1px solid #ddc69c;border-radius:10px}.ww-profile-form legend{font-weight:bold}.ww-auth-secondary{display:block;margin:0 auto}
.ww-auth-section[data-theme=gothic]{background:#f3edf0;border-color:#875466}.ww-auth-section[data-theme=gothic] .ww-member-avatar{background:#432b39}.ww-auth-section[data-theme=cottage]{background:#eef3e9}.ww-auth-section[data-theme=cottage] .ww-member-avatar{background:#65826c}.ww-auth-section[data-theme=library]{background:#faf1df}.ww-auth-section[data-theme=library] .ww-member-avatar{background:#806743}
@media(max-width:680px){.ww-auth-section{padding:16px 10px}.ww-auth-form{padding:18px 13px}.ww-member-heading{flex-direction:column;text-align:center}.ww-member-grid{grid-template-columns:1fr}}

/* Member login window, with an unobtrusive account toolbar */
.ww-auth-section.ww-auth-section{max-width:none;margin:0 auto 12px;padding:0;border:0;background:transparent;text-align:left}
.ww-member-access-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border:1px solid #d3b47a;border-radius:12px;background:#fbf7ed;padding:11px 16px;color:#183d30}
.ww-member-access-label{font:700 1rem Georgia,serif;margin-right:auto}.ww-member-access-bar #ww-member-account-status{font:.79rem Arial,sans-serif;color:#56685b}
.ww-member-access-bar button{border:1px solid #c4a35a;border-radius:22px;background:#183d30;color:#fff8e8;padding:10px 17px;font:700 .82rem Arial,sans-serif;cursor:pointer}
.ww-member-access-bar .ww-account-signout{background:#fffaf1;color:#183d30}
.ww-member-access-bar button[hidden]{display:none!important}
.ww-auth-dialog{width:min(94vw,690px);max-height:min(90vh,850px);overflow:auto;position:fixed;margin:auto;border:1px solid #c4a35a;border-radius:16px;padding:0;background:#fcf8ed;color:#183d30;box-shadow:0 20px 65px rgba(10,28,21,.33)}
.ww-auth-dialog::backdrop{background:rgba(12,29,24,.65)}
.ww-auth-modal-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 22px;background:#183d30;color:#f4dcac;font:700 1rem Georgia,serif}
.ww-auth-modal-top button{background:transparent;border:1px solid #c4a35a;border-radius:100%;color:#fff9ec;width:37px;height:37px;cursor:pointer;font-size:1rem}
.ww-auth-dialog .ww-member-access-content{padding:17px 23px 24px}
.ww-auth-dialog .ww-auth-form{margin-bottom:6px}
.ww-auth-dialog button:focus-visible,.ww-member-access-bar button:focus-visible{outline:3px solid #b18b43;outline-offset:3px}
.ww-profile-form textarea{width:100%;resize:vertical;box-sizing:border-box;border:1px solid #c8b68f;border-radius:8px;padding:12px 13px;background:white;color:#183d30;font:normal 1rem Arial,sans-serif}
.ww-profile-field-note{font-size:.79rem;line-height:1.5;margin:-6px 0 2px!important;text-align:left;color:#5c6659}
#ww-profile-save-feedback{font-size:.9rem;color:#315b43;margin:0}
@media(max-width:580px){.ww-member-access-bar{gap:10px}.ww-member-access-bar #ww-member-account-status{order:3;flex-basis:100%}.ww-auth-dialog .ww-member-access-content{padding:13px 10px 20px}}
