/* CENTER CRM 0.11.59 — reports and Avito analytics workspace. */

/* Shared report surfaces */
.reports-hero,
.analytics-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, .78fr);
    gap: 22px;
    margin-bottom: 18px;
}

.reports-hero-copy,
.analytics-hero-main {
    min-width: 0;
    padding: 28px 30px;
    overflow: hidden;
    border: 1px solid #2d2d2d;
    border-radius: 22px;
    background:
        radial-gradient(circle at 9% 0%, rgba(246,197,67,.13), transparent 30%),
        linear-gradient(145deg, #1e1e1e 0%, #181818 62%, #151515 100%);
    box-shadow: 0 20px 45px rgba(0,0,0,.18);
}

.reports-hero-copy::after,
.analytics-hero-main::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: 36%;
    top: -105px;
    pointer-events: none;
    border-radius: 50%;
    background: rgba(246,197,67,.05);
    filter: blur(2px);
}

.reports-hero h1,
.analytics-hero h1 {
    max-width: 780px;
    margin-bottom: 10px;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.reports-hero-copy > p:not(.eyebrow),
.analytics-hero-main > p:not(.eyebrow) {
    max-width: 760px;
    margin: 0;
    color: #a9a9a9;
    font-size: .98rem;
    line-height: 1.65;
}

.reports-hero-meta,
.analytics-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.reports-hero-meta span,
.analytics-hero-meta span {
    display: inline-flex;
    min-height: 30px;
    padding: 6px 10px;
    align-items: center;
    border: 1px solid #303030;
    border-radius: 9px;
    background: rgba(255,255,255,.025);
    color: #b9b9b9;
    font-size: .73rem;
    font-weight: 750;
}

.reports-hero-meta .is-fixed {
    border-color: rgba(62,170,104,.28);
    color: #79d79a;
    background: rgba(62,170,104,.07);
}

/* Strong analytics entry point on daily reports */
.reports-analytics-cta {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    gap: 16px 15px;
    min-height: 100%;
    padding: 25px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(246,197,67,.45);
    border-radius: 22px;
    background:
        radial-gradient(circle at 92% 5%, rgba(246,197,67,.24), transparent 30%),
        linear-gradient(150deg, #262115 0%, #1d1c18 40%, #181818 100%);
    box-shadow: 0 18px 42px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.025);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.reports-analytics-cta::after {
    content: "";
    position: absolute;
    inset: auto -20% -68% 32%;
    height: 180px;
    border-radius: 50%;
    background: rgba(246,197,67,.09);
    filter: blur(32px);
    pointer-events: none;
}

.reports-analytics-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(246,197,67,.75);
    box-shadow: 0 22px 52px rgba(0,0,0,.25), 0 0 32px rgba(246,197,67,.07);
}

.reports-analytics-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 15px;
    background: #f6c543;
    color: #17130b;
    box-shadow: 0 10px 26px rgba(246,197,67,.19);
}

.reports-analytics-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.reports-analytics-copy {
    display: grid;
    align-content: start;
    gap: 5px;
    min-width: 0;
}

.reports-analytics-copy small {
    color: #d0b862;
    font-size: .69rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.reports-analytics-copy strong {
    font-size: 1.35rem;
    letter-spacing: -.025em;
}

.reports-analytics-copy em {
    color: #b6b29f;
    font-size: .82rem;
    font-style: normal;
    line-height: 1.5;
}

.reports-analytics-state {
    grid-column: 1 / -1;
    justify-self: start;
    display: inline-flex;
    min-height: 30px;
    padding: 6px 10px;
    align-items: center;
    border-radius: 9px;
    font-size: .73rem;
    font-weight: 850;
}

.reports-analytics-state.is-good { background: rgba(62,170,104,.12); color: #7adc9b; }
.reports-analytics-state.is-danger { background: rgba(217,83,79,.12); color: #ff8885; }

/* Daily report toolbar */
.reports-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 16px;
    border-radius: 16px;
}

.reports-filter,
.reports-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
}

.reports-filter label {
    display: grid;
    gap: 6px;
    min-width: 190px;
}

.reports-filter label span {
    color: #858585;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.reports-filter input,
.reports-filter select,
.analytics-control-fields input,
.analytics-control-fields select {
    min-height: 40px;
    border-radius: 10px;
}

.reports-toolbar-actions form { margin: 0; }

.reports-generated-note {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 12px 2px 18px;
    align-items: center;
    color: #7f7f7f;
    font-size: .72rem;
}

.reports-generated-note strong { color: #7dcf99; font-weight: 700; }
.reports-generated-dot { width: 7px; height: 7px; border-radius: 50%; background: #67cd89; box-shadow: 0 0 10px rgba(103,205,137,.34); }

/* Daily summary */
.report-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.report-summary-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    min-height: 128px;
    padding: 17px;
    align-items: start;
    border: 1px solid #2e2e2e;
    border-radius: 16px;
    background: linear-gradient(145deg, #1d1d1d, #181818);
    transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.report-summary-card:hover { transform: translateY(-1px); border-color: #393939; }
.report-summary-card.is-brand { border-color: rgba(246,197,67,.27); background: linear-gradient(145deg, rgba(246,197,67,.08), #191919 58%); }
.report-summary-card.is-good { border-color: rgba(62,170,104,.28); }
.report-summary-card.is-warning { border-color: rgba(246,197,67,.34); }
.report-summary-card.is-danger { border-color: rgba(217,83,79,.34); background: linear-gradient(145deg, rgba(217,83,79,.055), #191919 58%); }

.report-summary-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #333;
    border-radius: 12px;
    background: #202020;
    color: #d8d8d8;
}

.report-summary-card.is-brand .report-summary-icon { color: #f6c543; border-color: rgba(246,197,67,.27); background: rgba(246,197,67,.07); }
.report-summary-card.is-good .report-summary-icon { color: #73d793; }
.report-summary-card.is-danger .report-summary-icon { color: #ff8d89; }
.report-summary-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.report-summary-card > div { display: grid; gap: 6px; min-width: 0; }
.report-summary-card span:not(.report-summary-icon) { color: #8b8b8b; font-size: .72rem; font-weight: 750; }
.report-summary-card strong { color: #f6c543; font-size: clamp(1.65rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: -.04em; }
.report-summary-card.is-good strong { color: #73d793; }
.report-summary-card.is-danger strong { color: #ff8d89; }
.report-summary-card small { color: #777; font-size: .72rem; line-height: 1.4; }

.report-day-status {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 13px;
    margin-top: 13px;
    padding: 15px 17px;
    align-items: start;
    border: 1px solid #303030;
    border-radius: 14px;
    background: #191919;
}
.report-day-status.is-good { border-color: rgba(62,170,104,.22); background: rgba(62,170,104,.045); }
.report-day-status.is-danger { border-color: rgba(217,83,79,.24); background: rgba(217,83,79,.045); }
.report-day-status-icon { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: #67cd89; box-shadow: 0 0 12px rgba(103,205,137,.35); }
.report-day-status.is-danger .report-day-status-icon { background: #f06c68; box-shadow: 0 0 12px rgba(240,108,104,.32); }
.report-day-status strong { font-size: .88rem; }
.report-day-status p { margin: 3px 0 0; color: #8e8e8e; font-size: .76rem; line-height: 1.5; }

.report-primary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 16px;
    margin-top: 16px;
}

.report-primary-grid > .panel { min-width: 0; padding: 20px; border-radius: 17px; }
.report-panel-head,
.analytics-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.report-panel-head h2,
.analytics-panel-head h2 { margin-bottom: 4px; font-size: 1.12rem; }
.report-panel-head p:not(.eyebrow),
.analytics-panel-head p:not(.eyebrow) { max-width: 620px; margin: 0; color: #7f7f7f; font-size: .73rem; line-height: 1.5; }
.report-count-badge,
.analytics-count-badge,
.analytics-percent-badge {
    display: inline-flex;
    min-width: 36px;
    min-height: 30px;
    padding: 5px 9px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #292929;
    color: #cfcfcf;
    font-size: .76rem;
    font-weight: 850;
}
.report-count-badge.is-good,
.analytics-count-badge.is-good,
.analytics-percent-badge.is-good { background: rgba(62,170,104,.12); color: #78dc99; }
.report-count-badge.is-danger,
.analytics-count-badge.is-danger,
.analytics-percent-badge.is-danger { background: rgba(217,83,79,.14); color: #ff8b87; }
.analytics-count-badge.is-warning,
.analytics-percent-badge.is-warning { background: rgba(246,197,67,.12); color: #f5ce61; }

.report-attention-list,
.report-shift-list { display: grid; margin-top: 12px; }
.report-attention-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 11px;
    padding: 11px 5px;
    align-items: center;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #292929;
    border-radius: 8px;
    transition: background .15s ease;
}
.report-attention-row:last-child { border-bottom: 0; }
.report-attention-row:hover { background: rgba(255,255,255,.025); }
.report-attention-mark { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; background: rgba(217,83,79,.11); color: #ff8885; font-size: .72rem; font-weight: 900; }
.report-attention-row > span:last-child { display: grid; gap: 2px; min-width: 0; }
.report-attention-row strong { overflow: hidden; color: #dadada; font-size: .79rem; text-overflow: ellipsis; white-space: nowrap; }
.report-attention-row small { overflow: hidden; color: #777; font-size: .69rem; text-overflow: ellipsis; white-space: nowrap; }
.report-more-note { margin: 10px 0 0; color: #6f6f6f; font-size: .7rem; }

.report-clean-state {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    padding: 16px;
    align-items: center;
    border: 1px solid rgba(62,170,104,.19);
    border-radius: 13px;
    background: rgba(62,170,104,.04);
}
.report-clean-state > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: rgba(62,170,104,.11); color: #79db98; font-weight: 900; }
.report-clean-state > div { display: grid; gap: 2px; }
.report-clean-state strong { font-size: .82rem; }
.report-clean-state small { color: #7f7f7f; font-size: .72rem; }
.report-clean-state.is-neutral { border-color: #2e2e2e; background: #191919; }
.report-clean-state.is-neutral > span { background: #252525; color: #969696; }

.report-shift-row {
    display: grid;
    grid-template-columns: 9px minmax(0, 1fr) auto;
    gap: 11px;
    padding: 10px 2px;
    align-items: center;
    border-bottom: 1px solid #292929;
}
.report-shift-row:last-child { border-bottom: 0; }
.report-shift-state { width: 8px; height: 8px; border-radius: 50%; background: #606060; }
.report-shift-state.is-online { background: #61cd85; box-shadow: 0 0 10px rgba(97,205,133,.32); }
.report-shift-state.is-break { background: #f6c543; box-shadow: 0 0 10px rgba(246,197,67,.28); }
.report-shift-person,
.report-shift-time { display: grid; gap: 2px; min-width: 0; }
.report-shift-person strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.report-shift-person small,
.report-shift-time small { color: #737373; font-size: .67rem; }
.report-shift-time { text-align: right; }
.report-shift-time strong { color: #d8d8d8; font-size: .78rem; }

/* Compact disclosures keep the daily report simple */
.report-disclosure,
.analytics-methodology {
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid #2d2d2d;
    border-radius: 16px;
    background: #1b1b1b;
}
.report-disclosure > summary,
.analytics-methodology > summary {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 72px;
    padding: 15px 18px;
    align-items: center;
    list-style: none;
    cursor: pointer;
    user-select: none;
}
.report-disclosure > summary::-webkit-details-marker,
.analytics-methodology > summary::-webkit-details-marker { display: none; }
.report-disclosure > summary:hover,
.analytics-methodology > summary:hover { background: rgba(255,255,255,.018); }
.report-disclosure-plus,
.analytics-methodology-plus {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    border: 1px solid #343434;
    border-radius: 9px;
    background: #222;
}
.report-disclosure-plus::before,
.report-disclosure-plus::after,
.analytics-methodology-plus::before,
.analytics-methodology-plus::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 1.5px;
    border-radius: 999px;
    background: #a7a7a7;
    transform: translate(-50%, -50%);
    transition: transform .18s ease, opacity .18s ease;
}
.report-disclosure-plus::after,
.analytics-methodology-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.report-disclosure[open] .report-disclosure-plus::after,
.analytics-methodology[open] .analytics-methodology-plus::after { opacity: 0; transform: translate(-50%, -50%) rotate(0); }
.report-disclosure summary > span:nth-child(2),
.analytics-methodology summary > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.report-disclosure summary small,
.analytics-methodology summary small { color: #717171; font-size: .66rem; font-weight: 750; text-transform: uppercase; letter-spacing: .055em; }
.report-disclosure summary strong,
.analytics-methodology summary strong { font-size: .87rem; }
.report-disclosure-value { color: #f6c543; font-size: .79rem; font-weight: 850; }
.report-disclosure-body { padding: 0 18px 18px; border-top: 1px solid #292929; animation: reportReveal .18s ease both; }
@keyframes reportReveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.report-chat-compact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding-top: 16px;
}
.report-chat-compact-grid > div { display: grid; gap: 5px; padding: 12px; border: 1px solid #2b2b2b; border-radius: 11px; background: #181818; }
.report-chat-compact-grid span { color: #777; font-size: .68rem; }
.report-chat-compact-grid strong { color: #dedede; font-size: 1rem; }
.report-chat-compact-grid .is-danger strong { color: #ff8c88; }

.report-mini-columns,
.report-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 16px; }
.report-detail-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.report-detail-grid section { min-width: 0; }
.report-detail-grid h3 { margin: 0 0 7px; color: #cfcfcf; font-size: .78rem; }
.report-mini-head { display: flex; gap: 12px; margin-bottom: 5px; align-items: center; justify-content: space-between; }
.report-mini-head strong { font-size: .78rem; }
.report-mini-head a { color: #d9bd5d; font-size: .69rem; text-decoration: none; }
.report-mini-head a:hover { color: #f6c543; }
.report-mini-list { display: grid; }
.report-mini-list > div { display: flex; gap: 12px; padding: 8px 0; align-items: center; justify-content: space-between; border-bottom: 1px solid #292929; }
.report-mini-list > div:last-child { border-bottom: 0; }
.report-mini-list span { overflow: hidden; color: #aaa; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.report-mini-list strong { color: #dedede; font-size: .72rem; text-align: right; }
.report-mini-list p { margin: 8px 0 0; color: #707070; font-size: .7rem; }

/* Avito analytics */
.analytics-hero { grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; }
.analytics-hero-actions {
    display: flex;
    min-width: 190px;
    padding: 18px;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 9px;
    border: 1px solid #2d2d2d;
    border-radius: 22px;
    background: #1b1b1b;
}

.analytics-controls {
    display: grid;
    gap: 13px;
    margin-bottom: 14px;
    padding: 15px 16px;
    border-radius: 16px;
}
.analytics-range-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.analytics-range-pills button {
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid #303030;
    border-radius: 9px;
    background: #202020;
    color: #a8a8a8;
    font-size: .71rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.analytics-range-pills button:hover { color: #f6c543; border-color: rgba(246,197,67,.35); background: rgba(246,197,67,.055); }
.analytics-control-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; }
.analytics-control-fields label { display: grid; gap: 5px; min-width: 0; }
.analytics-control-fields label span { color: #777; font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.analytics-account-field { grid-column: span 2; }
.analytics-control-fields .button { min-height: 40px; }

.analytics-now {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    margin-bottom: 14px;
    padding: 20px 22px;
    align-items: center;
    border: 1px solid #303030;
    border-radius: 18px;
    background: #1b1b1b;
}
.analytics-now.is-good { border-color: rgba(62,170,104,.26); background: linear-gradient(135deg, rgba(62,170,104,.055), #1a1a1a 55%); }
.analytics-now.is-warning { border-color: rgba(246,197,67,.33); background: linear-gradient(135deg, rgba(246,197,67,.06), #1a1a1a 55%); }
.analytics-now.is-danger { border-color: rgba(217,83,79,.34); background: linear-gradient(135deg, rgba(217,83,79,.065), #1a1a1a 55%); }
.analytics-now-status { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 13px; align-items: start; }
.analytics-now-status h2 { margin-bottom: 4px; font-size: 1.16rem; }
.analytics-now-status p:not(.eyebrow) { margin: 0; color: #858585; font-size: .75rem; line-height: 1.5; }
.analytics-now-pulse { width: 9px; height: 9px; margin-top: 7px; border-radius: 50%; background: #67cd89; box-shadow: 0 0 0 0 rgba(103,205,137,.25); animation: analyticsPulse 2.4s ease-out infinite; }
.analytics-now.is-warning .analytics-now-pulse { background: #f6c543; }
.analytics-now.is-danger .analytics-now-pulse { background: #f06c68; }
@keyframes analyticsPulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.analytics-now-counts { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; justify-content: flex-end; }
.analytics-now-counts > div { display: grid; min-width: 92px; padding: 9px 11px; gap: 2px; border: 1px solid #2e2e2e; border-radius: 11px; background: rgba(0,0,0,.12); }
.analytics-now-counts span { color: #737373; font-size: .63rem; }
.analytics-now-counts strong { font-size: 1rem; }
.analytics-now-counts .button { align-self: stretch; }

.analytics-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.analytics-kpi-card { display: grid; min-height: 128px; padding: 17px; align-content: space-between; gap: 6px; border: 1px solid #2e2e2e; border-radius: 16px; background: linear-gradient(145deg, #1d1d1d, #181818); transition: transform .16s ease, border-color .16s ease; }
.analytics-kpi-card:hover { transform: translateY(-1px); border-color: #3a3a3a; }
.analytics-kpi-card > span { color: #888; font-size: .72rem; font-weight: 750; }
.analytics-kpi-card > strong { color: #f6c543; font-size: clamp(1.75rem, 2.8vw, 2.4rem); line-height: 1; letter-spacing: -.045em; }
.analytics-kpi-card > small { color: #747474; font-size: .7rem; line-height: 1.4; }
.analytics-kpi-card.is-good { border-color: rgba(62,170,104,.28); }
.analytics-kpi-card.is-good > strong { color: #73d793; }
.analytics-kpi-card.is-warning { border-color: rgba(246,197,67,.32); }
.analytics-kpi-card.is-danger { border-color: rgba(217,83,79,.34); background: linear-gradient(145deg, rgba(217,83,79,.055), #191919 58%); }
.analytics-kpi-card.is-danger > strong { color: #ff8b87; }

.analytics-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: 14px; padding: 0; overflow: hidden; border-radius: 15px; }
.analytics-facts > div { display: grid; gap: 4px; padding: 13px 15px; border-right: 1px solid #2a2a2a; }
.analytics-facts > div:last-child { border-right: 0; }
.analytics-facts span { color: #717171; font-size: .66rem; }
.analytics-facts strong { color: #d4d4d4; font-size: .78rem; }

.analytics-queue-panel,
.analytics-response-panel,
.analytics-workflow-panel,
.analytics-trend-panel,
.analytics-rank-panel { min-width: 0; padding: 20px; border-radius: 17px; }
.analytics-queue-panel { margin-bottom: 14px; }
.analytics-queue-list { display: grid; margin-top: 12px; }
.analytics-queue-row { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 12px; padding: 11px 5px; align-items: center; color: inherit; text-decoration: none; border-bottom: 1px solid #292929; border-radius: 8px; transition: background .15s ease; }
.analytics-queue-row:last-child { border-bottom: 0; }
.analytics-queue-row:hover { background: rgba(255,255,255,.025); }
.analytics-queue-state { width: 8px; height: 8px; border-radius: 50%; background: #67cd89; }
.analytics-queue-row.is-warning .analytics-queue-state { background: #f6c543; box-shadow: 0 0 9px rgba(246,197,67,.28); }
.analytics-queue-row.is-critical .analytics-queue-state { background: #f06c68; box-shadow: 0 0 10px rgba(240,108,104,.3); }
.analytics-queue-person,
.analytics-queue-time { display: grid; gap: 2px; min-width: 0; }
.analytics-queue-person strong { overflow: hidden; color: #dadada; font-size: .79rem; text-overflow: ellipsis; white-space: nowrap; }
.analytics-queue-person small,
.analytics-queue-time small { color: #717171; font-size: .67rem; }
.analytics-queue-time { text-align: right; }
.analytics-queue-time strong { font-size: .83rem; }
.analytics-queue-row.is-critical .analytics-queue-time strong { color: #ff8b87; }

.analytics-main-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 14px; margin-bottom: 14px; }
.analytics-percent-badge { min-width: 56px; }
.analytics-percent-badge.is-small { min-width: 48px; min-height: 25px; padding: 3px 6px; font-size: .68rem; }
.analytics-response-bar { display: flex; height: 15px; margin: 22px 0 13px; overflow: hidden; border: 1px solid #303030; border-radius: 999px; background: #101010; }
.analytics-response-bar > span { display: block; width: var(--bar-width); min-width: 0; transform-origin: left; animation: analyticsBar .65s cubic-bezier(.2,.8,.2,1) both; }
.analytics-response-bar .is-good,
.analytics-response-legend i.is-good { background: #4fbd73; }
.analytics-response-bar .is-warning,
.analytics-response-legend i.is-warning { background: #e3b93c; }
.analytics-response-bar .is-danger,
.analytics-response-legend i.is-danger { background: #e86460; }
@keyframes analyticsBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.analytics-response-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.analytics-response-legend > div { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 8px; padding: 9px 10px; align-items: center; border: 1px solid #2a2a2a; border-radius: 10px; background: #181818; }
.analytics-response-legend i { width: 7px; height: 7px; border-radius: 50%; }
.analytics-response-legend span { color: #818181; font-size: .67rem; }
.analytics-response-legend strong { font-size: .76rem; }
.analytics-workflow-grid { display: grid; margin-top: 11px; }
.analytics-workflow-row { display: flex; gap: 12px; padding: 10px 2px; align-items: center; justify-content: space-between; border-bottom: 1px solid #292929; }
.analytics-workflow-row:last-child { border-bottom: 0; }
.analytics-workflow-row span { color: #9d9d9d; font-size: .75rem; }
.analytics-workflow-row strong { color: #e2e2e2; font-size: .84rem; }

.analytics-trend-panel { margin-bottom: 14px; }
.analytics-trend { display: grid; margin-top: 14px; overflow: hidden; border: 1px solid #2b2b2b; border-radius: 12px; }
.analytics-trend-head,
.analytics-trend-row { display: grid; grid-template-columns: 70px minmax(220px, 1fr) 100px 80px 76px; gap: 12px; padding: 11px 13px; align-items: center; }
.analytics-trend-head { background: #161616; color: #6f6f6f; font-size: .63rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.analytics-trend-row { border-top: 1px solid #292929; }
.analytics-trend-row > strong { font-size: .73rem; }
.analytics-trend-row > span { color: #a5a5a5; font-size: .72rem; }
.analytics-trend-row > span small { display: block; margin-top: 2px; color: #666; font-size: .61rem; }
.analytics-trend-bars { display: grid; gap: 5px; }
.analytics-trend-bars > div { position: relative; height: 14px; overflow: hidden; border-radius: 6px; background: #111; }
.analytics-trend-bars > div > span { display: block; width: var(--bar-width); height: 100%; min-width: 2px; border-radius: inherit; transform-origin: left; animation: analyticsBar .6s ease both; }
.analytics-trend-bars .is-incoming { background: linear-gradient(90deg, #c99b25, #f6c543); }
.analytics-trend-bars .is-outgoing { background: linear-gradient(90deg, #5777d2, #7796f2); }
.analytics-trend-bars small { position: absolute; inset: 0 6px; display: flex; align-items: center; color: #fff; font-size: .58rem; font-weight: 800; text-shadow: 0 1px 2px #000; }
.analytics-trend-missed { text-align: center; }
.analytics-trend-missed.is-danger { color: #ff8b87; font-weight: 850; }

.analytics-rank-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.analytics-rank-list { display: grid; margin-top: 11px; }
.analytics-rank-row { display: grid; grid-template-columns: 9px minmax(0, 1fr) 92px 118px; gap: 11px; padding: 10px 2px; align-items: center; border-bottom: 1px solid #292929; }
.analytics-rank-row:last-child { border-bottom: 0; }
.analytics-store-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--store-color, #f6c543); box-shadow: 0 0 0 3px color-mix(in srgb, var(--store-color, #f6c543) 16%, transparent); }
.analytics-staff-avatar { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: #272727; color: #d2d2d2; font-size: .68rem; font-weight: 850; }
.analytics-rank-row.is-staff { grid-template-columns: 28px minmax(0, 1fr) 92px 118px; }
.analytics-rank-name,
.analytics-rank-response,
.analytics-rank-quality { display: grid; gap: 2px; min-width: 0; }
.analytics-rank-name strong { overflow: hidden; color: #d7d7d7; font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.analytics-rank-name small,
.analytics-rank-response small,
.analytics-rank-quality small { color: #6e6e6e; font-size: .62rem; }
.analytics-rank-response,
.analytics-rank-quality { text-align: right; }
.analytics-rank-response strong,
.analytics-rank-quality strong { font-size: .74rem; }
.analytics-rank-quality strong.is-good { color: #72d792; }
.analytics-rank-quality strong.is-warning { color: #f0c759; }
.analytics-rank-quality strong.is-danger { color: #ff8985; }

.analytics-methodology { margin-top: 14px; }
.analytics-methodology > summary { grid-template-columns: 34px minmax(0, 1fr); }
.analytics-methodology > div { padding: 0 18px 17px 64px; border-top: 1px solid #292929; }
.analytics-methodology p { max-width: 860px; margin: 13px 0 0; color: #858585; font-size: .73rem; line-height: 1.6; }
.analytics-methodology p strong { color: #cfcfcf; }

.empty-state.compact { min-height: auto; padding: 14px; }

@media (max-width: 1120px) {
    .reports-hero { grid-template-columns: 1fr; }
    .reports-analytics-cta { min-height: 185px; }
    .report-summary-grid,
    .analytics-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .analytics-control-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .analytics-account-field { grid-column: span 1; }
}

@media (max-width: 940px) {
    .analytics-hero { grid-template-columns: 1fr; }
    .analytics-hero-actions { min-height: 74px; align-items: center; justify-content: flex-start; }
    .reports-toolbar { align-items: stretch; flex-direction: column; }
    .reports-toolbar-actions { justify-content: flex-start; }
    .report-primary-grid,
    .analytics-main-grid,
    .analytics-rank-grid { grid-template-columns: 1fr; }
    .report-chat-compact-grid,
    .analytics-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .analytics-facts > div:nth-child(2) { border-right: 0; }
    .analytics-facts > div:nth-child(-n+2) { border-bottom: 1px solid #2a2a2a; }
    .analytics-now { align-items: stretch; grid-template-columns: 1fr; }
    .analytics-now-counts { justify-content: flex-start; }
}

@media (max-width: 760px) {
    .reports-hero-copy,
    .analytics-hero-main { padding: 22px 20px; border-radius: 18px; }
    .reports-analytics-cta { padding: 20px; border-radius: 18px; }
    .reports-filter { width: 100%; }
    .reports-filter label { min-width: 0; flex: 1 1 180px; }
    .reports-filter .button { flex: 1 1 100%; }
    .reports-toolbar-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    .reports-toolbar-actions .button,
    .reports-toolbar-actions form,
    .reports-toolbar-actions form .button { width: 100%; }
    .analytics-control-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .analytics-control-fields .button { grid-column: 1 / -1; }
    .analytics-trend { overflow-x: auto; }
    .analytics-trend-head,
    .analytics-trend-row { min-width: 680px; }
    .analytics-rank-row { grid-template-columns: 9px minmax(0, 1fr) 95px; }
    .analytics-rank-row.is-staff { grid-template-columns: 28px minmax(0, 1fr) 95px; }
    .analytics-rank-response { display: none; }
}

@media (max-width: 580px) {
    .report-summary-grid,
    .analytics-kpi-grid,
    .report-chat-compact-grid,
    .report-mini-columns,
    .report-detail-grid,
    .analytics-facts { grid-template-columns: 1fr; }
    .analytics-facts > div { border-right: 0; border-bottom: 1px solid #2a2a2a; }
    .analytics-facts > div:last-child { border-bottom: 0; }
    .reports-toolbar-actions { grid-template-columns: 1fr; }
    .analytics-control-fields { grid-template-columns: 1fr; }
    .analytics-account-field { grid-column: auto; }
    .analytics-now-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .analytics-now-counts .button { grid-column: 1 / -1; }
    .analytics-response-legend { grid-template-columns: 1fr; }
    .report-disclosure > summary { grid-template-columns: 34px minmax(0, 1fr); }
    .report-disclosure-value { grid-column: 2; }
    .analytics-methodology > div { padding-left: 18px; }
    .report-shift-row { grid-template-columns: 9px minmax(0, 1fr); }
    .report-shift-time { grid-column: 2; text-align: left; }
}

html.center-profile-reduce-motion .reports-analytics-cta,
html.center-profile-reduce-motion .report-summary-card,
html.center-profile-reduce-motion .analytics-kpi-card,
html.center-profile-reduce-motion .analytics-now-pulse,
html.center-profile-reduce-motion .analytics-response-bar > span,
html.center-profile-reduce-motion .analytics-trend-bars > div > span,
html.center-profile-reduce-motion .report-disclosure-body,
html.center-profile-reduce-motion .report-disclosure-plus::before,
html.center-profile-reduce-motion .report-disclosure-plus::after,
html.center-profile-reduce-motion .analytics-methodology-plus::before,
html.center-profile-reduce-motion .analytics-methodology-plus::after {
    animation: none !important;
    transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .reports-analytics-cta,
    .report-summary-card,
    .analytics-kpi-card,
    .analytics-now-pulse,
    .analytics-response-bar > span,
    .analytics-trend-bars > div > span,
    .report-disclosure-body,
    .report-disclosure-plus::before,
    .report-disclosure-plus::after,
    .analytics-methodology-plus::before,
    .analytics-methodology-plus::after {
        animation: none !important;
        transition: none !important;
    }
}

/* CENTER CRM 0.11.60 — visual cleanup for report and analytics heroes. */
.reports-hero,
.analytics-hero,
.reports-toolbar,
.analytics-controls,
.analytics-now,
.report-summary-grid,
.report-primary-grid,
.analytics-kpi-grid,
.analytics-main-grid,
.analytics-rank-grid {
    min-width: 0;
    max-width: 100%;
}

.reports-hero-copy,
.analytics-hero-main {
    background: linear-gradient(145deg, #1e1e1e 0%, #191919 58%, #161616 100%);
}

.reports-hero-copy::after,
.analytics-hero-main::after,
.reports-analytics-cta::after {
    content: none !important;
    display: none !important;
}

.reports-analytics-cta {
    background: linear-gradient(150deg, #242116 0%, #1e1c18 42%, #181818 100%);
}

.analytics-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    align-items: start;
}

.analytics-hero-side {
    display: grid;
    gap: 16px;
    min-width: 0;
    padding: 20px;
    align-self: start;
    border: 1px solid #2d2d2d;
    border-radius: 20px;
    background: linear-gradient(145deg, #1d1d1d, #181818);
    box-shadow: 0 16px 36px rgba(0,0,0,.16);
}

.analytics-hero-side-head {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.analytics-hero-side-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(246,197,67,.28);
    border-radius: 12px;
    background: rgba(246,197,67,.08);
    color: #f6c543;
}

.analytics-hero-side-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.analytics-hero-side-head > span:last-child {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.analytics-hero-side-head small {
    color: #797979;
    font-size: .66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.analytics-hero-side-head strong {
    color: #e5e5e5;
    font-size: .93rem;
}

.analytics-hero-side-facts {
    display: grid;
    border-top: 1px solid #292929;
    border-bottom: 1px solid #292929;
}

.analytics-hero-side-facts > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 10px 1px;
    align-items: center;
    border-bottom: 1px solid #292929;
}

.analytics-hero-side-facts > div:last-child { border-bottom: 0; }
.analytics-hero-side-facts span { color: #777; font-size: .68rem; }
.analytics-hero-side-facts strong { overflow: hidden; color: #d8d8d8; font-size: .72rem; text-align: right; text-overflow: ellipsis; white-space: nowrap; }

.analytics-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.analytics-hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    justify-content: center;
}

/* The summary already carries the daily chat snapshot, so details stay closed until needed. */
.report-disclosure:not([open]) > summary {
    background: linear-gradient(90deg, rgba(255,255,255,.012), transparent);
}

@media (max-width: 940px) {
    .analytics-hero { grid-template-columns: 1fr; }
    .analytics-hero-side { width: 100%; }
    .analytics-hero-actions { min-height: 0; align-items: stretch; justify-content: stretch; }
}

@media (max-width: 580px) {
    .analytics-hero-actions { grid-template-columns: 1fr; }
    .analytics-hero-side-facts > div { grid-template-columns: 1fr; gap: 3px; }
    .analytics-hero-side-facts strong { text-align: left; white-space: normal; }
}

/* CENTER CRM 0.12.01 — premium daily reports workspace. */
.reports-v3-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, .72fr);
    gap: 14px;
    margin-bottom: 14px;
}

.reports-v3-heading,
.reports-v3-side,
.reports-v3-toolbar,
.report-v3-section {
    min-width: 0;
}

.reports-v3-heading {
    position: relative;
    min-height: 250px;
    padding: 28px 30px;
    overflow: hidden;
    border: 1px solid #2d2d2d;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(246, 197, 67, .055), transparent 34%),
        linear-gradient(150deg, #1d1d1d 0%, #181818 68%, #161616 100%);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255,255,255,.018);
}

.reports-v3-heading::before {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(246,197,67,.48), rgba(246,197,67,.08) 38%, transparent 78%);
    pointer-events: none;
}

.reports-v3-kicker {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #b49a45;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.reports-v3-kicker > span {
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: #f6c543;
    box-shadow: 0 0 0 4px rgba(246,197,67,.08);
}

.reports-v3-title-row {
    display: flex;
    gap: 22px;
    margin-top: 20px;
    align-items: flex-start;
    justify-content: space-between;
}

.reports-v3-title-row > div {
    min-width: 0;
}

.reports-v3-title-row h1 {
    margin: 0;
    color: #f1f1f1;
    font-size: clamp(2.3rem, 4.4vw, 4rem);
    line-height: .96;
    letter-spacing: -.055em;
}

.reports-v3-title-row p {
    max-width: 700px;
    margin: 15px 0 0;
    color: #909090;
    font-size: .91rem;
    line-height: 1.65;
}

.reports-v3-date {
    display: inline-flex;
    min-height: 42px;
    padding: 9px 13px;
    flex: 0 0 auto;
    align-items: center;
    border: 1px solid rgba(246,197,67,.24);
    border-radius: 12px;
    background: rgba(246,197,67,.055);
    color: #e2c45f;
    font-size: .73rem;
    font-weight: 850;
    white-space: nowrap;
}

.reports-v3-context {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.reports-v3-context-item {
    display: inline-flex;
    min-height: 34px;
    padding: 7px 10px;
    gap: 7px;
    align-items: center;
    border: 1px solid #303030;
    border-radius: 10px;
    background: rgba(255,255,255,.018);
    color: #a1a1a1;
    font-size: .7rem;
    font-weight: 750;
}

.reports-v3-context-item svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #777;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.reports-v3-context-item.is-live {
    border-color: rgba(76,183,116,.22);
    color: #91cda4;
    background: rgba(76,183,116,.045);
}

.reports-v3-context-item.is-locked {
    border-color: rgba(246,197,67,.19);
    color: #c8b36c;
    background: rgba(246,197,67,.035);
}

.reports-v3-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5fc983;
    box-shadow: 0 0 10px rgba(95,201,131,.32);
}

.reports-v3-context-item.is-locked .reports-v3-status-dot {
    background: #d3b74f;
    box-shadow: none;
}

.reports-v3-side {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 10px;
}

.reports-v3-side-top {
    display: flex;
    min-height: 112px;
    padding: 19px 20px;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #2d2d2d;
    border-radius: 18px;
    background: linear-gradient(145deg, #1d1d1d, #181818);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
}

.reports-v3-side-top > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.reports-v3-side-label,
.reports-v3-actions-label {
    color: #696969;
    font-size: .64rem;
    font-weight: 850;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.reports-v3-side-top strong {
    color: #e4e4e4;
    font-size: 1rem;
    letter-spacing: -.015em;
}

.reports-v3-side-top small {
    color: #777;
    font-size: .69rem;
    line-height: 1.45;
}

.reports-v3-health {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid #333;
    border-radius: 13px;
    background: #222;
    color: #aaa;
    font-size: 1rem;
    font-weight: 950;
}

.reports-v3-health.is-good {
    border-color: rgba(76,183,116,.25);
    background: rgba(76,183,116,.07);
    color: #74d596;
}

.reports-v3-health.is-danger {
    border-color: rgba(224,89,84,.28);
    background: rgba(224,89,84,.07);
    color: #ff8884;
}

.reports-analytics-cta.reports-v3-analytics {
    min-height: 0;
    padding: 19px 20px;
    grid-template-columns: 44px minmax(0,1fr);
    gap: 12px 13px;
    border-radius: 18px;
    border-color: rgba(246,197,67,.28);
    background: linear-gradient(150deg, rgba(246,197,67,.075), #1c1b18 43%, #181818 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
}

.reports-v3-analytics .reports-analytics-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: none;
}

.reports-v3-analytics .reports-analytics-icon svg {
    width: 21px;
    height: 21px;
}

.reports-v3-analytics .reports-analytics-copy strong {
    font-size: .98rem;
}

.reports-v3-analytics .reports-analytics-copy em {
    color: #858176;
    font-size: .69rem;
}

.reports-v3-analytics .reports-analytics-copy small {
    font-size: .61rem;
}

.reports-v3-analytics .reports-analytics-state {
    min-height: 26px;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: .65rem;
}

.reports-v3-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 15px;
    align-items: stretch;
    border: 1px solid #2d2d2d;
    border-radius: 18px;
    background: #181818;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.014);
}

.reports-v3-toolbar-block {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    gap: 16px;
    min-width: 0;
    align-items: end;
}

.reports-v3-toolbar-head {
    display: grid;
    grid-template-columns: 36px minmax(0,1fr);
    gap: 10px;
    min-width: 175px;
    align-items: center;
    align-self: center;
}

.reports-v3-toolbar-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #333;
    border-radius: 10px;
    background: #202020;
    color: #c4a946;
}

.reports-v3-toolbar-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

.reports-v3-toolbar-head > span:last-child {
    display: grid;
    gap: 2px;
}

.reports-v3-toolbar-head strong {
    color: #d8d8d8;
    font-size: .78rem;
}

.reports-v3-toolbar-head small {
    color: #696969;
    font-size: .64rem;
}

.reports-v3-toolbar .reports-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 220px)) auto;
    gap: 9px;
    min-width: 0;
    align-items: end;
}

.reports-v3-toolbar .reports-filter label {
    min-width: 0;
}

.reports-v3-toolbar .reports-filter input,
.reports-v3-toolbar .reports-filter select {
    min-height: 42px;
    border-color: #333;
    border-radius: 11px;
    background: #202020;
}

.reports-v3-show-button {
    min-height: 42px;
    white-space: nowrap;
}

.reports-v3-actions-block {
    display: grid;
    gap: 7px;
    min-width: 0;
    align-content: end;
}

.reports-v3-actions-label {
    padding-left: 2px;
}

.reports-v3-toolbar .reports-toolbar-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.reports-v3-toolbar .reports-toolbar-actions .button {
    min-height: 42px;
    padding-inline: 13px;
    white-space: nowrap;
}

.reports-v3-meta-row {
    display: flex;
    gap: 16px;
    margin: 10px 1px 20px;
    align-items: center;
    justify-content: space-between;
}

.reports-v3-meta-row .reports-generated-note {
    margin: 0;
}

.reports-v3-section-nav {
    display: inline-flex;
    gap: 4px;
    padding: 3px;
    border: 1px solid #2d2d2d;
    border-radius: 10px;
    background: #181818;
}

.reports-v3-section-nav a {
    display: inline-flex;
    min-height: 29px;
    padding: 5px 10px;
    align-items: center;
    border-radius: 7px;
    color: #777;
    font-size: .67rem;
    font-weight: 800;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.reports-v3-section-nav a:hover {
    background: #222;
    color: #d6bd62;
}

.report-v3-section {
    scroll-margin-top: 104px;
    margin-top: 22px;
}

.report-v3-section:first-of-type {
    margin-top: 0;
}

.report-v3-section-head {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    align-items: end;
    justify-content: space-between;
}

.report-v3-section-head > div {
    min-width: 0;
}

.report-v3-section-head .eyebrow,
.report-panel-title .eyebrow {
    margin: 0 0 4px;
    color: #9a8240;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.report-v3-section-head h2 {
    margin: 0;
    color: #e4e4e4;
    font-size: 1.15rem;
    letter-spacing: -.025em;
}

.report-v3-section-head > div > p:not(.eyebrow) {
    max-width: 740px;
    margin: 4px 0 0;
    color: #707070;
    font-size: .71rem;
    line-height: 1.5;
}

.report-v3-section-chip {
    display: inline-flex;
    min-height: 29px;
    padding: 5px 9px;
    flex: 0 0 auto;
    align-items: center;
    border: 1px solid #303030;
    border-radius: 9px;
    background: #1d1d1d;
    color: #858585;
    font-size: .66rem;
    font-weight: 850;
}

.report-v3-section-chip.is-good {
    border-color: rgba(76,183,116,.2);
    color: #7bcf95;
    background: rgba(76,183,116,.045);
}

.report-v3-section-chip.is-danger {
    border-color: rgba(224,89,84,.23);
    color: #ef8b87;
    background: rgba(224,89,84,.045);
}

/* KPI cards */
.report-v3-section .report-summary-grid {
    gap: 10px;
}

.report-v3-section .report-summary-card {
    position: relative;
    display: flex;
    min-height: 150px;
    padding: 16px 17px 18px;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border-color: #2c2c2c;
    border-radius: 16px;
    background: #191919;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.014);
}

.report-v3-section .report-summary-card:hover {
    transform: translateY(-1px);
    border-color: #373737;
    background: #1b1b1b;
}

.report-v3-section .report-summary-card.is-brand {
    border-color: rgba(246,197,67,.22);
    background: linear-gradient(145deg, rgba(246,197,67,.055), #191919 58%);
}

.report-v3-section .report-summary-card.is-good {
    border-color: rgba(76,183,116,.22);
}

.report-v3-section .report-summary-card.is-warning {
    border-color: rgba(246,197,67,.25);
}

.report-v3-section .report-summary-card.is-danger {
    border-color: rgba(224,89,84,.24);
    background: linear-gradient(145deg, rgba(224,89,84,.04), #191919 58%);
}

.report-summary-card-top {
    display: flex;
    gap: 9px;
    align-items: center;
}

.report-v3-section .report-summary-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex: 0 0 auto;
}

.report-v3-section .report-summary-icon svg {
    width: 17px;
    height: 17px;
}

.report-v3-section .report-summary-label {
    color: #888 !important;
    font-size: .69rem !important;
    font-weight: 800 !important;
}

.report-v3-section .report-summary-value {
    margin-top: 16px;
    color: #e8e8e8;
    font-size: clamp(2rem, 3vw, 2.65rem);
    line-height: .92;
    letter-spacing: -.055em;
}

.report-v3-section .report-summary-card.is-brand .report-summary-value {
    color: #f3ce57;
}

.report-v3-section .report-summary-card.is-good .report-summary-value {
    color: #76d493;
}

.report-v3-section .report-summary-card.is-danger .report-summary-value {
    color: #f18480;
}

.report-v3-section .report-summary-meta {
    margin-top: auto;
    padding-top: 13px;
    color: #6f6f6f;
    font-size: .66rem;
    line-height: 1.4;
}

.report-summary-accent {
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 0;
    height: 2px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #383838, transparent 75%);
}

.report-summary-card.is-brand .report-summary-accent {
    background: linear-gradient(90deg, rgba(246,197,67,.65), rgba(246,197,67,.04) 72%, transparent);
}

.report-summary-card.is-good .report-summary-accent {
    background: linear-gradient(90deg, rgba(76,183,116,.55), rgba(76,183,116,.03) 72%, transparent);
}

.report-summary-card.is-danger .report-summary-accent {
    background: linear-gradient(90deg, rgba(224,89,84,.55), rgba(224,89,84,.03) 72%, transparent);
}

.report-summary-progress {
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 0;
    height: 3px;
    overflow: hidden;
    border-radius: 999px 999px 0 0;
    background: #252525;
}

.report-summary-progress > i {
    display: block;
    width: var(--report-progress, 0%);
    height: 100%;
    max-width: 100%;
    border-radius: inherit;
    background: #d2b143;
}

.report-summary-card.is-good .report-summary-progress > i { background: #60c57f; }
.report-summary-card.is-danger .report-summary-progress > i { background: #df625e; }

.report-v3-section .report-day-status {
    grid-template-columns: 9px minmax(0,1fr) auto;
    gap: 13px;
    min-height: 66px;
    margin-top: 10px;
    padding: 14px 16px;
    align-items: center;
    border-radius: 14px;
    background: #181818;
}

.report-v3-section .report-day-status-icon {
    margin: 0;
}

.report-day-status-copy {
    min-width: 0;
}

.report-day-status-badge {
    display: inline-flex;
    min-height: 27px;
    padding: 4px 8px;
    align-items: center;
    border: 1px solid rgba(76,183,116,.22);
    border-radius: 8px;
    background: rgba(76,183,116,.055);
    color: #79ce94;
    font-size: .63rem;
    font-weight: 850;
}

.report-day-status.is-danger .report-day-status-badge {
    border-color: rgba(224,89,84,.22);
    background: rgba(224,89,84,.055);
    color: #ef8a86;
}

/* Control workspace */
.report-v3-section .report-primary-grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr);
    gap: 12px;
    margin-top: 0;
}

.report-v3-section .report-primary-grid > .panel {
    padding: 18px;
    border: 1px solid #2d2d2d;
    border-radius: 17px;
    background: #191919;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.014);
}

.report-v3-section .report-panel-head {
    align-items: center;
}

.report-panel-title {
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    gap: 11px;
    min-width: 0;
    align-items: center;
}

.report-panel-title > div {
    min-width: 0;
}

.report-panel-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid #333;
    border-radius: 11px;
    background: #212121;
    color: #a8a8a8;
}

.report-panel-icon.is-alert {
    border-color: rgba(224,89,84,.2);
    background: rgba(224,89,84,.055);
    color: #ed817d;
}

.report-panel-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.report-panel-title h3 {
    margin: 0;
    color: #dedede;
    font-size: .94rem;
    letter-spacing: -.015em;
}

.report-panel-title p:not(.eyebrow) {
    margin: 3px 0 0;
    color: #6f6f6f;
    font-size: .66rem;
    line-height: 1.45;
}

.report-v3-section .report-attention-list,
.report-v3-section .report-shift-list {
    margin-top: 14px;
    border-top: 1px solid #292929;
}

.report-v3-section .report-attention-row {
    grid-template-columns: 28px minmax(0,1fr) 22px;
    min-height: 56px;
    padding: 10px 6px;
    gap: 10px;
    border-radius: 9px;
}

.report-attention-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.report-attention-arrow {
    color: #555;
    font-size: .9rem;
    transition: transform .15s ease, color .15s ease;
}

.report-attention-row:hover .report-attention-arrow {
    color: #d3b84f;
    transform: translateX(2px);
}

.report-v3-section .report-shift-row {
    min-height: 54px;
    padding: 9px 4px;
}

.report-v3-section .report-clean-state {
    min-height: 78px;
    margin-top: 14px;
}

/* Details */
.report-v3-details {
    padding-bottom: 4px;
}

.report-v3-details .report-disclosure {
    margin-top: 9px;
    border-color: #2d2d2d;
    border-radius: 15px;
    background: #181818;
}

.report-v3-details .report-disclosure > summary {
    grid-template-columns: 38px minmax(0,1fr) auto 30px;
    gap: 12px;
    min-height: 70px;
    padding: 14px 16px;
}

.report-disclosure-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #333;
    border-radius: 10px;
    background: #202020;
    color: #b59b47;
}

.report-disclosure-icon svg,
.report-disclosure-chevron svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.report-v3-details .report-disclosure summary small {
    color: #747474;
    font-size: .61rem;
}

.report-v3-details .report-disclosure summary strong {
    color: #d8d8d8;
    font-size: .82rem;
}

.report-disclosure-chevron {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 8px;
    color: #777;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.report-disclosure[open] .report-disclosure-chevron {
    transform: rotate(180deg);
    background: rgba(246,197,67,.055);
    color: #d2b34b;
}

.report-v3-details .report-disclosure > summary:hover .report-disclosure-chevron {
    background: #222;
    color: #c6a947;
}

.report-v3-details .report-disclosure-body {
    padding: 0 16px 16px;
    border-top-color: #292929;
}

.report-v3-details .report-chat-compact-grid > div {
    min-height: 72px;
    padding: 13px;
    border-radius: 11px;
    background: #161616;
}

.report-v3-details .report-chat-compact-grid strong {
    color: #e2e2e2;
    font-size: 1.08rem;
}

.report-v3-details .report-mini-columns,
.report-v3-details .report-detail-grid {
    gap: 12px;
}

.report-v3-details .report-detail-grid section {
    padding: 13px;
    border: 1px solid #2b2b2b;
    border-radius: 12px;
    background: #161616;
}

.report-v3-details .report-detail-grid h3 {
    margin-bottom: 8px;
    color: #c9c9c9;
}

.report-v3-details .report-mini-list > div {
    padding: 8px 0;
}

/* Make the daily report feel intentionally compact on large screens. */
@media (min-width: 1300px) {
    .reports-v3-toolbar .reports-filter {
        grid-template-columns: repeat(2, minmax(170px, 210px)) auto;
    }
}

@media (max-width: 1220px) {
    .reports-v3-hero {
        grid-template-columns: minmax(0,1fr) minmax(300px,.8fr);
    }

    .reports-v3-toolbar {
        grid-template-columns: 1fr;
    }

    .reports-v3-actions-block {
        padding-top: 11px;
        border-top: 1px solid #292929;
    }

    .reports-v3-toolbar .reports-toolbar-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 980px) {
    .reports-v3-hero {
        grid-template-columns: 1fr;
    }

    .reports-v3-heading {
        min-height: 0;
    }

    .reports-v3-side {
        grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr);
        grid-template-rows: auto;
    }

    .reports-v3-side-top,
    .reports-analytics-cta.reports-v3-analytics {
        height: 100%;
    }

    .reports-v3-toolbar-block {
        grid-template-columns: 1fr;
    }

    .reports-v3-toolbar-head {
        min-width: 0;
    }

    .report-v3-section .report-primary-grid {
        grid-template-columns: 1fr;
    }

    .reports-v3-meta-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    .reports-v3-heading {
        padding: 22px 20px;
        border-radius: 18px;
    }

    .reports-v3-heading::before {
        left: 20px;
        right: 20px;
    }

    .reports-v3-title-row {
        flex-direction: column;
        gap: 14px;
    }

    .reports-v3-title-row h1 {
        font-size: clamp(2.25rem, 12vw, 3.2rem);
    }

    .reports-v3-date {
        min-height: 34px;
    }

    .reports-v3-side {
        grid-template-columns: 1fr;
    }

    .reports-v3-toolbar {
        padding: 13px;
    }

    .reports-v3-toolbar .reports-filter {
        grid-template-columns: repeat(2, minmax(0,1fr));
        width: 100%;
    }

    .reports-v3-toolbar .reports-filter .reports-v3-show-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .reports-v3-toolbar .reports-toolbar-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0,1fr));
        width: 100%;
    }

    .reports-v3-toolbar .reports-toolbar-actions .button,
    .reports-v3-toolbar .reports-toolbar-actions form,
    .reports-v3-toolbar .reports-toolbar-actions form .button {
        width: 100%;
    }

    .report-v3-section .report-summary-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .report-v3-details .report-disclosure > summary {
        grid-template-columns: 36px minmax(0,1fr) 28px;
    }

    .report-v3-details .report-disclosure-value {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
    }

    .report-v3-details .report-disclosure-chevron {
        grid-column: 3;
        grid-row: 1 / 3;
    }
}

@media (max-width: 560px) {
    .reports-v3-context {
        display: grid;
        grid-template-columns: 1fr;
    }

    .reports-v3-context-item {
        width: 100%;
    }

    .reports-v3-toolbar .reports-filter,
    .reports-v3-toolbar .reports-toolbar-actions,
    .report-v3-section .report-summary-grid,
    .report-v3-details .report-chat-compact-grid,
    .report-v3-details .report-mini-columns,
    .report-v3-details .report-detail-grid {
        grid-template-columns: 1fr;
    }

    .reports-v3-toolbar .reports-filter .reports-v3-show-button {
        grid-column: auto;
    }

    .reports-v3-section-nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0,1fr));
        width: 100%;
    }

    .reports-v3-section-nav a {
        justify-content: center;
    }

    .report-v3-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .report-v3-section .report-day-status {
        grid-template-columns: 9px minmax(0,1fr);
    }

    .report-day-status-badge {
        grid-column: 2;
        justify-self: start;
    }

    .report-v3-section .report-attention-row {
        grid-template-columns: 28px minmax(0,1fr);
    }

    .report-attention-arrow {
        display: none;
    }

    .report-v3-details .report-disclosure > summary {
        padding: 13px;
    }
}

html.center-profile-reduce-motion .reports-v3-section-nav a,
html.center-profile-reduce-motion .report-attention-arrow,
html.center-profile-reduce-motion .report-disclosure-chevron {
    transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .reports-v3-section-nav a,
    .report-attention-arrow,
    .report-disclosure-chevron {
        transition: none !important;
    }
}

/* CENTER CRM 0.12.02 — operator worktime clarity + final reports alignment */
.reports-v3-meta-row {
    justify-content: flex-start;
    margin-bottom: 18px;
}

.reports-v3-meta-row .reports-generated-note {
    width: 100%;
}

.report-v3-section .report-primary-grid {
    grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
    align-items: stretch;
}

.report-v3-section .report-primary-grid > .panel {
    height: 100%;
}

.report-shifts-panel {
    min-width: 0;
}

.report-shifts-head {
    min-height: 48px;
}

.report-operator-count {
    gap: 5px;
    padding-inline: 10px;
    white-space: nowrap;
}

.report-operator-count small {
    color: #777;
    font-size: .58rem;
    font-weight: 800;
}

.report-v3-section .report-shift-list.report-shift-cards {
    display: grid;
    gap: 9px;
    padding-top: 12px;
}

.report-shift-card {
    display: grid;
    gap: 12px;
    padding: 13px 14px 14px;
    border: 1px solid #2b2b2b;
    border-radius: 13px;
    background: linear-gradient(145deg, #181818 0%, #171717 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.012);
}

.report-shift-card:hover {
    border-color: #343434;
    background: #191919;
}

.report-shift-card-head {
    display: grid;
    grid-template-columns: 9px minmax(0,1fr) auto;
    gap: 10px;
    align-items: center;
}

.report-shift-card .report-shift-state {
    width: 8px;
    height: 8px;
}

.report-shift-state.is-idle {
    background: #e98a57;
    box-shadow: 0 0 10px rgba(233,138,87,.25);
}

.report-shift-card .report-shift-person {
    gap: 3px;
}

.report-shift-card .report-shift-person strong {
    color: #e2e2e2;
    font-size: .79rem;
    letter-spacing: -.01em;
}

.report-shift-card .report-shift-person small {
    color: #6f6f6f;
    font-size: .63rem;
}

.report-shift-status {
    display: inline-flex;
    min-height: 25px;
    padding: 4px 8px;
    align-items: center;
    justify-content: center;
    border: 1px solid #303030;
    border-radius: 8px;
    background: #202020;
    color: #858585;
    font-size: .58rem;
    font-weight: 850;
    white-space: nowrap;
}

.report-shift-status.is-online {
    border-color: rgba(76,183,116,.2);
    background: rgba(76,183,116,.05);
    color: #79cf95;
}

.report-shift-status.is-break {
    border-color: rgba(246,197,67,.22);
    background: rgba(246,197,67,.055);
    color: #e2c55b;
}

.report-shift-status.is-idle {
    border-color: rgba(233,138,87,.22);
    background: rgba(233,138,87,.055);
    color: #e9a070;
}

.report-shift-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 7px;
}

.report-shift-metric {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 72px;
    padding: 10px 11px;
    align-content: center;
    overflow: hidden;
    border: 1px solid #292929;
    border-radius: 10px;
    background: #151515;
}

.report-shift-metric::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 2px;
    border-radius: 999px 999px 0 0;
    background: #333;
}

.report-shift-metric.is-work {
    border-color: rgba(76,183,116,.18);
    background: linear-gradient(145deg, rgba(76,183,116,.035), #151515 62%);
}

.report-shift-metric.is-work::after { background: rgba(76,183,116,.55); }
.report-shift-metric.is-break::after { background: rgba(246,197,67,.52); }
.report-shift-metric.is-idle::after { background: rgba(233,138,87,.52); }

.report-shift-metric > span {
    display: flex;
    gap: 5px;
    min-width: 0;
    align-items: center;
    color: #777;
    font-size: .57rem;
    font-weight: 800;
    white-space: nowrap;
}

.report-shift-metric > span b {
    display: inline-flex;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #242424;
    color: #aaa;
    font-size: .56rem;
    font-weight: 900;
}

.report-shift-metric strong {
    margin-top: 5px;
    overflow: hidden;
    color: #dadada;
    font-size: .92rem;
    line-height: 1.05;
    letter-spacing: -.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.report-shift-metric.is-work strong { color: #7bd097; }
.report-shift-metric.is-break strong { color: #dec15c; }
.report-shift-metric.is-idle strong { color: #dfa077; }

.report-shift-metric small {
    margin-top: 3px;
    overflow: hidden;
    color: #5f5f5f;
    font-size: .54rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .report-v3-section .report-primary-grid {
        grid-template-columns: 1fr;
    }

    .report-shift-metrics {
        grid-template-columns: repeat(4, minmax(120px,1fr));
    }
}

@media (max-width: 760px) {
    .report-shift-metrics {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 480px) {
    .report-shift-card {
        padding: 12px;
    }

    .report-shift-card-head {
        grid-template-columns: 9px minmax(0,1fr);
    }

    .report-shift-status {
        grid-column: 2;
        justify-self: start;
    }

    .report-shift-metrics {
        grid-template-columns: 1fr;
    }

    .report-shift-metric {
        min-height: 64px;
    }
}
