.aspro-legal-bar {
    font-size: 11px;
    line-height: 1.45;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}

.aspro-legal-bar--kac {
    color: rgb(253 230 138 / 0.95);
    background: rgb(245 158 11 / 0.08);
    border: 1px solid rgb(245 158 11 / 0.35);
}

.aspro-legal-bar--pdf {
    color: rgb(254 215 170 / 0.95);
    background: rgb(249 115 22 / 0.08);
    border: 1px solid rgb(249 115 22 / 0.35);
}

.aspro-legal-bar--ai {
    color: rgb(191 219 254 / 0.95);
    background: rgb(59 130 246 / 0.08);
    border: 1px solid rgb(59 130 246 / 0.35);
}

.aspro-legal-bar--schema12 {
    color: rgb(216 180 254 / 0.95);
    background: rgb(139 92 246 / 0.08);
    border: 1px solid rgb(139 92 246 / 0.35);
}

.aspro-legal-bar--schema12-strong {
    color: rgb(254 243 199 / 0.98);
    background: rgb(245 158 11 / 0.14);
    border: 2px solid rgb(245 158 11 / 0.65);
    font-weight: 500;
}

/* Модалка: дисклеймер КАЦ / Маржа (pay-per-use) */
.paid-tool-disclaimer {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.paid-tool-disclaimer[hidden] {
    display: none !important;
}

.paid-tool-disclaimer__backdrop {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 0.55);
}

.paid-tool-disclaimer__card {
    position: relative;
    max-width: 32rem;
    width: 100%;
    padding: 1.25rem 1.35rem;
    border-radius: 0.75rem;
    background: rgb(15 23 42 / 0.98);
    border: 1px solid rgb(148 163 184 / 0.35);
    color: rgb(226 232 240 / 0.95);
    box-shadow: 0 20px 50px rgb(0 0 0 / 0.45);
}

.paid-tool-disclaimer__title {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgb(248 250 252);
}

.paid-tool-disclaimer__text {
    margin: 0 0 0.65rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgb(203 213 225 / 0.95);
}

.paid-tool-disclaimer__offer {
    margin: 0 0 0.85rem;
    font-size: 0.8rem;
}

.paid-tool-disclaimer__offer a {
    color: rgb(125 211 252);
}

.paid-tool-disclaimer__check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.paid-tool-disclaimer__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.paid-tool-disclaimer__btn {
    border-radius: 0.5rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.875rem;
    cursor: pointer;
    border: 1px solid transparent;
}

.paid-tool-disclaimer__btn--ghost {
    background: transparent;
    border-color: rgb(100 116 139 / 0.5);
    color: rgb(203 213 225);
}

.paid-tool-disclaimer__btn--primary {
    background: rgb(14 165 233);
    color: rgb(15 23 42);
    font-weight: 600;
}

.workspace-tools-onboarding {
    position: fixed;
    inset: 0;
    z-index: 11900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.workspace-tools-onboarding[hidden] {
    display: none !important;
}

.workspace-tools-onboarding__backdrop {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 0.55);
}

.workspace-tools-onboarding__card {
    position: relative;
    width: min(42rem, 100%);
    max-height: min(85vh, 720px);
    overflow: auto;
    padding: 1.25rem 1.35rem;
    border-radius: 0.75rem;
    background: rgb(15 23 42 / 0.98);
    border: 1px solid rgb(148 163 184 / 0.35);
    color: rgb(226 232 240);
}

.workspace-tools-onboarding__title { margin: 0 0 0.5rem; font-size: 1.1rem; }
.workspace-tools-onboarding__lead { margin: 0 0 1rem; font-size: 0.85rem; line-height: 1.45; color: rgb(203 213 225); }
.workspace-tools-onboarding__row {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 0.65rem;
    align-items: start;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgb(51 65 85 / 0.6);
}
.workspace-tools-onboarding__show { font-size: 0.75rem; white-space: nowrap; }
.workspace-tools-onboarding__star {
    border: none; background: transparent; color: rgb(100 116 139);
    font-size: 1.15rem; cursor: pointer; padding: 0;
}
.workspace-tools-onboarding__star.is-on { color: rgb(250 204 21); }
.workspace-tools-onboarding__meta strong { display: block; font-size: 0.9rem; }
.workspace-tools-onboarding__cost { display: inline-block; margin-top: 0.15rem; font-size: 0.75rem; color: rgb(125 211 252); }
.workspace-tools-onboarding__desc { display: block; margin-top: 0.2rem; font-size: 0.75rem; color: rgb(148 163 184); }
.workspace-tools-onboarding__actions { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1rem; }
.workspace-tools-onboarding__btn {
    border-radius: 0.5rem; padding: 0.45rem 0.85rem; font-size: 0.875rem; cursor: pointer; border: 1px solid transparent;
}
.workspace-tools-onboarding__btn--ghost {
    background: transparent; border-color: rgb(100 116 139 / 0.5); color: rgb(203 213 225);
}
.workspace-tools-onboarding__btn--primary {
    background: rgb(14 165 233); color: rgb(15 23 42); font-weight: 600;
}

.aspro-legal-bar a {
    color: rgb(103 232 249);
    text-decoration: underline;
}

.aspro-legal-bar a:hover {
    color: rgb(165 243 252);
}

.aspro-legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 10px;
    padding: 0.15rem 0.45rem;
    border-radius: 9999px;
    color: rgb(254 215 170);
    background: rgb(249 115 22 / 0.15);
    border: 1px solid rgb(249 115 22 / 0.4);
}
