.account-menu{position:relative;flex:none;margin-left:8px;z-index:100}.account-toggle{display:grid;place-items:center;width:44px;height:44px;padding:9px;border:1px solid #ead9e1;border-radius:50%;background:#fff;color:#a6234c;cursor:pointer}.account-toggle:hover,.account-toggle[aria-expanded=true]{background:#fdeff2}.account-panel{position:absolute;right:0;top:calc(100% + 12px);width:min(280px,calc(100vw - 32px));display:flex;flex-direction:column;gap:6px;padding:18px;background:#fff;border:1px solid #ead9e1;border-radius:20px;box-shadow:0 15px 45px #3b14251f}.account-panel[hidden],.account-panel [hidden]{display:none!important}.account-panel strong{color:#c72a54;font-size:18px}.account-panel small{font-size:12px;color:#786777;overflow-wrap:anywhere;margin-bottom:8px}.account-panel a,.account-panel button{display:block;width:100%;text-align:left;text-decoration:none;font:inherit;font-size:14px;color:#352737;border:0;background:transparent;padding:11px 12px;border-radius:10px;cursor:pointer}.account-panel a:hover,.account-panel button:hover{background:#fdeff2;color:#ae204a}.account-menu :focus-visible{outline:2px solid #d82e5b;outline-offset:3px}

.account-panel{width:min(360px,calc(100vw - 32px));padding:20px;max-height:calc(100dvh - 110px);overflow-y:auto}.menu-identity{display:flex;align-items:center;gap:14px;padding:4px 0 16px;min-width:0}.menu-identity>div{min-width:0}.menu-identity .menu-name{font-size:20px;color:#40152f;display:block;overflow-wrap:anywhere}.menu-identity .menu-profile-email{display:block;margin:4px 0 8px;font-size:12px}.menu-avatar{width:64px;height:64px;object-fit:cover;border-radius:50%;background:#fff0f5;border:2px solid #f5cede}.menu-plan{display:inline-block;background:#ffe0ed;border-radius:20px;padding:3px 12px;color:#c51b50;font-size:12px;font-weight:bold}.account-panel .menu-edit-profile{border:1px solid #dd2359;text-align:center;color:#c21b50;margin-bottom:10px}.account-panel .menu-logout{border-top:1px solid #f1d7e3;margin-top:8px;padding-top:16px;color:#ba2545;border-radius:0}.account-toggle.has-profile{overflow:hidden}.account-toggle.has-profile img{width:100%;height:100%;object-fit:cover;border-radius:50%}

.account-panel a.profile-menu-row,.account-panel button.profile-menu-row{display:flex;align-items:center;gap:12px}.profile-menu-row svg{width:22px;height:22px;flex-shrink:0;background:#fff0f6;color:#ce2358;border-radius:10px;padding:7px;box-sizing:content-box}.profile-menu-row span{flex:1}.profile-menu-row:after{content:'›';font-size:23px;color:#8c5270}.menu-identity{border-bottom:1px solid #f4d9e5;margin-bottom:12px}.account-panel{z-index:110}

.global-toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:10000;padding:15px 22px;border-radius:14px;color:white;box-shadow:0 8px 28px #0002;max-width:min(540px,calc(100vw - 32px));width:max-content;font-size:15px;line-height:1.6;overflow-wrap:anywhere}.global-toast.success{background:#15803d;border:1px solid #22a653}.global-toast.error{background:#b91c1c;border:1px solid #ef4444}.global-toast.info{background:#334155}.global-toast[hidden]{display:none}

header.paperroom-header .desktop-pricing-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;padding:12px 17px;border:1px solid #7352c4;border-radius:30px;background:linear-gradient(120deg,#7652c8,#57369f);color:#fff;font-family:inherit;font-size:13px;font-weight:600;line-height:1.4;text-decoration:none;white-space:nowrap;box-shadow:0 4px 12px #6740ad22;transition:background .15s,box-shadow .15s}header.paperroom-header .desktop-pricing-link:hover{background:#51318e;box-shadow:0 5px 16px #6740ad40}header.paperroom-header .desktop-pricing-link:focus-visible{outline:3px solid #b79ee9;outline-offset:3px}.desktop-pricing-link svg{width:22px;height:22px}@media(max-width:800px){header.paperroom-header .desktop-pricing-link{display:none}}@media(min-width:1201px) and (max-width:1500px){header.paperroom-header{gap:10px;padding:18px}.paperroom-header .paperroom-nav-item{padding:10px 8px;gap:5px}.paperroom-header .paperroom-nav-item svg{width:26px;height:26px}header.paperroom-header .desktop-pricing-link{padding:10px 12px;font-size:12px}}
/* Gold pricing action, with a compact mobile label. */
header.paperroom-header .desktop-pricing-link{color:#50320b;border-color:#d5aa55;background:linear-gradient(115deg,#d8a641 0%,#f4d88b 28%,#fff2bf 46%,#e5bd62 67%,#f3d789 100%);box-shadow:inset 0 1px 0 #fff8dc,inset 0 -1px 0 #bd8d3655,0 3px 10px #a9762422}
header.paperroom-header .desktop-pricing-link:hover{background:linear-gradient(115deg,#e5b853,#fff0ba 45%,#ebc76f);box-shadow:inset 0 1px 0 #fff9e6,0 4px 14px #a9762433}
header.paperroom-header .desktop-pricing-link:focus-visible{outline-color:#b17c20}
@media(max-width:800px){header.paperroom-header .desktop-pricing-link{display:inline-flex;order:0;padding:7px 9px;gap:4px;font-size:11px;min-height:34px;margin-left:auto}.desktop-pricing-link svg{width:16px;height:16px}header.paperroom-header .brand{margin-right:0}header.paperroom-header{column-gap:7px}header.paperroom-header .language-switch{gap:0}header.paperroom-header .desktop-pricing-link span{font-size:0}header.paperroom-header .desktop-pricing-link span:after{content:'แพ็กเกจ';font-size:11px}html[lang=en] header.paperroom-header .desktop-pricing-link span:after{content:'Plans'}}
@media(max-width:380px){header.paperroom-header .brand{font-size:18px}header.paperroom-header .brand .pdfcoral-mark{width:30px;height:30px}header.paperroom-header .desktop-pricing-link{padding:6px;gap:3px}header.paperroom-header{column-gap:5px}}
@media(max-width:800px){header.paperroom-header{column-gap:5px!important}.paperroom-header .language-switch{padding:0!important;margin:0!important;width:58px;flex:0 0 58px}.paperroom-header .language-switch button{width:29px;height:29px;padding:2px}.paperroom-header .language-switch svg{width:23px;height:23px}header.paperroom-header .brand{font-size:18px;gap:5px;flex-shrink:1;min-width:0}header.paperroom-header .brand .pdfcoral-mark{width:28px;height:32px}header.paperroom-header .brand small{font-size:6px;letter-spacing:1px}header.paperroom-header .desktop-pricing-link{padding:6px 7px;margin-left:auto}header.paperroom-header .account-menu{margin-left:0!important;flex:0 0 32px}header.paperroom-header .account-toggle{width:32px;height:32px}}
/* A soft, repeating highlight over the gold pricing button. */
header.paperroom-header .desktop-pricing-link{position:relative;overflow:hidden;isolation:isolate}
header.paperroom-header .desktop-pricing-link:before{content:'';position:absolute;inset:-50% auto -50% -65%;width:45%;pointer-events:none;background:linear-gradient(90deg,transparent,#ffffffa8,transparent);transform:skewX(-22deg);animation:pricing-gold-shine 3s ease-in-out infinite;z-index:-1}
@keyframes pricing-gold-shine{0%{left:-65%}65%,100%{left:145%}}
@media(max-width:800px){header.paperroom-header{column-gap:10px!important}.paperroom-header .language-switch{gap:7px!important;width:65px;flex-basis:65px}header.paperroom-header .desktop-pricing-link{margin-right:3px}header.paperroom-header .account-menu{margin-left:3px!important}header.paperroom-header .brand{font-size:16px;gap:4px}header.paperroom-header .brand .pdfcoral-mark{width:24px;height:28px}header.paperroom-header .brand small{font-size:5px;letter-spacing:.8px}}
@media(max-width:370px){header.paperroom-header{column-gap:8px!important}header.paperroom-header .brand{font-size:14px}header.paperroom-header .brand .pdfcoral-mark{width:21px}.paperroom-header .language-switch{gap:5px!important;width:63px;flex-basis:63px}header.paperroom-header .desktop-pricing-link{padding:6px;margin-right:0}header.paperroom-header .account-menu{margin-left:0!important}}
@media(prefers-reduced-motion:reduce){header.paperroom-header .desktop-pricing-link:before{animation:none;display:none}}

.account-panel a.super-admin-link{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#efd28a,#fff2c5 45%,#ddb35a);border:1px solid #d5ac58;color:#64400e;font-weight:700;box-shadow:inset 0 1px 0 #fff9dc,0 2px 8px #aa791b18}.account-panel a.super-admin-link:hover{background:linear-gradient(115deg,#e9c36a,#fff0ad,#deb052);color:#503008}.super-admin-link svg{background:#fff7d8;color:#916317}.super-admin-link:after{color:#8f611b}.super-admin-link:before{content:'';position:absolute;top:-50%;bottom:-50%;left:-65%;width:45%;background:linear-gradient(90deg,transparent,#ffffffac,transparent);transform:skewX(-22deg);pointer-events:none;z-index:-1;animation:pricing-gold-shine 3s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.super-admin-link:before{animation:none;display:none}}

.global-toast .toast-action{display:inline-flex;align-items:center;justify-content:center;margin:10px 0 0 12px;padding:7px 14px;border-radius:9px;background:white;color:#9f1239;font-weight:700;text-decoration:none;white-space:nowrap}.global-toast .toast-action:focus-visible{outline:3px solid white;outline-offset:3px}@media(max-width:600px){.global-toast .toast-action{display:flex;margin:10px 0 0}}
