.rr-broker-grid.rr-broker-individual { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
.whatsapp-conversation-list { overflow-anchor: none; }
.whatsapp-inbox-loader { display: block; width: 100%; min-height: 44px; padding: .65rem; border: 0; background: transparent; color: #6b7280; font: inherit; font-size: .8rem; cursor: pointer; }
.whatsapp-inbox-loader[hidden] { display: none !important; }
.whatsapp-inbox-loader:disabled { cursor: wait; }
.whatsapp-inbox-loader:disabled::before { content: ''; display: inline-block; width: 12px; height: 12px; margin-right: .5rem; border: 2px solid #e5e7eb; border-top-color: #fe7500; border-radius: 50%; animation: inbox-loading .8s linear infinite; }
@keyframes inbox-loading { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .whatsapp-inbox-loader:disabled::before { animation: none; } }
.whatsapp-audio-draft {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .5rem;
    padding: .65rem;
    background: #f3f4f6;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
    min-width: 0;
}
.whatsapp-audio-draft [data-audio-state] { grid-column: 1 / -1; color: #6b7280; font-size: .8rem; }
.whatsapp-audio-draft audio { width: 100%; min-width: 0; height: 40px; }
.whatsapp-audio-draft [hidden] { display: none !important; }
.whatsapp-audio-draft button {
    min-height: 44px;
    padding: .5rem .75rem;
    font: inherit;
    font-size: .8rem;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    color: #1f2937;
    background: #fff;
    cursor: pointer;
}
.whatsapp-audio-draft [data-audio-confirm] { background: #fe7500; color: #fff; border-color: #fe7500; }
.whatsapp-audio-draft button:disabled { opacity: .5; cursor: wait; }
@media (max-width: 600px) {
    .whatsapp-audio-draft { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .whatsapp-audio-draft audio { grid-column: 1 / -1; }
}
.kanban-board .kanban-column { display: flex; flex-direction: column; align-self: flex-start; min-width: min(330px, 88vw); width: min(330px, 88vw); }
.kanban-board .kanban-column > header { display: grid; grid-template-columns: minmax(0, 1fr) 34px 34px; gap: .45rem; }
.kanban-board .kanban-column-meta { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; justify-content: space-between; text-align: left; }
.kanban-board .kanban-column-meta span { margin: 0; }
.pipeline-column-search { display: grid; gap: .3rem; padding: .65rem .75rem; font-size: .75rem; }
.pipeline-column-search[hidden], [data-column-error][hidden] { display: none !important; }
.pipeline-column-search input { width: 100%; min-width: 0; height: 38px; border: 1px solid #e5e7eb; background: #fff; padding: .45rem; font: inherit; }
.kanban-board .kanban-list { min-height: 180px; max-height: 65dvh; overflow-y: auto; overscroll-behavior-y: contain; }
.pipeline-column-footer { display: grid; gap: .55rem; margin-top: auto; padding: .65rem .75rem; background: #fff; border-top: 1px solid #e5e7eb; }
.pipeline-column-footer nav { display: flex; gap: .25rem; flex-wrap: wrap; }
.pipeline-column-footer button { min-width: 32px; height: 34px; border: 1px solid #e5e7eb; background: #fff; color: #1f2937; cursor: pointer; }
.pipeline-column-footer button:hover:not(:disabled), .pipeline-column-footer button[aria-current] { color: #e96b00; background: #fff1e5; border-color: #fe7500; }
.pipeline-column-footer button:disabled:not([aria-current]) { opacity: .4; cursor: default; }
.column-loading .kanban-list { opacity: .45; pointer-events: none; }
.column-loading .pipeline-column-footer nav { pointer-events: none; opacity: .45; }
[data-column-error] { color: #b91c1c; font-size: .8rem; }
.report-page .report-kpi > strong {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}
.productivity-report { margin-block: .8rem; min-width: 0; }
.productivity-report h3 { padding: .8rem .75rem .25rem; font-size: 1rem; }
.productivity-report .productivity-note { display: block !important; padding: .65rem .75rem; color: #6b7280; font-size: .82rem; line-height: 1.5; }
.productivity-pagination { display: flex; gap: .35rem; padding: .75rem; flex-wrap: wrap; }
.productivity-pagination [aria-current] { background: #fff1e5; color: #e96b00; }
.productivity-heading { padding: .85rem .8rem; border-bottom: 1px solid #e5e7eb; }
.productivity-heading h2 { margin: 0; font-size: 1.05rem; }
.productivity-heading p { display: block !important; margin: .25rem 0 0; color: #6b7280; font-size: .8rem; }
.productivity-kpis { display: grid; grid-template-columns: repeat(6, minmax(130px, 1fr)); border-bottom: 1px solid #e5e7eb; }
.productivity-kpis article { padding: .9rem .8rem; border-right: 1px solid #e5e7eb; background: #fff; }
.productivity-kpis article:last-child { border-right: 0; }
.productivity-kpis span, .productivity-kpis small { display: block; color: #6b7280; font-size: .72rem; }
.productivity-kpis strong { display: block; margin: .2rem 0; color: #1f2937; font-size: 1.45rem; line-height: 1; }
.productivity-kpis .has-warning strong, .text-warning { color: #e96b00; }
.productivity-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); border-bottom: 1px solid #e5e7eb; }
.productivity-split > section { min-width: 0; border-right: 1px solid #e5e7eb; }
.productivity-split > section:last-child { border-right: 0; }
.productivity-backlog { min-width: 0; }
.productivity-report .report-table th, .productivity-report .report-table td { padding: .58rem .65rem; white-space: nowrap; }
.productivity-share { display: inline-block; width: 64px; height: 5px; margin-right: .35rem; overflow: hidden; vertical-align: middle; background: #e5e7eb; }
.productivity-share i { display: block; width: var(--share); height: 100%; background: #fe7500; }
.productivity-ranking small { color: #6b7280; }
@media (max-width: 1100px) {
    .productivity-kpis { grid-template-columns: repeat(3, 1fr); }
    .productivity-kpis article:nth-child(3) { border-right: 0; }
    .productivity-kpis article:nth-child(-n+3) { border-bottom: 1px solid #e5e7eb; }
    .productivity-split { grid-template-columns: 1fr; }
    .productivity-split > section { border-right: 0; border-bottom: 1px solid #e5e7eb; }
}
@media (max-width: 600px) {
    .productivity-kpis { grid-template-columns: repeat(2, 1fr); }
    .productivity-kpis article:nth-child(3) { border-right: 1px solid #e5e7eb; }
    .productivity-kpis article:nth-child(even) { border-right: 0; }
    .productivity-kpis article:nth-child(-n+4) { border-bottom: 1px solid #e5e7eb; }
}
@media (max-width: 600px) {
    .pipeline-column-search input { font-size: 16px; min-height: 44px; }
    .pipeline-column-footer button { min-width: 36px; min-height: 44px; }
    .kanban-board .kanban-add-lead { width: 34px; height: 40px; }
}
