:root{
  --bg:#f7f3ec;
  --panel:#fffdf9;
  --panel-2:#fbf7ef;
  --line:#e4d7c2;
  --line-2:#d7c5aa;
  --text:#142222;
  --muted:#6d6254;
  --soft:#8d7f6c;
  --brand:#0c6f71;
  --brand-dark:#074f51;
  --gold:#bd8518;
  --gold-soft:#f4e6c7;
  --blue-soft:#eef8f9;
  --shadow:0 12px 30px rgba(53,38,18,.08);
  --radius:18px;
  --radius-sm:12px;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);font-size:14px;line-height:1.42}
body{overflow-x:hidden}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button{cursor:pointer}
.app-header{height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 26px;background:rgba(255,253,249,.94);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50;backdrop-filter:blur(10px)}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;color:#9c6e13;letter-spacing:-.01em;min-width:220px}.brand-mark{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:var(--brand);color:#fff;font-weight:800;font-size:16px;flex:0 0 auto}.brand-copy{display:flex;flex-direction:column;gap:1px;line-height:1.05}.brand-word{font-size:17px}.brand-slogan{font-size:11px;font-weight:650;color:#6f6254;letter-spacing:0;white-space:nowrap}
.header-actions{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted);font-weight:600}.top-link{padding:9px 10px;border-radius:999px}.top-link:hover{background:#f1eadf}.profile-dot{width:28px;height:28px;border-radius:999px;background:linear-gradient(135deg,#d7a943,#a87512);display:grid;place-items:center;color:#fff;font-size:12px;font-weight:700}
.shell{height:calc(100vh - 60px);min-height:760px;display:grid;grid-template-columns:minmax(310px,360px) minmax(560px,1fr) minmax(345px,390px);gap:0;border-bottom:1px solid var(--line)}
.rail{background:#fbf8f1;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;padding:14px 8px;gap:8px}.rail-btn{width:34px;height:34px;border-radius:12px;border:1px solid transparent;background:transparent;color:var(--soft);font-size:11px;font-weight:700}.rail-btn.active,.rail-btn:hover{background:#f4e9d2;border-color:#ead7ad;color:#8e620a}
.left-panel,.right-panel{overflow:auto;background:rgba(255,251,244,.82);scrollbar-width:thin;scrollbar-color:#cbb891 transparent}.left-panel{border-right:1px solid var(--line);padding:14px}.right-panel{border-left:1px solid var(--line);padding:14px}.panel-stack{display:flex;flex-direction:column;gap:12px}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card-pad{padding:16px}.card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.card-title h1,.card-title h2,.card-title h3{margin:0;letter-spacing:-.025em}.card-title h1{font-size:17px;line-height:1.2}.card-title h2{font-size:15px}.card-title h3{font-size:13px}.muted,.hint{color:var(--muted);font-size:12px}.hint{margin:8px 0 0}.divider{height:1px;background:var(--line);margin:12px 0}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}.field label{font-size:12px;font-weight:700;color:#504638}.input{height:39px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid var(--line-2);background:#fff;border-radius:11px}.input input,.input select{width:100%;border:0;outline:0;background:transparent;color:var(--text);min-width:0}.input strong{font-size:11px;white-space:nowrap}.two{display:grid;grid-template-columns:1fr 1fr;gap:9px}.choice-grid,.pref-grid{display:grid;gap:8px}.choice-grid{grid-template-columns:repeat(3,1fr)}.vehicle-grid{grid-template-columns:repeat(2,1fr)}.pref-grid{grid-template-columns:1fr 1fr}.choice,.pref,.pill-btn{height:38px;border-radius:11px;border:1px solid var(--line);background:#fff;color:#5a4d3d;font-size:12px;font-weight:700}.choice.active,.pref.active,.pill-btn.active{background:#fbefd5;border-color:#d39a28;color:#7b530a}.btn{height:40px;border-radius:12px;border:1px solid var(--line-2);background:#fff;color:var(--text);font-weight:750;font-size:13px;padding:0 14px}.btn.primary{background:linear-gradient(135deg,#d59b2b,#bd8213);border-color:#bd8213;color:#fff}.btn.full{width:100%}.btn:hover,.choice:hover,.pref:hover,.tab:hover,.mode-btn:hover{filter:brightness(.985)}.mini-link{border:0;background:transparent;color:#a97710;font-size:12px;font-weight:750;padding:4px 0}.pill{border:1px solid var(--line);border-radius:999px;background:#fff;font-size:11px;color:#6d6254;padding:5px 8px;font-weight:700}.range-row{display:flex;align-items:center;gap:10px}.range-row input{width:100%}.map-stage{position:relative;min-width:0;background:#f3ede3;padding:14px}.map-card{height:100%;min-height:720px;position:relative;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#e8f3f4;box-shadow:var(--shadow)}#roadoraMap{height:100%;width:100%;z-index:1}.leaflet-container{font-family:inherit}.map-controls{position:absolute;top:18px;left:18px;z-index:5;display:grid;background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden;box-shadow:0 10px 22px rgba(33,22,9,.1)}.map-controls button{width:39px;height:39px;border:0;border-bottom:1px solid var(--line);background:#fff;font-weight:800}.map-controls button:last-child{border-bottom:0}.legend{position:absolute;right:18px;top:18px;z-index:5;display:flex;flex-direction:column;gap:6px;background:rgba(255,253,249,.94);border:1px solid var(--line);border-radius:13px;padding:10px 12px;font-size:12px;color:#5c5145}.legend span{display:flex;align-items:center;gap:8px}.legend i{width:10px;height:10px;border-radius:999px;display:block}.i-pause{background:#2fa875}.i-lunch{background:#e38419}.i-charge{background:#7d52b9}.i-hotel{background:#2f7fa0}.map-summary{position:absolute;left:22px;bottom:22px;z-index:5;background:rgba(255,253,249,.95);border:1px solid var(--line);border-radius:16px;padding:14px 16px;min-width:330px;box-shadow:0 14px 30px rgba(43,31,13,.12)}.map-summary h3{margin:0 0 8px;font-size:15px}.summary-row{display:flex;gap:16px;color:#3a332c;font-size:12px;font-weight:700}.tag-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.tag{font-size:11px;color:#07595b;background:#e8fbfb;border:1px solid #a9dfe0;border-radius:999px;padding:4px 8px;font-weight:700}.right-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;background:#f3eadb;border:1px solid var(--line);border-radius:14px;padding:5px;margin-bottom:12px;position:sticky;top:0;z-index:3}.tab{height:36px;border-radius:10px;border:0;background:transparent;color:#766b5f;font-weight:800;font-size:12px}.tab.active{background:#fff;color:#084b4d;box-shadow:0 3px 12px rgba(66,43,14,.08)}.tab-panel{display:none}.tab-panel.active{display:block}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.stat span{display:block;color:var(--muted);font-size:11px}.stat strong{display:block;font-size:13px;margin-top:2px}.day-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.day-tab{height:34px;border:1px solid var(--line);background:#fff;border-radius:10px;font-size:12px;font-weight:800;color:#615647}.day-tab.active{background:var(--brand);border-color:var(--brand);color:#fff}.timeline{display:flex;flex-direction:column;gap:10px}.time-row{display:grid;grid-template-columns:54px 1fr;gap:10px;align-items:start}.time{font-size:12px;font-weight:750;color:#705d41;padding-top:8px}.time-card{border:1px solid var(--line);background:#fff;border-radius:13px;padding:11px 12px}.time-card strong{display:block;font-size:13px}.time-card span{display:block;margin-top:3px;color:var(--muted);font-size:12px}.time-card.active{border-color:#8bc7db;background:#f0fbff}.mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.mode-btn{height:38px;border-radius:12px;border:1px solid var(--line);background:#fff;font-size:12px;font-weight:800}.mode-btn.active{background:#e9fbfb;border-color:#7eced0;color:#074f51}.category-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:10px}.category-btn{height:33px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12px;font-weight:750}.category-btn.active{border-color:#c88e17;background:#fff7e8;color:#805603}.stop-list{max-height:330px;overflow:auto;padding-right:4px;display:flex;flex-direction:column;gap:8px;scrollbar-width:thin}.stop-item{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:13px;padding:11px 12px}.stop-item strong{font-size:13px}.stop-item p{font-size:12px;color:var(--muted);margin:3px 0 0}.stop-item button{border:0;background:transparent;color:#b37805;font-weight:800;font-size:12px}.rec-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.rec-card{border:1px solid var(--line);border-radius:13px;background:#fff;padding:12px}.rec-card strong{font-size:13px}.rec-card span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.sticky-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.trip-list{display:flex;flex-direction:column;gap:8px;margin:10px 0}.trip-card{border:1px solid var(--line);border-radius:13px;background:#fff;padding:12px}.trip-card strong{display:block;font-size:13px}.trip-card span{display:block;color:var(--muted);font-size:12px;margin-top:3px}.hidden{display:none}.footer{background:#fffdf9;border-top:1px solid var(--line);padding:20px 26px;color:#6f6254;font-size:12px}.footer-inner{max-width:1200px;margin:auto;display:flex;justify-content:space-between;gap:20px}.footer nav{display:flex;gap:16px}.cookie{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:100;display:none;align-items:center;gap:12px;max-width:620px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 40px rgba(20,14,5,.15);padding:12px}.cookie.show{display:flex}.cookie p{margin:0;font-size:12px}.cookie-actions{display:flex;gap:8px}.toast{position:fixed;right:18px;bottom:18px;z-index:120;background:#0b5a5d;color:#fff;border-radius:12px;padding:12px 14px;font-size:13px;box-shadow:0 16px 30px rgba(0,0,0,.18);opacity:0;pointer-events:none;transform:translateY(10px);transition:.2s}.toast.show{opacity:1;transform:translateY(0)}
.custom-marker{width:28px;height:28px;border-radius:999px;border:3px solid #fff;box-shadow:0 6px 14px rgba(0,0,0,.18);display:grid;place-items:center;color:#fff;font-size:11px;font-weight:900}.m-start{background:#2fa875}.m-pause{background:#c99319}.m-lunch{background:#e38419}.m-charge{background:#7d52b9}.m-hotel{background:#2f7fa0}.m-end{background:#262626}
@media(max-width:1180px){.shell{grid-template-columns:minmax(285px,330px) 1fr;grid-template-rows:auto auto;height:auto;min-height:0}.rail{display:none}.right-panel{grid-column:1/3;border-left:0;border-top:1px solid var(--line);max-height:none}.map-stage{min-height:620px}.map-card{min-height:600px}}
@media(max-width:760px){.app-header{height:auto;min-height:58px;padding:12px 14px}.brand{min-width:auto}.brand-slogan{font-size:10.5px}.header-actions .optional{display:none}.shell{display:block;height:auto}.left-panel,.right-panel{border:0;padding:10px}.map-stage{padding:10px;height:560px}.map-card{height:540px;min-height:540px}.map-summary{left:12px;right:12px;bottom:12px;min-width:0}.two,.pref-grid,.choice-grid,.vehicle-grid,.category-grid,.rec-grid{grid-template-columns:1fr}.footer-inner{flex-direction:column}.footer nav{flex-wrap:wrap}.stats{grid-template-columns:1fr 1fr 1fr}.cookie{left:10px;right:10px;bottom:10px;transform:none;flex-direction:column;align-items:flex-start}}

/* Stops-tab basislayout */
#stopsTab .card.card-pad{
  min-height: 720px;
  display: flex;
  flex-direction: column;
}
#stopsTab .category-grid,
#stopsTab .mode-switch,
#stopsTab .card-title,
#stopsTab .muted,
#stopsTab .sticky-actions{
  flex: 0 0 auto;
}
#stopsTab .stop-list{
  max-height: none;
  height: 520px;
  min-height: 520px;
  overflow-y: auto;
  padding-right: 6px;
}
#stopsTab .sticky-actions{
  margin-top: 12px;
}
@media (min-height: 900px){
  #stopsTab .card.card-pad{min-height: 780px;}
  #stopsTab .stop-list{height: 580px;min-height:580px;}
}
@media (max-width: 900px){
  #stopsTab .card.card-pad{min-height: 640px;}
  #stopsTab .stop-list{height: 430px;min-height:430px;}
}

/* v3.3: Rustiger rechterpaneel — Stops-tab gebruikt de volledige hoogte, compacte stoprijen */
@media (min-width:1181px){
  .right-panel{
    display:flex;
    flex-direction:column;
    overflow:hidden;
    min-height:0;
  }
  .right-tabs{
    flex:0 0 auto;
    position:relative;
    top:auto;
    margin-bottom:10px;
  }
  .tab-panel{
    min-height:0;
    flex:1 1 auto;
    overflow:auto;
  }
  .tab-panel.active{
    display:block;
  }
  #stopsTab.active{
    display:flex;
    flex-direction:column;
    overflow:hidden;
  }
  #stopsTab .card.card-pad{
    height:100%;
    min-height:0;
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
    padding:14px;
  }
  #stopsTab .card-title,
  #stopsTab .muted,
  #stopsTab .mode-switch,
  #stopsTab #recommendPanel > .card-title,
  #stopsTab #allStopsPanel > .category-grid,
  #stopsTab .sticky-actions{
    flex:0 0 auto;
  }
  #recommendPanel,
  #allStopsPanel{
    min-height:0;
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
  }
  #recommendPanel.hidden,
  #allStopsPanel.hidden{
    display:none;
  }
  #recommendations.rec-grid{
    min-height:0;
    flex:1 1 auto;
    overflow:auto;
    grid-template-columns:1fr;
    align-content:start;
    padding-right:6px;
    scrollbar-width:thin;
  }
  #allStops.stop-list{
    height:auto;
    min-height:0;
    max-height:none;
    flex:1 1 auto;
    overflow:auto;
    padding-right:6px;
  }
  #stopsTab .sticky-actions{
    margin-top:10px;
    padding-top:10px;
    border-top:1px solid var(--line);
    background:var(--panel);
  }
}

/* compactere, professionelere stoprijen */
#stopsTab .stop-item{
  border-radius:11px;
  padding:9px 10px;
  gap:8px;
  min-height:62px;
}
#stopsTab .stop-item strong{
  font-size:12.5px;
  line-height:1.25;
}
#stopsTab .stop-item p{
  font-size:11.5px;
  line-height:1.35;
  margin-top:2px;
}
#stopsTab .stop-item button{
  font-size:11.5px;
  white-space:nowrap;
}
#stopsTab .rec-card{
  border-radius:11px;
  padding:10px 11px;
}
#stopsTab .rec-card strong{
  font-size:12.5px;
}
#stopsTab .rec-card span{
  font-size:11.5px;
  line-height:1.35;
}
#stopsTab .category-grid{
  gap:6px;
}
#stopsTab .category-btn,
#stopsTab .mode-btn{
  height:32px;
  font-size:11.5px;
}
#stopsTab .mode-switch{
  margin:10px 0;
}
#stopsTab .card-title{
  margin-bottom:8px;
}
#stopsTab .muted{
  margin:0;
  line-height:1.35;
}

/* kaart rustiger: detail hoort vooral in het rechterpaneel */
.map-summary{
  max-width:420px;
  padding:12px 14px;
}
.map-summary h3{
  font-size:14px;
  margin-bottom:6px;
}
.summary-row{
  gap:12px;
  font-size:11.5px;
}
.tag{
  font-size:10.5px;
  padding:3px 7px;
}
@media(max-width:760px){
  #stopsTab .card.card-pad{min-height:720px;}
  #allStops.stop-list{height:520px;min-height:520px;max-height:none;}
  #recommendations.rec-grid{max-height:520px;overflow:auto;grid-template-columns:1fr;}
}

/* v3.4: Stap 2 = volledig aanpasbaar Roadora-voorstel */
.plan-note{margin:-4px 0 10px}
.editable-timeline{gap:8px}
.plan-row{display:grid;grid-template-columns:82px 1fr;gap:9px;align-items:start;border:1px solid var(--line);background:#fff;border-radius:12px;padding:9px}
.plan-row.active{border-color:#8bc7db;background:#f6fcff}
.plan-timebox{min-width:82px}
.plan-timebox input{width:100%;min-width:82px;height:33px;border:1px solid var(--line-2);border-radius:9px;background:#fff;padding:0 6px;font-size:11.5px;font-weight:750;color:#4c4236;box-sizing:border-box}
.plan-fields{display:flex;flex-direction:column;gap:6px;min-width:0}
.plan-topline{display:grid;grid-template-columns:1fr auto;gap:7px;align-items:center}
.plan-type,.plan-title-input,.plan-detail-input{width:100%;border:1px solid var(--line-2);border-radius:9px;background:#fff;color:var(--text);outline:0;font-size:12px}
.plan-type{height:32px;padding:0 8px;font-weight:750;color:#655747}
.plan-title-input{height:32px;padding:0 9px;font-weight:800;letter-spacing:-.01em}
.plan-detail-input{height:32px;padding:0 9px;color:#5f5549}
.plan-remove{height:32px;border:0;background:transparent;color:#a97710;font-size:11.5px;font-weight:800;padding:0 2px}
.planning-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
.planning-actions .btn{height:36px;font-size:12px;padding:0 10px}
.planning-actions .btn.primary{grid-column:1/-1}
@media(max-width:760px){.plan-row{grid-template-columns:88px 1fr}.plan-timebox,.plan-timebox input{min-width:88px}.planning-actions{grid-template-columns:1fr}.planning-actions .btn.primary{grid-column:auto}}

/* v3.6: planning rustig tonen, bewerken op aanvraag */
.editable-timeline{gap:7px}
.plan-row{
  display:block;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:0;
  overflow:hidden;
}
.plan-row.active{border-color:#8bc7db;background:#fff}
.plan-read{
  display:grid;
  grid-template-columns:54px 1fr auto;
  gap:9px;
  align-items:center;
  padding:10px 10px;
}
.plan-read-time{
  font-size:12px;
  font-weight:850;
  color:#6e5830;
  font-variant-numeric:tabular-nums;
}
.plan-read-main{min-width:0}
.plan-read-main strong{
  display:block;
  font-size:13px;
  line-height:1.18;
  letter-spacing:-.015em;
  color:var(--text);
}
.plan-read-main span{
  display:block;
  margin-top:3px;
  font-size:11.5px;
  line-height:1.35;
  color:var(--muted);
}
.plan-read-main em{
  display:inline-block;
  margin-top:5px;
  font-style:normal;
  font-size:10.5px;
  font-weight:800;
  color:#0b5a5d;
  background:#eefafa;
  border:1px solid #b7e2e3;
  border-radius:999px;
  padding:2px 7px;
}
.plan-edit{
  border:0;
  background:transparent;
  color:#a97710;
  font-size:11.5px;
  font-weight:850;
  padding:6px 0 6px 8px;
}
.plan-edit-panel{
  display:none;
  grid-template-columns:90px 1fr;
  gap:9px;
  padding:10px;
  border-top:1px solid var(--line);
  background:#fffaf2;
}
.plan-row.editing .plan-edit-panel{display:grid}
.plan-row.editing .plan-read{background:#f8fbfb}
.plan-timebox{min-width:90px}
.plan-timebox input{
  width:100%;
  min-width:90px;
  height:34px;
  border:1px solid var(--line-2);
  border-radius:9px;
  background:#fff;
  padding:0 7px;
  font-size:12px;
  font-weight:800;
  color:#4c4236;
  box-sizing:border-box;
}
.plan-save{
  height:32px;
  border:1px solid var(--line-2);
  border-radius:9px;
  background:#fff;
  color:#0b5a5d;
  font-size:11.5px;
  font-weight:850;
}
@media(max-width:760px){
  .plan-read{grid-template-columns:50px 1fr auto;gap:7px;padding:9px}
  .plan-edit-panel{grid-template-columns:1fr;padding:9px}
  .plan-timebox,.plan-timebox input{min-width:100%;width:100%}
  .plan-read-main em{display:none}
}

/* v3.7: linkerzijde rustiger — dagroute open, profiel/voertuig/voorkeuren compact met bewerken */
.left-panel .card:first-child .muted{
  max-width: 32ch;
  line-height:1.35;
}
.left-fold{
  padding: 13px 14px;
}
.left-fold .card-title{
  margin-bottom:0;
  align-items:flex-start;
}
.left-fold-head h2{
  margin-bottom:4px;
}
.fold-summary{
  margin:0;
  color:var(--muted);
  font-size:11.5px;
  line-height:1.35;
  max-width:230px;
}
.left-edit-toggle{
  flex:0 0 auto;
  padding-top:1px;
}
.left-fold-body{
  display:none;
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid var(--line);
}
.left-fold.open .left-fold-body{
  display:block;
}
.left-fold.open .left-edit-toggle{
  color:#0b5a5d;
}
.left-fold.open .card-title{
  margin-bottom:0;
}
.left-panel .panel-stack{
  gap:10px;
}
.left-panel .field{
  margin-bottom:9px;
}
.left-panel .input{
  height:37px;
  border-radius:10px;
}
.left-panel .choice,
.left-panel .pref{
  height:34px;
  border-radius:10px;
  font-size:11.5px;
}
.left-panel .btn{
  height:38px;
  border-radius:10px;
}
@media(max-width:760px){
  .fold-summary{max-width:none}
  .left-fold-body{display:block}
  .left-edit-toggle{display:none}
}

/* v3.9: Reisoverzicht als compleet meerdaags reisplan */
.trip-summary-box{
  border:1px solid var(--line);
  background:#fff;
  border-radius:13px;
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.trip-summary-box strong{
  font-size:14px;
  letter-spacing:-.02em;
}
.trip-summary-box span{
  color:var(--muted);
  font-size:12px;
}
.overview-day-list{
  display:flex;
  flex-direction:column;
  gap:7px;
  max-height:260px;
  overflow:auto;
  padding-right:4px;
  scrollbar-width:thin;
}
.overview-day-row{
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:0;
  display:grid;
  grid-template-columns:52px minmax(0,1fr) auto;
  gap:0;
  align-items:center;
  text-align:left;
  overflow:hidden;
}
.overview-day-open{
  grid-column:1 / 3;
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  gap:9px;
  align-items:center;
  min-width:0;
  border:0;
  background:transparent;
  color:inherit;
  text-align:left;
  padding:9px 0 9px 10px;
  cursor:pointer;
}
.overview-day-row.active{
  border-color:#7eced0;
  background:#eefbfb;
}
.overview-day-num{
  color:#8a620d;
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
}
.overview-day-main{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.overview-day-main strong{
  font-size:12.5px;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.overview-day-main em{
  font-style:normal;
  color:var(--muted);
  font-size:11.5px;
}
.overview-day-delete{
  border:0;
  background:transparent;
  color:#a66f00;
  font-size:11.5px;
  font-weight:800;
  padding:5px 10px 5px 6px;
  cursor:pointer;
  white-space:nowrap;
}
.overview-day-delete:hover{
  color:#7a4d00;
  text-decoration:underline;
}

.active-day-detail{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.active-day-head{
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:11px 12px;
}
.active-day-head strong{
  display:block;
  font-size:13px;
}
.active-day-head span{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:12px;
}
.active-day-mini-list{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.active-day-mini-list div{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:8px;
  align-items:center;
  border:1px solid var(--line);
  background:#fff;
  border-radius:10px;
  padding:8px 9px;
}
.active-day-mini-list span{
  color:#8a620d;
  font-size:11.5px;
  font-weight:850;
  font-variant-numeric:tabular-nums;
}
.active-day-mini-list strong{
  font-size:12.5px;
  line-height:1.25;
}
.active-day-note{
  border:1px solid #a9dcec;
  background:#effbff;
  border-radius:12px;
  padding:10px 11px;
}
.active-day-note strong{
  display:block;
  font-size:12.5px;
}
.active-day-note span{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:12px;
}
@media(max-width:760px){
  .overview-day-list{max-height:none;}
}


/* v3.8 Mobile Polish — compacter, sneller naar kaart/resultaat, desktop onaangetast */
@media(max-width:760px){
  :root{
    --radius:16px;
    --radius-sm:10px;
  }
  html,body{
    font-size:13px;
    line-height:1.35;
    background:#f8f4ed;
  }
  .app-header{
    min-height:56px;
    padding:10px 14px;
    gap:10px;
  }
  .brand-mark{
    width:34px;
    height:34px;
    border-radius:11px;
    font-size:17px;
  }
  .brand-word{font-size:19px;line-height:1}
  .brand-slogan{font-size:11px;line-height:1.1;max-width:185px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .header-actions{gap:8px}
  .top-link{padding:7px 8px;font-size:12px}
  .profile-dot{width:34px;height:34px;font-size:13px}

  .shell{
    display:flex;
    flex-direction:column;
    min-height:0;
    height:auto;
    border-bottom:0;
  }
  .left-panel,
  .right-panel{
    width:100%;
    padding:10px;
    overflow:visible;
    background:#f8f4ed;
  }
  .left-panel{order:1;border-right:0}
  .map-stage{order:2;padding:0 10px 12px;height:auto;min-height:0;background:#f8f4ed}
  .right-panel{order:3;border-left:0;border-top:1px solid var(--line)}
  .panel-stack{gap:9px}
  .card{
    border-radius:16px;
    box-shadow:0 8px 20px rgba(53,38,18,.055);
  }
  .card-pad{padding:13px 14px}
  .card-title{margin-bottom:9px;gap:8px}
  .card-title h1{font-size:18px;line-height:1.15}
  .card-title h2{font-size:17px;line-height:1.18}
  .card-title h3{font-size:14px}
  .muted,.hint{font-size:12px;line-height:1.35}
  .divider{margin:9px 0}

  /* eerste dagroute compacter */
  .left-panel .card:first-child .muted{
    max-width:none;
    font-size:12px;
    line-height:1.35;
    margin:0 0 4px;
  }
  .left-panel .field{gap:5px;margin-bottom:8px}
  .field label{font-size:12px}
  .input{
    height:38px;
    border-radius:10px;
    padding:0 10px;
  }
  .input input,.input select{font-size:13px}
  .input strong{font-size:11px}
  .left-panel .two{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .left-panel .btn.full{
    height:40px;
    margin-top:2px;
  }

  /* profiel/voertuig/voorkeuren blijven op mobiel compact en inklapbaar */
  .left-fold{
    padding:12px 14px;
  }
  .left-fold .card-title{align-items:center}
  .fold-summary{
    max-width:245px;
    font-size:12px;
  }
  .left-edit-toggle{
    display:block;
    font-size:12px;
  }
  .left-fold-body{
    display:none;
    margin-top:10px;
    padding-top:10px;
  }
  .left-fold.open .left-fold-body{display:block}
  .choice-grid{grid-template-columns:repeat(3,1fr)}
  .vehicle-grid,.pref-grid{grid-template-columns:repeat(2,1fr)}
  .choice,.pref,.pill-btn{
    height:36px;
    border-radius:10px;
    font-size:12px;
  }
  .range-row strong{font-size:13px;min-width:46px;text-align:right}

  /* kaart sneller zichtbaar en minder hoog op mobiel */
  .map-card{
    height:360px;
    min-height:360px;
    border-radius:17px;
  }
  .map-controls{
    top:12px;
    left:12px;
    border-radius:12px;
  }
  .map-controls button{width:34px;height:34px}
  .legend{
    right:12px;
    top:12px;
    padding:8px 10px;
    gap:5px;
    font-size:11px;
    border-radius:12px;
  }
  .map-summary{
    left:12px;
    right:12px;
    bottom:10px;
    min-width:0;
    max-width:none;
    padding:11px 12px;
    border-radius:14px;
  }
  .map-summary h3{font-size:14px;margin-bottom:5px}
  .summary-row{font-size:11.5px;gap:10px;flex-wrap:wrap}
  .tag-row{gap:5px;margin-top:8px}
  .tag{font-size:10.5px;padding:3px 7px}

  /* tabs duidelijk, compact en sticky onder de header */
  .right-tabs{
    position:sticky;
    top:56px;
    z-index:20;
    margin:0 0 10px;
    padding:5px;
    gap:5px;
    border-radius:14px;
  }
  .tab{
    height:38px;
    font-size:13px;
    border-radius:11px;
  }
  .stats{gap:6px}
  .stat span{font-size:11px}
  .stat strong{font-size:13px}
  
  
  .day-tabs{
    grid-template-columns:repeat(4,1fr);
    gap:7px;
  }
  .day-tab{height:35px;border-radius:10px;font-size:12px}

  /* planning: minder hoog, meer scanbaar */
  .plan-read{
    grid-template-columns:48px 1fr auto;
    padding:9px;
    gap:7px;
  }
  .plan-read-time{font-size:12px}
  .plan-read-main strong{font-size:13px}
  .plan-read-main span{font-size:12px}
  .planning-actions{
    grid-template-columns:1fr;
    gap:8px;
  }
  .planning-actions .btn{height:38px}

  /* Stops-tab: sneller echte keuzes, minder uitleg-gevoel */
  #stopsTab .card.card-pad{
    min-height:auto;
    height:auto;
    padding:13px 14px;
  }
  #stopsTab .muted{
    font-size:12px;
    margin-bottom:8px;
  }
  #stopsTab .mode-switch{
    gap:8px;
    margin:9px 0;
  }
  #stopsTab .mode-btn{
    height:38px;
    font-size:12px;
    border-radius:11px;
  }
  #stopsTab .category-grid{
    grid-template-columns:1fr 1fr;
    gap:7px;
  }
  #stopsTab .category-btn{
    height:35px;
    border-radius:999px;
    font-size:12px;
  }
  #recommendations.rec-grid{
    grid-template-columns:1fr;
    max-height:none;
    overflow:visible;
  }
  #stopsTab .rec-card,
  #stopsTab .stop-item{
    border-radius:12px;
    padding:10px 11px;
  }
  #allStops.stop-list,
  #stopsTab .stop-list{
    height:auto;
    min-height:0;
    max-height:none;
    overflow:visible;
    padding-right:0;
  }
  #stopsTab .sticky-actions{
    position:sticky;
    bottom:0;
    background:linear-gradient(180deg,rgba(255,253,249,.85),var(--panel) 28%);
    padding-top:10px;
    margin-top:10px;
    border-top:1px solid var(--line);
  }

  /* Roadtrip-tab: meerdaags overzicht compacter */
  .trip-summary-box{padding:11px;border-radius:12px}
  .overview-day-list{max-height:none;overflow:visible;gap:7px;padding-right:0}
  .overview-day-row{
    grid-template-columns:50px minmax(0,1fr) auto;
    padding:0;
    border-radius:12px;
  }
  .overview-day-open{
    grid-template-columns:50px minmax(0,1fr);
    padding:9px 0 9px 9px;
  }
  .overview-day-main strong{font-size:12.5px}
  .overview-day-delete{font-size:11.5px}
  .active-day-mini-list div{
    grid-template-columns:48px 1fr;
    padding:8px 9px;
  }

  .footer{padding:18px 14px;font-size:12px}
  .footer-inner{gap:14px}
  .footer nav{gap:14px;line-height:1.8}
}

@media(max-width:430px){
  .left-panel,.right-panel{padding:9px}
  .card-pad{padding:12px}
  .left-panel .two{grid-template-columns:1fr 1fr;gap:7px}
  .input{height:37px;padding:0 9px}
  .map-card{height:330px;min-height:330px}
  .legend{font-size:10.5px}
  .map-summary{padding:10px}
  .summary-row{font-size:11px}
  .day-tabs{grid-template-columns:repeat(4,1fr)}
  .day-tab{height:34px}
  .tab{font-size:12.5px}
}

/* v3.9 Stops-tab: direct echte keuzes met professionele thumbnails */
#stopsTab .stops-card{overflow:hidden;}
#stopsTab .stops-head{align-items:flex-start;gap:10px;}
#stopsTab .compact-copy{margin:4px 0 0;line-height:1.35;}
.suggestion-toggle{
  border:1px solid #8bcfd1;background:#eafafb;color:#07585b;border-radius:999px;
  padding:6px 10px;font-weight:800;font-size:11px;white-space:nowrap;cursor:pointer;
}
.suggestion-toggle.off{background:#fff8ee;border-color:#d8c7aa;color:#8b660f;}
#stopsTab .stops-results-panel{min-height:0;flex:1 1 auto;display:flex;flex-direction:column;}
#stopsTab .stops-subhead{gap:8px;margin:8px 0 8px;}
#stopsTab .stops-subhead h3{font-size:13px;line-height:1.2;margin:0;}
.tiny-muted{font-size:10.5px;color:#786d5e;white-space:nowrap;}
#stopsTab .rich-stop-list{display:flex;flex-direction:column;gap:8px;overflow:auto;min-height:0;flex:1 1 auto;padding-right:5px;scrollbar-width:thin;}
.stop-result{border:1px solid var(--line);background:#fff;border-radius:13px;padding:8px;display:grid;grid-template-columns:74px minmax(0,1fr);gap:10px;align-items:center;min-height:84px;}
.stop-result.no-photo{grid-template-columns:1fr;min-height:68px;}
.stop-result-main{min-width:0;}
.stop-result-main strong{font-size:12.5px;line-height:1.25;display:block;color:#122525;}
.stop-result-main p{font-size:11.2px;line-height:1.35;color:#665d52;margin:3px 0 6px;}
.stop-result-actions-inline{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;}
.text-action{appearance:none;border:0;background:transparent;color:#00636a;font-weight:800;font-size:10.8px;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:2px;}
.text-action.add{color:#a16d00;text-decoration:none;}
.stop-photo{width:74px;height:58px;border:1px solid #d7c8ad;border-radius:10px;display:block;overflow:hidden;background-size:cover;background-position:center;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);}
.stop-photo-hotels.stop-photo-1,.stop-photo-hotels.stop-photo-3{background-image:linear-gradient(135deg,rgba(255,255,255,.2),rgba(0,0,0,.05)),linear-gradient(140deg,#7d9b79 0 22%,#e7d2ad 22% 44%,#946b3a 44% 60%,#f8f3e6 60% 100%);} 
.stop-photo-hotels.stop-photo-2,.stop-photo-hotels.stop-photo-4{background-image:linear-gradient(135deg,rgba(255,255,255,.16),rgba(0,0,0,.06)),linear-gradient(140deg,#b87b3b 0 18%,#f0c27b 18% 42%,#725c40 42% 58%,#fbf3e6 58% 100%);} 
.stop-photo-hotels.stop-photo-5,.stop-photo-hotels.stop-photo-6{background-image:linear-gradient(135deg,rgba(255,255,255,.16),rgba(0,0,0,.06)),linear-gradient(140deg,#5e7b6b 0 20%,#b9d1c5 20% 40%,#80634c 40% 56%,#f7efe1 56% 100%);} 
.stop-photo-restaurants{background-image:linear-gradient(135deg,rgba(255,255,255,.16),rgba(0,0,0,.06)),linear-gradient(140deg,#b1563e 0 24%,#f2d3a1 24% 45%,#6c4534 45% 63%,#fff5e4 63% 100%);} 
.stop-photo-laden{background-image:linear-gradient(135deg,rgba(255,255,255,.16),rgba(0,0,0,.06)),linear-gradient(140deg,#007b7d 0 24%,#b8ecec 24% 46%,#3b565a 46% 62%,#f2ffff 62% 100%);} 
.stop-photo-tanken{background-image:linear-gradient(135deg,rgba(255,255,255,.16),rgba(0,0,0,.06)),linear-gradient(140deg,#1d5670 0 24%,#e1e7eb 24% 44%,#c98a00 44% 60%,#fff7e5 60% 100%);} 
.stop-photo-uitjes{background-image:linear-gradient(135deg,rgba(255,255,255,.16),rgba(0,0,0,.06)),linear-gradient(140deg,#6fa15e 0 25%,#d8edc7 25% 45%,#6d87b4 45% 63%,#fff7df 63% 100%);} 
.empty-stops{border:1px dashed #d8c7aa;border-radius:13px;padding:14px;background:#fffaf2;display:grid;gap:5px;font-size:12px;color:#675d51;}
.empty-stops strong{color:#122525;}
.stop-modal{position:fixed;inset:0;display:none;z-index:9999;}
.stop-modal.open{display:block;}
.stop-modal-backdrop{position:absolute;inset:0;background:rgba(10,18,18,.42);}
.stop-modal-card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(720px,calc(100vw - 28px));background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 30px 90px rgba(25,19,8,.25);overflow:hidden;display:grid;grid-template-columns:260px 1fr;}
.stop-modal-close{position:absolute;right:12px;top:10px;width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:22px;font-weight:700;cursor:pointer;z-index:2;}
.stop-modal-photo{min-height:270px;background-size:cover;background-position:center;}
.stop-modal-body{padding:22px 22px 18px;}
.stop-modal-body h2{font-size:21px;margin:4px 0 8px;}
.modal-tags{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0;}
.modal-tags span{font-size:11px;font-weight:800;border:1px solid #9edede;background:#eafafa;color:#07585b;border-radius:999px;padding:4px 8px;}
.modal-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0;}
.modal-facts div{border:1px solid var(--line);border-radius:12px;padding:10px;background:#fffaf2;}
.modal-facts span{display:block;font-size:10px;color:#776c5e;margin-bottom:3px;}
.modal-facts strong{font-size:12px;color:#132525;}
.modal-actions{display:flex;gap:10px;}
@media(max-width:760px){
  #stopsTab .card.card-pad{min-height:calc(100vh - 170px);}
  #stopsTab .stops-head{display:block;}
  .suggestion-toggle{margin-top:8px;width:100%;}
  #stopsTab .rich-stop-list{max-height:none;}
  .stop-result{grid-template-columns:82px minmax(0,1fr);min-height:92px;padding:9px;}
  .stop-photo{width:82px;height:66px;}
  .stop-result-actions-inline{justify-content:space-between;}
  .text-action{font-size:12px;}
  .stop-result-main strong{font-size:14px;}
  .stop-result-main p{font-size:12.5px;}
  .stop-modal-card{grid-template-columns:1fr;max-height:86vh;overflow:auto;}
  .stop-modal-photo{min-height:190px;}
  .modal-facts{grid-template-columns:1fr;}
  .modal-actions{display:grid;}
}


/* Mobiele stopkaarten */
.stop-photo{background-color:#f7f2e8;background-repeat:no-repeat;background-size:cover;background-position:center;}
.stop-photo-hotels.stop-photo-1{background-image:url('../assets/stops/hotel-1.svg');}
.stop-photo-hotels.stop-photo-2{background-image:url('../assets/stops/hotel-2.svg');}
.stop-photo-hotels.stop-photo-3{background-image:url('../assets/stops/hotel-3.svg');}
.stop-photo-hotels.stop-photo-4{background-image:url('../assets/stops/hotel-4.svg');}
.stop-photo-hotels.stop-photo-5{background-image:url('../assets/stops/hotel-5.svg');}
.stop-photo-hotels.stop-photo-6{background-image:url('../assets/stops/hotel-6.svg');}
.stop-photo-restaurants.stop-photo-1{background-image:url('../assets/stops/restaurant-1.svg');}
.stop-photo-restaurants.stop-photo-2{background-image:url('../assets/stops/restaurant-2.svg');}
.stop-photo-restaurants.stop-photo-3{background-image:url('../assets/stops/restaurant-3.svg');}
.stop-photo-restaurants.stop-photo-4{background-image:url('../assets/stops/restaurant-4.svg');}
.stop-photo-restaurants.stop-photo-5{background-image:url('../assets/stops/restaurant-5.svg');}
.stop-photo-restaurants.stop-photo-6{background-image:url('../assets/stops/restaurant-6.svg');}
.stop-photo-laden.stop-photo-1{background-image:url('../assets/stops/charge-1.svg');}
.stop-photo-laden.stop-photo-2{background-image:url('../assets/stops/charge-2.svg');}
.stop-photo-laden.stop-photo-3{background-image:url('../assets/stops/charge-3.svg');}
.stop-photo-laden.stop-photo-4{background-image:url('../assets/stops/charge-4.svg');}
.stop-photo-laden.stop-photo-5{background-image:url('../assets/stops/charge-5.svg');}
.stop-photo-laden.stop-photo-6{background-image:url('../assets/stops/charge-6.svg');}
.stop-photo-tanken.stop-photo-1{background-image:url('../assets/stops/fuel-1.svg');}
.stop-photo-tanken.stop-photo-2{background-image:url('../assets/stops/fuel-2.svg');}
.stop-photo-tanken.stop-photo-3{background-image:url('../assets/stops/fuel-3.svg');}
.stop-photo-tanken.stop-photo-4{background-image:url('../assets/stops/fuel-4.svg');}
.stop-photo-tanken.stop-photo-5{background-image:url('../assets/stops/fuel-5.svg');}
.stop-photo-tanken.stop-photo-6{background-image:url('../assets/stops/fuel-6.svg');}
.stop-photo-uitjes.stop-photo-1{background-image:url('../assets/stops/outing-1.svg');}
.stop-photo-uitjes.stop-photo-2{background-image:url('../assets/stops/outing-2.svg');}
.stop-photo-uitjes.stop-photo-3{background-image:url('../assets/stops/outing-3.svg');}
.stop-photo-uitjes.stop-photo-4{background-image:url('../assets/stops/outing-4.svg');}
.stop-photo-uitjes.stop-photo-5{background-image:url('../assets/stops/outing-5.svg');}
.stop-photo-uitjes.stop-photo-6{background-image:url('../assets/stops/outing-6.svg');}
@media(max-width:760px){
  .stop-result{grid-template-columns:96px minmax(0,1fr);gap:12px;min-height:104px;align-items:center;}
  .stop-photo{width:96px;height:76px;border-radius:12px;}
  .stop-result-main p{margin:4px 0 7px;}
  .stop-result-actions-inline{gap:12px;}
}


/* v4.1 category decision polish: every stop answers why it fits this trip */
.stop-match-line,
.stop-why-line{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  margin:0 0 6px;
}
.stop-match-line span{
  border:1px solid rgba(11,111,113,.18);
  background:#eff8f6;
  color:#0b5658;
  border-radius:999px;
  padding:2px 6px;
  font-size:10.4px;
  font-weight:700;
  line-height:1.2;
}
.stop-why-line span{
  color:#6b6256;
  font-size:10.5px;
  line-height:1.2;
}
.stop-why-line span::before{content:'✓ ';color:#0b6f71;font-weight:800;}
.modal-why{
  border:1px solid rgba(11,111,113,.16);
  background:#f4fbf9;
  border-radius:14px;
  padding:11px 12px;
  margin:12px 0;
}
.modal-why strong{
  display:block;
  font-size:12px;
  color:#123232;
  margin-bottom:7px;
}
.modal-why ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:5px;
}
.modal-why li{
  font-size:12px;
  color:#4f5b58;
  line-height:1.35;
}
.modal-why li::before{content:'✓ ';font-weight:800;color:#0b6f71;}
#allStopsPanel .tiny-muted{
  max-width:210px;
  text-align:right;
  line-height:1.25;
}
@media (max-width: 760px){
  .stop-match-line span{font-size:10.8px;padding:2px 6px;}
  .stop-why-line{display:none;}
  .modal-why{margin:10px 0;padding:10px;}
  #allStopsPanel .tiny-muted{max-width:100%;text-align:left;}
}

/* v4.3 Roadora stopzone polish */
.plan-row .plan-read-main em{display:inline-flex;width:max-content;margin-top:5px;padding:3px 8px;border:1px solid rgba(10,105,107,.18);border-radius:999px;background:rgba(10,105,107,.07);color:#0b6f71;font-size:11px;font-style:normal;font-weight:700}
.stop-match-line span:last-child{background:rgba(212,151,18,.08);border-color:rgba(212,151,18,.22);color:#7f5a0d}
@media (max-width: 760px){
  .plan-row .plan-read-main em{font-size:10px;padding:2px 7px}
}

/* v4.4 live Places polish */
.live-place-pill{
  display:inline-flex;
  align-items:center;
  margin-left:6px;
  padding:2px 6px;
  border-radius:999px;
  font-size:10px;
  font-weight:650;
  letter-spacing:.02em;
  text-transform:uppercase;
  background:#e7f4ef;
  color:#0c6b4f;
  vertical-align:middle;
}
.stop-result.live-place{
  border-color:rgba(12,107,79,.18);
}
.stop-photo[style*="background-image"],
.stop-modal-photo[style*="background-image"]{
  background-size:cover;
  background-position:center;
}


/* v4.4.2 Live Places UI Cleanup + suggestion-map lock */
#stopsTab .stops-card{
  display:flex;
  flex-direction:column;
  min-height:0;
}
#stopsTab .stops-results-panel{
  min-height:0;
}
#stopsTab .rich-stop-list{
  gap:7px;
  padding-right:6px;
}
.stop-result{
  grid-template-columns:1fr;
  min-height:0;
  padding:10px 11px;
  align-items:start;
}
.stop-result.has-photo{
  grid-template-columns:86px minmax(0,1fr);
}
.stop-result-main strong{
  font-size:12.7px;
  line-height:1.22;
  overflow-wrap:anywhere;
}
.stop-result-main p{
  margin:3px 0 5px;
}
.stop-photo.has-live-photo{
  width:86px;
  height:66px;
  background-size:cover;
  background-position:center;
  background-color:#f7f2e8;
}
.stop-result.no-photo .stop-match-line{
  margin-top:5px;
}
.stop-why-line{
  display:none;
}
.stop-result-actions-inline{
  justify-content:flex-start;
  border-top:1px solid rgba(232,218,194,.75);
  padding-top:6px;
  margin-top:2px;
}
#stopsTab .sticky-actions{
  position:sticky;
  bottom:0;
  z-index:2;
  background:linear-gradient(180deg,rgba(255,251,244,.82),#fffbf4 38%);
  padding-top:12px;
}
.stop-modal-card{
  width:min(760px,calc(100vw - 28px));
  grid-template-columns:minmax(220px,280px) 1fr;
}
.stop-modal-photo.has-live-photo{
  min-height:300px;
  background-size:cover;
  background-position:center;
}
.stop-modal-photo.no-live-photo{
  display:none;
}
.stop-modal-card:has(.stop-modal-photo.no-live-photo){
  grid-template-columns:1fr;
  width:min(560px,calc(100vw - 28px));
}
.custom-marker{pointer-events:auto;}
.suggestion-toggle.off + *{}
@media(max-width:760px){
  .stop-result,
  .stop-result.has-photo{
    grid-template-columns:1fr;
    padding:10px;
  }
  .stop-photo.has-live-photo{
    width:100%;
    height:112px;
  }
  .stop-result-actions-inline{
    justify-content:space-between;
  }
  .stop-modal-card,
  .stop-modal-card:has(.stop-modal-photo.no-live-photo){
    grid-template-columns:1fr;
    width:calc(100vw - 22px);
  }
  .stop-modal-photo.has-live-photo{min-height:185px;}
}

/* v4.4.3 Zelf zoeken + Stops list hardening */
#stopsTab .stops-subhead{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:start;
  gap:6px 10px;
}
#stopsTab .stops-subhead h3{
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
}
#stopsTab .stops-subhead .tiny-muted{
  grid-column:1 / -1;
  white-space:normal;
  line-height:1.25;
  color:#6f6254;
}
#stopsTab .rich-stop-list{
  max-height:clamp(300px, 46vh, 560px);
  overflow:auto;
  overscroll-behavior:contain;
  padding:0 7px 8px 0;
}
#stopsTab .stop-result,
#stopsTab .stop-result.has-photo,
#stopsTab .stop-result.no-photo{
  min-height:auto;
  height:auto;
  overflow:visible;
  box-sizing:border-box;
}
#stopsTab .stop-result.has-photo{
  grid-template-columns:92px minmax(0,1fr);
  gap:10px;
}
#stopsTab .stop-photo.has-live-photo{
  width:92px;
  height:70px;
  border-radius:12px;
}
#stopsTab .stop-result-main{
  min-width:0;
  overflow:hidden;
}
#stopsTab .stop-result-main strong{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  overflow-wrap:anywhere;
}
#stopsTab .stop-result-main p{
  overflow-wrap:anywhere;
}
#stopsTab .stop-match-line{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  margin-top:5px;
}
#stopsTab .stop-result-actions-inline{
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  margin-top:7px;
}
#stopsTab .empty-stops{
  border:1px dashed #d8c7aa;
  background:#fffaf0;
  border-radius:12px;
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:12px;
  color:#5f5447;
}
#stopsTab .empty-stops strong{
  font-size:12.5px;
  color:#1e2626;
}
#stopsTab .sticky-actions{
  flex:0 0 auto;
  margin-top:10px;
  border-top:1px solid var(--line);
}
.suggestion-toggle.off{
  background:#fff8ee;
  border-color:#d8c7aa;
  color:#8b660f;
}
@media(max-width:760px){
  #stopsTab .rich-stop-list{
    max-height:48vh;
  }
  #stopsTab .stop-result.has-photo{
    grid-template-columns:82px minmax(0,1fr);
  }
  #stopsTab .stop-photo.has-live-photo{
    width:82px;
    height:62px;
  }
}


/* v4.4.4 Stops-panel clean rewrite — geen dubbele lijsten, geen overlap */
#recommendPanel.hidden,
#allStopsPanel.hidden,
#stopsTab #recommendPanel.hidden,
#stopsTab #allStopsPanel.hidden{
  display:none !important;
}
#stopsTab .stops-results-panel:not(.hidden){
  display:flex !important;
  flex-direction:column;
  min-height:0;
  flex:1 1 auto;
}
#stopsTab .card.card-pad{
  gap:0;
  overflow:hidden;
}
#stopsTab .stops-subhead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin:8px 0 8px;
}
#stopsTab .stops-subhead h3{
  font-size:13px;
  line-height:1.18;
  letter-spacing:-.015em;
  margin:0;
}
#stopsTab .stops-subhead .tiny-muted{
  display:none;
}
#stopsTab .rich-stop-list{
  flex:1 1 auto;
  min-height:0;
  max-height:none;
  overflow-y:auto;
  overflow-x:hidden;
  display:flex;
  flex-direction:column;
  gap:9px;
  padding:0 7px 8px 0;
  scrollbar-width:thin;
  scrollbar-color:#cbb891 transparent;
}
#stopsTab .stop-result,
#stopsTab .stop-result.has-photo,
#stopsTab .stop-result.no-photo{
  width:100%;
  min-width:0;
  min-height:0;
  height:auto;
  display:grid;
  grid-template-columns:82px minmax(0,1fr);
  gap:10px;
  padding:9px;
  border-radius:14px;
  background:#fffefb;
  border:1px solid rgba(11,111,113,.16);
  overflow:hidden;
  box-shadow:0 4px 12px rgba(44,31,13,.035);
}
#stopsTab .stop-result.no-photo{
  grid-template-columns:1fr;
}
#stopsTab .stop-photo.has-live-photo{
  width:82px;
  height:62px;
  min-width:82px;
  border-radius:11px;
  background-size:cover;
  background-position:center;
}
#stopsTab .stop-result-main{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
  overflow:hidden;
}
#stopsTab .stop-result-main strong{
  display:block;
  font-size:12.5px;
  line-height:1.18;
  max-height:2.4em;
  overflow:hidden;
  text-overflow:ellipsis;
}
#stopsTab .live-place-pill{
  margin-left:4px;
  padding:1px 5px;
  font-size:8.5px;
  line-height:1.35;
  vertical-align:1px;
}
#stopsTab .stop-result-main p{
  margin:0;
  font-size:11px;
  line-height:1.25;
  color:#655b50;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
#stopsTab .stop-match-line{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  margin:1px 0 0;
}
#stopsTab .stop-match-line span{
  font-size:9.8px;
  padding:2px 6px;
  line-height:1.15;
  max-width:100%;
}
#stopsTab .stop-why-line{
  display:none !important;
}
#stopsTab .stop-result-actions-inline{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  border-top:0;
  padding-top:2px;
  margin-top:0;
}
#stopsTab .text-action{
  font-size:11.2px;
  line-height:1.1;
  white-space:nowrap;
}
#stopsTab .sticky-actions{
  flex:0 0 auto;
  position:sticky;
  bottom:0;
  z-index:4;
  background:linear-gradient(180deg, rgba(255,251,244,.72), #fffbf4 32%);
  border-top:1px solid var(--line);
  margin-top:8px;
  padding-top:10px;
}
#stopsTab .empty-stops{
  min-height:92px;
}
@media(max-width:760px){
  #stopsTab .rich-stop-list{
    max-height:48vh;
    gap:8px;
    padding-right:5px;
  }
  #stopsTab .stop-result,
  #stopsTab .stop-result.has-photo{
    grid-template-columns:74px minmax(0,1fr);
    gap:9px;
    padding:8px;
  }
  #stopsTab .stop-photo.has-live-photo{
    width:74px;
    height:58px;
    min-width:74px;
  }
  #stopsTab .stop-result-main strong{font-size:12px;}
  #stopsTab .stop-result-main p{font-size:10.8px;}
  #stopsTab .stop-result-actions-inline{gap:10px;}
}

/* v4.4.5 Places pins + rustigere stopkaarten */
.place-marker{
  width:24px;
  height:24px;
  border-radius:999px 999px 999px 4px;
  transform:rotate(-45deg);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0b6f71;
  color:#fff;
  border:2px solid #fff;
  box-shadow:0 4px 10px rgba(0,0,0,.22);
  font-size:10px;
  font-weight:900;
}
.place-marker::before{
  content:attr(class);
  display:none;
}
.place-marker{
  line-height:1;
}
.place-marker{
  font-family:inherit;
}
.place-marker-H,
.place-marker span{transform:rotate(45deg);}
.place-marker-hotels{background:#0b6f71;}
.place-marker-restaurants{background:#d89018;}
.place-marker-laden{background:#6c4bb3;}
.place-marker-tanken{background:#1f8a70;}
.place-marker-uitjes{background:#2f7f55;}
.place-marker-wc{background:#4f6f83;}
.place-marker{font-size:0;}
.place-marker::after{
  content:'P';
  transform:rotate(45deg);
  font-size:10px;
}
.place-marker-hotels::after{content:'H';}
.place-marker-restaurants::after{content:'E';}
.place-marker-laden::after{content:'L';}
.place-marker-tanken::after{content:'T';}
.place-marker-uitjes::after{content:'U';}
.place-marker-wc::after{content:'W';}

#stopsTab .stops-card,
#stopsTab .card.card-pad{
  min-height:0;
}
#stopsTab .rich-stop-list{
  max-height:clamp(260px, 42vh, 470px);
  padding:0 8px 10px 0;
  gap:10px;
}
#stopsTab .stop-result,
#stopsTab .stop-result.has-photo,
#stopsTab .stop-result.no-photo{
  grid-template-columns:96px minmax(0,1fr);
  gap:11px;
  padding:10px;
  border-radius:15px;
  align-items:start;
  overflow:visible;
}
#stopsTab .stop-result.no-photo{
  grid-template-columns:1fr;
}
#stopsTab .stop-photo.has-live-photo{
  width:96px;
  height:72px;
  min-width:96px;
  border-radius:12px;
}
#stopsTab .stop-result-main strong{
  font-size:12.7px;
  line-height:1.18;
  max-height:none;
  display:block;
}
#stopsTab .stop-result-main p{
  font-size:11.3px;
  line-height:1.32;
  -webkit-line-clamp:2;
}
#stopsTab .stop-match-line{
  gap:5px;
}
#stopsTab .stop-match-line span{
  font-size:10px;
  padding:3px 7px;
}
#stopsTab .stop-result-actions-inline{
  border-top:1px solid rgba(232,218,194,.75);
  padding-top:7px;
  margin-top:3px;
  justify-content:space-between;
}
#stopsTab .sticky-actions{
  background:#fffbf4;
  box-shadow:0 -8px 18px rgba(255,251,244,.92);
}
@media(max-width:760px){
  #stopsTab .rich-stop-list{
    max-height:45vh;
    gap:10px;
  }
  #stopsTab .stop-result,
  #stopsTab .stop-result.has-photo{
    grid-template-columns:92px minmax(0,1fr);
    gap:10px;
    padding:10px;
  }
  #stopsTab .stop-photo.has-live-photo{
    width:92px;
    height:68px;
    min-width:92px;
  }
  #stopsTab .stop-result-main strong{font-size:12.4px;}
  #stopsTab .stop-result-main p{font-size:11px;}
}

/* v4.4.6 SOLID FIX — Stops panel stable cards, no compressed fallback layout */
#stopsTab .stops-card,
#stopsTab .card.card-pad{
  display:flex !important;
  flex-direction:column !important;
  min-height:0 !important;
  overflow:hidden !important;
}
#stopsTab .stops-results-panel:not(.hidden){
  display:flex !important;
  flex-direction:column !important;
  min-height:0 !important;
  flex:1 1 auto !important;
  overflow:hidden !important;
}
#stopsTab .rich-stop-list{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  flex:1 1 auto !important;
  min-height:0 !important;
  max-height:calc(100vh - 430px) !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  gap:10px !important;
  padding:0 7px 12px 0 !important;
  scroll-padding-bottom:18px !important;
  scrollbar-width:thin;
  scrollbar-color:#c7ad77 transparent;
}
#stopsTab .rich-stop-list > *,
#stopsTab .stop-result,
#stopsTab .stop-result.has-photo,
#stopsTab .stop-result.no-photo{
  flex:0 0 auto !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
}
#stopsTab .stop-result,
#stopsTab .stop-result.has-photo{
  display:grid !important;
  grid-template-columns:74px minmax(0,1fr) !important;
  gap:10px !important;
  min-height:96px !important;
  padding:10px !important;
  border-radius:14px !important;
  border:1px solid rgba(11,111,113,.18) !important;
  background:#fffefb !important;
  box-shadow:0 4px 12px rgba(44,31,13,.04) !important;
  align-items:start !important;
}
#stopsTab .stop-result.no-photo{
  display:block !important;
  min-height:78px !important;
  padding:11px 12px !important;
}
#stopsTab .stop-photo,
#stopsTab .stop-photo.has-live-photo{
  display:block !important;
  width:74px !important;
  height:74px !important;
  min-width:74px !important;
  max-width:74px !important;
  border-radius:12px !important;
  background-size:cover !important;
  background-position:center !important;
  border:1px solid rgba(11,111,113,.16) !important;
  overflow:hidden !important;
}
#stopsTab .stop-result-main{
  min-width:0 !important;
  max-width:100% !important;
  display:flex !important;
  flex-direction:column !important;
  gap:4px !important;
  overflow:hidden !important;
}
#stopsTab .stop-result-main strong{
  display:block !important;
  font-size:12.6px !important;
  line-height:1.18 !important;
  font-weight:850 !important;
  max-height:2.4em !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  color:#102323 !important;
}
#stopsTab .live-place-pill{
  display:inline-flex !important;
  margin-left:5px !important;
  padding:1px 5px !important;
  font-size:8.5px !important;
  line-height:1.35 !important;
  vertical-align:1px !important;
  white-space:nowrap !important;
}
#stopsTab .stop-result-main p{
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  margin:0 !important;
  max-height:2.7em !important;
  overflow:hidden !important;
  font-size:11px !important;
  line-height:1.3 !important;
  color:#615a51 !important;
}
#stopsTab .stop-match-line{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:4px !important;
  max-height:23px !important;
  overflow:hidden !important;
  margin-top:1px !important;
}
#stopsTab .stop-match-line span{
  flex:0 0 auto !important;
  max-width:100% !important;
  font-size:9.5px !important;
  line-height:1.1 !important;
  padding:3px 6px !important;
  white-space:nowrap !important;
}
#stopsTab .stop-why-line{
  display:none !important;
}
#stopsTab .stop-result-actions-inline{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:12px !important;
  margin-top:2px !important;
  padding-top:5px !important;
  border-top:1px solid rgba(232,218,194,.7) !important;
  min-width:0 !important;
  overflow:hidden !important;
}
#stopsTab .text-action{
  font-size:11px !important;
  line-height:1.15 !important;
  white-space:nowrap !important;
}
#stopsTab .sticky-actions{
  flex:0 0 auto !important;
  position:sticky !important;
  bottom:0 !important;
  z-index:10 !important;
  background:#fffbf4 !important;
  box-shadow:0 -12px 22px rgba(255,251,244,.96) !important;
  border-top:1px solid var(--line) !important;
  margin-top:10px !important;
  padding-top:10px !important;
}
#stopsTab .stops-subhead{
  flex:0 0 auto !important;
  margin:10px 0 8px !important;
}
#stopsTab .stops-subhead h3{
  font-size:13px !important;
  line-height:1.2 !important;
}
@media(max-width:760px){
  #stopsTab .rich-stop-list{
    max-height:42vh !important;
    gap:9px !important;
    padding-right:6px !important;
  }
  #stopsTab .stop-result,
  #stopsTab .stop-result.has-photo{
    grid-template-columns:72px minmax(0,1fr) !important;
    min-height:94px !important;
    gap:9px !important;
    padding:9px !important;
  }
  #stopsTab .stop-photo,
  #stopsTab .stop-photo.has-live-photo{
    width:72px !important;
    height:72px !important;
    min-width:72px !important;
    max-width:72px !important;
  }
  #stopsTab .stop-result-main strong{font-size:12.2px !important;}
  #stopsTab .stop-result-main p{font-size:10.7px !important;}
}


/* v4.4.9 solide klikbare Places-pins */
.roadora-place-marker-icon,
.roadora-place-marker-icon *{
  pointer-events:auto!important;
  cursor:pointer!important;
}
.roadora-place-marker-icon{
  z-index:680!important;
}
.roadora-place-marker-icon:focus .place-marker,
.roadora-place-marker-icon:hover .place-marker{
  transform:rotate(-45deg) scale(1.08);
  box-shadow:0 8px 18px rgba(0,0,0,.28);
}
.place-marker{
  width:30px;
  height:30px;
  position:relative;
  pointer-events:auto!important;
  user-select:none;
}
.place-marker::after{
  font-size:11px;
}

/* v5.2 Routeflow zonder Roadora-suggesties */
.suggestion-paused{background:#fff8ee;border-color:#d8c7aa;color:#8b660f;}
#recommendPanel{display:none!important;}
.mode-switch.hidden,#mapToggleStops.hidden,.legend.hidden{display:none!important;}

.soft-required{font-weight:700;color:#6f7d7d;font-size:.72rem;margin-left:4px}

.stop-trip-line{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 2px}
.stop-trip-line span{display:inline-flex;align-items:center;border:1px solid rgba(15,118,110,.24);background:rgba(15,118,110,.08);color:#075b57;border-radius:999px;padding:3px 7px;font-size:11px;font-weight:800}

/* v5.6: nettere tijd-/hotelvelden */
.soft-required{display:inline-flex;align-items:center;margin-left:6px;padding:2px 6px;border-radius:999px;background:#f3eadb;color:#7a6a55;font-size:10px;font-weight:750;white-space:nowrap;vertical-align:middle}
.two .field label{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:18px}
.two .field .input{min-width:0}


/* v5.7 routeflow autosave + cleaner hotel time fields */
.field-label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:18px;line-height:1.15}
.field-label-row label{margin:0;line-height:1.15}
.compact-field{min-width:0}
.clean-time-input{font-variant-numeric:tabular-nums;letter-spacing:.02em}
.time-input-wrap{position:relative}
.time-input-wrap:after{content:'⌚';font-size:14px;color:#746958;line-height:1;opacity:.75}
.time-input-wrap input::-webkit-calendar-picker-indicator{display:none!important}
.time-input-wrap input::-webkit-clear-button{display:none!important}
.soft-required{display:inline-flex;align-items:center;justify-content:center;margin-left:6px;padding:2px 7px;border-radius:999px;background:#f3eadb;color:#7a6a55;font-size:9.5px;font-weight:800;white-space:nowrap;vertical-align:middle;max-width:100%}
.hotel-arrival-field .hint{grid-column:1/-1;margin-top:4px;line-height:1.35}
.left-panel .two .field{min-width:0}
.left-panel .two .input{min-width:0}
.left-panel .two .input input,.left-panel .two .input select{font-size:13px}
@media(max-width:760px){.field-label-row{align-items:flex-start}.soft-required{font-size:9px;padding:2px 6px}.time-input-wrap:after{font-size:13px}}

/* v5.8: form-audit polish + Androidachtige ronde vertrektijdklok */
.left-panel .two{
  gap:10px;
  align-items:start;
}
.left-panel .two .field{
  gap:6px;
  margin-bottom:12px;
}
.field-label-row{
  align-items:flex-start;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:4px 6px;
  min-height:22px;
}
.field-label-row label{
  display:block;
  line-height:1.15;
}
.hotel-arrival-field .field-label-row label{
  max-width:120px;
}
.soft-required{
  margin-left:0;
  transform:translateY(-1px);
  font-size:9px;
  line-height:1;
  padding:4px 7px;
}
.left-panel .input{
  border-radius:12px;
  height:41px;
}
.time-input-wrap{
  padding-right:8px;
}
.time-input-wrap:after{content:none!important}
.time-input-wrap input[readonly]{cursor:pointer}
.clock-open-btn{
  width:30px;
  height:30px;
  border:0;
  border-radius:999px;
  background:#f6efe4;
  color:#0c5d60;
  display:grid;
  place-items:center;
  font-size:17px;
  font-weight:900;
  cursor:pointer;
  flex:0 0 auto;
}
.clock-open-btn:hover{background:#e9fbfb}
.clock-modal{position:fixed;inset:0;z-index:500;display:none;align-items:center;justify-content:center;padding:18px}
.clock-modal.open{display:flex}
.clock-backdrop{position:absolute;inset:0;background:rgba(30,22,12,.28);backdrop-filter:blur(2px)}
.clock-panel{position:relative;width:min(360px,calc(100vw - 28px));border:1px solid var(--line);border-radius:24px;background:#fffdf9;box-shadow:0 30px 90px rgba(29,20,8,.24);padding:16px}
.clock-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.clock-head strong{display:block;font-size:16px;color:#111}
.clock-head span{display:block;margin-top:3px;color:var(--muted);font-size:12px}
.clock-close{width:34px;height:34px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#5b5145;font-size:20px;line-height:1;cursor:pointer}
.clock-display{height:46px;border-radius:15px;background:#f3eadb;color:#0b5a5d;display:grid;place-items:center;font-size:28px;font-weight:850;font-variant-numeric:tabular-nums;margin-bottom:13px;letter-spacing:.02em}
.round-clock{position:relative;width:240px;height:240px;margin:0 auto;border-radius:999px;background:linear-gradient(180deg,#f8f1e7,#fffdf9);border:1px solid var(--line);box-shadow:inset 0 0 0 10px rgba(255,255,255,.55)}
.clock-hour{position:absolute;transform:translate(-50%,-50%);width:38px;height:38px;border-radius:999px;border:0;background:#fff;color:#4c4236;font-weight:850;box-shadow:0 4px 12px rgba(42,31,12,.10);cursor:pointer}
.clock-hour.active{background:#0d6b6e;color:#fff}
.clock-center{position:absolute;left:50%;top:50%;width:10px;height:10px;border-radius:999px;background:#0d6b6e;transform:translate(-50%,-50%);z-index:2}
.clock-hand{position:absolute;left:50%;top:50%;width:3px;height:76px;background:#0d6b6e;transform-origin:50% 100%;border-radius:999px;z-index:1;transition:transform .12s ease}
.minute-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0 0}
.minute-chip{height:36px;border-radius:999px;border:1px solid var(--line);background:#fff;color:#4d4337;font-weight:850;cursor:pointer}
.minute-chip.active{background:#e9fbfb;border-color:#8acfd0;color:#075b5e}
.clock-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}
@media(max-width:760px){
  .clock-panel{border-radius:22px;padding:14px}
  .round-clock{width:220px;height:220px}
  .clock-hour{width:36px;height:36px}
}

/* v5.9: form audit polish - no helper pills + echte ronde klok */
.left-panel .two{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:10px;
  align-items:start;
}
.left-panel .two .field{
  margin:0 0 12px;
  min-width:0;
}
.left-panel .field label{
  display:block;
  min-height:18px;
  margin:0 0 6px;
  font-size:12px;
  line-height:1.15;
  font-weight:850;
  color:#2b2117;
}
.left-panel .two .field label{
  min-height:28px;
  display:flex;
  align-items:flex-end;
}
.left-panel .input,
.clock-field-btn{
  width:100%;
  height:42px;
  min-height:42px;
  box-sizing:border-box;
  border-radius:13px;
}
.field-label-row{display:block!important;min-height:auto!important}
.soft-required{display:none!important}
.hotel-arrival-field .hint{display:none!important}
.hotel-helper-note{
  margin:-3px 0 14px;
  font-size:12px;
  line-height:1.35;
  color:#746958;
}
.clock-field-btn{
  border:1px solid var(--line-2, #d9c8ad);
  background:#fff;
  padding:0 8px 0 13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  cursor:pointer;
  color:#2b2117;
  font:inherit;
  text-align:left;
}
.clock-field-btn:hover{border-color:#cfa866;background:#fffdf8}
.time-display-text{
  font-size:13px;
  font-weight:650;
  font-variant-numeric:tabular-nums;
  letter-spacing:.02em;
}
.time-display-text.is-placeholder{color:#8a7a66;font-weight:550}
.clock-icon{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#f4ecdF;
  color:#0d6b6e;
  font-size:18px;
  flex:0 0 auto;
}
.clock-open-btn{display:none!important}
.clean-time-input{display:none!important}
.clock-modal{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:18px}
.clock-modal.open{display:flex}
.clock-backdrop{position:absolute;inset:0;background:rgba(32,24,14,.34);backdrop-filter:blur(2px)}
.clock-panel{position:relative;width:min(360px,calc(100vw - 28px));border:1px solid var(--line, #dfcfb8);border-radius:26px;background:#fffdf9;box-shadow:0 30px 90px rgba(29,20,8,.26);padding:16px;box-sizing:border-box}
.clock-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.clock-head strong{display:block;font-size:16px;color:#111;line-height:1.2}
.clock-head span{display:block;margin-top:3px;color:var(--muted, #7f7367);font-size:12px;line-height:1.3}
.clock-close{width:34px;height:34px;border:1px solid var(--line, #dfcfb8);border-radius:999px;background:#fff;color:#5b5145;font-size:20px;line-height:1;cursor:pointer}
.clock-display{height:48px;border-radius:16px;background:#f3eadb;color:#0b5a5d;display:grid;place-items:center;font-size:28px;font-weight:850;font-variant-numeric:tabular-nums;margin-bottom:14px;letter-spacing:.02em}
.round-clock{position:relative;width:246px;height:246px;margin:0 auto;border-radius:999px;background:linear-gradient(180deg,#f7f0e6,#fffdf9);border:1px solid var(--line, #dfcfb8);box-shadow:inset 0 0 0 11px rgba(255,255,255,.62)}
.clock-hour{position:absolute;transform:translate(-50%,-50%);width:38px;height:38px;border-radius:999px;border:0;background:#fff;color:#4c4236;font-weight:850;box-shadow:0 4px 12px rgba(42,31,12,.10);cursor:pointer;display:grid;place-items:center}
.clock-hour:hover{background:#edf8f7;color:#075b5e}
.clock-hour.active{background:#0d6b6e;color:#fff}
.clock-center{position:absolute;left:50%;top:50%;width:11px;height:11px;border-radius:999px;background:#0d6b6e;transform:translate(-50%,-50%);z-index:2}
.clock-hand{position:absolute;left:50%;top:50%;width:3px;height:79px;background:#0d6b6e;transform-origin:50% 100%;border-radius:999px;z-index:1;transition:transform .12s ease}
.minute-row{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0 0}
.minute-chip{height:36px;border-radius:999px;border:1px solid var(--line, #dfcfb8);background:#fff;color:#4d4337;font-weight:850;cursor:pointer}
.minute-chip.active{background:#e9fbfb;border-color:#8acfd0;color:#075b5e}
.clock-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}
@media(max-width:760px){
  .left-panel .two{gap:8px}
  .left-panel .two .field label{min-height:30px;font-size:11.5px}
  .hotel-helper-note{font-size:11.5px}
  .clock-panel{border-radius:22px;padding:14px}
  .round-clock{width:224px;height:224px}
  .clock-hour{width:36px;height:36px;font-size:12px}
  .clock-hand{height:72px}
}


/* Tijdkeuze en aankomsttijdvak */
.clock-field-btn{
  position:relative;
  border:1px solid var(--line-2, #d9c8ad)!important;
  background:#fff!important;
  padding:0 8px 0 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  cursor:pointer!important;
}
.roadora-time-input{
  width:100%;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  height:100%!important;
  font:inherit;
  font-size:13px;
  font-weight:650;
  color:#2b2117;
  cursor:pointer;
  pointer-events:none;
}
.roadora-time-input::placeholder{color:#8b7b67;font-weight:550}
.clock-icon-btn{
  width:30px;
  height:30px;
  border:0;
  border-radius:999px;
  background:#f4ecdf;
  color:#0d6b6e;
  display:grid;
  place-items:center;
  font-size:17px;
  font-weight:900;
  cursor:pointer;
  flex:0 0 auto;
}
.clock-icon-btn:hover{background:#e9fbfb}
.hotel-arrival-field select{
  width:100%;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  padding-right:26px!important;
}
.left-panel .two .field{min-width:0}
.left-panel .two .field label{line-height:1.05}
@media(max-width:760px){
  .hotel-arrival-field select{font-size:11.5px;padding-left:10px!important}
  .roadora-time-input{font-size:12px}
}


/* Compacte vertrektijdkiezer */
.clock-modal{
  position:fixed!important;
  inset:0!important;
  z-index:1000!important;
  display:none!important;
  align-items:initial!important;
  justify-content:initial!important;
  padding:0!important;
  pointer-events:none!important;
}
.clock-modal.open{display:block!important}
.clock-backdrop{
  display:none!important;
  background:transparent!important;
  backdrop-filter:none!important;
}
.clock-panel{
  position:fixed!important;
  width:252px!important;
  max-width:calc(100vw - 20px)!important;
  border-radius:18px!important;
  padding:11px!important;
  box-shadow:0 16px 40px rgba(29,20,8,.22)!important;
  pointer-events:auto!important;
}
.clock-head{margin-bottom:8px!important;align-items:center!important}
.clock-head strong{font-size:13px!important}
.clock-head span{display:none!important}
.clock-close{width:28px!important;height:28px!important;font-size:17px!important}
.clock-display{height:36px!important;border-radius:12px!important;font-size:20px!important;margin-bottom:9px!important}
.round-clock{width:174px!important;height:174px!important;box-shadow:inset 0 0 0 7px rgba(255,255,255,.62)!important}
.clock-hour{width:28px!important;height:28px!important;font-size:10.5px!important;box-shadow:0 2px 8px rgba(42,31,12,.10)!important}
.clock-center{width:8px!important;height:8px!important}
.clock-hand{height:54px!important;width:2px!important}
.minute-row{grid-template-columns:repeat(4,1fr)!important;gap:6px!important;margin-top:9px!important}
.minute-chip{height:30px!important;font-size:11px!important}
.clock-actions{grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:9px!important}
.clock-actions .btn{height:34px!important;font-size:12px!important;border-radius:10px!important}
#openDepartClock{cursor:pointer!important}
#departTime{display:block!important;pointer-events:none!important;color:#2b2117!important;font-weight:650!important}
#hotelArrival{font-size:12px!important;padding-right:4px!important;text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}
.hotel-arrival-field .input{padding-left:10px!important;padding-right:8px!important}
.left-panel .two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important}
.left-panel .field{min-width:0!important}

/* Locatiegeschiedenis */
.input.has-location-history{position:relative;overflow:visible!important;z-index:30}
.location-history-popover{
  position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:9999;
  background:#fffdf9;border:1px solid #dfcfb8;border-radius:16px;
  box-shadow:0 16px 44px rgba(37,27,11,.16);padding:7px;box-sizing:border-box;
}
.location-history-title{font-size:11px;font-weight:850;color:#8a6412;padding:5px 8px 6px}
.location-history-item{
  width:100%;border:0;background:transparent;text-align:left;border-radius:11px;
  padding:10px 10px;font-size:14px;font-weight:650;color:#2b2117;cursor:pointer;
}
.location-history-item:hover,.location-history-item:focus{background:#f4ead7;outline:none}
.location-history-item::before{content:'↺';display:inline-block;margin-right:8px;color:#0d6b6e;font-weight:900}

/* Lokale roadtripbibliotheek en Maps-navigatie */
.day-navigation-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.trip-library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.storage-status{font-size:11px;color:var(--muted);text-align:right}.storage-warning{padding-top:9px;border-top:1px solid var(--line)}.trip-card.active-trip{border-color:#6fbfc1;background:#f3ffff}.trip-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.trip-active-pill{font-size:10px;border-radius:999px;padding:3px 7px;background:#dff7f7;color:#07595b;font-weight:800}.trip-card-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.trip-card-actions button{border:1px solid var(--line);border-radius:9px;background:#fff;color:#765c2e;font-size:11px;font-weight:800;padding:6px 8px}.trip-card-actions button.danger{color:#a13b2f}.stop-photo-camperplaces{background-color:#edf4e4}@media(max-width:700px){.day-navigation-actions{grid-template-columns:1fr}.trip-library-toolbar{align-items:stretch;flex-direction:column}.storage-status{text-align:left}}

/* Blijvende pins voor gekozen dagstops */
.roadora-planned-marker-icon,
.roadora-planned-marker-icon *{
  pointer-events:auto!important;
  cursor:pointer!important;
}
.roadora-planned-marker-icon{
  background:transparent!important;
  border:0!important;
  z-index:900!important;
}
.planned-stop-pin{
  width:32px;
  height:32px;
  border-radius:999px 999px 999px 5px;
  transform:rotate(-45deg);
  display:grid;
  place-items:center;
  border:3px solid #fff;
  box-shadow:0 7px 18px rgba(25,18,8,.32);
  color:#fff;
  font-size:11px;
  font-weight:950;
  line-height:1;
  background:#c88b13;
  transition:transform .14s ease,box-shadow .14s ease;
}
.planned-stop-pin span{transform:rotate(45deg);display:block}
.roadora-planned-marker-icon:hover .planned-stop-pin,
.roadora-planned-marker-icon:focus .planned-stop-pin{
  transform:rotate(-45deg) scale(1.10);
  box-shadow:0 10px 24px rgba(25,18,8,.38);
}
.planned-stop-pin-start{background:#2f9b67}
.planned-stop-pin-stop{background:#c88b13}
.planned-stop-pin-hotel{background:#0b6f71}
.planned-stop-pin-camper{background:#547c35}
.planned-stop-pin-end{background:#252525}
.planned-stop-popup{min-width:150px;display:flex;flex-direction:column;gap:3px}
.planned-stop-popup strong{font-size:13px;line-height:1.25;color:#1d1812}
.planned-stop-popup span{font-size:11px;color:#756958}
.plan-read-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end}
.plan-map,.plan-edit{
  border:0;
  background:transparent;
  font-size:11.5px;
  font-weight:850;
  padding:6px 0 6px 8px;
  cursor:pointer;
}
.plan-map{color:#0b6f71}
.plan-map::before{content:'⌖';margin-right:4px;font-size:13px;vertical-align:-1px}
.plan-map:hover,.plan-map:focus{color:#064b4f;text-decoration:underline;outline:none}
@media(max-width:760px){
  .plan-read-actions{gap:5px}
  .plan-map,.plan-edit{font-size:10.5px;padding-left:5px}
  .plan-map::before{margin-right:2px}
}

/* Routekeuze */
.route-preference-block{margin:14px 0 12px}
.route-preference-block>label{display:block;font-size:.83rem;font-weight:800;color:#183c3d;margin-bottom:8px}
.route-preference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.route-preference{appearance:none;border:1px solid #cddfdf;background:#f7fbfb;border-radius:12px;padding:10px 9px;text-align:left;min-height:70px;cursor:pointer;color:#183c3d;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease}
.route-preference:hover{border-color:#7eb1b2;transform:translateY(-1px)}
.route-preference strong{display:block;font-size:.85rem;line-height:1.2;margin-bottom:5px}
.route-preference span{display:block;font-size:.7rem;line-height:1.25;color:#617979;font-weight:600}
.route-preference.active{border-color:#0b6f71;background:#e9f6f5;box-shadow:0 0 0 2px rgba(11,111,113,.11)}
.route-preference.active strong{color:#075b5d}
.route-preference.unavailable{opacity:.52;cursor:not-allowed;transform:none}
.route-preference.same-route span{color:#527071}
.route-preference-note{margin:7px 2px 0}
.route-preference-note.warning{color:#8a5b0b}
@media(max-width:720px){.route-preference-grid{grid-template-columns:1fr}.route-preference{min-height:0;padding:10px 12px}.route-preference strong,.route-preference span{display:inline}.route-preference strong{margin-right:7px}.route-preference span:before{content:'· ';}}


/* Live Eten- en WC-filters */
.food-filter-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 4px;padding:10px 12px;border:1px solid var(--line,#dfe6e3);border-radius:14px;background:#f8fbfa}
.food-filter-bar.hidden{display:none}
.food-filter-bar>span{font-size:.82rem;font-weight:800;color:#51605c;margin-right:2px}
.food-filter{appearance:none;border:1px solid #cfdad6;background:#fff;color:#34413e;border-radius:999px;padding:8px 12px;font:inherit;font-size:.82rem;font-weight:750;cursor:pointer}
.food-filter:hover{border-color:#779a91}
.food-filter.active{background:#0d6b6e;border-color:#0d6b6e;color:#fff}
@media(max-width:680px){.food-filter-bar{gap:6px;padding:9px}.food-filter{padding:7px 10px;font-size:.78rem}}


/* Routewissel en opnieuw koppelen van stops */
.plan-row.route-mismatch{border-color:#d8882d!important;background:#fff9ef!important;box-shadow:0 0 0 1px rgba(216,136,45,.16)}
.plan-row.route-mismatch .plan-read-main span{color:#8b5209}
.plan-replace{border:0;background:transparent;color:#b45e08;font-size:11.5px;font-weight:900;padding:6px 0 6px 8px;cursor:pointer}
.plan-replace::before{content:'↻';margin-right:4px;font-size:13px}
.plan-replace:hover,.plan-replace:focus{color:#7f3f00;text-decoration:underline;outline:none}
.planned-stop-pin-mismatch{background:#d36b18!important;box-shadow:0 0 0 4px rgba(211,107,24,.20),0 7px 18px rgba(25,18,8,.32)}
.route-preference-note.warning{font-weight:700}
@media(max-width:760px){.plan-replace{font-size:10.5px;padding-left:5px}.plan-replace::before{margin-right:2px}}


/* Compacte routewaarschuwingen en acties */
.plan-read{
  grid-template-columns:54px minmax(0,1fr);
  align-items:start;
}
.plan-read-main span{
  word-break:normal;
  overflow-wrap:break-word;
  hyphens:auto;
}
.plan-read-actions{
  grid-column:2;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:2px 8px;
  margin-top:-2px;
}
.plan-map,.plan-edit,.plan-replace{
  padding:3px 0;
  white-space:nowrap;
}
.plan-row.route-mismatch .plan-read-main span{
  line-height:1.4;
}
@media(max-width:760px){
  .plan-read{grid-template-columns:48px minmax(0,1fr);gap:7px;padding:9px}
  .plan-read-actions{grid-column:2;gap:2px 7px}
  .plan-map,.plan-edit,.plan-replace{font-size:10.5px;padding:3px 0}
}


/* Compacte planningkaarten */
.plan-read.plan-read-v653{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:start!important;
  width:100%!important;
  box-sizing:border-box!important;
  padding:10px!important;
}
.plan-read-v653 .plan-read-time{
  min-width:0!important;
  padding-top:1px!important;
  white-space:nowrap!important;
}
.plan-read-v653 .plan-read-content{
  min-width:0!important;
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:7px!important;
}
.plan-read-v653 .plan-read-main{
  min-width:0!important;
  width:100%!important;
  display:block!important;
}
.plan-read-v653 .plan-read-main strong{
  display:block!important;
  max-width:100%!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
.plan-detail-list{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin-top:4px!important;
  color:var(--muted)!important;
  font-size:11.5px!important;
  line-height:1.4!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  hyphens:none!important;
}
.plan-detail-list .plan-detail-item{
  display:inline!important;
  margin:0!important;
  padding:0!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  hyphens:none!important;
}
.plan-detail-list .plan-detail-item:not(:last-child)::after{
  content:' · ';
  color:#9a8c7a;
}
.plan-route-warning{
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  margin-top:7px!important;
  padding:4px 8px!important;
  border:1px solid #e3a45d!important;
  border-radius:999px!important;
  background:#fff1dd!important;
  color:#874400!important;
  font-size:10.5px!important;
  line-height:1.2!important;
  font-weight:850!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
.plan-read-v653 .plan-read-main em{
  display:inline-block!important;
  margin-top:6px!important;
}
.plan-read-v653 .plan-read-actions{
  display:flex!important;
  grid-column:auto!important;
  width:100%!important;
  min-width:0!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:4px 12px!important;
  margin:0!important;
  padding:0!important;
}
.plan-read-v653 .plan-map,
.plan-read-v653 .plan-edit,
.plan-read-v653 .plan-replace{
  flex:0 0 auto!important;
  padding:2px 0!important;
  margin:0!important;
  white-space:nowrap!important;
}
.plan-row.route-mismatch .plan-read-v653 .plan-read-main span{
  color:inherit!important;
}
.plan-row.route-mismatch .plan-detail-list{
  color:#6e6254!important;
}
.build-version{font-size:10px;color:#9a8c7a;margin-left:7px;white-space:nowrap}
@media(max-width:760px){
  .plan-read.plan-read-v653{
    grid-template-columns:48px minmax(0,1fr)!important;
    gap:8px!important;
    padding:9px!important;
  }
  .plan-detail-list{font-size:11px!important;line-height:1.38!important}
  .plan-route-warning{font-size:10px!important;padding:4px 7px!important}
  .plan-read-v653 .plan-read-actions{gap:3px 10px!important}
}
@media(max-width:360px){
  .plan-read.plan-read-v653{grid-template-columns:44px minmax(0,1fr)!important;gap:7px!important}
  .plan-read-v653 .plan-read-actions{gap:3px 8px!important}
}


/* Kleine schermen, kwaliteit en toegankelijkheid */
html,body{max-width:100%;overflow-x:clip}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:340px){
  .app-header{padding:9px 8px;gap:6px}
  .brand-slogan{display:none}
  .header-actions{gap:2px;min-width:0}
  .header-actions .top-link{padding:6px 5px;font-size:11px}
  .profile-dot{display:none}
}

/* Live Uitjes en veilig stopbeheer */
.plan-skip{
  border:0;
  background:transparent;
  color:#6f6252;
  font-size:11.5px;
  font-weight:850;
  padding:2px 0;
  margin:0;
  cursor:pointer;
  white-space:nowrap;
}
.plan-skip::before{content:'↷';margin-right:4px;font-size:13px}
.plan-skip:hover,.plan-skip:focus{color:#3e352b;text-decoration:underline;outline:none}
.plan-row-skipped{border-style:dashed!important;background:#f7f5f1!important;opacity:.84}
.plan-row-skipped .plan-read-main strong{text-decoration:line-through;text-decoration-thickness:1px;color:#786f64}
.plan-row-skipped .plan-detail-list{color:#8c8378!important}
.plan-skipped-badge{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  align-items:center;
  margin-top:7px;
  padding:4px 8px;
  border:1px solid #cfc7ba;
  border-radius:999px;
  background:#eeeae3;
  color:#62584b;
  font-size:10.5px;
  line-height:1.2;
  font-weight:850;
}
.planned-stop-pin-skipped{background:#8b8378!important;opacity:.78;filter:grayscale(.7);box-shadow:0 0 0 4px rgba(139,131,120,.18),0 7px 18px rgba(25,18,8,.24)}
.plan-read-v653 .plan-skip{flex:0 0 auto!important;padding:2px 0!important;margin:0!important;white-space:nowrap!important}
.active-day-mini-list .skipped{opacity:.65}
.active-day-mini-list .skipped strong{text-decoration:line-through}
@media(max-width:760px){
  .plan-skip{font-size:10.5px}
  .plan-skip::before{margin-right:2px}
  .plan-skipped-badge{font-size:10px;padding:4px 7px}
}


/* Verdeling van Eten en Uitjes */
#stopsTab .mode-switch:not(.hidden){display:grid!important;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 12px;}
#stopsTab .mode-btn{min-width:0;padding:0 9px;white-space:normal;line-height:1.15;}
#stopsTab .mode-btn.active{background:#e9fbfb;border-color:#72c6c9;color:#074f51;box-shadow:0 4px 12px rgba(7,79,81,.08);}
#stopsTab .stops-head .suggestion-paused{background:#edf9f8;border-color:#abd9d7;color:#0b6668;}
#stopsTab #recommendPanel .stops-subhead{align-items:center;}
#stopsTab #recommendPanel .mini-link{white-space:nowrap;}
@media (max-width:360px){
  #stopsTab .mode-switch:not(.hidden){gap:6px;}
  #stopsTab .mode-btn{height:40px;font-size:11px;padding:0 6px;}
}


/* Handmatig zoeken, eigen plekken en rondreis */
.trip-type-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 4px}.trip-type-btn{border:1px solid var(--line,#dfcfb8);border-radius:12px;background:#fff;color:#4d4337;font:inherit;font-weight:850;padding:10px;cursor:pointer}.trip-type-btn.active{background:#0d6b6e;border-color:#0d6b6e;color:#fff}
.roundtrip-fields{border:1px solid #d9c8ac;border-radius:14px;background:#fffaf2;padding:12px;margin:10px 0 14px}.roundtrip-fields.hidden{display:none}.roundtrip-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:9px}.roundtrip-head div{display:grid;gap:2px}.roundtrip-head span{font-size:11px;color:var(--muted,#756b5d);line-height:1.35}.roundtrip-stop-list{display:grid;gap:7px;margin-bottom:8px}.roundtrip-stop-row{display:grid;grid-template-columns:24px minmax(0,1fr) 34px;gap:7px;align-items:center}.roundtrip-stop-row>span{display:grid;place-items:center;width:24px;height:24px;border-radius:999px;background:#e9f6f5;color:#075b5e;font-size:11px;font-weight:900}.roundtrip-stop-row input{min-width:0;border:1px solid #d9c8ac;border-radius:10px;padding:9px;background:#fff;font:inherit}.roundtrip-stop-row button{width:34px;height:34px;border:1px solid #e0c8b7;border-radius:10px;background:#fff;color:#a33f2c;font-size:18px;cursor:pointer}
.context-search-controls.hidden{display:none}.manual-search-card{display:grid;gap:10px;margin:12px 0;padding:12px;border:1px solid #cddedb;border-radius:15px;background:#f7fbfa}.manual-search-card>div:first-child{display:grid;gap:2px}.manual-search-card span{font-size:11.5px;color:#5d6b67}.outing-search-card>strong{font-size:13px}.search-mode-row{display:flex;flex-wrap:wrap;gap:6px}.search-mode{border:1px solid #cfdad6;border-radius:999px;background:#fff;padding:7px 10px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.search-mode.active{background:#0d6b6e;border-color:#0d6b6e;color:#fff}.outing-search-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.outing-search-fields input,.outing-search-fields select{min-width:0;border:1px solid #cfdad6;border-radius:10px;background:#fff;padding:9px 10px;font:inherit}.outing-search-fields .btn{min-height:40px}.outing-search-fields input.hidden{display:none}.manual-search-status{grid-column:1/-1}.search-center-pin{width:32px;height:32px;border-radius:999px;background:#0d6b6e;color:#fff;border:3px solid #fff;box-shadow:0 5px 14px rgba(0,0,0,.25);display:grid;place-items:center;font-size:18px;font-weight:900}.map-pick-active #roadoraMap,.map-pick-active #roadoraMap *{cursor:crosshair!important}.map-pick-banner{position:absolute;left:50%;top:14px;z-index:1000;transform:translateX(-50%);display:flex;align-items:center;gap:10px;max-width:calc(100% - 28px);background:#fff8e8;border:1px solid #d5a74d;border-radius:999px;padding:8px 10px 8px 14px;font-size:12px;color:#76530a;box-shadow:0 8px 20px rgba(47,35,13,.16)}.map-pick-banner strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.map-pick-banner button{border:0;border-radius:999px;background:#fff;color:#76530a;font:inherit;font-weight:850;padding:5px 9px;cursor:pointer}.map-pick-active .leaflet-marker-icon,.map-pick-active .leaflet-interactive{pointer-events:none!important}@media(max-width:760px){.map-pick-banner{top:10px;font-size:11px}.map-pick-banner strong{white-space:normal}}
.manual-place-modal{position:fixed;inset:0;display:none;z-index:2600;place-items:center;padding:18px}.manual-place-modal.open{display:grid}.manual-place-backdrop{position:absolute;inset:0;background:rgba(26,20,13,.45);backdrop-filter:blur(2px)}.manual-place-card{position:relative;width:min(520px,100%);max-height:min(760px,calc(100vh - 36px));overflow:auto;border:1px solid #d9c8ac;border-radius:22px;background:#fffdf9;box-shadow:0 30px 90px rgba(20,14,8,.28);padding:20px}.manual-place-head{padding-right:36px}.manual-place-head h2{margin:3px 0 5px}.manual-place-head p{margin:0;color:#706659;font-size:13px}.manual-place-form{display:grid;gap:7px;margin-top:16px}.manual-place-form label{font-size:12px;font-weight:850;color:#493f34}.manual-place-form input,.manual-place-form select,.manual-place-form textarea{width:100%;box-sizing:border-box;border:1px solid #d9c8ac;border-radius:11px;background:#fff;padding:10px 11px;font:inherit}.manual-place-form textarea{resize:vertical}.link-previous-overnight{margin-top:10px;width:100%}
@media(max-width:680px){.roundtrip-head{display:grid}.outing-search-fields{grid-template-columns:1fr}.outing-search-fields .btn,.outing-search-fields select{width:100%}.manual-place-card{padding:16px}.trip-type-switch{grid-template-columns:1fr 1fr}}


/* Vrij zoeken naar Uitjes */
.outing-query-block,.outing-area-block{display:grid;gap:5px}
.outing-query-block>strong,.outing-area-block>strong{font-size:13px;color:#263632}
.outing-query-block>span{font-size:11.5px;color:#5d6b67;line-height:1.45}
.outing-query-block input{width:100%;min-width:0;border:1px solid #cfdad6;border-radius:10px;background:#fff;padding:10px 11px;font:inherit}
.outing-query-block input:focus,.outing-search-fields input:focus,.outing-search-fields select:focus{outline:3px solid rgba(13,107,110,.15);border-color:#0d6b6e}
.outing-search-card{gap:12px}
.outing-search-fields{grid-template-columns:minmax(0,1fr) auto auto}
.outing-search-fields #outingAreaQuery.hidden{display:none}
@media(max-width:760px){.outing-search-fields{grid-template-columns:1fr 1fr}.outing-search-fields #outingAreaQuery{grid-column:1/-1}.outing-search-fields .btn.primary{grid-column:1/-1}}
@media(max-width:420px){.outing-search-fields{grid-template-columns:1fr}.outing-search-fields #outingAreaQuery,.outing-search-fields .btn.primary{grid-column:auto}.search-mode-row{display:grid;grid-template-columns:1fr 1fr}.search-mode{width:100%;text-align:center}}

/* Rondreis, dagtijden en handmatige locaties */
.active-day-controls{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.active-day-time-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.active-day-time-grid label{display:grid;gap:5px;font-size:11px;font-weight:800;color:#504638}
.active-day-time-grid input,.active-day-time-grid select{width:100%;height:38px;box-sizing:border-box;border:1px solid var(--line-2);border-radius:10px;background:#fff;padding:0 9px;color:var(--text);font:inherit}
.day-feasibility{margin-top:9px;border:1px solid var(--line);border-radius:10px;background:#fffdf9;padding:8px 10px;color:var(--muted);font-size:12px;line-height:1.35}
.day-feasibility.ok,.day-feasibility.early{border-color:#9bcdb5;background:#f1fbf5;color:#236344}
.day-feasibility.late{border-color:#dfb38d;background:#fff5eb;color:#8b4a18}
.active-day-control-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}
.active-day-control-actions .btn{height:34px;font-size:11px;padding:0 10px}
.roundtrip-stop-row{grid-template-columns:24px minmax(0,1fr) auto!important}
.roundtrip-stop-actions{display:flex;gap:4px}
.roundtrip-stop-actions button{width:29px;height:34px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#6c5e4d;font-weight:900}
.roundtrip-stop-actions button:disabled{opacity:.35}
.manual-place-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.manual-place-status{border:1px solid var(--line);border-radius:10px;background:#fffdf9;padding:9px 10px;color:var(--muted);font-size:12px;line-height:1.35}
.manual-place-status[data-tone="ok"]{border-color:#9bcdb5;background:#f1fbf5;color:#236344}
.manual-place-status[data-tone="error"]{border-color:#e0a48f;background:#fff2ee;color:#8d3f27}
.manual-place-status[data-tone="loading"]{border-color:#a9c8d8;background:#f2f9fc;color:#315e72}
@media(max-width:760px){.active-day-time-grid{grid-template-columns:1fr}.active-day-control-actions{display:grid;grid-template-columns:1fr}.active-day-control-actions .btn{width:100%}.manual-place-actions{grid-template-columns:1fr}}

/* Mobiele Stops-tab */
#stopsTab .stops-scroll-area{
  display:contents;
}

@media(max-width:760px){
  #stopsTab .card.card-pad.stops-card{
    height:calc(100dvh - 92px) !important;
    min-height:560px !important;
    max-height:820px !important;
    overflow:hidden !important;
  }

  #stopsTab .stops-scroll-area{
    display:block;
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    padding:0 4px calc(22px + env(safe-area-inset-bottom, 0px)) 0;
    scroll-padding-bottom:calc(28px + env(safe-area-inset-bottom, 0px));
  }

  #stopsTab .stops-scroll-area > .stops-results-panel:not(.hidden){
    display:block !important;
    min-height:0 !important;
    overflow:visible !important;
    flex:none !important;
  }

  #stopsTab .stops-scroll-area .rich-stop-list{
    display:flex !important;
    max-height:none !important;
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
    padding:0 4px 24px 0 !important;
    scroll-padding-bottom:0 !important;
  }

  #stopsTab .sticky-actions{
    position:relative !important;
    inset:auto !important;
    flex:0 0 auto !important;
    z-index:12 !important;
    margin:0 -1px !important;
    padding:10px 0 max(10px, env(safe-area-inset-bottom, 0px)) !important;
    border-top:1px solid var(--line) !important;
    background:#fffbf4 !important;
    box-shadow:0 -10px 22px rgba(255,251,244,.98) !important;
  }
}

@media(max-width:380px){
  #stopsTab .card.card-pad.stops-card{
    height:calc(100dvh - 78px) !important;
    min-height:520px !important;
  }
  #stopsTab .sticky-actions{
    gap:6px !important;
  }
  #stopsTab .sticky-actions .btn{
    padding:0 9px;
    font-size:12px;
  }
}

/* Mobiele Stops-scrollstructuur */
@media (max-width:760px){
  html,
  body{
    min-height:100%;
    height:auto;
    overflow-y:auto;
    overscroll-behavior-y:auto;
    -webkit-overflow-scrolling:touch;
  }

  .shell,
  .right-panel,
  #stopsTab,
  #stopsTab .card.card-pad.stops-card{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
  }

  .right-panel,
  #stopsTab,
  #stopsTab .card.card-pad.stops-card,
  #stopsTab .stops-scroll-area,
  #stopsTab .stops-results-panel,
  #stopsTab .rich-stop-list{
    overflow:visible !important;
    overscroll-behavior:auto !important;
  }

  #stopsTab .card.card-pad.stops-card{
    display:block !important;
    padding-bottom:0 !important;
  }

  #stopsTab .stops-scroll-area{
    display:block !important;
    min-height:0 !important;
    padding:0 0 calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    scroll-padding-bottom:0 !important;
  }

  #stopsTab .stops-scroll-area > .stops-results-panel:not(.hidden),
  #stopsTab .rich-stop-list{
    display:flex !important;
    flex-direction:column !important;
    flex:none !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
  }

  #stopsTab .rich-stop-list{
    gap:8px !important;
    padding:0 0 16px !important;
  }

  #stopsTab .sticky-actions{
    position:sticky !important;
    left:auto !important;
    right:auto !important;
    bottom:0 !important;
    z-index:40 !important;
    margin:0 -12px !important;
    padding:10px 12px max(10px, env(safe-area-inset-bottom, 0px)) !important;
    border-top:1px solid var(--line) !important;
    background:rgba(255,251,244,.98) !important;
    box-shadow:0 -10px 22px rgba(255,251,244,.98) !important;
    backdrop-filter:blur(10px);
  }

  /* Het laatste resultaat en zijn knoppen moeten boven de sticky actiebalk
     kunnen eindigen, ook op iPhones met een veilige onderrand. */
  #stopsTab .stops-results-panel:last-child,
  #stopsTab .rich-stop-list:last-child{
    padding-bottom:calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width:380px){
  #stopsTab .card.card-pad.stops-card{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
  }
}

/* Responsieve Stops-scrollstructuur */
@media (min-width:761px){
  #stopsTab .card.card-pad.stops-card{
    display:block !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
    padding-bottom:0 !important;
  }

  #stopsTab .stops-scroll-area{
    display:block !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
    overscroll-behavior:auto !important;
  }

  #stopsTab .stops-scroll-area > .stops-results-panel:not(.hidden),
  #stopsTab .stops-results-panel:not(.hidden){
    display:block !important;
    flex:none !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
  }

  #stopsTab .rich-stop-list{
    display:flex !important;
    flex-direction:column !important;
    flex:none !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
    overscroll-behavior:auto !important;
    gap:10px !important;
    padding:0 4px 86px 0 !important;
    scroll-padding-bottom:0 !important;
  }

  #stopsTab .sticky-actions{
    position:sticky !important;
    left:auto !important;
    right:auto !important;
    bottom:0 !important;
    z-index:40 !important;
    margin:0 -16px !important;
    padding:10px 16px 12px !important;
    border-top:1px solid var(--line) !important;
    background:rgba(255,251,244,.98) !important;
    box-shadow:0 -10px 22px rgba(255,251,244,.98) !important;
    backdrop-filter:blur(10px);
  }
}

@media (min-width:1181px){
  #stopsTab.tab-panel.active{
    display:block !important;
    min-height:0 !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    overscroll-behavior:contain !important;
    scrollbar-width:thin;
    scrollbar-color:#c7ad77 transparent;
  }
}

@media (min-width:761px) and (max-width:1180px){
  .right-panel,
  #stopsTab{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
  }
}

/* Eigen-plekflow, stopvolgorde en omrijwaarschuwing */
.manual-place-card{width:min(640px,100%)}
.manual-place-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:stretch}
.manual-place-search-row .btn{min-width:96px}
.manual-place-results{display:grid;gap:8px;max-height:260px;overflow:auto;overscroll-behavior:contain;padding-right:2px}
.manual-place-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid #d7dfdc;border-radius:13px;background:#fff;padding:10px}
.manual-place-result.selected{border-color:#0d6b6e;background:#f1f9f8;box-shadow:0 0 0 2px rgba(13,107,110,.08)}
.manual-place-result>div{display:grid;gap:2px;min-width:0}
.manual-place-result strong,.manual-place-result span,.manual-place-result small{overflow-wrap:anywhere}
.manual-place-result strong{font-size:13px;color:#1f211f}
.manual-place-result span{font-size:11.5px;color:#665f55}
.manual-place-result small{font-size:10.5px;color:#0d6b6e;font-weight:750}
.manual-place-result .btn{min-width:76px;padding:8px 11px}
.manual-place-selection{display:grid;gap:3px;border:1px solid #91c7c4;border-radius:13px;background:#f0faf9;padding:11px 12px}
.manual-place-selection strong{font-size:13px;color:#064b4f}
.manual-place-selection span{font-size:11.5px;color:#53645f;overflow-wrap:anywhere}
.manual-place-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.manual-place-choice-grid>div{display:grid;gap:5px}
.manual-place-advanced{border:1px solid #d9c8ac;border-radius:13px;background:#fffdf9;padding:10px 11px}
.manual-place-advanced summary{cursor:pointer;font-size:12px;font-weight:850;color:#0d6b6e}
.manual-place-advanced[open]{display:grid;gap:8px}
.manual-place-advanced .hint{margin:0}
#saveManualPlace:disabled{opacity:.55;cursor:not-allowed}
.plan-order-actions{display:inline-flex;gap:3px;align-items:center}
.plan-order-actions button{width:28px;height:28px;border:1px solid #d2c5b0;border-radius:8px;background:#fff;color:#0d6b6e;font-weight:900;cursor:pointer;line-height:1}
.plan-order-actions button:hover:not(:disabled){background:#eef8f7;border-color:#80b8b6}
.plan-order-actions button:disabled{opacity:.3;cursor:not-allowed}
@media(max-width:680px){
  .manual-place-modal{padding:8px}
  .manual-place-card{max-height:calc(100dvh - 16px);border-radius:17px;padding:15px}
  .manual-place-search-row{grid-template-columns:1fr}
  .manual-place-search-row .btn{width:100%}
  .manual-place-results{max-height:none;overflow:visible}
  .manual-place-result{grid-template-columns:minmax(0,1fr) auto}
  .manual-place-choice-grid{grid-template-columns:1fr}
  .manual-place-card>.modal-actions{position:sticky;bottom:-15px;z-index:3;margin:12px -15px -15px;padding:10px 15px calc(10px + env(safe-area-inset-bottom));background:#fffdf9;border-top:1px solid #e3d6c2}
}


/* v6.8.0 — installeerbare Roadora-app */
.pwa-install-btn{
  appearance:none;
  border:1px solid rgba(12,111,113,.28);
  background:#edf9f8;
  color:var(--brand-dark);
  font-weight:800;
}
.pwa-install-btn:hover{background:#dff3f2}
.pwa-install-btn[hidden]{display:none!important}
.pwa-notice{
  position:fixed;
  left:50%;
  bottom:calc(max(18px,env(safe-area-inset-bottom,0px)) + var(--pwa-stack-lift,0px));
  z-index:180;
  width:min(620px,calc(100vw - 28px));
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:13px 14px;
  border:1px solid #9cc9c7;
  border-radius:16px;
  background:rgba(255,253,249,.98);
  box-shadow:0 18px 44px rgba(20,34,34,.20);
  backdrop-filter:blur(14px);
}
.pwa-notice[hidden]{display:none!important}
.pwa-notice-copy{display:grid;gap:2px;min-width:0}
.pwa-notice-copy strong{font-size:13px;color:var(--brand-dark)}
.pwa-notice-copy span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.pwa-notice-actions{display:flex;gap:8px;flex:0 0 auto}
.pwa-notice-actions .btn{height:36px;padding:0 12px}
.pwa-standalone body{overscroll-behavior-y:none}
.pwa-standalone .app-header{
  padding-top:env(safe-area-inset-top,0px);
  height:calc(60px + env(safe-area-inset-top,0px));
}
.pwa-standalone .shell{height:calc(100dvh - 60px - env(safe-area-inset-top,0px))}
@media(max-width:760px){
  .pwa-install-btn{padding:8px 10px;font-size:12px}
  .pwa-notice{align-items:stretch;flex-direction:column;gap:10px;bottom:max(10px,env(safe-area-inset-bottom,0px))}
  .pwa-notice-actions{display:grid;grid-template-columns:1fr 1fr}
  .pwa-notice-actions .btn{width:100%}
  .pwa-standalone .app-header{
    min-height:calc(58px + env(safe-area-inset-top,0px));
    height:auto;
    padding-top:calc(12px + env(safe-area-inset-top,0px));
  }
  .pwa-standalone .shell{height:auto}
}

/* v6.8.2 — mobiele app-shell */
.mobile-app-heading,
.mobile-header-more,
.mobile-sheet-chrome,
.mobile-app-home,
.mobile-sheet-scrim,
.mobile-app-nav{display:none}

@media all{
  html.roadora-mobile-shell{
    --mobile-header-h:64px;
    --mobile-nav-h:72px;
    --mobile-sheet-radius:24px;
  }

  html.roadora-mobile-shell,
  html.roadora-mobile-shell body{
    width:100%;
    height:100%;
    min-height:100%;
    overflow:hidden!important;
    overscroll-behavior:none!important;
    background:#e7efeb;
  }

  .roadora-mobile-shell body{
    padding:0;
  }

  .roadora-mobile-shell .app-header{
    position:fixed;
    inset:0 0 auto 0;
    z-index:120;
    height:calc(var(--mobile-header-h) + env(safe-area-inset-top,0px));
    min-height:0;
    padding:env(safe-area-inset-top,0px) 14px 0;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 42px;
    align-items:center;
    gap:8px;
    border-bottom:0;
    background:linear-gradient(135deg,#072f45,#081f38 68%,#062e43);
    color:#fff;
    box-shadow:0 5px 20px rgba(5,31,48,.22);
    backdrop-filter:none;
  }

  .roadora-mobile-shell .brand{
    width:38px;
    min-width:38px;
    height:38px;
    gap:0;
    position:relative;
    z-index:2;
  }
  .roadora-mobile-shell .brand-mark{
    width:38px;
    height:38px;
    border-radius:13px;
    background:#0f8f92;
    box-shadow:0 7px 16px rgba(0,0,0,.18);
  }
  .roadora-mobile-shell .brand-copy{display:none}
  .roadora-mobile-shell .header-actions{display:none!important}

  .roadora-mobile-shell .mobile-app-heading{
    display:grid;
    justify-items:center;
    align-content:center;
    min-width:0;
    line-height:1.05;
  }
  .roadora-mobile-shell .mobile-app-heading strong{
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#fff;
    font-size:16px;
    font-weight:850;
    letter-spacing:-.01em;
  }
  .roadora-mobile-shell .mobile-app-heading span{
    max-width:100%;
    margin-top:4px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:rgba(255,255,255,.74);
    font-size:11px;
    font-weight:650;
  }
  .roadora-mobile-shell .mobile-header-more{
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    border:0;
    border-radius:13px;
    background:rgba(255,255,255,.08);
    color:#fff;
    font-weight:900;
    letter-spacing:0;
    font-size:24px;
  }

  .roadora-mobile-shell .shell{
    position:fixed!important;
    inset:calc(var(--mobile-header-h) + env(safe-area-inset-top,0px)) 0 calc(var(--mobile-nav-h) + env(safe-area-inset-bottom,0px)) 0!important;
    display:block!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    overflow:hidden!important;
    border:0!important;
    background:#dfeae6;
  }

  .roadora-mobile-shell .map-stage{
    position:absolute!important;
    inset:0!important;
    z-index:1;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    padding:0!important;
    background:#dfeae6!important;
  }
  .roadora-mobile-shell .map-card{
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  .roadora-mobile-shell #roadoraMap{height:100%!important}
  .roadora-mobile-shell .map-controls{
    top:14px;
    left:auto;
    right:14px;
    border:0;
    border-radius:16px;
    box-shadow:0 8px 22px rgba(18,45,45,.19);
  }
  .roadora-mobile-shell .map-controls button{
    width:42px;
    height:42px;
    color:#073f48;
  }
  .roadora-mobile-shell .map-summary{
    left:14px!important;
    right:14px!important;
    bottom:14px!important;
    max-width:520px;
    min-width:0!important;
    padding:12px 14px!important;
    border:1px solid rgba(255,255,255,.62)!important;
    border-radius:18px!important;
    background:rgba(255,253,249,.93)!important;
    box-shadow:0 14px 34px rgba(17,48,46,.17)!important;
    backdrop-filter:blur(16px);
  }
  .roadora-mobile-shell .map-summary h3{
    font-size:14px;
    color:#082f36;
  }
  .roadora-mobile-shell .map-summary .tag-row{display:none}

  .roadora-mobile-shell .left-panel,
  .roadora-mobile-shell .right-panel{
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:calc(var(--mobile-nav-h) + env(safe-area-inset-bottom,0px))!important;
    top:auto!important;
    z-index:90!important;
    display:block!important;
    width:100%!important;
    height:min(72dvh,720px)!important;
    min-height:360px!important;
    max-height:calc(100dvh - var(--mobile-header-h) - 18px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;
    margin:0!important;
    padding:0 12px 14px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch;
    border:0!important;
    border-radius:var(--mobile-sheet-radius) var(--mobile-sheet-radius) 0 0!important;
    background:#fffdf9!important;
    box-shadow:0 -18px 50px rgba(8,38,43,.25)!important;
    transform:translateY(calc(100% + var(--mobile-nav-h) + 32px));
    opacity:.98;
    pointer-events:none;
    transition:transform .28s cubic-bezier(.2,.8,.2,1),height .24s ease;
    scrollbar-width:none;
  }
  .roadora-mobile-shell .left-panel::-webkit-scrollbar,
  .roadora-mobile-shell .right-panel::-webkit-scrollbar{display:none}
  .roadora-mobile-shell body.mobile-sheet-open .mobile-app-sheet.is-active{
    transform:translateY(0);
    pointer-events:auto;
  }
  .roadora-mobile-shell body.mobile-sheet-expanded .mobile-app-sheet.is-active{
    height:calc(100dvh - var(--mobile-header-h) - 18px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;
  }

  .roadora-mobile-shell .mobile-sheet-chrome{
    position:sticky;
    top:0;
    z-index:70;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 42px;
    align-items:center;
    min-height:58px;
    margin:0 -12px 12px;
    padding:0 12px;
    border-bottom:1px solid #eadfce;
    background:rgba(255,253,249,.96);
    backdrop-filter:blur(16px);
  }
  .roadora-mobile-shell .mobile-sheet-chrome>strong{
    text-align:center;
    font-size:15px;
    color:#092f34;
  }
  .roadora-mobile-shell .mobile-sheet-handle{
    position:relative;
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border:0;
    background:transparent;
    touch-action:none;
  }
  .roadora-mobile-shell .mobile-sheet-handle span{
    width:34px;
    height:5px;
    border-radius:999px;
    background:#c5cbc7;
  }
  .roadora-mobile-shell .mobile-sheet-close{
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    border:1px solid #dbe2de;
    border-radius:13px;
    background:#fff;
    color:#315054;
    font-size:24px;
    line-height:1;
  }
  .roadora-mobile-shell .right-tabs{display:none!important}
  .roadora-mobile-shell .left-panel>.panel-stack,
  .roadora-mobile-shell .right-panel>.tab-panel.active{
    padding-bottom:18px;
  }
  .roadora-mobile-shell .right-panel>.tab-panel.active{display:block!important}
  .roadora-mobile-shell .right-panel>.tab-panel:not(.active){display:none!important}
  .roadora-mobile-shell .card{
    box-shadow:none;
    border-color:#e7ded0;
    background:#fff;
  }
  .roadora-mobile-shell .card-pad{padding:14px}
  .roadora-mobile-shell .panel-stack{gap:10px}
  .roadora-mobile-shell .left-panel .card:first-child{border-radius:18px}
  .roadora-mobile-shell .left-panel .two{grid-template-columns:1fr 1fr}

  .roadora-mobile-shell #stopsTab .card.card-pad.stops-card,
  .roadora-mobile-shell #stopsTab .stops-scroll-area,
  .roadora-mobile-shell #stopsTab .stops-results-panel,
  .roadora-mobile-shell #stopsTab .rich-stop-list{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }
  .roadora-mobile-shell #stopsTab .card.card-pad.stops-card{
    display:block!important;
    padding-bottom:0!important;
  }
  .roadora-mobile-shell #stopsTab .sticky-actions{
    position:sticky!important;
    bottom:-14px!important;
    z-index:74!important;
    margin:0 -14px!important;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px))!important;
    background:rgba(255,253,249,.97)!important;
  }
  .roadora-mobile-shell #stopsTab .stops-results-panel:last-child,
  .roadora-mobile-shell #stopsTab .rich-stop-list:last-child{
    padding-bottom:18px!important;
  }

  .roadora-mobile-shell .mobile-sheet-scrim{
    position:fixed;
    inset:calc(var(--mobile-header-h) + env(safe-area-inset-top,0px)) 0 calc(var(--mobile-nav-h) + env(safe-area-inset-bottom,0px)) 0;
    z-index:80;
    display:block;
    border:0;
    background:rgba(4,26,34,.18);
    opacity:0;
    pointer-events:none;
    transition:opacity .24s ease;
  }
  .roadora-mobile-shell body.mobile-sheet-open .mobile-sheet-scrim{
    opacity:1;
    pointer-events:auto;
  }

  .roadora-mobile-shell .mobile-app-nav{
    position:fixed;
    inset:auto 0 0 0;
    z-index:130;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    height:calc(var(--mobile-nav-h) + env(safe-area-inset-bottom,0px));
    padding:7px 10px env(safe-area-inset-bottom,0px);
    border-top:1px solid rgba(12,83,84,.14);
    background:rgba(255,255,255,.97);
    box-shadow:0 -10px 28px rgba(8,39,43,.10);
    backdrop-filter:blur(18px);
    transition:transform .22s ease;
  }
  .roadora-mobile-shell .mobile-app-nav button{
    display:grid;
    grid-template-rows:30px 18px;
    place-items:center;
    align-content:center;
    gap:1px;
    min-width:0;
    border:0;
    border-radius:14px;
    background:transparent;
    color:#5d6d6b;
    font-size:10.5px;
    font-weight:780;
  }
  .roadora-mobile-shell .mobile-app-nav button svg{
    width:24px;
    height:24px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
  .roadora-mobile-shell .mobile-app-nav button.active{
    color:#057478;
    background:#e9f7f6;
  }
  .roadora-mobile-shell .mobile-app-nav button.active svg{stroke-width:2.25}
  .roadora-mobile-shell body.map-pick-active .mobile-app-nav{transform:translateY(110%)}

  .roadora-mobile-shell .mobile-app-home{
    position:fixed;
    inset:calc(var(--mobile-header-h) + env(safe-area-inset-top,0px)) 0 calc(var(--mobile-nav-h) + env(safe-area-inset-bottom,0px)) 0;
    z-index:75;
    display:block;
    overflow-y:auto;
    overscroll-behavior:contain;
    background:#f4f5f1;
    opacity:0;
    transform:translateY(16px);
    pointer-events:none;
    transition:opacity .22s ease,transform .22s ease;
  }
  .roadora-mobile-shell body.mobile-home-open .mobile-app-home{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
  }
  .roadora-mobile-shell .mobile-home-hero{
    position:relative;
    min-height:180px;
    padding:28px 24px 78px;
    overflow:hidden;
    display:flex;
    align-items:flex-start;
    gap:12px;
    color:#fff;
    background:
      radial-gradient(circle at 82% 20%,rgba(18,166,166,.28),transparent 27%),
      linear-gradient(145deg,#072d45,#08364a 55%,#064f58);
  }
  .roadora-mobile-shell .mobile-home-mark{
    width:44px;
    height:44px;
    flex:0 0 auto;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:#10a0a2;
    color:#fff;
    font-size:21px;
    font-weight:900;
    box-shadow:0 10px 22px rgba(0,0,0,.18);
  }
  .roadora-mobile-shell .mobile-home-hero h1{
    margin:2px 0 2px;
    font-size:31px;
    letter-spacing:-.04em;
  }
  .roadora-mobile-shell .mobile-home-hero p{
    margin:0;
    color:rgba(255,255,255,.76);
    font-size:14px;
  }
  .roadora-mobile-shell .mobile-home-road{
    position:absolute;
    left:-8%;
    right:-8%;
    bottom:-68px;
    height:142px;
    border-radius:50% 50% 0 0;
    background:linear-gradient(180deg,#0b6470,#043847);
    transform:rotate(-4deg);
  }
  .roadora-mobile-shell .mobile-home-road::before{
    content:"";
    position:absolute;
    left:13%;
    right:11%;
    top:20px;
    height:90px;
    border:4px solid rgba(255,255,255,.34);
    border-left-color:transparent;
    border-bottom-color:transparent;
    border-radius:50%;
    transform:rotate(8deg);
  }
  .roadora-mobile-shell .mobile-home-road i{
    position:absolute;
    width:0;
    height:0;
    border-left:24px solid transparent;
    border-right:24px solid transparent;
    border-bottom:64px solid rgba(7,47,63,.92);
    bottom:60px;
  }
  .roadora-mobile-shell .mobile-home-road i:nth-child(1){left:12%}
  .roadora-mobile-shell .mobile-home-road i:nth-child(2){left:29%;transform:scale(.72)}
  .roadora-mobile-shell .mobile-home-road i:nth-child(3){right:12%;transform:scale(1.2)}

  .roadora-mobile-shell .mobile-home-content{
    position:relative;
    z-index:2;
    margin:-42px 12px 20px;
    padding:14px;
    border:1px solid #e2e5df;
    border-radius:24px;
    background:#fff;
    box-shadow:0 18px 38px rgba(12,47,51,.13);
  }
  .roadora-mobile-shell .mobile-new-roadtrip{
    width:100%;
    height:48px;
    border-color:#078b8e;
    background:linear-gradient(135deg,#079498,#06767a);
    font-size:14px;
  }
  .roadora-mobile-shell .mobile-continue-trip{
    width:100%;
    height:44px;
    margin-top:8px;
    color:#086568;
    border-color:#a9d3d1;
    background:#eff9f8;
  }
  .roadora-mobile-shell .mobile-home-section-head{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:12px;
    margin:18px 2px 10px;
  }
  .roadora-mobile-shell .mobile-home-section-head>div{display:grid;gap:2px}
  .roadora-mobile-shell .mobile-home-section-head strong{font-size:16px}
  .roadora-mobile-shell .mobile-home-section-head span{font-size:11px;color:#78827e}
  .roadora-mobile-shell .mobile-recent-trips{display:grid;gap:9px}
  .roadora-mobile-shell .mobile-recent-trips .trip-card{
    padding:13px;
    border-color:#e1e6e2;
    border-radius:16px;
    background:#fff;
    box-shadow:0 7px 18px rgba(14,47,47,.055);
  }
  .roadora-mobile-shell .mobile-recent-trips .trip-card>span{
    line-height:1.4;
    color:#66726f;
  }
  .roadora-mobile-shell .mobile-recent-trips .trip-card-actions{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:5px;
  }
  .roadora-mobile-shell .mobile-recent-trips .trip-card-actions button{
    min-width:0;
    padding:7px 3px;
    overflow:hidden;
    text-overflow:ellipsis;
    font-size:10px;
  }
  .roadora-mobile-shell .mobile-home-install{
    width:100%;
    margin-top:12px;
    color:#075f62;
    border-color:#9bc9c7;
    background:#edf8f7;
  }
  .roadora-mobile-shell .mobile-home-storage-note{
    margin:12px 4px 2px;
    color:#78817e;
    font-size:10.5px;
    line-height:1.4;
    text-align:center;
  }

  .roadora-mobile-shell .footer{display:none!important}
  .roadora-mobile-shell .toast{
    left:14px;
    right:14px;
    bottom:calc(var(--mobile-nav-h) + 14px + env(safe-area-inset-bottom,0px));
    width:auto;
    text-align:center;
  }
  .roadora-mobile-shell .cookie{
    bottom:calc(var(--mobile-nav-h) + 10px + env(safe-area-inset-bottom,0px));
    z-index:160;
  }
  .roadora-mobile-shell .pwa-notice{
    bottom:calc(var(--mobile-nav-h) + 10px + env(safe-area-inset-bottom,0px) + var(--pwa-stack-lift,0px));
    z-index:170;
  }
  .roadora-mobile-shell .manual-place-modal,
  .roadora-mobile-shell .stop-modal,
  .roadora-mobile-shell .clock-modal{z-index:2200}
}

@media (max-width:390px){
  .roadora-mobile-shell .left-panel,
  .roadora-mobile-shell .right-panel{height:min(76dvh,700px)!important}
  .roadora-mobile-shell .left-panel .two{grid-template-columns:1fr}
  .roadora-mobile-shell .mobile-recent-trips .trip-card-actions{grid-template-columns:1fr 1fr}
}


/* v6.8.2 — mobiele interactie- en scrollfix */
@media all{
  .roadora-mobile-shell .shell{
    isolation:isolate;
  }

  /* Kaart, scrim en sheets delen één stacking context. */
  .roadora-mobile-shell .mobile-sheet-scrim{
    position:absolute;
    inset:0;
    z-index:80;
  }

  .roadora-mobile-shell .left-panel,
  .roadora-mobile-shell .right-panel{
    display:flex!important;
    flex-direction:column!important;
    height:min(72dvh,720px)!important;
    min-height:min(360px,calc(var(--mobile-visual-height,100dvh) - var(--mobile-header-h) - var(--mobile-nav-h) - 18px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)))!important;
    max-height:calc(var(--mobile-visual-height,100dvh) - var(--mobile-header-h) - var(--mobile-nav-h) - 18px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;
    overflow:hidden!important;
    touch-action:pan-y;
  }

  .roadora-mobile-shell body.mobile-sheet-expanded .mobile-app-sheet.is-active{
    height:calc(var(--mobile-visual-height,100dvh) - var(--mobile-header-h) - var(--mobile-nav-h) - 18px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;
  }

  .roadora-mobile-shell .mobile-sheet-chrome{
    position:relative;
    top:auto;
    flex:0 0 auto;
  }
  .roadora-mobile-shell .mobile-sheet-chrome>strong{
    min-height:44px;
    display:grid;
    place-items:center;
    cursor:pointer;
    user-select:none;
    -webkit-tap-highlight-color:transparent;
  }

  .roadora-mobile-shell .left-panel>.panel-stack,
  .roadora-mobile-shell .right-panel>.tab-panel.active{
    flex:1 1 auto;
    min-height:0!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
    scroll-padding-top:12px;
    scroll-padding-bottom:calc(28px + env(safe-area-inset-bottom,0px));
    scrollbar-width:none;
  }
  .roadora-mobile-shell .left-panel>.panel-stack::-webkit-scrollbar,
  .roadora-mobile-shell .right-panel>.tab-panel.active::-webkit-scrollbar{display:none}

  .roadora-mobile-shell body.mobile-keyboard-open .mobile-app-nav{
    transform:translateY(110%);
    pointer-events:none;
  }
  .roadora-mobile-shell body.mobile-keyboard-open .mobile-app-sheet{
    bottom:0!important;
    min-height:0!important;
    max-height:calc(var(--mobile-visual-height,100dvh) - var(--mobile-header-h) - 8px - env(safe-area-inset-top,0px))!important;
  }
  .roadora-mobile-shell body.mobile-keyboard-open.mobile-sheet-open .mobile-app-sheet.is-active,
  .roadora-mobile-shell body.mobile-keyboard-open.mobile-sheet-expanded .mobile-app-sheet.is-active{
    height:calc(var(--mobile-visual-height,100dvh) - var(--mobile-header-h) - 8px - env(safe-area-inset-top,0px))!important;
  }

  .roadora-mobile-shell .mobile-app-sheet input,
  .roadora-mobile-shell .mobile-app-sheet select,
  .roadora-mobile-shell .mobile-app-sheet textarea,
  .roadora-mobile-shell .mobile-app-sheet button{
    touch-action:manipulation;
  }
}


/* v6.8.3 — hogere routesheet, Stops-scroll en toetsenborddetectie */
@media all{
  /* Route invoeren opent merkbaar hoger, maar blijft onder de vaste topbar. */
  .roadora-mobile-shell body[data-mobile-sheet="route"] .left-panel.is-active{
    height:min(82dvh,820px)!important;
  }

  /* Stops gebruikt één duidelijke scrollcontainer. Deze ID-specifieke regel
     wint bewust van oudere Stops-overrides die overflow:visible gebruikten. */
  .roadora-mobile-shell #stopsTab.tab-panel.active{
    display:block!important;
    flex:1 1 0!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y!important;
    scroll-padding-bottom:calc(92px + env(safe-area-inset-bottom,0px));
    scrollbar-width:none;
  }
  .roadora-mobile-shell #stopsTab.tab-panel.active::-webkit-scrollbar{display:none}
  .roadora-mobile-shell #stopsTab .card.card-pad.stops-card,
  .roadora-mobile-shell #stopsTab .stops-scroll-area,
  .roadora-mobile-shell #stopsTab .stops-results-panel,
  .roadora-mobile-shell #stopsTab .rich-stop-list{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    overscroll-behavior:auto!important;
  }
  .roadora-mobile-shell #stopsTab .card.card-pad.stops-card{
    display:block!important;
    flex:none!important;
  }
  .roadora-mobile-shell #stopsTab .stops-scroll-area{
    display:block!important;
    touch-action:auto!important;
    padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))!important;
  }

  /* Zodra een invoerveld focus heeft, wordt de navigatie verborgen en
     gebruikt de routesheet alle zichtbare ruimte boven het toetsenbord. */
  .roadora-mobile-shell body.mobile-input-focused .mobile-app-nav,
  .roadora-mobile-shell body.mobile-keyboard-open .mobile-app-nav{
    transform:translateY(110%);
    pointer-events:none;
  }
  .roadora-mobile-shell body.mobile-input-focused .mobile-app-sheet,
  .roadora-mobile-shell body.mobile-keyboard-open .mobile-app-sheet{
    bottom:0!important;
    min-height:0!important;
    max-height:calc(var(--mobile-visual-height,100dvh) - var(--mobile-header-h) - 8px - env(safe-area-inset-top,0px))!important;
  }
  .roadora-mobile-shell body.mobile-input-focused.mobile-sheet-open .mobile-app-sheet.is-active,
  .roadora-mobile-shell body.mobile-input-focused.mobile-sheet-expanded .mobile-app-sheet.is-active,
  .roadora-mobile-shell body.mobile-keyboard-open.mobile-sheet-open .mobile-app-sheet.is-active,
  .roadora-mobile-shell body.mobile-keyboard-open.mobile-sheet-expanded .mobile-app-sheet.is-active{
    height:calc(var(--mobile-visual-height,100dvh) - var(--mobile-header-h) - 8px - env(safe-area-inset-top,0px))!important;
  }
}


/* v6.8.4 — stabiliteit, touchdoelen, tablet/landschap en meldingstack */
@media all{
  .roadora-mobile-shell .mobile-sheet-close{
    width:44px;
    height:44px;
    min-width:44px;
    min-height:44px;
  }
  .roadora-mobile-shell .mobile-app-sheet .btn,
  .roadora-mobile-shell .mobile-app-sheet .choice,
  .roadora-mobile-shell .mobile-app-sheet .pref,
  .roadora-mobile-shell .mobile-app-sheet .pill-btn,
  .roadora-mobile-shell .mobile-app-sheet .category-btn,
  .roadora-mobile-shell .mobile-app-sheet .search-mode,
  .roadora-mobile-shell .mobile-app-sheet .mode-btn,
  .roadora-mobile-shell .mobile-app-sheet .day-tab{
    min-height:44px;
  }
  .roadora-mobile-shell #planRoute{min-height:48px;font-size:14px}
  .roadora-mobile-shell .pwa-notice-actions .btn{min-height:44px}
  .roadora-mobile-shell .mobile-app-sheet[aria-hidden="true"],
  .roadora-mobile-shell .mobile-app-home[aria-hidden="true"]{pointer-events:none!important}
}

/* v6.8.5 — mobiele afwerking, roadtripkaarten, appstatus en bevestigingen */
button[aria-busy="true"]{cursor:progress;opacity:.82}
.btn[aria-busy="true"]{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn[aria-busy="true"]::before{
  content:"";
  width:14px;height:14px;flex:0 0 auto;
  border:2px solid currentColor;border-right-color:transparent;border-radius:50%;
  animation:roadora-spin .72s linear infinite;
}
@keyframes roadora-spin{to{transform:rotate(360deg)}}

.trip-list{gap:10px}
.trip-card{padding:13px;border-radius:16px;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.trip-card:hover{border-color:#c8b48e;box-shadow:0 10px 24px rgba(35,27,15,.07)}
.trip-card.active-trip{border-color:#78c8c9;background:linear-gradient(145deg,#f7ffff,#effafa)}
.trip-card-main{display:flex;align-items:flex-start;gap:11px;min-width:0}
.trip-card-visual{width:42px;height:42px;flex:0 0 auto;display:grid;place-items:center;border-radius:14px;color:#08777a;background:linear-gradient(145deg,#e4f8f7,#ccecea);box-shadow:inset 0 0 0 1px #b7dfdc}
.trip-card-visual svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.trip-card-copy{min-width:0;flex:1}
.trip-card-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.trip-card-route,.trip-card-meta{display:block!important;margin-top:3px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trip-card-route{color:#344c4b!important;font-weight:720}
.trip-card-meta{color:#77817e!important;font-size:11px!important}
.trip-card-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:11px}
.trip-card-actions button{min-height:36px;display:flex;align-items:center;justify-content:center;gap:4px;padding:6px 7px;border-radius:10px;white-space:nowrap}
.trip-card-actions button span{display:inline!important;margin:0!important;color:inherit!important;font-size:13px!important;line-height:1}
.trip-card-actions .trip-action-primary{border-color:#8fc8c7;background:#eaf8f7;color:#08696b}
.trip-card-actions button.danger{border-color:#ead2ce;background:#fff9f8;color:#a13b2f}

.trip-empty-state{display:grid;justify-items:center;gap:8px;padding:22px 16px;border:1px dashed #cfc2aa;border-radius:16px;background:linear-gradient(180deg,#fffdf8,#fbf6ed);text-align:center}
.trip-empty-state>strong{font-size:14px}
.trip-empty-state>span:not(.trip-empty-icon){max-width:320px;color:#6f685f;font-size:12px;line-height:1.45}
.trip-empty-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;color:#08777a;background:#e6f6f5}
.trip-empty-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.trip-empty-state .btn{margin-top:4px}
.trip-library-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:92px;color:#6f7976;font-size:12px}
.trip-library-loading span{width:20px;height:20px;border:2px solid #a9d6d4;border-right-color:#08777a;border-radius:50%;animation:roadora-spin .8s linear infinite}
.trip-library-loading p{margin:0}

.app-about-card{background:linear-gradient(155deg,#faffff,#f5fbfa)}
.app-build-pill{color:#075f62;border-color:#a9d8d5;background:#e8f8f7}
.app-health-row{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #cce6e3;border-radius:14px;background:#fff}
.app-health-dot{width:10px;height:10px;flex:0 0 auto;margin-top:4px;border-radius:50%;background:#2ba86f;box-shadow:0 0 0 4px #e3f6eb}
.app-health-row>div{display:grid;gap:3px}
.app-health-row strong{font-size:13px}
.app-health-row span{color:#66736f;font-size:11.5px;line-height:1.4}
#pwaUpdateStatus[data-state="checking"]{color:#8a660d}
#pwaUpdateStatus[data-state="available"]{color:#08777a;font-weight:750}
#pwaUpdateStatus[data-state="error"]{color:#a13b2f}
.app-about-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.app-about-actions .btn[hidden]{display:none}
.app-about-links{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:13px;padding-top:11px;border-top:1px solid #dce9e6}
.app-about-links a{color:#08696b;font-size:11.5px;font-weight:750;text-decoration:none}

.roadora-confirm{position:fixed;inset:0;z-index:5000;display:none;place-items:center;padding:18px}
.roadora-confirm.open{display:grid}
.roadora-confirm-backdrop{position:absolute;inset:0;border:0;background:rgba(6,25,29,.5);backdrop-filter:blur(3px)}
.roadora-confirm-card{position:relative;width:min(390px,100%);padding:22px;border:1px solid #e4d6c0;border-radius:22px;background:#fffdf9;box-shadow:0 30px 90px rgba(8,22,22,.3);text-align:center}
.roadora-confirm-icon{width:42px;height:42px;display:grid;place-items:center;margin:0 auto 10px;border-radius:14px;color:#a13b2f;background:#fff0ed;font-size:21px;font-weight:900}
.roadora-confirm-card h2{margin:0;font-size:19px}
.roadora-confirm-card p{margin:8px 0 18px;color:#6d645b;font-size:13px;line-height:1.5}
.roadora-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.btn.danger-action{color:#fff;border-color:#a13b2f;background:#a13b2f}
body.roadora-confirm-open{overflow:hidden}

.toast.toast-success{background:#0b6a4a}
.toast.toast-error{background:#9b372d}
.toast.toast-info{background:#0b5a5d}

@media all{
  .roadora-mobile-shell .mobile-home-content{padding:16px}
  .roadora-mobile-shell .mobile-home-status-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 1px 12px}
  .roadora-mobile-shell .mobile-home-status{display:flex;align-items:center;gap:6px;color:#4e625f;font-size:10.5px;font-weight:750}
  .roadora-mobile-shell .mobile-home-status i{width:8px;height:8px;border-radius:50%;background:#2ca971;box-shadow:0 0 0 3px #e1f5e9}
  .roadora-mobile-shell .mobile-home-version{padding:4px 7px;border:1px solid #cae3e0;border-radius:999px;color:#08696b;background:#edf9f8;font-size:10px;font-weight:850}
  .roadora-mobile-shell .mobile-home-section-head{align-items:center}
  .roadora-mobile-shell .mobile-home-section-head>div{min-width:0}
  .roadora-mobile-shell .mobile-home-section-head span{max-width:245px;line-height:1.35}
  .roadora-mobile-shell .mobile-recent-trips .trip-card{padding:12px;border-radius:18px;box-shadow:0 8px 22px rgba(12,47,51,.065)}
  .roadora-mobile-shell .mobile-recent-trips .trip-card-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
  .roadora-mobile-shell .mobile-recent-trips .trip-card-actions button{min-height:38px;padding:6px 4px;font-size:10px}
  .roadora-mobile-shell .mobile-recent-trips .trip-card-visual{width:40px;height:40px}
  .roadora-mobile-shell .mobile-recent-trips .trip-empty-state{padding:20px 14px}
  .roadora-mobile-shell .app-about-actions{grid-template-columns:1fr}
  .roadora-mobile-shell .app-about-actions .btn{min-height:44px}
  .roadora-mobile-shell .roadora-confirm{padding:12px calc(12px + env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) calc(12px + env(safe-area-inset-left,0px))}
  .roadora-mobile-shell .roadora-confirm-actions .btn{min-height:46px}
  .roadora-mobile-shell body.route-loading .mobile-app-heading span{color:#bdebea}
}

@media(max-width:420px){
  .trip-card-actions{grid-template-columns:1fr 1fr}
  .roadora-mobile-shell .mobile-recent-trips .trip-card-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
  .app-about-actions{grid-template-columns:1fr}
}

/* =========================================================
   Roadora v6.9.1 — account en cloudsynchronisatie
   ========================================================= */
.account-card{position:relative;overflow:hidden}
.account-card::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#0c7779,#d59b20)}
.account-intro{margin:0 0 14px;color:var(--muted,#5f6b6b);line-height:1.55}
.account-login-row{display:grid;gap:7px}
.account-login-row label{font-weight:800;font-size:.88rem;color:#1a2929}
.account-login-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center}
.account-login-controls input{min-width:0;height:46px;border:1px solid #d9d1bd;border-radius:13px;padding:0 13px;background:#fff;font:inherit;color:#172626;outline:none}
.account-login-controls input:focus{border-color:#0c7779;box-shadow:0 0 0 3px rgba(12,119,121,.13)}
.account-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}
.cloud-sync-status{margin-top:12px;padding:11px 12px;border-radius:13px;background:#f1f7f6;border:1px solid #d7e9e7;color:#304b4a;font-size:.86rem;line-height:1.45}
.account-privacy-note{margin-top:10px!important}
.account-state-pill[data-state="signed-in"]{background:#def3eb;color:#146348;border-color:#b8e3d4}
.account-state-pill[data-state="setup"]{background:#fff2d2;color:#77520b;border-color:#efd391}
.trip-cloud-pill{display:inline-flex;align-items:center;gap:5px;width:max-content;border-radius:999px;padding:3px 8px;font-size:.7rem;font-weight:800;line-height:1.1;border:1px solid #d8e3e2;background:#f6f9f9;color:#566565}
.trip-cloud-pill::before{content:"";width:7px;height:7px;border-radius:50%;background:#9aa8a7}
.trip-cloud-pill[data-sync="synced"]{background:#e7f6ef;color:#176149;border-color:#c8eadc}
.trip-cloud-pill[data-sync="synced"]::before{background:#2a9a70}
.trip-cloud-pill[data-sync="pending"]{background:#fff4d8;color:#765515;border-color:#efdba4}
.trip-cloud-pill[data-sync="pending"]::before{background:#d69a20;box-shadow:0 0 0 3px rgba(214,154,32,.13)}
.trip-cloud-pill[data-sync="error"],.trip-cloud-pill[data-sync="conflict"]{background:#fdecea;color:#8b3029;border-color:#f3c9c4}
.trip-cloud-pill[data-sync="error"]::before,.trip-cloud-pill[data-sync="conflict"]::before{background:#c84d42}
.trip-card-copy .trip-cloud-pill{margin-top:5px}
.mobile-home-status[data-cloud="synced"] i{background:#2a9a70}
.mobile-home-status[data-cloud="pending"] i{background:#d69a20}
.mobile-home-status[data-cloud="error"] i{background:#c84d42}
@media(max-width:760px),(display-mode:standalone){
  .account-login-controls{grid-template-columns:1fr}
  .account-login-controls .btn{width:100%;min-height:48px}
  .account-actions .btn{flex:1 1 150px;min-height:44px}
  .account-card{scroll-margin-top:70px}
}


/* v6.9.2 — overbodige route-stappenbalk verwijderd op website en in de app-shell. */
