/* Assignment - compact */
#assignment-section h2 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

#assignment-description {
    background: var(--pico-card-background-color);
    padding: 0.5rem 0.75rem;
    border-radius: var(--pico-border-radius);
    margin-bottom: 1rem;
    font-size: 0.75rem;
    line-height: 1.4;
}

#assignment-description p {
    margin-bottom: 0.3rem;
}

#assignment-description p:last-child {
    margin-bottom: 0;
}

/* Main content - side by side */
#main-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

#main-content > section {
    margin: 0;
}

#editor-section h3,
#feedback-section h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

#editor {
    height: 400px;
    border: 1px solid var(--pico-muted-border-color);
    margin-bottom: 0.75rem;
}

.button-group {
    display: flex;
    gap: 0.5rem;
}

.button-group button {
    width: auto;
}

.button-group button:disabled {
    cursor: wait;
}

/* Feedback panel */
#feedback {
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: var(--pico-card-background-color);
    border-radius: var(--pico-border-radius);
    font-size: 0.9rem;
}

#feedback p:last-child {
    margin-bottom: 0;
}

#feedback .placeholder {
    color: var(--pico-muted-color);
    font-style: italic;
}

/* User feedback form */
#user-feedback-section {
    border-top: 1px solid var(--pico-muted-border-color);
    padding-top: 1.5rem;
}

#user-feedback-section h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

#user-feedback-section .beta-notice {
    font-size: 0.8rem;
    color: var(--pico-muted-color);
    margin-bottom: 0.75rem;
}

#user-feedback-section textarea {
    font-size: 0.75rem;
    min-height: 60px;
}

#user-feedback-section button {
    width: auto;
}
