/* Departure controls inherit Check's existing size and shape. */
.tyne-map-submit{position:relative;display:grid;grid-template-columns:minmax(105px,.75fr) minmax(0,1.25fr);gap:10px;width:100%}
.tyne-map-submit .tyne-map-check{min-width:0;height:auto;white-space:nowrap}
.tyne-map-submit .tyne-map-set-time{background:#276d67;gap:8px}
.tyne-map-submit .tyne-map-set-time:hover{background:#205d57}
.tyne-map-set-time svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}
.tyne-map-departure-panel{position:absolute;z-index:12;bottom:calc(100% + 10px);left:0;right:0;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px;border-radius:12px;background:var(--map-paper);box-shadow:0 8px 30px #0003;border:1px solid color-mix(in srgb,var(--map-muted) 20%,transparent);color:var(--map-ink)}
.tyne-map-departure-panel[hidden]{display:none}
.tyne-map-departure-panel label{display:grid;gap:6px;font:500 12px var(--sans);min-width:0}
.tyne-map-departure-panel input{width:100%;min-width:0;max-width:100%;height:42px;border:1px solid color-mix(in srgb,var(--map-muted) 24%,transparent);border-radius:6px;padding:8px;background:var(--map-field);color:var(--map-ink);font:14px var(--sans);color-scheme:light}
html[data-scene-tone="dark"] .tyne-map-departure-panel input{color-scheme:dark}
.tyne-map-departure-panel p{grid-column:1/-1;font:12px/1.5 var(--sans);color:var(--map-muted);margin:0}
.tyne-map-departure-panel p[hidden]{display:none}.tyne-map-departure-panel [data-map-departure-error]{color:#d36d62}
.tyne-map-departure-panel button{border:0;border-radius:7px;min-height:38px;padding:8px 12px;background:var(--map-field);color:var(--map-ink);font:500 13px var(--sans);cursor:pointer}
.tyne-map-departure-panel [data-map-departure-apply]{background:#08766f;color:#fff}
.tyne-map-departure-panel button:disabled{opacity:.5;cursor:wait}
.tyne-map-departure-note{font:12px/1.45 var(--sans);color:var(--map-muted);margin:10px 0 0}.tyne-map-departure-note[hidden]{display:none}
.tyne-map-outlook-label{position:absolute;top:58px;left:12px;z-index:3;max-width:calc(100% - 24px);padding:6px 10px;border-radius:12px;background:var(--map-controls);color:var(--map-ink);font:11px/1.4 var(--sans);pointer-events:none}.tyne-map-outlook-label[hidden]{display:none}
@media(max-width:900px){.is-mobile-layout .tyne-map-submit{gap:8px;grid-template-columns:minmax(100px,.8fr) minmax(0,1.2fr)}.is-mobile-layout .tyne-map-submit .tyne-map-check{margin-top:2px;height:auto;min-height:44px;font-size:16px}.tyne-map-departure-panel{padding:14px;gap:10px}.tyne-map-departure-note{font-size:11px;margin-top:6px}.tyne-map-outlook-label{top:52px;font-size:10px}}

/* Announce the selection without duplicating the map's visible time label or
   pushing the bottom controls beyond the workspace on smaller laptops. */
.tyne-map-departure-note{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
