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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f5f5f5;
    color: #1a1a1a;
    line-height: 1.5;
    padding-bottom: 100px;
}

.header {
    background: linear-gradient(135deg, #2d5a3d 0%, #1a3d2a 100%);
    color: white;
    padding: 2rem 1.5rem;
    text-align: center;
}

.date-badge {
    display: inline-block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.teaching-context {
    max-width: 36rem;
    margin: 0 auto 1rem;
    padding: 0.85rem 1.1rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.55;
    text-align: left;
}

.teaching-context p + p {
    margin-top: 0.5rem;
}

.header .subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.questions-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

.question-block {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.question-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.question-number {
    background: #2d5a3d;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.question-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .options-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.option-card {
    position: relative;
    border: 3px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f0f0f0;
}

.option-card:hover {
    border-color: #aaa;
    transform: translateY(-2px);
}

.option-card.selected {
    border-color: #2d5a3d;
    box-shadow: 0 4px 12px rgba(45, 90, 61, 0.3);
}

.option-card.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    background: #2d5a3d;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.option-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    background: #e0e0e0;
}

.option-label {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    background: #fafafa;
    color: #666;
}

.option-card.selected .option-label {
    background: #2d5a3d;
    color: white;
}

.notes-field {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 60px;
}

.notes-field:focus {
    outline: none;
    border-color: #2d5a3d;
    box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

.notes-field::placeholder {
    color: #999;
}

.copy-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #2d5a3d;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(45, 90, 61, 0.4);
    transition: all 0.2s ease;
    z-index: 100;
}

.copy-btn:hover {
    background: #1a3d2a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 61, 0.5);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-icon {
    font-size: 1.2rem;
}

.toast {
    position: fixed;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1a1a1a;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 101;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.25rem;
    }
    
    .question-block {
        padding: 1rem;
    }
    
    .options-grid {
        gap: 0.75rem;
    }
    
    .copy-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}
