.wegwijzer { margin: 1.5rem 0 1.25rem; --ink: #173e32; --line: #bccbc1; --paper: #fffefa; }
.wegwijzer [hidden] { display: none !important; }
.wegwijzer h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; letter-spacing: -.035em; margin: 0 0 .35rem; }
.wegwijzer h3 { font-size: 1.15rem; margin: 0; line-height: 1.24; }
.zoek-uitleg { font-size: .98rem; line-height: 1.48; max-width: 65ch; margin: .35rem 0 .8rem; color: #405b4c; }
.wegwijzer button, .wegwijzer select { font: inherit; color: var(--ink); }
.wegwijzer button { min-height: 44px; background: #fffefa; border: 1px solid var(--line); border-radius: .45rem; padding: .48rem .75rem; cursor: pointer; font-weight: 600; }
.wegwijzer button:hover { background: #e8f0e8; border-color: #758f7e; }
.wegwijzer button[aria-pressed="true"] { background: #1a4d3b; border-color: #1a4d3b; color: white; }
.wegwijzer button:focus-visible, .wegwijzer summary:focus-visible, .wegwijzer select:focus-visible, .wegwijzer input:focus-visible, .bordorigineel summary:focus-visible { outline: 3px solid #a65913; outline-offset: 2px; }
.trapkeuze { display: inline-flex; gap: .6rem; align-items: center; min-height: 44px; margin: 0 0 .45rem; font-size: .94rem; }
.trapkeuze input { width: 1.1rem; height: 1.1rem; accent-color: #1a4d3b; }
.middelkeuze { display: flex; flex-wrap: wrap; gap: .42rem; margin: .85rem 0 .2rem; }
.middelkeuze button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; }
.middelkeuze img { object-fit: contain; flex: 0 0 1.42rem; border-radius: 2px; }
.routekaart { overflow: hidden; border: 1px solid #aebfb2; border-radius: .75rem; background: var(--paper); }
.routekop { display: flex; align-items: center; gap: .82rem; padding: 1rem 1.1rem; background: #eaf2e9; }
.bestemming-icoon { width: 2.6rem; height: 2.6rem; object-fit: contain; }
.routetype { font-size: .84rem; line-height: 1.3; margin: 0 0 .2rem; color: #42624e; font-weight: 640; }
.routekop h3 { font-size: clamp(1.2rem, 3.2vw, 1.7rem); letter-spacing: -.025em; }
.afstand { font-size: .94rem; margin: .24rem 0 0; line-height: 1.4; color: #345641; }
.kaartbediening { display: flex; justify-content: space-between; gap: .4rem; flex-wrap: wrap; padding: .55rem .85rem 0; align-items: center; }
.laagkeuze, .kaartmodus { display: flex; flex-wrap: wrap; gap: .2rem; align-items: center; }
.kaartbediening button { font-size: .83rem; padding-inline: .6rem; min-height: 44px; }
.laagkeuze button[aria-pressed="true"] { background: #e8f0e9; border-color: #8ba38f; color: #204332; }
.laagkeuze button:only-of-type, .laagkeuze:has(button[hidden]) button:not([hidden]) { border-color: transparent; background: transparent; padding-inline: 0; }
.kaartmodus button[data-action] { border-color: transparent; text-decoration: underline; text-underline-offset: .17em; }
.kaartvenster { overflow: auto; overscroll-behavior-inline: contain; background: var(--paper); }
.zoekkaart { display: block; width: 100%; height: auto; max-height: 48vh; min-height: 9.5rem; }
.kaartvenster.ingezoomd { max-height: 58vh; }
.ingezoomd .zoekkaart { min-width: max(48rem, 140%); width: 140%; max-height: none; }
.kamernaam { font-family: system-ui, sans-serif; fill: #53655a; font-weight: 550; paint-order: stroke; stroke: #fffefa; stroke-width: 3; stroke-linejoin: round; }
.kaartlegenda { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.25rem; padding: .5rem 1rem .75rem; color: #405849; font-size: .85rem; }
.kaartlegenda span { display: inline-flex; align-items: center; gap: .4rem; }
.kaartlegenda span::before { content: ""; display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; }
.leg-bord::before { background: #135b89; border: 2px solid white; outline: 1px solid #216898; box-sizing: border-box; }
.leg-doel::before { background: #fff4c4; border: 2px solid #925814; box-sizing: border-box; }
.kaartlegenda .leg-buiten::before { width: 1.25rem; height: 0; border-radius: 0; border-bottom: 3px dotted #155f8c; }
.routewoorden { display: flex; flex-wrap: wrap; gap: .65rem 1rem; justify-content: space-between; align-items: center; margin: 1.1rem 0 .3rem; }
.stappen { margin: .1rem 0 1rem; padding-left: 1.68rem; line-height: 1.48; }
.stappen li { padding: .3rem 0 .3rem .18rem; }
.stappen li::marker { color: #2d674d; font-weight: 700; }
.stemstatus:empty, .oefenstatus:empty { margin: 0; }
.oefenbediening, .bordorigineel { border-top: 1px solid #c2cfc4; padding: .25rem 0; }
.oefenbediening summary, .bordorigineel summary { min-height: 44px; padding: .7rem 0; font-weight: 640; cursor: pointer; }
.blokkadekeuze { display: flex; align-items: center; gap: .7rem; min-height: 44px; }
.blokkadekeuze input { width: 1.18rem; height: 1.18rem; accent-color: #1a4d3b; }
.oproepkeuze, .meldkeuze { display: flex; gap: .6rem; flex-wrap: wrap; align-items: end; margin: .65rem 0; }
.meldkeuze label { display: grid; gap: .24rem; }
.meldkeuze select { min-height: 44px; border: 1px solid #98aa9b; border-radius: .4rem; background: var(--paper); padding: .4rem; }
.oefenstatus:not(:empty), .stemstatus:not(:empty) { border-inline-start: 3px solid #67917a; padding-left: .6rem; }
@media (max-width: 38rem) {
  .wegwijzer { margin-top: 1.15rem; }.routekop { padding: .7rem .75rem; }.bestemming-icoon { width: 2rem; height: 2rem; }
  .middelkeuze { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .32rem; }
  .middelkeuze button { font-size: .84rem; padding: .35rem .18rem; gap: .3rem; }
  .middelkeuze img { width: 1.1rem; height: 1.1rem; flex-basis: 1.1rem; }
  .kaartbediening { padding: .35rem .5rem 0; gap: .15rem; }
  .kaartbediening button { padding-inline: .36rem; }
  .kaartlegenda { padding: .4rem .7rem .6rem; font-size: .78rem; }
}
@media (max-width: 24rem) { .middelkeuze { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media print { .middelkeuze, .kaartbediening, .oefenbediening, .spraak { display: none; }.zoekkaart { max-height: none; } }
