* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ebedf0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 400px;
    width: 100%;
    padding: 12px;
}

.header {
    min-height: 40px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.back-btn {
    background: none;
    border: none;
    color: #2a5885;
    font-size: 16px;
    padding: 8px 0;
    cursor: pointer;
    font-weight: 500;
}

.back-btn:hover {
    text-decoration: underline;
}

.content {
    background: white;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.menu-item {
    width: 100%;
    padding: 14px 16px;
    margin: 4px 0;
    border: none;
    border-radius: 12px;
    background: white;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.menu-item:active {
    background: #f0f2f5;
}

.loading {
    text-align: center;
    color: #818c99;
    padding: 30px 20px;
    font-size: 15px;
}

.error {
    color: #e64646;
    text-align: center;
    padding: 30px 20px;
    font-size: 15px;
}

.kb-text {
    white-space: pre-line;
    line-height: 1.6;
    font-size: 15px;
    color: #222;
    padding: 8px 4px;
}

.kb-text b {
    color: #2a5885;
    font-weight: 600;
}

.solution-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-success {
    background: #4bb34b;
    color: white;
    text-align: center;
    font-weight: 500;
}

.btn-danger {
    background: #e64646;
    color: white;
    text-align: center;
    font-weight: 500;
}

.btn-success:active, .btn-danger:active {
    opacity: 0.8;
}
