.isa-drawer-message-assistant:has(.isa-my-work-response),
.isa-drawer-message-rich {
    width: 100%;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
}

.isa-my-work-response {
    width: 100%;
    overflow: hidden;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
    color: #1f2937;
}

.isa-my-work-response__header {
    padding: 14px;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdfa 100%);
    border-bottom: 1px solid #dbeafe;
}

.isa-my-work-response__eyebrow {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
    color: #0369a1;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.isa-my-work-response__title {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.isa-my-work-response__intro {
    margin: 6px 0 0;
    color: #475569;
    font-size: 0.78rem;
    line-height: 1.45;
}

.isa-my-work-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 11px;
}

.isa-my-work-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.88);
}

.isa-my-work-stat__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 0.76rem;
}

.isa-my-work-stat__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.isa-my-work-stat__copy strong {
    color: #0f172a;
    font-size: 1rem;
    line-height: 1;
}

.isa-my-work-stat__copy small {
    margin-top: 3px;
    overflow: hidden;
    color: #64748b;
    font-size: 0.65rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.isa-my-work-stat--danger .isa-my-work-stat__icon {
    background: #fee2e2;
    color: #dc2626;
}

.isa-my-work-stat--info .isa-my-work-stat__icon {
    background: #dbeafe;
    color: #2563eb;
}

.isa-my-work-stat--priority .isa-my-work-stat__icon {
    background: #ffedd5;
    color: #ea580c;
}

.isa-my-work-stat--warning .isa-my-work-stat__icon {
    background: #fef3c7;
    color: #b45309;
}

.isa-my-work-stat--success .isa-my-work-stat__icon {
    background: #dcfce7;
    color: #16a34a;
}

.isa-my-work-stat--focus .isa-my-work-stat__icon {
    background: #fef3c7;
    color: #ca8a04;
}

.isa-my-work-stat--neutral .isa-my-work-stat__icon {
    background: #e2e8f0;
    color: #475569;
}

.isa-my-work-response__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
}

.isa-my-work-section {
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #f8fafc;
}

.isa-my-work-section__header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-bottom: 1px solid #e2e8f0;
}

.isa-my-work-section__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 0.72rem;
}

.isa-my-work-section__heading {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.isa-my-work-section__heading strong {
    color: #0f172a;
    font-size: 0.79rem;
    line-height: 1.25;
}

.isa-my-work-section__heading small {
    margin-top: 2px;
    color: #64748b;
    font-size: 0.66rem;
    line-height: 1.3;
}

.isa-my-work-section__items {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 8px;
}

.isa-my-work-section--danger .isa-my-work-section__header {
    background: #fff1f2;
}

.isa-my-work-section--danger .isa-my-work-section__icon {
    background: #fee2e2;
    color: #dc2626;
}

.isa-my-work-section--info .isa-my-work-section__header {
    background: #eff6ff;
}

.isa-my-work-section--info .isa-my-work-section__icon {
    background: #dbeafe;
    color: #2563eb;
}

.isa-my-work-section--priority .isa-my-work-section__header {
    background: #fff7ed;
}

.isa-my-work-section--priority .isa-my-work-section__icon {
    background: #ffedd5;
    color: #ea580c;
}

.isa-my-work-section--warning .isa-my-work-section__header {
    background: #fffbeb;
}

.isa-my-work-section--warning .isa-my-work-section__icon {
    background: #fef3c7;
    color: #b45309;
}

.isa-my-work-section--focus .isa-my-work-section__header {
    background: #fffbea;
}

.isa-my-work-section--focus .isa-my-work-section__icon {
    background: #fef3c7;
    color: #ca8a04;
}

.isa-my-work-item {
    padding: 9px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 2px 7px rgba(15, 23, 42, 0.03);
}

.isa-my-work-item__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.isa-my-work-item__meta {
    color: #0f766e;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.isa-my-work-item__open {
    flex: 0 0 auto;
    color: #2563eb;
    font-size: 0.7rem;
}

.isa-my-work-item__title {
    margin: 4px 0 0;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.35;
}

.isa-my-work-item__title-link {
    color: inherit;
    text-decoration: none;
}

.isa-my-work-item__title-link:hover,
.isa-my-work-item__title-link:focus {
    color: #1d4ed8;
    text-decoration: underline;
}

.isa-my-work-item__parent {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 0.68rem;
    line-height: 1.35;
}

.isa-my-work-item__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
}

.isa-my-work-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 3px 7px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.62rem;
    line-height: 1.25;
}

.isa-my-work-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.isa-my-work-chip--channel {
    border-color: #a5f3fc;
    background: #ecfeff;
    color: #0e7490;
}

.isa-my-work-chip--stage {
    border-color: #c7d2fe;
    background: #eef2ff;
    color: #4338ca;
}

.isa-my-work-chip--priority {
    border-color: #fdba74;
    background: #fff7ed;
    color: #c2410c;
}

.isa-my-work-chip--danger {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.isa-my-work-chip--danger-soft {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #9a3412;
}

.isa-my-work-chip--warning {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.isa-my-work-chip--info {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.isa-my-work-chip--neutral {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #475569;
}

.isa-my-work-chip--star-red {
    border-color: #fecaca;
    background: #fee2e2;
    color: #b91c1c;
}

.isa-my-work-chip--star-yellow {
    border-color: #fde68a;
    background: #fef3c7;
    color: #a16207;
}

.isa-my-work-chip--star-green {
    border-color: #bbf7d0;
    background: #dcfce7;
    color: #15803d;
}

.isa-my-work-response__footer {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    padding: 10px 12px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    font-size: 0.66rem;
    line-height: 1.4;
}

.isa-my-work-response__footer i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #0ea5e9;
}

.isa-my-work-response--empty {
    padding: 20px 16px;
    text-align: center;
}

.isa-my-work-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 9px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 1.2rem;
}

.isa-my-work-response--empty h3 {
    margin: 0;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 800;
}

.isa-my-work-response--empty p {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.45;
}

@media (max-width: 420px) {
    .isa-my-work-stats {
        grid-template-columns: 1fr;
    }
}
