.platform-dialog{border:1px solid #e6e2d8;border-radius:24px;padding:0;width:min(520px,calc(100vw - 32px));max-height:85dvh;color:#191919;background:#fff;box-shadow:0 24px 100px #0003}
.platform-dialog::backdrop{background:#171d1b66;backdrop-filter:blur(5px)}
.platform-dialog header{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-bottom:1px solid #eee}
.platform-dialog h2{font-size:22px;margin:0}.platform-dialog header button{border:0;background:#f3f1ec;border-radius:50%;width:32px;height:32px;font-size:22px;cursor:pointer}
.platform-dialog-body{padding:24px 26px;max-height:calc(85dvh - 82px);overflow:auto;overscroll-behavior:contain}
.platform-dialog p{font-size:13px;line-height:1.7;color:#666}.platform-dialog label{display:grid;gap:8px;font-size:13px}.platform-dialog input{width:100%;box-sizing:border-box;padding:12px;border:1px solid #dedbd3;border-radius:10px;font:inherit;margin-bottom:12px}
.platform-dialog .btn-primary{width:100%}.platform-dialog h3{font-size:14px;margin:24px 0 12px}.platform-dialog .platform-balance{font-size:36px;font-weight:700;color:#234e40;margin:0}.platform-balance small{font-size:14px;font-weight:400}
.platform-packages{display:flex;gap:10px;flex-wrap:wrap}.platform-packages button{display:grid;gap:8px;flex:1;padding:16px;border:1px solid #dedbd3;border-radius:12px;background:#f8f7f3;cursor:pointer;min-width:110px}.platform-packages button:disabled{opacity:.5}
.platform-ledger{list-style:none;padding:0;margin:0}.platform-ledger li{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #f0eee9;padding:12px 0;font-size:13px}.platform-ledger small{display:block;font-size:11px;color:#888;margin-top:5px}
.platform-account-notice{padding:14px 18px;background:#f4eddb;border-radius:12px;margin:16px 0;font-size:13px;line-height:1.6}.platform-account-notice button,.platform-link{border:0;background:none;color:#245641;text-decoration:underline;cursor:pointer;font:inherit}
.platform-cloud-status{font-size:12px;color:#777;margin:12px 0;min-height:18px}.platform-wallet-actions{display:flex;gap:14px;align-items:center}.platform-wallet-actions button{border:0;border-radius:10px;padding:10px 14px;cursor:pointer;font:inherit}.platform-wallet-actions button:first-child{background:#234e40;color:white}.auth-recovery{font-size:12px;text-align:right;margin:8px 0 0}.auth-browser-back{font-size:11px}
@media(max-width:600px){.platform-wallet-actions{flex-direction:column;gap:8px}.platform-wallet-actions button{padding:8px 12px}.platform-dialog header,.platform-dialog-body{padding:18px}.platform-dialog h2{font-size:20px}}
