.training-container {
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 48px);
    overflow: hidden;
}

.training-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.training-header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.training-stats {
    display: flex;
    gap: 12px;
    margin-left: auto;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.8rem;
}

.stat-value {
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    color: var(--text-secondary);
}

.training-controls {
    display: flex;
    gap: 8px;
}

.training-select {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.85rem;
    background: var(--bg-white);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-accent:hover { opacity: 0.9; }
.btn-accent:disabled { opacity: 0.5; cursor: not-allowed; }

.training-content {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.training-placeholder {
    text-align: center;
    color: var(--text-secondary);
    padding: 60px 20px;
    font-size: 0.95rem;
}

.training-section {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.section-header h3 { margin: 0; font-size: 0.95rem; }

.training-section h3 {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.category-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 10px;
    background: #e9ecef;
    color: #495057;
}

.cat-new_inquiry { background: #dbeafe; color: #1e40af; }
.cat-follow_up { background: #e0e7ff; color: #3730a3; }
.cat-pricing { background: #d1fae5; color: #065f46; }
.cat-homewall { background: #fef3c7; color: #92400e; }
.cat-international { background: #fce7f3; color: #9d174d; }
.cat-renovation { background: #ede9fe; color: #5b21b6; }
.cat-flooring { background: #ccfbf1; color: #134e4a; }
.cat-holds { background: #fee2e2; color: #991b1b; }
.cat-consulting { background: #f0fdf4; color: #166534; }

.training-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.training-subject {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.training-body {
    font-family: inherit;
    font-size: 0.85rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    color: var(--text-primary);
}

.training-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.training-columns > :only-child {
    grid-column: 1 / -1;
}

.draft-section { border-left: 3px solid #7c3aed; }
.actual-section { border-left: 3px solid var(--success); }
.correction-section { border-left: 3px solid var(--accent); }

.correction-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0 0 8px 0;
}

.correction-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.85rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 150px;
}

.correction-textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.notes-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 10px 0 4px 0;
}

.notes-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.85rem;
}

.notes-input:focus {
    outline: none;
    border-color: var(--accent);
}

.training-actions {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.btn-approve {
    background: var(--success);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-approve:hover { opacity: 0.9; }

.btn-correct {
    background: #7c3aed;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-correct:hover { opacity: 0.9; }

.btn-skip {
    background: none;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-skip:hover { background: var(--hover-bg); }
