.tbpg-panel,.tbpg-login{max-width:620px;margin:20px auto;padding:20px;border:1px solid #ddd;border-radius:10px;background:#fff;direction:rtl;text-align:right;box-sizing:border-box;font-family:inherit}
.tbpg-panel *{box-sizing:border-box}
.tbpg-panel h3{margin-top:0}.tbpg-panel h4{margin:18px 0 8px}
.tbpg-acc{display:flex;align-items:center;gap:12px;background:#f6f7f7;border-radius:10px;padding:10px 14px;margin-bottom:12px}
.tbpg-acc img{border-radius:50%}.tbpg-acc>div{flex:1;min-width:0;overflow-wrap:anywhere}
.tbpg-badge{border-radius:12px;padding:2px 12px;font-size:12px;color:#fff;font-weight:bold}.tbpg-badge.on{background:#16a34a}.tbpg-badge.off{background:#d97706}
.tbpg-note{font-size:13px;color:#555}.tbpg-note.warn{color:#b45309;background:#fffbeb;padding:8px 10px;border-radius:8px}
.tbpg-ck{display:flex;align-items:center;gap:8px;margin:10px 0;cursor:pointer}
.tbpg-ck input{width:18px;height:18px;margin:0}
.tbpg-fl{display:block;margin:12px 0;font-weight:600}
.tbpg-fl select,.tbpg-fl input[type=number],.tbpg-fl input[type=time]{display:block;width:100%;max-width:340px;padding:9px;border:1px solid #ccc;border-radius:6px;font:inherit;margin-top:5px}
.tbpg-two{display:flex;gap:10px;max-width:340px}.tbpg-two input{flex:1;padding:9px;border:1px solid #ccc;border-radius:6px;font:inherit}
.tbpg-checks{display:grid;grid-template-columns:1fr 1fr;gap:2px 12px;font-weight:400}
.tbpg-btn{background:#0073aa;color:#fff;border:0;border-radius:6px;padding:10px 16px;cursor:pointer;font-weight:bold;font-size:14px;font-family:inherit;margin:3px 0}
.tbpg-btn.tbpg-alt{background:#e7ebef;color:#222}.tbpg-btn.tbpg-danger{background:#d63638}.tbpg-btn.tbpg-sm{padding:6px 12px;font-size:13px}
.tbpg-btn:disabled{opacity:.6;cursor:default}
.tbpg-msg{min-height:20px;font-weight:bold;margin:8px 0}.tbpg-msg.ok{color:#15803d}.tbpg-msg.bad{color:#b91c1c}
.tbpg-more{margin-top:14px}.tbpg-more summary{cursor:pointer;color:#0073aa}
.tbpg-gbtn{min-height:44px;margin:10px 0;display:flex;justify-content:center}
.tbpg-tbl{width:100%;border-collapse:collapse;font-size:13px}.tbpg-tbl td{padding:6px 8px;border-bottom:1px solid #eee}
.tbpg-login{text-align:center}.tbpg-login-t{font-weight:bold;margin-bottom:6px}
.tbpg-ov{position:fixed;inset:0;z-index:2147483000;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;padding:16px}
.tbpg-pop{position:relative;background:#fff;border-radius:14px;max-width:420px;width:100%;padding:26px 22px 20px;text-align:center;box-shadow:0 12px 40px rgba(0,0,0,.4);outline:none;font-family:inherit}
.tbpg-pop h3{margin:0 0 8px;font-size:19px}.tbpg-pop p{color:#444;line-height:1.8}
.tbpg-later{background:none;border:0;color:#666;cursor:pointer;text-decoration:underline;font:inherit;margin-top:6px}
.tbpg-x{position:absolute;top:8px;left:10px;border:0;background:#f1f1f1;border-radius:50%;width:30px;height:30px;cursor:pointer}
body.tbpg-lock{overflow:hidden}
@media(max-width:480px){.tbpg-checks{grid-template-columns:1fr}}
