/* /Components/AttendantCounters.razor.rz.scp.css */
.attendant-counters[b-3v8mgtdp5y] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.att-counter[b-3v8mgtdp5y] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.att-counter:hover[b-3v8mgtdp5y] {
    box-shadow: var(--shadow);
}

.att-counter-active[b-3v8mgtdp5y] {
    border-width: 2px;
    border-color: var(--color-in-progress);
    background: #eff6ff;
}

.att-counter-icon[b-3v8mgtdp5y] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-in-progress);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
}
/* /Components/AttendantDropdown.razor.rz.scp.css */
.att-dropdown[b-vxsx2jel0a] {
    position: relative;
    display: inline-block;
}

.att-dropdown-trigger[b-vxsx2jel0a] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px 6px 6px;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.15s;
    min-width: 200px;
}

.att-dropdown-trigger:hover[b-vxsx2jel0a] {
    border-color: var(--color-primary, #00a884);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.att-dropdown-open .att-dropdown-trigger[b-vxsx2jel0a] {
    border-color: var(--color-primary, #00a884);
    box-shadow: 0 0 0 3px rgba(0, 168, 132, 0.12);
}

.att-avatar[b-vxsx2jel0a] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #00a884;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.att-avatar-empty[b-vxsx2jel0a] {
    background: #9ca3af;
    font-size: 16px;
    font-weight: 700;
}

.att-avatar-all[b-vxsx2jel0a] {
    background: linear-gradient(135deg, #00a884 0%, #53bdeb 100%);
    font-size: 18px;
    font-weight: 700;
}

.att-trigger-info[b-vxsx2jel0a] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
}

.att-trigger-label[b-vxsx2jel0a] {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-secondary, #6b7280);
    font-weight: 500;
}

.att-trigger-name[b-vxsx2jel0a] {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text, #111);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.att-trigger-count[b-vxsx2jel0a] {
    background: var(--color-primary, #00a884);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.att-chevron[b-vxsx2jel0a] {
    color: var(--color-text-secondary, #6b7280);
    flex-shrink: 0;
    transition: transform 0.15s;
}

.att-dropdown-open .att-chevron[b-vxsx2jel0a] {
    transform: rotate(180deg);
}

.att-dropdown-menu[b-vxsx2jel0a] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 280px;
    max-height: 400px;
    overflow-y: auto;
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1000;
    padding: 6px;
    animation: att-dropdown-in-b-vxsx2jel0a 0.12s ease-out;
}

@keyframes att-dropdown-in-b-vxsx2jel0a {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.att-backdrop[b-vxsx2jel0a] {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: transparent;
}

.att-option[b-vxsx2jel0a] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: var(--color-text, #111);
    text-align: left;
    transition: background 0.1s;
}

.att-option:hover[b-vxsx2jel0a] {
    background: var(--color-bg, #f3f4f6);
}

.att-option-active[b-vxsx2jel0a] {
    background: rgba(0, 168, 132, 0.08);
    font-weight: 600;
}

.att-option-active:hover[b-vxsx2jel0a] {
    background: rgba(0, 168, 132, 0.12);
}

.att-option .att-avatar[b-vxsx2jel0a] {
    width: 28px;
    height: 28px;
    font-size: 11px;
}

.att-option-name[b-vxsx2jel0a] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.att-option-count[b-vxsx2jel0a] {
    background: var(--color-bg, #f3f4f6);
    color: var(--color-text-secondary, #6b7280);
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.att-option-active .att-option-count[b-vxsx2jel0a] {
    background: var(--color-primary, #00a884);
    color: white;
}

.att-option-check[b-vxsx2jel0a] {
    color: var(--color-primary, #00a884);
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.att-separator[b-vxsx2jel0a] {
    height: 1px;
    background: var(--color-border, #e5e7eb);
    margin: 4px 6px;
}

/* Responsive: em telas estreitas o trigger esconde o label */
@media (max-width: 900px) {
    .att-dropdown-trigger[b-vxsx2jel0a] {
        min-width: auto;
    }
    .att-trigger-name[b-vxsx2jel0a] {
        max-width: 100px;
    }
}
/* /Components/ChatBar.razor.rz.scp.css */
.chat-bar[b-d7izleqfog] {
    position: fixed;
    bottom: 0;
    right: 80px;
    z-index: 900;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 8px;
    pointer-events: none;
    transition: right 0.25s ease;
}

.chat-bar-shifted[b-d7izleqfog] {
    right: 420px;
}

.chat-bar[b-d7izleqfog] >  .chat-panel {
    pointer-events: auto;
}

.chat-focus-backdrop[b-d7izleqfog] { position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 199; }

@media (max-width: 768px) {
    .chat-bar[b-d7izleqfog] { right: 0; left: 0; justify-content: center; }
    .chat-bar-shifted[b-d7izleqfog] { right: 0; }
}
/* /Components/ChatPanel.razor.rz.scp.css */
.chat-panel[b-sbwj3yk99m] {
    width: 320px;
    display: flex;
    flex-direction: column;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
    background: var(--color-surface, #fff);
    overflow: visible;
}

.chat-panel:not(.chat-minimized)[b-sbwj3yk99m] {
    max-height: 450px;
}

.chat-minimized[b-sbwj3yk99m] {
    max-height: none;
}

/* Header */
.chat-header[b-sbwj3yk99m] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: var(--color-primary, #00a884);
    color: white;
    cursor: pointer;
    user-select: none;
    min-height: 36px;
    border-radius: 8px 8px 0 0;
}

.chat-header-name[b-sbwj3yk99m] {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-status-dot[b-sbwj3yk99m] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.chat-unread-badge[b-sbwj3yk99m] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    flex-shrink: 0;
    animation: pulse-badge-b-sbwj3yk99m 1.5s ease-in-out infinite;
}

@keyframes pulse-badge-b-sbwj3yk99m {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.chat-btn[b-sbwj3yk99m] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    padding: 2px 3px;
    line-height: 1;
    opacity: 0.7;
    border-radius: 4px;
    transition: opacity 0.15s;
}

.chat-btn:hover[b-sbwj3yk99m] {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
}

/* Botao de notas — destaque sutil quando preenchido */
.chat-btn-note-on[b-sbwj3yk99m] {
    opacity: 1;
    background: rgba(251, 191, 36, 0.28);
    color: #fef9c3;
}

.chat-btn-note-on:hover[b-sbwj3yk99m] {
    background: rgba(251, 191, 36, 0.42);
}

/* Pill "Aguardando" no header de conversas em preview */
.chat-pending-pill[b-sbwj3yk99m] {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 2px 7px;
    border-radius: 999px;
    flex-shrink: 0;
    animation: pending-pill-pulse-b-sbwj3yk99m 2.4s ease-in-out infinite;
}

@keyframes pending-pill-pulse-b-sbwj3yk99m {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.0); }
    50% { box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.45); }
}

.chat-header-pending[b-sbwj3yk99m] {
    background: linear-gradient(180deg, #d4533c, #b54125);
}

/* Actions panel — floating above messages */
.chat-actions-panel[b-sbwj3yk99m] {
    padding: 8px 10px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 160px;
    overflow-y: auto;
}

.actions-row[b-sbwj3yk99m] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.actions-label[b-sbwj3yk99m] {
    font-size: 0.65rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 56px;
    flex-shrink: 0;
}

.actions-pills[b-sbwj3yk99m] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.pill[b-sbwj3yk99m] {
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 10px;
    border: 1.5px solid var(--pill-color, #ccc);
    background: white;
    color: var(--pill-color, #666);
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    line-height: 1.4;
}

.pill:hover:not(:disabled)[b-sbwj3yk99m] {
    background: color-mix(in srgb, var(--pill-color) 10%, white);
}

.pill-active[b-sbwj3yk99m] {
    background: var(--pill-color, #ccc);
    color: white;
    font-weight: 600;
}

.pill-active:hover:not(:disabled)[b-sbwj3yk99m] {
    background: var(--pill-color, #ccc);
    opacity: 0.9;
}

.pill:disabled[b-sbwj3yk99m] {
    opacity: 0.5;
    cursor: default;
}

.pill-remove[b-sbwj3yk99m] {
    border-color: #e74c3c;
    color: #e74c3c;
    padding: 2px 6px;
    font-weight: 700;
}

.pill-remove:hover:not(:disabled)[b-sbwj3yk99m] {
    background: #fde8e8;
}

.pill-input[b-sbwj3yk99m] {
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 10px;
    border: 1.5px solid var(--color-primary, #00a884);
    outline: none;
    width: 90px;
    font-family: inherit;
}

.pill-input:focus[b-sbwj3yk99m] {
    box-shadow: 0 0 0 2px rgba(0, 168, 132, 0.2);
}

/* Messages area */
.chat-messages[b-sbwj3yk99m] {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 160px;
    max-height: 280px;
    background: #e5ddd5;
}

.chat-load-more[b-sbwj3yk99m] {
    align-self: center;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    border-radius: 12px;
    padding: 4px 12px;
    font-size: 0.75rem;
    color: var(--color-primary, #00a884);
    cursor: pointer;
    margin-bottom: 4px;
}

.chat-load-more:hover:not(:disabled)[b-sbwj3yk99m] {
    background: rgba(0, 0, 0, 0.1);
}

.chat-load-more:disabled[b-sbwj3yk99m] {
    opacity: 0.5;
    cursor: default;
}

/* Date separator */
.chat-date-separator[b-sbwj3yk99m] {
    align-self: center;
    background: rgba(225, 218, 208, 0.88);
    border-radius: 8px;
    padding: 3px 12px;
    font-size: 0.7rem;
    color: #54656f;
    margin: 6px 0;
    text-transform: capitalize;
    box-shadow: 0 1px 0.5px rgba(0,0,0,0.06);
    user-select: none;
}

/* Message bubbles */
.chat-msg[b-sbwj3yk99m] {
    max-width: 80%;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: var(--chat-font-size, 0.8rem);
    line-height: 1.35;
    word-wrap: break-word;
}

.chat-msg-in[b-sbwj3yk99m] {
    align-self: flex-start;
    background: white;
    border-top-left-radius: 2px;
}

.chat-msg-out[b-sbwj3yk99m] {
    align-self: flex-end;
    background: #dcf8c6;
    border-top-right-radius: 2px;
}

.chat-msg-text[b-sbwj3yk99m] {
    display: block;
    white-space: pre-wrap;
}

.chat-transcription[b-sbwj3yk99m] {
    display: block;
    font-size: 11px;
    font-style: italic;
    color: var(--color-text-secondary, #888);
    margin-top: 2px;
}
.chat-transcribing[b-sbwj3yk99m] { opacity: 0.7; }
.chat-transcribe-btn[b-sbwj3yk99m] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    padding: 3px 8px;
    background: transparent;
    border: 1px dashed var(--color-border, #d1d5db);
    border-radius: 6px;
    color: var(--color-text-secondary, #888);
    font-size: 11px;
    cursor: pointer;
}
.chat-transcribe-btn:hover[b-sbwj3yk99m] { background: rgba(0, 0, 0, 0.04); }

.chat-msg-meta[b-sbwj3yk99m] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 3px;
    font-size: 0.65rem;
    color: rgba(0, 0, 0, 0.4);
    margin-top: 2px;
}

.chat-delivery[b-sbwj3yk99m] {
    font-size: 0.7rem;
}

.chat-delivery-read[b-sbwj3yk99m] {
    color: #53bdeb;
}

/* Send error */
.chat-send-error[b-sbwj3yk99m] {
    padding: 4px 10px;
    font-size: 11px;
    color: #dc2626;
    background: #fef2f2;
    text-align: center;
}

/* AI Suggestions */
.chat-suggestions[b-sbwj3yk99m] {
    display: flex;
    gap: 4px;
    padding: 4px 8px;
    overflow-x: auto;
    flex-shrink: 0;
    border-top: 1px solid var(--color-border, #e5e7eb);
    background: var(--color-bg, #f9fafb);
}

.chat-suggestion-chip[b-sbwj3yk99m] {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid var(--color-primary, #00a884);
    background: white;
    color: var(--color-primary, #00a884);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.15s;
}

.chat-suggestion-chip:hover[b-sbwj3yk99m] {
    background: var(--color-primary, #00a884);
    color: white;
}

/* Input area */
.chat-input-area[b-sbwj3yk99m] {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    padding: 6px 8px;
    border-top: 1px solid #e0e0e0;
    background: #f0f0f0;
}

.chat-input[b-sbwj3yk99m] {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 0.8rem;
    resize: none;
    outline: none;
    font-family: inherit;
    max-height: 80px;
    overflow-y: auto;
}

.chat-input:focus[b-sbwj3yk99m] {
    border-color: var(--color-primary, #00a884);
}

.chat-send-btn[b-sbwj3yk99m] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--color-primary, #00a884);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-send-btn:hover:not(:disabled)[b-sbwj3yk99m] {
    opacity: 0.9;
}

.chat-send-btn:disabled[b-sbwj3yk99m] {
    opacity: 0.5;
    cursor: default;
}

.chat-window-expired[b-sbwj3yk99m] {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    padding: 8px;
}

/* Media support */
.chat-msg-image[b-sbwj3yk99m] { max-width: 200px; max-height: 200px; border-radius: 8px; cursor: pointer; object-fit: cover; }
.chat-msg-video[b-sbwj3yk99m] { max-width: 250px; max-height: 200px; border-radius: 8px; }
.chat-msg-sticker[b-sbwj3yk99m] { width: 96px; height: 96px; object-fit: contain; }
.chat-msg-caption[b-sbwj3yk99m] { font-size: 11px; display: block; margin-top: 2px; color: var(--color-text-secondary); }

.chat-msg-document[b-sbwj3yk99m] {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 10px; border-radius: 8px;
    background: rgba(0,0,0,0.05); color: var(--color-primary, #00a884);
    text-decoration: none; font-size: 12px; font-weight: 500;
    transition: background 0.15s;
}
.chat-msg-document:hover[b-sbwj3yk99m] { background: rgba(0,0,0,0.1); }
.chat-msg-document svg[b-sbwj3yk99m] { flex-shrink: 0; stroke: var(--color-primary, #00a884); }

.chat-media-pending[b-sbwj3yk99m] {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 12px; border-radius: 8px;
    background: rgba(0,0,0,0.04); color: var(--color-text-secondary, #888);
    font-size: 11px;
}
.chat-media-pending svg[b-sbwj3yk99m] { animation: spin-b-sbwj3yk99m 1.5s linear infinite; flex-shrink: 0; stroke: var(--color-text-secondary, #888); }
@keyframes spin-b-sbwj3yk99m { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.chat-media-expired[b-sbwj3yk99m] {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 10px; border-radius: 8px;
    background: rgba(0,0,0,0.04); color: #999;
    font-size: 11px; font-style: italic;
}
.chat-media-expired svg[b-sbwj3yk99m] { flex-shrink: 0; stroke: #999; }

.hidden[b-sbwj3yk99m] { display: none !important; }

/* Audio recording */
.chat-mic-btn[b-sbwj3yk99m] {
    width: 32px; height: 32px; border-radius: 50%; border: none;
    background: var(--color-primary, #00a884); color: white;
    cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chat-mic-btn:hover[b-sbwj3yk99m] { opacity: 0.9; }
.chat-mic-btn svg[b-sbwj3yk99m] { stroke: white; }

.chat-recording-bar[b-sbwj3yk99m] {
    flex: 1; display: flex; align-items: center; gap: 8px;
    background: #fee2e2; border-radius: 16px; padding: 4px 12px;
    animation: recording-pulse-b-sbwj3yk99m 1.5s ease-in-out infinite;
}
@keyframes recording-pulse-b-sbwj3yk99m { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }

.chat-recording-dot[b-sbwj3yk99m] {
    width: 8px; height: 8px; border-radius: 50%; background: #dc2626;
    animation: rec-blink-b-sbwj3yk99m 1s ease-in-out infinite;
}
@keyframes rec-blink-b-sbwj3yk99m { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

.chat-recording-time[b-sbwj3yk99m] { font-size: 13px; font-weight: 600; color: #dc2626; font-variant-numeric: tabular-nums; }

.chat-btn-cancel-rec[b-sbwj3yk99m] {
    background: none; border: none; cursor: pointer; padding: 2px;
    color: #dc2626; display: flex; align-items: center;
}
.chat-btn-cancel-rec:hover[b-sbwj3yk99m] { opacity: 0.7; }
.image-popup-backdrop[b-sbwj3yk99m] { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 99998; cursor: pointer; }
.image-popup-modal[b-sbwj3yk99m] { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 99999; display: flex; flex-direction: column; align-items: center; outline: none; }
.image-popup-img[b-sbwj3yk99m] { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.image-popup-close[b-sbwj3yk99m] { align-self: flex-end; background: rgba(255,255,255,0.15); border: none; color: white; font-size: 28px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; margin-bottom: 8px; }
.image-popup-close:hover[b-sbwj3yk99m] { background: rgba(255,255,255,0.3); }

/* Drag & Resize (#166) */
.chat-panel-focused .chat-header[b-sbwj3yk99m] { cursor: grab; }
.chat-panel-focused .chat-header:active[b-sbwj3yk99m] { cursor: grabbing; }
.chat-resize-handle[b-sbwj3yk99m] {
    position: absolute; bottom: 0; right: 0;
    width: 16px; height: 16px; cursor: nwse-resize;
    background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,0.15) 50%);
    border-radius: 0 0 8px 0;
}

/* Status bar — chips below header (#176) */
.chat-status-bar[b-sbwj3yk99m] {
    display: flex; gap: 4px; padding: 3px 8px;
    background: var(--color-bg); border-bottom: 1px solid var(--color-border);
    flex-shrink: 0; position: relative; flex-wrap: wrap;
}
.chat-chip[b-sbwj3yk99m] {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 10px; border-radius: 12px; border: none;
    font-size: 11px; font-weight: 600; color: white;
    cursor: pointer; white-space: nowrap;
    background: var(--chip-color, var(--color-text-secondary));
}
.chat-chip:hover[b-sbwj3yk99m] { opacity: 0.85; }
.chat-chip-dot[b-sbwj3yk99m] {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.6);
}
.chat-qa-dot[b-sbwj3yk99m] { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.chat-qa-backdrop[b-sbwj3yk99m] { position: fixed; inset: 0; z-index: 100; }
.chat-qa-dropdown[b-sbwj3yk99m] {
    position: absolute; top: 30px; right: 0;
    background: white; border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    z-index: 101; min-width: 160px; overflow: hidden;
    animation: qaFadeIn-b-sbwj3yk99m 0.12s ease;
}
.chat-qa-current[b-sbwj3yk99m] { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 12px; color: var(--color-text-secondary); border-bottom: 1px solid var(--color-border); }
.chat-qa-option[b-sbwj3yk99m] { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 12px; border: none; background: none; font-size: 13px; color: var(--color-text); cursor: pointer; text-align: left; }
.chat-qa-option:hover[b-sbwj3yk99m] { background: var(--color-hover); }
.chat-qa-active[b-sbwj3yk99m] { font-weight: 600; background: var(--color-hover); }
.chat-qa-divider[b-sbwj3yk99m] { height: 1px; background: var(--color-border); margin: 2px 0; }
.chat-qa-pix[b-sbwj3yk99m] { color: var(--color-primary) !important; font-weight: 500; }
@keyframes qaFadeIn-b-sbwj3yk99m { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.chat-attach-btn[b-sbwj3yk99m], .chat-camera-btn[b-sbwj3yk99m], .chat-pix-btn[b-sbwj3yk99m] { cursor: pointer; font-size: 18px; padding: 4px; opacity: 0.7; display: flex; align-items: center; background: none; border: none; color: var(--color-text-secondary); }
.chat-attach-btn:hover[b-sbwj3yk99m], .chat-camera-btn:hover[b-sbwj3yk99m], .chat-pix-btn:hover[b-sbwj3yk99m] { opacity: 1; }
.chat-pix-btn[b-sbwj3yk99m] { color: var(--color-primary); opacity: 0.8; }

/* Pix Modal */
.pix-modal-backdrop[b-sbwj3yk99m] { position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 500; }
.pix-modal[b-sbwj3yk99m] {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: white; border-radius: 12px; padding: 20px; z-index: 501;
    width: 340px; max-width: 90vw; box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.pix-modal h4[b-sbwj3yk99m] { margin: 0 0 16px; font-size: 16px; font-weight: 700; }
.pix-field[b-sbwj3yk99m] { margin-bottom: 12px; }
.pix-field label[b-sbwj3yk99m] { display: block; font-size: 12px; font-weight: 600; color: var(--color-text-secondary); margin-bottom: 4px; }
.pix-field input[b-sbwj3yk99m] { width: 100%; padding: 8px 12px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 14px; }
.pix-result[b-sbwj3yk99m] { text-align: center; margin: 12px 0; }
.pix-qr[b-sbwj3yk99m] { width: 160px; height: 160px; border-radius: 8px; margin-bottom: 8px; }
.pix-copy input[b-sbwj3yk99m] { width: 100%; font-size: 11px; padding: 6px 8px; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-bg); }
.pix-status-ok[b-sbwj3yk99m] { color: var(--color-resolved); font-size: 13px; font-weight: 600; margin-top: 8px; }
.pix-error[b-sbwj3yk99m] { color: var(--color-danger); font-size: 12px; }
.pix-sent-hint[b-sbwj3yk99m] { color: var(--color-primary); font-size: 13px; font-weight: 600; margin-top: 8px; }
.pix-steps[b-sbwj3yk99m] { text-align: left; font-size: 12px; color: var(--color-text-secondary); margin: 8px 0 0; padding-left: 20px; }
.pix-steps li[b-sbwj3yk99m] { margin-bottom: 4px; }
.pix-actions[b-sbwj3yk99m] { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }

.chat-image-preview[b-sbwj3yk99m] { display: flex; align-items: center; gap: 8px; padding: 8px; border-top: 1px solid var(--color-border); }
.chat-preview-thumb[b-sbwj3yk99m] { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }

/* Webcam modal */
.webcam-backdrop[b-sbwj3yk99m] { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 99998; }
.webcam-modal[b-sbwj3yk99m] { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 99999; background: white; border-radius: 12px; overflow: hidden; width: 400px; max-width: 95vw; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.webcam-header[b-sbwj3yk99m] { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-weight: 600; font-size: 14px; border-bottom: 1px solid #e5e7eb; }
.webcam-close[b-sbwj3yk99m] { background: none; border: none; font-size: 22px; cursor: pointer; color: #6b7280; }
.webcam-close:hover[b-sbwj3yk99m] { color: #111; }
.webcam-video[b-sbwj3yk99m] { width: 100%; aspect-ratio: 4/3; background: #111; display: block; }
.webcam-actions[b-sbwj3yk99m] { display: flex; gap: 8px; justify-content: center; padding: 12px; border-top: 1px solid #e5e7eb; }

/* Mobile QR modal (#143) */
.mobile-qr-backdrop[b-sbwj3yk99m] { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99998; }
.mobile-qr-modal[b-sbwj3yk99m] { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 99999; background: white; border-radius: 16px; width: 300px; max-width: 95vw; box-shadow: 0 20px 60px rgba(0,0,0,0.2); overflow: hidden; }
.mobile-qr-header[b-sbwj3yk99m] { display: flex; justify-content: space-between; align-items: center; padding: 16px; font-weight: 600; border-bottom: 1px solid #e5e7eb; }
.mobile-qr-body[b-sbwj3yk99m] { padding: 24px; text-align: center; }
.mobile-qr-img[b-sbwj3yk99m] { width: 200px; height: 200px; margin: 0 auto 16px; display: block; border-radius: 8px; }
.mobile-qr-hint[b-sbwj3yk99m] { font-size: 13px; color: #6b7280; margin-bottom: 12px; }
.mobile-qr-actions[b-sbwj3yk99m] { display: flex; justify-content: center; gap: 8px; }
.mobile-qr-copied[b-sbwj3yk99m] { font-size: 12px; color: #16a34a; display: block; margin-top: 8px; }

/* Focused/expanded mini-chat (#138) */
.chat-panel-focused[b-sbwj3yk99m] { width: 600px; height: 70vh; position: fixed; bottom: 60px; left: calc(50% - 300px); z-index: 200; box-shadow: 0 8px 32px rgba(0,0,0,0.2); border-radius: 12px; }

/* Mobile responsive (#137) */
@media (max-width: 768px) {
    .chat-panel:not(.chat-minimized)[b-sbwj3yk99m] { width: 100vw !important; height: calc(100vh - 56px); position: fixed; top: 56px; left: 0; z-index: 100; border-radius: 0; }
}
/* /Components/ClaimBar.razor.rz.scp.css */
/* Barra de "puxar atendimento" — usa tons derivados de --color-primary pra
   seguir a marca do merchant (verde no padrão WA, mas troca se merchant
   escolher outra cor). Substitui o compose area quando conversa sem atendente. */
.claim-bar[b-q6w8otaott] {
    background: var(--color-primary-soft);
    border-top: 1px solid var(--color-primary-light);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.claim-btn-primary[b-q6w8otaott],
.claim-btn-secondary[b-q6w8otaott] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 24px;
    border: 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s ease, background 0.15s ease, box-shadow 0.15s ease;
    line-height: 1;
}

.claim-btn-primary[b-q6w8otaott] {
    flex: 1;
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 2px 8px var(--color-primary-glow);
    min-width: 200px;
}

.claim-btn-primary:hover:not(:disabled)[b-q6w8otaott] {
    background: var(--color-primary-hover);
    box-shadow: 0 4px 14px var(--color-primary-glow);
    transform: translateY(-1px);
}

.claim-btn-primary:disabled[b-q6w8otaott] {
    background: var(--color-primary-soft);
    color: var(--color-text-secondary);
    box-shadow: none;
    cursor: not-allowed;
}

.claim-btn-primary:active:not(:disabled)[b-q6w8otaott] { transform: translateY(0); }

.claim-btn-secondary[b-q6w8otaott] {
    background: var(--color-surface);
    color: var(--color-primary-dark);
    border: 1px solid var(--color-primary-light);
    flex-shrink: 0;
}

.claim-btn-secondary:hover[b-q6w8otaott] {
    background: var(--color-primary-tint);
    color: var(--color-primary-dark);
    border-color: var(--color-primary);
}

.claim-spinner[b-q6w8otaott] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: claim-spin-b-q6w8otaott 0.7s linear infinite;
}

@keyframes claim-spin-b-q6w8otaott {
    to { transform: rotate(360deg); }
}

/* Popover de selecao de atendente */
.claim-bar[b-q6w8otaott] { position: relative; }

.claim-popover-backdrop[b-q6w8otaott] {
    position: fixed;
    inset: 0;
    z-index: 60;
}

.claim-popover[b-q6w8otaott] {
    position: absolute;
    bottom: calc(100% + 6px);
    right: 14px;
    z-index: 61;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 6px;
    min-width: 260px;
    max-height: 320px;
    overflow-y: auto;
}

.claim-popover-title[b-q6w8otaott] {
    padding: 10px 12px 6px;
    font-size: 11px;
    color: #6b7280;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.claim-popover-item[b-q6w8otaott] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: transparent;
    border: 0;
    padding: 9px 10px;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    color: #111827;
    font-size: 14px;
    transition: background 0.12s ease;
}

.claim-popover-item:hover:not(:disabled)[b-q6w8otaott] {
    background: var(--color-primary-tint);
}

.claim-popover-item:disabled[b-q6w8otaott] {
    opacity: 0.5;
    cursor: not-allowed;
}

.claim-popover-self[b-q6w8otaott] {
    background: var(--color-primary-soft);
    margin-bottom: 4px;
}

.claim-popover-self:hover:not(:disabled)[b-q6w8otaott] {
    background: var(--color-primary-light);
}

.claim-popover-avatar[b-q6w8otaott] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-text-secondary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.claim-popover-avatar-self[b-q6w8otaott] {
    background: var(--color-primary);
}

.claim-popover-name[b-q6w8otaott] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.claim-popover-self .claim-popover-name[b-q6w8otaott] {
    font-weight: 600;
    color: var(--color-primary-dark);
}

.claim-popover-empty[b-q6w8otaott] {
    padding: 16px 12px;
    color: #6b7280;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 600px) {
    .claim-bar[b-q6w8otaott] {
        padding: 10px;
    }

    .claim-btn-primary[b-q6w8otaott] { min-width: 0; }

    .claim-btn-secondary span[b-q6w8otaott] { display: none; }

    .claim-popover[b-q6w8otaott] {
        right: 10px;
        left: 10px;
        min-width: 0;
    }
}
/* /Components/ClaimChooserDialog.razor.rz.scp.css */
.ccd-backdrop[b-7yyschrnwu] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 1100;
}

.ccd-dialog[b-7yyschrnwu] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1101;
    width: min(380px, calc(100vw - 32px));
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.32);
    overflow: hidden;
    animation: ccd-pop-b-7yyschrnwu 0.16s ease-out;
}

@keyframes ccd-pop-b-7yyschrnwu {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.96); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.ccd-header[b-7yyschrnwu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 8px;
}

.ccd-header h3[b-7yyschrnwu] {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.ccd-close[b-7yyschrnwu] {
    background: transparent;
    border: 0;
    font-size: 22px;
    line-height: 1;
    color: #9ca3af;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
}

.ccd-close:hover[b-7yyschrnwu] { background: #f3f4f6; color: #374151; }

.ccd-body[b-7yyschrnwu] { padding: 0 12px 14px; }

.ccd-subject[b-7yyschrnwu] {
    margin: 0 4px 4px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.ccd-hint[b-7yyschrnwu] {
    margin: 0 4px 12px;
    font-size: 12px;
    color: #6b7280;
}

.ccd-empty[b-7yyschrnwu] {
    padding: 16px 8px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

.ccd-item[b-7yyschrnwu] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: transparent;
    border: 0;
    padding: 9px 10px;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    color: #111827;
    font-size: 14px;
    transition: background 0.12s ease;
    margin-bottom: 2px;
}

.ccd-item:hover:not(:disabled)[b-7yyschrnwu] { background: var(--color-primary-tint); }
.ccd-item:disabled[b-7yyschrnwu] { opacity: 0.5; cursor: not-allowed; }

.ccd-item-self[b-7yyschrnwu] {
    background: var(--color-primary-soft);
    margin-bottom: 4px;
}

.ccd-item-self:hover:not(:disabled)[b-7yyschrnwu] { background: var(--color-primary-light); }

.ccd-avatar[b-7yyschrnwu] {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--color-text-secondary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.ccd-avatar-self[b-7yyschrnwu] { background: var(--color-primary); }

.ccd-item-self .ccd-name[b-7yyschrnwu] {
    font-weight: 600;
    color: var(--color-primary-dark);
}

.ccd-name[b-7yyschrnwu] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* /Components/ContactAvatar.razor.rz.scp.css */
.cavatar[b-f6206mkgu3] {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #d9dee2;
}

.cavatar img[b-f6206mkgu3] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cavatar-fallback[b-f6206mkgu3] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    user-select: none;
    letter-spacing: 0.5px;
}
/* /Components/ContactNotesDialog.razor.rz.scp.css */
.cnd-backdrop[b-2e77kuyde3] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 1100;
    backdrop-filter: blur(2px);
    animation: cnd-fade-b-2e77kuyde3 0.15s ease-out;
}

.cnd-dialog[b-2e77kuyde3] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1101;
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 64px);
    background: var(--color-surface);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    animation: cnd-pop-b-2e77kuyde3 0.18s ease-out;
}

@keyframes cnd-fade-b-2e77kuyde3 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cnd-pop-b-2e77kuyde3 {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.96); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Header em tom papel — signature de "anotação" sem virar amarelo gritante. */
.cnd-header[b-2e77kuyde3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-paper);
}

.cnd-header h3[b-2e77kuyde3] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cnd-close[b-2e77kuyde3] {
    background: transparent;
    border: 0;
    font-size: 24px;
    line-height: 1;
    color: var(--color-text-secondary);
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
}

.cnd-close:hover[b-2e77kuyde3] { background: var(--color-hover); color: var(--color-text); }

.cnd-body[b-2e77kuyde3] {
    padding: 16px 18px 8px;
    flex: 1;
    overflow-y: auto;
}

.cnd-hint[b-2e77kuyde3] {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin: 0 0 10px;
    line-height: 1.5;
}

.cnd-textarea[b-2e77kuyde3] {
    width: 100%;
    min-height: 160px;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font: inherit;
    resize: vertical;
    background: var(--color-bg-paper);
    line-height: 1.5;
    color: var(--color-text);
}

.cnd-textarea:focus[b-2e77kuyde3] {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.cnd-counter[b-2e77kuyde3] {
    text-align: right;
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
}

.cnd-footer[b-2e77kuyde3] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 18px 16px;
    border-top: 1px solid var(--color-divider);
    background: var(--color-surface);
}

.cnd-error[b-2e77kuyde3] {
    color: var(--color-danger);
    font-size: 12px;
    margin-right: auto;
}

.cnd-btn[b-2e77kuyde3] {
    padding: 8px 16px;
    border-radius: 8px;
    border: 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.12s ease;
}

.cnd-btn:disabled[b-2e77kuyde3] {
    opacity: 0.55;
    cursor: not-allowed;
}

.cnd-btn-ghost[b-2e77kuyde3] {
    background: transparent;
    color: var(--color-text-secondary);
}

.cnd-btn-ghost:hover:not(:disabled)[b-2e77kuyde3] { background: var(--color-hover); color: var(--color-text); }

.cnd-btn-primary[b-2e77kuyde3] {
    background: var(--color-primary);
    color: #fff;
}

.cnd-btn-primary:hover:not(:disabled)[b-2e77kuyde3] { background: var(--color-primary-hover); }

@media (max-width: 600px) {
    .cnd-dialog[b-2e77kuyde3] {
        width: 100vw;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        top: 0;
        left: 0;
        transform: none;
    }
    @keyframes cnd-pop-b-2e77kuyde3 {
        from { opacity: 0; transform: translateY(20px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}
/* /Components/ConversationCard.razor.rz.scp.css */
.card[b-azkebtt6ct] {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 12px 14px;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
    border: 2px solid transparent;
}

.card:hover[b-azkebtt6ct] {
    background: var(--color-hover);
}

.card-selected[b-azkebtt6ct] {
    border-color: var(--color-primary);
    box-shadow: var(--shadow);
}

.card-header[b-azkebtt6ct] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.status-dot[b-azkebtt6ct] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.card-info[b-azkebtt6ct] {
    flex: 1;
    min-width: 0;
}

.card-name[b-azkebtt6ct] {
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-preview[b-azkebtt6ct] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.card-attendant[b-azkebtt6ct] {
    margin-top: 2px;
    font-style: italic;
}

.card-meta[b-azkebtt6ct] {
    flex-shrink: 0;
    white-space: nowrap;
}

.reopen-badge[b-azkebtt6ct] {
    background: #f59e0b;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 10px;
}

.unread-badge[b-azkebtt6ct] {
    background: var(--color-primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.marker-dots[b-azkebtt6ct] {
    display: flex;
    gap: 4px;
    margin-top: 6px;
    padding-left: 22px;
}

.marker-dot[b-azkebtt6ct] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.card-tags[b-azkebtt6ct] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-left: 22px;
}

.card-actions[b-azkebtt6ct] {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    padding-left: 22px;
}

.status-btn[b-azkebtt6ct] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    font-size: 11px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all var(--transition);
    opacity: 0.4;
}

.status-btn:hover[b-azkebtt6ct] {
    opacity: 0.8;
    transform: scale(1.1);
}

.status-btn.active[b-azkebtt6ct] {
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.status-btn.dot-pending[b-azkebtt6ct] { background: var(--color-pending); }
.status-btn.dot-in-progress[b-azkebtt6ct] { background: var(--color-in-progress); }
.status-btn.dot-resolved[b-azkebtt6ct] { background: var(--color-resolved); }

.status-btn:disabled[b-azkebtt6ct] {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.card-error[b-azkebtt6ct] {
    color: var(--color-pending);
    padding: 4px 0 0 22px;
}

[b-azkebtt6ct] .dot-pending { background: var(--color-pending); }
[b-azkebtt6ct] .dot-in-progress { background: var(--color-in-progress); }
[b-azkebtt6ct] .dot-resolved { background: var(--color-resolved); }
/* /Components/ConversationDetail.razor.rz.scp.css */
.detail-panel[b-4ab61498x2] {
    background: var(--color-surface);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--color-border);
}

.detail-header[b-4ab61498x2] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
}

.detail-close[b-4ab61498x2] {
    font-size: 18px;
}

.detail-body[b-4ab61498x2] {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.detail-section[b-4ab61498x2] {
    margin-bottom: 24px;
}

.detail-section h3[b-4ab61498x2] {
    margin-bottom: 10px;
    color: var(--color-text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-field[b-4ab61498x2] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
}

.status-buttons[b-4ab61498x2] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.status-btn-lg[b-4ab61498x2] {
    padding: 8px 16px;
    border: 2px solid var(--btn-color);
    border-radius: var(--radius);
    background: transparent;
    color: var(--btn-color);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.status-btn-lg:hover:not(:disabled)[b-4ab61498x2] {
    background: var(--btn-color);
    color: white;
}

.status-btn-lg:disabled[b-4ab61498x2] {
    opacity: 0.5;
    cursor: not-allowed;
}

.status-btn-lg.active[b-4ab61498x2] {
    background: var(--btn-color);
    color: white;
    box-shadow: var(--shadow);
}

.markers-list[b-4ab61498x2] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tags-list[b-4ab61498x2] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    min-height: 24px;
}

.tag-add[b-4ab61498x2] {
    display: flex;
    gap: 8px;
}

.tag-add input[b-4ab61498x2] {
    flex: 1;
}

.last-message[b-4ab61498x2] {
    background: var(--color-bg);
    padding: 12px;
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.message-history[b-4ab61498x2] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.message-item[b-4ab61498x2] {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 8px 10px;
    background: var(--color-bg);
    border-radius: var(--radius);
    font-size: 13px;
    line-height: 1.4;
}

.message-time[b-4ab61498x2] {
    flex-shrink: 0;
    font-size: 11px;
    white-space: nowrap;
    padding-top: 1px;
}

.message-content[b-4ab61498x2] {
    color: var(--color-text);
    word-break: break-word;
}

.chat-transcription[b-4ab61498x2] {
    display: block;
    font-size: 12px;
    font-style: italic;
    color: var(--color-text-secondary);
    margin-top: 4px;
}

.attendant-assigned[b-4ab61498x2] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.attendant-name[b-4ab61498x2] {
    font-weight: 500;
    flex: 1;
}

.attendant-select select[b-4ab61498x2] {
    width: 100%;
}

.detail-actions-bottom[b-4ab61498x2] {
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
    margin-top: auto;
}

.detail-error[b-4ab61498x2] {
    background: #fef2f2;
    color: #dc2626;
    padding: 8px 16px;
    font-size: 13px;
    border-bottom: 1px solid #fecaca;
}

.spinner-sm[b-4ab61498x2] {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin-b-4ab61498x2 0.6s linear infinite;
}

@keyframes spin-b-4ab61498x2 {
    to { transform: rotate(360deg); }
}

.message-outgoing[b-4ab61498x2] {
    background: #dcf8c6;
    margin-left: 20px;
}

.delivery-badge[b-4ab61498x2] {
    flex-shrink: 0;
    font-size: 10px;
    color: var(--color-text-secondary);
    align-self: flex-end;
    font-style: italic;
}

.reply-compose[b-4ab61498x2] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reply-compose textarea[b-4ab61498x2] {
    resize: vertical;
    min-height: 60px;
}

.message-status[b-4ab61498x2] {
    font-size: 10px;
    color: var(--color-text-secondary);
}

.section-disabled[b-4ab61498x2] {
    opacity: 0.45;
}

.section-disabled .tag-add input[b-4ab61498x2],
.section-disabled .tag-add button[b-4ab61498x2] {
    pointer-events: none;
}

.upgrade-hint[b-4ab61498x2] {
    font-size: 10px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    background: #fef3c7;
    color: #92400e;
    padding: 1px 8px;
    border-radius: 8px;
    margin-left: 6px;
    vertical-align: middle;
}

.message-audio[b-4ab61498x2] {
    max-width: 220px;
    height: 32px;
}

.message-audio-label[b-4ab61498x2] {
    font-style: italic;
    color: var(--color-text-secondary);
}

.audio-upload[b-4ab61498x2] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.audio-upload-btn[b-4ab61498x2] {
    cursor: pointer;
    white-space: nowrap;
}

.quick-reply-list[b-4ab61498x2] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.quick-reply-chip[b-4ab61498x2] {
    padding: 6px 12px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 12px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.quick-reply-chip:hover[b-4ab61498x2] {
    background: var(--color-primary, #2563eb);
    color: white;
    border-color: var(--color-primary, #2563eb);
}

.quick-reply-copied[b-4ab61498x2] {
    background: #16a34a;
    color: white;
    border-color: #16a34a;
}

.priority-select[b-4ab61498x2] {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    cursor: pointer;
    font-weight: 600;
    margin-left: auto;
}

.priority-normal[b-4ab61498x2] {
    background: transparent;
    color: var(--color-text-secondary);
}

.priority-alta[b-4ab61498x2] {
    background: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}

.priority-urgente[b-4ab61498x2] {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

@media (max-width: 768px) {
    .detail-panel[b-4ab61498x2] {
        border-left: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
    }
}

/* AI Suggestion chips */
.ai-suggestion-list[b-4ab61498x2] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-suggestion-chip[b-4ab61498x2] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    cursor: pointer;
    text-align: left;
    font-size: 13px;
    transition: background 0.15s, border-color 0.15s;
}

.ai-suggestion-chip:hover[b-4ab61498x2] {
    background: var(--color-hover);
    border-color: var(--color-primary);
}

.ai-chip-tone[b-4ab61498x2] {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-primary-light, #e8f0fe);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-primary);
}

.ai-chip-text[b-4ab61498x2] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-suggestion-disabled[b-4ab61498x2] {
    padding: 8px 0;
    opacity: 0.7;
}

/* Chat History */
.history-list[b-4ab61498x2] { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.history-item[b-4ab61498x2] { padding: 8px; background: var(--color-bg); border-radius: var(--radius); cursor: pointer; }
.history-item:hover[b-4ab61498x2] { background: var(--color-hover); }
.history-date[b-4ab61498x2] { font-weight: 600; font-size: 13px; }
.history-meta[b-4ab61498x2] { font-size: 12px; color: var(--color-text-secondary); margin-left: 8px; }
.history-markers[b-4ab61498x2] { font-size: 11px; color: var(--color-text-secondary); display: block; }
.history-messages[b-4ab61498x2] { padding: 8px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); max-height: 300px; overflow-y: auto; margin-bottom: 8px; }
.history-msg[b-4ab61498x2] { padding: 4px 0; font-size: 13px; }
.history-msg-out[b-4ab61498x2] { text-align: right; }
.history-msg-time[b-4ab61498x2] { font-size: 10px; color: var(--color-text-secondary); margin-right: 6px; }

/* Image popup */
.image-popup-backdrop[b-4ab61498x2] { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 9998; cursor: pointer; }
.image-popup-modal[b-4ab61498x2] { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 9999; display: flex; flex-direction: column; align-items: center; outline: none; }
.image-popup-img[b-4ab61498x2] { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.image-popup-close[b-4ab61498x2] { align-self: flex-end; background: rgba(255,255,255,0.15); border: none; color: white; font-size: 28px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; margin-bottom: 8px; }
.image-popup-close:hover[b-4ab61498x2] { background: rgba(255,255,255,0.3); }

/* Pix Charges */
.pix-charges-list[b-4ab61498x2] { display: flex; flex-direction: column; gap: 6px; }
.pix-charge-item[b-4ab61498x2] {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 8px; background: var(--color-bg); border-radius: var(--radius);
    font-size: 13px;
}
.pix-charge-amount[b-4ab61498x2] { font-weight: 600; min-width: 80px; }
.pix-charge-status[b-4ab61498x2] {
    padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 500; color: white;
}
.pix-pending[b-4ab61498x2] { background: var(--color-in-progress); }
.pix-paid[b-4ab61498x2] { background: var(--color-resolved); }
.pix-expired[b-4ab61498x2] { background: var(--color-text-secondary); }
.pix-cancelled[b-4ab61498x2] { background: var(--color-danger); }
.pix-charge-date[b-4ab61498x2] { font-size: 11px; color: var(--color-text-secondary); }
.pix-copy-btn[b-4ab61498x2] { flex-shrink: 0; }
.pix-recheck-btn[b-4ab61498x2] { margin-left: auto; flex-shrink: 0; }
.pix-charge-stale[b-4ab61498x2] {
    background: #fef3c7;
    border: 1px solid #fcd34d;
}
.pix-charge-stale .pix-charge-status[b-4ab61498x2] { background: #d97706; }
.pix-totals[b-4ab61498x2] {
    display: flex; justify-content: space-between; margin-top: 8px;
    font-size: 12px; color: var(--color-text-secondary);
}
.pix-total-paid[b-4ab61498x2] { font-weight: 600; color: var(--color-resolved); }

/* Header da secao com botao de acao (ex: "Detalhes" ao lado de "Cobrancas Pix") */
.section-header-with-action[b-4ab61498x2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.section-header-with-action h3[b-4ab61498x2] {
    margin: 0;
}

/* Modal de detalhes consolidado de cobrancas — classes proprias pra evitar conflito
   com .modal-overlay scoped ao Dashboard.razor.css que nao chegaria aqui */
.charges-modal-backdrop[b-4ab61498x2] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fade-in-b-4ab61498x2 0.15s ease-out;
}

@keyframes fade-in-b-4ab61498x2 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.charges-modal-panel[b-4ab61498x2] {
    background: var(--color-surface);
    border-radius: var(--radius);
    width: 560px;
    max-width: 92vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

[b-4ab61498x2] .charges-details-header {
    display: flex;
    align-items: center;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--color-border);
}
[b-4ab61498x2] .charges-details-header h3 {
    margin: 0;
    font-size: 16px;
    flex: 1;
}
[b-4ab61498x2] .charges-details-close {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-text-secondary);
    padding: 0 4px;
    line-height: 1;
}
[b-4ab61498x2] .charges-details-summary {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
}
[b-4ab61498x2] .charges-summary-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
[b-4ab61498x2] .charges-summary-item strong {
    font-size: 18px;
}
[b-4ab61498x2] .charges-summary-paid strong { color: #16a34a; }
[b-4ab61498x2] .charges-summary-pending strong { color: #d97706; }

[b-4ab61498x2] .charges-details-list {
    padding: 12px 20px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
[b-4ab61498x2] .charge-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 12px;
    background: white;
}
[b-4ab61498x2] .charge-card-stale {
    border-color: #fcd34d;
    background: #fffbeb;
}
[b-4ab61498x2] .charge-card-paid {
    border-color: #bbf7d0;
    background: #f0fdf4;
}
[b-4ab61498x2] .charge-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}
[b-4ab61498x2] .charge-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 14px;
}
[b-4ab61498x2] .charge-icon-paid { background: #16a34a; }
[b-4ab61498x2] .charge-icon-pending { background: #d97706; }
[b-4ab61498x2] .charge-icon-stale { background: #ea580c; }
[b-4ab61498x2] .charge-icon-expired,
[b-4ab61498x2] .charge-icon-cancelled { background: var(--color-text-secondary); }

[b-4ab61498x2] .charge-card-amount {
    font-size: 18px;
    font-weight: 700;
    flex: 1;
}
[b-4ab61498x2] .charge-card-paid .charge-card-amount { color: #16a34a; }

[b-4ab61498x2] .charge-card-status {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
    color: white;
}
[b-4ab61498x2] .charge-status-paid { background: #16a34a; }
[b-4ab61498x2] .charge-status-pending { background: #d97706; }
[b-4ab61498x2] .charge-status-stale { background: #ea580c; }
[b-4ab61498x2] .charge-status-expired,
[b-4ab61498x2] .charge-status-cancelled { background: var(--color-text-secondary); }

[b-4ab61498x2] .charge-card-description {
    margin-top: 8px;
    padding: 6px 10px;
    background: var(--color-bg);
    border-radius: var(--radius);
    font-size: 13px;
    font-style: italic;
}
[b-4ab61498x2] .charge-card-meta {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
}
[b-4ab61498x2] .charge-card-txid code {
    background: var(--color-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    word-break: break-all;
    border: 1px solid var(--color-border);
}
[b-4ab61498x2] .charge-card-stale-warning {
    margin-top: 10px;
    padding: 8px 10px;
    background: #fef3c7;
    border-left: 3px solid #d97706;
    border-radius: var(--radius);
    font-size: 12px;
    color: #78350f;
}
[b-4ab61498x2] .charge-card-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

[b-4ab61498x2] .charges-details-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: flex-end;
}
/* /Components/FeedbackWidget.razor.rz.scp.css */
/* Floating action button */
.feedback-fab[b-qj5002duio] {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-primary, #6366f1);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
    z-index: 900;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feedback-fab:hover[b-qj5002duio] {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
}

/* Modal overlay */
.feedback-overlay[b-qj5002duio] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 24px;
    z-index: 1000;
}

.feedback-modal[b-qj5002duio] {
    background: var(--color-surface, #fff);
    border-radius: 16px;
    width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--color-border, #e5e7eb);
}

.feedback-header[b-qj5002duio] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border, #e5e7eb);
}

.feedback-header h3[b-qj5002duio] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.feedback-close[b-qj5002duio] {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--color-text-muted, #9ca3af);
    padding: 0 4px;
    line-height: 1;
}

.feedback-close:hover[b-qj5002duio] {
    color: var(--color-text, #374151);
}

.feedback-body[b-qj5002duio] {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feedback-field label[b-qj5002duio] {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text, #374151);
    margin-bottom: 4px;
}

.feedback-field select[b-qj5002duio],
.feedback-field input[b-qj5002duio],
.feedback-field textarea[b-qj5002duio] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--color-border, #d1d5db);
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: inherit;
    background: var(--color-surface, #fff);
    color: var(--color-text, #374151);
    resize: vertical;
}

.feedback-field select:focus[b-qj5002duio],
.feedback-field input:focus[b-qj5002duio],
.feedback-field textarea:focus[b-qj5002duio] {
    outline: none;
    border-color: var(--color-primary, #6366f1);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

.feedback-error[b-qj5002duio] {
    color: #dc2626;
    font-size: 0.82rem;
    margin: 0;
}

.feedback-actions[b-qj5002duio] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 4px;
}

.feedback-success[b-qj5002duio] {
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.feedback-success p[b-qj5002duio] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text, #374151);
}

@media (max-width: 480px) {
    .feedback-modal[b-qj5002duio] {
        width: 100%;
    }

    .feedback-overlay[b-qj5002duio] {
        padding: 12px;
    }
}
/* /Components/FilterBar.razor.rz.scp.css */
.filter-bar[b-m4y7furdek] {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-search[b-m4y7furdek] {
    flex: 1;
    min-width: 200px;
}

.filter-controls[b-m4y7furdek] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-controls select[b-m4y7furdek] {
    width: auto;
    min-width: 140px;
}

@media (max-width: 768px) {
    .filter-bar[b-m4y7furdek] {
        flex-direction: column;
    }

    .filter-search[b-m4y7furdek] {
        width: 100%;
    }

    .filter-controls[b-m4y7furdek] {
        width: 100%;
    }

    .filter-controls select[b-m4y7furdek] {
        flex: 1;
    }
}
/* /Components/HelpPanel.razor.rz.scp.css */
/* Backdrop */
.help-backdrop[b-yvc6typ16z] {
    position: fixed; inset: 0; background: rgba(0,0,0,0.3);
    z-index: 90; animation: helpFadeIn-b-yvc6typ16z 0.15s ease;
}

/* Panel */
.help-panel[b-yvc6typ16z] {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 400px; max-width: 100vw;
    background: white; z-index: 91;
    display: flex; flex-direction: column;
    box-shadow: -4px 0 20px rgba(0,0,0,0.12);
    animation: helpSlideIn-b-yvc6typ16z 0.2s ease;
}

.help-header[b-yvc6typ16z] {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--color-border);
}
.help-header h2[b-yvc6typ16z] {
    font-size: 17px; font-weight: 700; margin: 0;
    font-family: var(--font-display);
}
.help-close[b-yvc6typ16z] {
    background: none; border: none; font-size: 24px;
    color: var(--color-text-secondary); cursor: pointer; padding: 4px;
}

/* Search */
.help-search[b-yvc6typ16z] {
    padding: 12px 20px 0;
}
.help-search input[b-yvc6typ16z] {
    width: 100%; padding: 8px 14px; border: 1px solid var(--color-border);
    border-radius: var(--radius); font-size: 14px; outline: none;
    font-family: var(--font-body);
}
.help-search input:focus[b-yvc6typ16z] { border-color: var(--color-primary); }

/* Categories */
.help-categories[b-yvc6typ16z] {
    display: flex; gap: 6px; padding: 10px 20px;
    overflow-x: auto; flex-shrink: 0;
    scrollbar-width: none;
}
.help-categories[b-yvc6typ16z]::-webkit-scrollbar { display: none; }
.help-cat[b-yvc6typ16z] {
    padding: 4px 12px; border-radius: 14px;
    border: 1px solid var(--color-border); background: white;
    font-size: 12px; color: var(--color-text-secondary);
    cursor: pointer; white-space: nowrap; flex-shrink: 0;
}
.help-cat:hover[b-yvc6typ16z] { background: var(--color-hover); }
.help-cat-active[b-yvc6typ16z] {
    background: var(--color-primary); color: white;
    border-color: var(--color-primary);
}

/* Articles */
.help-articles[b-yvc6typ16z] {
    flex: 1; overflow-y: auto; padding: 8px 20px 20px;
}
.help-loading[b-yvc6typ16z], .help-empty[b-yvc6typ16z] {
    color: var(--color-text-secondary); font-size: 14px;
    text-align: center; padding: 24px 0;
}

.help-article[b-yvc6typ16z] {
    border: 1px solid var(--color-border); border-radius: var(--radius);
    margin-bottom: 8px; cursor: pointer; overflow: hidden;
    transition: border-color 0.15s;
}
.help-article:hover[b-yvc6typ16z] { border-color: var(--color-primary); }
.help-article-expanded[b-yvc6typ16z] { border-color: var(--color-primary); }

.help-article-header[b-yvc6typ16z] {
    padding: 12px 14px; display: flex; flex-wrap: wrap;
    align-items: center; gap: 6px;
}
.help-article-cat[b-yvc6typ16z] {
    font-size: 10px; font-weight: 600; color: var(--color-primary);
    background: var(--color-primary-light); padding: 2px 8px;
    border-radius: 8px; text-transform: uppercase; letter-spacing: 0.3px;
}
.help-article-header h3[b-yvc6typ16z] {
    flex: 1; font-size: 14px; font-weight: 600; margin: 0;
    color: var(--color-text); min-width: 0;
}
.help-chevron[b-yvc6typ16z] {
    transition: transform 0.2s; flex-shrink: 0;
}
.help-article-expanded .help-chevron[b-yvc6typ16z] { transform: rotate(180deg); }

.help-article-body[b-yvc6typ16z] {
    padding: 0 14px 14px; font-size: 13px; line-height: 1.6;
    color: var(--color-text); border-top: 1px solid var(--color-border);
    cursor: default;
}
.help-article-body p[b-yvc6typ16z] { margin: 8px 0; }
.help-article-body h4[b-yvc6typ16z], .help-article-body h5[b-yvc6typ16z] { margin: 12px 0 4px; }
.help-article-body code[b-yvc6typ16z] {
    background: var(--color-bg); padding: 1px 5px;
    border-radius: 3px; font-size: 12px;
}
.help-article-body li[b-yvc6typ16z] { margin-left: 16px; margin-bottom: 2px; }
.help-article-body strong[b-yvc6typ16z] { color: var(--color-text); }

/* Mobile */
@media (max-width: 768px) {
    .help-panel[b-yvc6typ16z] { width: 100vw; }
    .help-fab[b-yvc6typ16z] { bottom: 70px; right: 12px; width: 42px; height: 42px; }
}

@keyframes helpFadeIn-b-yvc6typ16z { from { opacity: 0; } to { opacity: 1; } }
@keyframes helpSlideIn-b-yvc6typ16z { from { transform: translateX(100%); } to { transform: translateX(0); } }
/* /Components/KanbanBoard.razor.rz.scp.css */
.kanban[b-etko6zul5m] {
    display: flex;
    gap: 16px;
    height: 100%;
    padding: 16px;
    overflow-x: auto;
}

/* Modo post-it: fundo doodle WhatsApp (mesmo do modo Atendimento) com
   colunas em folha pastel e post-its coloridos (#334). */
.kanban.kanban-cork-mode[b-etko6zul5m] {
    background-color: #efeae2;
    background-image: url("/img/whatsapp-doodle.svg");
    background-size: 220px 220px;
    background-repeat: repeat;
    padding: 22px 18px;
}

.kanban-column[b-etko6zul5m] {
    flex: 1;
    min-width: 260px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    background: var(--color-bg);
    border-radius: 12px;
    padding: 12px;
}

/* Coluna sobre o doodle: transparente, sem caixa propria — apenas o
   header colorido e separador vertical entre colunas faz a divisao. */
.kanban-cork-mode .kanban-column[b-etko6zul5m] {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: 0;
    padding: 8px 12px;
    position: relative;
}

/* Separador vertical entre colunas */
.kanban-cork-mode .kanban-column + .kanban-column[b-etko6zul5m]::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: -8px;
    width: 1px;
    background: rgba(0, 0, 0, 0.08);
}

/* Header inline sobre o doodle, sem pill flutuante. Tipografia faz o trabalho. */
.kanban-cork-mode .kanban-header[b-etko6zul5m] {
    color: var(--color-text);
    background: transparent;
    padding: 4px 8px 12px;
    margin: 0;
    box-shadow: none;
}

.kanban-cork-mode .kanban-count[b-etko6zul5m] {
    background: rgba(0, 0, 0, 0.06);
    color: var(--color-text-soft);
}

.kanban-header[b-etko6zul5m] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px 12px;
    font-weight: 600;
    font-size: 14px;
}

.kanban-dot[b-etko6zul5m] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.kanban-count[b-etko6zul5m] {
    background: var(--color-border);
    color: var(--color-text-secondary);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
}

.kanban-cards[b-etko6zul5m] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px;
    min-height: 100px;
}

/* === Cards papel (flat, com barra lateral colorida) ===
   Substitui o post-it rotacionado/com fita por um cartão limpo cor papel
   uniforme, com barra lateral 4px indicando o status. Mantém a leveza
   sobre o doodle do WA sem competir com o restante da UI. */
.sticky-note[b-etko6zul5m] {
    padding: 12px 14px;
    border-radius: 8px;
    cursor: grab;
    transition: transform 0.15s ease, box-shadow 0.18s ease;
    background: var(--color-bg-paper);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 4px solid var(--color-text-secondary);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.08);
    position: relative;
    color: var(--color-text);
}

.sticky-note:hover[b-etko6zul5m] {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 8px 18px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.sticky-note:active[b-etko6zul5m] {
    cursor: grabbing;
}

.sticky-pending[b-etko6zul5m]     { border-left-color: var(--color-pending); }
.sticky-in-progress[b-etko6zul5m] { border-left-color: var(--color-in-progress); }
.sticky-resolved[b-etko6zul5m]    { border-left-color: var(--color-resolved); }

/* === Modern (flat) === */
.kanban-modern[b-etko6zul5m] {
    padding: 14px;
    border-radius: 10px;
    cursor: grab;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top-width: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    position: relative;
}

.kanban-modern:hover[b-etko6zul5m] {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.kanban-modern:active[b-etko6zul5m] {
    cursor: grabbing;
}

.modern-pending[b-etko6zul5m] { border-top-color: var(--color-pending); }
.modern-in-progress[b-etko6zul5m] { border-top-color: var(--color-in-progress); }
.modern-resolved[b-etko6zul5m] { border-top-color: var(--color-resolved); }

/* No modo moderno, colunas ganham fundo pastel por status (igual modo lista) */
.kanban-modern-mode .kanban-column.kanban-pending[b-etko6zul5m] {
    background: #fef2f2;
    border-left: 4px solid var(--color-pending);
}

.kanban-modern-mode .kanban-column.kanban-in-progress[b-etko6zul5m] {
    background: #fffbeb;
    border-left: 4px solid var(--color-in-progress);
}

.kanban-modern-mode .kanban-column.kanban-resolved[b-etko6zul5m] {
    background: #f0fdf4;
    border-left: 4px solid var(--color-resolved);
}

.kanban-modern-mode .kanban-column .kanban-title[b-etko6zul5m] {
    font-weight: 700;
}

.kanban-modern-mode .kanban-column.kanban-pending .kanban-title[b-etko6zul5m] { color: var(--color-pending); }
.kanban-modern-mode .kanban-column.kanban-in-progress .kanban-title[b-etko6zul5m] { color: #b45309; }
.kanban-modern-mode .kanban-column.kanban-resolved .kanban-title[b-etko6zul5m] { color: #16a34a; }

.kanban-modern-mode .kanban-column.kanban-pending .kanban-count[b-etko6zul5m] { background: #fecaca; color: var(--color-pending); }
.kanban-modern-mode .kanban-column.kanban-in-progress .kanban-count[b-etko6zul5m] { background: #fde68a; color: #92400e; }
.kanban-modern-mode .kanban-column.kanban-resolved .kanban-count[b-etko6zul5m] { background: #bbf7d0; color: #16a34a; }

[b-etko6zul5m] .dot-pending { background: var(--color-pending); }
[b-etko6zul5m] .dot-in-progress { background: var(--color-in-progress); }
[b-etko6zul5m] .dot-resolved { background: var(--color-resolved); }

/* Cards pendentes (sem atendente) ganham glow vermelho pra destacar urgencia */
.sticky-note.kb-card-pending[b-etko6zul5m] {
    animation: pending-card-glow 2.6s ease-in-out infinite;
}

.kanban-modern.kb-card-pending[b-etko6zul5m] {
    animation: pending-glow 2.6s ease-in-out infinite;
    border-color: var(--color-pending);
}

@media (max-width: 768px) {
    .kanban[b-etko6zul5m] {
        flex-direction: column;
        overflow-x: visible;
    }

    .kanban-column[b-etko6zul5m] {
        max-width: 100%;
        min-width: 0;
    }

    .kanban-cards[b-etko6zul5m] {
        max-height: 400px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .kanban-column[b-etko6zul5m] {
        min-width: 220px;
    }
}
/* /Components/MarkerChip.razor.rz.scp.css */
.marker-chip[b-6qqy6gugbt] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 6px 0;
}

.marker-type[b-6qqy6gugbt] {
    font-weight: 600;
    font-size: 13px;
    min-width: 80px;
}

.marker-status[b-6qqy6gugbt] {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}


.marker-assigned[b-6qqy6gugbt] {
    font-style: italic;
}

.marker-actions[b-6qqy6gugbt] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-left: auto;
}

.marker-action-btn[b-6qqy6gugbt] {
    padding: 3px 10px;
    border: 1.5px solid var(--btn-color);
    border-radius: var(--radius);
    background: transparent;
    color: var(--btn-color);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    min-height: 28px;
}

.marker-action-btn:hover:not(:disabled)[b-6qqy6gugbt] {
    background: var(--btn-color);
    color: white;
}

.marker-action-btn:disabled[b-6qqy6gugbt] {
    opacity: 0.4;
    cursor: not-allowed;
}

.marker-assigned-input[b-6qqy6gugbt] {
    display: flex;
    gap: 4px;
    align-items: center;
}

.marker-assigned-input input[b-6qqy6gugbt] {
    width: 120px;
    padding: 4px 8px;
    font-size: 12px;
    min-height: 28px;
}

.marker-error[b-6qqy6gugbt] {
    color: var(--color-danger);
    width: 100%;
}

.marker-disabled[b-6qqy6gugbt] {
    opacity: 0.5;
    pointer-events: none;
}
/* /Components/OnboardingPanel.razor.rz.scp.css */
.onboarding-panel[b-s10wxj9a9z] {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 50;
    width: 380px;
    max-width: calc(100vw - 40px);
    background: var(--color-surface);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
    animation: onboardingSlideIn-b-s10wxj9a9z 0.25s ease;
    padding: 20px;
}

@keyframes onboardingSlideIn-b-s10wxj9a9z {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.onboarding-header[b-s10wxj9a9z] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.onboarding-header h2[b-s10wxj9a9z] {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-display);
}

.onboarding-close[b-s10wxj9a9z] {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 0 4px;
}

.onboarding-close:hover[b-s10wxj9a9z] {
    color: var(--color-text);
}

.onboarding-subtitle[b-s10wxj9a9z] {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin: 8px 0 16px;
}

.onboarding-steps[b-s10wxj9a9z] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.onboarding-step[b-s10wxj9a9z] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    text-decoration: none;
    color: var(--color-text);
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.onboarding-step:hover[b-s10wxj9a9z] {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
}

.onboarding-num[b-s10wxj9a9z] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.onboarding-footer[b-s10wxj9a9z] {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: flex-end;
}

.onboarding-dismiss-link[b-s10wxj9a9z] {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    text-decoration: underline;
}

.onboarding-dismiss-link:hover[b-s10wxj9a9z] {
    color: var(--color-text);
}

@media (max-width: 480px) {
    .onboarding-panel[b-s10wxj9a9z] {
        right: 10px;
        left: 10px;
        width: auto;
        bottom: 80px;
    }
}
/* /Components/Reports/BroadcastsTab.razor.rz.scp.css */
.kpi-grid-bc[b-ohy3i6lzdd] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}
.bc-table-wrap[b-ohy3i6lzdd] {
    overflow-x: auto;
}
.bc-table[b-ohy3i6lzdd] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.bc-table th[b-ohy3i6lzdd] {
    text-align: left;
    padding: 10px 12px;
    background: var(--color-hover);
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--color-border);
}
.bc-table td[b-ohy3i6lzdd] {
    padding: 10px 12px;
    border-bottom: 1px solid var(--color-border);
}
.bc-status[b-ohy3i6lzdd] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--color-hover);
    color: var(--color-text-secondary);
}
.bc-completed[b-ohy3i6lzdd] { background: rgba(34, 197, 94, 0.12); color: var(--color-resolved); }
.bc-sending[b-ohy3i6lzdd] { background: rgba(217, 119, 6, 0.12); color: var(--color-in-progress); }
.bc-failed[b-ohy3i6lzdd] { background: rgba(220, 38, 38, 0.12); color: var(--color-danger); }
/* /Components/Reports/ConversationsTab.razor.rz.scp.css */
.conversations-grid[b-66lddxgosm] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}
.ai-assist-card[b-66lddxgosm] {
    border-left: 3px solid var(--color-primary);
}
.ai-assist-grid[b-66lddxgosm] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-top: 8px;
}
.ai-assist-grid > div[b-66lddxgosm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.ai-big[b-66lddxgosm] {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
}
.ai-accept[b-66lddxgosm] { color: var(--color-resolved); }
.ai-reject[b-66lddxgosm] { color: var(--color-danger); }
.ai-label[b-66lddxgosm] {
    font-size: 12px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}
/* /Components/Reports/DateRangePicker.razor.rz.scp.css */
.date-range-picker[b-ah8g1f49ix] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}
.drp-presets[b-ah8g1f49ix] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.drp-btn[b-ah8g1f49ix] {
    padding: 6px 12px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.drp-btn:hover[b-ah8g1f49ix] {
    background: var(--color-hover);
}
.drp-btn-active[b-ah8g1f49ix] {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}
.drp-custom[b-ah8g1f49ix] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid var(--color-border);
}
.drp-custom label[b-ah8g1f49ix] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-secondary);
}
.drp-custom input[type="date"][b-ah8g1f49ix] {
    padding: 4px 8px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 13px;
}
/* /Components/Reports/DonutChart.razor.rz.scp.css */
.donut-chart[b-s17482b2mc] {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.donut-svg[b-s17482b2mc] {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
}
.donut-legend[b-s17482b2mc] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 160px;
}
.donut-legend-item[b-s17482b2mc] {
    display: grid;
    grid-template-columns: 14px 1fr auto;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.donut-dot[b-s17482b2mc] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.donut-legend-label[b-s17482b2mc] {
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.donut-legend-count[b-s17482b2mc] {
    font-weight: 600;
    color: var(--color-text-secondary);
}
/* /Components/Reports/FunnelChart.razor.rz.scp.css */
.funnel-chart[b-9wy2m4k1g0] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.funnel-row[b-9wy2m4k1g0] {
    display: grid;
    grid-template-columns: 160px 1fr 60px;
    align-items: center;
    gap: 12px;
}
.funnel-label[b-9wy2m4k1g0] {
    font-size: 13px;
    color: var(--color-text);
    font-weight: 500;
}
.funnel-bar-track[b-9wy2m4k1g0] {
    background: var(--color-hover);
    border-radius: 4px;
    height: 32px;
    position: relative;
    overflow: hidden;
}
.funnel-bar-fill[b-9wy2m4k1g0] {
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    height: 100%;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    transition: width var(--transition);
}
.funnel-value[b-9wy2m4k1g0] {
    color: white;
    font-weight: 700;
    font-size: 13px;
}
.funnel-pct[b-9wy2m4k1g0] {
    font-size: 13px;
    color: var(--color-text-secondary);
    font-weight: 600;
    text-align: right;
}
@media (max-width: 640px) {
    .funnel-row[b-9wy2m4k1g0] { grid-template-columns: 100px 1fr 48px; }
}
/* /Components/Reports/Heatmap.razor.rz.scp.css */
.heatmap[b-q3e929i2oe] {
    overflow-x: auto;
    padding-bottom: 8px;
}
.heatmap-grid[b-q3e929i2oe] {
    display: grid;
    grid-template-columns: 36px repeat(24, 1fr);
    gap: 2px;
    min-width: 600px;
}
.heatmap-hour-label[b-q3e929i2oe],
.heatmap-day-label[b-q3e929i2oe] {
    font-size: 10px;
    color: var(--color-text-secondary);
    text-align: center;
    line-height: 1;
}
.heatmap-day-label[b-q3e929i2oe] {
    text-align: right;
    padding-right: 6px;
    align-self: center;
    font-weight: 600;
}
.heatmap-cell[b-q3e929i2oe] {
    aspect-ratio: 1 / 1;
    min-height: 16px;
    border-radius: 3px;
    background: var(--heatmap-min);
    cursor: help;
    transition: transform var(--transition);
}
.heatmap-cell:hover[b-q3e929i2oe] {
    transform: scale(1.4);
    z-index: 2;
    position: relative;
    outline: 2px solid var(--color-primary);
}
.heatmap-legend[b-q3e929i2oe] {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--color-text-secondary);
}
.heatmap-legend-bar[b-q3e929i2oe] {
    height: 8px;
    width: 80px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(0, 168, 132, 0.06), rgba(0, 168, 132, 1));
}
/* /Components/Reports/HorizontalBarChart.razor.rz.scp.css */
.hbar-chart[b-cuoy15bogu] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hbar-row[b-cuoy15bogu] {
    display: grid;
    grid-template-columns: 140px 1fr 60px;
    align-items: center;
    gap: 12px;
}
.hbar-label[b-cuoy15bogu] {
    font-size: 13px;
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hbar-track[b-cuoy15bogu] {
    height: 10px;
    background: var(--color-hover);
    border-radius: 5px;
    overflow: hidden;
}
.hbar-fill[b-cuoy15bogu] {
    height: 100%;
    border-radius: 5px;
    transition: width var(--transition);
}
.hbar-count[b-cuoy15bogu] {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    text-align: right;
}
@media (max-width: 640px) {
    .hbar-row[b-cuoy15bogu] { grid-template-columns: 100px 1fr 48px; }
}
/* /Components/Reports/KpiCard.razor.rz.scp.css */
.kpi-card[b-jznb7et8hh] {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 110px;
    transition: var(--transition);
}
.kpi-card:hover[b-jznb7et8hh] {
    box-shadow: var(--shadow-md);
}
.kpi-card-header[b-jznb7et8hh] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.kpi-label[b-jznb7et8hh] {
    color: var(--color-text-secondary);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.kpi-delta[b-jznb7et8hh] {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}
.kpi-delta-up[b-jznb7et8hh] {
    color: var(--delta-up);
    background: rgba(34, 197, 94, 0.12);
}
.kpi-delta-down[b-jznb7et8hh] {
    color: var(--delta-down);
    background: rgba(220, 38, 38, 0.12);
}
.kpi-value[b-jznb7et8hh] {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
    word-break: break-word;
}
[b-jznb7et8hh] .sparkline {
    width: 100%;
    height: 28px;
    display: block;
}
/* /Components/Reports/OverviewTab.razor.rz.scp.css */
.kpi-grid[b-j1lx9z9dsy] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}
@media (max-width: 480px) {
    .kpi-grid[b-j1lx9z9dsy] { grid-template-columns: 1fr 1fr; }
}
/* /Components/Reports/ReportsSection.razor.rz.scp.css */
.reports-section[b-6gt8ul8e5a] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.reports-header[b-6gt8ul8e5a] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}
.reports-header h1[b-6gt8ul8e5a] {
    margin: 0 0 4px 0;
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--color-text);
}
.reports-header p[b-6gt8ul8e5a] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 13px;
}
.reports-tabs[b-6gt8ul8e5a] {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--color-border);
    overflow-x: auto;
    padding-bottom: 0;
}
.rt-btn[b-6gt8ul8e5a] {
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.rt-btn:hover:not(:disabled)[b-6gt8ul8e5a] {
    color: var(--color-text);
}
.rt-btn-active[b-6gt8ul8e5a] {
    color: var(--color-primary-dark);
    border-bottom-color: var(--color-primary);
    font-weight: 600;
}
.rt-btn:disabled[b-6gt8ul8e5a] {
    opacity: 0.6;
    cursor: not-allowed;
}
.rt-lock[b-6gt8ul8e5a] {
    font-size: 11px;
}
.reports-body[b-6gt8ul8e5a] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 640px) {
    .reports-header[b-6gt8ul8e5a] {
        flex-direction: column;
    }
}
/* /Components/Reports/RevenueTab.razor.rz.scp.css */
.kpi-grid-rev[b-twlkwytdqn] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}
.rev-status-grid[b-twlkwytdqn] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}
.rev-time[b-twlkwytdqn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 0;
}
.rev-time-value[b-twlkwytdqn] {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary-dark);
}
.rev-time-label[b-twlkwytdqn] {
    color: var(--color-text-secondary);
    font-size: 13px;
}
/* /Components/Reports/TeamTab.razor.rz.scp.css */
.team-table-wrap[b-rvolg0ylkk] {
    overflow-x: auto;
}
.team-table[b-rvolg0ylkk] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.team-table th[b-rvolg0ylkk] {
    text-align: left;
    padding: 10px 12px;
    background: var(--color-hover);
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid var(--color-border);
}
.team-table td[b-rvolg0ylkk] {
    padding: 12px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
}
.team-table tr:hover td[b-rvolg0ylkk] {
    background: var(--color-hover);
}
/* /Components/Reports/TimeSeriesChart.razor.rz.scp.css */
.ts-chart[b-h52g45xj47] {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
}
.ts-title[b-h52g45xj47] {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}
.ts-svg[b-h52g45xj47] {
    width: 100%;
    height: 180px;
    display: block;
}
.ts-legend[b-h52g45xj47] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
    font-size: 12px;
    color: var(--color-text-secondary);
}
.ts-legend-item[b-h52g45xj47] {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ts-dot[b-h52g45xj47] {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.ts-axis-label[b-h52g45xj47] {
    margin-left: auto;
}
.ts-empty[b-h52g45xj47] {
    color: var(--color-text-secondary);
    text-align: center;
    padding: 24px;
    background: var(--color-surface);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-lg);
    font-size: 13px;
}
/* /Components/Reports/TopList.razor.rz.scp.css */
.top-list[b-x6bw4u6jiv] {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
}
.top-list-title[b-x6bw4u6jiv] {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}
.top-list-items[b-x6bw4u6jiv] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.top-list-row[b-x6bw4u6jiv] {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
    border-bottom: 1px solid var(--color-border);
}
.top-list-row:last-child[b-x6bw4u6jiv] {
    border-bottom: none;
}
.top-list-rank[b-x6bw4u6jiv] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    line-height: 24px;
}
.top-list-main[b-x6bw4u6jiv] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}
.top-list-label[b-x6bw4u6jiv] {
    font-size: 13px;
    color: var(--color-text);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.top-list-sub[b-x6bw4u6jiv] {
    font-size: 11px;
    color: var(--color-text-secondary);
}
.top-list-value[b-x6bw4u6jiv] {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary-dark);
}
.top-list-empty[b-x6bw4u6jiv] {
    color: var(--color-text-secondary);
    font-size: 13px;
    text-align: center;
    padding: 16px;
}
/* /Components/StatusCounters.razor.rz.scp.css */
.status-counters[b-egir35lczq] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.counter[b-egir35lczq] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.counter:hover[b-egir35lczq] {
    box-shadow: var(--shadow);
}

.counter-active[b-egir35lczq] {
    border-width: 2px;
}

.counter-active.counter-pending[b-egir35lczq] {
    border-color: var(--color-pending);
    background: #fef2f2;
}

.counter-active.counter-in-progress[b-egir35lczq] {
    border-color: var(--color-in-progress);
    background: #fffbeb;
}

.counter-active.counter-resolved[b-egir35lczq] {
    border-color: var(--color-resolved);
    background: #f0fdf4;
}

.counter-dot[b-egir35lczq] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-pending[b-egir35lczq] { background: var(--color-pending); }
.dot-in-progress[b-egir35lczq] { background: var(--color-in-progress); }
.dot-resolved[b-egir35lczq] { background: var(--color-resolved); }
/* /Components/StickyNoteContent.razor.rz.scp.css */
.sticky-header[b-qmyj7g2jhu] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.sticky-name[b-qmyj7g2jhu] {
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.sticky-reopen[b-qmyj7g2jhu] {
    background: #f59e0b;
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 10px;
    flex-shrink: 0;
}

.sticky-unread[b-qmyj7g2jhu] {
    background: var(--color-primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    flex-shrink: 0;
}

.sticky-source[b-qmyj7g2jhu] {
    font-size: 12px;
    flex-shrink: 0;
}

.sticky-attendant[b-qmyj7g2jhu] {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-preview[b-qmyj7g2jhu] {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
}

.sticky-footer[b-qmyj7g2jhu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.sticky-time[b-qmyj7g2jhu] {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.45);
}

.sticky-markers[b-qmyj7g2jhu] {
    display: flex;
    gap: 4px;
}

.sticky-marker[b-qmyj7g2jhu] {
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 3px;
    line-height: 1;
}

.sticky-tags[b-qmyj7g2jhu] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.sticky-tag[b-qmyj7g2jhu] {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.6);
}

.priority-badge[b-qmyj7g2jhu] {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.priority-badge-alta[b-qmyj7g2jhu] {
    background: #fff7ed;
    color: #c2410c;
}

.priority-badge-urgente[b-qmyj7g2jhu] {
    background: #fef2f2;
    color: #dc2626;
}
/* /Components/TagChip.razor.rz.scp.css */
.tag-chip[b-bjv5x6owcs] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.tag-remove[b-bjv5x6owcs] {
    border: none;
    background: transparent;
    color: #2e7d32;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0 2px;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.tag-remove:hover[b-bjv5x6owcs] {
    opacity: 1;
}
/* /Layout/AdminLayout.razor.rz.scp.css */
.admin-layout[b-5ccae2h23h] {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* === Topbar (reutiliza estilos do MainLayout) === */
.topbar[b-5ccae2h23h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 56px;
    background: var(--color-primary);
    color: white;
    flex-shrink: 0;
}

.topbar-admin-area[b-5ccae2h23h] {
    background: #1a1a2e;
}

.topbar-brand[b-5ccae2h23h] {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.topbar-logo[b-5ccae2h23h] {
    width: 30px;
    height: 30px;
}

.topbar-title[b-5ccae2h23h] {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.topbar-title strong[b-5ccae2h23h] {
    font-weight: 800;
}

.topbar-area-badge[b-5ccae2h23h] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 10px;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.8);
}

.topbar-right[b-5ccae2h23h] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-back-link[b-5ccae2h23h] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}

.topbar-back-link:hover[b-5ccae2h23h] {
    color: white;
}

.topbar-logout[b-5ccae2h23h] {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    font-weight: 600;
}

.topbar-logout:hover[b-5ccae2h23h] {
    background: rgba(255, 255, 255, 0.25);
}

/* === Body: Sidebar + Main === */
.admin-body[b-5ccae2h23h] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* === Sidebar === */
.admin-sidebar[b-5ccae2h23h] {
    width: 240px;
    background: #ffffff;
    border-right: 1px solid var(--color-border);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
    overflow-y: auto;
}

.sidebar-section[b-5ccae2h23h] {
    padding: 0 12px;
    margin-bottom: 16px;
}

.sidebar-label[b-5ccae2h23h] {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    padding: 0 12px 8px;
}

.sidebar-link[b-5ccae2h23h] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease;
    margin-bottom: 2px;
}

.sidebar-link:hover[b-5ccae2h23h] {
    background: var(--color-hover);
    color: var(--color-text);
}

.sidebar-link svg[b-5ccae2h23h] {
    flex-shrink: 0;
    opacity: 0.6;
}

.sidebar-link:hover svg[b-5ccae2h23h] {
    opacity: 1;
}

.sidebar-active[b-5ccae2h23h] {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-weight: 600;
}

.sidebar-active svg[b-5ccae2h23h] {
    opacity: 1;
    color: var(--color-primary);
}

.sidebar-active:hover[b-5ccae2h23h] {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
}

/* === Main content area === */
.admin-main[b-5ccae2h23h] {
    flex: 1;
    overflow-y: auto;
    background: var(--color-bg);
}

/* === Responsive === */
@media (max-width: 768px) {
    .admin-body[b-5ccae2h23h] {
        flex-direction: column;
    }

    .admin-sidebar[b-5ccae2h23h] {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: visible;
        padding: 8px 12px;
        gap: 0;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .sidebar-section[b-5ccae2h23h] {
        display: flex;
        gap: 4px;
        padding: 0;
        margin-bottom: 0;
    }

    .sidebar-label[b-5ccae2h23h] {
        display: none;
    }

    .sidebar-link[b-5ccae2h23h] {
        white-space: nowrap;
        padding: 8px 14px;
        font-size: 13px;
    }

    .sidebar-link svg[b-5ccae2h23h] {
        display: none;
    }

    .topbar-back-link span[b-5ccae2h23h] {
        display: none;
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.layout[b-34b2l0tv3g] {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Header chrome neutro estilo WhatsApp Web — fundo cinza claro, texto escuro,
   logo e indicadores em cor de marca. */
.topbar[b-34b2l0tv3g] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 56px;
    background: var(--color-bg);
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.topbar-brand[b-34b2l0tv3g] {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text);
}

.topbar-logo[b-34b2l0tv3g] {
    width: 30px;
    height: 30px;
}

.topbar-title[b-34b2l0tv3g] {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.topbar-title strong[b-34b2l0tv3g] {
    font-weight: 800;
    color: var(--color-primary);
}

.topbar-right[b-34b2l0tv3g] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-admin[b-34b2l0tv3g] {
    display: flex;
    align-items: center;
    color: var(--color-text-soft);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 4px 12px;
    border-radius: 6px;
    transition: background var(--transition), color var(--transition);
}

.topbar-admin:hover[b-34b2l0tv3g] {
    background: var(--color-hover);
    color: var(--color-text);
}

.topbar-broadcast[b-34b2l0tv3g] {
    display: flex;
    align-items: center;
    color: var(--color-text-secondary);
    transition: color var(--transition);
    text-decoration: none;
}

.topbar-broadcast:hover[b-34b2l0tv3g] {
    color: var(--color-text);
}

.topbar-settings[b-34b2l0tv3g] {
    display: flex;
    align-items: center;
    color: var(--color-text-secondary);
    transition: color var(--transition);
    text-decoration: none;
}

.topbar-settings:hover[b-34b2l0tv3g] {
    color: var(--color-text);
}

/* Badge IA — aparece quando ha sugestoes pendentes */
.topbar-ai-badge[b-34b2l0tv3g] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--color-primary-tint);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    color: var(--color-primary-dark);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: background var(--transition);
}

.topbar-ai-badge:hover[b-34b2l0tv3g] {
    background: var(--color-primary-light);
}

.topbar-ai-count[b-34b2l0tv3g] {
    background: var(--color-pending);
    color: white;
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
    animation: ai-pulse-b-34b2l0tv3g 2s ease-in-out infinite;
}

@keyframes ai-pulse-b-34b2l0tv3g {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    50% { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

.topbar-merchant[b-34b2l0tv3g] {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-soft);
}

.topbar-logout[b-34b2l0tv3g] {
    background: transparent;
    color: var(--color-text-soft);
    border: 1px solid var(--color-border);
    font-weight: 600;
}

.topbar-logout:hover[b-34b2l0tv3g] {
    background: var(--color-hover);
    color: var(--color-text);
}

/* Subscription banner */
.subscription-banner[b-34b2l0tv3g] {
    width: 100%;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    flex-shrink: 0;
}

.banner-warning[b-34b2l0tv3g] {
    background: #fef3c7;
    color: #92400e;
}

.banner-danger[b-34b2l0tv3g] {
    background: #fef2f2;
    color: #991b1b;
}

.banner-info[b-34b2l0tv3g] {
    background: #eff6ff;
    color: #1e40af;
}

.banner-trial[b-34b2l0tv3g] {
    background: linear-gradient(90deg, #ecfdf5, #d1fae5);
    color: #065f46;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.banner-connect[b-34b2l0tv3g] {
    background: linear-gradient(90deg, #dbeafe, #bfdbfe);
    color: #1e3a8a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.banner-ai[b-34b2l0tv3g] {
    background: linear-gradient(90deg, #fef3c7, #fde68a);
    color: #78350f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.banner-dismiss-btn[b-34b2l0tv3g] {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 8px;
    opacity: 0.6;
    transition: opacity var(--transition);
}

.banner-dismiss-btn:hover[b-34b2l0tv3g] {
    opacity: 1;
}

.banner-connect a.trial-activate-btn[b-34b2l0tv3g] {
    text-decoration: none;
    display: inline-block;
}

[b-34b2l0tv3g] .trial-activate-btn {
    padding: 4px 16px;
    border: none;
    border-radius: 6px;
    background: #059669;
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

[b-34b2l0tv3g] .trial-activate-btn:hover:not(:disabled) {
    background: #047857;
}

[b-34b2l0tv3g] .trial-activate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Badge promo no header */
.topbar-promo[b-34b2l0tv3g] {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    white-space: nowrap;
    background: var(--color-primary-tint);
    color: var(--color-primary-dark);
    border: 1px solid var(--color-primary-soft);
    transition: background 0.2s, transform 0.15s;
    animation: promo-pulse-b-34b2l0tv3g 3s ease-in-out infinite;
}
.topbar-promo:hover[b-34b2l0tv3g] {
    background: var(--color-primary-light);
    transform: scale(1.03);
}
@keyframes promo-pulse-b-34b2l0tv3g {
    0%, 100% { border-color: var(--color-primary-soft); }
    50% { border-color: var(--color-primary); }
}

.main-content[b-34b2l0tv3g] {
    flex: 1;
    overflow: auto;
}

/* Lock/Unlock button */
.topbar-lock-btn[b-34b2l0tv3g] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.topbar-lock-btn:hover[b-34b2l0tv3g] {
    background: var(--color-hover);
    color: var(--color-text);
}

.topbar-unlocked[b-34b2l0tv3g] {
    background: var(--color-primary-tint);
    border-color: var(--color-primary-soft);
    color: var(--color-primary-dark);
}

.topbar-unlocked:hover[b-34b2l0tv3g] {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
}

.topbar-locked[b-34b2l0tv3g] {
    color: var(--color-text-secondary);
}

.topbar-locked:hover[b-34b2l0tv3g] {
    color: var(--color-text);
}

/* Lock modal overlay */
.lock-overlay[b-34b2l0tv3g] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn-b-34b2l0tv3g 0.2s ease;
}

.lock-modal[b-34b2l0tv3g] {
    background: white;
    border-radius: 16px;
    padding: 32px;
    width: 360px;
    max-width: 90vw;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: slideUp-b-34b2l0tv3g 0.25s ease;
}

.lock-modal h3[b-34b2l0tv3g] {
    margin: 16px 0 4px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
}

.lock-modal .text-muted[b-34b2l0tv3g] {
    color: var(--color-text-light);
    margin: 0 0 20px;
}

.lock-modal .text-sm[b-34b2l0tv3g] {
    font-size: 0.85rem;
    line-height: 1.4;
}

.lock-icon-circle[b-34b2l0tv3g] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-primary-light, #e8f5e9);
}

.lock-input[b-34b2l0tv3g] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border, #e0e0e0);
    border-radius: 10px;
    font-size: 1.1rem;
    font-family: var(--font-display);
    letter-spacing: 0.3em;
    text-align: center;
    outline: none;
    transition: border-color var(--transition);
    box-sizing: border-box;
}

.lock-input:focus[b-34b2l0tv3g] {
    border-color: var(--color-primary);
}

.lock-error[b-34b2l0tv3g] {
    color: #dc3545;
    font-size: 0.82rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.lock-actions[b-34b2l0tv3g] {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.lock-actions .btn[b-34b2l0tv3g] {
    min-width: 110px;
}

.lock-forgot[b-34b2l0tv3g] {
    background: none; border: none; color: var(--color-text-secondary);
    font-size: 12px; cursor: pointer; margin-top: 12px;
    text-decoration: underline; padding: 4px;
}
.lock-forgot:hover[b-34b2l0tv3g] { color: var(--color-primary); }

/* Unified FAB */
.fab-container[b-34b2l0tv3g] {
    position: fixed; bottom: 20px; right: 20px;
    display: flex; flex-direction: column-reverse;
    align-items: flex-end; gap: 10px; z-index: 40;
}
.fab-main[b-34b2l0tv3g] {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--color-primary); border: none;
    color: white; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}
.fab-main:hover[b-34b2l0tv3g] { transform: scale(1.06); }
.fab-open .fab-main[b-34b2l0tv3g] { transform: rotate(45deg); }
.fab-open .fab-main:hover[b-34b2l0tv3g] { transform: rotate(45deg) scale(1.06); }
.fab-icon[b-34b2l0tv3g] { transition: transform 0.2s; }

.fab-action[b-34b2l0tv3g] {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 20px;
    background: var(--color-text); border: none;
    color: white; cursor: pointer; font-size: 13px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    animation: fabPop-b-34b2l0tv3g 0.15s ease;
    white-space: nowrap;
}
.fab-action:hover[b-34b2l0tv3g] { opacity: 0.9; }

@media (max-width: 768px) {
    .fab-container[b-34b2l0tv3g] { bottom: 70px; right: 12px; }
}

@keyframes fabPop-b-34b2l0tv3g { from { opacity: 0; transform: scale(0.8) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* Mobile banner — só aparece em telas < 768px */
.mobile-banner[b-34b2l0tv3g] {
    display: none;
    align-items: center; justify-content: space-between;
    padding: 8px 16px; background: var(--color-primary);
    color: white; font-size: 13px;
}
.mobile-banner-btn[b-34b2l0tv3g] {
    background: white; color: var(--color-primary); border: none;
    padding: 4px 14px; border-radius: 14px; font-size: 12px;
    font-weight: 600; text-decoration: none; white-space: nowrap;
}
@media (max-width: 768px) {
    .mobile-banner[b-34b2l0tv3g] { display: flex; }
}

@keyframes fadeIn-b-34b2l0tv3g {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp-b-34b2l0tv3g {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
/* /Layout/MobileLayout.razor.rz.scp.css */
.mobile-layout[b-txwed66j4e] {
    height: 100dvh;
    height: 100vh; /* fallback */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--color-bg, #efeae2);
    /* Reserva espaço para o nav fixo no bottom */
    padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
}

.mobile-nav[b-txwed66j4e] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: white;
    border-top: 1px solid #e5e7eb;
    z-index: 50;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-nav-tab[b-txwed66j4e] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 0;
    color: #8696a0;
    text-decoration: none;
    font-size: 11px;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s;
}
.mobile-nav-tab:active[b-txwed66j4e] { background: #f0f2f5; }

.mobile-nav-active[b-txwed66j4e] {
    color: var(--color-primary, #00a884);
}
/* /Pages/Admin/AdminDashboard.razor.rz.scp.css */
.admin-page[b-87l3le84wu] {
    padding: 32px;
    max-width: 1100px;
}

.admin-page-header[b-87l3le84wu] {
    margin-bottom: 28px;
}

.admin-page-header h1[b-87l3le84wu] {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

.admin-stats-grid[b-87l3le84wu] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.admin-stat-card[b-87l3le84wu] {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid var(--color-border);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.admin-stat-card:hover[b-87l3le84wu] {
    box-shadow: var(--shadow-md);
}

.stat-icon[b-87l3le84wu] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-merchants .stat-icon[b-87l3le84wu] { background: rgba(99, 102, 241, 0.1); color: #6366f1; }
.stat-subs .stat-icon[b-87l3le84wu] { background: rgba(0, 168, 132, 0.1); color: var(--color-primary); }
.stat-mrr .stat-icon[b-87l3le84wu] { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.stat-issues .stat-icon[b-87l3le84wu] { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

.stat-data[b-87l3le84wu] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-stat-value[b-87l3le84wu] {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1;
}

.admin-stat-label[b-87l3le84wu] {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* === Reports section === */
.admin-reports-section[b-87l3le84wu] {
    margin-top: 32px;
}

.admin-section-title[b-87l3le84wu] {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
}

.admin-report-grid[b-87l3le84wu] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.settings-card[b-87l3le84wu] {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg, 12px);
    padding: 24px;
}

.settings-card h3[b-87l3le84wu] {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
}

.settings-card-description[b-87l3le84wu] {
    font-size: 13px;
    color: var(--color-text-secondary);
}

.report-comparison[b-87l3le84wu] {
    display: flex;
    gap: 24px;
    align-items: center;
}

.report-comparison-item[b-87l3le84wu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.report-big-number[b-87l3le84wu] {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
}

.report-muted[b-87l3le84wu] {
    color: var(--color-text-secondary);
    font-size: 1.5rem;
}

.report-label[b-87l3le84wu] {
    font-size: 12px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.bar-chart-horizontal[b-87l3le84wu] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bar-row[b-87l3le84wu] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bar-label[b-87l3le84wu] {
    width: 120px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bar-track[b-87l3le84wu] {
    flex: 1;
    height: 8px;
    background: var(--color-border, #e5e7eb);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill[b-87l3le84wu] {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
    min-width: 2px;
}

.bar-count[b-87l3le84wu] {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    min-width: 40px;
    text-align: right;
}

@media (max-width: 768px) {
    .admin-page[b-87l3le84wu] {
        padding: 20px 16px;
    }

    .admin-stats-grid[b-87l3le84wu] {
        grid-template-columns: 1fr 1fr;
    }

    .admin-report-grid[b-87l3le84wu] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Admin/AdminFeedbacks.razor.rz.scp.css */
/* AdminFeedbacks */

.feedback-stats[b-bx40p3cbtn] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.stat-item[b-bx40p3cbtn] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 500;
}

.stat-dot[b-bx40p3cbtn] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-new[b-bx40p3cbtn] { background: #f59e0b; }
.dot-read[b-bx40p3cbtn] { background: #3b82f6; }
.dot-resolved[b-bx40p3cbtn] { background: #22c55e; }

.stat-total[b-bx40p3cbtn] {
    font-size: 0.78rem;
    color: var(--color-text-muted, #9ca3af);
    margin-left: auto;
}

.row-new[b-bx40p3cbtn] {
    background: rgba(245, 158, 11, 0.04);
}

.feedback-title-btn[b-bx40p3cbtn] {
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: inherit;
    color: var(--color-primary, #6366f1);
    padding: 0;
    font-weight: 500;
}

.feedback-title-btn:hover[b-bx40p3cbtn] {
    text-decoration: underline;
}

.merchant-name-cell[b-bx40p3cbtn] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.merchant-email[b-bx40p3cbtn] {
    font-size: 0.72rem;
    color: var(--color-text-muted, #9ca3af);
}

.action-buttons[b-bx40p3cbtn] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-xs[b-bx40p3cbtn] {
    padding: 3px 8px;
    font-size: 0.72rem;
    border-radius: 6px;
}

.btn-outline[b-bx40p3cbtn] {
    background: transparent;
    border: 1px solid var(--color-border, #d1d5db);
    color: var(--color-text, #374151);
    cursor: pointer;
}

.btn-outline:hover[b-bx40p3cbtn] {
    background: var(--color-surface-hover, #f3f4f6);
}

.detail-row td[b-bx40p3cbtn] {
    padding: 0 !important;
}

.feedback-detail[b-bx40p3cbtn] {
    padding: 16px 20px;
    background: var(--color-bg, #f9fafb);
    border-top: 1px solid var(--color-border, #e5e7eb);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-section h4[b-bx40p3cbtn] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-muted, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 6px;
}

.detail-section p[b-bx40p3cbtn] {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.detail-grid[b-bx40p3cbtn] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.detail-item[b-bx40p3cbtn] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-label[b-bx40p3cbtn] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-text-muted, #9ca3af);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.detail-truncate[b-bx40p3cbtn] {
    font-size: 0.78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 300px;
}
/* /Pages/Admin/AdminHelp.razor.rz.scp.css */
.help-editor[b-clb78z12qw] {
    background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px;
}
.help-editor h2[b-clb78z12qw] { font-size: 16px; margin: 0 0 16px; }
.help-editor-fields[b-clb78z12qw] { display: flex; flex-direction: column; gap: 12px; }
.help-field[b-clb78z12qw] { display: flex; flex-direction: column; gap: 4px; }
.help-field label[b-clb78z12qw] { font-size: 13px; font-weight: 600; color: var(--color-text-secondary); }
.help-field input[b-clb78z12qw], .help-field textarea[b-clb78z12qw] {
    padding: 8px 12px; border: 1px solid var(--color-border);
    border-radius: var(--radius); font-size: 14px; font-family: var(--font-body);
}
.help-field textarea[b-clb78z12qw] { resize: vertical; font-family: monospace; font-size: 13px; }
.help-editor-actions[b-clb78z12qw] { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }

.badge[b-clb78z12qw] {
    background: var(--color-primary-light); color: var(--color-primary);
    padding: 2px 8px; border-radius: 8px; font-size: 11px; font-weight: 600;
}
.status-dot[b-clb78z12qw] { font-size: 12px; font-weight: 500; }
.status-published[b-clb78z12qw] { color: var(--color-resolved); }
.status-draft[b-clb78z12qw] { color: var(--color-text-secondary); }
.actions-cell[b-clb78z12qw] { display: flex; gap: 4px; }
.btn-xs[b-clb78z12qw] { padding: 2px 8px; font-size: 11px; }
.btn-warning[b-clb78z12qw] { background: var(--color-in-progress); color: white; border: none; border-radius: var(--radius); cursor: pointer; }
.btn-success[b-clb78z12qw] { background: var(--color-resolved); color: white; border: none; border-radius: var(--radius); cursor: pointer; }
.btn-danger[b-clb78z12qw] { background: var(--color-danger); color: white; border: none; border-radius: var(--radius); cursor: pointer; }
/* /Pages/Admin/AdminIssues.razor.rz.scp.css */
/* Estilos específicos de AdminIssues — estilos compartilhados estão em app.css */
/* /Pages/Admin/AdminLeads.razor.rz.scp.css */
/* Estilos específicos de AdminLeads */

.leads-summary[b-jrju0yqm6o] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.leads-count[b-jrju0yqm6o] {
    font-weight: 600;
    font-size: 0.9rem;
}

.leads-latest[b-jrju0yqm6o] {
    font-size: 0.8rem;
    color: var(--color-text-muted, #9ca3af);
}

.lead-email[b-jrju0yqm6o] {
    color: var(--color-primary, #6366f1);
    text-decoration: none;
}

.lead-email:hover[b-jrju0yqm6o] {
    text-decoration: underline;
}
/* /Pages/Admin/AdminMerchants.razor.rz.scp.css */
/* Estilos específicos de AdminMerchants */

/* Filtros */
.filter-bar[b-kk8xcbs6rv] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.filter-item input[b-kk8xcbs6rv],
.filter-item select[b-kk8xcbs6rv] {
    padding: 6px 10px;
    border: 1px solid var(--color-border, #d1d5db);
    border-radius: 8px;
    font-size: 0.82rem;
    background: var(--color-surface, #fff);
    color: var(--color-text, #374151);
    min-width: 160px;
}

.filter-item input:focus[b-kk8xcbs6rv],
.filter-item select:focus[b-kk8xcbs6rv] {
    outline: none;
    border-color: var(--color-primary, #6366f1);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.15);
}

.filter-count[b-kk8xcbs6rv] {
    font-size: 0.78rem;
    color: var(--color-text-muted, #9ca3af);
    margin-left: auto;
}

.merchant-name-cell[b-kk8xcbs6rv] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.merchant-provider[b-kk8xcbs6rv] {
    font-size: 0.72rem;
    color: var(--color-text-muted, #9ca3af);
}

.action-buttons[b-kk8xcbs6rv] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-xs[b-kk8xcbs6rv] {
    padding: 3px 8px;
    font-size: 0.72rem;
    border-radius: 6px;
}

.btn-outline[b-kk8xcbs6rv] {
    background: transparent;
    border: 1px solid var(--color-border, #d1d5db);
    color: var(--color-text, #374151);
    cursor: pointer;
}

.btn-outline:hover[b-kk8xcbs6rv] {
    background: var(--color-surface-hover, #f3f4f6);
}

.expiring-soon[b-kk8xcbs6rv] {
    color: #d97706;
    font-weight: 600;
}

/* Modal */
.modal-overlay[b-kk8xcbs6rv] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content[b-kk8xcbs6rv] {
    background: var(--color-surface, #fff);
    border-radius: var(--radius-lg, 12px);
    padding: 24px;
    min-width: 360px;
    max-width: 480px;
    border: 1px solid var(--color-border, #e5e7eb);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-lg[b-kk8xcbs6rv] {
    min-width: 520px;
    max-width: 680px;
}

.modal-header[b-kk8xcbs6rv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.modal-header h3[b-kk8xcbs6rv] {
    margin: 0;
    font-size: 1.1rem;
}

.modal-close[b-kk8xcbs6rv] {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--color-text-muted, #9ca3af);
    padding: 0 4px;
    line-height: 1;
}

.modal-close:hover[b-kk8xcbs6rv] {
    color: var(--color-text, #374151);
}

.modal-body[b-kk8xcbs6rv] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-section h4[b-kk8xcbs6rv] {
    margin: 0 0 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-muted, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.modal-actions[b-kk8xcbs6rv] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border, #e5e7eb);
}
/* /Pages/Admin/AdminPayments.razor.rz.scp.css */
/* Estilos específicos de AdminPayments — estilos compartilhados estão em app.css */
/* /Pages/Admin/AdminPlans.razor.rz.scp.css */
/* Estilos específicos de AdminPlans — estilos compartilhados estão em app.css */
/* /Pages/Admin/AdminSecurity.razor.rz.scp.css */
.security-card[b-g5w53za117] {
    background: #fff;
    border-radius: var(--radius-lg, 12px);
    padding: 2rem;
    max-width: 540px;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.security-header[b-g5w53za117] {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.security-header h3[b-g5w53za117] {
    margin: 0;
    font-size: 1.1rem;
}

.security-status[b-g5w53za117] {
    margin-bottom: 1.5rem;
}

.status-badge[b-g5w53za117] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active[b-g5w53za117] {
    background: #dcfce7;
    color: #16a34a;
}

.status-inactive[b-g5w53za117] {
    background: #fef3c7;
    color: #d97706;
}

.pin-form[b-g5w53za117] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group[b-g5w53za117] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label[b-g5w53za117] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.form-input[b-g5w53za117] {
    padding: 0.6rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-align: center;
    width: 200px;
    transition: border-color 0.15s;
}

.form-input:focus[b-g5w53za117] {
    outline: none;
    border-color: var(--color-primary, #00a884);
    box-shadow: 0 0 0 3px rgba(0,168,132,.15);
}

.form-actions[b-g5w53za117] {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn[b-g5w53za117] {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}

.btn:disabled[b-g5w53za117] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary[b-g5w53za117] {
    background: var(--color-primary, #00a884);
    color: #fff;
}

.btn-danger[b-g5w53za117] {
    background: #ef4444;
    color: #fff;
}

.alert[b-g5w53za117] {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.alert-success[b-g5w53za117] {
    background: #dcfce7;
    color: #16a34a;
}

.alert-error[b-g5w53za117] {
    background: #fef2f2;
    color: #dc2626;
}
/* /Pages/Admin/AdminServerStats.razor.rz.scp.css */
.admin-page[b-bgor3obcc6] {
    padding: 32px;
    max-width: 1100px;
}

.admin-page-header[b-bgor3obcc6] {
    margin-bottom: 28px;
}

.admin-page-header h1[b-bgor3obcc6] {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

.admin-stats-grid[b-bgor3obcc6] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.admin-stat-card[b-bgor3obcc6] {
    background: var(--color-surface);
    border-radius: var(--radius-lg, 12px);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid var(--color-border);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.admin-stat-card:hover[b-bgor3obcc6] {
    box-shadow: var(--shadow-md);
}

.stat-data[b-bgor3obcc6] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-stat-value[b-bgor3obcc6] {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1;
}

.admin-stat-label[b-bgor3obcc6] {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.server-section[b-bgor3obcc6] {
    margin-top: 28px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg, 12px);
    padding: 24px;
}

.section-title[b-bgor3obcc6] {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
}

.server-metrics[b-bgor3obcc6] {
    display: flex;
    gap: 32px;
}

.server-metric[b-bgor3obcc6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.metric-value[b-bgor3obcc6] {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
}

.metric-label[b-bgor3obcc6] {
    font-size: 12px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* Bar chart styles (scoped) */
.bar-chart-horizontal[b-bgor3obcc6] { display: flex; flex-direction: column; gap: 10px; }
.bar-row[b-bgor3obcc6] { display: flex; align-items: center; gap: 10px; }
.bar-label[b-bgor3obcc6] { width: 100px; font-size: 13px; font-weight: 500; color: var(--color-text); flex-shrink: 0; }
.bar-track[b-bgor3obcc6] { flex: 1; height: 8px; background: var(--color-border, #e5e7eb); border-radius: 4px; overflow: hidden; }
.bar-fill[b-bgor3obcc6] { height: 100%; border-radius: 4px; min-width: 2px; }
.bar-count[b-bgor3obcc6] { font-size: 13px; font-weight: 600; color: var(--color-text); min-width: 40px; text-align: right; }

.entity-table[b-bgor3obcc6] {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.entity-table th[b-bgor3obcc6] {
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    padding: 8px 0;
    border-bottom: 2px solid var(--color-border);
}

.entity-table td[b-bgor3obcc6] {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
}

.entity-table td:last-child[b-bgor3obcc6] {
    text-align: right;
    font-weight: 600;
    font-family: var(--font-display);
}

@media (max-width: 768px) {
    .admin-page[b-bgor3obcc6] {
        padding: 20px 16px;
    }

    .server-metrics[b-bgor3obcc6] { flex-direction: column; gap: 16px; }
}
/* /Pages/Dashboard.razor.rz.scp.css */
.dashboard[b-znhqj5cvgz] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dashboard-loading[b-znhqj5cvgz],
.dashboard-empty[b-znhqj5cvgz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
    gap: 12px;
}

.dashboard-toolbar[b-znhqj5cvgz] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.toolbar-top[b-znhqj5cvgz] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.toolbar-new-btn[b-znhqj5cvgz] {
    margin-left: auto;
}

/* FAB Nova conversa — Dashboard/Kanban/Lista */
.dashboard-fab-new[b-znhqj5cvgz] {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 999px;
    background: var(--color-primary);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.dashboard-fab-new:hover[b-znhqj5cvgz] {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.dashboard-fab-new:active[b-znhqj5cvgz] {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .dashboard-fab-new[b-znhqj5cvgz] {
        padding: 14px;
    }
    .dashboard-fab-new span[b-znhqj5cvgz] {
        display: none;
    }
}

.toolbar-status-chips[b-znhqj5cvgz] {
    display: flex;
    gap: 6px;
    align-items: center;
    padding-left: 12px;
    border-left: 1px solid var(--color-border);
}

.status-chip[b-znhqj5cvgz] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    color: var(--color-text);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.status-chip:hover[b-znhqj5cvgz] {
    border-color: var(--color-primary);
    background: var(--color-hover);
}

.status-chip-active[b-znhqj5cvgz] {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.status-chip-active:hover[b-znhqj5cvgz] {
    background: var(--color-primary);
}

/* Pulse vermelho em Pendente quando count > 0 — atrai olhar do atendente.
   Keyframe status-pulse + media reduced-motion definidos em wwwroot/css/app.css. */
.status-chip-alert[b-znhqj5cvgz] {
    animation: status-pulse 1.8s ease-in-out infinite;
    border-color: var(--color-pending);
}

.status-chip-dot[b-znhqj5cvgz] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-chip-count[b-znhqj5cvgz] {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}

.status-chip-active .status-chip-count[b-znhqj5cvgz] {
    background: rgba(255, 255, 255, 0.22);
    color: white;
}

.view-toggle[b-znhqj5cvgz] {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-left: auto;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 3px;
}

.view-toggle-label[b-znhqj5cvgz] {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-secondary);
    padding: 0 8px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.view-btn[b-znhqj5cvgz] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--color-text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.view-btn:hover[b-znhqj5cvgz] {
    background: var(--color-hover);
    color: var(--color-text);
}

.view-active[b-znhqj5cvgz] {
    background: var(--color-surface);
    color: var(--color-primary);
    box-shadow: var(--shadow);
}

@media (max-width: 900px) {
    .view-toggle-label[b-znhqj5cvgz] { display: none; }
    .view-btn-label[b-znhqj5cvgz] { display: none; }
    .view-btn[b-znhqj5cvgz] { padding: 0; width: 34px; }
}

.dashboard-content[b-znhqj5cvgz] {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.conversation-list[b-znhqj5cvgz] {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.conversation-detail[b-znhqj5cvgz] {
    flex: 0 0 380px;
    overflow: hidden;
}

.detail-backdrop[b-znhqj5cvgz] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 49;
    background: rgba(0, 0, 0, 0.1);
}

.detail-overlay[b-znhqj5cvgz] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 400px;
    z-index: 50;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    background: var(--color-surface);
    animation: slideIn-b-znhqj5cvgz 0.2s ease;
    overflow-y: auto;
}

@keyframes slideIn-b-znhqj5cvgz {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.list-empty[b-znhqj5cvgz] {
    padding: 40px 20px;
}

/* === Swimlane View === */
.swimlane-view[b-znhqj5cvgz] {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.swimlane[b-znhqj5cvgz] {
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.swimlane-pending[b-znhqj5cvgz] {
    border-left: 4px solid var(--color-pending);
    background: #fef2f2;
}

.swimlane-in-progress[b-znhqj5cvgz] {
    border-left: 4px solid var(--color-in-progress);
    background: #fffbeb;
}

.swimlane-resolved[b-znhqj5cvgz] {
    border-left: 4px solid var(--color-resolved);
    background: #f0fdf4;
}

.swimlane-dragover[b-znhqj5cvgz] {
    box-shadow: inset 0 0 0 2px var(--color-primary);
}

.swimlane-header[b-znhqj5cvgz] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
}

.swimlane-title[b-znhqj5cvgz] {
    font-weight: 700;
    font-size: 13px;
}

.swimlane-pending .swimlane-title[b-znhqj5cvgz] { color: var(--color-pending); }
.swimlane-in-progress .swimlane-title[b-znhqj5cvgz] { color: #b45309; }
.swimlane-resolved .swimlane-title[b-znhqj5cvgz] { color: #16a34a; }

.swimlane-count[b-znhqj5cvgz] {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 10px;
    margin-left: auto;
}

.swimlane-pending .swimlane-count[b-znhqj5cvgz] { background: #fecaca; color: var(--color-pending); }
.swimlane-in-progress .swimlane-count[b-znhqj5cvgz] { background: #fde68a; color: #92400e; }
.swimlane-resolved .swimlane-count[b-znhqj5cvgz] { background: #bbf7d0; color: #16a34a; }

.swimlane-cards[b-znhqj5cvgz] {
    display: flex;
    gap: 8px;
    padding: 8px 12px 10px;
    overflow-x: auto;
    min-height: 44px;
    align-items: flex-start;
}

.swimlane-empty[b-znhqj5cvgz] {
    font-size: 12px;
    padding: 4px 4px;
    font-style: italic;
    opacity: 0.6;
}

.swim-card[b-znhqj5cvgz] {
    flex-shrink: 0;
    width: 190px;
    padding: 10px 12px;
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.08);
    background: white;
    cursor: grab;
    transition: all var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.swim-card:active[b-znhqj5cvgz] {
    cursor: grabbing;
    opacity: 0.7;
    transform: scale(0.97);
}

.swim-card:hover[b-znhqj5cvgz] {
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.swim-card-selected[b-znhqj5cvgz] {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary);
}

.swim-card-name[b-znhqj5cvgz] {
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swim-card-preview[b-znhqj5cvgz] {
    font-size: 11px;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swim-card-attendant[b-znhqj5cvgz] {
    font-size: 11px;
    margin-top: 2px;
    font-style: italic;
}

.swim-card-footer[b-znhqj5cvgz] {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.swim-card-time[b-znhqj5cvgz] {
    font-size: 11px;
}

.unread-badge-sm[b-znhqj5cvgz] {
    background: var(--color-primary);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 0 5px;
    border-radius: 8px;
    min-width: 16px;
    text-align: center;
    line-height: 16px;
}

@media (max-width: 768px) {
    .swimlane-cards[b-znhqj5cvgz] {
        flex-direction: column;
    }
    .swim-card[b-znhqj5cvgz] {
        width: 100%;
    }
}

.toast[b-znhqj5cvgz] {
    padding: 10px 16px;
    font-size: 13px;
    text-align: center;
    animation: fadeIn-b-znhqj5cvgz 0.2s ease;
    font-weight: 500;
}

.toast-error[b-znhqj5cvgz] {
    background: #fef2f2;
    color: #dc2626;
    border-bottom: 1px solid #fecaca;
}

.toast-success[b-znhqj5cvgz] {
    background: #f0fdf4;
    color: #15803d;
    border-bottom: 1px solid #bbf7d0;
}

.toast-info[b-znhqj5cvgz] {
    background: #eff6ff;
    color: #1d4ed8;
    border-bottom: 1px solid #bfdbfe;
}

@keyframes fadeIn-b-znhqj5cvgz {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .dashboard-content[b-znhqj5cvgz] {
        flex-direction: column;
    }

    .conversation-list[b-znhqj5cvgz] {
        flex: 1;
    }

    .conversation-detail[b-znhqj5cvgz],
    .detail-overlay[b-znhqj5cvgz] {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        z-index: 100;
        background: var(--color-surface);
    }

    .toolbar-top[b-znhqj5cvgz] {
        flex-wrap: wrap;
    }
}

.modal-overlay[b-znhqj5cvgz] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    animation: fadeIn-b-znhqj5cvgz 0.15s ease;
}

.modal-content[b-znhqj5cvgz] {
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 24px;
    width: 400px;
    max-width: 90vw;
    box-shadow: var(--shadow-lg);
}

.modal-content h3[b-znhqj5cvgz] {
    margin-bottom: 16px;
}

.modal-field[b-znhqj5cvgz] {
    margin-bottom: 12px;
}

.modal-field label[b-znhqj5cvgz] {
    display: block;
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.attendant-popup-list[b-znhqj5cvgz] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.attendant-popup-btn[b-znhqj5cvgz] {
    width: 100%;
    justify-content: flex-start;
}

.modal-actions[b-znhqj5cvgz] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .detail-overlay[b-znhqj5cvgz] { width: 100vw; right: 0; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .conversation-detail[b-znhqj5cvgz] {
        flex: 0 0 320px;
    }
}
/* /Pages/Login.razor.rz.scp.css */
/* === Login page — card centralizado === */
.login-section[b-9c9zp0vnop] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 56px);
    padding: 20px;
    background: linear-gradient(165deg, #f0fdf4 0%, #fafbfc 35%, #f0f9ff 70%, #fefce8 100%);
}

.login-card[b-9c9zp0vnop] {
    background: var(--color-surface);
    border-radius: var(--radius-lg, 12px);
    box-shadow: var(--shadow-lg, 0 10px 40px rgba(0,0,0,0.08)), 0 0 0 1px rgba(0, 0, 0, 0.03);
    padding: 44px 36px;
    width: 100%;
    max-width: 400px;
}

.login-header[b-9c9zp0vnop] {
    text-align: center;
    margin-bottom: 28px;
}

.login-logo[b-9c9zp0vnop] {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
}

.login-header h1[b-9c9zp0vnop] {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.login-header h1 strong[b-9c9zp0vnop] {
    font-weight: 800;
}

.login-header p[b-9c9zp0vnop] {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.error-message[b-9c9zp0vnop] {
    background: #fef2f2;
    color: var(--color-danger);
    border: 1px solid #fecaca;
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
}

.social-buttons[b-9c9zp0vnop] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-social[b-9c9zp0vnop] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-social:hover[b-9c9zp0vnop] {
    border-color: var(--color-text-secondary);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.btn-google:hover[b-9c9zp0vnop] { border-color: #4285f4; }
.btn-facebook:hover[b-9c9zp0vnop] { border-color: #1877f2; }
.btn-instagram:hover[b-9c9zp0vnop] { border-color: #e4405f; }

/* === Auth callback === */
.auth-callback[b-9c9zp0vnop] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 56px);
    gap: 16px;
}

/* === Responsive === */
.login-security-hint[b-9c9zp0vnop] {
    font-size: 11px;
    color: var(--color-text-secondary);
    text-align: center;
    margin-top: 12px;
}

@media (max-width: 600px) {
    .login-card[b-9c9zp0vnop] {
        padding: 32px 24px;
    }
}
/* /Pages/Mobile/MobileBoard.razor.rz.scp.css */
/* MobileBoard — WhatsApp-style conversation list */

/* Header */
.mb-header[b-rzh4yivsot] {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px; height: 48px;
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--color-primary-dark); color: var(--color-surface); flex-shrink: 0;
}
.mb-header-left[b-rzh4yivsot] { display: flex; align-items: center; gap: 8px; }
.mb-conn[b-rzh4yivsot] {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.mb-conn-on[b-rzh4yivsot] { background: var(--color-resolved); }
.mb-conn-off[b-rzh4yivsot] { background: var(--color-pending); animation: mb-pulse-b-rzh4yivsot 1.5s infinite; }
.mb-title[b-rzh4yivsot] { font-size: 17px; font-weight: 600; letter-spacing: -0.2px; }
.mb-merchant[b-rzh4yivsot] {
    font-size: 11px; opacity: 0.8; background: rgba(255,255,255,0.15);
    padding: 2px 8px; border-radius: 8px;
}

/* Attendant filter */
.mb-attendant-bar[b-rzh4yivsot] {
    display: flex; gap: 6px; padding: 6px 12px 0;
    overflow-x: auto; background: var(--color-bg);
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.mb-attendant-bar[b-rzh4yivsot]::-webkit-scrollbar { display: none; }
.mb-attendant-chip[b-rzh4yivsot] {
    display: flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: 14px;
    border: 1px solid var(--color-border); background: var(--color-surface);
    font-size: 12px; color: var(--color-text-secondary); cursor: pointer;
    white-space: nowrap; flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}
.mb-attendant-chip:active[b-rzh4yivsot] { background: var(--color-bg); }
.mb-attendant-active[b-rzh4yivsot] {
    background: var(--color-primary-dark); color: var(--color-surface); border-color: var(--color-primary-dark);
}

/* Filters */
.mb-filters[b-rzh4yivsot] {
    display: flex; gap: 6px; padding: 8px 12px;
    overflow-x: auto; flex-shrink: 0;
    background: var(--color-bg); -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mb-filters[b-rzh4yivsot]::-webkit-scrollbar { display: none; }
.mb-pill[b-rzh4yivsot] {
    display: flex; align-items: center; gap: 5px;
    padding: 5px 12px; border-radius: 16px;
    border: 1px solid var(--color-border); background: var(--color-surface);
    font-size: 13px; color: var(--color-text-secondary); cursor: pointer;
    white-space: nowrap; flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}
.mb-pill:active[b-rzh4yivsot] { background: var(--color-bg); }
.mb-pill-active[b-rzh4yivsot] {
    background: var(--color-primary); color: var(--color-surface); border-color: var(--color-primary);
}
.mb-pill-active .mb-pill-count[b-rzh4yivsot] { background: rgba(255,255,255,0.25); color: var(--color-surface); }
/* Pulse vermelho em Pendente quando count > 0 — coeso com desktop.
   Keyframe status-pulse + media reduced-motion definidos em wwwroot/css/app.css. */
.mb-pill-alert[b-rzh4yivsot] {
    animation: status-pulse 1.8s ease-in-out infinite;
    border-color: var(--color-pending);
}
.mb-pill-dot[b-rzh4yivsot] { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mb-pill-count[b-rzh4yivsot] {
    font-size: 11px; background: var(--color-border); color: var(--color-text-secondary);
    padding: 0 5px; border-radius: 8px; font-weight: 600;
}

/* Loading */
.mb-loading[b-rzh4yivsot] {
    flex: 1; display: flex; align-items: center; justify-content: center;
}
.mb-spinner[b-rzh4yivsot] {
    width: 32px; height: 32px;
    border: 3px solid var(--color-border); border-top-color: var(--color-primary);
    border-radius: 50%; animation: mb-spin-b-rzh4yivsot 0.7s linear infinite;
}

/* Empty state */
.mb-empty[b-rzh4yivsot] {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: var(--color-text-secondary); gap: 12px;
}
.mb-empty p[b-rzh4yivsot] { font-size: 14px; margin: 0; }

/* Conversation list */
.mb-list[b-rzh4yivsot] {
    flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: var(--color-surface);
}

/* Conversation item */
.mb-item[b-rzh4yivsot] {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px; cursor: pointer;
    border-bottom: 1px solid var(--color-bg);
    -webkit-tap-highlight-color: transparent;
}
.mb-item:active[b-rzh4yivsot] { background: var(--color-bg); }

.mb-item-pending[b-rzh4yivsot] {
    background: rgba(239, 68, 68, 0.06);
    border-left: 3px solid var(--color-pending);
    animation: pending-glow 2.6s ease-in-out infinite;
}

.mb-item-pending:active[b-rzh4yivsot] { background: rgba(239, 68, 68, 0.14); }

.mb-item-avatar[b-rzh4yivsot] {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: var(--color-surface); flex-shrink: 0;
}

.mb-item-body[b-rzh4yivsot] { flex: 1; min-width: 0; }

.mb-item-row1[b-rzh4yivsot] {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 2px;
}
.mb-item-name[b-rzh4yivsot] {
    font-size: 15px; font-weight: 500; color: var(--color-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    flex: 1; min-width: 0;
}
.mb-item-time[b-rzh4yivsot] {
    font-size: 11px; color: var(--color-text-secondary); flex-shrink: 0; margin-left: 8px;
}
.mb-item-time-unread[b-rzh4yivsot] { color: var(--color-primary); font-weight: 600; }

.mb-item-row2[b-rzh4yivsot] {
    display: flex; align-items: center; gap: 6px;
}
.mb-item-col-dot[b-rzh4yivsot] {
    width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.mb-item-preview[b-rzh4yivsot] {
    font-size: 13px; color: var(--color-text-secondary); flex: 1; min-width: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mb-item-badge[b-rzh4yivsot] {
    background: var(--color-primary); color: var(--color-surface); font-size: 11px; font-weight: 700;
    min-width: 20px; height: 20px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 5px; flex-shrink: 0;
}

@keyframes mb-spin-b-rzh4yivsot { to { transform: rotate(360deg); } }
@keyframes mb-pulse-b-rzh4yivsot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
/* /Pages/Mobile/MobileChatPage.razor.rz.scp.css */
/* MobileChatPage — WhatsApp-native chat */

.mc-loading[b-ujr9qod589] {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: #efeae2; color: var(--color-text-secondary); gap: 16px;
}
.mc-spinner[b-ujr9qod589] {
    width: 32px; height: 32px;
    border: 3px solid var(--color-border); border-top-color: var(--color-primary);
    border-radius: 50%; animation: mc-spin-b-ujr9qod589 0.7s linear infinite;
}

/* Header */
.mc-header[b-ujr9qod589] {
    display: flex; align-items: center; gap: 8px;
    padding: 0 8px; height: 52px;
    padding-top: env(safe-area-inset-top, 0px);
    background: var(--color-primary-dark); color: var(--color-surface); flex-shrink: 0;
}
.mc-back[b-ujr9qod589] {
    background: none; border: none; color: var(--color-surface); padding: 6px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; -webkit-tap-highlight-color: transparent;
}
.mc-back:active[b-ujr9qod589] { background: rgba(255,255,255,0.15); }
.mc-avatar[b-ujr9qod589] {
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: var(--color-surface); flex-shrink: 0;
}
.mc-header-info[b-ujr9qod589] { flex: 1; min-width: 0; }
.mc-header-name[b-ujr9qod589] {
    display: block; font-size: 15px; font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2;
}
.mc-header-status[b-ujr9qod589] { display: block; font-size: 11px; opacity: 0.85; line-height: 1.2; }
.mc-offline[b-ujr9qod589] { color: #fef3c7; }
.mc-status-dot[b-ujr9qod589] {
    width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
    cursor: pointer; border: 2px solid rgba(255,255,255,0.5);
}
.mc-panel-btn[b-ujr9qod589] {
    background: none; border: none; padding: 6px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; -webkit-tap-highlight-color: transparent;
    margin-left: 2px;
}
.mc-panel-btn:active[b-ujr9qod589] { background: rgba(255,255,255,0.15); }

.mc-panel-btn-on[b-ujr9qod589] {
    background: rgba(251, 191, 36, 0.32);
}

/* Chip bar (#177) */
.mc-chip-bar[b-ujr9qod589] {
    display: flex; gap: 4px; padding: 4px 10px;
    background: var(--color-bg); flex-shrink: 0; flex-wrap: wrap;
}
.mc-chip[b-ujr9qod589] {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 3px 10px; border-radius: 12px; border: none;
    font-size: 11px; font-weight: 600; color: var(--color-surface);
    cursor: pointer; white-space: nowrap;
    background: var(--chip-color, var(--color-text-secondary));
    -webkit-tap-highlight-color: transparent;
}
.mc-chip:active[b-ujr9qod589] { opacity: 0.8; }
.mc-chip-backdrop[b-ujr9qod589] { position: fixed; inset: 0; z-index: 50; }
.mc-chip-dropdown[b-ujr9qod589] {
    position: absolute; left: 10px; right: 10px; top: calc(52px + env(safe-area-inset-top, 0px) + 30px);
    background: var(--color-surface); border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    z-index: 51; overflow: hidden;
}
.mc-chip-option[b-ujr9qod589] {
    display: flex; align-items: center; gap: 8px;
    width: 100%; padding: 10px 14px; border: none;
    background: none; font-size: 14px; color: var(--color-text);
    cursor: pointer; text-align: left;
}
.mc-chip-option:active[b-ujr9qod589] { background: var(--color-bg); }
.mc-chip-dot[b-ujr9qod589] { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* Status menu */
.mc-status-menu-backdrop[b-ujr9qod589] {
    position: fixed; inset: 0; z-index: 50;
}
.mc-status-menu[b-ujr9qod589] {
    position: absolute; top: calc(52px + env(safe-area-inset-top, 0px));
    right: 8px; background: var(--color-surface); border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18); z-index: 51;
    min-width: 180px; overflow: hidden;
}
.mc-status-option[b-ujr9qod589] {
    display: flex; align-items: center; gap: 10px;
    width: 100%; padding: 12px 16px; border: none; background: none;
    font-size: 14px; color: var(--color-text); cursor: pointer; text-align: left;
}
.mc-status-option:active[b-ujr9qod589] { background: var(--color-bg); }
.mc-status-active[b-ujr9qod589] { font-weight: 600; background: var(--color-bg); }
.mc-status-dot-sm[b-ujr9qod589] { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* Reconnect */
.mc-reconnect[b-ujr9qod589] {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 5px; background: #fef3c7; color: #92400e;
    font-size: 12px; font-weight: 500; flex-shrink: 0;
}

/* Messages — fundo doodle estilo WhatsApp */
.mc-messages[b-ujr9qod589] {
    flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 4px 10px 6px; display: flex; flex-direction: column; gap: 1px;
    background-color: #efeae2;
    background-image: url("/img/whatsapp-doodle.svg");
    background-repeat: repeat;
    background-size: 220px 220px;
    position: relative;
    font-family: var(--font-body);
}

/* Day separator */
.mc-day[b-ujr9qod589] { align-self: center; margin: 6px 0 4px; }
.mc-day span[b-ujr9qod589] {
    display: inline-block; background: var(--color-surface); padding: 4px 12px;
    border-radius: 7px; font-size: 11.5px; color: var(--color-text-secondary);
    box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
    text-transform: uppercase; letter-spacing: 0.2px; font-weight: 500;
}

/* Bubbles */
.mc-msg[b-ujr9qod589] {
    max-width: 84%; padding: 4px 7px 5px 8px;
    border-radius: 7.5px; font-size: var(--chat-font-size, 14px); line-height: 1.35;
    word-wrap: break-word; overflow-wrap: break-word;
    position: relative; box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
}
.mc-in[b-ujr9qod589] { align-self: flex-start; background: var(--color-surface); }
.mc-out[b-ujr9qod589] { align-self: flex-end; background: var(--color-primary-light); }
.mc-first.mc-in[b-ujr9qod589] { border-top-left-radius: 0; margin-top: 3px; }
.mc-first.mc-out[b-ujr9qod589] { border-top-right-radius: 0; margin-top: 3px; }
.mc-first.mc-in[b-ujr9qod589]::before {
    content: ''; position: absolute; top: 0; left: -7px;
    border-top: 6px solid var(--color-surface); border-left: 7px solid transparent;
}
.mc-first.mc-out[b-ujr9qod589]::before {
    content: ''; position: absolute; top: 0; right: -7px;
    border-top: 6px solid var(--color-primary-light); border-right: 7px solid transparent;
}
.mc-in[b-ujr9qod589] { margin-left: 7px; }
.mc-out[b-ujr9qod589] { margin-right: 7px; }
.mc-time[b-ujr9qod589] {
    font-size: 11px; color: var(--color-text-secondary); float: right;
    margin-left: 6px; position: relative; top: 3px;
}
.mc-msg-img[b-ujr9qod589] {
    max-width: 100%; max-height: 200px; border-radius: 5px;
    cursor: pointer; display: block; margin-bottom: 2px;
}
.mc-msg-audio[b-ujr9qod589] { max-width: 100%; height: 32px; display: block; }
.mc-transcription[b-ujr9qod589] { font-size: 12px; color: var(--color-text-secondary); display: block; margin-top: 2px; font-style: italic; }
.mc-transcribing[b-ujr9qod589] { opacity: 0.7; }
.mc-transcribe-btn[b-ujr9qod589] {
    display: inline-flex; align-items: center; gap: 4px;
    margin-top: 2px; padding: 4px 10px;
    background: transparent;
    border: 1px dashed var(--color-border, #d1d5db);
    border-radius: 6px;
    color: var(--color-text-secondary);
    font-size: 12px; cursor: pointer;
}

/* Error */
.mc-error[b-ujr9qod589] {
    background: #fef2f2; color: var(--color-danger, #dc2626); text-align: center;
    padding: 5px; font-size: 12px; flex-shrink: 0; cursor: pointer;
}

/* Scroll btn */
.mc-scroll-btn[b-ujr9qod589] {
    position: fixed; bottom: calc(108px + env(safe-area-inset-bottom, 0px));
    right: 10px; width: 36px; height: 36px; border-radius: 50%;
    background: var(--color-surface); border: none; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10;
}

/* Image preview overlay */
.mc-overlay[b-ujr9qod589] {
    position: fixed; inset: 0; background: rgba(0,0,0,0.92);
    z-index: 100; display: flex; align-items: center; justify-content: center;
}
.mc-overlay-close[b-ujr9qod589] {
    position: absolute; top: env(safe-area-inset-top, 8px); right: 8px;
    background: none; border: none; color: var(--color-surface); font-size: 32px;
    cursor: pointer; padding: 8px; z-index: 101;
}
.mc-overlay-img[b-ujr9qod589] { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Send preview */
.mc-send-preview[b-ujr9qod589] {
    position: fixed; inset: 0; background: #1b2b34;
    z-index: 100; display: flex; flex-direction: column;
}
.mc-send-preview-top[b-ujr9qod589] {
    padding: 8px 12px; flex-shrink: 0;
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
}
.mc-send-preview-close[b-ujr9qod589] {
    background: none; border: none; cursor: pointer; padding: 4px;
    display: flex; align-items: center; justify-content: center;
}
.mc-send-preview-img[b-ujr9qod589] { flex: 1; object-fit: contain; min-height: 0; padding: 4px 8px; }
.mc-send-preview-bottom[b-ujr9qod589] {
    padding: 12px 16px; display: flex; justify-content: flex-end; flex-shrink: 0;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
.mc-send-preview-btn[b-ujr9qod589] {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--color-primary); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.mc-send-preview-btn:active[b-ujr9qod589] { background: var(--color-primary-dark); }
.mc-send-preview-btn:disabled[b-ujr9qod589] { opacity: 0.5; }

/* Input bar */
.mc-bar[b-ujr9qod589] {
    display: flex; align-items: flex-end; gap: 4px;
    padding: 4px 4px; background: var(--color-bg); flex-shrink: 0;
}
.mc-bar-icon[b-ujr9qod589] {
    width: 38px; height: 38px; display: flex;
    align-items: center; justify-content: center;
    cursor: pointer; border-radius: 50%; flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}
.mc-bar-icon:active[b-ujr9qod589] { background: rgba(0,0,0,0.08); }
.mc-bar-input[b-ujr9qod589] {
    flex: 1; border: none; border-radius: 21px;
    padding: 9px 14px; font-size: 15px; resize: none;
    min-height: 38px; max-height: 96px;
    font-family: var(--font-body); outline: none; background: var(--color-surface);
    color: var(--color-text);
    line-height: 1.3; min-width: 0;
}
.mc-bar-send[b-ujr9qod589] {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--color-primary); border: none; color: var(--color-surface);
    cursor: pointer; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.mc-bar-send:active:not(:disabled)[b-ujr9qod589] { background: var(--color-primary-dark); }
.mc-bar-send:disabled[b-ujr9qod589] { opacity: 0.45; }

/* Action Panel (slide-up) */
.mc-panel-backdrop[b-ujr9qod589] {
    position: fixed; inset: 0; background: rgba(0,0,0,0.4);
    z-index: 60; animation: mc-fade-b-ujr9qod589 0.15s ease;
}
.mc-panel[b-ujr9qod589] {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--color-surface); border-radius: 16px 16px 0 0;
    z-index: 61; max-height: 70vh; overflow-y: auto;
    padding: 8px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    animation: mc-slide-up-b-ujr9qod589 0.2s ease;
}
.mc-panel-handle[b-ujr9qod589] {
    width: 36px; height: 4px; background: var(--color-border);
    border-radius: 2px; margin: 0 auto 12px; cursor: pointer;
}
.mc-panel-section[b-ujr9qod589] {
    margin-bottom: 16px;
}
.mc-panel-section h4[b-ujr9qod589] {
    font-size: 12px; color: var(--color-text-secondary); text-transform: uppercase;
    letter-spacing: 0.5px; margin: 0 0 8px; font-weight: 600;
}
.mc-panel-pills[b-ujr9qod589] {
    display: flex; flex-wrap: wrap; gap: 6px;
}
.mc-panel-pill[b-ujr9qod589] {
    display: flex; align-items: center; gap: 5px;
    padding: 6px 12px; border-radius: 16px;
    border: 1px solid var(--color-border); background: var(--color-surface);
    font-size: 13px; color: var(--color-text); cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.mc-panel-pill:active[b-ujr9qod589] { background: var(--color-bg); }
.mc-panel-pill-active[b-ujr9qod589] {
    background: var(--pill-color, var(--color-primary)); color: var(--color-surface);
    border-color: var(--pill-color, var(--color-primary));
}
.mc-panel-pill-dot[b-ujr9qod589] {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.mc-panel-pill-active .mc-panel-pill-dot[b-ujr9qod589] {
    background: var(--color-surface) !important;
}
.mc-panel-phone[b-ujr9qod589] {
    font-size: 14px; color: var(--color-text); margin: 0;
    font-family: monospace;
}

/* MarkerChip overrides for mobile panel */
.mc-panel-section[b-ujr9qod589]  .marker-chip {
    padding: 8px 0; gap: 6px;
}
.mc-panel-section[b-ujr9qod589]  .marker-type {
    font-size: 14px; min-width: 90px;
}
.mc-panel-section[b-ujr9qod589]  .marker-status {
    font-size: 13px; padding: 3px 12px;
}
.mc-panel-section[b-ujr9qod589]  .marker-action-btn {
    font-size: 12px; padding: 5px 12px; min-height: 32px;
    border-radius: 16px;
}
.mc-panel-section[b-ujr9qod589]  .marker-actions {
    width: 100%; margin-left: 0; margin-top: 4px;
}
.mc-panel-section[b-ujr9qod589]  .marker-assigned-input {
    width: 100%; margin-top: 4px;
}
.mc-panel-section[b-ujr9qod589]  .marker-assigned-input input {
    flex: 1; width: auto; min-height: 32px; padding: 6px 10px;
    font-size: 14px; border-radius: 16px;
}

/* Pix dropdown divider + option */
.mc-chip-divider[b-ujr9qod589] { height: 1px; background: var(--color-border); margin: 2px 14px; }
.mc-chip-pix[b-ujr9qod589] { color: var(--color-primary-dark); font-weight: 500; }
.mc-chip-pix svg[b-ujr9qod589] { flex-shrink: 0; }

/* Pix modal */
.mc-pix-backdrop[b-ujr9qod589] { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,0.4); }
.mc-pix-modal[b-ujr9qod589] {
    position: fixed; left: 16px; right: 16px; top: 50%; transform: translateY(-50%);
    z-index: 61; background: var(--color-surface); border-radius: 12px;
    padding: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    animation: mc-fade-b-ujr9qod589 0.15s ease-out;
}
.mc-pix-modal h4[b-ujr9qod589] { margin: 0 0 16px; font-size: 16px; color: var(--color-text); }
.mc-pix-field[b-ujr9qod589] { margin-bottom: 12px; }
.mc-pix-field label[b-ujr9qod589] { display: block; font-size: 12px; font-weight: 600; color: var(--color-text-secondary); margin-bottom: 4px; }
.mc-pix-field input[b-ujr9qod589] {
    width: 100%; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: 8px;
    font-size: 15px; color: var(--color-text); background: var(--color-bg);
}
.mc-pix-field input:focus[b-ujr9qod589] { outline: none; border-color: var(--color-primary-dark); }
.mc-pix-error[b-ujr9qod589] { color: var(--color-danger, #e74c3c); font-size: 13px; margin: 8px 0 0; }
.mc-pix-success[b-ujr9qod589] { color: var(--color-primary); font-size: 13px; font-weight: 600; margin: 8px 0 0; }
.mc-pix-actions[b-ujr9qod589] { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }
.mc-pix-btn[b-ujr9qod589] {
    padding: 10px 20px; border: none; border-radius: 8px; font-size: 14px;
    font-weight: 500; cursor: pointer;
}
.mc-pix-cancel[b-ujr9qod589] { background: var(--color-bg); color: var(--color-text-secondary); }
.mc-pix-send[b-ujr9qod589] { background: var(--color-primary-dark); color: var(--color-surface); }
.mc-pix-send:disabled[b-ujr9qod589] { opacity: 0.5; cursor: default; }

/* Load more */
.mc-load-more[b-ujr9qod589] {
    align-self: center; margin: 8px 0;
    padding: 6px 16px; border-radius: 16px;
    background: white; border: none; color: #00a884;
    font-size: 12px; font-weight: 600; cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
.mc-load-more:active[b-ujr9qod589] { background: #f0f2f5; }
.mc-load-more:disabled[b-ujr9qod589] { color: #8696a0; cursor: default; }

/* Media pending */
.mc-media-pending[b-ujr9qod589] {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 12px; color: #8696a0; font-size: 12px;
}
.mc-media-pending svg[b-ujr9qod589] { animation: mc-spin-b-ujr9qod589 1.5s linear infinite; flex-shrink: 0; }

/* Media expired */
.mc-media-expired[b-ujr9qod589] {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 10px; color: #8696a0; font-size: 12px;
    background: rgba(0,0,0,0.04); border-radius: 5px;
}
.mc-media-expired.hidden[b-ujr9qod589] { display: none; }

/* Video */
.mc-msg-video[b-ujr9qod589] {
    max-width: 100%; max-height: 220px; border-radius: 5px;
    display: block; margin-bottom: 2px;
}

/* Document */
.mc-msg-doc[b-ujr9qod589] {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 10px; background: rgba(0,0,0,0.04);
    border-radius: 5px; text-decoration: none;
    color: #027eb5; font-size: 13px; font-weight: 500;
}
.mc-msg-doc svg[b-ujr9qod589] { flex-shrink: 0; stroke: #8696a0; }

/* Sticker */
.mc-msg-sticker[b-ujr9qod589] {
    max-width: 140px; max-height: 140px;
    display: block;
}

/* Caption */
.mc-msg-caption[b-ujr9qod589] {
    display: block; font-size: 13px; margin-top: 2px;
    color: inherit;
}

/* Generic media link */
.mc-msg-media-link[b-ujr9qod589] {
    color: #027eb5; font-size: 13px; text-decoration: underline;
}

/* Delivery status */
.mc-delivery[b-ujr9qod589] {
    font-size: 14px; margin-left: 2px;
    color: #8696a0; letter-spacing: -2px;
}
.mc-delivery-read[b-ujr9qod589] { color: #53bdeb; }

/* Mic button */
.mc-bar-mic[b-ujr9qod589] {
    width: 38px; height: 38px; border-radius: 50%;
    background: none; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; -webkit-tap-highlight-color: transparent;
}
.mc-bar-mic:active[b-ujr9qod589] { background: rgba(0,0,0,0.08); }

/* Recording bar */
.mc-recording-bar[b-ujr9qod589] {
    flex: 1; display: flex; align-items: center; gap: 8px;
    padding: 0 8px; min-width: 0;
}
.mc-recording-dot[b-ujr9qod589] {
    width: 10px; height: 10px; border-radius: 50%;
    background: #dc2626; animation: mc-pulse-b-ujr9qod589 1s ease-in-out infinite;
    flex-shrink: 0;
}
.mc-recording-time[b-ujr9qod589] {
    font-size: 14px; color: #111b21; font-variant-numeric: tabular-nums;
}

@keyframes mc-pulse-b-ujr9qod589 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes mc-spin-b-ujr9qod589 { to { transform: rotate(360deg); } }
@keyframes mc-fade-b-ujr9qod589 { from { opacity: 0; } to { opacity: 1; } }
@keyframes mc-slide-up-b-ujr9qod589 { from { transform: translateY(100%); } to { transform: translateY(0); } }
/* /Pages/Mobile/MobileHandoff.razor.rz.scp.css */
.handoff-container[b-gi2w9dcl9v] {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: #efeae2; color: #54656f; text-align: center;
    padding: 32px; gap: 16px;
}
.handoff-container h2[b-gi2w9dcl9v] { font-size: 17px; color: #111b21; font-weight: 600; margin: 0; }
.handoff-container p[b-gi2w9dcl9v] { font-size: 14px; line-height: 1.4; max-width: 260px; margin: 0; }
.handoff-icon[b-gi2w9dcl9v] { animation: fade-in-b-gi2w9dcl9v 0.4s ease; }
.handoff-spinner[b-gi2w9dcl9v] {
    width: 32px; height: 32px;
    border: 3px solid #c5beb8; border-top-color: #00a884;
    border-radius: 50%; animation: spin-b-gi2w9dcl9v 0.7s linear infinite;
}
@keyframes spin-b-gi2w9dcl9v { to { transform: rotate(360deg); } }
@keyframes fade-in-b-gi2w9dcl9v { from { opacity: 0; } to { opacity: 1; } }
/* /Pages/Settings.razor.rz.scp.css */
/* === Layout: sidebar + content (espelho do AdminLayout) === */
.settings-layout[b-utlx96liay] {
    display: flex;
    flex: 1;
    min-height: calc(100vh - 56px);
}

/* === Sidebar === */
.settings-sidebar[b-utlx96liay] {
    width: 240px;
    background: #ffffff;
    border-right: 1px solid var(--color-border);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
    overflow-y: auto;
}

.sidebar-section[b-utlx96liay] {
    padding: 0 12px;
    margin-bottom: 16px;
}

.sidebar-label[b-utlx96liay] {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    padding: 0 12px 8px;
}

.sidebar-link[b-utlx96liay] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    transition: all 0.15s ease;
    margin-bottom: 2px;
}

.sidebar-link:hover[b-utlx96liay] {
    background: var(--color-hover);
    color: var(--color-text);
}

.sidebar-link svg[b-utlx96liay] {
    flex-shrink: 0;
    opacity: 0.6;
}

.sidebar-link:hover svg[b-utlx96liay] {
    opacity: 1;
}

.sidebar-active[b-utlx96liay] {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-weight: 600;
}

.sidebar-active svg[b-utlx96liay] {
    opacity: 1;
    color: var(--color-primary);
}

.sidebar-active:hover[b-utlx96liay] {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
}

/* === Main content === */
.settings-main[b-utlx96liay] {
    flex: 1;
    overflow-y: auto;
    background: var(--color-bg);
}

.settings-page[b-utlx96liay] {
    padding: 32px;
    max-width: 800px;
}

.settings-page-header[b-utlx96liay] {
    margin-bottom: 28px;
}

.settings-page-header h1[b-utlx96liay] {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

.settings-page-header p[b-utlx96liay] {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

/* === Cards de conteúdo === */
.settings-card[b-utlx96liay] {
    background: var(--color-surface);
    border-radius: var(--radius-lg, 12px);
    padding: 24px;
    border: 1px solid var(--color-border);
    margin-bottom: 20px;
}

.settings-card h3[b-utlx96liay] {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.settings-card-description[b-utlx96liay] {
    color: var(--color-text-secondary);
    font-size: 0.8rem;
    margin-bottom: 16px;
}

/* === Alerts === */
.settings-success[b-utlx96liay] {
    background: #f0fdf4;
    color: #16a34a;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    margin-bottom: 16px;
    border: 1px solid #bbf7d0;
}

.settings-error[b-utlx96liay] {
    background: #fef2f2;
    color: #dc2626;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    margin-bottom: 16px;
    border: 1px solid #fecaca;
}

/* === Form elements === */
.add-form[b-utlx96liay] {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.add-form input[b-utlx96liay] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 13px;
    background: var(--color-bg);
    color: var(--color-text);
}

.add-form input:focus[b-utlx96liay] {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 168, 132, 0.1);
}

.item-list[b-utlx96liay] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.item-row[b-utlx96liay] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--color-bg);
    border-radius: var(--radius);
    transition: background 0.15s;
}

.item-row:hover[b-utlx96liay] {
    background: var(--color-hover);
}

.item-inactive[b-utlx96liay] {
    opacity: 0.55;
}

.item-name[b-utlx96liay] {
    flex: 1;
    font-weight: 500;
    font-size: 14px;
}

.item-badge[b-utlx96liay] {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    background: var(--color-border);
    padding: 2px 8px;
    border-radius: 10px;
}

.item-actions[b-utlx96liay] {
    display: flex;
    gap: 6px;
}

.item-edit-input[b-utlx96liay] {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius);
    font-size: 13px;
    background: var(--color-surface);
    color: var(--color-text);
}

/* === Settings fields === */
.settings-form[b-utlx96liay] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.settings-field[b-utlx96liay] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings-field label[b-utlx96liay] {
    font-weight: 600;
    font-size: 13px;
    color: var(--color-text);
}

.settings-field input[type="number"][b-utlx96liay] {
    max-width: 200px;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 13px;
    background: var(--color-bg);
    color: var(--color-text);
}

.settings-field input[type="number"]:focus[b-utlx96liay] {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 168, 132, 0.1);
}

.settings-field .field-hint[b-utlx96liay] {
    color: var(--color-text-secondary);
    font-size: 0.75rem;
}

/* === Autoreply cards === */
.autoreply-card[b-utlx96liay] {
    background: var(--color-bg);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--color-border);
}

.autoreply-header[b-utlx96liay] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.autoreply-toggle[b-utlx96liay] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.autoreply-toggle input[type="checkbox"][b-utlx96liay] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary);
}

.autoreply-trigger[b-utlx96liay] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 10px;
    background: var(--color-border);
    color: var(--color-text-secondary);
}

.autoreply-card textarea[b-utlx96liay] {
    width: 100%;
    resize: vertical;
    min-height: 60px;
    padding: 8px 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 13px;
    background: var(--color-surface);
    color: var(--color-text);
}

.autoreply-card textarea:focus[b-utlx96liay] {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 168, 132, 0.1);
}

.autoreply-card textarea:disabled[b-utlx96liay] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* === Business hours === */
.business-hours-config[b-utlx96liay] { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.timezone-select[b-utlx96liay] { padding: 8px 12px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 13px; background: var(--color-bg); color: var(--color-text); max-width: 300px; }
.business-hours-grid[b-utlx96liay] { display: flex; flex-direction: column; gap: 6px; }
.bh-row[b-utlx96liay] { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.bh-toggle[b-utlx96liay] { display: flex; align-items: center; gap: 8px; min-width: 120px; font-size: 13px; font-weight: 500; cursor: pointer; }
.bh-toggle input[type="checkbox"][b-utlx96liay] { width: 16px; height: 16px; accent-color: var(--color-primary); }
.bh-time[b-utlx96liay] { padding: 4px 8px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 13px; background: var(--color-bg); color: var(--color-text); }
.bh-closed[b-utlx96liay] { font-size: 12px; color: var(--color-text-secondary); font-style: italic; }

/* === Kanban dot === */
.kanban-dot[b-utlx96liay] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-pending[b-utlx96liay] { background: var(--color-red, #ef4444); }
.dot-in-progress[b-utlx96liay] { background: var(--color-yellow, #f59e0b); }
.dot-resolved[b-utlx96liay] { background: var(--color-green, #22c55e); }

/* === Install guide === */
.install-download[b-utlx96liay] {
    margin-bottom: 20px;
}

.install-download a[b-utlx96liay] {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.install-steps[b-utlx96liay] {
    margin: 0 0 16px 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text);
    line-height: 1.5;
}

.install-steps li[b-utlx96liay] {
    padding-left: 4px;
}

.install-steps code[b-utlx96liay] {
    background: var(--color-bg);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    border: 1px solid var(--color-border);
}

.install-note[b-utlx96liay] {
    font-size: 0.78rem;
    color: var(--color-text-secondary);
    background: var(--color-bg);
    padding: 10px 14px;
    border-radius: var(--radius);
    border-left: 3px solid var(--color-primary, #00a884);
    margin: 0;
}

/* === WhatsApp API Guide === */
.guide-toggle[b-utlx96liay] {
    cursor: pointer;
    user-select: none;
}

.guide-toggle:hover[b-utlx96liay] {
    opacity: 0.8;
}

.guide-content[b-utlx96liay] {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guide-prereq[b-utlx96liay] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
    padding: 16px;
}

.guide-prereq h4[b-utlx96liay] {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    color: #166534;
}

.guide-prereq ul[b-utlx96liay] {
    margin: 0;
    padding-left: 18px;
    font-size: 0.82rem;
    line-height: 1.7;
    color: var(--color-text);
}

.guide-tip[b-utlx96liay] {
    margin-top: 10px;
    font-size: 0.78rem;
    background: #fefce8;
    border: 1px solid #fde68a;
    border-radius: var(--radius);
    padding: 8px 12px;
    color: #854d0e;
}

.guide-warning[b-utlx96liay] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #dc2626;
    border-radius: var(--radius);
    padding: 14px 16px;
    color: #7f1d1d;
    font-size: 0.85rem;
    line-height: 1.5;
}

.guide-warning h4[b-utlx96liay] {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    color: #991b1b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.guide-warning strong[b-utlx96liay] {
    color: #991b1b;
}

.guide-warning ol[b-utlx96liay] {
    margin: 8px 0 0 0;
    padding-left: 20px;
    line-height: 1.7;
}

.guide-steps[b-utlx96liay] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.guide-step[b-utlx96liay] {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.guide-step:last-child[b-utlx96liay] {
    border-bottom: none;
}

.step-number[b-utlx96liay] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary, #00a884);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.step-content[b-utlx96liay] {
    flex: 1;
}

.step-content h4[b-utlx96liay] {
    margin: 0 0 6px 0;
    font-size: 0.88rem;
}

.step-content p[b-utlx96liay],
.step-content ol[b-utlx96liay],
.step-content ul[b-utlx96liay] {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--color-text);
    margin: 4px 0;
}

.step-content ol[b-utlx96liay] {
    padding-left: 18px;
}

.step-content ol li[b-utlx96liay] {
    margin-bottom: 4px;
}

.step-content ul[b-utlx96liay] {
    padding-left: 16px;
}

.step-content code[b-utlx96liay] {
    background: var(--color-bg);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.78rem;
    border: 1px solid var(--color-border);
}

.step-content a[b-utlx96liay] {
    color: var(--color-primary);
}

.guide-faq[b-utlx96liay] {
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
}

.guide-faq h4[b-utlx96liay] {
    margin: 0 0 12px 0;
    font-size: 0.9rem;
}

.guide-faq details[b-utlx96liay] {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 6px;
    overflow: hidden;
}

.guide-faq summary[b-utlx96liay] {
    padding: 10px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--color-bg);
}

.guide-faq summary:hover[b-utlx96liay] {
    background: #f0f0f0;
}

.guide-faq details[open] summary[b-utlx96liay] {
    border-bottom: 1px solid var(--color-border);
}

.guide-faq details p[b-utlx96liay] {
    padding: 10px 14px;
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
    color: var(--color-text-secondary);
}

/* === Subscription card === */
.subscription-card[b-utlx96liay] {
    border-left: 4px solid var(--color-primary, #00a884);
}

.sub-header[b-utlx96liay] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.sub-plan-name[b-utlx96liay] {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
}

.sub-status[b-utlx96liay] {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sub-status-active[b-utlx96liay] { background: #dcfce7; color: #166534; }
.sub-status-trial[b-utlx96liay] { background: #dbeafe; color: #1e40af; }
.sub-status-pastdue[b-utlx96liay] { background: #fef3c7; color: #92400e; }
.sub-status-cancelled[b-utlx96liay] { background: #fef2f2; color: #991b1b; }
.sub-status-expired[b-utlx96liay] { background: #fef2f2; color: #991b1b; }

.sub-details[b-utlx96liay] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sub-detail-row[b-utlx96liay] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 13px;
}

.sub-detail-row:last-child[b-utlx96liay] {
    border-bottom: none;
}

.sub-label[b-utlx96liay] {
    color: var(--color-text-secondary);
    font-weight: 500;
}

.sub-value[b-utlx96liay] {
    color: var(--color-text);
    font-weight: 600;
}

/* === Usage bars === */
.usage-grid[b-utlx96liay] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.usage-item[b-utlx96liay] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.usage-label[b-utlx96liay] {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
}

.usage-bar-track[b-utlx96liay] {
    height: 8px;
    background: var(--color-border, #e5e7eb);
    border-radius: 4px;
    overflow: hidden;
}

.usage-bar-fill[b-utlx96liay] {
    height: 100%;
    background: var(--color-primary, #00a884);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.usage-numbers[b-utlx96liay] {
    font-size: 12px;
    color: var(--color-text-secondary);
    text-align: right;
}

/* === Feature list === */
.feature-list[b-utlx96liay] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-row[b-utlx96liay] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    padding: 4px 0;
}

.feature-icon[b-utlx96liay] {
    width: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
}

.feature-on[b-utlx96liay] {
    color: #16a34a;
}

.feature-off[b-utlx96liay] {
    color: #d1d5db;
}

/* === Reports === */
.report-comparison[b-utlx96liay] {
    display: flex;
    gap: 24px;
    align-items: center;
}

.report-comparison-item[b-utlx96liay] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.report-big-number[b-utlx96liay] {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
}

.report-muted[b-utlx96liay] {
    color: var(--color-text-secondary);
    font-size: 1.5rem;
}

.report-label[b-utlx96liay] {
    font-size: 12px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.report-trend[b-utlx96liay] {
    font-size: 1.1rem;
    font-weight: 700;
}

.report-trend-up[b-utlx96liay] { color: #16a34a; }
.report-trend-down[b-utlx96liay] { color: #dc2626; }

.bar-chart-horizontal[b-utlx96liay] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bar-row[b-utlx96liay] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bar-label[b-utlx96liay] {
    width: 120px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bar-track[b-utlx96liay] {
    flex: 1;
    height: 8px;
    background: var(--color-border, #e5e7eb);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill[b-utlx96liay] {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
    min-width: 2px;
}

.bar-count[b-utlx96liay] {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    min-width: 40px;
    text-align: right;
}

.hour-chart[b-utlx96liay] {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 120px;
    padding-top: 8px;
}

.hour-bar-wrapper[b-utlx96liay] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.hour-bar[b-utlx96liay] {
    width: 100%;
    background: var(--color-primary, #00a884);
    border-radius: 2px 2px 0 0;
    min-height: 2px;
    transition: height 0.3s ease;
}

.hour-label[b-utlx96liay] {
    font-size: 9px;
    color: var(--color-text-secondary);
    margin-top: 4px;
}

/* Template guide */
.template-guide[b-utlx96liay] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.guide-step-simple[b-utlx96liay] {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.guide-number[b-utlx96liay] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-primary, #00a884);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.guide-step-simple strong[b-utlx96liay] {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.guide-step-simple p[b-utlx96liay] {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

.guide-step-simple code[b-utlx96liay] {
    background: var(--color-bg);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.78rem;
    border: 1px solid var(--color-border);
}

.guide-step-simple a[b-utlx96liay] {
    color: var(--color-primary);
}

/* Funnel chart */
.funnel-chart[b-utlx96liay] { display: flex; flex-direction: column; gap: 8px; }
.funnel-step[b-utlx96liay] { display: flex; align-items: center; gap: 10px; }
.funnel-label[b-utlx96liay] { width: 120px; font-size: 13px; font-weight: 500; color: var(--color-text); flex-shrink: 0; }

/* === Responsive === */
@media (max-width: 768px) {
    .settings-layout[b-utlx96liay] {
        flex-direction: column;
        min-height: auto;
    }

    .settings-sidebar[b-utlx96liay] {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: visible;
        padding: 8px 12px;
        gap: 0;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .sidebar-section[b-utlx96liay] {
        display: flex;
        gap: 4px;
        padding: 0;
        margin-bottom: 0;
    }

    .sidebar-label[b-utlx96liay] {
        display: none;
    }

    .sidebar-link[b-utlx96liay] {
        white-space: nowrap;
        padding: 8px 14px;
        font-size: 13px;
    }

    .sidebar-link svg[b-utlx96liay] {
        display: none;
    }

    .settings-page[b-utlx96liay] {
        padding: 20px 16px;
    }

    .item-row[b-utlx96liay] {
        flex-wrap: wrap;
    }

    .item-actions[b-utlx96liay] {
        width: 100%;
    }
}

/* === Plan gating === */
.section-disabled[b-utlx96liay] {
    opacity: 0.45;
    pointer-events: none;
    position: relative;
}

.upgrade-hint[b-utlx96liay] {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #b45309;
    background: #fef3c7;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
}

.upgrade-hint-block[b-utlx96liay] {
    text-align: center;
    padding: 24px;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 500;
}

/* Auto-reply improvements (#169) */
.settings-hint[b-utlx96liay] {
    font-size: 11px; color: var(--color-text-secondary); margin: 4px 0 0;
}
.settings-hint code[b-utlx96liay] {
    background: var(--color-bg); padding: 1px 4px; border-radius: 3px; font-size: 11px;
}
.wa-preview[b-utlx96liay] {
    background: #d9fdd3; padding: 8px 12px;
    border-radius: 0 8px 8px 8px; font-size: 14px;
    line-height: 1.4; margin-top: 8px; max-width: 320px;
    box-shadow: 0 1px 0.5px rgba(0,0,0,0.13);
    word-wrap: break-word; white-space: pre-wrap;
}
.marker-msg-row[b-utlx96liay] {
    display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px;
}
.marker-msg-row label[b-utlx96liay] { font-size: 12px; font-weight: 600; color: var(--color-text-secondary); }
.marker-msg-row input[b-utlx96liay] {
    padding: 6px 10px; border: 1px solid var(--color-border);
    border-radius: var(--radius); font-size: 13px;
}
.autoreply-image-upload[b-utlx96liay] { margin-top: 8px; }
.autoreply-image-upload > label[b-utlx96liay] { font-size: 12px; font-weight: 600; color: var(--color-text-secondary); display: block; }
.autoreply-file-label[b-utlx96liay] {
    display: inline-block; margin-top: 4px; padding: 6px 14px;
    background: var(--color-bg); border: 1px dashed var(--color-border);
    border-radius: var(--radius); font-size: 12px; cursor: pointer;
    color: var(--color-text-secondary);
}
.autoreply-file-label:hover[b-utlx96liay] { border-color: var(--color-primary); color: var(--color-primary); }
.autoreply-image-thumb[b-utlx96liay] { margin-top: 6px; display: flex; align-items: flex-end; gap: 8px; }
.autoreply-image-thumb img[b-utlx96liay] { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; }
.wa-preview-img[b-utlx96liay] { max-width: 200px; max-height: 120px; border-radius: 6px; margin-bottom: 6px; display: block; }

/* === Aparência (Theme) === */
.color-picker-group[b-utlx96liay] { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.color-swatch[b-utlx96liay] {
    width: 36px; height: 36px; border-radius: 50%;
    border: 3px solid transparent; cursor: pointer;
    transition: border-color 0.15s, transform 0.1s;
}
.color-swatch:hover[b-utlx96liay] { transform: scale(1.1); }
.color-swatch.selected[b-utlx96liay] { border-color: var(--color-text); box-shadow: 0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-text); }
.color-input[b-utlx96liay] {
    width: 36px; height: 36px; border: 2px dashed var(--color-border);
    border-radius: 50%; cursor: pointer; padding: 0; background: transparent;
}
.font-picker-group[b-utlx96liay] { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.font-option[b-utlx96liay] {
    padding: 8px 16px; border-radius: var(--radius);
    border: 1px solid var(--color-border); cursor: pointer;
    font-size: 0.85rem; background: var(--color-surface); color: var(--color-text);
    transition: all 0.15s;
}
.font-option:hover[b-utlx96liay] { border-color: var(--color-primary); }
.font-option.selected[b-utlx96liay] {
    background: var(--color-primary); color: white;
    border-color: var(--color-primary); font-weight: 600;
}
/* Picker de estilo do cartão Kanban */
.card-style-picker[b-utlx96liay] { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.card-style-option[b-utlx96liay] {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 14px; border-radius: var(--radius-lg);
    border: 2px solid var(--color-border);
    background: var(--color-surface); cursor: pointer;
    transition: border-color 0.15s, transform 0.15s;
    width: 180px;
}
.card-style-option:hover[b-utlx96liay] { border-color: var(--color-primary); }
.card-style-option.selected[b-utlx96liay] {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 168, 132, 0.15);
}
.card-style-label[b-utlx96liay] { font-size: 0.85rem; font-weight: 600; color: var(--color-text); }
.card-style-preview[b-utlx96liay] {
    width: 100%; padding: 12px; pointer-events: none;
    display: flex; flex-direction: column; gap: 4px;
}
.card-style-preview .preview-title[b-utlx96liay] { font-weight: 600; font-size: 0.85rem; color: #1f2937; }
.card-style-preview .preview-sub[b-utlx96liay] { font-size: 0.72rem; color: #6b7280; }
.preview-postit[b-utlx96liay] {
    background: #fef3c7;
    border-left: 4px solid var(--color-in-progress);
    border-radius: 4px;
    box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.1);
    transform: rotate(-1.5deg);
}
.preview-modern[b-utlx96liay] {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-resolved);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.font-size-slider[b-utlx96liay] { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.font-size-slider input[type="range"][b-utlx96liay] { flex: 1; max-width: 200px; accent-color: var(--color-primary); }
.font-size-label[b-utlx96liay] { color: var(--color-text-secondary); font-weight: 600; }
.toggle-label[b-utlx96liay] { display: flex; align-items: center; gap: 10px; cursor: pointer; margin-top: 4px; }
.toggle-label input[type="checkbox"][b-utlx96liay] { accent-color: var(--color-primary); width: 18px; height: 18px; }
.settings-actions[b-utlx96liay] { display: flex; gap: 8px; margin-top: 20px; }
.settings-success[b-utlx96liay] { color: var(--color-primary); margin-top: 12px; font-size: 0.85rem; font-weight: 500; }

/* QR Status Cards */
.qr-status-card[b-utlx96liay] { display:flex; align-items:center; gap:12px; padding:12px 16px; border-radius:8px; margin-bottom:12px; animation: qrFadeIn-b-utlx96liay 0.3s ease; }
.qr-status-generating[b-utlx96liay] { background:#f0f9ff; border:1px solid #bae6fd; }
.qr-status-pending[b-utlx96liay] { background:#fffbeb; border:1px solid #fde68a; }
.qr-status-connected[b-utlx96liay] { background:#f0fdf4; border:1px solid #bbf7d0; }
.qr-status-disconnected[b-utlx96liay] { background:#fffbeb; border:1px solid #fde68a; }
.qr-status-failed[b-utlx96liay] { background:#fef2f2; border:1px solid #fecaca; }
.qr-status-icon[b-utlx96liay] { font-size:24px; flex-shrink:0; display:flex; align-items:center; }
.qr-status-spinner[b-utlx96liay] { width:24px; height:24px; border:3px solid #e0e0e0; border-top-color:#3b82f6; border-radius:50%; animation:qrSpin-b-utlx96liay 0.8s linear infinite; flex-shrink:0; }
@keyframes qrFadeIn-b-utlx96liay { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
@keyframes qrSpin-b-utlx96liay { to { transform:rotate(360deg); } }
