
#jmMaster .jo-header,#jmMaster .jo-bar{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.8rem 1rem;background:linear-gradient(110deg,#480458,#881187);color:white;border-radius:16px}
#jmMaster .jo-header h2{background:none;color:white;padding:0;margin:0;font:italic 800 2rem/1.2 system-ui;border:0;border-bottom:4px solid #ffd633;border-radius:0}
.jo-header a{color:white;border:1px solid white;padding:8px 14px;border-radius:10px;text-decoration:none;font-weight:750}
#jmMaster .jo-bar{margin-top:1rem;font-size:1.2rem}.jo-bar span{font-size:.92rem;text-align:right}
#jmMaster [hidden]{display:none!important}
#jmResults .jm-road{--tone:#34233b;--wash:#f0e9f3;overflow:hidden;border:1px solid #dccfdd;border-radius:14px;margin:8px 0}
#jmResults .jm-bus,#jmResults .jm-london-bus{--tone:#780c80;--wash:#ffe3f6}
#jmResults .jm-ferry{--tone:#086742;--wash:#def4e9}
#jmResults .jm-train{--tone:#06549d;--wash:#e1edff}
#jmResults .jm-tube{--tone:#17213b;--wash:#e9ebf3}
#jmResults .jm-road summary{display:grid;grid-template-columns:minmax(88px,30%) 1fr auto;padding:0;align-items:stretch;background:var(--wash);color:#171321;list-style:none}
#jmResults .jm-road summary::-webkit-details-marker{display:none}
#jmResults .jm-road summary:after{content:'⌄';align-self:center;padding:6px}
#jmResults .jm-road[open] summary:after{content:'⌃'}
#jmResults .jo-mode{background:var(--tone);color:white;display:flex;align-items:center;gap:6px;font-weight:750;padding:10px 8px}
#jmResults .jo-mode img{width:26px;height:26px;object-fit:contain;margin:0}
#jmResults .jo-leg{align-self:center;padding:8px;font-size:1rem;line-height:1.25}
#jmResults .jo-leg strong{font-size:1.3rem;display:block}
#jmResults .jo-detail-note:has(+details:not([open])){display:none}
#joNext{display:block;margin:12px 0 0 auto;padding:12px 18px;border:0;border-radius:10px;color:white;background:#65136e;font-size:17px;font-weight:bold}
@media(max-width:440px){#jmResults .jo-mode{flex-direction:column;justify-content:center;font-size:14px}.jo-bar span{max-width:55%}}
