/* 1MZ For Artists: perfil operacional do artista, light mode. */

body[class*="rmbz-historico-utilizador"] #wpcontent,
body[class*="rmbz-historico-utilizador"] #wpbody-content {
    background: #f7f8fa;
}

.rmbz-profile-wrap {
    --rp-bg: #f7f8fa;
    --rp-surface: #ffffff;
    --rp-surface-soft: #f8fafc;
    --rp-line: #e5e7eb;
    --rp-line-strong: #d6dae1;
    --rp-text: #0f172a;
    --rp-muted: #64748b;
    --rp-subtle: #94a3b8;
    --rp-brand: #111827;
    --rp-green: #059669;
    --rp-blue: #2563eb;
    --rp-gold: #b88900;
    --rp-purple: #7c3aed;
    --rp-red: #dc2626;
    --rmbz-text-primary: #0f172a;
    --rmbz-text-secondary: #475569;
    --rmbz-text-muted: #64748b;
    --rmbz-bg-elevated: #f8fafc;
    --rmbz-brand: #b88900;
    --rmbz-info: #2563eb;
    --rmbz-danger: #dc2626;
    --rmbz-warning: #d97706;
    box-sizing: border-box;
    width: calc(100% - 8px);
    max-width: none;
    margin: 14px 8px 48px 0;
    color: var(--rp-text);
    font-family: Inter, "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.rmbz-profile-wrap *,
.rmbz-profile-wrap *::before,
.rmbz-profile-wrap *::after { box-sizing: border-box; }

.rmbz-profile-wrap .rp-back {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin: 0 0 12px;
    padding: 0 15px;
    border: 1px solid var(--rp-line);
    border-radius: 999px;
    background: var(--rp-surface);
    color: #334155;
    box-shadow: 0 4px 16px -8px rgba(15, 23, 42, .18);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.rmbz-profile-wrap .rp-back:hover {
    color: var(--rp-text);
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px -12px rgba(15, 23, 42, .25);
    transform: translateY(-1px);
}

.rmbz-profile-wrap .rp-msg {
    display: block;
    margin: 0 0 12px;
    padding: 13px 16px;
    border: 1px solid #bae6d4;
    border-radius: 12px;
    background: #ecfdf5;
    color: #065f46;
    font-weight: 650;
}

.rmbz-profile-wrap .rp-msg.error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.rmbz-profile-wrap .rp-header {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px 20px;
    overflow: hidden;
    margin-bottom: 14px;
    padding: 26px;
    border: 1px solid var(--rp-line);
    border-radius: 18px;
    background:
        radial-gradient(circle at 96% 12%, rgba(59, 130, 246, .09), transparent 25%),
        linear-gradient(135deg, #ffffff 0%, #ffffff 70%, #f8fafc 100%);
    box-shadow: 0 12px 38px -22px rgba(15, 23, 42, .25);
}

.rmbz-profile-wrap .rp-header::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -52px;
    top: -72px;
    width: 210px;
    height: 210px;
    border: 34px solid rgba(148, 163, 184, .08);
    border-radius: 50%;
}

.rmbz-profile-wrap .rp-avatar {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border: 1px solid #dbe3ec;
    border-radius: 24px;
    background: linear-gradient(145deg, #111827, #334155);
    color: #fff;
    box-shadow: 0 12px 28px -16px rgba(15, 23, 42, .55);
    font-size: 30px;
    font-weight: 850;
    letter-spacing: -.04em;
}

.rmbz-profile-wrap .rp-header-info { min-width: 0; }

.rmbz-profile-wrap .rp-eyebrow {
    margin-bottom: 4px;
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.rmbz-profile-wrap .rp-header-info h1 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    color: var(--rp-text);
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 850;
    letter-spacing: -.04em;
    line-height: 1.08;
}

.rmbz-profile-wrap .rp-meta,
.rmbz-profile-wrap .rp-flags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.rmbz-profile-wrap .rp-meta { margin-top: 11px; }
.rmbz-profile-wrap .rp-flags { margin-top: 13px; }

.rmbz-profile-wrap .meta-item {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    max-width: 100%;
    padding: 5px 10px;
    border: 1px solid var(--rp-line);
    border-radius: 9px;
    background: rgba(255, 255, 255, .8);
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.rmbz-profile-wrap .rp-badge {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 9px;
    border: 1px solid #dbe3ec;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .035em;
    line-height: 1;
}

.rmbz-profile-wrap .rp-badge-online,
.rmbz-profile-wrap .rp-badge-success { border-color: #bbf7d0; background: #ecfdf5; color: #047857; }
.rmbz-profile-wrap .rp-badge-offline { background: #f8fafc; color: #64748b; }
.rmbz-profile-wrap .rp-badge-vip { border-color: #fde68a; background: #fffbeb; color: #9a6700; }
.rmbz-profile-wrap .rp-badge-info { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; }
.rmbz-profile-wrap .rp-badge-purple { border-color: #ddd6fe; background: #f5f3ff; color: #6d28d9; }
.rmbz-profile-wrap .rp-badge-warn { border-color: #fed7aa; background: #fff7ed; color: #c2410c; }
.rmbz-profile-wrap .rp-badge-banned { border-color: #fecaca; background: #fef2f2; color: #b91c1c; }

.rmbz-profile-wrap .rp-info-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--rp-line);
}

.rmbz-profile-wrap .rp-info-card {
    min-width: 0;
    min-height: 78px;
    padding: 13px 14px;
    border: 1px solid var(--rp-line);
    border-radius: 12px;
    background: rgba(248, 250, 252, .82);
}

.rmbz-profile-wrap .rp-info-label,
.rmbz-profile-wrap .rp-stat .label {
    margin-bottom: 7px;
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.rmbz-profile-wrap .rp-info-value {
    color: var(--rp-text);
    font-size: 14px;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.rmbz-profile-wrap .rp-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 14px;
}

.rmbz-profile-wrap .rp-stat {
    position: relative;
    overflow: hidden;
    min-height: 112px;
    padding: 18px;
    border: 1px solid var(--rp-line);
    border-radius: 15px;
    background: var(--rp-surface);
    box-shadow: 0 7px 24px -16px rgba(15, 23, 42, .23);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.rmbz-profile-wrap .rp-stat::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: #cbd5e1;
}

.rmbz-profile-wrap .rp-stat.balance::before { background: var(--rp-green); }
.rmbz-profile-wrap .rp-stat.info::before { background: var(--rp-blue); }
.rmbz-profile-wrap .rp-stat.gold::before { background: #eab308; }
.rmbz-profile-wrap .rp-stat.purple::before { background: var(--rp-purple); }

.rmbz-profile-wrap .rp-stat:hover,
.rmbz-profile-wrap .rp-panel:hover {
    border-color: var(--rp-line-strong);
    box-shadow: 0 14px 32px -22px rgba(15, 23, 42, .28);
    transform: translateY(-1px);
}

.rmbz-profile-wrap .rp-stat .value {
    color: var(--rp-text);
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 850;
    letter-spacing: -.04em;
    line-height: 1;
}

.rmbz-profile-wrap .rp-stat .unit {
    margin-left: 5px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
}

.rmbz-profile-wrap .rp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(360px, .78fr);
    align-items: start;
    gap: 14px;
}

.rmbz-profile-wrap .rp-grid > div { min-width: 0; }

.rmbz-profile-wrap .rp-panel {
    overflow: hidden;
    margin: 0 0 14px;
    padding: 19px;
    border: 1px solid var(--rp-line) !important;
    border-radius: 15px;
    background: var(--rp-surface) !important;
    box-shadow: 0 7px 24px -18px rgba(15, 23, 42, .2);
    color: var(--rp-text);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.rmbz-profile-wrap .rp-panel.accent-info { border-top: 3px solid #60a5fa !important; }
.rmbz-profile-wrap .rp-panel.accent-gold { border-top: 3px solid #eab308 !important; }
.rmbz-profile-wrap .rp-panel.accent-danger { border-top: 3px solid #f87171 !important; }

.rmbz-profile-wrap .rp-panel h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 15px;
    padding: 0 0 13px;
    border-bottom: 1px solid var(--rp-line);
    color: var(--rp-text) !important;
    font-size: 15px !important;
    font-weight: 820;
    letter-spacing: -.015em !important;
    line-height: 1.25;
}

.rmbz-profile-wrap .rp-panel h3 .icon {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #f1f5f9;
    font-size: 15px;
}

.rmbz-profile-wrap .rp-panel p { color: #64748b !important; }
.rmbz-profile-wrap .rp-panel .empty { padding: 20px 10px; color: #94a3b8; text-align: center; }

.rmbz-profile-wrap .rp-table {
    width: 100%;
    min-width: 680px;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: #334155;
    font-size: 12px;
}

.rmbz-profile-wrap .rp-table th {
    padding: 10px 11px;
    border: 0;
    border-bottom: 1px solid var(--rp-line);
    background: #f8fafc;
    color: #64748b;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .075em;
    text-align: left;
    text-transform: uppercase;
}

.rmbz-profile-wrap .rp-table td {
    padding: 11px;
    border: 0;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
}

.rmbz-profile-wrap .rp-table tr:last-child td { border-bottom: 0; }
.rmbz-profile-wrap .rp-table tr:hover td { background: #fafcff; }

.rmbz-profile-wrap .onemz-input,
.rmbz-profile-wrap input[type="text"],
.rmbz-profile-wrap input[type="number"],
.rmbz-profile-wrap input[type="datetime-local"],
.rmbz-profile-wrap select,
.rmbz-profile-wrap textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #d9dee6;
    border-radius: 10px;
    background: #fff;
    color: var(--rp-text);
    box-shadow: none;
    font: inherit;
    font-size: 13px;
}

.rmbz-profile-wrap textarea { min-height: 82px; resize: vertical; }
.rmbz-profile-wrap input:focus,
.rmbz-profile-wrap select:focus,
.rmbz-profile-wrap textarea:focus {
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, .16);
    outline: 0;
}

.rmbz-profile-wrap .onemz-btn,
.rmbz-profile-wrap button.onemz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 15px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #111827;
    color: #fff;
    box-shadow: 0 8px 20px -13px rgba(15, 23, 42, .65);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.rmbz-profile-wrap .onemz-btn:hover {
    filter: brightness(1.05);
    box-shadow: 0 11px 24px -14px rgba(15, 23, 42, .7);
    transform: translateY(-1px);
}

.rmbz-profile-wrap .rp-control-group {
    margin-bottom: 9px;
    padding: 0 !important;
    border: 1px solid var(--rp-line) !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
}

.rmbz-profile-wrap .rp-control-group.is-on {
    border-color: #fecaca !important;
    background: #fff7f7 !important;
}

.rmbz-profile-wrap .rp-control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 !important;
    padding: 13px 14px !important;
    border: 0 !important;
    background: transparent !important;
}

.rmbz-profile-wrap .rp-control-row strong { color: var(--rp-text); font-size: 13px; }
.rmbz-profile-wrap .rp-control-desc { display: block; margin-top: 3px; color: #64748b; font-size: 11px; font-weight: 450; }

.rmbz-profile-wrap .rp-expiry {
    padding: 0 14px 14px;
    border-top: 1px solid #e7eaf0;
}

.rmbz-profile-wrap .rp-expiry-label { display: block; margin: 11px 0 5px; color: #475569; font-size: 11px; font-weight: 750; }
.rmbz-profile-wrap .rp-expiry-hint { color: #94a3b8; font-weight: 500; }
.rmbz-profile-wrap .rp-expiry-inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.rmbz-profile-wrap .rp-expiry-state { padding: 5px 8px; border-radius: 7px; background: #e2e8f0; color: #475569; font-size: 10px; font-weight: 750; }

.rmbz-profile-wrap .switch { position: relative; flex: 0 0 auto; width: 42px; height: 24px; }
.rmbz-profile-wrap .switch input { width: 0; height: 0; opacity: 0; }
.rmbz-profile-wrap .slider { position: absolute; inset: 0; border-radius: 999px; background: #cbd5e1; cursor: pointer; transition: .2s ease; }
.rmbz-profile-wrap .slider::before { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(15,23,42,.2); transition: .2s ease; }
.rmbz-profile-wrap .switch input:checked + .slider { background: #ef4444; }
.rmbz-profile-wrap .switch input:checked + .slider::before { transform: translateX(18px); }

.rmbz-profile-wrap .rp-mini-list { margin: 8px 0 0; padding: 0; list-style: none; }
.rmbz-profile-wrap .rp-mini-list li { padding: 9px 0; border-bottom: 1px solid #eef2f7; color: #475569; font-size: 12px; }
.rmbz-profile-wrap .rp-mini-list li:last-child { border-bottom: 0; }

.rp-modal-bg {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(6px);
}

.rp-modal-box {
    width: min(520px, 100%);
    max-height: calc(100vh - 44px);
    overflow: auto;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 18px;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 28px 80px -24px rgba(15, 23, 42, .55);
}

@media (max-width: 1380px) {
    .rmbz-profile-wrap .rp-info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rmbz-profile-wrap .rp-grid { grid-template-columns: minmax(0, 1.4fr) minmax(330px, .8fr); }
}

@media (max-width: 1120px) {
    .rmbz-profile-wrap .rp-grid { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
    .rmbz-profile-wrap { width: calc(100% - 12px); margin: 10px 6px 90px; }
    .rmbz-profile-wrap .rp-header { grid-template-columns: 64px minmax(0, 1fr); padding: 18px; border-radius: 16px; }
    .rmbz-profile-wrap .rp-avatar { width: 64px; height: 64px; border-radius: 18px; font-size: 23px; }
    .rmbz-profile-wrap .rp-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rmbz-profile-wrap .rp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rmbz-profile-wrap .rp-panel { padding: 15px; border-radius: 14px; }
}

@media (max-width: 520px) {
    .rmbz-profile-wrap .rp-header { grid-template-columns: 1fr; text-align: center; }
    .rmbz-profile-wrap .rp-avatar { margin: 0 auto; }
    .rmbz-profile-wrap .rp-header-info h1,
    .rmbz-profile-wrap .rp-meta,
    .rmbz-profile-wrap .rp-flags { justify-content: center; }
    .rmbz-profile-wrap .rp-info-grid,
    .rmbz-profile-wrap .rp-stats { grid-template-columns: 1fr; }
    .rmbz-profile-wrap .rp-stat { min-height: 96px; }
    .rmbz-profile-wrap .rp-control-row { align-items: flex-start; }
    .rmbz-profile-wrap .rp-expiry-inline { grid-template-columns: 1fr; }
    .rmbz-profile-wrap .onemz-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .rmbz-profile-wrap *,
    .rmbz-profile-wrap *::before,
    .rmbz-profile-wrap *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Extrato mensal de monetizacao: resume a interface sem apagar a auditoria real. */
.rmbz-profile-wrap .rp-wallet-statement {
    max-height: 580px;
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
}

.rmbz-profile-wrap .rp-wallet-group-row > td {
    padding: 8px !important;
    background: #f8fafc !important;
}

.rmbz-profile-wrap .rp-wallet-month {
    overflow: hidden;
    border: 1px solid #a7f3d0;
    border-radius: 14px;
    background: linear-gradient(135deg, #ecfdf5 0%, #fff 72%);
    box-shadow: 0 8px 24px -20px rgba(5, 150, 105, .45);
}

.rmbz-profile-wrap .rp-wallet-month > summary {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    padding: 10px 12px;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
}

.rmbz-profile-wrap .rp-wallet-month > summary::-webkit-details-marker { display: none; }
.rmbz-profile-wrap .rp-wallet-month > summary:focus-visible { outline: 2px solid #10b981; outline-offset: -3px; }
.rmbz-profile-wrap .rp-wallet-month[open] > summary { border-bottom: 1px solid #d1fae5; }

.rmbz-profile-wrap .rp-wallet-month-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: #059669;
    color: #fff;
    box-shadow: 0 8px 18px -10px rgba(5, 150, 105, .8);
}

.rmbz-profile-wrap .rp-wallet-month-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rmbz-profile-wrap .rp-wallet-month-copy { min-width: 0; }
.rmbz-profile-wrap .rp-wallet-month-copy strong { display: block; color: #0f172a; font-size: 14px; line-height: 1.3; }
.rmbz-profile-wrap .rp-wallet-month-copy small { display: block; margin-top: 4px; color: #64748b; font-size: 11px; font-weight: 600; }
.rmbz-profile-wrap .rp-wallet-month-amount { color: #047857; font-size: 14px; white-space: nowrap; }

.rmbz-profile-wrap .rp-wallet-month-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    background: #fff;
    color: #047857;
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.rmbz-profile-wrap .rp-wallet-month-toggle::after { content: "+"; font-size: 15px; line-height: 1; }
.rmbz-profile-wrap .rp-wallet-month[open] .rp-wallet-month-toggle::after { content: "-"; }

.rmbz-profile-wrap .rp-wallet-month-body { padding: 14px; }
.rmbz-profile-wrap .rp-wallet-month-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.rmbz-profile-wrap .rp-wallet-month-stats > span {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
}

.rmbz-profile-wrap .rp-wallet-month-stats small { display: block; color: #64748b; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.rmbz-profile-wrap .rp-wallet-month-stats strong { display: block; margin-top: 4px; color: #0f172a; font-size: 14px; }
.rmbz-profile-wrap .rp-wallet-month-table-wrap { overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 11px; background: #fff; }
.rmbz-profile-wrap .rp-wallet-month-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.rmbz-profile-wrap .rp-wallet-month-table th { padding: 8px 10px; border-bottom: 1px solid #e2e8f0; background: #f8fafc; color: #64748b; font-size: 9px; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.rmbz-profile-wrap .rp-wallet-month-table td { padding: 10px; border-bottom: 1px solid #eef2f7; color: #334155; font-size: 11px; }
.rmbz-profile-wrap .rp-wallet-month-table tr:last-child td { border-bottom: 0; }
.rmbz-profile-wrap .rp-wallet-month-table td:first-child strong { display: block; max-width: 360px; overflow: hidden; color: #0f172a; text-overflow: ellipsis; white-space: nowrap; }
.rmbz-profile-wrap .rp-wallet-month-table td:first-child small { display: block; margin-top: 3px; color: #94a3b8; }
.rmbz-profile-wrap .rp-wallet-month-table td:last-child strong { color: #047857; white-space: nowrap; }
.rmbz-profile-wrap .rp-wallet-month-note,
.rmbz-profile-wrap .rp-wallet-month-empty { margin: 10px 2px 0; color: #64748b; font-size: 10px; }

.rmbz-profile-wrap .rp-wallet-delete {
    padding: 6px 12px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff1f2;
    color: #dc2626;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}
.rmbz-profile-wrap .rp-wallet-delete:hover { border-color: #ef4444; background: #ef4444; color: #fff; }

@media (max-width: 782px) {
    .rmbz-profile-wrap .rp-wallet-statement { max-height: none; overflow: visible; }
    .rmbz-profile-wrap .rp-wallet-month > summary { grid-template-columns: 42px minmax(0, 1fr) auto; }
    .rmbz-profile-wrap .rp-wallet-month-amount { grid-column: 2; }
    .rmbz-profile-wrap .rp-wallet-month-toggle { grid-column: 3; grid-row: 1 / span 2; padding: 8px; font-size: 0; }
    .rmbz-profile-wrap .rp-wallet-month-toggle::after { font-size: 16px; }
}

@media (max-width: 520px) {
    .rmbz-profile-wrap .rp-wallet-month-stats { grid-template-columns: 1fr; }
    .rmbz-profile-wrap .rp-wallet-month-body { padding: 10px; }
}

/* [1.5.610] Material 3 summary and account state. */
.rmbz-profile-wrap .rp-material-icon {
    display: block;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}

.rmbz-profile-wrap .rp-back { gap: 8px; }
.rmbz-profile-wrap .rp-back .rp-material-icon { width: 16px; height: 16px; }

.rmbz-profile-wrap .rp-header {
    --rp-state: #047857;
    --rp-state-soft: #ecfdf5;
    --rp-state-line: #a7f3d0;
    grid-template-columns: 80px minmax(0, 1fr) minmax(280px, 340px);
    align-items: center;
    gap: 20px;
    min-height: 156px;
    padding: 24px;
    background:
        radial-gradient(circle at 97% 8%, var(--rp-state-soft) 0, transparent 28%),
        #ffffff;
}

.rmbz-profile-wrap .rp-header--state-deactivated {
    --rp-state: #dc2626;
    --rp-state-soft: #fef2f2;
    --rp-state-line: #fecaca;
    border-color: #fecaca;
}

.rmbz-profile-wrap .rp-header--state-blocked {
    --rp-state: #b91c1c;
    --rp-state-soft: #fff1f2;
    --rp-state-line: #fda4af;
    border-color: #fecdd3;
}

.rmbz-profile-wrap .rp-header--state-pending {
    --rp-state: #b45309;
    --rp-state-soft: #fffbeb;
    --rp-state-line: #fde68a;
    border-color: #fde68a;
}

.rmbz-profile-wrap .rp-header--state-expired {
    --rp-state: #c2410c;
    --rp-state-soft: #fff7ed;
    --rp-state-line: #fed7aa;
    border-color: #fed7aa;
}

.rmbz-profile-wrap .rp-header::after {
    right: -72px;
    top: -90px;
    width: 238px;
    height: 238px;
    border-color: var(--rp-state-line);
    opacity: .28;
}

.rmbz-profile-wrap .rp-avatar {
    width: 80px;
    height: 80px;
    border: 0;
    border-radius: 22px;
    background: #111827;
    box-shadow: 0 12px 30px -17px rgba(15, 23, 42, .6);
    font-size: 28px;
}

.rmbz-profile-wrap .rp-header-info h1 { font-size: clamp(26px, 2vw, 36px); }

.rmbz-profile-wrap .rp-meta .meta-item {
    gap: 7px;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 11px;
    background: #ffffff;
}

.rmbz-profile-wrap .rp-meta .meta-item .rp-material-icon {
    width: 16px;
    height: 16px;
    color: #475569;
}

.rmbz-profile-wrap button.meta-item {
    appearance: none;
    font: inherit;
    cursor: pointer;
}

.rmbz-profile-wrap button.meta-item:hover,
.rmbz-profile-wrap button.meta-item.is-copied {
    border-color: #86efac;
    background: #f0fdf4;
    color: #047857;
}

.rmbz-profile-wrap .rp-badge { gap: 5px; }
.rmbz-profile-wrap .rp-badge .rp-material-icon { width: 14px; height: 14px; }

.rmbz-profile-wrap .rp-presence-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, .11);
}

.rmbz-profile-wrap .rp-badge-offline .rp-presence-dot {
    background: #94a3b8;
    box-shadow: none;
}

.rmbz-profile-wrap .rp-account-state {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 104px;
    padding: 16px;
    border: 1px solid var(--rp-state-line);
    border-radius: 18px;
    background: var(--rp-state-soft);
    color: var(--rp-state);
    box-shadow: 0 10px 30px -22px currentColor;
}

.rmbz-profile-wrap .rp-account-state::before {
    content: "";
    position: absolute;
    inset: 14px auto 14px 0;
    width: 4px;
    border-radius: 0 999px 999px 0;
    background: var(--rp-state);
}

.rmbz-profile-wrap .rp-account-state-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 22px -17px currentColor;
}

.rmbz-profile-wrap .rp-account-state-icon .rp-material-icon { width: 27px; height: 27px; }

.rmbz-profile-wrap .rp-account-state-copy { display: grid; min-width: 0; gap: 2px; }
.rmbz-profile-wrap .rp-account-state-copy small {
    color: currentColor;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.rmbz-profile-wrap .rp-account-state-copy strong {
    color: currentColor;
    font-size: clamp(21px, 1.65vw, 27px);
    font-weight: 850;
    letter-spacing: -.035em;
    line-height: 1.05;
}
.rmbz-profile-wrap .rp-account-state-copy > span {
    margin-top: 4px;
    color: #475569;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.35;
}

.rmbz-profile-wrap .rp-info-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
}

.rmbz-profile-wrap .rp-info-card {
    --rp-card: #2563eb;
    --rp-card-soft: #eff6ff;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-height: 88px;
    padding: 13px;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 7px 24px -18px rgba(15, 23, 42, .3);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.rmbz-profile-wrap .rp-info-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 14px 30px -22px rgba(15, 23, 42, .34);
    transform: translateY(-2px);
}

.rmbz-profile-wrap .rp-info-card--violet { --rp-card: #7c3aed; --rp-card-soft: #f5f3ff; }
.rmbz-profile-wrap .rp-info-card--cyan { --rp-card: #0891b2; --rp-card-soft: #ecfeff; }
.rmbz-profile-wrap .rp-info-card--indigo { --rp-card: #4f46e5; --rp-card-soft: #eef2ff; }
.rmbz-profile-wrap .rp-info-card--green { --rp-card: #059669; --rp-card-soft: #ecfdf5; }
.rmbz-profile-wrap .rp-info-card--orange { --rp-card: #c2410c; --rp-card-soft: #fff7ed; }

.rmbz-profile-wrap .rp-info-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: var(--rp-card-soft);
    color: var(--rp-card);
}

.rmbz-profile-wrap .rp-info-icon .rp-material-icon { width: 20px; height: 20px; }
.rmbz-profile-wrap .rp-info-content { min-width: 0; }
.rmbz-profile-wrap .rp-info-label {
    margin-bottom: 4px;
    color: #64748b;
    font-size: 10px;
    letter-spacing: .065em;
}
.rmbz-profile-wrap .rp-info-value {
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;
}
.rmbz-profile-wrap .rp-info-value small {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.2;
}
.rmbz-profile-wrap .rp-unit { margin-left: 4px; color: #64748b; font-size: 10px; font-weight: 800; }
.rmbz-profile-wrap .rp-value-muted { color: #94a3b8; font-size: 12px; font-weight: 650; }

.rmbz-profile-wrap .rp-stat {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    min-height: 108px;
    padding: 17px;
}

.rmbz-profile-wrap .rp-stat-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: #f1f5f9;
    color: #475569;
}
.rmbz-profile-wrap .rp-stat.balance .rp-stat-icon { background: #ecfdf5; color: #047857; }
.rmbz-profile-wrap .rp-stat.info .rp-stat-icon { background: #eff6ff; color: #1d4ed8; }
.rmbz-profile-wrap .rp-stat.gold .rp-stat-icon { background: #fffbeb; color: #a16207; }
.rmbz-profile-wrap .rp-stat.purple .rp-stat-icon { background: #f5f3ff; color: #6d28d9; }
.rmbz-profile-wrap .rp-stat-icon .rp-material-icon { width: 23px; height: 23px; }
.rmbz-profile-wrap .rp-stat-copy { min-width: 0; }
.rmbz-profile-wrap .rp-stat .label { margin-bottom: 8px; font-size: 10.5px; }
.rmbz-profile-wrap .rp-stat .value { font-size: clamp(25px, 2vw, 33px); }

@media (max-width: 1380px) {
    .rmbz-profile-wrap .rp-header { grid-template-columns: 72px minmax(0, 1fr) minmax(250px, 300px); }
    .rmbz-profile-wrap .rp-avatar { width: 72px; height: 72px; border-radius: 20px; }
    .rmbz-profile-wrap .rp-info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1120px) {
    .rmbz-profile-wrap .rp-header { grid-template-columns: 72px minmax(0, 1fr); }
    .rmbz-profile-wrap .rp-account-state { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
    .rmbz-profile-wrap .rp-header { grid-template-columns: 64px minmax(0, 1fr); padding: 18px; }
    .rmbz-profile-wrap .rp-avatar { width: 64px; height: 64px; border-radius: 18px; }
    .rmbz-profile-wrap .rp-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rmbz-profile-wrap .rp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
    .rmbz-profile-wrap .rp-header { grid-template-columns: 1fr; text-align: left; }
    .rmbz-profile-wrap .rp-avatar { margin: 0; }
    .rmbz-profile-wrap .rp-header-info h1,
    .rmbz-profile-wrap .rp-meta,
    .rmbz-profile-wrap .rp-flags { justify-content: flex-start; }
    .rmbz-profile-wrap .rp-account-state { grid-column: auto; }
    .rmbz-profile-wrap .rp-info-grid,
    .rmbz-profile-wrap .rp-stats { grid-template-columns: 1fr; }
}
/* [1.5.611] Gestor compacto de limitacoes e castigos. */
.rmbz-profile-wrap .rp-restrictions-launcher {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 16px;
    min-height: 108px;
    padding: 18px 20px;
    border-color: #dfe5ec;
    background: linear-gradient(135deg, #fff 0%, #fbfcfe 100%);
}

.rmbz-profile-wrap .rp-restrictions-launcher.has-active-restrictions {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fff 0%, #fff7f7 100%);
}

.rmbz-profile-wrap .rp-restrictions-launcher-icon,
.rmbz-profile-wrap .rp-restrictions-dialog-icon,
.rmbz-profile-wrap .rp-restriction-section-title > span {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #eef2ff;
    color: #4f46e5;
}

.rmbz-profile-wrap .has-active-restrictions .rp-restrictions-launcher-icon {
    background: #fee2e2;
    color: #dc2626;
}

.rmbz-profile-wrap .rp-restrictions-launcher-copy {
    min-width: 0;
}

.rmbz-profile-wrap .rp-restrictions-kicker {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    line-height: 1.2;
    text-transform: uppercase;
}

.rmbz-profile-wrap .rp-restrictions-launcher h3 {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.25;
}

.rmbz-profile-wrap .rp-restrictions-launcher p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

.rmbz-profile-wrap .rp-restrictions-launcher-count {
    display: grid;
    min-width: 104px;
    gap: 1px;
    padding: 10px 13px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fff1f2;
    color: #b91c1c;
}

.rmbz-profile-wrap .rp-restrictions-launcher-count.is-clear {
    border-color: #d1fae5;
    background: #ecfdf5;
    color: #047857;
}

.rmbz-profile-wrap .rp-restrictions-launcher-count strong {
    font-size: 20px;
    line-height: 1;
}

.rmbz-profile-wrap .rp-restrictions-launcher-count span {
    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
}

.rmbz-profile-wrap .rp-open-restrictions,
.rmbz-profile-wrap .rp-restrictions-save {
    gap: 8px;
    white-space: nowrap;
}

.rmbz-profile-wrap .rp-open-restrictions .rp-material-icon,
.rmbz-profile-wrap .rp-restrictions-save .rp-material-icon {
    width: 17px;
    height: 17px;
}

html.rp-restrictions-open {
    overflow: hidden;
}

.rmbz-profile-wrap .rp-restrictions-dialog {
    width: min(920px, calc(100vw - 48px));
    max-width: 920px;
    max-height: min(860px, calc(100dvh - 48px));
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 24px;
    background: #f8fafc;
    color: #0f172a;
    box-shadow: 0 32px 90px -24px rgba(15, 23, 42, .58);
}

.rmbz-profile-wrap .rp-restrictions-dialog[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    animation: rp-restrictions-dialog-in .22s cubic-bezier(.2, .8, .2, 1) both;
}

.rmbz-profile-wrap .rp-restrictions-dialog::backdrop {
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(7px);
}

@keyframes rp-restrictions-dialog-in {
    from { opacity: 0; transform: translateY(12px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.rmbz-profile-wrap .rp-restrictions-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 88px;
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}

.rmbz-profile-wrap .rp-restrictions-dialog-heading {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
}

.rmbz-profile-wrap .rp-restrictions-dialog-heading > div {
    min-width: 0;
}

.rmbz-profile-wrap .rp-restrictions-dialog-heading h2 {
    margin: 0;
    color: #0f172a;
    font-size: 21px;
    line-height: 1.2;
}

.rmbz-profile-wrap .rp-restrictions-dialog-heading p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
}

.rmbz-profile-wrap .rp-restrictions-close {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.rmbz-profile-wrap .rp-restrictions-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(4deg);
}

.rmbz-profile-wrap .rp-restrictions-close .rp-material-icon {
    width: 20px;
    height: 20px;
}

.rmbz-profile-wrap .rp-restrictions-form {
    display: grid;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
}

.rmbz-profile-wrap .rp-restrictions-dialog-body {
    min-height: 0;
    padding: 18px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.rmbz-profile-wrap .rp-restrictions-summary {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #eff6ff;
}

.rmbz-profile-wrap .rp-restrictions-summary > div {
    display: grid;
    gap: 2px;
    padding-right: 14px;
    border-right: 1px solid #bfdbfe;
}

.rmbz-profile-wrap .rp-restrictions-summary span {
    color: #1d4ed8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.rmbz-profile-wrap .rp-restrictions-summary strong {
    color: #1e3a8a;
    font-size: 27px;
    line-height: 1;
}

.rmbz-profile-wrap .rp-restrictions-summary p {
    margin: 0;
    color: #475569;
    font-size: 12px;
    line-height: 1.5;
}

.rmbz-profile-wrap .rp-restriction-section {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 17px;
    background: #fff;
}

.rmbz-profile-wrap .rp-restriction-section-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 12px;
}

.rmbz-profile-wrap .rp-restriction-section-title > span {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #475569;
}

.rmbz-profile-wrap .rp-restriction-section-title .rp-material-icon {
    width: 19px;
    height: 19px;
}

.rmbz-profile-wrap .rp-restriction-section-title > div {
    display: grid;
    gap: 2px;
}

.rmbz-profile-wrap .rp-restriction-section-title strong {
    color: #0f172a;
    font-size: 13px;
}

.rmbz-profile-wrap .rp-restriction-section-title small {
    color: #64748b;
    font-size: 10px;
}

.rmbz-profile-wrap .rp-restriction-section .rp-control-group:last-child {
    margin-bottom: 0;
}

.rmbz-profile-wrap .rp-control-group.is-critical {
    border-left: 3px solid #ef4444 !important;
}

.rmbz-profile-wrap .rp-restriction-history {
    margin-top: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
}

.rmbz-profile-wrap .rp-restriction-history summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 14px;
    color: #334155;
    cursor: pointer;
    list-style: none;
}

.rmbz-profile-wrap .rp-restriction-history summary::-webkit-details-marker {
    display: none;
}

.rmbz-profile-wrap .rp-restriction-history summary .rp-material-icon {
    width: 19px;
    height: 19px;
    color: #64748b;
}

.rmbz-profile-wrap .rp-restriction-history summary strong {
    font-size: 12px;
}

.rmbz-profile-wrap .rp-restriction-history summary small {
    color: #64748b;
    font-size: 10px;
}

.rmbz-profile-wrap .rp-restriction-history .rp-log-list {
    margin: 0;
    padding: 0 14px 10px;
    border-top: 1px solid #eef2f7;
}

.rmbz-profile-wrap .rp-restriction-history .rp-log-list li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.rmbz-profile-wrap .rp-log-reason {
    color: #64748b;
    font-size: 11px;
}

.rmbz-profile-wrap .rp-log-date {
    color: #94a3b8;
    font-size: 10px;
    white-space: nowrap;
}

.rmbz-profile-wrap .rp-restrictions-dialog-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-height: 72px;
    padding: 13px 18px;
    border-top: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -12px 30px -26px rgba(15, 23, 42, .65);
}

.rmbz-profile-wrap .rp-restrictions-cancel {
    min-height: 40px;
    padding: 9px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.rmbz-profile-wrap .rp-restrictions-cancel:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

@media (max-width: 900px) {
    .rmbz-profile-wrap .rp-restrictions-launcher {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .rmbz-profile-wrap .rp-open-restrictions {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 782px) {
    .rmbz-profile-wrap .rp-restrictions-dialog {
        width: calc(100vw - 18px);
        max-height: calc(100dvh - 18px);
        border-radius: 20px;
    }

    .rmbz-profile-wrap .rp-restrictions-dialog-header {
        min-height: 76px;
        padding: 14px;
    }

    .rmbz-profile-wrap .rp-restrictions-dialog-heading p {
        display: none;
    }

    .rmbz-profile-wrap .rp-restrictions-dialog-body {
        padding: 12px;
    }

    .rmbz-profile-wrap .rp-restriction-section {
        padding: 11px;
    }
}

@media (max-width: 520px) {
    .rmbz-profile-wrap .rp-restrictions-launcher {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
        padding: 15px;
    }

    .rmbz-profile-wrap .rp-restrictions-launcher-count {
        grid-column: 1 / -1;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        min-width: 0;
    }

    .rmbz-profile-wrap .rp-restrictions-summary {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 11px;
    }

    .rmbz-profile-wrap .rp-restrictions-dialog-heading h2 {
        font-size: 18px;
    }

    .rmbz-profile-wrap .rp-restrictions-dialog-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .rmbz-profile-wrap .rp-restrictions-dialog-footer {
        display: grid;
        grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
        min-height: 66px;
        padding: 10px 12px max(10px, env(safe-area-inset-bottom));
    }

    .rmbz-profile-wrap .rp-restrictions-dialog-footer .onemz-btn,
    .rmbz-profile-wrap .rp-restrictions-cancel {
        width: 100%;
    }

    .rmbz-profile-wrap .rp-restriction-history .rp-log-list li {
        display: grid;
        gap: 5px;
    }

    .rmbz-profile-wrap .rp-log-date {
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rmbz-profile-wrap .rp-restrictions-dialog[open] {
        animation: none;
    }
}

/* [1.5.612] Cartoes compactos para acoes sensiveis da conta. */
.rmbz-profile-wrap .rp-action-launcher {
    min-height: 96px;
    margin-bottom: 14px;
    overflow: hidden;
    isolation: isolate;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.rmbz-profile-wrap .rp-action-launcher:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 14px 30px -24px rgba(15, 23, 42, .34);
}

.rmbz-profile-wrap .rp-action-launcher--video .rp-action-launcher-icon,
.rmbz-profile-wrap #rp-video-rules-dialog .rp-action-dialog-icon {
    background: #f3e8ff;
    color: #7e22ce;
}

.rmbz-profile-wrap .rp-action-launcher--submissions .rp-action-launcher-icon,
.rmbz-profile-wrap #rp-submission-rules-dialog .rp-action-dialog-icon {
    background: #e0f2fe;
    color: #0369a1;
}

.rmbz-profile-wrap .rp-action-launcher--account .rp-action-launcher-icon,
.rmbz-profile-wrap #rp-account-deactivation-dialog .rp-action-dialog-icon {
    background: #fef3c7;
    color: #a16207;
}

.rmbz-profile-wrap .rp-action-launcher.has-warning-state {
    border-color: #fde68a;
    background: linear-gradient(135deg, #fff 0%, #fffbeb 100%);
}

.rmbz-profile-wrap .rp-action-launcher.has-critical-state {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fff 0%, #fff1f2 100%);
}

.rmbz-profile-wrap .rp-action-launcher.has-warning-state .rp-action-launcher-icon {
    background: #fef3c7;
    color: #b45309;
}

.rmbz-profile-wrap .rp-action-launcher.has-critical-state .rp-action-launcher-icon {
    background: #fee2e2;
    color: #dc2626;
}

.rmbz-profile-wrap .rp-action-launcher-count.is-warning {
    border-color: #fde68a;
    background: #fffbeb;
    color: #a16207;
}

.rmbz-profile-wrap .rp-action-launcher--account .rp-action-launcher-count strong {
    font-size: 13px;
    line-height: 1.25;
}

.rmbz-profile-wrap .rp-action-dialog-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rmbz-profile-wrap .rp-action-dialog .rmbz-deact-state {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.rmbz-profile-wrap .rp-action-dialog .rmbz-deact-state.is-requested {
    border-color: #fde68a;
    background: #fffbeb;
    color: #a16207;
}

.rmbz-profile-wrap .rp-action-dialog .rmbz-deact-state.is-deactivated {
    border-color: #fecaca;
    background: #fff1f2;
    color: #be123c;
}

.rmbz-profile-wrap .rp-action-dialog-body {
    background: #f8fafc;
}

.rmbz-profile-wrap .rp-action-modal-summary {
    margin-bottom: 16px;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
}

.rmbz-profile-wrap .rp-action-dialog .rmbz-deact-summary,
.rmbz-profile-wrap .rp-action-dialog .rmbz-deact-impact {
    margin-top: 0;
}

.rmbz-profile-wrap .rp-action-dialog .rmbz-deact-stat,
.rmbz-profile-wrap .rp-action-dialog .rmbz-deact-impact span,
.rmbz-profile-wrap .rp-action-dialog .rmbz-deact-form,
.rmbz-profile-wrap .rp-action-dialog .rmbz-spr-admin__item,
.rmbz-profile-wrap .rp-action-dialog .rmbz-vpr-admin__item {
    border-color: #e2e8f0;
    background: #fff;
    box-shadow: 0 8px 24px -22px rgba(15, 23, 42, .3);
}

.rmbz-profile-wrap .rp-action-dialog input[type="text"],
.rmbz-profile-wrap .rp-action-dialog input[type="number"],
.rmbz-profile-wrap .rp-action-dialog select,
.rmbz-profile-wrap .rp-action-dialog textarea {
    min-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    background: #fff;
    color: #0f172a;
    box-shadow: none;
}

.rmbz-profile-wrap .rp-action-dialog textarea {
    min-height: 78px;
    padding: 10px 12px;
    resize: vertical;
}

.rmbz-profile-wrap .rp-action-dialog input:focus,
.rmbz-profile-wrap .rp-action-dialog select:focus,
.rmbz-profile-wrap .rp-action-dialog textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .12);
    outline: none;
}

.rmbz-profile-wrap .rp-action-dialog .rmbz-spr-admin__rail,
.rmbz-profile-wrap .rp-action-dialog .rmbz-vpr-admin__rail {
    margin-bottom: 18px;
}

@media (max-width: 782px) {
    .rmbz-profile-wrap .rp-action-dialog-tools .rmbz-deact-state {
        display: none;
    }

    .rmbz-profile-wrap .rp-action-dialog .rmbz-deact-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .rmbz-profile-wrap .rp-action-launcher {
        min-height: 0;
    }

    .rmbz-profile-wrap .rp-action-launcher-count strong {
        font-size: 17px;
    }

    .rmbz-profile-wrap .rp-action-launcher--account .rp-action-launcher-count strong {
        font-size: 12px;
    }

    .rmbz-profile-wrap .rp-action-dialog .rmbz-deact-summary,
    .rmbz-profile-wrap .rp-action-dialog .rmbz-deact-impact,
    .rmbz-profile-wrap .rp-action-dialog .rmbz-spr-admin__form,
    .rmbz-profile-wrap .rp-action-dialog .rmbz-vpr-admin__form,
    .rmbz-profile-wrap .rp-action-dialog .rmbz-spr-admin__revoke,
    .rmbz-profile-wrap .rp-action-dialog .rmbz-vpr-admin__revoke {
        grid-template-columns: 1fr;
    }

    .rmbz-profile-wrap .rp-action-dialog .rmbz-spr-admin__form .wide,
    .rmbz-profile-wrap .rp-action-dialog .rmbz-vpr-admin__form .wide {
        grid-column: auto;
    }
}
/* [1.5.613] Entrega opcional do popup por push móvel. */
.rmbz-profile-wrap .rp-popup-delivery {
    margin-top: 14px;
}
.rmbz-profile-wrap .rp-popup-delivery-option {
    display: grid;
    grid-template-columns: 20px 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.rmbz-profile-wrap .rp-popup-delivery-option.is-ready:hover {
    border-color: #60a5fa;
    background: #eff6ff;
    box-shadow: 0 8px 24px -18px rgba(37, 99, 235, .55);
}
.rmbz-profile-wrap .rp-popup-delivery-option.is-unavailable {
    cursor: not-allowed;
    opacity: .7;
}
.rmbz-profile-wrap .rp-popup-delivery-option > input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #2563eb;
}
.rmbz-profile-wrap .rp-popup-delivery-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #1d4ed8;
    background: #dbeafe;
}
.rmbz-profile-wrap .rp-popup-delivery-icon svg {
    width: 21px;
    height: 21px;
}
.rmbz-profile-wrap .rp-popup-delivery-copy {
    min-width: 0;
}
.rmbz-profile-wrap .rp-popup-delivery-copy strong,
.rmbz-profile-wrap .rp-popup-delivery-copy small {
    display: block;
}
.rmbz-profile-wrap .rp-popup-delivery-copy strong {
    color: #0f172a;
    font-size: 13px;
    line-height: 1.35;
}
.rmbz-profile-wrap .rp-popup-delivery-copy small {
    margin-top: 3px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.45;
}
.rmbz-profile-wrap .rp-popup-delivery-state {
    padding: 6px 9px;
    border-radius: 999px;
    color: #166534;
    background: #dcfce7;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}
.rmbz-profile-wrap .is-unavailable .rp-popup-delivery-state {
    color: #64748b;
    background: #e2e8f0;
}
.rmbz-profile-wrap .rp-popup-delivery > p {
    margin: 7px 2px 0;
    color: #64748b;
    font-size: 11px;
}
@media (max-width: 640px) {
    .rmbz-profile-wrap .rp-popup-delivery-option {
        grid-template-columns: 20px 40px minmax(0, 1fr);
    }
    .rmbz-profile-wrap .rp-popup-delivery-state {
        grid-column: 2 / -1;
        justify-self: start;
    }
}