
.ai-example-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(21, 83, 74, 0.22);
    background: #fff;
}

.ai-step-actions,
.ai-processing-actions,
.ai-summary-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ai-step-actions {
    position: sticky;
    bottom: -28px;
    z-index: 6;
    margin: 18px -28px -28px;
    padding: 14px 28px 18px;
    border-top: 1px solid rgba(21, 83, 74, 0.12);
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.88) 0%, #fffdfa 52%, #fffdfa 100%);
    box-shadow: 0 -18px 32px rgba(23, 54, 47, 0.08);
}

.ai-composer-card .ai-step-actions {
    position: static;
    bottom: auto;
    margin: 16px 0 0;
    padding: 0;
    border-top: 0;
    background: transparent;
    box-shadow: none;
}

.ai-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.ai-btn:hover {
    transform: translateY(-1px);
}

.ai-btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.ai-btn-primary {
    color: #fff8ef;
    background: linear-gradient(135deg, #0d3d3a 0%, #15534a 56%, #1d6a5e 100%);
    box-shadow: 0 16px 26px rgba(13, 61, 58, 0.22);
}

.ai-btn-secondary {
    color: #173f39;
    background: rgba(21, 83, 74, 0.08);
}

.ai-processing-shell {
    display: grid;
    gap: 18px;
}

.ai-processing-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.ai-processing-orbit {
    position: relative;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(215, 180, 106, 0.32), rgba(21, 83, 74, 0.1) 62%);
}

.ai-processing-orbit span {
    position: absolute;
    inset: 50%;
    width: 12px;
    height: 12px;
    margin: -6px;
    border-radius: 50%;
    background: #15534a;
}

.ai-processing-orbit span:nth-child(1) {
    animation: aiOrbitOne 1.4s linear infinite;
}

.ai-processing-orbit span:nth-child(2) {
    background: #d7b46a;
    animation: aiOrbitTwo 1.4s linear infinite;
}

.ai-processing-orbit span:nth-child(3) {
    width: 9px;
    height: 9px;
    margin: -4.5px;
    background: #ffffff;
    animation: aiOrbitThree 1.4s linear infinite;
}

.ai-processing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-processing-card {
    padding: 16px;
    display: grid;
    gap: 12px;
    background: rgba(255, 255, 255, 0.78);
}

.ai-processing-shimmer {
    display: block;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(21, 83, 74, 0.08) 0%, rgba(21, 83, 74, 0.18) 50%, rgba(21, 83, 74, 0.08) 100%);
    background-size: 220px 10px;
    animation: aiShimmer 1.2s linear infinite;
}

.ai-progress-track {
    height: 8px;
    border-radius: 999px;
    background: rgba(21, 83, 74, 0.08);
    overflow: hidden;
}

.ai-progress-bar {
    width: 12%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #cda458 0%, #15534a 100%);
    transition: width 0.35s ease;
}

.ai-review-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.82fr);
    align-items: start;
}

.ai-modal-shell.ai-mode-review .ai-review-layout {
    grid-template-columns: 1fr;
    gap: 14px;
}
