.route-device,.route-report { margin-block-end:1.25rem }
.route-device { border:1px solid var(--line); border-radius:15px; background:var(--surface); display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:.85rem 1rem; padding:clamp(1rem,2vw,1.5rem) }
.route-device-title { display:flex; gap:.8rem; align-items:center }
.route-device h2,.route-timeline h3 { margin:0; font:650 1.2rem/1.25 var(--heading); letter-spacing:-.035em }
.route-device p { margin:.23rem 0 0; font-size:.9rem; color:var(--muted) }
.route-symbol { width:2.65rem; height:2.65rem; border:1px solid #e8e2d6; border-radius:10px; background:#f6f3ed; color:#715a29; display:grid; place-items:center; flex:none }
.route-badge { border:1px solid var(--line); border-radius:999px; background:#fff; font-size:.81rem; font-weight:600; padding:.32rem .65rem }
.route-badge[data-active=true] { color:#22513b; background:#e7f2e9; border-color:#bddbc5 }
.route-consent,.route-guidance { grid-column:1 / -1; max-width:72ch; color:var(--ink); font-size:.92rem; line-height:1.5 }
.route-consent { display:flex; align-items:flex-start; gap:.65rem; cursor:pointer }
.route-consent input { margin:.13rem 0 0; width:1.2rem; height:1.2rem; flex:none; accent-color:#745322 }
.route-device-actions,.route-feedback { grid-column:1/-1 }
.route-device-actions,.route-pagination,.route-timeline-head { display:flex; gap:.65rem; align-items:center; flex-wrap:wrap }
.route-filter.hr-filterbar { display:grid; grid-template-columns:minmax(8rem,11rem) auto; align-items:end; max-width:100%; }
.route-filter.hr-filterbar:has(select) { grid-template-columns:minmax(8rem,13rem) minmax(8rem,11rem) auto; }
.route-report [data-route-privacy] .route-sessions {
  margin:0;
  padding:0;
  border:0;
  border-bottom:1px solid var(--line);
  background:var(--surface);
}
.route-report [data-route-privacy] summary { padding:.82rem 1.25rem; color:var(--muted); }
.route-report [data-route-privacy] details[open] summary { color:var(--ink); }
.route-report .field-privacy { padding:0 1.25rem 1rem; overflow-wrap:anywhere; }
.route-report .field-privacy h3 { font:600 .95rem/1.4 var(--sans); }
.route-report .field-privacy ul,.route-report .route-sessions ul { padding-inline-start:1.15rem; }
.route-report [data-route-result] { padding:clamp(1rem,2vw,1.5rem); min-width:0 }
.route-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.75rem; margin:0 0 1.1rem; padding:0 0 1.1rem; border-bottom:1px solid var(--line) }
.route-facts dt,.route-timeline-head > span,.route-sessions { font-size:.86rem; color:var(--muted) }
.route-facts dd { margin:.18rem 0 0; color:var(--ink); font:650 1.55rem/1.15 var(--heading); font-variant-numeric:tabular-nums }
.route-map-wrap .hris-map__canvas { height:clamp(17rem,31vw,27rem) }
.route-avatar .avatar { width:32px; height:32px; border:2px solid #fff; box-shadow:0 0 0 2px #8c6a32 }
.route-legend { display:flex; gap:.55rem; align-items:center; margin:.65rem 0 1.1rem; font-size:.81rem; color:var(--muted) }
.route-legend span { width:1.5rem; height:3px; background:#946416; flex:none }
.route-timeline-head,.route-pagination { justify-content:space-between }
.route-timeline ol { padding:0; margin:.6rem 0 0; list-style:none }
.route-timeline li > button { width:100%; display:grid; grid-template-columns: minmax(7.5rem,1fr) minmax(10rem,1.4fr) 1fr; align-items:center; gap:.5rem; border:0; border-top:1px solid var(--line); text-align:left; background:none; color:var(--ink); font:inherit; padding:.68rem .4rem; cursor:pointer }
.route-timeline li > button[aria-pressed=true],.route-timeline li > button:hover { background:#f6f2e8 }
.route-timeline button span:first-child { display:flex; align-items:center; gap:.5rem }
.route-timeline li .tkui-icon { width:16px; color:#785a24 }
.route-timeline button strong,.route-coordinates { font-variant-numeric:tabular-nums }
.route-coordinates,.route-timeline button span:last-child { color:var(--muted); font-size:.84rem }
.route-gap,.route-feedback { display:block; margin:.45rem 0; color:#78410e; font-size:.88rem }
.route-pagination { margin-top:.7rem }
.route-sessions { margin-top:.85rem; padding-top:.7rem; border-top:1px solid var(--line) }
.route-sessions summary { cursor:pointer; font-weight:600 }
@media(max-width:600px) {
 .route-device { grid-template-columns:1fr }
 .route-device-title { align-items:start }
 .route-badge { justify-self:start }
 .route-filter.hr-filterbar { width:100%; }
 .route-filter.hr-filterbar { grid-template-columns:minmax(0,1fr) auto; }
 .route-filter.hr-filterbar:has(select) { grid-template-columns:minmax(0,1fr) minmax(7rem,1fr) auto; }
 .route-report [data-route-privacy] summary { padding:.8rem 1rem }
 .route-report .field-privacy { padding-inline:1rem }
 .route-facts { gap:.75rem .55rem }
 .route-facts dd { font-size:1.2rem }
 .route-timeline li > button { grid-template-columns:1fr auto }
 .route-timeline .route-coordinates { grid-column:1/-1; grid-row:2; padding-inline-start:1.55rem }
 .route-device-actions button { white-space:normal }
}
.route-places { margin:1rem 0 1.5rem; padding-top:.35rem }
.route-places h3 { font:650 1.18rem/1.3 var(--heading); margin:0 }
.route-places > p,.route-places details summary { margin:.35rem 0 .7rem; color:var(--muted); font-size:.86rem }
.route-places ol { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(15rem,100%),1fr)); list-style:none; margin:0; padding:0; gap:.6rem }
.route-places li button { display:flex; flex-direction:column; text-align:left; justify-content:center; align-items:flex-start; width:100%; height:100%; gap:.24rem; padding:.65rem .8rem; background:var(--surface); border:1px solid var(--line); border-radius:10px; color:inherit; font:inherit; cursor:pointer }
.route-places li button:hover { border-color:#a98a54 }
.route-places li button > span { display:flex; gap:.4rem; align-items:center }
.route-places .tkui-icon { color:#785a24; width:16px }
.route-places li :is(time,small) { color:var(--muted); font-size:.82rem }
.route-coordinates b { display:block; color:var(--ink); font-weight:550; margin-bottom:.12rem }
