header .site-account-menu{position:relative;padding:0;margin:0;border:0;background:transparent;border-radius:0}header .site-account-menu>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;padding:6px 0;font-size:13px;color:var(--forest,#193b30)}header .site-account-menu>summary::-webkit-details-marker{display:none}header .site-account-menu .avatar{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#dce8bf;font-size:14px;font-weight:600}header .site-account-dropdown{position:absolute;top:calc(100% + 10px);right:0;width:240px;background:white;border:1px solid #e0e5de;border-radius:10px;padding:6px;box-shadow:0 10px 30px #193b3020;z-index:1200;color:#193b30}header .site-account-dropdown>a{display:block;padding:11px 12px;border-radius:5px;font-size:13px;text-decoration:none}header .site-account-dropdown>a:hover{background:#f2f5ee}header .site-account-identity{padding:12px;border-bottom:1px solid #e8ece3;margin-bottom:5px}header .site-account-identity strong{display:block;font-size:14px;overflow-wrap:anywhere}header .site-account-identity small{display:block;font-size:11px;color:#74806c;margin-top:4px}header .site-account-dropdown form{padding:0;margin:4px 0 0;border-top:1px solid #e8ece3}header .site-account-dropdown form button{display:block;width:100%;padding:11px 12px;background:transparent;border:0;text-align:left;color:#193b30;font-size:13px;border-radius:5px}header .site-account-dropdown form button:hover{background:#f2f5ee}header .site-account-menu>summary:focus-visible{outline:2px solid var(--forest,#193b30);outline-offset:3px;border-radius:5px}@media(max-width:650px){header .site-account-label{display:none}header .site-account-menu>summary{gap:4px}header .site-account-dropdown{width:225px;max-width:calc(100vw - 24px)}}

/* Refined public account popover. */
body.public-premium header .site-account-dropdown{width:268px;max-width:calc(100vw - 24px);padding:8px;border:1px solid #dce3d7;border-radius:16px;box-shadow:0 16px 48px #132e2426,0 2px 6px #132e2408;overflow:hidden}
body.public-premium header .site-account-identity{position:relative;margin:-8px -8px 7px;padding:18px 20px 16px;background:linear-gradient(115deg,#f2f5eb,#faf7ee);border-bottom:1px solid #e0e4d6}
body.public-premium header .site-account-identity:before{content:"";position:absolute;left:0;top:17px;bottom:17px;width:3px;background:#b49654;border-radius:0 3px 3px 0}
body.public-premium header .site-account-identity strong{font-size:15px;font-weight:650;line-height:1.4}
body.public-premium header .site-account-identity small{display:inline-block;font-size:11px;line-height:1.4;margin-top:5px;padding:3px 7px;border:1px solid #dce3d1;border-radius:5px;color:#61734d;background:#fff9}
body.public-premium header .site-account-dropdown>a,body.public-premium header .site-account-dropdown form button{display:flex;align-items:center;justify-content:flex-start;gap:11px;width:100%;min-height:44px;padding:10px 12px;border-radius:8px;font-size:13px;font-weight:500;line-height:1.4;text-align:left;letter-spacing:0;color:#284938;background:transparent;box-shadow:none;border:0;text-decoration:none}
body.public-premium header .site-account-dropdown .public-menu-icon{width:19px;height:19px;color:#718653;flex:none}
body.public-premium header .site-account-dropdown>a:hover{background:#eef3e6;color:#173e30}
body.public-premium header .site-account-dropdown form{border-top:1px solid #e6e9df;margin:7px 0 0;padding-top:6px}
body.public-premium:not(.kp-shell) header .site-account-dropdown form button{background:transparent!important;color:#7d3f31!important;justify-content:flex-start;font-weight:500;min-height:44px}
body.public-premium header .site-account-dropdown form button .public-menu-icon{color:#986b54}
body.public-premium:not(.kp-shell) header .site-account-dropdown form button:hover{background:#fbf0e9!important}
body.public-premium header .site-account-dropdown :is(a,button):focus-visible{outline:2px solid #ac8a49;outline-offset:-2px}

/* A restrained textile signature for the public account menu. */
body.public-premium header .site-account-dropdown{border-color:#d9d2bb;border-top:3px solid #b49654;background:linear-gradient(135deg,#fff 70%,#fcfaf4)}
body.public-premium header .site-account-identity{isolation:isolate;background:linear-gradient(110deg,#193b30,#28503c);border-bottom:2px solid #b49654;color:#fff}
body.public-premium header .site-account-identity:after{content:"";position:absolute;inset:0 0 0 35%;z-index:-1;background:url("brand/woven-gold.svg") right center/140px;opacity:.18;pointer-events:none}
body.public-premium header .site-account-identity:before{background:#ddc58b}
body.public-premium header .site-account-identity strong{color:#fff}
body.public-premium header .site-account-identity small{background:#ffffff0f;border-color:#d8c59366;color:#eddfba}
body.public-premium header .site-account-dropdown>a:hover{background:#f3f1e5;box-shadow:inset 3px 0 #b49654}
body.public-premium header .site-account-dropdown .public-menu-icon{color:#91743f}
body.public-premium header .site-account-dropdown form{border-top-color:#e5ddc7}

/* Compact identity strip: name and role share one row when they fit. */
body.public-premium header .site-account-identity{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 10px;min-height:0;margin:-8px -8px 5px;padding:12px 16px;border-bottom-width:1px}
body.public-premium header .site-account-identity:before{top:10px;bottom:10px;width:2px}
body.public-premium header .site-account-identity strong{margin:0;font-size:14px;font-weight:500;line-height:1.4;min-width:0;overflow-wrap:anywhere}
body.public-premium header .site-account-identity small{flex:0 0 auto;margin:0;padding:2px 6px;font-size:10px;line-height:1.4;border-radius:4px}

body.public-premium header .site-account-identity{flex-wrap:nowrap}body.public-premium header .site-account-identity strong{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
