.scc-journey-map,.scc-journey-map-trigger{--journey-accent:#12633b;--journey-paper:#fff;--journey-ink:#19362b;--journey-radius:16px;font-family:inherit}
.scc-journey-map[data-brand="PT"],.scc-journey-map-trigger[data-brand="PT"]{--journey-accent:#d71920;--journey-ink:#382024;--journey-radius:24px}
.scc-journey-map[data-brand="MC"],.scc-journey-map-trigger[data-brand="MC"]{--journey-accent:#12633b;--journey-ink:#173b2b;--journey-radius:3px}
.scc-journey-map[data-brand="JC"],.scc-journey-map-trigger[data-brand="JC"]{--journey-accent:#0055cc;--journey-ink:#102a4f;--journey-radius:8px}
.scc-journey-map[data-brand="HUT"],.scc-journey-map-trigger[data-brand="HUT"]{--journey-accent:#805e00;--journey-ink:#34301d;--journey-radius:20px}
.scc-journey-map-trigger{display:inline-flex;align-items:center;gap:.5rem;min-height:44px;padding:.35rem 0!important;border:0!important;background:transparent!important;color:var(--journey-accent)!important;font-size:.8rem;font-weight:600;text-decoration:underline;text-underline-offset:4px;cursor:pointer;box-shadow:none!important}
.scc-journey-map-trigger::before{content:'⌖';font-size:1.3rem;line-height:1}
.scc-journey-map-trigger[hidden],.scc-journey-map [hidden]{display:none!important}
.scc-journey-map{width:min(760px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);margin:auto;padding:24px;border:0;border-radius:var(--journey-radius);background:var(--journey-paper);color:var(--journey-ink);box-shadow:0 24px 100px #102a4f40;overflow:auto;overscroll-behavior:contain;box-sizing:border-box;animation:scc-map-enter .16s ease-out}
.scc-journey-map::backdrop{background:#0b1828b3;backdrop-filter:blur(3px)}
.scc-journey-map *{box-sizing:border-box}
.scc-journey-map__head{display:flex;justify-content:space-between;align-items:center;gap:16px}
.scc-journey-map__head h2{margin:0;font-size:clamp(1.15rem,3vw,1.65rem);font-family:inherit;line-height:1.25;letter-spacing:normal;color:inherit}
.scc-journey-map__close{flex:0 0 44px;width:44px;height:44px;padding:0!important;border:0!important;border-radius:50%;background:#edf1f5!important;color:var(--journey-ink)!important;font-size:1.8rem;cursor:pointer}
.scc-journey-map__hint,.scc-journey-map__status{font-size:.86rem;line-height:1.6;margin:12px 0;color:inherit}
.scc-journey-map__search{position:relative;margin:16px 0;z-index:2}
.scc-journey-map__search label{display:block;margin-bottom:8px;font-size:.85rem;font-weight:600}
.scc-journey-map__search input:not([type="hidden"]){width:100%;min-height:48px;padding:12px;border:1px solid #c8d1d8;border-radius:var(--journey-radius);background:white;color:var(--journey-ink);font:inherit}
.scc-journey-map__search .scc-google-address-predictions{position:absolute;z-index:3;inset-inline:0;background:white;max-height:240px;overflow:auto;border:1px solid #c8d1d8;box-shadow:0 8px 24px #102a4f26}
.scc-journey-map__search .scc-google-address-prediction{display:flex;flex-direction:column;gap:4px;width:100%;min-height:48px;padding:12px;border:0;border-bottom:1px solid #e3e9ef;background:white;color:var(--journey-ink);font:inherit;text-align:start;cursor:pointer}
.scc-journey-map__search .scc-google-address-prediction span{font-size:.8rem}
.scc-journey-map__legend{display:grid;gap:8px;margin-top:12px}
.scc-journey-map__legend-item{display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 12px;border:0;background:#f0f3f5;color:var(--journey-ink);font:inherit;text-align:start;border-radius:var(--journey-radius);overflow-wrap:anywhere}
button.scc-journey-map__legend-item{cursor:pointer}
.scc-journey-map__legend-item::before{content:'';width:28px;height:5px;flex:0 0 28px;border-radius:4px;background:var(--route-color)}
.scc-journey-map__legend-item span{font-size:.75rem}
.scc-journey-map__frame{position:relative;border-radius:var(--journey-radius);overflow:hidden;background:#e7ece9}
.scc-journey-map__canvas{width:100%;height:clamp(200px,40dvh,360px);min-height:200px}
.scc-journey-map__pin{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:32px;height:32px;border:2px solid white;border-radius:50%;display:grid;place-items:center;background:var(--journey-accent);color:white;font-size:24px;line-height:1;pointer-events:none;box-shadow:0 2px 8px #0004}
.scc-journey-map__tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.scc-journey-map__tools button,.scc-journey-map__confirm{min-height:48px;padding:12px 16px!important;border:0!important;border-radius:var(--journey-radius);font-family:inherit;font-size:.85rem;font-weight:600;line-height:1.35;cursor:pointer;white-space:normal}
.scc-journey-map__secondary{background:#edf1f5!important;color:var(--journey-ink)!important}
.scc-journey-map__primary,.scc-journey-map__confirm{background:var(--journey-accent)!important;color:white!important}
.scc-journey-map__confirm{width:100%;margin-top:8px}
.scc-journey-map button:disabled{opacity:.5;cursor:not-allowed}
.scc-journey-map__address{font-size:1rem;line-height:1.6;font-weight:600;margin:8px 0;overflow-wrap:anywhere}
.scc-journey-map :focus-visible,.scc-journey-map-trigger:focus-visible{outline:3px solid var(--journey-accent);outline-offset:4px}
@media(max-width:480px){.scc-journey-map{padding:16px}.scc-journey-map__tools>*{flex:1 1 110px}.scc-journey-map__canvas{height:34dvh}.scc-journey-map__hint,.scc-journey-map__status{font-size:.8rem}}
@keyframes scc-map-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.scc-journey-map{animation:none}}
.location-field>.scc-journey-map-trigger:is([data-brand="SCC"],[data-brand="HUT"]):not(.scc-journey-map-preview){grid-column:1/-1;justify-self:start;width:max-content;max-width:100%;white-space:nowrap}
.scc-journey-edit-stops,.scc-journey-edit-care{grid-column:1/-1;min-width:0;border:0;padding:16px 0;margin:0;color:inherit}
.scc-journey-edit-stops legend,.scc-journey-edit-care legend{font:inherit;font-weight:600;margin-bottom:12px}
.scc-journey-edit-stop{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px 80px;gap:8px;align-items:center;margin:12px 0}
.scc-journey-edit-stop input,.scc-journey-edit-care input:not([type="checkbox"]){width:100%;min-width:0;min-height:48px;padding:12px;font:inherit;background:#fff;color:#183128;border:1px solid #bdc8c1;border-radius:8px}
.scc-journey-edit-stop button,.scc-journey-edit-stops>button{min-height:44px;padding:8px;border:1px solid currentColor;border-radius:8px;font:inherit;color:inherit;background:transparent;cursor:pointer}
.scc-journey-edit-stop button:disabled{opacity:.35;cursor:not-allowed}
.scc-journey-edit-care{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.scc-journey-edit-care label{display:block;font-size:.85rem;margin-bottom:8px}
@media(max-width:560px){.scc-journey-edit-stop{grid-template-columns:44px 44px minmax(80px,1fr)}.scc-journey-edit-stop>[data-scc-google-address-field]{grid-column:1/-1}.scc-journey-edit-care{grid-template-columns:repeat(2,minmax(0,1fr))}}
