.points-menu .history-menu{width:min(560px,calc(100vw - 36px));max-height:calc(100dvh - 100px);overflow:auto;overscroll-behavior:contain}
.points-content h3{margin-top:0}.points-content h4{margin:20px 0 10px}.points-content .small{font-size:12px;line-height:1.55;color:#6a606d}.points-content button{min-height:40px;padding:8px 14px;border:1px solid #c6b9ce;border-radius:10px;background:#f4eef8;color:#51405f;cursor:pointer}.points-content button:disabled{opacity:.5;cursor:default}
.points-balance{padding:16px;border-radius:14px;background:#efe5f5;display:grid;gap:8px}.points-balance strong{font-size:21px}.points-balance span{font-size:12px}.points-product{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e8e0e9}.points-product>div{display:grid;gap:5px}.points-product span{font-size:12px}.points-limits{display:grid;grid-template-columns:1fr 1fr;gap:10px}.points-limits h4,.points-limits p{grid-column:1/-1}.points-limits label{font-size:12px;display:grid;gap:6px}.points-limits input{width:100%;box-sizing:border-box;min-height:42px;border:1px solid #d3c7d8;border-radius:9px;padding:8px}
.points-status:empty{display:none}.points-status{color:#9a3434}.points-bills details{border-bottom:1px solid #e5dae8;padding:12px 0}.points-bills summary{cursor:pointer;font-size:13px;line-height:1.5}.points-bills table{width:100%;border-collapse:collapse;margin:10px 0;font-size:11px}.points-bills th,.points-bills td{padding:8px 4px;text-align:left;border-bottom:1px solid #eee5ef;overflow-wrap:anywhere}.points-bills td:last-child{white-space:nowrap}.task-point-limit{font-size:12px;color:#6a606d;margin:8px 0}
.profile-menu>summary{gap:7px}.profile-avatar{display:inline-grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#e7dcec;color:#62457a;font-size:13px}.profile-identity{display:grid;gap:6px;padding:4px 0 14px;overflow-wrap:anywhere}.profile-identity strong{font-size:18px}.profile-identity span{font-size:12px;color:#6a606d}.profile-menu .map-account{width:auto;margin-bottom:14px}.profile-menu .map-account button{width:auto;box-shadow:none}.profile-menu .points-content>h3{margin-top:18px}
.brand-app-icon{display:block;width:100%;height:100%;object-fit:cover;border-radius:22%}.app-update-notice{position:fixed;z-index:4000;bottom:calc(18px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(460px,calc(100vw - 32px));box-sizing:border-box;display:flex;gap:12px;align-items:center;padding:12px 16px;background:#fffdf7;border:1px solid #c9b6d2;border-radius:14px;box-shadow:0 4px 24px #35204330;font-size:12px;color:#594762}.app-update-notice button{padding:8px 12px;background:#7854a0;color:#fff;border:0;border-radius:9px}

/* Let purchase descriptions wrap while keeping actions aligned. */
.points-product>div{min-width:0;flex:1;overflow-wrap:anywhere}.points-product>button{flex-shrink:0}.points-content{min-width:0;overflow-wrap:anywhere}.points-bills table{table-layout:fixed}.points-bills th:first-child{width:65%}.points-bills th:nth-child(2){width:13%}.points-bills th:last-child{width:22%}
/* Paid actions open a dedicated page above the editor, keeping drafts intact. */
.billing-access{width:min(600px,calc(100vw - 24px));max-height:calc(100dvh - 24px);border:1px solid #e6ddec;border-radius:22px;padding:22px;background:#fffdf8;color:#514857;overflow:auto;overscroll-behavior:contain}.billing-access::backdrop{background:#29213265}.billing-access-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.billing-access-heading h2{margin:0;font-size:22px}.billing-access-heading button{border:0;border-radius:10px;padding:10px 14px;background:#eee7f5;color:#624778;cursor:pointer}.billing-access-reason{font-size:14px;line-height:1.5}.billing-access-login{width:100%;min-height:46px;padding:12px;border:0;border-radius:12px;background:#7854a0;color:#fff;font-weight:600;cursor:pointer}.billing-access .points-content{margin-top:20px}
@media(max-width:760px){.billing-access{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;padding:calc(18px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom))}.billing-access-heading{position:sticky;top:calc(-18px - env(safe-area-inset-top));z-index:1;padding:12px 0;background:#fffdf8}.billing-access .small{font-size:13px}}
.profile-page-heading{display:none}
@media(max-width:760px){.points-menu[open] .history-menu{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0;padding:calc(18px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom));z-index:2000}.profile-page-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 0 18px}.profile-page-heading h2{margin:0;font-size:22px}.profile-page-heading button{border:0;border-radius:10px;background:#eee7f5;color:#624778;padding:10px 14px;cursor:pointer}}

.points-rate{margin:10px 0 20px;font-size:13px;color:#83758d}.profile-settings{margin-top:24px;padding-top:14px;border-top:1px solid #e9e1ee;font-size:12px;color:#82738e}.profile-settings>summary{cursor:pointer;padding:10px 0}.profile-settings>button{display:block;margin-top:8px;border:0;background:transparent;color:#8c686a;font-size:12px;padding:10px 0;cursor:pointer}.points-bills th:first-child{width:75%}.points-bills th:last-child{width:25%}
