.plus-upgrade-dialog{width:min(92vw,540px);max-height:min(90vh,820px);overflow:auto;padding:0;border:1px solid var(--theme-line,#dce4d8);border-radius:20px;background:var(--theme-surface,#fff);color:var(--theme-text,#203d34);box-shadow:0 28px 90px #07140d55}
.plus-upgrade-dialog::backdrop{background:#0e1713a8;backdrop-filter:blur(5px)}
.plus-upgrade-card{position:relative;padding:28px;display:grid;justify-items:center;text-align:center;gap:12px}
.plus-upgrade-close{position:absolute;right:14px;top:12px;width:36px;height:36px;border:1px solid var(--theme-line,#dce4d8);border-radius:50%;background:var(--theme-surface-2,#f3f6ef);color:inherit;font-size:23px;cursor:pointer}
.plus-upgrade-kicker{margin:4px 0 0;color:var(--theme-accent,#397456);font-size:11px;font-weight:800;letter-spacing:.15em}
.plus-upgrade-card h2{margin:0;font-size:27px;line-height:1.2}
.plus-upgrade-benefits{display:grid;gap:8px;max-width:455px;margin:0;padding:0;list-style:none;text-align:left;color:var(--theme-muted,#68786e);font-size:14px;line-height:1.55}
.plus-upgrade-benefits li{position:relative;padding-left:18px}
.plus-upgrade-benefits li::before{content:"–";position:absolute;left:0;color:var(--theme-accent,#397456);font-weight:900}
.plus-upgrade-benefits strong{color:var(--theme-text,#203d34);font-weight:800}
.plus-upgrade-price{display:flex;align-items:baseline;gap:12px;margin:2px 0 0}
.plus-upgrade-price strong{font-size:40px;line-height:1;color:#10b981;text-shadow:0 0 18px #10b98140}
.plus-upgrade-price del{color:var(--theme-muted,#68786e);font-size:18px;opacity:.62}
.plus-upgrade-price span{color:var(--theme-muted,#68786e);font-size:13px}
.plus-upgrade-qr{width:min(70vw,300px);aspect-ratio:1;object-fit:contain;border:1px solid var(--theme-line,#dce4d8);border-radius:14px;background:#fff}
.plus-upgrade-bank{margin:0;color:var(--theme-muted,#68786e);font-size:12px;line-height:1.55}
.plus-upgrade-reference{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px dashed var(--theme-line,#bac8bc);border-radius:10px;background:var(--theme-surface-2,#f3f6ef);font:700 14px/1.2 ui-monospace,monospace}
.plus-upgrade-reference button,.plus-upgrade-action{border:1px solid var(--theme-line,#dce4d8);border-radius:10px;background:var(--theme-surface-2,#f3f6ef);color:inherit;padding:10px 14px;font:700 13px/1.3 "Segoe UI",Arial,sans-serif;cursor:pointer;text-decoration:none}
.plus-upgrade-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin-top:2px}
.plus-upgrade-contact{display:grid;justify-items:center;gap:10px;padding-top:12px;border-top:1px solid var(--theme-line,#dce4d8)}
.plus-upgrade-contact[hidden]{display:none}
.plus-upgrade-contact h3{margin:0;font-size:16px}
.plus-upgrade-contact p{max-width:390px;margin:0;color:var(--theme-muted,#68786e);font-size:13px;line-height:1.55}
.plus-payment-waiting{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;font-size:13px;font-weight:750;color:var(--theme-text,#203d34)}
.plus-payment-waiting [data-plus-waiting-label]::after{content:"";animation:plus-waiting-dots 1.2s steps(1,end) infinite}
.plus-payment-waiting strong{min-width:48px;color:var(--theme-accent,#397456);font-variant-numeric:tabular-nums}
.plus-payment-spinner,.plus-payment-pulse{display:inline-block;width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 0 #22c55e70;animation:plus-pulse 1.4s ease-out infinite}
.plus-payment-live{display:flex;align-items:center;gap:8px;justify-content:center;color:var(--theme-muted,#68786e);font-size:12px!important}
.plus-upgrade-support{margin-top:2px}
@keyframes plus-waiting-dots{0%{content:""}25%{content:"."}50%{content:".."}75%,100%{content:"..."}}
@keyframes plus-pulse{0%{box-shadow:0 0 0 0 #22c55e70}70%{box-shadow:0 0 0 8px #22c55e00}100%{box-shadow:0 0 0 0 #22c55e00}}
.plus-upgrade-qr-link{display:block;padding:8px;border:1px solid var(--theme-line,#dce4d8);border-radius:14px;background:#fff;line-height:0}
.plus-upgrade-contact img{display:block;width:min(70vw,270px);height:auto;max-height:430px;object-fit:contain;border-radius:8px;background:#fff}
.plus-upgrade-action.primary{border-color:#2b634b;background:#2b634b;color:#fff}
.plus-upgrade-action[disabled]{opacity:.48;cursor:not-allowed}
.plus-upgrade-status{min-height:1.4em;margin:0;color:var(--theme-muted,#68786e);font-size:12px}
.plus-lock-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border:1px solid #ddc796;border-radius:999px;background:#fff8e8;color:#775619;font-size:10px;font-weight:800;letter-spacing:.05em}
.free-access-badge{display:inline-flex;align-items:center;padding:4px 8px;border:1px solid #8dc9a0;border-radius:999px;background:#e8f7eb;color:#176a35;font-size:10px;font-weight:900;letter-spacing:.06em}
.test-link.is-plus-locked{appearance:none;text-align:left;cursor:pointer}
.test-link.is-plus-locked:hover{border-color:#c49c4f}
.test-link.is-free-access{border-color:#8dc9a0}
.free-legend,.plus-legend{display:inline-flex;align-items:center;gap:5px;font-size:12px}
.free-legend b{padding:3px 7px;border-radius:999px;background:#e8f7eb;color:#176a35;font-size:10px}
.plus-legend{color:var(--theme-muted,#68786e)}
.plus-locked-vocabulary{min-height:260px;display:grid;align-content:center;justify-items:center;gap:14px;padding:28px;text-align:center;color:var(--theme-muted,#68786e)}
:root[data-theme="dark"] .plus-lock-badge{border-color:#766440;background:#3c3323;color:#f1d699}
:root[data-theme="dark"] .free-access-badge,:root[data-theme="dark"] .free-legend b{border-color:#36784d;background:#193c28;color:#9fe0af}
@media(max-width:520px){.plus-upgrade-card{padding:25px 18px}.plus-upgrade-card h2{font-size:23px}.plus-upgrade-qr{width:min(64vw,250px)}.plus-upgrade-contact img{width:min(72vw,240px)}.plus-upgrade-price strong{font-size:36px}.plus-upgrade-price del{font-size:15px}}

/* Persistent upgrade entry point beside the account controls. */
.plus-upgrade-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;margin:0;padding:9px 13px;border:1px solid #21865e;border-radius:9px;background:linear-gradient(135deg,#246c4d,#11966b);color:#fff!important;box-shadow:0 5px 16px #10b9812e;font:750 11px/1.2 "Segoe UI",Arial,sans-serif;white-space:nowrap;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
.plus-upgrade-trigger:hover{transform:translateY(-1px);filter:brightness(1.08);box-shadow:0 8px 20px #10b98142}
.plus-upgrade-trigger:focus-visible{outline:3px solid #7de0b4;outline-offset:2px}
.plus-upgrade-trigger[hidden]{display:none!important}
:root[data-theme="dark"] .home-auth .plus-upgrade-trigger,:root[data-theme="dark"] .header-actions .plus-upgrade-trigger{border-color:#3eaa7c;background:linear-gradient(135deg,#246c4d,#11966b);color:#f4fff9!important}
@media(max-width:700px){.plus-upgrade-trigger{padding:8px 9px;font-size:9px;gap:4px}}
.home-auth button.plus-upgrade-trigger,.header-actions button.plus-upgrade-trigger{border-color:#21865e;background:linear-gradient(135deg,#246c4d,#11966b);color:#fff!important}
.header-actions .plus-upgrade-trigger+.signed-in-menu{margin-left:0}
:root[data-theme="dark"] .home-auth button.plus-upgrade-trigger,:root[data-theme="dark"] .header-actions button.plus-upgrade-trigger{border-color:#3eaa7c;background:linear-gradient(135deg,#246c4d,#11966b);color:#f4fff9!important}
