.frost-navigator-widget {
  --native-accent: #50d8ff;
  --navigator-button-size: var(--widget-control-size, 32px);
  --navigator-icon-size: var(--widget-icon-size, 18px);
  --navigator-orb-size: 40px;
  position: relative;
}
.frost-navigator-widget [hidden] { display: none !important; }
.frost-navigator-summary { font-family: var(--font-mono); font-size: .8rem; color: var(--native-accent); line-height: 1.6; }
.frost-navigator-content { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.frost-navigator-widget .frost-navigator-heading { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 12px; }
.frost-navigator-widget .frost-navigator-heading .frost-cc-title { margin: 0; flex: 0 0 auto; max-width: 100%; }
.frost-navigator-widget .frost-navigator-orb {
  --navigator-button-size: var(--navigator-orb-size);
  border-radius: 50%;
  border: 1px solid #50d8ff66; background: radial-gradient(circle, #50d8ff18, transparent 65%);
  box-shadow: inset 0 0 0 7px #50d8ff08, 0 0 18px #50d8ff0b;
}
.frost-navigator-widget[aria-busy="true"] .frost-navigator-orb { border-color: #b397ff; box-shadow: 0 0 20px #b397ff25; }
.frost-navigator-quality { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.frost-navigator-quality-label { margin-left: 4px; color: var(--text-muted); font-size: .75rem; }
.frost-navigator-widget.frost-native-widget.frost-cc-panel button[aria-pressed="true"]:not(.frost-cc-widget-control) {
  color: var(--native-accent); border-color: var(--native-accent);
  background: color-mix(in srgb, var(--native-accent) 16%, var(--card-bg));
  box-shadow: inset 0 0 0 1px var(--native-accent);
}
.frost-navigator-widget[data-driving-safe="true"] {
  --widget-control-size: 56px;
  --widget-icon-size: 28px;
  --navigator-button-size: 56px;
  --navigator-icon-size: 28px;
  --navigator-orb-size: 56px;
}
.frost-navigator-widget[data-driving-safe="true"] .frost-navigator-summary { font-size: .95rem; }
.frost-navigator-widget[data-driving-safe="true"] .frost-navigator-map { pointer-events: none; }
.frost-navigator-widget .frost-navigator-orb .frost-navigator-orb-scene { width: 100%; height: 100%; overflow: visible; }
.frost-navigator-orb-ring { fill: none; stroke: currentColor; stroke-width: .5; opacity: .3; }
.frost-navigator-orb-arc { fill: none; stroke: var(--native-accent); stroke-width: 1.6; stroke-linecap: round; }
.frost-navigator-orb-core { fill: var(--native-accent); }
.frost-navigator-orb[data-journey-state="stale"] { --native-accent: #8396a5; }
.frost-navigator-orb[data-journey-state="empty"] .frost-navigator-orb-arc { opacity: .25; }
.frost-navigator-orb[data-journey-state="checking"] { --native-accent: #b397ff; }
.frost-navigator-morph { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; z-index: 4; }
.frost-navigator-morph[data-fresh="false"] { --native-accent: #8396a5; }
.frost-navigator-morph-route { fill: none; stroke: var(--native-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.frost-navigator-morph-destination { fill: var(--native-accent); stroke: #101821; stroke-width: 2; transform-origin: 0 0; }
.frost-navigator-widget[data-navigator-morph] .frost-navigator-orb-scene { opacity: .35; }
.frost-navigator-plan { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.frost-navigator-plan input { flex: 1 1 140px; width: 100%; }
.frost-navigator-widget.frost-native-widget.frost-cc-panel .frost-native-icon-button {
  width: var(--navigator-button-size); height: var(--navigator-button-size);
  min-height: var(--navigator-button-size); flex-basis: var(--navigator-button-size);
  padding: 0; place-items: center;
}
.frost-navigator-widget.frost-native-widget.frost-cc-panel .frost-native-icon-button.frost-navigator-orb {
  padding: 6px;
}
.frost-navigator-widget .frost-native-icon-button svg {
  width: var(--navigator-icon-size); height: var(--navigator-icon-size);
}
.frost-navigator-mode-icons { display: flex; gap: 4px; flex-wrap: wrap; }
.frost-navigator-widget button:not(.frost-native-icon-button):not(.frost-cc-widget-control), .frost-navigator-widget a { padding: 8px 10px; min-height: 40px; }
.frost-navigator-map { --navigator-map-height: 260px; min-height: var(--navigator-map-height); border-radius: 12px; background: #101821; border: 1px solid var(--border); }
.frost-navigator-map:empty { display: none; }
.frost-navigator-map-viewport { height: var(--navigator-map-height); min-height: inherit; width: 100%; }
.frost-navigator-routes, .frost-navigator-places { display: flex; flex-direction: column; gap: 6px; }
.frost-navigator-routes button { text-align: left; border-left: 3px solid #ad8dff; }
.frost-navigator-routes button[aria-pressed="true"] { border-left-color: #50d8ff; }
.frost-navigator-route-option, .frost-navigator-place-option { display: flex; align-items: center; gap: 10px; min-width: 0; }
.frost-navigator-route-option svg, .frost-navigator-place-option svg { width: 22px; height: 22px; flex-shrink: 0; }
.frost-navigator-route-option strong { margin-left: auto; font-family: var(--font-mono); }
.frost-navigator-route-option > span:last-of-type { color: var(--text-muted); font-size: .75rem; }
.frost-navigator-route-number { border-radius: 50%; min-width: 20px; text-align: center; font-size: .75rem; }
.frost-navigator-place-option span { overflow-wrap: anywhere; }
.frost-navigator-widget small { color: var(--text-muted); font-size: .7rem; }
.frost-navigator-path { display: flex; list-style: none; padding: 0; gap: 8px; overflow-x: auto; }
.frost-navigator-path li { flex: 1 0 100px; border-top: 2px solid #50d8ff; padding-top: 8px; font-size: .7rem; }
.frost-navigator-path li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.frost-navigator-path svg { width: 22px; height: 22px; }
.frost-navigator-path strong { font-family: var(--font-mono); font-size: .7rem; }
.frost-navigator-calculation { font-size: .75rem; }
.frost-navigator-calculation dl { display: grid; grid-template-columns: 1fr auto; gap: 6px; }
.frost-navigator-calculation dd { margin: 0; text-align: right; }
.frost-navigator-contexts { display: flex; flex-wrap: wrap; gap: 8px; }
.frost-navigator-contexts p { flex-basis: 100%; }
.frost-navigator-day { padding-left: 20px; font-size: .75rem; }
.frost-navigator-day button { width: 100%; text-align: left; }
.frost-navigator-day button[aria-pressed="true"] { border-color: var(--native-accent); }
.frost-navigator-timeline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .75rem; }
.frost-navigator-timeline input { width: 100%; min-height: 44px; accent-color: var(--native-accent); }
.frost-navigator-timeline output { flex: 1 1 160px; }
.frost-navigator-focused { width: min(850px, 100%) !important; max-height: 75vh; overflow: auto; }
.frost-navigator-focused .frost-navigator-map { --navigator-map-height: 360px; }
.frost-navigator-widget[data-navigator-display="minimized"] .frost-navigator-summary { font-size: .7rem; }
.frost-navigator-widget.is-minimized > .frost-navigator-summary { display: block !important; }
.frost-navigator-widget.is-minimized > .frost-navigator-heading { display: flex !important; }
.frost-cc-surface:has(.frost-navigator-focused) {
  display: flex; align-items: stretch; overflow: hidden;
}
.frost-cc-surface:has(.frost-navigator-focused) .frost-cc-main {
  order: 0; flex: 0 0 clamp(320px, 35%, 700px); min-width: 0;
}
.frost-cc-surface:has(.frost-navigator-focused) .frost-cc-rail:has(.frost-navigator-focused) {
  order: 1; flex: 1; min-width: 0; overflow-y: auto;
}
.frost-cc-surface:has(.frost-navigator-focused) .frost-cc-rail:not(:has(.frost-navigator-focused)),
.frost-cc-surface:has(.frost-navigator-focused) .frost-cc-widget-column:not(:has(.frost-navigator-focused)),
.frost-cc-surface:has(.frost-navigator-focused) .frost-cc-rail .frost-cc-panel:not(.frost-navigator-focused) { display: none; }
.frost-cc-surface:has(.frost-navigator-focused) .frost-cc-widget-column:has(.frost-navigator-focused) { display: contents; }
.frost-cc-surface:has(.frost-navigator-focused) .frost-navigator-focused { width: 100% !important; }
@media (max-width: 1120px) {
  .frost-cc-surface:has(.frost-navigator-focused) { flex-direction: column; overflow-y: auto; }
  .frost-cc-surface:has(.frost-navigator-focused) .frost-cc-main { flex: 0 0 38dvh; height: 38dvh; }
  .frost-cc-surface:has(.frost-navigator-focused) .frost-navigator-focused { max-height: 52dvh; }
}
@media (max-width: 700px) {
  .frost-navigator-focused { width: 100% !important; max-height: 60vh; }
  .frost-navigator-widget button:not(.frost-native-icon-button):not(.frost-cc-widget-control), .frost-navigator-widget a { min-height: 44px; }
  .frost-navigator-map { --navigator-map-height: 220px; }
}
@media (pointer: coarse), (max-width: 900px) {
  .frost-navigator-widget {
    --navigator-button-size: 44px;
    --navigator-icon-size: 20px;
    --navigator-orb-size: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .frost-navigator-widget, .frost-navigator-widget * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
