:root {
  /* Repair Care Catalogue (1 december 2026): de kleuren van Repair Care Flow. Lichtgrijs canvas, bijna zwarte tekst, groen als accent. */
  --green: #127a3f; --dark: #1d1d1f; --ink: #1d1d1f; --muted: #626267; --line: #e5e5ea;
  --bg: #f5f5f7; --yellow: #ffdc00; --paper: #fff; --panel: 420px; --top: 68px;
  /* De stappen staan op een laptop in de kop (geen eigen balk meer) en op een smal scherm onderaan. */
  --stappen: 0px; --boven: calc(var(--top) + var(--stappen)); --onder: 0px;
  --vlak: #f0f0f3; --vlak-hover: #e8e8ed; --rand-zacht: rgba(0, 0, 0, .07);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; color: var(--ink); background: var(--bg); }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button:focus-visible, a:focus-visible { outline: 3px solid #1aa052; outline-offset: 2px; }

/* Balk bovenin */
header.top { position: fixed; top: 0; left: 0; right: 0; height: var(--top); background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px; padding: 0 20px; z-index: 40; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--green); letter-spacing: .02em; font-size: 15px; white-space: nowrap; text-decoration: none; }
.brand-logo { display: block; width: 128px; height: auto; flex-shrink: 0; }
.context { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #f6faf7; font-weight: 700; white-space: nowrap; }
.link-button { border: 0; background: none; padding: 0; color: var(--green); font-weight: 600; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.actions { display: flex; gap: 8px; align-items: center; }
.btn { height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid #c4d9ca; background: #fff; color: #145a34; font-weight: 700; white-space: nowrap; }
.btn:hover:not(:disabled) { background: #edf6ef; }
.btn.primary { background: var(--yellow); border-color: #edcb00; color: #183c2b; }
.btn.primary:disabled { background: #fff3a8; border-color: #f0dc6a; color: #5c5a3a; opacity: 1; }
.btn.primary:hover:not(:disabled) { background: #f3d000; }
.btn.quiet { border-color: transparent; background: transparent; color: var(--muted); }
.btn.btn-small { height: 34px; padding: 0 12px; font-size: 13px; }

/* Meldingen */
.notice { position: fixed; top: auto; bottom: calc(var(--onder) + 20px); left: var(--melding-midden, 50%); transform: translateX(-50%); z-index: 55; display: flex; gap: 12px; align-items: center;
  max-width: min(720px, calc(100vw - 2 * var(--melding-rand, 16px))); padding: 10px 14px; border-radius: 10px; font-weight: 600; box-shadow: 0 8px 24px #103b2926; }
.notice[hidden] { display: none; }
.notice.error { background: #fdecea; color: #7d1f1a; border: 1px solid #f2c3bf; }
.notice.success { background: #eaf4ed; color: var(--dark); border: 1px solid #c4d9ca; }
#import-date.warn { color: #5c4a00; background: #fff6cc; border: 1px solid #f0dc6a; border-radius: 6px; padding: 8px 10px; font-weight: 600; }
/* Staat er een fout en een melding die moet blijven, dan staat de melding erboven in plaats van eroverheen. */
.notice.error:not([hidden]) + .notice.success { bottom: calc(var(--onder) + 20px + var(--fout-hoogte, 60px)); }
.notice button { border: 0; background: none; font-size: 18px; line-height: 1; color: inherit; }
.toast { position: fixed; left: var(--melding-midden, 50%); right: auto; bottom: calc(var(--onder) + 100px); translate: -50% 0; background: var(--dark); color: #fff; padding: 12px 16px; border-radius: 10px; font-weight: 700;
  box-shadow: 0 8px 24px #103b2940; opacity: 0; transform: translateY(8px); transition: .2s; z-index: 60; pointer-events: none; }
.toast.show { opacity: 1; transform: none; }

/* Miniaturen, pagina's en paneel */
/* Miniaturenbalk links: breder op verzoek van Ralf (30 oktober), was 96 px. */
.layout { --miniaturen: 176px; position: fixed; top: var(--boven); left: 0; right: 0; bottom: var(--onder); display: grid; grid-template-columns: var(--miniaturen) 1fr; }
.layout.is-open { grid-template-columns: var(--miniaturen) 1fr var(--panel); }
.thumbs { border-right: 1px solid var(--line); background: #fff; overflow: auto; scrollbar-gutter: stable; padding: 12px 12px; }
.thumbs button { display: block; width: 100%; border: 2px solid transparent; border-radius: 10px; background: transparent; padding: 8px 6px 5px; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; }
.thumbs img { display: block; width: 100%; aspect-ratio: 595.276 / 841.89; border: 1px solid var(--line); box-shadow: 0 2px 6px #133b2514; background: #fff; margin-bottom: 3px; }
.thumbs button:hover { background: #f3f8f4; border-color: #9fc7ad; color: var(--ink); }
.thumbs button:hover img { box-shadow: 0 4px 12px #133b2533; }
.thumbs button.is-current { border-color: var(--green); color: var(--green); background: #eaf4ed; }
.pages { overflow: auto; padding: 28px 0 60px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { .pages { scroll-behavior: auto; } .toast, .voortgang-balk span { transition: none; } }
.pages-status { text-align: center; color: var(--muted); font-weight: 600; margin: 80px 16px; }
.page { width: min(860px, calc(100% - 60px)); margin: 0 auto 28px; }
.page-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; font-weight: 700; padding: 0 2px 6px; }
.page-bar strong { color: var(--ink); }
.page-bar .link-button { font-weight: 700; }
/* Een weggehaalde pagina: alleen een smalle grijze balk op de plek waar ze stond. */
.verborgen-pagina { width: min(860px, calc(100% - 60px)); margin: -10px auto 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border: 1px dashed #b7c7bc; border-radius: 8px; background: #e3ebe5; color: var(--muted); font-size: 13px; font-weight: 700; }
.verborgen-pagina .link-button { font-size: 13px; font-weight: 700; }
.paper { position: relative; aspect-ratio: 595.276 / 841.89; background: #fff; box-shadow: 0 10px 30px #133b2526; border: 1px solid #cfe0d5; }
.paper img { display: block; width: 100%; height: 100%; }
.kaders { position: absolute; inset: 0; }
.kader { position: absolute; border: 2px solid transparent; border-radius: 4px; background: transparent; padding: 0; transition: border-color .12s, background-color .12s; }
.kader:hover { border-color: #1aa052; background: #1aa05212; }
.kader.is-selected { border-color: var(--green); background: #00763114; box-shadow: 0 0 0 3px #00763122; }
.kader.is-locked { border: 1.5px dashed transparent; cursor: not-allowed; }
.paper:hover .kader.is-locked { border-color: #b7c7bc; }
.kader.is-locked:hover { border-color: #9db3a3; background: #9db3a318; }
.kader-open-info:hover { background: #1aa0520a; }
/* Zolang de muis boven de pagina is, zijn alle aanklikbare kaders licht zichtbaar. */
.paper:hover .kader:not(.is-locked):not(.is-selected) { border-color: #1aa05245; }
/* Het aangewezen vak wordt duidelijker, niet vager (designreview 2 november). */
.paper:hover .kader:not(.is-locked):not(.is-selected):hover { border-color: #1aa052; }
.paper .kader.is-leeg { border-color: #7a9784; }
.paper .kader.is-leeg:hover { border-color: var(--green); background: #eaf4edee; color: var(--green); }
.kader-tekst:hover, .kader-afbeelding:hover { border-color: #1aa052; }
.kader-add { border: 2px dashed #9fc7ad; background: #f6faf7cc; color: var(--green); font-weight: 800; font-size: 15px; }
.kader-add:hover { border-color: var(--green); background: #eaf4edee; }
/* Volgorde slepen: het vak zelf sleept mee als afbeelding, de oude plek en het doel krijgen kleur, een groene streep toont waar het komt. */
body.is-slepen, body.is-slepen * { cursor: grabbing !important; user-select: none; }
.sleep-schim { position: fixed; z-index: 60; overflow: hidden; border: 3px solid var(--green); border-radius: 8px; background: #fff; box-shadow: 0 16px 44px #103b2966; pointer-events: none; }
.sleep-schim canvas { display: block; width: 100%; height: 100%; }
.sleep-schim::after { content: ''; position: absolute; inset: 0; background: #00763126; }
.sleep-schim.is-tekst { display: flex; align-items: center; padding: 0 14px; background: #eaf4ed; color: var(--dark); font-size: 14px; font-weight: 700; white-space: nowrap; }
.kader-product.is-gesleept { background: #0076312e; border-color: var(--green); }
.kader-product.is-doel { background: #1aa05226; border-color: #1aa052; }
.sleep-lijn { position: absolute; height: 0; border-top: 4px solid var(--green); border-radius: 2px; transform: translateY(-2px); pointer-events: none; box-shadow: 0 0 0 2px #fff; }
.toevoegen-strook { width: min(860px, calc(100% - 60px)); margin: -10px auto 28px; display: flex; justify-content: center; padding: 14px;
  border: 2px dashed #9fc7ad; border-radius: 8px; background: #f6faf7; }
.toevoegen-strook .btn { color: var(--green); font-weight: 800; }
.hint { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); background: var(--dark); color: #fff; padding: 9px 14px; border-radius: 999px;
  font-weight: 700; font-size: 13px; box-shadow: 0 6px 18px #103b2940; pointer-events: none; white-space: nowrap; }
.hint::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: var(--dark); transform: translateX(-50%) rotate(45deg); }
.panel { border-left: 1px solid var(--line); background: #fff; overflow: auto; }
.panel[hidden], .popover[hidden] { display: none; }
.paper img.is-verversen { opacity: .6; transition: opacity .15s; }
.panel-form { display: flex; flex-direction: column; min-height: 100%; }
.panel-form[hidden], .panel-body [hidden] { display: none; }
.panel-head { position: sticky; top: 0; z-index: 2; background: #fff; padding: 18px 22px 12px; border-bottom: 1px solid var(--line); }
.panel-head .kicker { margin: 0; color: var(--green); font-size: 12px; font-weight: 700; }
.panel-head h2 { margin: 4px 0 2px; font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
.panel-head p { margin: 0; color: var(--muted); font-size: 13px; }
.panel-body { padding: 16px 22px 10px; flex: 1; }
.panel-body label { display: block; margin-bottom: 13px; font-weight: 700; font-size: 12px; color: #2a4a38; }
.panel-body input, .panel-body textarea { display: block; width: 100%; margin-top: 5px; padding: 10px 11px; border: 1px solid #7a9784; border-radius: 7px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; }
.panel-body textarea { resize: vertical; }
.panel-body textarea#f-description { min-height: 120px; }
.panel-body textarea#info-text-area { min-height: 240px; }
.panel-body .original { margin: -6px 0 8px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
#info-image-field .photo { align-items: flex-start; }
#info-image-field .photo img { width: 120px; height: 150px; }
.panel-body input:focus-visible, .panel-body textarea:focus-visible { outline: 3px solid #1aa052; outline-offset: 1px; }
.panel-body .count { font-weight: 500; color: var(--muted); font-size: 12px; margin: -9px 0 8px; }
.panel-body p.count[hidden], .field-error[hidden] { display: none; }
/* Kop boven de omschrijving: het label links, de vetknop rechts. */
.veld-kop { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.veld-kop label { margin: 0; }
.panel-body .btn.btn-mini { height: 28px; padding: 0 10px; font-size: 12px; font-weight: 600; color: var(--green); }
.btn-mini b { font-weight: 800; font-size: 13px; margin-right: 5px; }
.panel-body #description-count { margin: 5px 0 12px; }
/* Leesvoorbeeld van de omschrijving: een rustig vlak zonder rand, groene nadruk zoals in de catalogus (bestaande passages en eigen **vet**). */
.description-preview { margin: 0 0 14px; padding: 9px 12px 10px; border-radius: 7px; background: #f3f8f4; font-size: 13px; line-height: 1.5; color: #646566; overflow-wrap: anywhere; }
.description-preview::before { content: 'How it appears in the catalogue'; display: block; margin-bottom: 4px; font-size: 11px; font-weight: 600; color: var(--muted); }
.description-preview b { color: #007a33; font-weight: 700; }
.description-preview:empty { display: none; }
.field-error { margin: -6px 0 13px; color: #a32924; font-size: 12px; font-weight: 700; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.photo { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #f6faf7; margin-bottom: 14px; }
.photo img { width: 44px; height: 60px; object-fit: contain; border-radius: 5px; background: #fff; border: 1px solid var(--line); flex: none; }
.photo p { margin: 0 0 6px; font-size: 12px; color: var(--muted); }
.photo .quality { margin: 6px 0 0; }
.photo .btn { height: 34px; }
.photo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.order { display: flex; align-items: center; gap: 8px; margin: 4px 0 14px; font-size: 12px; font-weight: 700; color: #2a4a38; }
.order span { margin-right: auto; }
.order .btn { height: 34px; }
.link-button.danger { color: #a32924; font-size: 12px; font-weight: 700; }
/* Weghalen als echte knop, rood omrand (Ralf, 2 november: "dit is nu niet echt een knop"). */
.btn.danger { color: #a32924; border-color: #e6bcb9; background: #fff; }
.btn.danger:hover:not(:disabled) { background: #fbefee; border-color: #d48e89; }
.panel-foot { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 14px 22px; display: flex; gap: 8px; }
.panel-foot .btn { flex: 1; }
.popover { position: fixed; top: calc(var(--boven) + 8px); right: 20px; width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 40px #133b2533; padding: 16px 18px; z-index: 45; }
.popover h2 { margin: 0 0 4px; padding-right: 34px; font-size: 16px; }
/* Kruisje rechtsboven in elk venster en paneel: sluit zoals Cancel of Back (Ralf, 2 november). */
.sluit { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted);
  font-size: 22px; line-height: 30px; text-align: center; }
.sluit:hover { background: #edf6ef; color: var(--ink); }
.panel-head .sluit { top: 14px; right: 16px; }
.panel-head h2, .add-dialog h2 { padding-right: 34px; }
.popover-intro { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
/* Venster Pagina's (Ralf, 3 november: "kan dit wat mooier? qua design?"): een lijst met paginanummers, tegels om toe te voegen,
   en de instellingen onder een eigen kopje. */
#pop-pages { width: 400px; }
.pages-kop { margin: 18px 0 8px; font-size: 12px; font-weight: 800; color: #2a4a38; }
.pages-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pages-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-top: 1px solid var(--line); }
.pages-list li:first-child { border-top: 0; }
.page-nummer { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #e7f2ea; color: var(--green); font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.page-tekst { display: grid; min-width: 0; }
.page-tekst strong { font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-tekst small { font-size: 12px; color: var(--muted); }
.pages-list li.is-hidden { background: #f6f8f7; }
.pages-list li.is-hidden .page-nummer { background: transparent; border: 1px dashed #b9cbbf; color: var(--muted); }
.pages-list li.is-hidden strong { color: var(--muted); font-weight: 600; }
.page-knop { height: 30px; padding: 0 11px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.page-knop:hover:not(:disabled) { border-color: #e6bcb9; background: #fbefee; color: #a32924; }
.page-knop.is-terug { border-color: #c4d9ca; background: #fff; color: var(--green); }
.page-knop.is-terug:hover:not(:disabled) { border-color: var(--green); background: #edf6ef; color: var(--green); }
.pages-callout { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff7d1; border: 1px solid #ecd77a; }
.pages-callout p { margin: 0; font-size: 13px; font-weight: 600; color: #5c4a00; }
.pages-callout[hidden] { display: none; }
.add-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.add-tile { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid #c4d9ca; border-radius: 10px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.add-tile:hover:not(:disabled) { border-color: var(--green); background: #f3f9f5; }
.add-tile:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.add-tile > span:last-child { display: grid; min-width: 0; }
.add-tile strong { font-size: 13px; }
.add-tile small { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.add-tile-icoon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 8px; background: #e7f2ea; color: var(--green); }
.add-tile-icoon svg { width: 20px; height: 20px; }
.template-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.template-chips button { height: 30px; padding: 0 11px; border: 1px dashed #9fbaa8; border-radius: 999px; background: #fff; color: var(--green); font-size: 12.5px; font-weight: 700; }
.template-chips button:hover:not(:disabled) { border-style: solid; border-color: var(--green); background: #edf6ef; }
/* Pagina's uit een PDF kiezen: kleine voorbeelden met een vinkje. */
.pdf-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; max-height: 46vh; overflow: auto; padding: 2px; }
.pdf-page { position: relative; display: grid; gap: 4px; justify-items: center; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--muted); }
.pdf-page:has(input:checked) { border-color: var(--green); background: #f1f8f3; color: var(--ink); }
.pdf-page input { position: absolute; top: 6px; left: 6px; margin: 0; }
.pdf-page img { width: 100%; height: auto; border: 1px solid var(--line); background: #fff; }
#pdf-choose[hidden] { display: none; }
#pdf-choose .pick-tools { align-items: baseline; }
#pdf-choose .pick-tools .count { margin: 0 auto 0 0; }
.layout-form { padding-top: 0; }
.layout-form label { display: block; margin-bottom: 12px; font-weight: 700; font-size: 12px; color: #2a4a38; }
.layout-form input { display: block; width: 100%; margin-top: 5px; padding: 9px 10px; border: 1px solid #7a9784; border-radius: 7px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; }
.layout-form .btn { width: 100%; }
.popover { max-height: calc(100vh - var(--boven) - var(--onder) - 24px); overflow: auto; }
.popover-wide { width: 520px; }
/* De lijst in Check heeft geen nummerkolom zoals de lijst in Pages: tekst links, "Go there" rechts. Sinds het herontwerp van Pages
   (3 november) kwam de tekst in de kolom van 30 px terecht en brak ze per paar letters af (gevonden op 14 november). */
.check-list li { grid-template-columns: minmax(0, 1fr) auto; }
.check-list li span { min-width: 0; overflow-wrap: break-word; }
.check-list li.is-unsaved span { color: #7a5b00; }
#report-link { font-size: 13px; }
/* Excel: drie genummerde stappen; stap 2 en 3 blijven grijs tot het voorstel er is. */
.excel-steps { list-style: none; margin: 0; padding: 0; }
.excel-step { padding: 10px 0; border-top: 1px solid var(--line); }
.excel-step.is-muted .excel-step-head span { color: var(--muted); font-weight: 500; }
.excel-step-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; }
.excel-step-head .link-button { font-size: 13px; font-weight: 700; white-space: nowrap; }
.excel-mapping { margin-top: 10px; }
.excel-mapping p, .excel-note { margin: 0 0 10px; color: var(--muted); font-size: 12px; }
.excel-note[hidden], .excel-mapping[hidden], #excel-review[hidden] { display: none; }
.excel-mapping label { display: block; margin-bottom: 10px; font-weight: 700; font-size: 12px; color: #2a4a38; }
.excel-mapping select { display: block; width: 100%; margin-top: 4px; padding: 8px 9px; border: 1px solid #7a9784; border-radius: 7px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; }
.excel-summary { margin: 8px 0 10px; font-size: 13px; white-space: pre-line; }
.import-list { list-style: none; margin: 0 0 10px; padding: 0; }
.import-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: 13px; }
.import-list li span { min-width: 0; overflow-wrap: anywhere; }
.import-list .link-button { font-size: 12px; white-space: nowrap; }
.country-confirm { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 600; }
.country-confirm input { margin-top: 2px; flex: none; }
#apply-prices { width: 100%; margin-top: 10px; }
.excel-step .country-confirm { margin-top: 8px; }

/* Land en jaar: klein venster onder de pil. */
.popover-left { left: 20px; right: auto; width: 320px; }
.add-dialog label { display: block; margin-bottom: 12px; font-weight: 700; font-size: 12px; color: #2a4a38; }
/* Land en jaar: keuzeknoppen in plaats van uitklaplijsten, met een punt naar de pil in de balk. */
.popover-context { width: 360px; padding: 16px 18px 6px; overflow: visible; }
#ctx-country { max-height: calc(100vh - var(--boven) - 300px); overflow-y: auto; }
.popover-context::before { content: ''; position: absolute; top: -7px; left: var(--caret-left, 26px); width: 12px; height: 12px; background: #fff;
  border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.popover-context .popover-intro { margin-bottom: 14px; }
.choice-field { margin-bottom: 14px; }
.choice-field[hidden] { display: none; }
.choice-label { display: block; margin-bottom: 7px; font-weight: 700; font-size: 12px; color: #2a4a38; }
.choice { display: flex; flex-wrap: wrap; gap: 6px; }
.choice-option { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 13px; border: 1px solid #7a9784; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 600; font-size: 13px; transition: background-color .15s cubic-bezier(.22, 1, .36, 1), border-color .15s, color .15s; }
.choice-option:has(.choice-code) { padding-left: 6px; }
.choice-option:hover { background: #edf6ef; border-color: #9fc7ad; }
.choice-option[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.choice-option[aria-pressed="true"]:hover { background: #00672b; border-color: #00672b; }
.choice-code { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: #e3efe6; color: var(--green);
  font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.choice-option[aria-pressed="true"] .choice-code { background: #ffffff2e; color: #fff; }
.choice-new { border-style: dashed; background: transparent; color: var(--green); }
.choice-small .choice-option { min-height: 32px; padding: 0 11px; font-size: 12px; }
/* Landen onder elkaar (Ralf, 30 oktober): elke rij over de volle breedte. */
.choice-stack { flex-direction: column; align-items: stretch; }
/* Het jaar als uitklaplijst bovenaan in Land en jaar, met Nieuw jaar ernaast (Ralf, 2 november). */
.jaar-rij { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.jaar-keuze { min-width: 130px; min-height: 38px; padding: 0 36px 0 14px; border: 1px solid #7a9784; border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-weight: 700; }
.jaar-keuze:disabled { color: var(--muted); }
/* Een land zonder catalogus voor het gekozen jaar: gestippeld, met de knop om er een te maken. */
.choice-stack .choice-leeg { border-style: dashed; background: #f6faf7; color: var(--muted); cursor: default; }
.choice-leeg .choice-maak { margin-left: auto; font-size: 13px; white-space: nowrap; }
.choice-stack .choice-option { width: 100%; justify-content: flex-start; border-radius: 10px; }
.add-dialog .choice-field { margin: 0 0 10px; }
.choice-new:hover { background: #edf6ef; border-color: #9fc7ad; }
.popover { animation: popover-in .18s cubic-bezier(.22, 1, .36, 1); }
@keyframes popover-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .popover { animation: none; } .choice-option { transition: none; } }
/* Meer: een eenvoudige lijst. Controleren, Excel en Pagina's verschijnen hier pas als de balk ze verbergt. */
.popover-menu { width: 300px; padding: 8px; }
.menu { display: flex; flex-direction: column; }
.menu-item { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: none;
  color: var(--ink); font-weight: 600; text-align: left; }
.menu-item:hover:not(:disabled) { background: #f3f8f4; }
.menu-link { text-decoration: none; box-sizing: border-box; }
.menu-link[hidden] { display: none; }
.menu-item small { color: var(--muted); font-size: 12px; font-weight: 500; }
.menu-item[hidden] { display: none; }
.menu-check { flex-direction: row; align-items: center; gap: 8px; cursor: pointer; border-top: 1px solid var(--line); border-radius: 0; margin-top: 4px; padding-top: 12px; }
.menu-extra { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
/* Product toevoegen */
.add-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px;
  color: var(--ink); box-shadow: 0 20px 50px #133b2540; }
.add-dialog::backdrop { background: #103b2966; }
.add-dialog h2 { margin: 0 0 4px; font-size: 18px; }
.add-dialog input:not([type="checkbox"]), .add-dialog textarea { display: block; width: 100%; margin-top: 5px; padding: 9px 10px; border: 1px solid #7a9784; border-radius: 7px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; }
/* Eigen knop voor de productfoto, zodat de browser niet zijn eigen (vertaalde) knop toont. */
.add-photo { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 12px; color: var(--muted); }
.add-dialog .add-photo + input + .count { margin-top: 0; }
.add-dialog textarea { resize: vertical; }
.add-dialog .count { font-weight: 500; color: var(--muted); font-size: 12px; margin: -8px 0 10px; }
.add-dialog .field-error { margin: 0 0 12px; }
.add-dialog fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; }
.add-dialog fieldset[hidden], .add-dialog input[hidden] { display: none; }
.add-dialog legend { font-weight: 700; font-size: 12px; padding: 0 4px; }
.add-dialog fieldset .count { margin: 0 0 8px; }
.add-dialog .country-confirm { display: flex; margin-bottom: 6px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
/* Product uit ander land en Nieuwe landcatalogus: dezelfde dialoogstijl, met een lijst om uit te kiezen. */
.add-dialog select { display: block; width: 100%; margin-top: 5px; padding: 9px 10px; border: 1px solid #7a9784; border-radius: 7px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; }
.pick-list { display: flex; flex-direction: column; gap: 4px; max-height: 300px; overflow: auto; margin: 0 0 12px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; }
.pick-list button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 8px 10px; border: 0; border-radius: 6px;
  background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.pick-list button:hover:not(:disabled) { background: #f3f8f4; }
.pick-list button:disabled { cursor: default; opacity: .55; }
.pick-list button.is-chosen { background: #eaf4ed; box-shadow: inset 0 0 0 2px var(--green); }
.add-dialog fieldset .link-button { display: inline-block; margin: 0 0 4px; }
.add-dialog fieldset .link-button[hidden] { display: none; }
.pick-list button span { color: var(--muted); font-size: 12px; }
/* Nieuw land: één regel per artikel, met de bronlanden als kleine keuzeknopjes. */
.pick-row { align-items: flex-start; }
.pick-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pick-from { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 500; }
.pick-list .pick-chip { display: inline-flex; flex-direction: row; align-items: center; width: auto; height: 26px; padding: 0 9px; border: 1px solid #c4d9ca; border-radius: 999px;
  background: #fff; color: #145a34; font-size: 11px; font-weight: 700; box-shadow: none; }
.pick-list .pick-chip:hover:not(:disabled) { background: #edf6ef; }
.pick-list .pick-chip.is-chosen { background: var(--green); border-color: var(--green); color: #fff; box-shadow: none; }
.pick-tools { display: flex; gap: 14px; margin: 0 0 8px; }
/* Sjabloonpagina's voor een eigen land in het venster Pages. */
.template-pages { margin: 12px 0 0; }
.template-pages .choice-label { margin-bottom: 4px; }

.template-pages[hidden] { display: none; }
/* Voortgang bij het aanmaken van een land: duidelijk in beeld, met balk (Ralf, 2 november). */
.voortgang { margin: 10px 0 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #f3f8f4; }
.voortgang[hidden] { display: none; }
.voortgang strong { display: block; font-size: 14px; color: var(--ink); }
.voortgang-balk { height: 10px; margin: 8px 0 6px; border-radius: 999px; background: #eee6b8; overflow: hidden; }
.voortgang-balk span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--green); transition: width .25s ease-out; }
.voortgang small { color: var(--muted); font-size: 12px; }
.add-dialog .pick-list .country-confirm { margin: 0; padding: 6px 8px; font-weight: 500; color: var(--ink); }
.pick-list:empty { display: none; }

/* Breedtes gemeten in de browser: alles past vanaf ±1690 px, zonder plaatsaanduiding vanaf ±1460 px. */
@media (max-width: 1480px) {
  .brand-logo { width: 96px; }
}
@media (max-width: 1100px) {
  :root { --boven: var(--top); --onder: 58px; }
  /* De balk mag nooit breder worden dan het scherm: de pil met land en jaar wordt ingekort, de knoppen niet. */
  .brand { flex: none; }
  .context { flex: 0 1 auto; min-width: 0; }
  #context-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .actions { flex: none; margin-left: auto; }
  .layout, .layout.is-open { grid-template-columns: 1fr; }
  .thumbs { display: none; }
  .panel { position: fixed; top: var(--top); right: 0; bottom: var(--onder); width: min(100%, var(--panel)); box-shadow: -10px 0 30px #133b2526; }
  .page, .verborgen-pagina, .toevoegen-strook { width: calc(100% - 28px); }
  .hint { font-size: 12px; }
}
/* Smal scherm: "PDF downloaden" en "Meer" blijven altijd zichtbaar; de pil met land en jaar wordt ingekort.
   "Prijzen uit Excel" en "Pagina’s" verdwijnen hier en staan dan onder "Meer". */
@media (max-width: 760px) {
  .brand-logo { width: 72px; }
  header.top { gap: 8px; padding: 0 12px; }
  .popover-left { left: 12px; }
  .context { padding: 6px 10px; font-size: 13px; }
  .actions { gap: 6px; }
  .popover, .popover-wide { right: 12px; width: calc(100% - 24px); }
  .hint { white-space: normal; width: max-content; max-width: 90%; text-align: center; }
}
@media (max-width: 420px) {
  .actions .btn { padding: 0 10px; }
}

/* Vraagvenster: eigen bevestigingen met de gevolgen erbij, in plaats van browservensters. */
.ask-dialog { width: min(440px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; color: var(--ink); box-shadow: 0 20px 50px #133b2540; }
.ask-dialog::backdrop { background: #103b2966; }
.ask-dialog h2 { margin: 0 0 6px; font-size: 18px; }
.ask-text { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.ask-text[hidden], .ask-dialog label[hidden] { display: none; }
.ask-dialog label { display: block; margin-bottom: 12px; font-weight: 700; font-size: 12px; color: #2a4a38; }
.ask-dialog input { display: block; width: 100%; margin-top: 5px; padding: 9px 10px; border: 1px solid #7a9784; border-radius: 7px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; }
.ask-dialog .field-error { margin: 0 0 12px; }
.btn.danger { background: #b3261e; border-color: #9a1f19; color: #fff; }
.btn.danger:hover:not(:disabled) { background: #9a1f19; }
#layout-unsaved { margin: 10px 0 0; color: #7a5b00; font-weight: 600; }
#layout-unsaved .link-button { font-size: 12px; }

/* Stappenbalk met woorden: vier gelijke vakken, per stap een naam en één zin die zegt wat er staat of wat nu moet. */
.stappen { position: fixed; top: var(--top); left: 0; right: 0; height: var(--stappen); z-index: 39; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-bottom: 1px solid var(--line); }
.stap { display: flex; align-items: flex-start; padding-top: 14px !important; gap: 12px; min-width: 0; padding: 0 18px; border: 0; border-right: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; }
.stap:last-child { border-right: 0; }
.stap:hover { background: #f3f8f4; }
.stap-nummer { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: #dfe9e2; color: var(--muted); font-size: 13px; font-weight: 800; }
.stap.is-done .stap-nummer { background: var(--green); color: #fff; font-size: 0; }
/* Het vinkje is een SVG in de HTML (geen lettertype-teken en geen gedraaid randje): Safari zette die allebei scheef (Ralf, 30 en 31 oktober). */
.stap-nummer { position: relative; }
.stap-nummer .vink { display: none; position: absolute; left: 50%; top: 50%; width: 15px; height: 15px; transform: translate(-50%, -50%); fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.stap.is-done .stap-nummer .vink { display: block; }
.stap.is-now { background: #fff6cc; }
.stap.is-now:hover { background: #fff0a8; }
.stap.is-now .stap-nummer { background: var(--yellow); color: #3b3000; }
.stap.is-ready .stap-nummer { background: var(--yellow); color: #3b3000; }
.stap-tekst { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.stap-naam { font-weight: 800; font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stap-kort { display: none; font-size: 11px; font-weight: 800; }
.stap-uitleg { font-size: 12px; line-height: 1.2; color: var(--muted); font-weight: 500; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.stap.is-now .stap-uitleg { color: #5c4a00; }

/* Zonder catalogus voor dit land: één kaart midden in beeld met alleen "Create a new year" (de taken zelf staan in het menu Start). */
.startkaart { max-width: 420px; margin: 0 auto; padding: 18px 20px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px #133b2514; text-align: left; font-weight: 500; }
.startkaart h2 { margin: 0 0 4px; font-size: 18px; }
.startkaart > p { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.start-taken { display: grid; gap: 10px; }
.start-taak { display: flex; flex-direction: column; gap: 6px; }
.start-knop { width: 100%; }
.start-uitleg { color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.35; }
/* Het menu Start: iets breder dan More, want elke taak heeft een regel uitleg. */
.popover-start { width: 340px; }
/* Kaders even laten zien als de gebruiker "Een product aanpassen" kiest. */
.paper.is-tonen .kader:not(.is-locked) { border-color: #1aa052; background: #1aa05210; }
/* Smal scherm: de stappenbalk staat onderaan met alleen cirkel en korte naam (na de basisregels, zodat ze winnen). */
@media (max-width: 1100px) {
  .stappen { top: auto; bottom: 0; height: var(--onder); border-top: 1px solid var(--line); border-bottom: 0; box-shadow: 0 -6px 18px #103b2914; }
  .stap { flex-direction: column; justify-content: center; gap: 3px; padding: 6px 4px; }
  .stap-naam, .stap-uitleg { display: none; }
  .stap-kort { display: block; }
}

/* Tabbladen in Product toevoegen */
.tabs { display: flex; flex-wrap: wrap; gap: 2px; margin: 0 0 14px; border-bottom: 1px solid var(--line); }
.tabs[hidden] { display: none; }
.tab { padding: 8px 12px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-weight: 700; font-size: 13px; }
.tab[hidden] { display: none; }
.tab:hover { color: var(--ink); background: #f3f8f4; border-radius: 6px 6px 0 0; }
.tab.is-selected { color: var(--green); border-bottom-color: var(--green); }
.tabpanel { margin-bottom: 12px; }
.tabpanel[hidden] { display: none; }
.add-clear { display: block; margin: 0 0 12px; }
.add-clear[hidden] { display: none; }
#add-price-hint { margin-top: -8px; }
/* Paneel: volgorde, andere landen en verwijderen bij elkaar onderaan */
.panel-tools { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.also { margin: 4px 0 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #f6faf7; }
.also[hidden] { display: none; }
.also > span { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; color: #2a4a38; }
.also .btn { margin: 0 6px 6px 0; }
.ctx-delete { display: block; margin-top: 10px; font-size: 12px; }
.ctx-delete[hidden] { display: none; }
/* De pil: voluit op een laptop, kort op een telefoon */
.ctx-kort { display: none; }
@media (max-width: 760px) {
  #context-text { display: none; }
  .ctx-kort { display: inline; }
}

/* Bezig-teken in de kop en op een pagina die wordt bijgewerkt */
.busy { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.busy[hidden] { display: none; }
/* Groot bezig-vlak midden boven de catalogus, zolang een taak loopt (Ralf, 2 november: "nu zie je niks" bij verplaatsen). */
.bezig-vlak { position: fixed; top: calc(var(--boven) + 16px); left: var(--melding-midden, 50%); transform: translateX(-50%); z-index: 46; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px; background: var(--dark); color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 10px 30px #103b2955; white-space: nowrap; pointer-events: none; }
.bezig-vlak[hidden] { display: none; }
.bezig-vlak .spinner { width: 18px; height: 18px; border-color: #ffffff55; border-top-color: #fff; }
/* Draaiend tandwiel tot de verplaatste producten echt op hun nieuwe plek staan (Ralf, 2 november). */
/* Het tandwiel is opgebouwd uit zes EASY•Q RVS modelleermessen van 3 cm: groene greep als naaf, de stalen bladen als tanden (Ralf, 2 november). */
.tandwiel { width: 28px; height: 28px; margin: -4px 0; flex: none; animation: spin 2.4s linear infinite; filter: drop-shadow(0 1px 1px #0005); }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #c4d9ca; border-top-color: var(--green); animation: spin .8s linear infinite; flex: none; }
.pages-status .spinner { display: inline-block; width: 18px; height: 18px; margin-right: 10px; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
.paper.is-bezig::after { content: 'Updating page…'; position: absolute; left: 50%; top: 10px; transform: translateX(-50%); padding: 5px 11px; border-radius: 999px;
  background: var(--dark); color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 6px 18px #103b2940; pointer-events: none; z-index: 2; }
/* Tijdelijke weergave van getypte tekst in het productvak (verdwijnt zodra de echte pagina er is) */
.paper { container-type: inline-size; }
.concept { position: absolute; z-index: 1; padding: .4cqw .7cqw; border-radius: 4px; background: #fffbe6f2; border: 1px dashed #e0c94a; color: #707172; overflow: hidden; pointer-events: none;
  font-family: "Klavika", "Segoe UI", -apple-system, sans-serif; font-size: 1.5cqw; line-height: 1.25; }
.concept b { display: block; color: #009037; font-size: 2.7cqw; line-height: 1.1; margin: 0 0 .5cqw; }
.concept-tekst strong { color: #009037; font-weight: 700; }
.concept-label { position: absolute; right: .8cqw; bottom: .5cqw; font-size: 1.2cqw; font-weight: 700; color: #8a6d00; text-transform: uppercase; letter-spacing: .04em; }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } .tandwiel { animation-duration: 6s; } }
@media (max-width: 1100px) { .busy #busy-text { display: none; } }
/* Eigen pagina vullen vanaf de website (Ralf, 2 november): het veld boven in het paneel, het voorstel in een venster. */
.web-field { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.web-field .count { margin: -4px 0 10px; }
.web-field .btn { height: 36px; }
.web-dialog textarea { min-height: 220px; }
.web-dialog .web-photo img { width: 90px; height: 120px; }
.web-dialog .web-photo p { margin-bottom: 8px; }
.add-dialog img[hidden] { display: none; }
.import-list .import-link { max-width: 220px; padding: 4px 6px; border: 1px solid #7a9784; border-radius: 6px; font: inherit; font-size: 12px; color: var(--ink); background: #fff; }
.check-all { width: 100%; margin: 0 0 10px; }
.check-all[hidden] { display: none; }
.excel-keep { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #f3f8f4; font-size: 13px; }
.excel-keep[hidden], #use-suggestions[hidden] { display: none; }
.excel-keep p { margin: 0; }
#use-suggestions { margin: 0 0 8px; }
/* UX-review 2 november */
body.paneel-open { --melding-midden: calc((100vw - var(--panel)) / 2 + 88px); }
body:not(.paneel-open) { --melding-midden: calc(50vw + 88px); }
.panel-body input[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 2px #b3261e22; }
.also-present { display: inline-flex; align-items: center; height: 34px; padding: 0 4px; color: var(--green); font-size: 13px; font-weight: 700; }
.kader[data-kind="product"]:not(.is-locked) { cursor: grab; }
.kader.is-leeg { display: grid; place-items: center; border: 1.5px dashed #7a9784; background: #f6faf7cc; color: var(--muted); font-size: 13px; font-weight: 700; }
.add-dialog .dialog-actions { position: sticky; bottom: -20px; margin: 8px -22px -20px; padding: 12px 22px 16px; background: #fff; border-top: 1px solid var(--line); }
.ask-dialog input:focus-visible, .add-dialog input:focus-visible, .add-dialog textarea:focus-visible, .add-dialog select:focus-visible, .excel-mapping select:focus-visible { outline: 3px solid #1aa052; outline-offset: 1px; }
.context .link-button { padding: 6px 4px; margin: -6px -4px; }
.notice-action { min-height: 30px; padding: 0 12px; border: 1px solid #9fc7ad !important; border-radius: 8px; background: #fff !important; color: #145a34 !important; font-size: 13px !important; font-weight: 700; }
.notice #close-message, .notice #close-error { min-width: 30px; min-height: 30px; }
.notice > span:first-child { flex: 1; }
.notice-action[hidden] { display: none; }
.context { cursor: pointer; }
.pick-row label { font-weight: 600; font-size: 13px; color: var(--ink); cursor: pointer; margin: 0; }
.market-presets { flex-wrap: wrap; }
/* Designreview 2 november */
@media (max-width: 1100px) {
  body:not(.paneel-open) { --melding-midden: 50vw; }
  body.paneel-open { --melding-midden: calc((100vw - var(--panel)) / 2); }
  body.paneel-open .notice, body.paneel-open .toast { max-width: calc(100vw - var(--panel) - 32px); }
}
body.paneel-open .notice { max-width: min(720px, calc(100vw - var(--panel) - 176px - 32px)); }
.btn.btn-mini { height: 28px; padding: 0 10px; font-size: 12px; font-weight: 600; }
#market-products.pick-list { max-height: none; overflow: visible; }
.pick-from { display: grid; grid-template-columns: auto 1fr; align-items: start; column-gap: 8px; }
.pick-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.add-dialog input:not([type="checkbox"]), .add-dialog select, .ask-dialog input, .layout-form input, .excel-mapping select, .panel-body input { min-height: 36px; }
.check-reden { color: var(--muted); font-weight: 500; }
.excel-step-head .btn { height: 32px; }
/* Bovenbalk: één rij gelijke knoppen (Ralf, 2 november: "hier nog niet tevreden over"). */
.context { height: 40px; padding: 0 12px 0 14px; gap: 8px; border: 1px solid #c4d9ca; border-radius: 8px; background: #fff; color: var(--ink); }
.context:hover { background: #edf6ef; }
.ctx-pijl { border: 0; background: none; padding: 0 2px; margin: 0; color: #145a34; font-size: 12px; line-height: 1; cursor: pointer; }
#btn-start span { font-size: 12px; }
.download-wrap { display: inline-flex; }
#download:disabled { background: #eef2ef; border-color: #d3ddd6; color: #5f7366; pointer-events: none; }
.download-wrap:has(#download:disabled) { cursor: help; }
@media (min-width: 1101px) { .context + .busy[hidden] + .actions, .context + .actions { margin-left: -8px; } }
.excel-add-all { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #f3f8f4; font-size: 13px; }
.excel-add-all[hidden] { display: none; }
.excel-add-all p { margin: 0 0 10px; }
.kader-product.is-vast { border-color: var(--green); background: #00763114; cursor: grabbing; }
body.is-slepen, body.is-slepen * { cursor: grabbing !important; }
.sleep-lijn { border-top-width: 5px; }
#market-pricelist[hidden], #market-range[hidden] { display: none; }
#market-pricelist .pick-tools { align-items: center; gap: 10px; }
#market-pricelist-items:empty { display: none; }
/* Ruimte tussen knop en uitleg (Ralf, 2 november: "dit staat te dicht op elkaar"). */
#market-pricelist .pick-tools { margin: 6px 0 0; }
#market-file-note { margin: 12px 0 12px; }
/* De prijslijst als tabel: nummer, naam met herkomst, prijs. */
.pl-lijst { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pl-lijst li { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 4px 14px; align-items: start; padding: 9px 12px; border-top: 1px solid var(--line); }
.pl-lijst li:first-child { border-top: 0; }
.pl-lijst li:nth-child(even) { background: #f7faf8; }
.pl-lijst .pl-kop { padding: 7px 12px; background: #eef4f0; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: none; }
.pl-lijst .pl-kop span:last-child { text-align: right; }
.pl-code { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }
.pl-naam { font-weight: 600; color: var(--ink); }
.pl-bron { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 500; color: var(--green); }
.pl-bron.is-leeg { color: #8a6d00; }
.pl-prijs { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); text-align: right; white-space: nowrap; }
/* Tijdens het maken: alleen de voortgang, groot en met het draaiende tandwiel. */
#market-form.is-bezig > :not(#market-progress):not(h2):not(.dialog-actions) { display: none; }
#market-form.is-bezig .voortgang { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; margin: 18px 0; padding: 18px; }
#market-form.is-bezig .voortgang .tandwiel { grid-row: span 3; width: 44px; height: 44px; margin: 0; }
#market-form.is-bezig .voortgang strong { font-size: 16px; }
#market-form.is-bezig .voortgang-balk, #market-form.is-bezig .voortgang small { grid-column: 2; }
#market-form.is-bezig #market-cancel { display: none; }

/* Review november */
/* Een overgenomen product dat nog op controle staat: gele regel bovenin het paneel met "Mark as checked". */
.review-bar { margin: 0 0 14px; padding: 10px 12px; border: 1px solid #ecd77a; border-radius: 10px; background: #fff7d1; }
.review-bar[hidden], .check-advice[hidden] { display: none; }
.review-bar p { margin: 0 0 10px; font-size: 13px; font-weight: 600; line-height: 1.4; color: #5c4a00; }
/* Advies onder Check (aantal pagina's): neutraal, het is geen controlepunt. */
.check-advice { margin: 12px 0 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #f6f8f7; }
.check-advice p { margin: 0 0 10px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.check-list:empty { display: none; }
/* "Also in another country": een land dat dit jaar nog niet heeft, met de reden eronder. */
.also-reden { display: block; margin: -2px 0 6px; font-size: 12px; line-height: 1.35; color: var(--muted); }
/* De hint op de omslag, rechts in de paginabalk. */
.page-hint { color: var(--green); font-weight: 700; text-align: right; }
.pages-list li.is-notities strong { font-weight: 600; }

/* Telefoon (review november): de bovenbalk past zonder overlap, de stappenbalk snijdt de namen niet af, het paneel heeft aanraakdoelen van 44 px. */
@media (max-width: 1100px) {
  :root { --onder: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .stappen { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .stap { padding-top: 6px !important; }
}
@media (max-width: 760px) {
  /* De pijl in de pil is zelf groot genoeg om aan te tikken. */
  .context { padding: 0 2px 0 12px; gap: 2px; }
  .ctx-pijl { min-width: 32px; height: 38px; padding: 0; font-size: 13px; }
  .panel .btn, .panel .btn.btn-small, .panel-body .btn.btn-mini, .photo .btn, .order .btn, .web-field .btn { height: auto; min-height: 44px; }
  .panel-body input, .panel-body textarea { min-height: 44px; }
  .panel .link-button { display: inline-flex; align-items: center; min-height: 44px; }
  .panel-head .sluit { width: 44px; height: 44px; top: 8px; right: 8px; line-height: 44px; }
  .panel-head h2 { padding-right: 44px; }
}
@media (max-width: 420px) {
  header.top { gap: 6px; padding: 0 10px; }
  .brand-logo { width: 56px; }
  .dl-woord { display: none; }
}
/* Venster Download: twee keuzes onder elkaar, elk met een kop, één zin uitleg en een knop. */
.download-choices { display: grid; gap: 10px; margin: 0 0 12px; }
.download-choice { padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.download-choice h3 { margin: 0 0 4px; font-size: 14px; }
.download-choice p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.download-note { margin: 0 0 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #f6f8f7; font-size: 13px; }
.download-report { margin: 0; font-size: 12px; color: var(--muted); }
.download-report .link-button { display: block; width: fit-content; margin: 0 0 3px; font-size: 13px; }
/* Venster Add product: het laatste blok ("Also add to") niet half achter de vaste knoppenbalk. */
.add-dialog fieldset { margin-bottom: 14px; }

/* ==== Repair Care Catalogue (Ralf, 1 december 2026) ====
   De stijl van Repair Care Flow, maar met alles in één bovenbalk zodat de catalogus zo groot mogelijk in beeld blijft
   ("het is juist zo fijn dat je nu de hele catalogus kan zien op het scherm"). Deze laag staat bewust onderaan en wint
   daardoor van de oudere regels hierboven. */
body { background: var(--bg); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif; }
header.top { height: var(--top); padding: 0 24px; gap: 14px; background: #fff; border-bottom: 1px solid var(--rand-zacht); }
.brand { gap: 10px; color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
/* Alleen het beeldmerk, zonder de naam ernaast, net als in Flow (Ralf, 1 december); de naam staat in het label voor schermlezers. */
.brand-logo { width: 36px; height: 36px; }
/* Knoppen: rond, grijs; de hoofdknop groen. */
.btn { border: 0; border-radius: 999px; background: var(--vlak-hover); color: var(--ink); font-weight: 600; }
.btn:hover:not(:disabled) { background: #dedee3; }
.btn.primary { border: 0; background: var(--green); color: #fff; }
.btn.primary:hover:not(:disabled) { background: #0f6a36; }
.btn.primary:disabled, #download:disabled { background: var(--vlak); color: #8e8e93; }
.btn.quiet { background: transparent; color: var(--muted); }
.btn.danger { background: #fff; color: #b3261e; box-shadow: inset 0 0 0 1px #e6bcb9; }
.btn.danger:hover:not(:disabled) { background: #fbefee; }
.panel-body .btn.btn-mini, .btn.btn-mini { background: var(--vlak); color: var(--green); }
.context { border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); color: var(--ink); font-weight: 600; }
.context:hover { background: #fafafa; }
.ctx-pijl { color: var(--ink); }
.link-button { color: var(--green); }
/* Optie C (Ralf, 2 december 2026): in de kop alleen "Step 3 of 5", een voortgangsbalk van vijf stukjes en "All steps";
   eronder de taakstrook met de stap van nu, één zin uitleg en de knoppen. De strook is in te klappen (body.taak-dicht).
   --boven staat op body, zodat het inklappen de hoogte van het werkvlak meteen mee verandert. */
.stap-pijl, .stap-teller, .btn-alle, .btn-taak-tonen { display: none; }
body { --taak: 60px; --boven: calc(var(--top) + var(--taak)); }
body.taak-dicht { --taak: 0px; }
.taak { position: fixed; top: var(--top); left: 0; right: 0; height: var(--taak); z-index: 38; display: flex; align-items: center; gap: 14px; padding: 0 16px 0 24px;
  background: #fff; border-bottom: 1px solid var(--rand-zacht); }
.taak[hidden] { display: none; }
.taak-nr { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-size: 14px; font-weight: 700; }
.taak-tekst { min-width: 0; }
.taak-tekst h2 { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); }
.taak-tekst p { margin: 1px 0 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.taak-knoppen { display: flex; gap: 8px; margin-left: auto; flex: none; }
.taak-knoppen .btn { height: 38px; padding: 0 16px; font-size: 14px; }
.taak-inklap { display: grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #8e8e93; cursor: pointer; }
.taak-inklap:hover { background: var(--vlak); color: var(--ink); }
.taak-inklap svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1101px) {
  #context-pill, #download-wrap { display: none; }
  .stap-teller { display: block; margin-left: auto; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
  .stappen { position: static; display: flex; align-items: center; height: auto; margin: 0; padding: 0; gap: 4px; border: 0; background: transparent; box-shadow: none; z-index: auto; }
  .stap { display: block; width: 44px; height: 28px; padding: 0 !important; border: 0; border-radius: 6px; background: transparent; box-shadow: none; }
  .stap > * { display: none; }
  .stap::before { content: ''; display: block; height: 6px; border-radius: 6px; background: #e5e5ea; }
  .stap:hover, .stap.is-now, .stap.is-now:hover { background: transparent; box-shadow: none; }
  .stap:hover::before { background: #d1d1d6; }
  .stap.is-done::before { background: var(--green); }
  .stap.is-now::before { background: #7cc49a; }
  /* De stap die je bekijkt (gekozen in de balk of in All steps): een donkere rand om het stukje. */
  .stap.is-bekeken::before { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
  .stap:focus-visible { outline-offset: 0; }
  .btn-alle { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; font-size: 14px; font-weight: 500; }
  .btn-taak-tonen { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; font-size: 14px; font-weight: 600; background: #e6f3ec; color: var(--green); }
  .btn-taak-tonen[hidden] { display: none; }
  .actions { margin-left: auto; }
}
/* Laptop met minder ruimte: de knoppen in de strook blijven, de uitleg wordt eerder afgekapt. */
@media (min-width: 1101px) and (max-width: 1280px) {
  .taak-tekst p { max-width: 360px; }
}
/* Telefoon en tablet: de stappen staan onderaan; de strook toont alleen de naam van de stap en de hoofdknop. */
@media (max-width: 1100px) {
  body { --taak: 52px; }
  body.taak-dicht { --taak: 0px; }
  .taak { padding: 0 8px 0 14px; gap: 10px; }
  .taak-tekst p { display: none; }
  .taak-knoppen .btn:not(.primary) { display: none; }
  .taak-nr { width: 26px; height: 26px; font-size: 13px; }
}
/* "All steps": de hele route in één lijst. */
.stap-regel { flex-direction: row; align-items: center; }
.stap-regel-nr { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--muted); font-size: 13px; box-shadow: inset 0 0 0 1.5px #c7c7cc; }
.stap-regel.is-klaar .stap-regel-nr { background: var(--green); color: #fff; box-shadow: none; }
.stap-regel.is-nu { background: #e9f4ee; }
.stap-regel.is-nu .stap-regel-nr { background: var(--green); color: #fff; box-shadow: none; }
/* Het menu onder stap 3: taken met uitleg, en onderaan de weg naar de volgende stap. */
.popover-stap { width: 380px; padding: 10px; }
.menu-kop { margin: 6px 10px 6px; font-size: 12px; font-weight: 600; color: #8e8e93; text-transform: uppercase; letter-spacing: .06em; }
.menu-item span { font-weight: 600; }
.menu-taak { flex-direction: row; align-items: flex-start; gap: 12px; }
.taak-tekst { display: flex; flex-direction: column; }
.taak-icoon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: #e6f3ec; color: var(--green); }
.taak-icoon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stap-volgende { display: flex; width: calc(100% - 8px); margin: 8px 4px 4px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--green); color: #fff;
  justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; text-align: left; cursor: pointer; }
.stap-volgende:hover { background: #0f6a36; }
.stap-volgende b { font-size: 14px; white-space: nowrap; }
/* Telefoon en tablet: de stappenbalk blijft onderaan, in dezelfde kleuren. */
@media (max-width: 1100px) {
  .stappen { grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--rand-zacht); box-shadow: 0 -6px 18px rgba(0, 0, 0, .05); }
  .stap { align-items: center; background: #fff; border-right: 0; }
  .stap-tekst { align-items: center; }
  .stap.is-now, .stap.is-now:hover { background: var(--vlak); }
  .stap.is-now .stap-nummer, .stap.is-ready .stap-nummer { background: var(--green); color: #fff; }
}
/* Werkvlak: miniaturen en pagina's op lichtgrijs, de pagina's als papier met een zachte schaduw. */
.layout { background: var(--bg); }
.thumbs { background: var(--bg); border-right: 0; scrollbar-width: thin; }
.thumbs button { border: 0; border-radius: 14px; }
.thumbs button:hover { background: #ebebef; }
.thumbs button.is-current { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 0 0 1px rgba(0, 0, 0, .06); }
.thumbs img { border: 0; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.thumbs button:hover img { box-shadow: 0 2px 8px rgba(0, 0, 0, .14); }
.pages { background: var(--bg); }
.paper { border: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .06); }
.page-bar { color: var(--muted); }
/* Paneel rechts: wit, grote kop, lichtgrijze velden met ronde hoeken. */
.panel { border-left: 0; box-shadow: -1px 0 0 var(--rand-zacht), -12px 0 32px rgba(0, 0, 0, .05); }
.panel-head { padding: 22px 24px 14px; border-bottom-color: var(--rand-zacht); }
.panel-head .kicker { color: var(--muted); font-weight: 500; font-size: 13px; }
.panel-head h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.panel-body { padding: 18px 24px 10px; }
.panel-foot { border-top-color: var(--rand-zacht); }
.panel-body label, .add-dialog label, .add-dialog legend, .also > span { color: var(--muted); font-weight: 500; font-size: 13px; }
.panel-body input, .panel-body textarea, .add-dialog input:not([type="checkbox"]), .add-dialog textarea, .add-dialog select,
.layout-form input, .ask-dialog input, .excel-mapping select {
  border: 0; border-radius: 12px; background: #f5f5f7; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); color: var(--ink); font-size: 15px; padding: 11px 13px; }
.panel-body input:focus-visible, .panel-body textarea:focus-visible { outline: 0; background: #fff; box-shadow: 0 0 0 2px var(--green); }
.photo, .description-preview, .also, .excel-add-all, .check-advice, .download-note { border: 0; border-radius: 16px; background: #f5f5f7; }
.description-preview { color: var(--ink); }
/* Tabbladen als knoppenrij. */
.tabs { display: inline-flex; gap: 2px; padding: 4px; border: 0; border-radius: 999px; background: var(--vlak); }
.tab { margin: 0; padding: 6px 14px; border: 0; border-radius: 999px; color: #3a3a3c; font-weight: 500; }
.tab:hover { background: var(--vlak-hover); border-radius: 999px; }
.tab.is-selected { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
/* Vensters en menu's: witte kaarten met ronde hoeken en een zachte schaduw. */
.popover { top: calc(var(--boven) + 10px); border: 0; border-radius: 18px; padding: 20px 22px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 12px 40px rgba(0, 0, 0, .12); }
.popover h2 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.popover-intro { color: var(--muted); }
.popover-menu { padding: 8px; }
.menu-item { border-radius: 12px; }
.menu-item:hover:not(:disabled) { background: #f5f5f7; }
.popover-context::before { border-color: transparent; }
.pages-list, .check-list { border: 0; border-radius: 14px; background: #f5f5f7; }
.pages-list li, .check-list li { border-color: rgba(0, 0, 0, .05); }
.page-nummer { background: #fff; color: var(--green); border-radius: 10px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.pages-kop { color: var(--muted); font-weight: 600; }
.download-choice { border: 0; border-radius: 16px; background: #f5f5f7; }
.add-dialog, .ask-dialog { border: 0; border-radius: 20px; padding: 24px 26px; box-shadow: 0 24px 64px rgba(0, 0, 0, .2); }
.add-dialog::backdrop, .ask-dialog::backdrop { background: rgba(0, 0, 0, .25); }
.add-dialog fieldset { border: 0; border-radius: 14px; background: #f5f5f7; }
.add-dialog .dialog-actions { border-top-color: var(--rand-zacht); }
.sluit:hover { background: var(--vlak); }
.startkaart { border: 0; border-radius: 18px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 10px 30px rgba(0, 0, 0, .06); }
/* Meldingen: donker en rond, zoals in Flow. */
.toast, .bezig-vlak { border-radius: 999px; background: var(--dark); }
.notice { border-radius: 16px; }

/* ==== Startscherm (Ralf, 2 december 2026, voorbeeld M: "Dit is prima!") ====
   Je eigen land, je lopende catalogus groot met de echte omslag, hoe ver je bent, de volgende stap en één grote knop;
   daaronder een nieuw jaar starten, eerdere jaren en andere landen klein. Het logo brengt je terug. */
.kruimel { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
body.op-start .kruimel, body.op-start .taak, body.op-start .stap-teller, body.op-start .stappen,
body.op-start .btn-alle, body.op-start .btn-taak-tonen, body.op-start #context-pill, body.op-start #download-wrap { display: none !important; }
.start { position: fixed; top: var(--top); left: 0; right: 0; bottom: 0; z-index: 37; overflow: auto; background: var(--bg); }
.start[hidden] { display: none; }
.start-binnen { max-width: 1040px; margin: 0 auto; padding: 40px 32px 60px; }
.start-kop { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.start h1 { margin: 0; font-size: 32px; letter-spacing: -.02em; }
.start-land { display: flex; align-items: center; gap: 8px; padding: 0 6px 0 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.start-land span { font-size: 14px; color: var(--muted); }
.start-land select { height: 40px; padding: 0 6px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.start-held { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 28px; border-radius: 22px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 10px 30px rgba(0, 0, 0, .05); }
.start-held.is-leeg { grid-template-columns: 1fr; }
.start-omslag { display: block; width: 200px; aspect-ratio: 210 / 297; overflow: hidden; border-radius: 6px; background: #e5e5ea; }
.start-omslag.is-geladen { box-shadow: 0 2px 6px rgba(0, 0, 0, .15), 0 12px 28px rgba(0, 0, 0, .12); }
.start-omslag img { display: block; width: 100%; height: 100%; object-fit: cover; }
.start-omslag img[hidden] { display: none; }
.start-omslag.is-klein { width: 40px; border-radius: 3px; }
.start-omslag.is-klein.is-geladen { box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.start-label { font-size: 13px; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: .06em; }
.start-held h2 { margin: 6px 0 4px; font-size: 30px; letter-spacing: -.02em; }
.start-feiten { margin: 0 0 22px; font-size: 15px; color: var(--muted); }
.start-balk, .start-balk-namen { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.start-balk { margin-bottom: 8px; }
.start-balk i { height: 6px; border-radius: 6px; background: #e5e5ea; }
.start-balk i.is-klaar { background: var(--green); } .start-balk i.is-nu { background: #7cc49a; }
.start-balk-namen { margin-bottom: 22px; font-size: 12.5px; color: #8e8e93; }
.start-balk-namen .is-klaar { color: var(--green); font-weight: 600; } .start-balk-namen .is-nu { color: var(--ink); font-weight: 700; }
.start-volgende { margin-bottom: 22px; padding: 14px 16px; border-radius: 14px; background: #f5f5f7; }
.start-volgende b { display: block; margin-bottom: 2px; font-size: 15px; }
.start-volgende span { font-size: 14px; color: var(--muted); }
.start-knoppen { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.start-held .start-knoppen .btn { height: 46px; padding: 0 22px; font-size: 16px; }
.start-meer { width: 46px; padding: 0 !important; font-size: 18px; }
.start-nieuw { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 16px 20px; border: 2px dashed #c7c7cc; border-radius: 18px; }
.start-plus { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #e6f3ec; color: var(--green); font-size: 24px; font-weight: 300; }
.start-nieuw-tekst b { display: block; font-size: 16px; }
.start-nieuw-tekst span { font-size: 14px; color: var(--muted); }
.start-nieuw .btn { margin-left: auto; height: 40px; padding: 0 16px; font-size: 14px; }
.start-archief-kop { margin: 40px 0 12px; font-size: 18px; }
.start-archief-kop[hidden] { display: none; }
.start-archief { overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.start-archief:empty { display: none; }
.start-rij { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-top: 1px solid #f0f0f3; }
.start-rij:first-child { border-top: 0; }
.start-rij-tekst b { font-size: 15px; }
.start-rij-tekst small { display: block; font-size: 13px; color: var(--muted); }
.start-rij .start-knoppen { margin-left: auto; }
.start-rij .btn { height: 36px; padding: 0 14px; font-size: 14px; }
.start-rij .start-meer { width: 36px; font-size: 16px; }
.start-andere { margin-top: 28px; font-size: 14px; color: var(--muted); }
.start-andere-label { margin-right: 8px; }
.start-land-knop { display: inline-block; margin: 0 6px 6px 0; padding: 6px 12px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
  color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.start-land-knop:hover { box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); }
.start-status { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.menu-item.is-gevaar span { color: #b3261e; }
#pop-rij { width: 300px; }
@media (max-width: 1100px) { body.op-start .stappen { display: none !important; } }
@media (max-width: 760px) {
  .start-binnen { padding: 24px 16px 40px; }
  .start-kop { flex-direction: column; align-items: flex-start; }
  .start-held { grid-template-columns: 1fr; padding: 20px; }
  .start-held .start-omslag { width: 140px; }
  .start-nieuw { flex-wrap: wrap; }
  .start-nieuw .btn { margin-left: 0; }
  .start-rij { flex-wrap: wrap; }
}

/* ==== De monday-look van Repair Care Flow (Ralf, 2 december 2026: "ik vind wel dat het een beetje AI gemaakt er uit ziet.
   Ik wil meer de stijl en lettertypes van flow" en "Het gaat om de monday look") ====
   Overgenomen uit repair-care-flow/src/app/globals.css (:root[data-look="monday"]): Figtree voor tekst, Poppins (500) voor
   koppen, blauwgrijze achtergrond met een wit werkvlak, witte kaarten met een dunne lijn en 8 px ronding zonder schaduw,
   knoppen wit met een dunne rand en 4 px ronding, de hoofdknop blauw. Groen blijft voor "klaar". */
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
:root {
  --bg: #eceff8; --ink: #323338; --muted: #676879; --line: #d0d4e4; --rand-zacht: #e6e9ef;
  --vlak: #f0f1f5; --vlak-hover: #e6e9ef;
  --blauw: #0073ea; --blauw-hover: #0060b9; --blauw-zacht: #cce5ff; --blauw-tekst: #0060b9;
  --groen-klaar: #00854d; --groen-zacht: #d8f3e5;
  --kop: 'Poppins', 'Figtree', -apple-system, sans-serif;
}
body { font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif; color: var(--ink); background: var(--bg); }
h1, h2, .start h1, .start-held h2, .panel-head h2, .popover h2, .add-dialog h2, .ask-dialog h2, .taak-tekst h2 {
  font-family: var(--kop); font-weight: 500; letter-spacing: -.01em; }
/* Kop: op de achtergrond, zonder lijn; het werkvlak eronder is wit met een ronde hoek, zoals in Flow. */
header.top { background: var(--bg); border-bottom: 0; }
.taak, .start { left: 8px; right: 8px; border-radius: 10px 10px 0 0; }
.taak { border-bottom: 1px solid var(--rand-zacht); }
body:not(.taak-dicht) .layout { left: 8px; right: 8px; }
body.taak-dicht .layout { left: 8px; right: 8px; border-radius: 10px 10px 0 0; overflow: hidden; }
.start { background: #fff; }
/* Knoppen zoals monday: wit met een dunne rand, hoekig; de hoofdknop blauw. */
.btn, .start-held .start-knoppen .btn, .start-rij .btn, .start-nieuw .btn, .taak-knoppen .btn {
  height: 34px; padding: 0 14px; border: 1px solid #c3c6d4; border-radius: 4px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 400; box-shadow: none; }
.btn:hover:not(:disabled) { background: #f5f6f8; }
.btn.primary { border-color: var(--blauw); background: var(--blauw); color: #fff; font-weight: 500; }
.btn.primary:hover:not(:disabled) { border-color: var(--blauw-hover); background: var(--blauw-hover); }
.btn.primary:disabled, #download:disabled { border-color: #e6e9ef; background: #e6e9ef; color: #9699a6; }
.btn.quiet { border-color: transparent; background: transparent; }
.start-held .start-knoppen .btn { height: 40px; padding: 0 18px; font-size: 15px; }
.start-meer, .start-rij .start-meer { width: 34px; padding: 0 !important; }
.btn-alle, .btn-taak-tonen { border-radius: 4px; }
.btn-taak-tonen { border-color: var(--blauw-zacht); background: #eef6ff; color: var(--blauw-tekst); }
.link-button { color: var(--blauw-tekst); }
.context { border-radius: 4px; box-shadow: 0 0 0 1px #c3c6d4; }
/* Kaarten, vensters en lijsten: dunne lijn, 8 px ronding, geen schaduw (vensters een zachte). */
.popover, .add-dialog, .ask-dialog { border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); }
.panel { box-shadow: -1px 0 0 var(--line); }
.paper { border-radius: 2px; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.thumbs button { border-radius: 6px; }
.thumbs button.is-current { box-shadow: 0 0 0 2px var(--blauw); }
.pages-list, .check-list, .download-choice, .photo, .description-preview, .also, .check-advice, .download-note, .add-dialog fieldset { border-radius: 8px; }
.panel-body input, .panel-body textarea, .add-dialog input:not([type="checkbox"]), .add-dialog textarea, .add-dialog select, .layout-form input, .ask-dialog input, .excel-mapping select {
  border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px #c3c6d4; }
.panel-body input:focus-visible, .panel-body textarea:focus-visible { box-shadow: 0 0 0 2px var(--blauw); }
.menu-kop, .pages-kop { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.menu-item { border-radius: 4px; }
.tabs { border-radius: 4px; } .tab, .tab.is-selected { border-radius: 4px; }
.taak-icoon, .start-plus { border-radius: 6px; background: #eef6ff; color: var(--blauw); }
.stap-volgende { border-radius: 6px; background: var(--blauw); } .stap-volgende:hover { background: var(--blauw-hover); }
/* Stappen: klaar is groen, nu is blauw. */
@media (min-width: 1101px) {
  .stap.is-done::before { background: var(--groen-klaar); }
  .stap.is-now::before { background: var(--blauw); }
  .stap-teller { font-weight: 500; }
}
.taak-nr { background: var(--blauw); width: 28px; height: 28px; font-size: 13px; }
.taak-tekst h2 { font-size: 16px; }
.stap-regel.is-nu { background: #eef6ff; } .stap-regel.is-nu .stap-regel-nr { background: var(--blauw); }
.stap-regel.is-klaar .stap-regel-nr { background: var(--groen-klaar); }
@media (max-width: 1100px) {
  .stap.is-now .stap-nummer, .stap.is-ready .stap-nummer { background: var(--blauw); }
  .stap.is-done .stap-nummer { background: var(--groen-klaar); }
}
/* Startscherm: zoals de Home van Flow. Een datumregel boven de titel, kaarten met een lijn, labels als zachte pillen. */
.start-binnen { max-width: 1080px; padding-top: 44px; }
.start h1 { font-size: 24px; }
.start-land { border-radius: 4px; box-shadow: 0 0 0 1px #c3c6d4; padding-left: 12px; }
.start-land select { height: 34px; font-size: 14px; font-weight: 500; }
.start-held { gap: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; box-shadow: none; }
.start-held h2 { margin: 10px 0 2px; font-size: 22px; }
.start-label { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 500;
  text-transform: none; letter-spacing: 0; background: #fff1dc; color: #9a5b00; }
.start-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #f5a623; }
.start-label.is-klaar { background: var(--groen-zacht); color: var(--groen-klaar); } .start-label.is-klaar::before { background: var(--groen-klaar); }
.start-label.is-bron { background: #eef0f4; color: var(--muted); } .start-label.is-bron::before { background: #a5a8b8; }
.start-feiten { font-size: 14px; }
.start-omslag { width: 180px; border-radius: 3px; }
.start-held { grid-template-columns: 180px minmax(0, 1fr); }
.start-omslag.is-geladen { box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.start-balk i { height: 6px; border-radius: 3px; background: #e6e9ef; }
.start-balk i.is-klaar { background: var(--groen-klaar); } .start-balk i.is-nu { background: var(--blauw); }
.start-balk-namen { font-size: 13px; color: var(--muted); }
.start-balk-namen .is-klaar { color: var(--groen-klaar); font-weight: 500; } .start-balk-namen .is-nu { color: var(--ink); font-weight: 600; }
.start-volgende { border: 1px solid #e6e9ef; border-radius: 6px; background: #f5f6f8; }
.start-volgende b { font-weight: 600; }
.start-nieuw { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 14px 18px; }
.start-nieuw-tekst b { font-weight: 600; font-size: 15px; }
.start-archief-kop { margin: 36px 0 12px; font-family: var(--kop); font-weight: 500; font-size: 17px; }
.start-archief { border: 1px solid var(--line); border-radius: 8px; box-shadow: none; }
.start-rij-tekst b { font-weight: 500; }
.start-land-knop { border: 1px solid var(--line); border-radius: 999px; box-shadow: none; font-size: 13px; padding: 4px 12px; }
.start-land-knop:hover { border-color: #c3c6d4; box-shadow: none; background: #f5f6f8; }
.start-datum-regel { display: block; margin-bottom: 2px; font-size: 14px; color: var(--muted); }
/* De hoofdknop blijft blauw, ook in de kaarten en de taakstrook (die regels hierboven zijn specifieker). */
.start-held .start-knoppen .btn.primary, .start-nieuw .btn.primary, .start-rij .btn.primary, .taak-knoppen .btn.primary {
  border-color: var(--blauw); background: var(--blauw); color: #fff; font-weight: 500; }
.start-held .start-knoppen .btn.primary:hover:not(:disabled), .taak-knoppen .btn.primary:hover:not(:disabled) { border-color: var(--blauw-hover); background: var(--blauw-hover); }
