/* ==========================================================================
   Fietspijl v2, css/plus.css (WP10)
   S9 Fietspijl Plus (pilotvariant), S20 Proef voorbij, S21 Plus activeren en de proefkaart op Start.
   Alle klassen met plus-. Planschaal in rem, tikdoelen minstens 56 px, kleuren alleen uit de tokens.
   ========================================================================== */

/* ---------- S9 Fietspijl Plus ---------- */
.plus-s9{padding-top:calc(4px * var(--s))}
.plus-toestand{display:flex;gap:calc(14px * var(--s));align-items:flex-start}
.plus-toestand .fp-vorm{margin-top:calc(2px * var(--s))}
.plus-toestand-tekst,.plus-uitkomst-tekst{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:calc(6px * var(--s));overflow-wrap:break-word}
.plus-toestand:focus{outline:calc(3px * var(--s)) solid var(--tekst);outline-offset:calc(2px * var(--s))}
.plus-toestand-kaal{background:var(--vlak);border:calc(2px * var(--s)) solid var(--tekst);border-radius:var(--radius-kaart);padding:var(--r4)}
/* bij 200% systeemtekst past "Knooppuntroutes" niet binnen de volle rand op 320 px: dan alleen een streep links */
html[data-tekst="systeem200"] .plus-toestand-kaal{border-width:0 0 0 calc(4px * var(--s));border-radius:0;padding:calc(4px * var(--s)) 0 calc(4px * var(--s)) calc(10px * var(--s));background:transparent}
.plus-kop{margin:var(--r3) 0 0}
.plus-punten{margin:0;padding:0 0 0 1.3em;display:flex;flex-direction:column;gap:calc(10px * var(--s));font-size:var(--t-tekst);line-height:var(--lh-tekst)}
.plus-punten li{padding-left:calc(2px * var(--s));overflow-wrap:break-word}
.plus-punten li::marker{color:var(--tekst-2)}
.plus-pilot{margin-top:var(--r3)}
.plus-plakken{display:flex;flex-direction:column;gap:var(--r3)}
.plus-veld{font-variant-numeric:tabular-nums}
/* de stand bovenaan in een korte vette regel (UX S9) */
.plus-stand{font-size:calc(var(--t-tekst) * 1.08)}
/* genummerde stappen (S9 "Plus aanzetten", S21 in Safari): het nummer in een rondje, de inhoud ernaast */
.plus-stappen{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--r4)}
.plus-stap{display:flex;gap:calc(12px * var(--s));align-items:flex-start}
.plus-stap-nr{flex:0 0 auto;width:calc(36px * var(--s));height:calc(36px * var(--s));border-radius:50%;background:var(--groen);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:var(--t-meta)}
.plus-stap-inhoud{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:var(--r3)}
.plus-stap-inhoud>.fp-tekst{margin:0}
/* bij 200% systeemtekst past "Controleren" niet naast het nummer op 320 px: het nummer boven de inhoud */
html[data-tekst="systeem200"] .plus-stap{flex-direction:column;gap:calc(6px * var(--s))}
html[data-tekst="systeem200"] .plus-stap-inhoud{width:100%}
.plus-stap-tekstknop{align-self:flex-start;margin-left:calc(-10px * var(--s));min-height:calc(56px * var(--s))}
.plus-plak-leeg:empty{display:none}
.plus-geen-code{margin:0}
.plus-uitkomst:focus{outline:calc(3px * var(--s)) solid var(--tekst);outline-offset:calc(2px * var(--s))}
.plus-tekstknoppen{display:flex;flex-wrap:wrap;gap:calc(4px * var(--s)) calc(16px * var(--s));margin-left:calc(-10px * var(--s));margin-top:var(--r2)}
.plus-tekstknoppen .fp-knop.tekst{min-height:calc(56px * var(--s));padding:calc(4px * var(--s)) calc(10px * var(--s))}

/* ---------- S20 Proef voorbij (volledig scherm, zonder tabbalk) ---------- */
.plus-s20{min-height:100%;display:flex;flex-direction:column;background:var(--vlak)}
.plus-s20-inhoud{flex:1 0 auto;display:flex;flex-direction:column;gap:var(--r4);padding:calc(var(--r6) + var(--veilig-boven)) var(--marge) var(--r5)}
.plus-s20-inhoud .fp-h1{margin:0}
.plus-s20-gerust{font-size:calc(var(--t-tekst) * 1.08)}
.plus-s20-blok{display:flex;flex-direction:column;gap:var(--r2)}
.plus-s20-kop{margin:0}
/* De twee keuzes vast onderin, zoals de eerste start (S11): de tekst scrolt erboven, beide knoppen blijven in de
   duimzone, ook bij Extra groot (bevinding MEER-R2-04) */
.plus-s20-knoppen{flex:0 0 auto;display:flex;flex-direction:column;gap:var(--r3);padding:var(--r4) var(--marge) calc(var(--r5) + var(--veilig-onder));position:sticky;bottom:0;z-index:1;background:var(--vlak)}
.plus-s20-knoppen .fp-knop{min-height:calc(72px * var(--s))}
@media (orientation:landscape) and (max-height:520px){
  .plus-s20-inhoud{flex:0 0 auto;padding-top:var(--r4)}
  .plus-s20-knoppen{position:static}
  .plus-s20-knoppen .fp-knop{min-height:calc(64px * var(--s))}
}

/* ---------- S21 Plus activeren ---------- */
.plus-s21{padding-top:calc(4px * var(--s))}
.plus-code{display:flex;flex-direction:column;gap:calc(8px * var(--s))}
.plus-codevak{min-height:6.5rem;resize:vertical;font:400 var(--t-meta)/1.4 ui-monospace,Menlo,Consolas,monospace;overflow-wrap:anywhere;word-break:break-all}

/* ---------- De proefkaart op Start (de laatste 3 dagen van de proef) ---------- */
.plus-proefkaart{display:flex;flex-direction:column;gap:var(--r3)}
.plus-knoppen-rij{flex-wrap:wrap}
.plus-knoppen-rij>*{flex:1 1 calc(140px * var(--s))}

/* ---------- Afbreken (zoals css/meer.css): de zachte afbreekstreepjes in titels altijd, in lopende tekst en
   knoppen pas bij Extra groot, 130% en 200%; daaronder gaat een heel woord naar de volgende regel ---------- */
.fp-scherm:is([data-scherm="S9"],[data-scherm="S20"],[data-scherm="S21"]),.plus-proefkaart{-webkit-hyphens:none;hyphens:none}
.fp-scherm:is([data-scherm="S9"],[data-scherm="S20"],[data-scherm="S21"]) :is(.fp-h1,.fp-h2){-webkit-hyphens:manual;hyphens:manual}
html:is([data-tekst="extragroot"],[data-tekst="systeem130"],[data-tekst="systeem200"]) :is(.fp-scherm[data-scherm="S9"],.fp-scherm[data-scherm="S20"],.fp-scherm[data-scherm="S21"],.plus-proefkaart){-webkit-hyphens:manual;hyphens:manual}

/* ---------- Het mailadres blijft heel als het op een eigen regel past ("Mail naar" / "info@intsys.nl."), en breekt
   alleen na de @ als het ook daar niet past (een smalle kaart bij 200%): een blok in de regel ---------- */
.plus-mail{display:inline-block;max-width:100%}

/* ---------- Een knop met een lang woord breekt liever dan dat hij buiten beeld loopt ---------- */
.fp-scherm[data-scherm="S9"] .fp-knop,.fp-scherm[data-scherm="S20"] .fp-knop,.fp-scherm[data-scherm="S21"] .fp-knop,.plus-proefkaart .fp-knop{overflow-wrap:anywhere}
