/* ==========================================================
   پنل مدیریت مارکت‌پلیس بازار ایران — شِل، داشبورد، فرم‌ها، صندوق چت
   از متغیرهای seller.css (--sc-*) استفاده می‌کند.
   ========================================================== */

/* ---------- شِل و نوار کناری ---------- */
.bz-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 1.25rem;
    max-width: 1800px;
    margin: 0 auto;
    padding: 1.25rem;
    background: var(--sc-bg);
    min-height: calc(100vh - 140px);
    direction: rtl;
    color: var(--sc-text);
}

.bz-side {
    position: sticky;
    top: 92px;
    align-self: start;
    max-height: calc(100vh - 110px);
    overflow: auto;
    background: var(--sc-surface);
    border: 1px solid var(--sc-border);
    border-radius: 18px;
    box-shadow: var(--sc-shadow);
    padding: 1rem .8rem;
}

.bz-side__head {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .2rem .4rem 1rem;
    border-bottom: 1px dashed var(--sc-border);
    margin-bottom: .8rem;
}

    .bz-side__head b {
        display: block;
        font-size: .95rem;
        line-height: 1.3;
    }

    .bz-side__head small {
        color: var(--sc-muted);
        font-size: .72rem;
    }

.bz-side__logo {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-2));
    box-shadow: 0 8px 18px rgba(var(--sc-primary-rgb), .35);
    animation: sc-float 4s ease-in-out infinite;
}

.bz-side__toggle {
    display: none;
    margin-inline-start: auto;
    border: 0;
    background: none;
    font-size: 1.6rem;
    color: var(--sc-text);
}

.bz-side__nav {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.bz-side__link {
    position: relative;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .7rem .85rem;
    border-radius: 12px;
    color: var(--sc-muted);
    text-decoration: none;
    font-size: .88rem;
    transition: background .2s, color .2s, transform .25s var(--sc-ease);
}

    .bz-side__link i {
        font-size: 1.1rem;
        transition: transform .35s var(--sc-ease);
    }

    .bz-side__link:hover {
        background: var(--sc-primary-50);
        color: var(--sc-primary);
        transform: translateX(-4px);
    }

        .bz-side__link:hover i {
            transform: scale(1.18) rotate(-6deg);
        }

    .bz-side__link.is-active {
        background: linear-gradient(90deg, var(--sc-primary-50), transparent);
        color: var(--sc-primary);
        font-weight: 700;
    }

        .bz-side__link.is-active::before {
            content: "";
            position: absolute;
            inset-inline-end: -.8rem;
            top: 20%;
            bottom: 20%;
            width: 4px;
            border-radius: 4px;
            background: var(--sc-primary);
            animation: sc-grow-x .5s var(--sc-ease);
        }

.bz-badge {
    margin-inline-start: auto;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: .72rem;
    font-weight: 700;
    color: #fff;
    background: var(--sc-danger);
    animation: sc-pulse-dot 1.8s infinite;
}

.bz-side__sep {
    margin: 1rem .5rem .4rem;
    font-size: .72rem;
    color: var(--sc-muted);
    letter-spacing: .04em;
}

.bz-side__note {
    margin: 1rem .3rem 0;
    padding: .7rem .8rem;
    border-radius: 12px;
    font-size: .78rem;
    line-height: 1.8;
    background: var(--sc-accent-50);
    color: #8a5a00;
}

[data-bs-theme="dark"] .bz-side__note {
    color: #f6c66b;
}

.bz-main {
    min-width: 0;
}

.bz-flash {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    padding: .8rem 1rem;
    border-radius: 12px;
    background: #e8f8f0;
    border: 1px solid #b8ebd3;
    color: #0c7a4f;
    animation: sc-fade-down .4s var(--sc-ease);
}

@media (max-width: 1000px) {
    .bz-shell {
        grid-template-columns: 1fr;
        padding: .75rem;
    }

    .bz-side {
        position: static;
        max-height: none;
    }

    .bz-side__toggle {
        display: block;
    }

    .bz-side:not(.is-open) .bz-side__nav,
    .bz-side:not(.is-open) .bz-side__sep,
    .bz-side:not(.is-open) .bz-side__note {
        display: none;
    }
}

/* ---------- داشبورد ---------- */
.bz-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.6rem 1.8rem;
    margin-bottom: 1.25rem;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(120deg, var(--sc-primary-600), var(--sc-primary) 55%, var(--sc-primary-2));
    background-size: 200% 200%;
    animation: bz-gradient 14s ease infinite;
    box-shadow: 0 18px 40px rgba(var(--sc-primary-rgb), .28);
}

.bz-hero__text, .bz-hero__actions {
    position: relative;
    z-index: 2;
}

.bz-hero__crumb {
    display: block;
    opacity: .85;
    font-size: .76rem;
    margin-bottom: .4rem;
}

.bz-hero h1 {
    margin: 0 0 .7rem;
    font-size: 1.7rem;
    font-weight: 800;
}

.bz-hero p {
    margin: 0;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.bz-wave {
    display: inline-block;
    transform-origin: 70% 70%;
    animation: bz-wave 2.4s ease-in-out infinite;
}

.bz-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .8rem;
    border-radius: 999px;
    font-size: .78rem;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.25);
}

.bz-chip--ok {
    background: rgba(18,163,106,.35);
}

.bz-chip--warn {
    background: rgba(245,158,11,.4);
}

.bz-hero__actions {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

    .bz-hero__actions .sc-btn--primary {
        background: #fff;
        color: var(--sc-primary);
        box-shadow: 0 8px 20px rgba(0,0,0,.18);
    }

    .bz-hero__actions .sc-btn--outline {
        color: #fff;
        border-color: rgba(255,255,255,.55);
    }

        .bz-hero__actions .sc-btn--outline:hover {
            background: rgba(255,255,255,.14);
            color: #fff;
        }

.bz-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), rgba(255,255,255,0) 70%);
}

    .bz-hero__blob.b1 {
        width: 260px;
        height: 260px;
        inset-inline-start: -60px;
        top: -90px;
        animation: bz-drift 11s ease-in-out infinite;
    }

    .bz-hero__blob.b2 {
        width: 180px;
        height: 180px;
        inset-inline-end: 22%;
        bottom: -90px;
        animation: bz-drift 14s ease-in-out infinite reverse;
    }

    .bz-hero__blob.b3 {
        width: 90px;
        height: 90px;
        inset-inline-end: 6%;
        top: 14%;
        animation: bz-drift 9s ease-in-out infinite;
    }

.bz-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.25rem;
    align-items: start;
}

@media (max-width: 1250px) {
    .bz-grid {
        grid-template-columns: 1fr;
    }
}

.bz-col {
    min-width: 0;
}

.bz-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: .9rem;
}

/* مراحل */
.bz-onboard__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.bz-ring {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

    .bz-ring svg {
        width: 100%;
        height: 100%;
        transform: rotate(-90deg) scaleY(-1);
    }

    .bz-ring circle {
        fill: none;
        stroke-width: 7;
        stroke-linecap: round;
    }

    .bz-ring .t {
        stroke: var(--sc-border);
    }

    .bz-ring .f {
        stroke: var(--sc-success);
        stroke-dashoffset: var(--off);
        animation: bz-ring 1.6s var(--sc-ease) both;
    }

    .bz-ring b {
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        font-size: .8rem;
    }

.sc-step__a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    color: inherit;
    text-decoration: none;
}

    .sc-step__a:hover .sc-step__dot {
        transform: translateY(-3px);
        border-color: var(--sc-primary);
    }

.sc-step__dot {
    transition: transform .3s var(--sc-ease), border-color .2s;
}

.bz-alert--ok {
    background: #e8f8f0;
    border: 1px solid #b8ebd3;
    color: #0c7a4f;
    justify-content: flex-start;
}

/* وظایف مدیر */
.bz-tasks__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .85rem;
}

@media (max-width: 700px) {
    .bz-tasks__grid {
        grid-template-columns: 1fr;
    }
}

.bz-task {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "i n" "i t";
    align-items: center;
    gap: 0 .9rem;
    padding: 1rem;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--sc-border);
    background: linear-gradient(135deg, var(--sc-accent-50), transparent);
    transition: transform .3s var(--sc-ease), box-shadow .3s;
}

    .bz-task:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 28px rgba(245,158,11,.18);
    }

    .bz-task i {
        grid-area: i;
        width: 46px;
        height: 46px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        font-size: 1.3rem;
        color: #b45309;
        background: #fff4de;
    }

    .bz-task b {
        grid-area: n;
        font-size: 1.5rem;
    }

    .bz-task span {
        grid-area: t;
        font-size: .8rem;
        color: var(--sc-muted);
    }

/* KPI */
.bz-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 1500px) {
    .bz-kpis {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .bz-kpis {
        grid-template-columns: 1fr;
    }
}

.bz-kpi {
    position: relative;
    overflow: hidden;
    padding: 1.1rem 1.2rem 2.4rem;
    border-radius: var(--sc-radius);
    background: var(--sc-surface);
    border: 1px solid var(--sc-border);
    box-shadow: var(--sc-shadow);
    transition: transform .35s var(--sc-ease), box-shadow .35s;
}

    .bz-kpi:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 36px rgba(16,24,40,.12);
    }

    .bz-kpi small {
        display: block;
        color: var(--sc-muted);
        font-size: .78rem;
        margin: .7rem 0 .15rem;
    }

    .bz-kpi b {
        font-size: 1.55rem;
        font-weight: 800;
        letter-spacing: -.01em;
    }

.bz-kpi__ic {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    font-size: 1.2rem;
    color: #fff;
    background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-2));
    box-shadow: 0 8px 16px rgba(var(--sc-primary-rgb), .3);
    transition: transform .4s var(--sc-ease);
}

.bz-kpi:hover .bz-kpi__ic {
    transform: rotate(-10deg) scale(1.1);
}

.bz-kpi__ic--2 {
    background: linear-gradient(135deg, #12a36a, #4fd1a0);
    box-shadow: 0 8px 16px rgba(18,163,106,.3);
}

.bz-kpi__ic--3 {
    background: linear-gradient(135deg, #f59e0b, #fcc760);
    box-shadow: 0 8px 16px rgba(245,158,11,.3);
}

.bz-kpi__ic--4 {
    background: linear-gradient(135deg, #7c5cf0, #a995ff);
    box-shadow: 0 8px 16px rgba(124,92,240,.3);
}

.bz-spark {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    width: 100%;
    height: 38px;
}

    .bz-spark path {
        fill: none;
        stroke: var(--sc-primary);
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
        vector-effect: non-scaling-stroke;
        stroke-dasharray: 400;
        stroke-dashoffset: 400;
        animation: sc-draw 2s var(--sc-ease) .3s forwards;
    }

.bz-spark--b path {
    stroke: #f59e0b;
}

.bz-trend {
    position: absolute;
    inset-inline: 1.2rem;
    bottom: .7rem;
    display: flex;
    align-items: center;
    gap: .2rem;
    font-style: normal;
    font-size: .74rem;
    color: var(--sc-muted);
}

    .bz-trend.up {
        color: var(--sc-success);
    }

    .bz-trend.down {
        color: var(--sc-danger);
    }

    .bz-trend i {
        font-size: 1rem;
    }

/* نمودارها */
.bz-charts {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1100px) {
    .bz-charts {
        grid-template-columns: 1fr;
    }
}

.bz-chart {
    min-height: 290px;
}

.bz-legend {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .76rem;
    color: var(--sc-muted);
}

    .bz-legend i {
        width: 10px;
        height: 10px;
        border-radius: 3px;
        background: var(--sc-primary);
    }

.bz-ellipsis {
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bz-danger {
    color: var(--sc-danger);
    font-weight: 700;
}

/* پرفروش‌ها */
.bz-top {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

    .bz-top li {
        display: flex;
        align-items: center;
        gap: .9rem;
    }

.bz-top__img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--sc-bg);
    border: 1px solid var(--sc-border);
}

    .bz-top__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.bz-top__body {
    flex: 1;
    min-width: 0;
}

    .bz-top__body b {
        display: block;
        font-size: .84rem;
        margin-bottom: .35rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.bz-bar {
    height: 7px;
    border-radius: 7px;
    background: var(--sc-bg);
    overflow: hidden;
}

    .bz-bar i {
        display: block;
        height: 100%;
        width: var(--w);
        border-radius: 7px;
        background: linear-gradient(90deg, var(--sc-primary), var(--sc-primary-2));
        transform-origin: right;
        animation: sc-grow-x 1.2s var(--sc-ease) both;
    }

.bz-top__num {
    text-align: end;
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
}

    .bz-top__num small {
        display: block;
        color: var(--sc-muted);
        font-weight: 400;
        font-size: .72rem;
    }

/* ---------- صفحات مدیریتی: عنوان، نوار ابزار، فرم ---------- */
.bz-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .8rem;
    margin-bottom: 1.1rem;
}

    .bz-head h1 {
        margin: 0;
        font-size: 1.2rem;
        font-weight: 800;
    }

    .bz-head small {
        display: block;
        color: var(--sc-muted);
        font-size: .8rem;
        font-weight: 400;
        margin-top: .2rem;
    }

.bz-toolbar {
    display: flex;
    gap: .6rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.bz-search {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    border: 1px solid var(--sc-border);
    border-radius: 12px;
    background: var(--sc-surface);
    height: 44px;
    transition: box-shadow .25s, border-color .25s;
}

    .bz-search:focus-within {
        border-color: var(--sc-primary);
        box-shadow: 0 0 0 4px rgba(var(--sc-primary-rgb), .12);
    }

    .bz-search input {
        flex: 1;
        border: 0;
        outline: 0;
        background: transparent;
        padding: 0 .9rem;
        height: 100%;
        color: var(--sc-text);
        font: inherit;
        font-size: .86rem;
    }

    .bz-search button {
        border: 0;
        background: none;
        padding: 0 .9rem;
        color: var(--sc-muted);
    }

.bz-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

@media (max-width: 800px) {
    .bz-form {
        grid-template-columns: 1fr;
    }
}

.bz-field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.bz-field--full {
    grid-column: 1 / -1;
}

.bz-field label {
    font-size: .82rem;
    color: var(--sc-muted);
}

.bz-field input, .bz-field select, .bz-field textarea {
    width: 100%;
    border: 1px solid var(--sc-border);
    border-radius: 11px;
    padding: .65rem .85rem;
    background: var(--sc-surface);
    color: var(--sc-text);
    font: inherit;
    font-size: .88rem;
    transition: border-color .2s, box-shadow .2s;
}

    .bz-field input:focus, .bz-field select:focus, .bz-field textarea:focus {
        outline: 0;
        border-color: var(--sc-primary);
        box-shadow: 0 0 0 4px rgba(var(--sc-primary-rgb), .12);
    }

.bz-field textarea {
    min-height: 110px;
    resize: vertical;
}

.bz-actions {
    display: flex;
    gap: .6rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.bz-errors {
    background: #fdecee;
    border: 1px solid #f7c4ca;
    color: #b4182e;
    padding: .7rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: .85rem;
}

.bz-inline {
    display: inline;
}

    .bz-inline button, .bz-mini {
        border: 1px solid var(--sc-border);
        background: var(--sc-surface);
        color: var(--sc-text);
        border-radius: 8px;
        padding: .25rem .65rem;
        font: inherit;
        font-size: .76rem;
        cursor: pointer;
        text-decoration: none;
        display: inline-block;
        transition: all .2s var(--sc-ease);
    }

        .bz-inline button:hover, .bz-mini:hover {
            border-color: var(--sc-primary);
            color: var(--sc-primary);
            transform: translateY(-2px);
        }

    .bz-inline .ok:hover {
        border-color: var(--sc-success);
        color: var(--sc-success);
    }

    .bz-inline .bad:hover {
        border-color: var(--sc-danger);
        color: var(--sc-danger);
    }

.bz-cell {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.bz-dot {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
}

.bz-thumb {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 10px;
    object-fit: cover;
    background: var(--sc-bg);
    border: 1px solid var(--sc-border);
}

.sc-pill--ok {
    background: #e8f8f0;
    border-color: #b8ebd3;
    color: #0c7a4f;
}

.sc-pill--bad {
    background: #fdecee;
    border-color: #f7c4ca;
    color: #b4182e;
}

/* ---------- صندوق چت ---------- */
.bz-inbox {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 1rem;
    height: calc(100vh - 230px);
    min-height: 520px;
}

@media (max-width: 900px) {
    .bz-inbox {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.bz-inbox__list, .bz-inbox__conv {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--sc-surface);
    border: 1px solid var(--sc-border);
    border-radius: var(--sc-radius);
    box-shadow: var(--sc-shadow);
    overflow: hidden;
}

.bz-tabs {
    display: flex;
    gap: .3rem;
    padding: .6rem;
    border-bottom: 1px solid var(--sc-border);
    flex-wrap: wrap;
}

    .bz-tabs button {
        border: 0;
        background: transparent;
        color: var(--sc-muted);
        padding: .4rem .8rem;
        border-radius: 999px;
        font: inherit;
        font-size: .78rem;
        cursor: pointer;
        transition: all .2s;
    }

        .bz-tabs button.is-active {
            background: var(--sc-primary-50);
            color: var(--sc-primary);
            font-weight: 700;
        }

.bz-threads {
    flex: 1;
    overflow: auto;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bz-thread {
    display: flex;
    gap: .7rem;
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--sc-border);
    cursor: pointer;
    transition: background .2s;
}

    .bz-thread:hover, .bz-thread.is-active {
        background: var(--sc-primary-50);
    }

    .bz-thread .av {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        display: grid;
        place-items: center;
        border-radius: 50%;
        font-weight: 700;
        color: #fff;
        background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-2));
    }

    .bz-thread.seller .av {
        background: linear-gradient(135deg, #f59e0b, #fcc760);
    }

    .bz-thread.shop .av {
        background: linear-gradient(135deg, #7c5cf0, #a995ff);
    }

    .bz-thread .body {
        flex: 1;
        min-width: 0;
    }

    .bz-thread b {
        display: flex;
        justify-content: space-between;
        gap: .5rem;
        font-size: .85rem;
    }

        .bz-thread b time {
            color: var(--sc-muted);
            font-weight: 400;
            font-size: .7rem;
        }

    .bz-thread p {
        margin: .15rem 0 0;
        font-size: .78rem;
        color: var(--sc-muted);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bz-thread small {
        font-size: .7rem;
        color: var(--sc-primary);
    }

    .bz-thread .un {
        align-self: center;
        min-width: 20px;
        height: 20px;
        border-radius: 10px;
        background: var(--sc-danger);
        color: #fff;
        font-size: .7rem;
        display: grid;
        place-items: center;
        padding: 0 5px;
    }

.bz-conv__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .8rem 1.1rem;
    border-bottom: 1px solid var(--sc-border);
}

    .bz-conv__head b {
        display: block;
    }

    .bz-conv__head small {
        color: var(--sc-muted);
        font-size: .75rem;
    }

.bz-conv__log {
    flex: 1;
    overflow: auto;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    background: var(--sc-bg);
}

.bz-msg {
    max-width: 75%;
    padding: .55rem .85rem;
    border-radius: 14px;
    font-size: .85rem;
    line-height: 1.8;
    animation: sc-fade-down .3s var(--sc-ease);
    word-break: break-word;
}

    .bz-msg time {
        display: block;
        font-size: .66rem;
        opacity: .65;
    }

    .bz-msg.me {
        align-self: flex-start;
        background: var(--sc-surface);
        border: 1px solid var(--sc-border);
        border-start-start-radius: 4px;
    }

    .bz-msg.agent {
        align-self: flex-end;
        background: var(--sc-primary);
        color: #fff;
        border-start-end-radius: 4px;
    }

.bz-conv__form {
    display: flex;
    gap: .6rem;
    padding: .8rem;
    border-top: 1px solid var(--sc-border);
}

    .bz-conv__form input {
        flex: 1;
        border: 1px solid var(--sc-border);
        border-radius: 12px;
        padding: 0 .9rem;
        height: 44px;
        background: var(--sc-surface);
        color: var(--sc-text);
        font: inherit;
    }

        .bz-conv__form input:focus {
            outline: 0;
            border-color: var(--sc-primary);
        }

.bz-conv__empty {
    flex: 1;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--sc-muted);
}

/* ---------- انیمیشن‌ها ---------- */
@keyframes bz-gradient {
    0%,100% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }
}

@keyframes bz-drift {
    0%,100% {
        transform: translate(0,0) scale(1)
    }

    50% {
        transform: translate(30px,22px) scale(1.12)
    }
}

@keyframes bz-wave {
    0%,60%,100% {
        transform: rotate(0)
    }

    10%,30% {
        transform: rotate(14deg)
    }

    20%,40% {
        transform: rotate(-8deg)
    }

    50% {
        transform: rotate(10deg)
    }
}

@keyframes bz-ring {
    from {
        stroke-dashoffset: 214
    }
}

/* ---------- داشبورد با ظاهر قالب (کارت‌های rounded-4) — همه‌ی رنگ‌ها از تم ---------- */
.bz-wrap {
    --bz-grad: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-2));
}

.bz-dash .card {
    border-color: var(--sc-border);
    transition: transform .35s var(--sc-ease), box-shadow .35s var(--sc-ease);
}

    .bz-dash .card:hover {
        box-shadow: 0 16px 34px rgba(var(--sc-primary-rgb), .12);
    }

.bz-dash .bz-hero {
    border-radius: 22px;
    background: linear-gradient(120deg, var(--sc-primary-600), var(--sc-primary) 55%, var(--sc-primary-2));
    background-size: 200% 200%;
}

.bz-stat {
    position: relative;
    overflow: hidden;
}

    .bz-stat:hover {
        transform: translateY(-5px);
    }

    .bz-stat .card-body {
        padding-bottom: 2.6rem !important;
    }

.bz-stat__ic {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.25rem;
    color: #fff;
    background: var(--bz-grad, linear-gradient(135deg, var(--sc-primary), var(--sc-primary-2)));
    box-shadow: 0 8px 18px rgba(var(--sc-primary-rgb), .3);
    transition: transform .4s var(--sc-ease);
}

.bz-stat:hover .bz-stat__ic {
    transform: rotate(-10deg) scale(1.1);
}

.bz-stat__ic--2 {
    background: linear-gradient(135deg, #12a36a, #4fd1a0);
    box-shadow: 0 8px 18px rgba(18,163,106,.3);
}

.bz-stat__ic--3 {
    background: linear-gradient(135deg, #f59e0b, #fcc760);
    box-shadow: 0 8px 18px rgba(245,158,11,.3);
}

.bz-stat__ic--4 {
    background: linear-gradient(135deg, #7c5cf0, #a995ff);
    box-shadow: 0 8px 18px rgba(124,92,240,.3);
}

.bz-stat .bz-spark {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 40px;
}

.bz-avatar {
    width: 46px;
    height: 46px;
    display: grid !important;
    place-items: center;
    color: var(--sc-primary);
    background: var(--sc-primary-50) !important;
    border-radius: 14px !important;
}

.bz-float {
    animation: sc-float 4s ease-in-out infinite;
    opacity: .6;
}

.bz-unread::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-inline-end: .4rem;
    border-radius: 50%;
    background: var(--sc-danger);
    animation: sc-pulse-dot 1.6s infinite;
}

.bz-grow {
    transform-origin: right;
    animation: sc-grow-x 1.2s var(--sc-ease) both;
}

.bz-profile__avatar {
    position: relative;
    width: 120px;
    height: 120px;
}

    .bz-profile__avatar::after {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        border: 2px dashed var(--sc-primary);
        opacity: .5;
        animation: sc-spin 14s linear infinite;
    }

    .bz-profile__avatar img, .bz-profile__ph {
        width: 96px;
        height: 96px;
        border-radius: 50%;
        object-fit: cover;
    }

.bz-profile__ph {
    display: grid;
    place-items: center;
    font-size: 2.6rem;
    color: var(--sc-primary);
    background: var(--sc-primary-50);
}

.bz-step__dot {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 11px;
    font-weight: 700;
    font-size: .85rem;
    border: 1px solid var(--sc-border);
    color: var(--sc-muted);
}

.bz-step.is-done .bz-step__dot {
    background: var(--sc-success);
    border-color: var(--sc-success);
    color: #fff;
    animation: sc-pop .5s var(--sc-ease) both;
}

.bz-step.is-current .bz-step__dot {
    border: 2px solid var(--sc-primary);
    color: var(--sc-primary);
    position: relative;
}

    .bz-step.is-current .bz-step__dot::after {
        content: "";
        position: absolute;
        inset: -7px;
        border-radius: 14px;
        border: 2px solid var(--sc-primary);
        animation: sc-pulse 1.8s ease-out infinite;
    }

.bz-quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
}

    .bz-quick a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: .4rem;
        padding: .9rem .4rem;
        border-radius: 14px;
        text-decoration: none;
        color: var(--sc-text);
        font-size: .76rem;
        background: var(--sc-primary-50);
        transition: transform .3s var(--sc-ease), background .2s, color .2s;
    }

        .bz-quick a i {
            font-size: 1.4rem;
            color: var(--sc-primary);
            transition: transform .35s var(--sc-ease);
        }

        .bz-quick a:hover {
            transform: translateY(-4px);
            background: var(--sc-primary);
            color: #fff;
        }

            .bz-quick a:hover i {
                color: #fff;
                transform: scale(1.2) rotate(-6deg);
            }

.bz-sidebar .bz-shopcard {
    padding: .9rem;
    border-radius: 16px;
    background: var(--sc-primary-50);
    border: 1px solid rgba(var(--sc-primary-rgb), .18);
}

.bz-shopcard__head {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.bz-shopcard__ic {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-2));
}

.bz-sidebar .nav-link i {
    font-size: 1.05rem;
    transition: transform .3s var(--sc-ease);
}

.bz-sidebar .nav-link:hover i {
    transform: scale(1.2) rotate(-6deg);
}

.min-w-0 {
    min-width: 0;
}

/* ---------- نوار «امروز»، وضعیت سرویس‌ها ---------- */
.bz-today {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: .85rem;
}

    .bz-today a {
        display: flex;
        align-items: center;
        gap: .85rem;
        padding: .9rem 1.1rem;
        border-radius: 18px;
        text-decoration: none;
        color: var(--sc-text);
        background: var(--sc-surface);
        border: 1px solid var(--sc-border);
        box-shadow: var(--sc-shadow);
        position: relative;
        overflow: hidden;
        transition: transform .35s var(--sc-ease), box-shadow .35s;
    }

        .bz-today a::before {
            content: "";
            position: absolute;
            inset-inline-end: -26px;
            top: -26px;
            width: 90px;
            height: 90px;
            border-radius: 50%;
            background: var(--sc-primary-50);
            transition: transform .5s var(--sc-ease);
        }

        .bz-today a:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 30px rgba(var(--sc-primary-rgb), .16);
        }

            .bz-today a:hover::before {
                transform: scale(1.7);
            }

    .bz-today i {
        position: relative;
        width: 46px;
        height: 46px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        font-size: 1.3rem;
        color: #fff;
        background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-2));
    }

    .bz-today b {
        display: block;
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .bz-today small {
        color: var(--sc-muted);
    }

.bz-svc {
    position: relative;
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .8rem 1rem;
    border-radius: 14px;
    border: 1px solid var(--sc-border);
}

    .bz-svc i {
        font-size: 1.4rem;
    }

    .bz-svc b {
        display: block;
        font-size: .88rem;
    }

    .bz-svc small {
        color: var(--sc-muted);
        font-size: .74rem;
    }

    .bz-svc > span {
        margin-inline-start: auto;
        width: 11px;
        height: 11px;
        border-radius: 50%;
    }

    .bz-svc.ok > span {
        background: var(--sc-success);
        animation: sc-pulse-dot 1.8s infinite;
    }

    .bz-svc.ok {
        background: rgba(18,163,106,.07);
    }

    .bz-svc.off > span {
        background: var(--sc-accent);
    }

    .bz-svc.off {
        background: var(--sc-accent-50);
    }

/* ---------- قفل داشبورد غرفه‌دار ---------- */
.bz-lock {
    position: relative;
    max-width: 720px;
    margin: 1.5rem auto;
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 28px;
    background: var(--sc-surface);
    border: 1px solid var(--sc-border);
    box-shadow: var(--sc-shadow);
    overflow: hidden;
}

.bz-lock::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto;
    height: 260px;
    background: radial-gradient(closest-side, rgba(var(--sc-primary-rgb), .22), transparent);
    animation: bz-drift 12s ease-in-out infinite;
}

.bz-lock__icon {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 1.2rem;
    display: grid;
    place-items: center;
    font-size: 2.6rem;
    color: #fff;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-2));
    box-shadow: 0 16px 34px rgba(var(--sc-primary-rgb), .35);
    animation: sc-float 4s ease-in-out infinite;
}

.bz-lock__icon span {
    position: absolute;
    inset: -10px;
    border-radius: 36px;
    border: 2px solid var(--sc-primary);
    animation: sc-pulse 2.2s ease-out infinite;
}

.bz-lock__icon span + span {
    animation-delay: 1.1s;
}

.bz-lock h2 {
    position: relative;
    font-size: 1.4rem;
    font-weight: 800;
}

.bz-lock p {
    position: relative;
    color: var(--sc-muted);
    max-width: 480px;
    margin: .4rem auto 1.4rem;
    line-height: 2;
}

.bz-lock__steps {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0 auto 1.6rem;
    max-width: 480px;
    text-align: start;
}

.bz-lock__steps li {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .8rem 1rem;
    margin-bottom: .6rem;
    border: 1px solid var(--sc-border);
    border-radius: 16px;
}

.bz-lock__steps li > span {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 11px;
    font-weight: 700;
    border: 1px solid var(--sc-border);
}

.bz-lock__steps li > div {
    flex: 1;
}

.bz-lock__steps small {
    display: block;
    color: var(--sc-muted);
    font-size: .76rem;
}

.bz-lock__steps li.is-done > span {
    background: var(--sc-success);
    border-color: var(--sc-success);
    color: #fff;
}

.bz-lock__steps li.is-current {
    border-color: var(--sc-primary);
    background: var(--sc-primary-50);
}

.bz-lock__acts {
    position: relative;
    display: flex;
    gap: .6rem;
    justify-content: center;
    flex-wrap: wrap;
}

.bz-nav-locked {
    opacity: .5;
    cursor: not-allowed;
}

.bz-nav-locked i {
    color: var(--sc-accent);
}

/* ---------- تُست اعلان لحظه‌ای ---------- */
.bz-toast {
    position: fixed;
    top: 84px;
    inset-inline-start: 18px;
    z-index: 5000;
    display: flex;
    gap: .7rem;
    align-items: center;
    max-width: 340px;
    padding: .8rem 1rem;
    border-radius: 16px;
    text-decoration: none;
    color: var(--sc-text);
    background: var(--sc-surface);
    border: 1px solid var(--sc-primary);
    box-shadow: 0 18px 40px rgba(var(--sc-primary-rgb), .25);
    transform: translateY(-14px) scale(.96);
    opacity: 0;
    transition: all .4s var(--sc-ease);
}

.bz-toast.show {
    transform: none;
    opacity: 1;
}

.bz-toast i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: var(--sc-primary);
    animation: bz-wave 1.4s ease-in-out 2;
}

.bz-toast small {
    display: block;
    color: var(--sc-muted);
    font-size: .74rem;
}

.unread-notif {
    border-inline-start: 3px solid var(--sc-primary) !important;
}

.bz-notif-new {
    animation: sc-fade-down .5s var(--sc-ease);
}

/* ---------- دکمه‌ی شناور چت پشتیبانی غرفه‌دار ---------- */
#bzChatFab {
    position: fixed;
    bottom: 22px;
    left: 22px;
    z-index: 1200;
}

.bzc-fab {
    position: relative;
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-2));
    box-shadow: 0 14px 30px rgba(var(--sc-primary-rgb), .45);
    transition: transform .3s var(--sc-ease);
}

.bzc-fab:hover {
    transform: scale(1.08) translateY(-3px);
}

.bzc-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
}

/* چشمک وقتی پیام خوانده‌نشده‌ای هست؛ بدون پیام، ساکن */
.bzc-fab.is-blink {
    animation: bzc-blink 1s ease-in-out infinite;
}

.bzc-fab.is-blink .bzc-ring {
    border: 3px solid var(--sc-danger);
    animation: sc-pulse 1.2s ease-out infinite;
}

.bzc-fab.is-blink i {
    animation: bz-wave 1.2s ease-in-out infinite;
}

.bzc-dot {
    position: absolute;
    top: 2px;
    inset-inline-end: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--sc-danger);
    border: 2px solid #fff;
}

@keyframes bzc-blink {
    0%, 100% {
        box-shadow: 0 14px 30px rgba(var(--sc-primary-rgb), .45), 0 0 0 0 rgba(239,57,78,.7);
        filter: none;
    }

    50% {
        box-shadow: 0 14px 30px rgba(var(--sc-primary-rgb), .45), 0 0 0 14px rgba(239,57,78,0);
        filter: brightness(1.18) saturate(1.2);
    }
}

.bzc-panel {
    position: absolute;
    bottom: 76px;
    left: 0;
    width: 350px;
    max-width: calc(100vw - 30px);
    display: flex;
    flex-direction: column;
    background: var(--sc-surface);
    color: var(--sc-text);
    border: 1px solid var(--sc-border);
    border-radius: 20px;
    box-shadow: 0 28px 64px rgba(16,24,40,.3);
    overflow: hidden;
    transform: translateY(14px) scale(.96);
    transform-origin: bottom left;
    opacity: 0;
    visibility: hidden;
    transition: all .35s var(--sc-ease);
}

.bzc-panel.open {
    transform: none;
    opacity: 1;
    visibility: visible;
}

.bzc-panel header {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .9rem 1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-2));
}

.bzc-panel header b {
    display: block;
    font-size: .92rem;
}

.bzc-panel header small {
    display: flex;
    align-items: center;
    gap: .35rem;
    opacity: .9;
    font-size: .72rem;
}

.bzc-av {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(255,255,255,.2);
    font-size: 1.2rem;
}

.bzc-on {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    animation: sc-pulse-dot 1.8s infinite;
}

.bzc-x {
    margin-inline-start: auto;
    border: 0;
    background: none;
    color: inherit;
    font-size: 1.1rem;
}

.bzc-log {
    height: 270px;
    overflow-y: auto;
    padding: .9rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    background: var(--sc-bg);
}

.bzc-msg {
    max-width: 85%;
    padding: .5rem .8rem;
    border-radius: 14px;
    font-size: .84rem;
    line-height: 1.8;
    animation: sc-fade-down .3s var(--sc-ease);
    word-break: break-word;
}

.bzc-msg small {
    display: block;
    font-size: .64rem;
    opacity: .6;
}

.bzc-msg.me {
    align-self: flex-end;
    background: var(--sc-primary);
    color: #fff;
    border-end-end-radius: 4px;
}

.bzc-msg.agent {
    align-self: flex-start;
    background: var(--sc-surface);
    border: 1px solid var(--sc-border);
    border-end-start-radius: 4px;
}

.bzc-chips {
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
    padding: .55rem .7rem;
    border-top: 1px solid var(--sc-border);
}

.bzc-chips button {
    border: 1px solid var(--sc-border);
    background: var(--sc-surface);
    color: var(--sc-primary);
    border-radius: 999px;
    padding: .2rem .65rem;
    font: inherit;
    font-size: .72rem;
    cursor: pointer;
    transition: all .2s var(--sc-ease);
}

.bzc-chips button:hover {
    background: var(--sc-primary-50);
    transform: translateY(-2px);
}

.bzc-panel form {
    display: flex;
    gap: .5rem;
    padding: .7rem;
    border-top: 1px solid var(--sc-border);
}

.bzc-panel form input {
    flex: 1;
    border: 1px solid var(--sc-border);
    border-radius: 12px;
    padding: 0 .8rem;
    height: 42px;
    background: var(--sc-surface);
    color: var(--sc-text);
    font: inherit;
}

.bzc-panel form input:focus {
    outline: 0;
    border-color: var(--sc-primary);
}

.bzc-panel form button {
    width: 44px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--sc-primary);
}

/* ---------- خلاصه‌ی مالی CRM ---------- */
.bz-crmfin {
    margin-bottom: 1.25rem;
    padding: 1.2rem 1.4rem;
    border-radius: 20px;
    background: var(--sc-surface);
    border: 1px solid var(--sc-border);
    box-shadow: var(--sc-shadow);
}

.bz-crmfin__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bz-crmfin__head i {
    color: var(--sc-primary);
}

.bz-crmfin__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: .8rem;
}

.bz-crmfin__grid > div {
    position: relative;
    padding: .9rem 1rem .9rem 3.2rem;
    border-radius: 16px;
    border: 1px solid var(--sc-border);
    background: linear-gradient(135deg, var(--sc-primary-50), transparent);
    transition: transform .3s var(--sc-ease);
}

.bz-crmfin__grid > div:hover {
    transform: translateY(-3px);
}

.bz-crmfin__grid i {
    position: absolute;
    inset-inline-end: .9rem;
    top: .9rem;
    font-size: 1.3rem;
    color: var(--sc-primary);
}

.bz-crmfin__grid small {
    display: block;
    color: var(--sc-muted);
    font-size: .76rem;
}

.bz-crmfin__grid b {
    font-size: 1.15rem;
}

.bz-crmfin__bars {
    display: flex;
    align-items: flex-end;
    gap: .8rem;
    height: 120px;
    margin-top: 1rem;
    padding-top: .6rem;
    border-top: 1px dashed var(--sc-border);
}

.bz-crmfin__bars > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    font-size: .68rem;
}

.bz-crmfin__bars i {
    width: 100%;
    max-width: 46px;
    height: var(--h);
    min-height: 4px;
    border-radius: 8px 8px 3px 3px;
    background: linear-gradient(180deg, var(--sc-primary-2), var(--sc-primary));
    transform-origin: bottom;
    animation: bz-barup 1s var(--sc-ease) both;
}

.bz-crmfin__bars b {
    display: none;
}

.bz-crmfin__top {
    margin-top: .9rem;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    align-items: center;
    font-size: .8rem;
}

@keyframes bz-barup {
    from {
        transform: scaleY(0)
    }
}

/* ---------- دستیار هوشمند ---------- */
.bz-ai {
    display: flex;
    flex-direction: column;
    height: 640px;
    max-height: calc(100vh - 220px);
    min-height: 460px;
    background: var(--sc-surface);
    border: 1px solid var(--sc-border);
    border-radius: 22px;
    box-shadow: var(--sc-shadow);
    overflow: hidden;
}

.bz-ai__log {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    background:
        radial-gradient(circle at 12% 8%, rgba(var(--sc-primary-rgb), .08), transparent 40%),
        var(--sc-bg);
}

.bz-ai__msg {
    max-width: 82%;
    padding: .7rem 1rem;
    border-radius: 18px;
    line-height: 2;
    font-size: .88rem;
    animation: sc-fade-down .35s var(--sc-ease);
    word-break: break-word;
}

.bz-ai__msg.me {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--sc-primary), var(--sc-primary-2));
    color: #fff;
    border-end-end-radius: 5px;
}

.bz-ai__msg.bot {
    align-self: flex-start;
    background: var(--sc-surface);
    border: 1px solid var(--sc-border);
    border-end-start-radius: 5px;
}

.bz-ai__msg.typing span {
    display: flex;
    gap: 5px;
    padding: .35rem 0;
}

.bz-ai__msg.typing i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sc-primary);
    animation: sc-float .9s infinite;
}

.bz-ai__msg.typing i:nth-child(2) {
    animation-delay: .15s;
}

.bz-ai__msg.typing i:nth-child(3) {
    animation-delay: .3s;
}

.bz-ai__acts {
    list-style: none;
    margin: .6rem 0 0;
    padding: .6rem 0 0;
    border-top: 1px dashed var(--sc-border);
    font-size: .76rem;
    color: var(--sc-muted);
}

.bz-ai__acts li.chg {
    color: var(--sc-success);
    font-weight: 600;
}

.bz-ai__examples {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    padding: .6rem 1rem;
    border-top: 1px solid var(--sc-border);
}

.bz-ai__examples button {
    border: 1px solid var(--sc-border);
    background: var(--sc-surface);
    color: var(--sc-primary);
    border-radius: 999px;
    padding: .25rem .8rem;
    font: inherit;
    font-size: .76rem;
    cursor: pointer;
    transition: all .2s var(--sc-ease);
}

.bz-ai__examples button:hover {
    background: var(--sc-primary-50);
    transform: translateY(-2px);
}

.bz-ai__form {
    display: flex;
    gap: .6rem;
    align-items: flex-end;
    padding: .8rem;
    border-top: 1px solid var(--sc-border);
}

.bz-ai__form textarea {
    flex: 1;
    resize: none;
    border: 1px solid var(--sc-border);
    border-radius: 16px;
    padding: .7rem 1rem;
    background: var(--sc-surface);
    color: var(--sc-text);
    font: inherit;
    font-size: .88rem;
    max-height: 140px;
}

.bz-ai__form textarea:focus {
    outline: 0;
    border-color: var(--sc-primary);
    box-shadow: 0 0 0 4px rgba(var(--sc-primary-rgb), .12);
}

.bz-ai__caps li {
    display: flex;
    gap: .6rem;
    padding: .45rem 0;
    align-items: center;
}

.bz-ai__caps i {
    color: var(--sc-primary);
    font-size: 1.05rem;
}
