.ai-detector-page {
    font-family: var(--font-sans, 'Inter', sans-serif);
    background: var(--bg-primary, #FAF7F2);
    color: var(--text-primary, #2F2F2F);
    min-height: 100vh;
    padding: var(--space-lg, 1.5rem);
}
.ai-detector-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}
.ai-detector-header .back-link {
    color: var(--accent-primary, #7FA89A);
    text-decoration: none;
}
.ai-detector-header h1 {
    font-size: var(--text-xl, 1.25rem);
    font-weight: 600;
}
.ai-detector-card {
    background: var(--bg-card, white);
    border: 1px solid var(--border-color, #E6E2DA);
    border-radius: 12px;
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    max-width: 720px;
}
.ai-detector-card label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
}
.ai-detector-card textarea {
    width: 100%;
    min-height: 160px;
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: var(--text-base);
    resize: vertical;
    background: var(--bg-primary);
    color: var(--text-primary);
}
.ai-detector-card textarea::placeholder {
    color: var(--text-muted);
}
.ai-detector-actions {
    margin-top: var(--space-lg);
}
.ai-detector-submit {
    padding: var(--space-sm) var(--space-lg);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    font-size: var(--text-sm);
    background: var(--accent-primary, #7FA89A);
    color: white;
}
.ai-detector-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.ai-detector-error {
    color: var(--error-color, #D89A9A);
    margin-top: var(--space-md);
}
.ai-detector-result {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    border-radius: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}
.ai-detector-scores {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
}
.ai-detector-scores .score-ai {
    color: var(--accent-primary, #7FA89A);
}
.ai-detector-scores .score-human {
    color: var(--accent-secondary, #5a8a7a);
}
.ai-detector-explanation {
    white-space: pre-wrap;
    line-height: 1.5;
    margin-bottom: var(--space-md);
}
.ai-detector-disclaimer {
    font-size: var(--text-sm);
    color: var(--text-muted);
}
