:root {
    --primary: #1e293b;
    --accent: #f97316;
    --accent-light: #fff7ed;
    --accent-dark: #c2410c;
    --bg-primary: #f8fafc;
    --bg-surface: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --success: #10b981;
    --radius-md: 8px;
    --radius-lg: 8px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.hub-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.qa-body {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.qa-body p {
    margin-bottom: 1rem;
}

.qa-body ul,
.qa-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.qa-body pre {
    background-color: var(--bg-primary);
    padding: 1rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
}

.vote-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 48px;
    flex-shrink: 0;
}

.vote-btn {
    background: none;
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vote-btn:hover {
    background-color: var(--accent-light);
    color: var(--accent-dark);
    border-color: var(--accent);
}

.vote-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.vote-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.answer-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.answer-card:last-child {
    border-bottom: none;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

/* Utility classes moved from inline styles */
.kqd-icon-em-baseline {
    width: 1em;
    vertical-align: -2px;
}

.kqd-title {
    color: var(--primary);
}

.kqd-icon-14 {
    width: 14px;
}

.kqd-icon-18 {
    width: 18px;
}

.kqd-tag-link {
    font-size: 0.85rem;
    border-radius: var(--radius-md);
    min-height: 36px;
}

.kqd-lock-shell {
    border-radius: var(--radius-md);
}

.kqd-related-count {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.kqd-send-icon {
    width: 18px;
    vertical-align: -2px;
}

.kqd-auth-cta {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.kd-verified-block-bg {
    background-color: #fafbfc;
}

.kd-verified-photo {
    object-fit: cover;
}

.kd-verified-avatar-fallback {
    width: 48px;
    height: 48px;
    background-color: var(--bs-gray-200);
}

.kd-verified-check-icon {
    width: 1em;
    height: 1em;
}

.kqd-answer-avatar {
    height: 40px;
    object-fit: cover;
    width: 40px;
}

.kqd-answer-meta {
    font-size: 0.85em;
}

/* Production polish: flat knowledge question detail */
.hub-card {
    box-shadow: var(--shadow-soft, 0 12px 36px rgba(15, 23, 42, 0.03));
}

/* MOBİL UYUMLULUK */
@media (max-width: 767.98px) {
    .question-content { padding: 1rem; }
    .answer-input textarea { font-size: 16px; }
    .answer-submit-btn { min-height: 44px; }
    .question-sidebar { position: static !important; }
}

/* Pastel production pass: question detail */
.kqd-title {
    color: #172033;
}

.hub-card,
.answer-card {
    border-color: rgba(137, 172, 195, 0.28) !important;
    box-shadow: 0 10px 26px rgba(23, 32, 51, 0.05);
}

.answer-card {
    background: #ffffff !important;
}

.vote-btn:hover {
    background: #e8f4ff;
    border-color: #b9d9ec;
    color: #235675;
}

.form-control:focus {
    border-color: #a9d1e6;
    box-shadow: 0 0 0 4px rgba(169, 209, 230, 0.28);
}

.text-primary,
.text-accent {
    color: #2f6f95 !important;
}

.btn-primary {
    background: #e8f4ff !important;
    border: 1px solid #b9d9ec !important;
    color: #235675 !important;
    box-shadow: none !important;
}

.btn-primary:hover {
    background: #dceef9 !important;
    color: #1f4e6b !important;
}

.kqd-tag-link,
.kqd-related-count {
    background: #f8fcff !important;
    border-color: #c9deeb !important;
    color: #52647a !important;
}

.kqd-auth-cta,
.kd-verified-block-bg {
    background: #f8fcff;
    border-color: #c9deeb;
}

#answer-list-container .badge.bg-success,
#answer-list-container .btn-success,
#answer-list-container .btn-outline-success {
    background: #edf8f2 !important;
    border-color: #bfdfcc !important;
    color: #276346 !important;
}

#answer-list-container .badge.bg-primary {
    background: #e8f4ff !important;
    border: 1px solid #b9d9ec !important;
    color: #235675 !important;
}

#answer-list-container .btn-danger,
#answer-list-container .btn-outline-danger {
    background: #fdeff4 !important;
    border-color: #efc6d3 !important;
    color: #8a3f59 !important;
}

#answer-list-container .bg-light {
    background: #f8fcff !important;
    border: 1px solid #c9deeb;
}
