
.ai-modal-subtitle {
    max-width: 520px;
    margin: 6px 0 0;
    color: #506176;
    line-height: 1.5;
}

.ai-human-greeting {
    margin-bottom: 12px;
    padding: 14px 16px;
    background: #f7fbf7;
    border: 1px solid #dfe7e2;
    border-radius: 8px;
    color: #17362f;
}

.ai-human-greeting strong {
    display: block;
    margin-bottom: 4px;
    color: #0f766e;
}

.ai-human-greeting p {
    margin: 0;
    line-height: 1.5;
}

.ai-modal-close,
.ai-btn,
.ai-textarea,
.ai-composer-card,
.ai-examples-card,
.ai-processing-shell,
.ai-summary-panel,
.ai-resume-panel,
.ai-clarification-panel,
.ai-example-chip,
.ai-result-card,
.ai-result-media,
.ai-price-chip,
.ai-field-chip,
.ai-empty-options,
.ai-summary-total,
.ai-summary-metric,
.ai-qty-control,
.ai-qty-btn {
    border-radius: 8px;
}

.ai-step-grid {
    grid-template-columns: 1fr;
    gap: 12px;
}

.ai-composer-card,
.ai-examples-card,
.ai-processing-shell,
.ai-summary-panel,
.ai-resume-panel,
.ai-clarification-panel {
    padding: 16px;
    background: #fff;
    border: 1px solid #dfe7e2;
    box-shadow: none;
}

.ai-field-label {
    margin-bottom: 4px;
    color: #17362f;
    font-size: 1rem;
}

.ai-field-hint {
    margin-bottom: 12px;
    color: #506176;
}

.ai-textarea {
    min-height: 150px;
    padding: 14px;
    line-height: 1.5;
}

.ai-examples-card {
    background: #f7fbf7;
}

.ai-examples-head {
    margin-bottom: 10px;
}

.ai-examples-head p {
    display: none;
}

.ai-example-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-example-chip {
    width: auto;
    padding: 9px 11px;
    background: #fff;
    font-size: 0.88rem;
    line-height: 1.25;
}

.ai-step-actions,
.ai-summary-actions {
    margin-top: 14px;
}

.ai-step-actions .ai-btn-primary,
.ai-summary-actions .ai-btn-primary {
    flex: 1 1 auto;
}

.ai-btn {
    min-height: 46px;
    padding: 12px 16px;
}

.ai-processing-shell {
    justify-items: center;
    text-align: center;
}

.ai-processing-hero {
    display: block;
}

.ai-processing-kicker {
    margin-bottom: 10px;
}

.ai-progress-track {
    width: 100%;
    margin-top: 4px;
}

.ai-review-layout,
.ai-modal-shell.ai-mode-review .ai-review-layout {
    grid-template-columns: 1fr;
    gap: 12px;
}

.ai-modal-shell.ai-mode-review .ai-modal-main {
    display: flex;
    flex-direction: column;
    max-height: min(92vh, 820px);
    overflow: hidden;
}

.ai-modal-shell.ai-mode-review #ai-step-3 {
    min-height: 0;
    overflow: hidden;
}

.ai-modal-shell.ai-mode-review .ai-review-layout {
    display: flex;
    flex-direction: column;
    max-height: calc(92vh - 130px);
    min-height: 0;
}
