@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --blue-dark:  #1D6FEB;
    --blue-mid:   #1558C0;
    --blue-light: #e8f1fd;
    --blue-bg:    #f4f7fe;
    --white:      #ffffff;
    --text-dark:  #111827;
    --text-mid:   #374151;
    --text-muted: #6b7280;
    --border:     #e5e7eb;
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  12px;
}

/* 1MA theme — overschrijft alleen de kleurvariabelen */
body.theme-1ma {
    --blue-dark:  #04B8EB;
    --blue-mid:   #0396C2;
    --blue-light: #e0f7fd;
    --blue-bg:    #f0fbfe;
}
body.theme-1ma .section_break h2,
body.theme-1ma .section_break h3 { background: #04B8EB; }
body.theme-1ma .nav-action-btn.pdf { background: #04B8EB; }
body.theme-1ma .nav-action-btn.switch { color: #04B8EB; border-color: #04B8EB; }
body.theme-1ma .hero-bar { background: linear-gradient(135deg, #04B8EB 0%, #0396C2 100%); }
body.theme-1ma .gettomenus-actions { background: #f0fbfe; }

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--blue-bg);
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
}

/* ── Nav ── */
.fml-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 8px;
}
.nav-logo img {
    height: 26px;
    width: auto;
    display: block;
}
.nav-logo-site {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.2px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
}
.nav-links a {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--text-dark); background: var(--blue-bg); }
.nav-links a.active { color: var(--blue-dark); background: var(--blue-light); font-weight: 500; }

/* Dropdown */
.nav-dropdown {
    position: relative;
}
.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-dropdown > a::after {
    content: '▾';
    font-size: 10px;
    color: var(--text-muted);
}
.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-mid);
    border-radius: 0;
    border-bottom: 1px solid var(--border);
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: var(--blue-light); color: var(--blue-dark); }

/* UI switch knop */
.nav-switch-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--blue-dark);
    background: var(--blue-light);
    border: 1px solid #c5d9f9;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
    margin-right: 4px;
}
.nav-switch-btn:hover { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }

/* Nav right */
.nav-right {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

/* Gear button */
.nav-gear-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.nav-gear-btn:hover,
.nav-dropdown.open .nav-gear-btn {
    background: var(--blue-bg);
    color: var(--blue-dark);
    border-color: var(--blue-dark);
}

/* Right-aligned dropdown */
.nav-dropdown-menu-right {
    left: auto;
    right: 0;
}

/* Mobile toggle */
.nav-mobile-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 22px;
    cursor: pointer;
    margin-left: auto;
}
.mobile-menu {
    display: none;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    flex-direction: column;
    gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
}
.mobile-menu a.active,
.mobile-menu a:hover { background: var(--blue-bg); color: var(--blue-dark); }

/* ── Page header ── */
.page-header {
    background: var(--blue-dark);
    padding: 28px 0 24px;
}
.page-header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}
.page-header h1 { color: #fff; font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.page-header p { color: rgba(255,255,255,0.55); font-size: 13px; }

/* ── Main content wrapper ── */
.fml-main {
    max-width: 960px;
    margin: 32px auto;
    padding: 0 24px;
}

/* ── Cards ── */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 16px;
}
.card h2 { font-size: 17px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--text-mid); }

/* ── Alert / notice ── */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 16px;
    line-height: 1.6;
}
.alert-info { background: var(--blue-light); border: 1px solid #b3d0f7; color: var(--blue-mid); }
.alert-success { background: #eafaf1; border: 1px solid #a8e6c1; color: #1a6636; }
.alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.alert-danger  { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.btn-primary, .btn-main { background: var(--blue-dark); color: #fff; }
.btn-primary:hover, .btn-main:hover { background: var(--blue-mid); color: #fff; }
.btn-secondary { background: var(--blue-light); color: var(--blue-dark); }
.btn-secondary:hover { background: #d5e6fb; color: var(--blue-mid); }
.btn-outline { background: #fff; color: var(--text-mid); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--blue-bg); color: var(--text-dark); }

/* ── Forms (login, profiel, etc.) ── */
.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 480px;
    margin: 40px auto;
}
.form-card h2 { font-size: 20px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.form-card .subtitle { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label,
.form-group label.description,
label.description {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-mid);
    margin-bottom: 6px;
    margin-top: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--white);
    outline: none;
    transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue-mid); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── Footer ── */
.fml-footer {
    background: var(--blue-dark);
    padding: 24px 32px;
    margin-top: 40px;
    text-align: center;
}
.fml-footer img {
    height: 22px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.4;
    margin-bottom: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.fml-footer p { color: rgba(255,255,255,0.35); font-size: 12px; }

/* ── Home page quick links ── */
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 24px;
}
.home-tile {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-decoration: none;
    display: block;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.home-tile:hover {
    border-color: var(--blue-mid);
    box-shadow: 0 2px 8px rgba(29,111,235,0.10);
}
.home-tile-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--blue-dark);
}
.home-tile-title { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 3px; }
.home-tile-sub   { font-size: 12px; color: var(--text-muted); }

/* ── Table (users, etc.) ── */
.fml-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fml-table th {
    text-align: left;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 1px solid var(--border);
}
.fml-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-mid);
}
.fml-table tr:last-child td { border-bottom: none; }
.fml-table tr:hover td { background: var(--blue-bg); }

/* ── FML form overrides (Bootstrap grid is loaded on v4/v5) ── */
body { background: var(--blue-bg) !important; font-family: 'Inter', sans-serif !important; }

/* Bootstrap form controls */
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-mid); margin-bottom: 4px; }
.form-group .form-control { border-radius: var(--radius-sm); border-color: var(--border); font-family: inherit; font-size: 14px; }
.form-group .form-control:focus { border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(29,111,235,0.12); }
.form-group textarea.form-control { min-height: 80px; }

/* Date fields — remove bullets from <ul class="custom-calendar"> */
ul.custom-calendar { list-style: none; padding-left: 0; margin-bottom: 0; }
ul.custom-calendar li { list-style: none; }
ul.custom-calendar li::before { content: none; }

/* ── Anchor offset — compensates for sticky nav ── */
a[id], div[id^="rubriek"], div[id="bottom"] {
    scroll-margin-top: 80px;
}

/* ── Section headings (rubrieken) ── */
.section_break {
    margin-top: 36px;
    margin-bottom: 0;
    scroll-margin-top: 80px;
}
.section_break a[id] {
    scroll-margin-top: 80px;
}
.question-list > .section_break:first-child {
    margin-top: 0;
}
.section_break h2 {
    background: var(--blue-dark);
    color: #fff;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}
.section_break h2 a { color: #fff; text-decoration: none; }
.section_break h2 a:hover { color: rgba(255,255,255,0.85); text-decoration: none; }
.section_break h3 {
    background: var(--blue-dark);
    color: #fff;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 36px 0 0;
}
.section_break h3 a { color: #fff; text-decoration: none; }
.section_break h3 a:hover { color: rgba(255,255,255,0.85); }

/* ── Question items inside a section ── */
div[id^="li_"] {
    background: var(--white);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
}
div[id^="li_"]:last-of-type {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    margin-bottom: 0;
}
label.description {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}
div[id^="li_"] > p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-style: italic;
}
div[id^="li_"] textarea.form-control {
    margin-top: 6px;
    font-size: 13px;
    min-height: 70px;
}

/* PDF / submit button */
.buttons {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.btn-pdf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-dark);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}
.btn-pdf:hover { background: var(--blue-mid); color: #fff; }
.btn-pdf img { width: 18px; height: 18px; filter: brightness(0) invert(1); }

/* Quick-nav sidebar — fixed to right edge of viewport */
.gettomenus {
    position: fixed;
    top: 195px;
    right: 12px;
    width: 260px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0;
    list-style: none;
    z-index: 90;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}
/* Concepten sectie in sidebar */
.gettomenus-drafts {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    background: #f8faff;
}
.gettomenus-drafts-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.gettomenus-draft-chip {
    display: block;
    padding: 4px 8px;
    margin-bottom: 3px;
    background: #fff;
    border: 1px solid #d1ddf7;
    border-radius: 4px;
    font-size: 11px;
    color: var(--blue-dark);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background 0.12s, color 0.12s;
}
.gettomenus-draft-chip:hover { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }

/* Action buttons at the top of quick nav */
.gettomenus-actions {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-bottom: 1px solid var(--border);
    background: var(--blue-bg);
}
.nav-action-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    border: none;
    width: 100%;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-action-btn.pdf {
    background: var(--blue-dark);
    color: #fff;
}
.nav-action-btn.pdf:hover { background: var(--blue-mid); color: #fff; }
.nav-action-btn.pdf img { width: 15px; height: 15px; filter: brightness(0) invert(1); flex-shrink: 0; }
.nav-action-btn.word {
    background: #1e6f3e;
    color: #fff;
}
.nav-action-btn.word:hover { background: #155230; }
.nav-action-btn.switch {
    background: var(--white);
    color: var(--blue-dark);
    border: 1px solid var(--blue-dark);
}
.nav-action-btn.switch:hover { background: var(--blue-light); }

/* Label above links */
.gettomenus-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    padding: 8px 14px 4px;
    display: block;
}
.gettomenus li { list-style: none; }
.gettomenus li a {
    display: block;
    padding: 5px 14px;
    font-size: 10.5px;
    color: var(--text-mid);
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
    white-space: normal;
    line-height: 1.35;
}
.gettomenus li a:hover,
.gettomenus li a.active {
    background: var(--blue-light);
    color: var(--blue-dark);
}

/* ── Radio & checkbox layout ── */
.list-in { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 6px; }
.list-in-full { display: block; margin-bottom: 12px; margin-top: 12px; }
.list-in input[type="radio"],
.list-in input[type="checkbox"],
.list-in-full input[type="radio"],
.list-in-full input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: auto; }
.list-in label,
.list-in-full label { margin-bottom: 0; font-size: 14px; color: var(--text-dark); font-weight: 400; cursor: pointer; line-height: 1.5; }
.list-in label.choice,
.list-in-full label.choice { font-weight: 400; }

/* Standalone radio/checkbox in form (not in .list-in) */
.form-group input[type="radio"],
.form-group input[type="checkbox"] { width: auto; display: inline; margin-right: 6px; }

/* Toelichting label — boven de textarea */
.list-in-full {
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
}
.list-in-full > label:not(.choice) {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-mid);
    margin: 0 0 4px 0;
    padding: 0;
    width: auto;
    text-transform: none;
    font-style: normal;
}
.list-in-full textarea {
    width: 100%;
}

/* ── Calendar popup ── */
.calendar {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    border-radius: var(--radius-md);
    padding: 15px;
    border: 1px solid var(--border);
    z-index: 200;
    position: relative;
}
.day {
    padding: 6px;
    text-align: center;
    font-size: 13px;
    height: 28px;
    line-height: 16px;
    width: 28px;
    border-radius: 4px;
    cursor: pointer;
}
.day:hover { background: var(--blue-light); color: var(--blue-dark); }
.day.name { font-weight: 700; color: var(--text-muted); }
td.day.selected.today, td.selected.day { background: var(--blue-dark); color: #fff; }
.calendar table > thead tr:first-child td:first-child {
    background: var(--blue-light); color: var(--blue-dark);
    border-radius: 4px; padding: 3px; height: 20px; font-size: 13px; font-weight: 600; cursor: pointer; text-align: center;
}
.calendar table > thead tr:first-child td:nth-child(3) {
    background: #fee2e2; color: #dc2626;
    border-radius: 4px; padding: 3px; height: 20px; font-size: 15px; font-weight: 600; cursor: pointer; text-align: center;
}
.calendar table > thead tr:first-child td:nth-child(2) { text-align: center; font-size: 14px; font-weight: 600; }
.footrow td {
    border-radius: 4px; font-size: 13px; padding: 5px;
    background: var(--blue-light); text-align: center; color: var(--blue-dark); font-weight: 500;
}
tr.headrow > td div {
    background: var(--blue-light); border-radius: 4px; text-align: center;
    display: block; height: 27px; margin: 5px 2px; color: var(--blue-dark);
    font-weight: 500; font-size: 13px; line-height: 27px;
}
tr.headrow .nav { display: table-cell !important; }

/* ── Opgeslagen concepten balk (boven nav) ── */
.drafts-bar {
    background: #f0f4ff;
    border-bottom: 1px solid #d1ddf7;
    padding: 7px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
}
.drafts-bar-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: var(--blue-dark);
    white-space: nowrap;
    flex-shrink: 0;
}
.drafts-bar-label svg { flex-shrink: 0; }
.drafts-bar-chip {
    background: #fff;
    border: 1px solid #b8cbf5;
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 11.5px;
    color: var(--blue-dark);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.12s, color 0.12s;
    white-space: nowrap;
}
.drafts-bar-chip:hover { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
.drafts-bar-empty {
    font-size: 11.5px;
    color: var(--text-muted);
    font-style: italic;
}

/* Back-to-top knop */
.btt {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: var(--blue-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 200;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.btt img { width: 18px; height: 18px; filter: brightness(0) invert(1); }

/* Legacy (niet meer gebruikt) */
.drafts-widget { display: none; }
.fix-wrapper { display: contents; }
.fmlreportstext { display: none; }
.fml-reportswrapper { display: none; }

/* button-groups (switch + pdf, second occurrence) */
.button-groups { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ── UX: Score kleurcodering (0=groen, 1=oranje, 2+=rood) ── */
div[id^="li_"] {
    transition: border-left-color 0.2s;
    border-left: 3px solid transparent;
}
div[id^="li_"].score-0     { border-left-color: #22c55e; }
div[id^="li_"].score-1     { border-left-color: #f59e0b; }
div[id^="li_"].score-2plus { border-left-color: #ef4444; }

/* Geselecteerde antwoordrij */
.list-in.choice-selected { border-radius: 6px; }
.list-in.choice-0     { background: #f0fdf4; }
.list-in.choice-1     { background: #fffbeb; }
.list-in.choice-2plus { background: #fff5f5; }
.list-in.choice-0     label.choice { color: #15803d; font-weight: 600; }
.list-in.choice-1     label.choice { color: #b45309; font-weight: 600; }
.list-in.choice-2plus label.choice { color: #b91c1c; font-weight: 600; }

/* Toelichting highlight bij beperkte score */
.list-in-full.toelichting-warn {
    background: #fffbeb;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    border-left: 3px solid #f59e0b;
    margin-top: 10px;
}
.list-in-full.toelichting-alert {
    background: #fff5f5;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    border-left: 3px solid #ef4444;
    margin-top: 10px;
}
.list-in-full.toelichting-warn > label:not(.choice),
.list-in-full.toelichting-alert > label:not(.choice) {
    color: var(--text-dark);
    font-weight: 700;
}

/* ── UX: Voortgangsbalk (sticky) ── */
.fml-progress {
    position: sticky;
    top: 58px;
    z-index: 80;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.fml-progress-track {
    flex: 1;
    height: 7px;
    background: var(--border);
    border-radius: 99px;
    overflow: hidden;
}
.fml-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--blue-dark), var(--blue-mid));
    border-radius: 99px;
    transition: width 0.35s ease;
}
.fml-progress-label {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}
.fml-progress-pct {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-dark);
    min-width: 34px;
    text-align: right;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .fml-nav { padding: 0 16px; }
    .nav-links, .nav-right { display: none; }
    .nav-mobile-btn { display: block; }
    .fml-main { padding: 0 16px; margin: 20px auto; }
    .page-header { padding: 20px 16px; }
    .home-grid { grid-template-columns: 1fr 1fr; }
    .form-card { margin: 20px 16px; padding: 24px; }
    .fml-footer { padding: 20px 16px; }
}
