.ai-header {
    background: rgba(22, 127, 252, 0.05);
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-title { color: #167FFC; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.ai-section-label { font-size: 10px; font-weight: bold; color: #999; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }

.style-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box;
}

.ai-style-btn {
    display: flex !important;
    align-items: center !important;
    height: 40px !important;
    padding: 0 6px !important;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #444;
    transition: all 0.2s;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    justify-content: flex-start;
}
.ai-style-btn:hover { border-color: #167FFC; background: #fff; }
.ai-style-btn.active { background: #167FFC; color: #fff; border-color: #167FFC; }
.ai-style-btn.active i { color: #fff; }
.ai-style-btn i { margin-left: 6px; color: #94a3b8; font-size: 13px; width: 14px; text-align: center; }

.ai-command-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 15px; transition: all 0.2s; }
.ai-command-box:focus-within { border-color: #167FFC; background: #fff; box-shadow: 0 4px 12px rgba(22, 127, 252, 0.08); }

.instruction-input { width: 100%; height: 60px; background: transparent; border: none; font-size: 14px; outline: none; resize: none; color: #1f2532; }

button.cblue-cta {
    background-color: #167FFC !important;
    color: white !important;
    height: 48px;
    border-radius: 12px;
    font-weight: bold;
    width: 100%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(22, 127, 252, 0.2);
}

.ai-result-section { background: #f0f7ff; border: 2px dashed #167FFC; border-radius: 12px; padding: 15px; margin-top: 20px; position: relative; min-height: 100px; }
.ai-result-text { font-size: 15px; line-height: 1.5; color: #1f2532; margin-bottom: 15px; max-height: 250px; overflow-y: auto; white-space: pre-wrap; }

.skeleton-container { display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.skeleton-line { height: 12px; background: linear-gradient(90deg, #dbeafe 25%, #bfdbfe 50%, #dbeafe 75%); background-size: 200% 100%; animation: skeleton-wave 1.5s infinite linear; border-radius: 4px; }
@keyframes skeleton-wave { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; margin-left: 6px; }
