/* Kennen en Kunnen Lijstje Styles */

/* Tab System */
.app-container {
    margin-top: 2rem;
}

.data-controls {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.data-controls-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.data-controls h3 {
    color: white;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.data-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-navigation {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 0.5rem 0.5rem 0 0;
}

.tab-btn:hover {
    background: #f3f4f6;
    color: var(--js-primary);
}

.tab-btn.active {
    color: var(--js-primary);
    background: white;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--js-primary);
    border-radius: 3px 3px 0 0;
}

.tab-content-container {
    position: relative;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive tab styles */
@media (max-width: 768px) {
    .tab-navigation {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        text-align: left;
    }
    
    .data-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .data-buttons button {
        width: 100%;
    }
}

/* Input Section */
.input-section {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.8);
    margin-bottom: 2rem;
}

.basic-info {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
}

.basic-info > .form-group {
    grid-column: span 2;
    min-width: 0;
}

.basic-info > .form-group-wide {
    grid-column: span 3;
}

.custom-level-field {
    display: flex;
    flex-direction: column;
    margin-top: 0.75rem;
}

.custom-level-field[hidden] {
    display: none;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--js-primary);
}

/* Section Inputs */
.section-input {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
}

.section-input:last-child {
    border-bottom: none;
}

.section-input h3 {
    color: var(--js-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Kennen Columns - Dynamic */
.kennen-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: start;
}

/* Dynamic Kennen Column Styles */
.kennen-column {
    display: flex;
    flex-direction: column;
}

.kennen-column-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.kennen-column-title {
    flex: 1;
    padding: 0.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--js-dark);
    background: white;
}

.kennen-column-title:focus {
    outline: none;
    border-color: var(--js-primary);
}

.remove-column {
    background: var(--js-accent);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.remove-column:hover {
    background: #dc2626;
}

.kennen-column-textarea {
    width: 100%;
    min-height: 120px;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    resize: vertical;
    font-family: inherit;
}

.kennen-column-textarea:focus {
    outline: none;
    border-color: var(--js-primary);
}

/* Add Column Button */
.add-column-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.add-column-btn {
    background: var(--js-success);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    border: 2px dashed transparent;
}

.add-column-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.plus-icon {
    font-size: 1.5rem;
    font-weight: bold;
}

.add-text {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Kunnen Section */
.kunnen-list {
    margin-bottom: 1rem;
}

.leerdoel-item {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.leerdoel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.leerdoel-header h4 {
    color: var(--js-dark);
    font-weight: 600;
    margin: 0;
}

.remove-leerdoel {
    background: var(--js-accent);
    color: white;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.remove-leerdoel:hover {
    background: #dc2626;
}

.leerdoel-text {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    resize: vertical;
    min-height: 60px;
}

.leerdoel-text:focus {
    outline: none;
    border-color: var(--js-primary);
}

/* Opgaven */
.opgaven-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.opgave-input {
    padding: 0.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.375rem;
    width: 60px;
    text-align: center;
    font-size: 0.9rem;
}

.opgave-input:focus {
    outline: none;
    border-color: var(--js-primary);
}

.add-opgave {
    background: var(--js-success);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-opgave:hover {
    background: #059669;
}

.opgave-input-group {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.remove-opgave {
    background: var(--js-accent);
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 24px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-opgave:hover {
    background: #dc2626;
}

/* Column Selection */
.column-selection {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.column-select-label {
    display: block;
    font-weight: 500;
    color: var(--js-dark);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.column-select {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.375rem;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.column-select:focus {
    outline: none;
    border-color: var(--js-primary);
}

.column-select:hover {
    border-color: #d1d5db;
}

/* Voorkennis */
#voorkennis {
    width: 100%;
    min-height: 100px;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    resize: vertical;
    font-family: inherit;
}

#voorkennis:focus {
    outline: none;
    border-color: var(--js-primary);
}

/* Control Buttons */
.control-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Preview Section */
.preview-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.a4-document {
    width: 210mm;
    min-height: 297mm;
    background: white;
    padding: 20mm;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 12px;
    line-height: 1.3;
    color: #000;
}

/* A4 Document Styles */
.a4-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

.a4-header h1 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.a4-header .info-line {
    margin: 2px 0;
    font-size: 14px;
}

.a4-kennen {
    margin-bottom: 20px;
}

.a4-kennen h2 {
    background: #e2e8f0;
    text-align: center;
    padding: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.a4-kennen-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    border: 2px solid #000;
}

.a4-kennen-column {
    border-right: 1px solid #000;
    padding: 8px;
    min-height: 100px;
}

.a4-kennen-column:last-child {
    border-right: none;
}

.a4-kennen-column h3 {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
    background: #f3f4f6;
    padding: 4px;
}

.a4-kennen-item {
    font-size: 10px;
    margin-bottom: 3px;
    line-height: 1.2;
}

.a4-kunnen {
    margin-bottom: 20px;
}

.a4-kunnen h2 {
    background: #fde68a;
    text-align: center;
    padding: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.a4-kunnen-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    border: 2px solid #000;
}

.a4-kunnen-header {
    background: #f3f4f6;
    padding: 8px;
    font-weight: bold;
    font-size: 12px;
    border-bottom: 1px solid #000;
    text-align: center;
}

.a4-kunnen-content {
    display: contents;
}

.a4-leerdoel-row {
    display: contents;
}

.a4-leerdoel-number {
    padding: 8px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    text-align: center;
    font-weight: bold;
}

.a4-leerdoel-text {
    padding: 8px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    line-height: 1.3;
}

.a4-leerdoel-opgaven {
    padding: 8px;
    border-bottom: 1px solid #000;
    text-align: center;
    font-size: 10px;
}

.a4-voorkennis {
    border: 2px solid #000;
    padding: 10px;
}

.a4-voorkennis h3 {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}

.a4-voorkennis-content {
    font-size: 11px;
    line-height: 1.4;
}

/* Planner Section */
.planner-basic-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
}

.planner-options {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
}

.planner-options h3 {
    color: var(--js-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.planner-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.planner-info {
    text-align: center;
    max-width: 500px;
}

.planner-info p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Planner Result Area */
.planner-result {
    margin-top: 2rem;
}

.planner-container {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.8);
    min-height: 300px;
    height: auto;
}

.planner-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.planner-empty-state h3 {
    color: var(--js-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.planner-empty-state p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Planner Header Styling */
.planner-header {
    margin-bottom: 2rem;
}

.planner-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.planner-title-section h3 {
    color: var(--js-primary);
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.planner-print-btn {
    background: var(--js-accent);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
    white-space: nowrap;
}

.planner-print-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

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

.planner-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 2px solid #e2e8f0;
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--js-primary);
    margin-bottom: 0.25rem;
}

.stat-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--js-dark);
}

/* Responsive adjustments for planner header */
@media (max-width: 768px) {
    .planner-title-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .planner-title-section h3 {
        min-width: auto;
        text-align: center;
    }
    
    .planner-print-btn {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
}

/* Planner Table (when generated) */
.planner-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.planner-table th,
.planner-table td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
    vertical-align: top;
}

.planner-table th {
    background: var(--js-primary);
    color: white;
    font-weight: 600;
    text-align: center;
}

.planner-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.planner-table tbody tr:hover {
    background: #e0f2fe;
}

.planner-week-header {
    background: var(--js-success) !important;
    color: white;
    font-weight: 600;
    text-align: center;
}

.planner-lesson-number {
    font-weight: 600;
    color: var(--js-primary);
}

.planner-kennen-items {
    font-size: 0.85rem;
    line-height: 1.4;
}

.planner-kunnen-items {
    font-size: 0.85rem;
    line-height: 1.4;
}

.planner-special-lesson {
    background: #fef3c7 !important;
    font-weight: 500;
}

.planner-special-lesson .planner-lesson-number {
    color: #d97706;
}

.planner-header {
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.planner-header h3 {
    color: var(--js-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.planner-header p {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

.planner-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e5e7eb;
    text-align: center;
}

.planner-footer p {
    color: #6b7280;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}

/* Differentiation Section */
.planner-differentiation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 2px solid #e5e7eb;
}

.planner-differentiation h4 {
    color: var(--js-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.differentiation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.differentiation-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.differentiation-field label {
    font-weight: 600;
    color: var(--js-dark);
    font-size: 0.95rem;
}

.differentiation-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.differentiation-input:focus {
    outline: none;
    border-color: var(--js-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.differentiation-input::placeholder {
    color: #9ca3af;
}

.differentiation-help {
    font-size: 0.8rem;
    color: #6b7280;
    font-style: italic;
    margin: 0;
}

@media (max-width: 768px) {
    .differentiation-grid {
        grid-template-columns: 1fr;
    }
}

/* Professional Planner Extensions */
.planner-error-state {
    text-align: center;
    padding: 3rem;
    background: #fee2e2;
    border-radius: 0.75rem;
    border: 2px solid #fecaca;
}

.planner-error-state h3 {
    color: #dc2626;
    margin-bottom: 1rem;
}

.planner-error-state p {
    color: #991b1b;
    line-height: 1.6;
}

.planner-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: 500;
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 600;
}

.planner-table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    height: auto;
}

.col-week { width: 11%; }
.col-lesson { width: 6%; }
.col-type { width: 14%; }
.col-notes { width: 15%; }
.col-kennen { width: 22%; }
.col-kunnen { width: 15%; }
.col-assignments { width: 17%; }

.week-type-select {
    width: 100%;
    min-width: 104px;
    padding: 0.4rem 0.2rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.35rem;
    background: white;
    color: #1e293b;
    font: inherit;
    font-size: 0.8rem;
}

.week-off-row { background: #f1f5f9; }
.week-notes-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.35rem;
    background: white;
    font: inherit;
}

.lesson-type-select {
    width: 100%;
    min-width: 136px;
    padding: 0.35rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.35rem;
    background: transparent;
    color: #1e293b;
    font: inherit;
    font-size: 0.8rem;
    cursor: pointer;
}

.planner-concept-group + .planner-concept-group { margin-top: 0.65rem; }
.concept-column { display: block; margin-bottom: 0.25rem; font-size: 0.82rem; }
.planner-concept { display: inline-block; max-width: 100%; vertical-align: top; }
.concept-trigger {
    max-width: 100%;
    margin: 0.15rem 0.15rem 0.15rem 0;
    padding: 0.3rem 0.45rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.35rem;
    background: #f8fafc;
    color: #1e293b;
    font: inherit;
    font-size: 0.85rem;
    text-align: left;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.concept-trigger:hover, .concept-trigger[aria-expanded="true"] { background: #dbeafe; border-color: #2563eb; }
.concept-menu:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.35rem;
    margin: 0.15rem 0.2rem 0.35rem 0;
    border: 1px solid #cbd5e1;
    border-radius: 0.35rem;
    background: white;
}
.concept-move, .concept-menu .remove-lesson-extra, .cell-add {
    min-height: 36px;
    padding: 0.35rem 0.5rem;
    border: 0;
    border-radius: 0.25rem;
    background: #eff6ff;
    color: #1d4ed8;
    font: inherit;
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
}
.concept-move:disabled { color: #64748b; background: #f1f5f9; cursor: default; }
.concept-trigger:focus-visible, .concept-move:focus-visible, .week-type-select:focus-visible,
.lesson-type-select:focus-visible, .week-notes-input:focus-visible,
.cell-action-trigger:focus-visible, .cell-add:focus-visible, .cell-text:focus-visible, .remove-lesson-extra:focus-visible,
.edit-study-scope:focus-visible, .lesson-study-dialog button:focus-visible,
.lesson-study-dialog input:focus-visible, .lesson-study-dialog textarea:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.lesson-formative { background: #f0f9ff; }
.lesson-practice { background: #f5f3ff; }
.edit-study-scope {
    display: block;
    margin-top: 0.5rem;
    padding: 0.3rem 0.5rem;
    border: 1px solid #93c5fd;
    border-radius: 0.35rem;
    background: white;
    color: #1d4ed8;
    font: inherit;
    font-size: 0.8rem;
    cursor: pointer;
}
.study-scope-empty { color: #475569; font-size: 0.85rem; }
.planner-editable-cell { position: relative; cursor: pointer; padding-bottom: 2.1rem !important; }
.planner-editable-cell:hover { background: #eff6ff; }
.cell-action-trigger {
    position: absolute;
    right: 0.35rem;
    bottom: 0.3rem;
    width: 28px;
    height: 28px;
    border: 1px solid #cbd5e1;
    border-radius: 0.35rem;
    background: white;
    color: #1d4ed8;
    font-size: 1.1rem;
    cursor: pointer;
}
.cell-action-trigger:hover, .cell-action-trigger[aria-expanded="true"] { background: #dbeafe; border-color: #2563eb; }
.cell-actions-menu:not([hidden]) { margin-top: 0.5rem; padding: 0.3rem; border: 1px solid #cbd5e1; border-radius: 0.35rem; background: white; }
.cell-add, .cell-text { width: 100%; }
.cell-actions-menu button + button { margin-top: .3rem; }
.cell-text { padding: .4rem; border: 1px solid #cbd5e1; border-radius: .3rem; background: white; color: #1d4ed8; font: inherit; font-size: .85rem; cursor: pointer; }
.lesson-custom-text { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: .4rem; }
.lesson-custom-text:first-child { margin-top: 0; }
.lesson-text-dialog { max-width: 640px; }
.lesson-text-dialog label { display: block; font-weight: 600; margin-top: 1rem; }
.lesson-text-dialog textarea { display: block; width: 100%; min-height: 8rem; margin-top: .4rem; padding: .75rem; border: 1px solid #94a3b8; border-radius: .4rem; font: inherit; line-height: 1.5; resize: vertical; }
.extra-lesson-goal { display: inline-flex; align-items: center; gap: 0.2rem; }
.extra-lesson-goal .remove-lesson-extra { border: 0; padding: 0.15rem 0.4rem; border-radius: 0.25rem; background: #eff6ff; color: #1d4ed8; font: inherit; cursor: pointer; }
.lesson-add-dialog { max-width: 600px; }
.lesson-add-options { margin: 1rem 0; }
.lesson-add-options h3 { margin: 0.75rem 0 0.25rem; font-size: 1rem; }
.already-in-lesson { color: #64748b; cursor: default; }
.already-in-lesson small { display: block; font-size: 0.8rem; }
.lesson-add-dialog [type="submit"]:disabled { opacity: 0.5; cursor: default; }
.lesson-study-dialog {
    width: min(880px, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    margin: auto;
    padding: 1.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    background: white;
    color: #1e293b;
    overflow-y: auto;
    box-sizing: border-box;
    box-shadow: 0 20px 60px #0f172a33;
}
.lesson-study-dialog::backdrop { background: #0f172a80; }
.lesson-study-dialog h2 { margin: 0 0 0.5rem; font-size: 1.4rem; }
.lesson-study-dialog p { margin: 0.5rem 0; }
.study-scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.study-scope-grid fieldset { min-width: 0; margin: 0; padding: 0.8rem; border: 1px solid #cbd5e1; border-radius: 0.5rem; }
.study-scope-grid legend { padding: 0 0.3rem; font-weight: 700; }
.study-scope-grid h3 { font-size: 0.95rem; margin: 0.8rem 0 0.3rem; }
.study-scope-option { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.6rem 0.3rem; cursor: pointer; overflow-wrap: anywhere; }
.study-scope-option input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 0.2rem; accent-color: #2563eb; }
.study-selection-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.study-selection-actions button { padding: 0.35rem; border: 1px solid #cbd5e1; border-radius: 0.3rem; background: #f8fafc; color: #1e293b; font: inherit; font-size: 0.8rem; cursor: pointer; }
.study-dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.75rem; position: sticky; bottom: -1.5rem; padding: 1rem 0; background: white; }
@media (max-width: 600px) {
    .study-scope-grid { grid-template-columns: 1fr; }
    .lesson-study-dialog { padding: 1rem; }
    .study-dialog-actions { bottom: -1rem; }
}
.planner-concept-help, .planner-move-status { font-size: 0.85rem; color: #475569; }
.planner-move-status:empty { display: none; }
.planner-unplaced { padding: 1rem; margin: 1rem 0; border: 1px solid #d97706; border-radius: 0.5rem; background: #fffbeb; }

.lesson-row {
    transition: background-color 0.2s ease;
}

.lesson-normal {
    background: white;
}

.lesson-test {
    background: #fef3c7;
}

.lesson-wrap {
    background: #d1fae5;
}

.lesson-question {
    background: #e0e7ff;
}

.lesson-review {
    background: #ecfdf5;
}

.lesson-cancelled {
    background: #f3f4f6;
}

.planner-week-cell {
    background: #f8fafc;
    font-weight: 600;
    text-align: center;
    border-right: 2px solid var(--js-primary);
}

.week-number {
    font-size: 0.9rem;
    color: var(--js-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.week-controls {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.week-lesson-btn {
    background: var(--js-primary);
    color: white;
    border: none;
    border-radius: 0.25rem;
    width: 24px;
    height: 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.week-lesson-btn:hover {
    background: var(--js-dark);
}

.planner-header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.week-add-controls {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.planner-lesson-cell {
    text-align: center;
    font-weight: 600;
}

.lesson-number {
    font-size: 1.125rem;
    color: var(--js-dark);
}

.planner-type-cell {
    text-align: center;
}

.planner-type-cell.clickable-cell {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.planner-type-cell.clickable-cell:hover {
    background-color: #f3f4f6;
}

.lesson-type {
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.8rem;
}

.lesson-type.gewone-les {
    background: #e5e7eb;
    color: var(--js-dark);
}

.lesson-type.toetsles {
    background: #fbbf24;
    color: white;
}

.lesson-type.afrondingsles {
    background: var(--js-success);
    color: white;
}

.lesson-type.vragenronde {
    background: var(--js-primary);
    color: white;
}

.lesson-type.herhalingsles {
    background: var(--js-success);
    color: white;
}

.planner-notes-cell {
    padding: 0.5rem;
}

.lesson-notes-input {
    width: 100%;
    padding: 0.375rem 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lesson-notes-input:focus {
    outline: none;
    border-color: var(--js-primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.lesson-notes-input::placeholder {
    color: #9ca3af;
}

/* Assignment Controls for Moving Tasks */
.planner-assignments-cell {
    padding: 0.5rem;
}

.assignments-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.assignments-content {
    flex: 1;
    min-width: 0;
}

.assignments-controls {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex-shrink: 0;
}

.assignment-move-btn {
    background: var(--js-primary);
    color: white;
    border: none;
    border-radius: 0.25rem;
    width: 24px;
    height: 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.assignment-move-btn:hover {
    background: var(--js-dark);
    transform: scale(1.1);
}

.assignment-move-btn:active {
    transform: scale(0.95);
}

.week-summary-row {
    background: #f8fafc;
    border-top: 2px solid var(--js-primary);
    font-size: 0.875rem;
}

.week-summary-cell {
    padding: 1rem;
    vertical-align: top;
}

.week-summary-title {
    font-weight: 600;
    color: var(--js-primary);
    margin-bottom: 0.5rem;
}

.week-summary-content {
    color: var(--js-dark);
    line-height: 1.6;
}

.kennen-items, .kunnen-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kennen-item, .kunnen-item {
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 0.375rem;
    border-left: 3px solid var(--js-success);
}

.kunnen-item {
    border-left-color: var(--js-primary);
}

/* Specific styling for leerdoel items in kunnen section */
.kunnen-item.leerdoel-item {
    border-left-color: #f59e0b;
    background: #fffbeb;
}

.item-text {
    font-weight: 500;
    color: var(--js-dark);
    line-height: 1.4;
}

.item-source {
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
}

.item-number {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--js-primary);
    margin-bottom: 0.25rem;
}

/* Styling for assignment items with leerdoel content */
.assignment-item.leerdoel-assignment {
    padding: 0.5rem;
    background: #f0f9ff;
    border-left: 3px solid #3b82f6;
    border-radius: 0.375rem;
    margin-bottom: 0.25rem;
}

.assignment-item.leerdoel-assignment:last-child {
    margin-bottom: 0;
}

.assignments-list {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.assignment-item {
    padding: 0.375rem 0.5rem;
    background: #f1f5f9;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    line-height: 1.3;
    color: var(--js-dark);
}

.assignment-item:before {
    content: "• ";
    color: var(--js-primary);
    font-weight: bold;
}

.empty-content {
    text-align: center;
    color: #9ca3af;
    font-style: italic;
    padding: 0.5rem;
}

.planner-legend h4 {
    color: var(--js-dark);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.legend-items {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 0.25rem;
}

.legend-normal {
    background: #e5e7eb;
}

.legend-test {
    background: #fbbf24;
}

.legend-wrap {
    background: var(--js-success);
}

.legend-question {
    background: var(--js-primary);
}

.legend-review {
    background: var(--js-success);
}

.legend-cancelled {
    background: #d1d5db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .basic-info {
        grid-template-columns: 1fr;
    }

    .basic-info > .form-group {
        grid-column: auto;
    }
    
    .kennen-columns {
        grid-template-columns: 1fr;
    }
    
    .add-column-btn {
        min-width: 100%;
        min-height: 80px;
    }
    
    .a4-document {
        width: 100%;
        padding: 1rem;
        box-shadow: none;
    }
    
    .a4-kennen-grid {
        grid-template-columns: 1fr;
    }
    
    .a4-kunnen-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .a4-leerdoel-row {
        display: block;
        border: 1px solid #000;
        margin-bottom: 10px;
    }
    
    .a4-leerdoel-number,
    .a4-leerdoel-text,
    .a4-leerdoel-opgaven {
        border: none;
        border-bottom: 1px solid #ccc;
        display: block;
    }
    
    .a4-leerdoel-opgaven {
        border-bottom: none;
    }
    
    /* Planner responsive */
    .planner-basic-info {
        grid-template-columns: 1fr;
    }
    
    .planner-table {
        font-size: 0.8rem;
    }
    
    .planner-table th,
    .planner-table td {
        padding: 0.5rem;
    }
}

@media print {
    .input-section,
    .control-buttons,
    nav,
    footer {
        display: none !important;
    }
    
    .a4-document {
        box-shadow: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }
}

/* New Section Styles */

/* App Explanation Section */
.explanation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.explanation-step {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.8);
    position: relative;
}

.step-number {
    position: absolute;
    top: -1rem;
    left: 2rem;
    background: var(--js-primary);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.explanation-step h3 {
    color: var(--js-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.explanation-step ul {
    margin-top: 1rem;
    padding-left: 1.25rem;
}

.explanation-step li {
    margin-bottom: 0.5rem;
    color: var(--js-dark);
}

/* Importance Section */
.importance-content {
    margin-top: 2rem;
}

.importance-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.importance-intro .lead {
    font-size: 1.25rem;
    color: var(--js-dark);
    line-height: 1.7;
}

.importance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.importance-item {
    text-align: center;
    padding: 2rem;
}

.importance-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--js-dark);
}

.importance-item p {
    color: #6b7280;
    line-height: 1.6;
}

.research-quote {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid var(--js-primary);
    margin-top: 3rem;
}

.research-quote blockquote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--js-dark);
    margin: 0;
}

.research-quote cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--js-primary);
}

/* Research Section */
.research-content {
    margin-top: 2rem;
}

.research-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.research-papers {
    margin-bottom: 3rem;
}

.paper-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.8);
    margin-bottom: 2rem;
}

.paper-item h3 {
    color: var(--js-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.paper-author {
    color: #6b7280;
    font-style: italic;
    margin-bottom: 1rem;
}

.paper-item blockquote {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--js-secondary);
    margin: 1rem 0;
    font-style: italic;
    line-height: 1.6;
}

.paper-download {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.paper-download a {
    color: var(--js-primary);
    text-decoration: none;
    font-weight: 600;
}

.paper-download a:hover {
    text-decoration: underline;
}

.additional-sources {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.additional-sources h3 {
    color: var(--js-primary);
    margin-bottom: 1rem;
}

.additional-sources ul {
    padding-left: 1.25rem;
}

.additional-sources li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--js-dark);
}

.methodology {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.methodology h3 {
    color: var(--js-primary);
    margin-bottom: 1rem;
}

.methodology ul {
    padding-left: 1.25rem;
    margin-top: 1rem;
}

.methodology li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--js-dark);
}

/* Background light class */
.bg-light {
    background-color: #f9fafb;
}

/* Auto-numbering tip styles */
.auto-numbering-tip {
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
    border: 2px solid #f59e0b;
    border-radius: 0.75rem;
    padding: 1rem;
    margin: 1rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.1);
}

.tip-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.tip-content {
    flex: 1;
}

.tip-content strong {
    color: #92400e;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.tip-content p {
    margin: 0;
    color: #78350f;
    line-height: 1.5;
}

.tip-content kbd {
    background: #374151;
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Monaco, Consolas, monospace;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .explanation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .importance-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-number {
        top: -0.75rem;
        left: 1.5rem;
    }
    
    .explanation-step,
    .paper-item,
    .methodology {
        padding: 1.5rem;
    }
    
    .research-quote {
        padding: 1.5rem;
    }
}

/* Document workflow: the editing controls stay compact; paper has its own layout. */
.document-toolbar { padding: 1rem 1.25rem; border: 1px solid #dce3ee; border-radius: 12px; background: #f8fafc; margin-bottom: 1.5rem; }
.document-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.document-actions .btn { font-size: .9rem; padding: .55rem .85rem; }
.app-container .document-status { font-size: .9rem; margin: .75rem 0 .25rem; color: #334155; }
.document-status.error { color: #a12a15; font-weight: 600; }
.app-container .toolbar-help, .app-container .field-help { color: #475569; line-height: 1.55; font-size: .92rem; margin: .5rem 0 1rem; }
.app-container .toolbar-help { margin-bottom: 0; }
.app-container .tab-content > h2 { font-size: 1.8rem; text-align: left; margin: 1.5rem 0; }
.tab-navigation { gap: .25rem; }
.app-container .input-section { padding: 1.5rem; }
.app-container .leerdoel-item { padding: 1rem 1.25rem; }
.number-opgaven { border: 1px solid #cbd5e1; background: white; color: #1e40af; border-radius: 6px; padding: .5rem .65rem; cursor: pointer; font: inherit; font-size: .85rem; }
.lesson-lock { display: block; font: inherit; font-size: .7rem; border: 1px solid #cbd5e1; border-radius: 4px; background: white; color: #475569; padding: 3px; margin-top: 8px; cursor: pointer; }
.lesson-lock[aria-pressed="true"] { background: #e0edff; color: #1e40af; border-color: #7ba5e4; font-weight: 600; }
.lesson-study-dialog #saved-draft, .lesson-study-dialog #copy-class { display: block; width: 100%; padding: .7rem; margin: .5rem 0 1rem; border: 1px solid #cbd5e1; border-radius: 6px; font: inherit; }
.start-date-field { max-width: 360px; margin-top: 1rem; }
.start-date-field input { width: 100%; padding: .6rem; border: 1px solid #cbd5e1; border-radius: 6px; font: inherit; }
.print-controls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding: 1.25rem; margin-top: 1.25rem; border: 1px solid #dce3ee; border-radius: 12px; background: #f8fafc; }
.print-controls label { display: grid; gap: .5rem; font-weight: 600; }
.print-controls select { min-width: 0; width: 100%; padding: .65rem; border: 1px solid #cbd5e1; border-radius: 6px; background: white; font: inherit; }
.planner-display-option { margin: 1.25rem 0; }
.planner-display-option label { display: flex; align-items: center; gap: .65rem; width: fit-content; min-height: 44px; font-weight: 600; cursor: pointer; }
.planner-display-option input { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--js-primary); }
.planner-display-option .field-help { margin: 0 0 0 1.75rem; }
.planner-display-option:has(input:disabled) label { color: #64748b; cursor: default; }
.print-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1rem 0; }
#print-preview { width: 100%; height: 78vh; min-height: 500px; border: 1px solid #cbd5e1; border-radius: 8px; background: #e5e7eb; }
button:disabled { opacity: .5; cursor: not-allowed; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
@media (max-width: 800px) {
    .print-controls { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .print-actions { align-items: stretch; flex-direction: column; }
    .document-actions .btn { flex: 1 1 auto; }
    .tab-navigation .tab-btn { padding: .75rem; font-size: .9rem; }
}

/* Theoretische basis styling */
.theoretical-basis {
    background: #f8fafc;
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    color: var(--js-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.8;
}

.bron-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.bron-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

.bron-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bron-header h3 {
    color: var(--js-primary);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.bron-auteur {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.bron-citaat {
    background: #f8fafc;
    border-left: 4px solid var(--js-primary);
    padding: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #475569;
    line-height: 1.6;
}

.bron-link {
    margin-top: 1rem;
}

.bron-link a {
    display: inline-flex;
    align-items: center;
    color: var(--js-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.bron-link a:hover {
    color: var(--js-accent);
}

.bron-link a:before {
    content: "📄";
    margin-right: 0.5rem;
}

/* Responsive voor theoretische basis */
@media (max-width: 768px) {
    .bron-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .bron-card {
        padding: 1rem;
    }
    
    .bron-header h3 {
        font-size: 1rem;
    }
    
    .bron-citaat {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-intro {
        font-size: 1rem;
    }
}
.planner-example {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem 1.25rem;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
}
.planner-example > div { flex: 1 1 24rem; }
.planner-example p { margin: .35rem 0 0; color: #475569; font-size: .95rem; }
