.alpha-insight-page {
    display: grid;
    gap: 1rem;
}

.alpha-insight-page .tools-workspace-header {
    padding: 1.1rem 1.2rem;
    border-radius: 24px;
}

.alpha-insight-page .tools-workspace-header--compact {
    padding: 0.9rem 1.1rem;
}

.alpha-insight-page .tools-workspace-header__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.alpha-insight-page .tools-workspace-header__eyebrow {
    margin: 0 0 0.45rem;
    color: var(--color-brand-soft);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.alpha-insight-page .tools-workspace-header--compact .tools-workspace-header__eyebrow {
    margin: 0;
}

.alpha-insight-page .tools-workspace-header__title {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(1.7rem, 2.5vw, 2.3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.alpha-insight-page .tools-workspace-header__text {
    margin: 0.65rem 0 0;
    color: var(--color-text-soft);
    line-height: 1.65;
    max-width: 640px;
}

.alpha-insight-page .tools-workspace-header--compact .tools-workspace-header__text,
.alpha-insight-page .tools-workspace-header--compact .tools-workspace-header__title {
    display: none;
}

.alpha-insight-page .tools-workspace-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alpha-insight-page .tools-tabs {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    padding: 0.22rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.018);
}

.alpha-insight-page .tools-tabs__button {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--color-text-soft);
    padding: 0.58rem 0.9rem;
    border-radius: 999px;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 560;
    cursor: pointer;
    transition: 160ms ease;
    white-space: nowrap;
}

.alpha-insight-page .tools-tabs__button:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.035);
}

.alpha-insight-page .tools-tabs__button--active {
    color: #f3f5ff;
    background: rgba(74, 79, 97, 0.92);
}

.alpha-insight-page .tools-pane {
    display: grid;
    gap: 1rem;
}

.alpha-insight-page[data-active-tab="generate"] .tools-pane {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    align-items: start;
}

.alpha-insight-page[data-active-tab="library"] .tools-pane {
    grid-template-columns: 1fr;
}

.alpha-insight-page .tools-form-card,
.alpha-insight-page .tools-output-card {
    padding: 1.15rem;
    border-radius: 24px;
}

.alpha-insight-page .tools-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.alpha-insight-page .tools-field {
    display: grid;
    gap: 0.45rem;
}

.alpha-insight-page .tools-field--full {
    grid-column: 1 / -1;
}

.alpha-insight-page .tools-field__label {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.alpha-insight-page .tools-input,
.alpha-insight-page .tools-select,
.alpha-insight-page .tools-textarea {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 0.95rem 1rem;
    color: var(--color-text);
    font: inherit;
    font-size: 0.93rem;
    outline: none;
    box-shadow: none;
}

.alpha-insight-page .tools-input::placeholder,
.alpha-insight-page .tools-textarea::placeholder {
    color: var(--color-text-muted);
}

.alpha-insight-page .tools-input:focus,
.alpha-insight-page .tools-select:focus,
.alpha-insight-page .tools-textarea:focus {
    border-color: rgba(155, 135, 217, 0.35);
    box-shadow: 0 0 0 3px rgba(155, 135, 217, 0.08);
}

.alpha-insight-page .tools-textarea {
    resize: vertical;
    min-height: 220px;
}

.alpha-insight-page .tools-textarea--notes {
    min-height: 120px;
}

.alpha-insight-page .tools-textarea--detail {
    min-height: 160px;
}

.alpha-insight-page .tools-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.alpha-insight-page .tools-form-actions--detail {
    margin-top: 0.75rem;
}

.alpha-insight-page .tools-status {
    margin: 0.9rem 0 0;
    font-size: 0.88rem;
}

.alpha-insight-page .tools-status--success {
    color: var(--color-positive);
}

.alpha-insight-page .tools-status--error {
    color: var(--color-negative);
}

.alpha-insight-page .tools-output-card {
    min-height: 100%;
}

.alpha-insight-page .tools-empty {
    min-height: 420px;
    display: grid;
    place-items: center;
    color: var(--color-text-muted);
    text-align: center;
}

.alpha-insight-page .tools-insight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.alpha-insight-page .tools-insight-stat {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.02);
}

.alpha-insight-page .tools-insight-stat__label {
    margin: 0 0 0.35rem;
    color: var(--color-text-muted);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.alpha-insight-page .tools-insight-stat__value {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.alpha-insight-page .tools-detail-sections {
    display: grid;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.alpha-insight-page .tools-detail-block {
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.018);
}

.alpha-insight-page .tools-detail-block__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

.alpha-insight-page .tools-detail-block__label {
    margin: 0 0 0.45rem;
    color: var(--color-text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.alpha-insight-page .tools-detail-block__text {
    margin: 0;
    color: var(--color-text);
    line-height: 1.65;
    white-space: pre-wrap;
}

.alpha-insight-page .tools-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.alpha-insight-page .tools-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.52rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
}

.alpha-insight-page .tools-chip__ticker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.alpha-insight-page .tools-chip__meta {
    color: var(--color-text-muted);
    font-size: 0.74rem;
}

.alpha-insight-page .tools-library-shell {
    display: grid;
    gap: 0.85rem;
}

.alpha-insight-page .tools-library-toolbar {
    padding: 1rem;
    border-radius: 22px;
}

.alpha-insight-page .tools-library-toolbar__grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.2fr) 220px 220px;
    gap: 0.9rem;
    align-items: end;
}

.alpha-insight-page .tools-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1rem;
}

.alpha-insight-page .tools-library-list {
    display: grid;
    gap: 0.8rem;
}

.alpha-insight-page .tools-library-card {
    padding: 1rem;
    border-radius: 22px;
}

.alpha-insight-page .tools-library-card--interactive {
    cursor: pointer;
    transition: 160ms ease;
}

.alpha-insight-page .tools-library-card--interactive:hover {
    transform: translateY(-1px);
    border-color: rgba(155, 135, 217, 0.24);
}

.alpha-insight-page .tools-library-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.alpha-insight-page .tools-library-card__category {
    margin: 0 0 0.3rem;
    color: var(--color-brand-soft);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.alpha-insight-page .tools-library-card__title {
    margin: 0;
    font-size: 1.06rem;
    letter-spacing: -0.02em;
}

.alpha-insight-page .tools-library-card__angle {
    margin: 0 0 0.85rem;
    color: var(--color-text-soft);
    line-height: 1.65;
}

.alpha-insight-page .tools-library-card__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.alpha-insight-page .tools-library-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text-soft);
    font-size: 0.74rem;
    white-space: nowrap;
}

.alpha-insight-page .tools-delete-button {
    appearance: none;
    border: 1px solid rgba(190, 86, 86, 0.2);
    background: rgba(86, 39, 39, 0.14);
    color: #f2b9b9;
    border-radius: 999px;
    padding: 0.45rem 0.72rem;
    font: inherit;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    transition: 160ms ease;
    white-space: nowrap;
}

.alpha-insight-page .tools-delete-button:hover {
    background: rgba(86, 39, 39, 0.22);
}

.alpha-insight-page .tools-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 11, 0.7);
    backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    padding: 2rem;
    z-index: 200;
}

.alpha-insight-page .tools-modal {
    width: min(900px, 100%);
    max-height: 85vh;
    overflow: auto;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(14, 16, 22, 0.96);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    padding: 1.25rem;
}

.alpha-insight-page .tools-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.alpha-insight-page .tools-modal__title {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.alpha-insight-page .tools-modal__subtitle {
    margin: 0.5rem 0 0;
    color: var(--color-text-soft);
}

.alpha-insight-page .tools-modal__actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
}

.alpha-insight-page .tools-form-grid {
    align-items: start;
}

.alpha-insight-page .tools-loading {
    display: grid;
    gap: 0.55rem;
    margin: 0 0 1rem;
}

.alpha-insight-page .tools-loading__bar {
    position: relative;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.alpha-insight-page .tools-loading__bar::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 38%;
    border-radius: 999px;
    background: linear-gradient(90deg,
            rgba(155, 135, 217, 0.2) 0%,
            rgba(155, 135, 217, 0.95) 50%,
            rgba(155, 135, 217, 0.2) 100%);
    animation: tools-loading-slide 1.1s ease-in-out infinite;
}

.alpha-insight-page .tools-loading__text {
    margin: 0;
    color: var(--color-text-soft);
    font-size: 0.82rem;
}

.alpha-insight-page .tools-bullet-list {
    display: grid;
    gap: 0.55rem;
}

.alpha-insight-page .tools-bullet-list__item {
    margin: 0;
    color: var(--color-text);
    line-height: 1.6;
}

.alpha-insight-page .tools-textarea--detail {
    min-height: 140px;
}

.brilliant-ratio-page .brilliant-ratio-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
    gap: 1rem;
    align-items: start;
}

.brilliant-ratio-page .brilliant-ratio-form-card,
.brilliant-ratio-page .brilliant-ratio-output-card {
    padding: 1.1rem;
    border-radius: 24px;
}

.brilliant-ratio-page .brilliant-ratio-form-layout {
    display: grid;
    gap: 0.9rem;
}

.brilliant-ratio-page .brilliant-ratio-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.brilliant-ratio-page .brilliant-ratio-form-actions {
    margin-top: 1rem;
}

.brilliant-ratio-page .brilliant-ratio-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.brilliant-ratio-page .brilliant-ratio-stat--hero {
    grid-column: 1 / -1;
}

.brilliant-ratio-page .brilliant-ratio-stat__hero-value {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--color-text);
    font-weight: 700;
}

.brilliant-ratio-page .brilliant-ratio-detail-sections {
    gap: 0.75rem;
}

.brilliant-ratio-page .brilliant-ratio-metric-list {
    display: grid;
    gap: 0.55rem;
}

.brilliant-ratio-page .brilliant-ratio-metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--color-text-soft);
}

.brilliant-ratio-page .brilliant-ratio-metric-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.brilliant-ratio-page .brilliant-ratio-library-shell {
    display: grid;
    gap: 1rem;
}

.brilliant-ratio-page .tools-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
}

.brilliant-ratio-page .brilliant-ratio-library-shell {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.brilliant-ratio-page .tools-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 480px));
    gap: 1rem;
    justify-content: start;
    align-content: start;
}

.brilliant-ratio-page .tools-library-card {
    width: 100%;
    max-width: 480px;
    padding: 1rem;
    border-radius: 22px;
}

.brilliant-ratio-page .tools-library-card__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.brilliant-ratio-page .tools-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.buy-sell-page .buy-sell-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: 1rem;
    align-items: start;
}

.buy-sell-page .buy-sell-form-card,
.buy-sell-page .buy-sell-summary-card {
    padding: 1.1rem;
    border-radius: 24px;
}

.buy-sell-page .buy-sell-form-layout {
    display: grid;
    gap: 1rem;
}

.buy-sell-page .buy-sell-form-row {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(220px, 260px);
    gap: 1rem;
    align-items: end;
}

.buy-sell-page .buy-sell-side-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.24rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: fit-content;
}

.buy-sell-page .buy-sell-side-button {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--color-text-soft);
    padding: 0.62rem 1rem;
    border-radius: 999px;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: 160ms ease;
    min-width: 92px;
}

.buy-sell-page .buy-sell-side-button:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.04);
}

.buy-sell-page .buy-sell-side-button--active.buy-sell-side-button--buy {
    background: rgba(52, 168, 83, 0.18);
    color: #9be7b0;
    box-shadow: inset 0 0 0 1px rgba(52, 168, 83, 0.22);
}

.buy-sell-page .buy-sell-side-button--active.buy-sell-side-button--sell {
    background: rgba(234, 67, 53, 0.18);
    color: #ffaaa2;
    box-shadow: inset 0 0 0 1px rgba(234, 67, 53, 0.22);
}

.buy-sell-page .buy-sell-quantity-stepper {
    display: grid;
    grid-template-columns: 44px minmax(90px, 120px) 44px;
    gap: 0.5rem;
    align-items: center;
}

.buy-sell-page .buy-sell-stepper-button {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text);
    border-radius: 14px;
    height: 46px;
    font: inherit;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: 160ms ease;
}

.buy-sell-page .buy-sell-stepper-button:hover {
    background: rgba(255, 255, 255, 0.05);
}

.buy-sell-page .buy-sell-quantity-input {
    text-align: center;
    padding-inline: 0.75rem;
}

.buy-sell-page .buy-sell-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.buy-sell-page .buy-sell-metric-card {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.buy-sell-page .buy-sell-metric-card__label {
    margin: 0 0 0.35rem;
    color: var(--color-text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.buy-sell-page .buy-sell-metric-card__value {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.3;
    color: var(--color-text);
    font-weight: 600;
}

.buy-sell-page .buy-sell-metric-card--positive .buy-sell-metric-card__value {
    color: var(--color-positive);
}

.buy-sell-page .buy-sell-metric-card--warning .buy-sell-metric-card__value {
    color: #f3d27a;
}

.buy-sell-page .buy-sell-asset-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.018);
}

.buy-sell-page .buy-sell-asset-mini__name {
    margin: 0;
    color: var(--color-text);
    font-weight: 600;
}

.buy-sell-page .buy-sell-asset-mini__symbol {
    margin: 0.3rem 0 0;
    color: var(--color-text-muted);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.buy-sell-page .buy-sell-form-actions {
    margin-top: 0.2rem;
}

.buy-sell-page .buy-sell-submit-button--buy:not(:disabled) {
    background: linear-gradient(180deg, rgba(52, 168, 83, 0.95) 0%, rgba(41, 138, 68, 0.95) 100%);
    border-color: rgba(52, 168, 83, 0.3);
}

.buy-sell-page .buy-sell-submit-button--sell:not(:disabled) {
    background: linear-gradient(180deg, rgba(234, 67, 53, 0.95) 0%, rgba(201, 52, 40, 0.95) 100%);
    border-color: rgba(234, 67, 53, 0.3);
}

.buy-sell-page .buy-sell-summary-list {
    display: grid;
    gap: 0.8rem;
}

.buy-sell-page .buy-sell-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-soft);
}

.buy-sell-page .buy-sell-summary-row strong {
    color: var(--color-text);
    font-weight: 600;
    text-align: right;
}

.buy-sell-page .buy-sell-summary-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.buy-sell-page .buy-sell-summary-card .tools-detail-sections {
    margin-top: 1rem;
}

.buy-sell-page .buy-sell-summary-card .tools-detail-block {
    margin-top: 0.25rem;
}

.buy-sell-page .buy-sell-summary-row {
    align-items: flex-start;
}

.buy-sell-page .buy-sell-summary-row strong {
    max-width: 52%;
    text-align: right;
    line-height: 1.4;
}

.buy-sell-page .buy-sell-summary-card .tools-detail-block__text {
    line-height: 1.75;
}

.admin-assets-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
}

.admin-asset-card {
    min-width: 0;
    height: 100%;
}

.admin-asset-card .buy-sell-form-layout {
    display: grid;
    gap: 0.75rem;
}

.admin-history-list {
    display: grid;
    gap: 0.35rem;
    max-height: 180px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.admin-history-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.84rem;
}

@media (max-width: 1280px) {
    .admin-assets-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .admin-assets-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1180px) {
    .buy-sell-page .buy-sell-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {

    .buy-sell-page .buy-sell-form-row,
    .buy-sell-page .buy-sell-metrics-grid {
        grid-template-columns: 1fr;
    }

    .buy-sell-page .buy-sell-quantity-stepper {
        grid-template-columns: 44px 1fr 44px;
    }
}

@media (max-width: 700px) {
    .brilliant-ratio-page .tools-library-grid {
        grid-template-columns: 1fr;
    }

    .brilliant-ratio-page .tools-library-card {
        max-width: none;
    }
}

@media (max-width: 1180px) {
    .brilliant-ratio-page .brilliant-ratio-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .brilliant-ratio-page .brilliant-ratio-metrics-grid,
    .brilliant-ratio-page .brilliant-ratio-stat-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes tools-loading-slide {
    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(320%);
    }
}

@media (max-width: 1180px) {
    .alpha-insight-page[data-active-tab="generate"] .tools-pane {
        grid-template-columns: 1fr;
    }

    .alpha-insight-page .tools-empty {
        min-height: 260px;
    }
}

@media (max-width: 900px) {

    .alpha-insight-page .tools-form-grid,
    .alpha-insight-page .tools-library-toolbar__grid {
        grid-template-columns: 1fr;
    }

    .alpha-insight-page .tools-field--full {
        grid-column: auto;
    }
}

@media (max-width: 700px) {
    .alpha-insight-page .tools-insight-grid {
        grid-template-columns: 1fr;
    }

    .alpha-insight-page .tools-modal-backdrop {
        padding: 1rem;
    }

    .alpha-insight-page .tools-modal__header,
    .alpha-insight-page .tools-workspace-header__row,
    .alpha-insight-page .tools-library-card__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .alpha-insight-page .tools-form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .alpha-insight-page .tools-form-actions .button {
        width: 100%;
    }
}