@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/nunito/nunito-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/nunito/nunito-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/nunito/nunito-latin-700-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --keyboard-inset: 0px;
  --terrain: #eee8da;
  --road: #f6f1e6;
  --building: #d4cec3;
  --park: #d7d9be;
  --tree: #93a66b;
  --water: #9fc2d8;
  --water-depth: #87aec6;
  --shadow-blue: #aacbe9;
  /* Map shadow tint — building SHADOW_RGB; cloud fog uses same blue family */
  --map-shadow-rgb: 170, 203, 233;
  --map-cloud-shadow-rgb: 72, 117, 145;
  --map-twilight-rgb: 10, 20, 52;
  --map-twilight-alpha: 0.68;
  --sunny: #e8a623;
  --sunny-hi: #f4c14b;
  /* LEYSO logo sun — sampled from launch animation */
  --logo-sun-hi: #ffce71;
  --logo-sun-lo: #ffc55a;
  --logo-sun-border: #f0ad42;
  --shade: #4a97d9;
  --shade-hi: #68afe8;
  /* Pastilles terrasse (src/terrasses/markers.js) */
  --terrasse-marker-sun: rgba(232, 166, 35, 0.86);
  --terrasse-marker-shade: rgba(74, 151, 217, 0.86);
  --terrasse-marker-draft: rgba(34, 197, 94, 0.88);
  --terrasse-marker-displace: rgba(229, 57, 53, 0.92);
  --terrasse-marker-outline: rgba(255, 255, 255, 0.58);
  --panel: rgba(255, 252, 244, 0.94);
  --panel-border: rgba(95, 90, 82, 0.16);
  --ink: #302f2b;
  --ink-muted: #5f5a52;
  --accent: #4a97d9;
  --accent-hover: #347fbe;
  --accent-soft: #f6f1e6;
  --accent-tint: rgba(74, 151, 217, 0.13);
  --shadow: 0 8px 32px rgba(95, 90, 82, 0.12);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  font-family:
    "Nunito",
    ui-rounded,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  background: var(--terrain);
}

html.capacitor-native,
html.capacitor-native body {
  background-color: var(--terrain);
}

.swiss-shell,
#map-canvas,
#user-location-canvas,
#map-labels-canvas {
  position: fixed;
  inset: 0;
}

#map-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  background: var(--terrain);
  z-index: 0;
}

.user-location-canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

#map-labels-canvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/**
 * Animated Jet d'Eau GIF — between #map-canvas and #map-labels-canvas in .swiss-shell
 * (terrain tile layer only; menus / dock / sheets stay above labels).
 */
img.jet-deau-overlay {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  object-fit: fill;
  image-rendering: auto;
  transform-origin: bottom center;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

/** Night veil — deep navy (separate from pale building-shadow tint). */
.map-twilight-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  visibility: hidden;
  background: rgba(var(--map-twilight-rgb), var(--map-twilight-alpha));
}

.map-twilight-overlay.is-active {
  visibility: visible;
}

.hud {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 48px;
  max-width: min(100vw - 28px, 520px);
  box-sizing: border-box;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hud button,
.hud input,
.hud select,
.hud a,
.hud label,
.hud .hud-toggle {
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 2px 8px 2px 4px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.15;
}

.brand-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand-mark {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2.5px solid var(--accent);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 42%, var(--accent) 42% 58%, transparent 58%),
    linear-gradient(0deg, transparent 42%, var(--accent) 42% 58%, transparent 58%),
    var(--accent-soft);
}

.icon-button__glyph {
  display: block;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border: 1px solid rgba(74, 151, 217, 0.22);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
  transition:
    background 0.15s ease,
    transform 0.12s ease;
}

@media (hover: hover) and (pointer: fine) {
  .icon-button:hover {
    background: #eef4ef;
    transform: scale(1.04);
  }

  .icon-button:active {
    transform: scale(0.98);
  }
}

.icon-button[aria-pressed="true"] {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent-hover);
}

.hud-toggle {
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(74, 151, 217, 0.22);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.12s ease;
}

@media (hover: hover) and (pointer: fine) {
  .hud-toggle:hover {
    background: #eef4ef;
    transform: scale(1.04);
  }

  .hud-toggle:active {
    transform: scale(0.98);
  }
}

.hud-toggle[aria-pressed="false"] {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-muted);
  border-color: var(--panel-border);
}

.time-control {
  display: grid;
  grid-template-columns: auto minmax(100px, 18vw) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 4px 10px;
  min-height: 38px;
  padding: 4px 12px;
  color: var(--ink);
  background: var(--accent-tint);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(74, 151, 217, 0.12);
}

.time-control .sun-anchor-row {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 4px 0 0;
}

.time-control .sun-anchor-date {
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes sun-reset-hint-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

.time-control .sun-anchor-date.is-planned-day,
.sun-dial__head .sun-dial__date.is-planned-day {
  display: inline-block;
  transform-origin: center center;
  color: #e8942d;
  font-weight: 600;
  animation: sun-reset-hint-pulse 1.1s ease-in-out infinite;
}

:root[data-ui-theme="dark"] .sun-dial__head .sun-dial__date.is-planned-day {
  color: #f0a840;
}

@media (prefers-reduced-motion: reduce) {
  .sun-dial__head .sun-dial__date.is-planned-day,
  .sun-dial__head .sun-now-toggle.is-reset-hint {
    animation: none;
  }
}

.time-control .hour-weather {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 78px;
}

.time-control .hour-weather .weather-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--ink);
}

.time-control .hour-weather .weather-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.time-control .hour-weather.is-loading .weather-icon,
.time-control .hour-weather.is-error .weather-icon {
  color: var(--ink-muted);
}

.time-control label,
.time-control output {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.time-control output {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
}

.sun-now-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.sun-now-toggle__icon {
  flex: 0 0 auto;
  display: block;
}

.sun-now-toggle:hover {
  opacity: 0.85;
}

.sun-now-toggle[aria-pressed="true"] {
  opacity: 1;
}

.open-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--accent-soft);
  border: 1px solid rgba(74, 151, 217, 0.18);
  border-radius: var(--radius-sm);
  cursor: pointer;
  user-select: none;
}

.open-toggle input {
  accent-color: var(--accent);
  margin: 0;
  cursor: pointer;
}

.open-toggle .open-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.open-toggle .open-count:empty {
  display: none;
}

/* Planifier — filter icon in the search bar + dialog (#49). */
.plan-open-btn.search-filter-btn {
  color: var(--accent-hover);
  background: var(--accent-soft);
  border: 1px solid rgba(74, 151, 217, 0.22);
}

@media (hover: hover) and (pointer: fine) {
  .plan-open-btn.search-filter-btn:hover {
    background: #eef4ef;
    transform: scale(1.04);
  }

  .plan-open-btn.search-filter-btn:active {
    transform: scale(0.98);
  }
}

.plan-terrasse-dialog {
  margin: auto;
  padding: 0;
  width: min(380px, calc(100vw - 32px));
  max-height: calc(100vh - 64px);
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  font-family: inherit;
}

.plan-terrasse-dialog::backdrop {
  background: rgba(20, 30, 40, 0.32);
  backdrop-filter: blur(6px);
}

.plan-terrasse-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 8px;
}

.plan-terrasse-dialog__header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.plan-terrasse-dialog__close {
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.plan-terrasse-dialog__close:hover {
  background: rgba(80, 100, 120, 0.08);
  color: var(--ink);
}

.plan-terrasse-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 18px 18px;
}

.plan-terrasse-form__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.plan-terrasse-form__row input[type="text"],
.plan-terrasse-form__row input[type="number"],
.plan-terrasse-form__row input[type="date"] {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  color: var(--ink);
  background: #fafcfd;
  border: 1px solid rgba(80, 100, 120, 0.18);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}

.plan-terrasse-form__row input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.plan-terrasse-form__time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.plan-terrasse-form__time input {
  width: 64px;
  text-align: center;
}

.plan-terrasse-form__time-sep {
  font-weight: 700;
  color: var(--ink);
}

.plan-terrasse-form__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.plan-terrasse-form__chip {
  padding: 4px 10px;
  margin: 0;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border: 1px solid rgba(74, 151, 217, 0.22);
  border-radius: 999px;
  cursor: pointer;
}

.plan-terrasse-form__chip:hover {
  background: #eef4ef;
}

.plan-terrasse-form__types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}

.plan-terrasse-form__types legend {
  flex: 0 0 100%;
  margin-bottom: 2px;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
}

.plan-terrasse-form__types button {
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink-muted);
  background: var(--control);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.plan-terrasse-form__types button.is-selected {
  border-color: transparent;
  color: #fff;
  background: var(--accent);
}

.plan-terrasse-form__status {
  margin: 0;
  min-height: 16px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-muted);
}

.plan-terrasse-form__status[data-kind="error"] {
  color: #c84436;
}

.plan-terrasse-form__status[data-kind="warn"] {
  color: #b06d00;
}

.plan-terrasse-form__submit {
  height: 38px;
  margin-top: 4px;
  padding: 0 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}

.plan-terrasse-form__submit:hover {
  background: var(--accent-hover);
}

/* Persistent results panel — floats on the map after a plan search. */
.plan-results {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top, 0px));
  left: auto;
  right: 10px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  height: clamp(220px, calc(100vh - 190px), 320px);
  max-width: min(360px, calc(100vw - 28px));
  padding: 10px 12px 8px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  font-family: inherit;
}

.plan-results[hidden] {
  display: none;
}

.plan-results__header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: default;
  touch-action: manipulation;
  user-select: none;
}

.plan-results__title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.plan-results__clear {
  margin: 0;
  padding: 2px 8px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-muted);
  background: transparent;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  cursor: pointer;
}

.plan-results__clear:hover {
  color: var(--ink);
  border-color: rgba(80, 100, 120, 0.32);
}

.plan-results__list {
  flex: 1 1 auto;
  list-style: none;
  margin: 6px 0 0;
  min-height: 0;
  padding: 0 4px 0 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(74, 151, 217, 0.45) rgba(74, 151, 217, 0.1);
  scrollbar-width: thin;
}

.plan-results__list::-webkit-scrollbar {
  width: 8px;
}

.plan-results__list::-webkit-scrollbar-track {
  background: rgba(74, 151, 217, 0.1);
  border-radius: 999px;
}

.plan-results__list::-webkit-scrollbar-thumb {
  background: rgba(74, 151, 217, 0.45);
  border-radius: 999px;
}

.plan-results__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.12s ease;
}

.plan-results__item:hover {
  background: var(--accent-tint);
}

.plan-results__badge {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: #5f5a52;
  background: var(--sunny-hi);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.plan-results__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.plan-results__info strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plan-results__info small {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
}

.plan-results__warn {
  color: #b06d00;
}

.plan-results__more {
  flex: 0 0 auto;
  display: block;
  width: 100%;
  margin: 6px 0 2px;
  padding: 6px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-hover);
  background: var(--accent-soft);
  border: 1px solid rgba(74, 151, 217, 0.22);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease;
}

.plan-results__more:hover {
  background: #eef4ef;
}

.plan-results__more[hidden] {
  display: none;
}

.time-control input[type="range"] {
  position: relative;
  z-index: 4;
  width: 100%;
  min-width: 0;
  height: 32px;
  margin: 0;
  padding: 0;
  accent-color: var(--accent);
  cursor: pointer;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.time-control label {
  position: relative;
  z-index: 1;
}

.time-control .hour-weather {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

/* Bottom dock — cream tray + disk; corner controls are absolutely overlaid */
input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
textarea,
[contenteditable="true"] {
  user-select: text;
  -webkit-user-select: text;
}

.sun-dial-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  margin: 0;
  padding: 0 0 env(safe-area-inset-bottom, 0px);
  box-sizing: border-box;
  background: var(--sun-dial-panel-bg);
  pointer-events: none;
  overflow: visible;
}

.sun-dial-bar > * {
  pointer-events: auto;
}

/* >>> BEGIN CHANGE author=Gloria when=2026-05-21T16:00:00Z theme=data-attribution-dock <<< */
/* Zero-height overlay — does not expand the slim dock */
.sun-dial-bar__dock-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  width: 100%;
  height: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: none;
  overflow: visible;
  pointer-events: none;
}

.sun-dial-bar__dock-footer .sun-dial__credits-btn {
  position: absolute;
  left: max(16px, calc(16px + env(safe-area-inset-left, 0px)));
  bottom: 12px;
  z-index: 10000;
  margin: 0;
  transform: none;
  pointer-events: auto;
}

@media (max-width: 380px) {
  .sun-dial-bar__dock-footer .sun-dial__credits-btn {
    left: max(12px, calc(12px + env(safe-area-inset-left, 0px)));
  }
}

.credits-attribution-list {
  margin: 0;
}

.credits-attribution {
  margin: 0 0 12px;
}

.credits-attribution dt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.credits-attribution__badge {
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: rgba(80, 100, 120, 0.1);
}

.credits-attribution dd {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-muted);
}

.credits-dialog__intro {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-muted);
}

.credits-dialog__copyright {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--panel-border);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink-muted);
}
/* >>> END CHANGE author=Gloria when=2026-05-21T16:00:00Z theme=data-attribution-dock <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-02T16:35:41Z theme=bottom-hour-horizontal-bar <<< */
.sun-dial {
  --sun-dial-credits-radius: 20px;
  --sun-dial-side-w: 36px;
  --sun-dial-slider-gap: 8px;
  --sun-dial-auto-w: 70px;
  --sun-dial-bar-h: 118px;
  position: relative;
  display: grid;
  grid-template-columns: var(--sun-dial-side-w) minmax(0, 1fr) var(--sun-dial-side-w);
  column-gap: var(--sun-dial-slider-gap);
  row-gap: 4px;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: var(--sun-dial-bar-h);
  padding: 8px 12px 6px;
  background: transparent;
  overflow: visible;
  font-family:
    "Nunito",
    ui-rounded,
    -apple-system,
    "SF Pro Display",
    "SF Pro Text",
    system-ui,
    sans-serif;
}

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T14:36:52Z theme=hour-centered-slider <<< */
/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T14:51:37Z theme=hour-auto-side-by-side <<< */
.sun-dial__head,
.sun-dial__slider {
  display: contents;
}

.sun-dial__head-gutter--left {
  grid-column: 1;
  grid-row: 1;
}

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T14:54:01Z theme=hour-auto-flex-row <<< */
.sun-dial__time-slot {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  column-gap: 10px;
  justify-self: stretch;
  min-width: 0;
  min-height: 36px;
}
/* >>> END CHANGE author=Gloria when=2026-06-03T14:54:01Z theme=hour-auto-flex-row <<< */

.sun-dial__head-gutter--right {
  grid-column: 3;
  grid-row: 1;
}

.sun-dial-weather {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
}

.sun-dial__svg {
  grid-column: 2;
  grid-row: 2;
  display: block;
  width: 100%;
  min-width: 0;
  height: 52px;
}

.sun-dial__slider .sun-dial__credits-btn {
  grid-column: 3;
  grid-row: 2;
  justify-self: center;
}

.sun-dial__time {
  position: relative;
  margin: 0;
  font-size: clamp(28px, 8vw, 36px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--sun-dial-time);
  white-space: nowrap;
  flex: 0 0 auto;
}

.sun-dial__meta {
  grid-column: 2;
  grid-row: 3;
  justify-self: center;
}
/* >>> END CHANGE author=Gloria when=2026-06-03T14:51:37Z theme=hour-auto-side-by-side <<< */
/* >>> END CHANGE author=Gloria when=2026-06-03T14:36:52Z theme=hour-centered-slider <<< */

.sun-dial__svg {
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.sun-dial__svg:focus:not(:focus-visible) {
  outline: none;
}

.sun-dial__svg:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sun-dial__svg:active {
  cursor: grabbing;
}

.sun-dial__time,
.sun-dial__meta {
  user-select: none;
  -webkit-user-select: none;
}

.sun-dial__hit {
  fill: transparent;
  pointer-events: all;
}

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T14:29:27Z theme=slider-ref-aesthetic <<< */
.sun-dial__track-rail {
  stroke: #e3e0d8;
  stroke-width: 2.5;
  stroke-linecap: round;
  pointer-events: none;
}

.sun-dial__track-past {
  stroke: #c8c5bc;
  stroke-width: 2.5;
  stroke-linecap: round;
  pointer-events: none;
}

.sun-dial__track-future {
  stroke: url(#sun-dial-track-grad-future);
  stroke-width: 2.5;
  stroke-linecap: round;
  pointer-events: none;
}

.sun-dial-tick-mark {
  stroke: #d8d5cd;
  stroke-width: 1;
  pointer-events: none;
}

.sun-dial-tick-mark--major {
  stroke: #c5c2b8;
  stroke-width: 1.25;
}

.sun-dial-tick {
  font-family: inherit;
  pointer-events: none;
}

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T16:00:00Z theme=slider-hour-reloj-solar <<< */
.sun-dial-tick__shadow {
  font-size: 10px;
  font-weight: 600;
  fill: #252320;
  pointer-events: none;
}

.sun-dial-tick--major .sun-dial-tick__shadow {
  font-size: 11px;
}

.sun-dial-tick__hr {
  font-size: 10px;
  font-weight: 600;
  fill: #707070;
  text-shadow: 0 1.1px 1px rgba(0, 0, 0, 0.14), 0 2px 1.2px rgba(0, 0, 0, 0.1);
}

.sun-dial-tick--major .sun-dial-tick__hr {
  font-size: 11px;
  fill: #5f5f5f;
}
/* >>> END CHANGE author=Gloria when=2026-06-03T16:00:00Z theme=slider-hour-reloj-solar <<< */

.sun-dial__thumb-ring {
  fill: #f7f6f2;
  stroke: #f0efe8;
  stroke-width: 1;
}

.sun-dial__thumb-core {
  fill: #ebc053;
  stroke: none;
}

.sun-dial__pointer {
  pointer-events: none;
  transition: transform 0.07s ease-out;
}

:root[data-perf-tier="low"] .sun-dial__pointer {
  transition: none;
}

html.capacitor-native.ui-app-tour-open .sun-dial__pointer {
  transition: none !important;
}

.sun-dial__genie-trail {
  pointer-events: none;
}

.sun-dial__genie-puff {
  fill: url(#sun-dial-genie-grad);
  filter: url(#sun-dial-genie-blur);
}

.sun-dial-tick-mark--genie {
  stroke: var(--shade-hi);
  stroke-width: 2.6;
  filter: drop-shadow(0 0 3px rgba(104, 175, 232, 0.5));
  transition: stroke 0.14s ease, stroke-width 0.14s ease, filter 0.14s ease;
}

@media (prefers-reduced-motion: reduce) {
  .sun-dial__genie-trail {
    display: none;
  }

  .sun-dial-tick-mark--genie {
    filter: none;
    transition: none;
  }
}

:root[data-ui-theme="dark"] .sun-dial__track-rail {
  stroke: #3a3d42;
}

:root[data-ui-theme="dark"] .sun-dial__track-past {
  stroke: #4e5258;
}

:root[data-ui-theme="dark"] .sun-dial-tick-mark {
  stroke: #4a4e54;
}

:root[data-ui-theme="dark"] .sun-dial-tick__hr {
  fill: #a8a49a;
}

:root[data-ui-theme="dark"] .sun-dial-tick__shadow {
  fill: #0c0d0f;
}

@media (prefers-reduced-motion: reduce) {
  .sun-dial-tick__hr,
  .sun-dial-tick,
  .sun-dial-tick__shadow {
    transition: none !important;
  }
}

:root[data-ui-theme="dark"] .sun-dial__thumb-ring {
  fill: #fff8eb;
  stroke: var(--sunny-hi);
}

:root[data-ui-theme="dark"] .sun-dial__thumb-core {
  fill: var(--sunny);
}
/* >>> END CHANGE author=Gloria when=2026-06-03T14:29:27Z theme=slider-ref-aesthetic <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T16:32:01Z theme=slider-track-thicker <<< */
.sun-dial__track-rail,
.sun-dial__track-past,
.sun-dial__track-future {
  stroke-width: 4;
}
/* >>> END CHANGE author=Gloria when=2026-06-03T16:32:01Z theme=slider-track-thicker <<< */

.sun-dial__input-hidden {
  grid-column: 2;
  grid-row: 2;
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.sun-dial-weather {
  display: grid;
  width: var(--sun-dial-side-w);
  height: var(--sun-dial-side-w);
  place-items: center;
  color: var(--sun-dial-sun);
}

.sun-dial-weather .weather-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  font-size: 0;
  line-height: 1;
  overflow: hidden;
}

.sun-dial-weather .weather-icon svg {
  display: block;
  width: 26px;
  height: 26px;
  overflow: visible;
}

.sun-dial-weather.is-loading .weather-icon,
.sun-dial-weather.is-error .weather-icon {
  color: var(--ink-muted);
}

.sun-dial__meta {
  margin: 0;
  max-width: 100%;
  padding: 0 4px;
  font-size: clamp(12px, 3.2vw, 14px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--sun-dial-date);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sun-dial__temp:empty {
  display: none;
}

.sun-dial__temp:not(:empty)::before {
  content: "·";
  margin: 0 0.35em;
}
/* >>> END CHANGE author=Gloria when=2026-06-02T16:35:41Z theme=bottom-hour-horizontal-bar <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T13:57:13Z theme=settings-slider-symmetry <<< */
.sun-dial__slider .sun-dial__credits-btn {
  width: var(--sun-dial-side-w);
  height: var(--sun-dial-side-w);
  margin: 0;
  transform: none;
  box-shadow: var(--sun-dial-credits-shadow);
}

.sun-dial__slider .sun-dial__settings-icon {
  width: 20px;
  height: 20px;
}
/* >>> END CHANGE author=Gloria when=2026-06-03T13:57:13Z theme=settings-slider-symmetry <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T16:26:01Z theme=mobile-slider-flank-btns <<< */
@media (max-width: 760px) {
  .sun-dial {
    --sun-dial-head-side-col: 44px;
    padding-left: 18px;
    padding-right: 18px;
    grid-template-columns: var(--sun-dial-head-side-col) minmax(0, 1fr) var(--sun-dial-head-side-col);
  }

  .sun-dial-weather {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    align-self: center;
    box-sizing: border-box;
    width: var(--sun-dial-side-w);
    height: var(--sun-dial-side-w);
    border-radius: 50%;
    corner-shape: squircle;
    background: var(--sun-dial-credits-bg);
    box-shadow: var(--sun-dial-credits-shadow);
    color: var(--sun-dial-sun);
  }

  .sun-dial-weather .weather-icon {
    font-size: 20px;
    line-height: 1;
  }

  .sun-dial-weather .weather-icon svg {
    width: 20px;
    height: 20px;
  }

  .sun-dial__slider .sun-dial__credits-btn {
    grid-column: 3;
    grid-row: 2;
    justify-self: center;
    align-self: center;
    width: var(--sun-dial-side-w);
    height: var(--sun-dial-side-w);
  }

  .sun-dial__svg,
  .sun-dial__input-hidden {
    grid-column: 2;
    grid-row: 2;
  }

  .sun-dial__meta {
    grid-column: 2;
    grid-row: 3;
    justify-self: center;
  }
}
/* >>> END CHANGE author=Gloria when=2026-06-03T16:26:01Z theme=mobile-slider-flank-btns <<< */

.sun-dial__credits-btn {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: calc(var(--sun-dial-credits-radius) * 2);
  height: calc(var(--sun-dial-credits-radius) * 2);
  padding: 0;
  border: none;
  border-radius: 50%;
  corner-shape: squircle;
  background: var(--sun-dial-credits-bg);
  color: var(--sun-dial-credits-ink);
  font: inherit;
  font-size: calc(var(--sun-dial-credits-radius) * 0.82);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--sun-dial-credits-shadow);
}

.sun-dial__credits-btn:hover {
  filter: brightness(0.98);
}

.sun-dial__credits-btn.settings-btn {
  width: calc(var(--sun-dial-credits-radius) * 2);
  height: calc(var(--sun-dial-credits-radius) * 2);
  margin: 0;
  border: none;
  color: var(--sun-dial-credits-ink);
  background: var(--sun-dial-credits-bg);
}

.sun-dial__credits-btn.settings-btn:hover {
  background: var(--sun-dial-credits-bg);
}

.sun-dial__settings-icon {
  display: block;
  width: calc(var(--sun-dial-credits-radius) * 0.92);
  height: calc(var(--sun-dial-credits-radius) * 0.92);
}

.sun-dial-side-btn {
  flex: 0 0 auto;
  align-self: flex-end;
  min-width: 40px;
  margin-bottom: 34px;
  padding: 8px 10px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  background: var(--panel);
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: var(--shadow);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.sun-dial-side-btn.credit-help {
  width: 40px;
  min-width: 40px;
  padding: 0;
  font-size: 18px;
}

.debug-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  bottom: auto;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 220px;
  padding: 12px;
  border: 1px solid rgba(95, 90, 82, 0.14);
  border-radius: 20px;
  background: rgba(255, 252, 244, 0.94);
  box-shadow: 0 16px 34px rgba(34, 37, 41, 0.16);
  backdrop-filter: blur(16px);
}

.debug-menu__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 2px 8px;
  border-bottom: 1px solid rgba(95, 90, 82, 0.09);
}

.debug-menu.is-hidden {
  display: none;
}

.debug-menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(74, 151, 217, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.debug-menu__row.hud-toggle[aria-pressed="false"] {
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.52);
}

.debug-menu__row.open-toggle {
  cursor: default;
}

.debug-menu__row.open-toggle input {
  margin: 0;
}

/* >>> BEGIN CHANGE author=Gloria when=2026-05-28T22:00:00Z theme=data-attribution-dock <<< */
/* Viewport-corner legal footnote — body child only; isolated from sun-dial */
.map-data-attribution,
.sun-dial-bar__attribution {
  position: fixed !important;
  bottom: 4px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  top: auto !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  display: block !important;
  visibility: visible !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  color: rgba(0, 0, 0, 0.4) !important;
  text-align: center !important;
  white-space: nowrap !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  z-index: 99999 !important;
  pointer-events: none !important;
}

.map-data-attribution a,
.sun-dial-bar__attribution a {
  color: inherit !important;
  text-decoration: none !important;
  pointer-events: auto;
}

.map-data-attribution__sep,
.sun-dial-bar__attribution-sep {
  opacity: 0.5;
}

.map-data-attribution__copy,
.sun-dial-bar__attribution-copy {
  opacity: 0.85;
}

:root[data-ui-theme="dark"] .map-data-attribution,
:root[data-ui-theme="dark"] .sun-dial-bar__attribution {
  color: rgba(247, 240, 223, 0.4) !important;
}
/* >>> END CHANGE author=Gloria when=2026-05-28T22:00:00Z theme=data-attribution-dock <<< */

/* Legacy floater removed — see .map-data-attribution */
.source-credit,
.source-credit[hidden] {
  display: none !important;
}

.search-panel {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  grid-template-columns: 38px 38px 38px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  width: auto;
  max-width: calc(100vw - 28px);
  min-height: 48px;
  padding: 8px;
  margin-left: 0;
  box-sizing: border-box;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  pointer-events: auto;
  touch-action: manipulation;
}

.search-panel.is-collapsed {
  grid-template-columns: 38px 38px 38px;
  width: max-content;
  max-width: none;
  margin-left: 0;
}

.search-panel.is-collapsed input,
.search-panel.is-collapsed .search-status {
  display: none;
}

@media (min-width: 761px) {
  .source-credit {
    left: 14px;
    right: auto;
    justify-content: flex-start;
    max-width: calc(100vw - 28px);
  }

  .hud {
    top: 14px;
    bottom: auto;
    left: 14px;
    right: auto;
    max-width: min(100vw - 28px, 520px);
  }

  .search-panel {
    top: 14px;
    left: auto;
    right: 14px;
    width: min(360px, calc(100vw - 28px));
    margin-left: 0;
  }

  .search-panel.is-collapsed {
    width: max-content;
    grid-template-columns: 38px 38px 38px;
  }

  .search-panel:not(.is-collapsed) {
    grid-template-columns: 38px 38px 38px minmax(0, 1fr);
  }

  .search-panel.is-collapsed input,
  .search-panel.is-collapsed .search-status {
    display: block;
  }

  .search-panel.is-collapsed .search-status:empty {
    display: none;
  }
}

.search-panel input {
  width: 100%;
  height: 38px;
  min-width: 0;
  padding: 0 14px;
  color: var(--ink);
  background: #fafcfd;
  border: 1px solid rgba(80, 100, 120, 0.14);
  border-radius: var(--radius-sm);
  outline: none;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
}

.search-panel input::placeholder {
  color: #8a9aaa;
  font-weight: 500;
}

.search-panel input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.search-status {
  grid-column: 1 / -1;
  pointer-events: none;
  min-height: 16px;
  margin: 0 4px 2px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.search-status:empty {
  display: none;
}

.source-credit {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: calc(6px + env(safe-area-inset-bottom, 0px));
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: none;
  min-height: 32px;
  padding: 5px 10px;
  pointer-events: auto;
  touch-action: manipulation;
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(45, 70, 90, 0.1);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.source-credit a {
  color: var(--accent-hover);
  text-decoration: none;
}

.source-credit a:hover {
  text-decoration: underline;
}

.credit-help,
.credits-dialog__close {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid rgba(74, 151, 217, 0.22);
  border-radius: 999px;
  color: var(--accent-hover);
  background: var(--accent-soft);
  font: inherit;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.credit-help {
  width: 22px;
  height: 22px;
  margin-left: 2px;
  font-size: 12px;
}

.credit-help:hover,
.credits-dialog__close:hover {
  background: #eef4ef;
}

.credits-backdrop {
  position: fixed;
  inset: 0;
  z-index: 4;
  background: rgba(44, 53, 64, 0.24);
  backdrop-filter: blur(4px);
}

.credits-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(80, 100, 120, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 60px rgba(35, 52, 68, 0.24);
  transform: translate(-50%, -50%);
}

.credits-backdrop.is-hidden,
.credits-dialog.is-hidden {
  display: none;
}

.owner-thanks-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100030;
  background: rgba(44, 53, 64, 0.28);
  backdrop-filter: blur(4px);
}

.owner-thanks-dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 100031;
  width: min(380px, calc(100vw - 32px));
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(80, 100, 120, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 60px rgba(35, 52, 68, 0.24);
  transform: translate(-50%, -50%);
}

.owner-thanks-backdrop.is-hidden,
.owner-thanks-dialog.is-hidden {
  display: none;
}

.owner-thanks-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.owner-thanks-dialog__header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.owner-thanks-dialog__close {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.owner-thanks-dialog__content p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
}

.owner-thanks-dialog__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.owner-thanks-dialog__btn {
  display: block;
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.owner-thanks-dialog__btn--primary {
  background: var(--accent);
  color: #fff;
}

.owner-thanks-dialog__btn--secondary {
  background: rgba(44, 53, 64, 0.08);
  color: var(--ink);
}

@media (hover: hover) {
  .owner-thanks-dialog__close:hover,
  .owner-thanks-dialog__btn:hover {
    opacity: 0.88;
  }
}

.maps-picker-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: rgba(44, 53, 64, 0.28);
  backdrop-filter: blur(4px);
}

.maps-picker-dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 11;
  width: min(380px, calc(100vw - 32px));
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(80, 100, 120, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 60px rgba(35, 52, 68, 0.24);
  transform: translate(-50%, -50%);
}

.maps-picker-backdrop.is-hidden,
.maps-picker-dialog.is-hidden {
  display: none;
}

.maps-picker-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.maps-picker-dialog__header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.maps-picker-dialog__close {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.maps-picker-dialog__options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.maps-picker-dialog__option {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.maps-picker-dialog__option:hover {
  background: var(--accent-hover);
}

.maps-picker-dialog__cancel {
  display: block;
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(44, 53, 64, 0.08);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

:root[data-ui-theme="dark"] .maps-picker-dialog,
:root[data-ui-theme="dark"] .owner-thanks-dialog {
  background: var(--surface-strong);
  border-color: var(--hairline);
}

:root[data-ui-theme="dark"] .maps-picker-dialog__cancel,
:root[data-ui-theme="dark"] .owner-thanks-dialog__btn--secondary {
  background: var(--control);
}

@media (hover: hover) {
  .maps-picker-dialog__close:hover,
  .maps-picker-dialog__cancel:hover {
    opacity: 0.92;
  }
}

.tip-jar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 6;
  background: rgba(44, 53, 64, 0.24);
  backdrop-filter: blur(4px);
}

.tip-jar-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 7;
  width: min(400px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(80, 100, 120, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 60px rgba(35, 52, 68, 0.24);
  transform: translate(-50%, -50%);
}

.tip-jar-backdrop.is-hidden,
.tip-jar-dialog.is-hidden {
  display: none;
}

.tip-jar-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(80, 100, 120, 0.12);
}

.tip-jar-dialog__eyebrow,
.tip-jar-dialog h2,
.tip-jar-dialog p {
  margin: 0;
}

.tip-jar-dialog__eyebrow {
  color: var(--accent-hover);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tip-jar-dialog h2 {
  margin-top: 2px;
  font-size: 20px;
  line-height: 1.2;
}

.tip-jar-dialog__intro {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.tip-jar-dialog__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.tip-jar-dialog__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(80, 100, 120, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: 600 15px/1.2 system-ui, -apple-system, sans-serif;
  cursor: pointer;
}

.tip-jar-dialog__option:disabled {
  opacity: 0.55;
  cursor: wait;
}

.tip-jar-dialog__option-price {
  font-size: 15px;
  font-weight: 700;
}

.tip-jar-dialog__status {
  margin-top: 12px;
  font-size: 13px;
  color: var(--accent-hover);
}

.tip-jar-dialog__status--error {
  color: #b42318;
}

.tip-jar-dialog__empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.tip-jar-dialog__close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(80, 100, 120, 0.08);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.credits-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(80, 100, 120, 0.12);
}

.credits-dialog__eyebrow,
.credits-dialog h2,
.credits-dialog p {
  margin: 0;
}

.credits-dialog__eyebrow {
  color: var(--accent-hover);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credits-dialog h2 {
  margin-top: 2px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.credits-dialog__close {
  width: 32px;
  height: 32px;
  font-size: 20px;
}

.credits-dialog__content {
  display: grid;
  gap: 14px;
  padding-top: 14px;
}

.credits-dialog__content p,
.credits-dialog dd {
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.credits-dialog dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.credits-dialog dl > div {
  padding: 10px 12px;
  background: rgba(246, 241, 230, 0.72);
  border: 1px solid rgba(74, 151, 217, 0.1);
  border-radius: var(--radius-sm);
}

.credits-dialog dt {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.credits-dialog dd {
  margin: 0;
}

/* Terrasse detail — sheet sits above sun-dial dock (z-index 3 < dock 4) */
.terrasse-sheet {
  --terrasse-sheet-max-h: min(
    70dvh,
    calc(100dvh - var(--sun-dial-dock-clearance, 120px) - env(safe-area-inset-top, 0px) - 1.25rem)
  );
  /* Cream strip between sheet body and sun-dial cap (matches dock geometry) */
  --terrasse-sheet-bridge-h: calc(clamp(44px, 28vw, 88px) * 0.72 + 12px);
  position: fixed;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
  pointer-events: none;
}

/* Cream band from sheet content down to the dock (no map gap) */
.terrasse-sheet__fill {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  max-height: 100%;
  padding-bottom: calc(
    var(--sun-dial-dock-clearance, 120px) + var(--terrasse-sheet-bridge-h, 72px)
  );
  box-sizing: border-box;
  background: var(--sun-dial-panel-bg, #f4f1ea);
  border-top: 1px solid rgba(95, 90, 82, 0.12);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 40px rgba(var(--map-shadow-rgb), 0.26);
  transform: translateY(100%);
  transition: transform 0.34s cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: none;
}

.terrasse-sheet.is-open .terrasse-sheet__fill {
  transform: translateY(0);
}

.terrasse-sheet__fill > .terrasse-popup {
  pointer-events: auto;
}

.terrasse-sheet.is-hidden {
  visibility: hidden;
}

.terrasse-sheet.is-open {
  pointer-events: auto;
}

.terrasse-sheet__scrim {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(48, 47, 43, 0.28);
  opacity: 0;
  transition: opacity 0.28s ease;
  cursor: default;
}

.terrasse-sheet.is-open .terrasse-sheet__scrim {
  opacity: 1;
}

.terrasse-popup {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: var(--terrasse-sheet-max-h, min(62dvh, 62vh));
  margin: 0;
  padding: 8px 16px 12px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  pointer-events: auto;
  overflow: hidden;
}

.terrasse-sheet__handle {
  flex-shrink: 0;
  width: 40px;
  height: 4px;
  margin: 4px auto 8px;
  border-radius: 999px;
  background: rgba(95, 90, 82, 0.28);
}

.terrasse-popup__head {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.terrasse-popup__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding-bottom: 0;
}

.terrasse-popup__details {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

html.ui-terrasse-sheet-open .terrasse-sheet__fill,
html.ui-terrasse-sheet-open .terrasse-popup {
  overflow-x: hidden;
}

html.ui-terrasse-sheet-open.ui-keyboard-open .terrasse-popup__details {
  padding-bottom: calc(var(--keyboard-inset, 0px) + 12px);
}

.terrasse-popup__address-top {
  flex-shrink: 0;
  padding: 0 2px 8px;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(95, 90, 82, 0.12);
}

.terrasse-popup__address {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  word-break: break-word;
}

.terrasse-hours-card {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(95, 90, 82, 0.12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(31, 30, 27, 0.06);
}

.terrasse-hours-card__label {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.terrasse-hours-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.terrasse-hours-list__item {
  padding: 5px 8px;
  border-radius: 10px;
  background: rgba(244, 241, 234, 0.85);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  color: #1f1e1b;
}

.terrasse-info-card {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(95, 90, 82, 0.14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 5px rgba(31, 30, 27, 0.06);
}

.terrasse-info-card__label {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.terrasse-info-card .terrasse-contact {
  margin-top: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.terrasse-contact.terrasse-contact--stacked {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}

.terrasse-amenities.terrasse-info-card {
  margin-top: 6px;
  padding: 8px 10px;
  box-shadow: 0 1px 4px rgba(31, 30, 27, 0.05);
}

.terrasse-amenities {
  flex-shrink: 0;
}

.terrasse-amenities.is-hidden {
  display: none;
}

.terrasse-amenities__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.terrasse-amenities__label {
  margin: 0;
}

.terrasse-amenities__hint {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-muted, #5f5a52);
}

.terrasse-amenities__hint.is-hidden,
.terrasse-amenities__hint[hidden] {
  display: none !important;
}

.terrasse-amenities--readonly .terrasse-amenity__toggle {
  cursor: default;
}

.terrasse-amenities--readonly .terrasse-amenity__toggle:hover .terrasse-amenity__box,
.terrasse-amenities--readonly .terrasse-amenity__toggle--tables:hover .terrasse-amenity__tables-slot {
  border-color: inherit;
  transform: none;
}

.terrasse-amenities--readonly .terrasse-amenity__toggle.is-readonly {
  pointer-events: none;
  opacity: 0.92;
}

.terrasse-amenities__scroll-cue {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--ink-muted);
  opacity: 0.7;
}

.terrasse-amenities__scroll-cue svg {
  display: block;
}

.terrasse-amenities__viewport {
  position: relative;
}

.terrasse-amenities__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 80%);
}

.terrasse-amenities__scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scroll-snap-type: x proximity;
  padding: 0 16px 2px 0;
  margin: 0;
  scrollbar-width: none;
}

.terrasse-amenities__scroll::-webkit-scrollbar {
  display: none;
}

.terrasse-amenity {
  flex: 0 0 auto;
  width: 54px;
  scroll-snap-align: start;
  --terrasse-amenity-slot-size: 20px;
}

.terrasse-amenity__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 18px;
  color: var(--ink);
  opacity: 0.88;
}

.terrasse-amenity__icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.terrasse-amenity__icon--img img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  pointer-events: none;
  filter: contrast(1.75) brightness(0.78);
}

.terrasse-amenity__word {
  display: block;
  min-height: 20px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--ink);
  user-select: none;
}

.terrasse-amenity__word--stacked {
  white-space: pre-line;
}

.terrasse-amenity__toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
  padding: 0;
  margin: 0;
  cursor: pointer;
  border: none;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.terrasse-amenity__checkbox {
  position: fixed;
  left: -100vw;
  top: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  border: 0;
}

.terrasse-amenity__slot {
  display: block;
  flex-shrink: 0;
  width: var(--terrasse-amenity-slot-size);
  height: var(--terrasse-amenity-slot-size);
  box-sizing: border-box;
}

.terrasse-amenity__box {
  border: 1.5px solid rgba(95, 90, 82, 0.32);
  border-radius: 5px;
  background: #fff;
  transition:
    background 0.12s ease,
    border-color 0.12s ease;
}

.terrasse-amenity__toggle:hover .terrasse-amenity__box {
  border-color: rgba(95, 90, 82, 0.5);
}

.terrasse-amenity__box.is-checked {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 2px #fff;
}

.terrasse-amenity__toggle--tables {
  cursor: text;
}

.terrasse-amenity__tables-slot {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1.5px solid rgba(95, 90, 82, 0.32);
  border-radius: 5px;
  background: #fff;
  transition:
    border-color 0.12s ease,
    background 0.12s ease;
}

.terrasse-amenity__toggle--tables:hover .terrasse-amenity__tables-slot {
  border-color: rgba(95, 90, 82, 0.5);
}

.terrasse-amenity__tables-slot.is-filled {
  border-color: var(--accent);
  background: rgba(232, 166, 35, 0.06);
}

.terrasse-amenity__tables-slot:focus-within {
  outline: 1.5px solid rgba(232, 166, 35, 0.4);
  outline-offset: 1px;
  border-color: var(--accent);
}

.terrasse-amenity__tables-input {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 1px;
  margin: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  caret-color: var(--ink);
}

.terrasse-amenity__tables-input::-webkit-outer-spin-button,
.terrasse-amenity__tables-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.terrasse-amenity__tables-input:focus {
  outline: none;
}

.owner-amenities {
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.owner-amenities__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 2px 0 4px;
}

.owner-amenities__hint {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.owner-amenities__scroll-cue {
  flex-shrink: 0;
}

.owner-amenities__viewport::after {
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--panel) 80%);
}

:root[data-ui-theme="dark"] .owner-amenities__viewport::after {
  background: linear-gradient(to right, rgba(28, 32, 38, 0), var(--panel) 80%);
}

.owner-amenities .terrasse-amenities__scroll {
  max-width: 100%;
  box-sizing: border-box;
}

.owner-amenities__scroll {
  margin-top: 4px;
}

.terrasse-go {
  flex-shrink: 0;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  padding: 0 14px;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.15s ease,
    transform 0.12s ease;
}

.terrasse-popup__head h3 {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.terrasse-popup__address--muted {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
}

.terrasse-hours-card__body {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: #1f1e1b;
}

.terrasse-hours-card__body--muted {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
}

.terrasse-info-card.is-hidden {
  display: none;
}

.terrasse-go:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.terrasse-go:active {
  transform: translateY(0);
}

.terrasse-popup__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.terrasse-sheet__close {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(95, 90, 82, 0.2);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.9);
  color: var(--ink-muted);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.terrasse-sheet__close:hover {
  background: rgba(238, 244, 239, 0.95);
  color: var(--ink);
}

.terrasse-popup p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink-muted);
}

:root[data-ui-theme="dark"] .terrasse-info-card {
  background: #fff;
  border-color: rgba(95, 90, 82, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

:root[data-ui-theme="dark"] .terrasse-hours-card {
  background: #fff;
  border-color: rgba(95, 90, 82, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

:root[data-ui-theme="dark"] .terrasse-popup__address {
  color: var(--ink);
}

:root[data-ui-theme="dark"] .terrasse-hours-card__body,
:root[data-ui-theme="dark"] .terrasse-hours-list__item {
  color: #1f1e1b;
}

:root[data-ui-theme="dark"] .terrasse-info-card .terrasse-contact a {
  color: var(--accent);
}

:root[data-ui-theme="dark"] .terrasse-amenities.terrasse-info-card .terrasse-info-card__label,
:root[data-ui-theme="dark"] .terrasse-amenities.terrasse-info-card .terrasse-amenities__scroll-cue {
  color: #5f5a52;
}

:root[data-ui-theme="dark"] .terrasse-amenities.terrasse-info-card .terrasse-amenity__icon,
:root[data-ui-theme="dark"] .terrasse-amenities.terrasse-info-card .terrasse-amenity__word {
  color: #302f2b;
  opacity: 0.88;
}

:root[data-ui-theme="dark"] .terrasse-amenities.terrasse-info-card .terrasse-amenity__tables-input {
  color: #302f2b;
}

:root[data-ui-theme="dark"] .terrasse-amenities.terrasse-info-card .terrasse-amenities__viewport::after {
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 80%);
}

:root[data-ui-theme="dark"] .terrasse-amenity__tables-input {
  color: #302f2b;
}

.terrasse-sun-timeline {
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
}

.terrasse-sun-timeline.is-hidden {
  display: none;
}

.terrasse-sun-timeline__title {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.terrasse-sun-timeline__track {
  position: relative;
  height: 14px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(80, 100, 120, 0.12);
  box-shadow: inset 0 0 0 1px rgba(80, 100, 120, 0.1);
}

.terrasse-sun-timeline__segments {
  display: flex;
  width: 100%;
  height: 100%;
}

.terrasse-sun-timeline__seg {
  height: 100%;
  min-width: 0;
}

.terrasse-sun-timeline__seg--sun {
  background: var(--sunny);
}

.terrasse-sun-timeline__seg--shade {
  background: var(--shade);
}

.terrasse-sun-timeline__now {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(40, 50, 60, 0.55);
  border-radius: 1px;
  pointer-events: none;
  z-index: 2;
}

.terrasse-sun-timeline__ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-muted);
  line-height: 1.2;
}

.terrasse-sun-timeline__loading,
.terrasse-sun-timeline__error {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-muted);
}

.terrasse-contact {
  margin-top: 0;
  font-size: 13px;
  color: var(--ink);
  word-break: break-word;
}

.terrasse-contact:empty {
  display: none;
}

.terrasse-contact a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.terrasse-contact a:hover {
  text-decoration: underline;
}

.terrasse-popup--ice-cream .terrasse-sun-timeline,
.terrasse-popup--oasis .terrasse-sun-timeline,
.terrasse-popup--oasis .terrasse-popup__details,
.terrasse-popup--oasis .terrasse-hours-card,
.terrasse-popup--oasis .terrasse-info-card--contact,
.terrasse-popup--oasis .terrasse-amenities,
.terrasse-popup--fountain .terrasse-sun-timeline,
.terrasse-popup--fountain .terrasse-popup__details,
.terrasse-popup--fountain .terrasse-hours-card,
.terrasse-popup--fountain .terrasse-info-card--contact,
.terrasse-popup--fountain .terrasse-amenities,
.terrasse-popup--wc .terrasse-sun-timeline,
.terrasse-popup--wc .terrasse-popup__details,
.terrasse-popup--wc .terrasse-hours-card,
.terrasse-popup--wc .terrasse-info-card--contact,
.terrasse-popup--wc .terrasse-amenities,
.terrasse-popup--banc .terrasse-sun-timeline,
.terrasse-popup--banc .terrasse-popup__details,
.terrasse-popup--banc .terrasse-hours-card,
.terrasse-popup--banc .terrasse-info-card--contact,
.terrasse-popup--banc .terrasse-amenities,
.terrasse-popup--jeux .terrasse-sun-timeline,
.terrasse-popup--jeux .terrasse-popup__details,
.terrasse-popup--jeux .terrasse-hours-card,
.terrasse-popup--jeux .terrasse-info-card--contact,
.terrasse-popup--jeux .terrasse-amenities {
  display: none !important;
}

.terrasse-sheet.is-hidden .terrasse-sheet__fill {
  visibility: hidden;
}

/* Full-screen launch splash while terrain, buildings, terrasses, and framing load */
.app-launch-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow: hidden;
  background: #fff;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.app-launch-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.app-launch-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.app-launch-stage > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.app-launch-footer {
  position: absolute;
  left: 50%;
  top: 62%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}

/* Just above map attribution (sitg · osm · swisstopo) during launch */
.app-launch-donate-slot {
  position: absolute;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.app-launch-donate-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 32px;
  padding: 0 14px;
  margin: 0;
  border: 1px solid rgba(44, 38, 30, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #1a1a1a;
  font: 600 12px/1 system-ui, -apple-system, sans-serif;
  font-family: system-ui, -apple-system, sans-serif;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  text-decoration: none;
  box-shadow: none;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .app-launch-donate-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(44, 38, 30, 0.12);
  }
}

.app-launch-progress {
  width: min(46vw, 172px);
  height: 6px;
  border-radius: 999px;
  background: rgba(74, 151, 217, 0.25);
  overflow: hidden;
  flex: 0 0 auto;
}

.app-launch-progress__fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.4s ease;
}

.app-launch-sequence {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  background: #f6f1e6;
}

.app-launch-sequence[hidden] {
  display: none !important;
}

.search-panel.search-panel--tools,
.search-panel.search-panel--tools.is-collapsed {
  grid-template-columns: 40px 40px 40px;
  width: max-content;
  min-height: 0;
}

#favorites-toggle {
  --favorite-pink: #ff34a5;
}

#favorites-toggle .favorites-toggle__glyph {
  width: 16px;
  height: 16px;
}

.favorites-toggle__fill {
  display: none;
}

#favorites-toggle[aria-expanded="true"] .favorites-toggle__outline {
  display: none;
}

#favorites-toggle[aria-expanded="true"] .favorites-toggle__fill {
  display: block;
  fill: var(--favorite-pink);
}

.favorites-panel {
  display: grid;
  gap: 10px;
}

.favorites-empty {
  margin: 0;
  padding: 8px 2px 2px;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 650;
}

.favorites-empty[hidden] {
  display: none;
}

.favorites-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.favorites-list__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 30px;
  gap: 6px;
  align-items: center;
}

.favorites-list__prefs {
  display: flex;
  gap: 4px;
  align-items: center;
}

.favorites-list__pref {
  gap: 0;
  padding: 0;
}

.favorites-list__pref .exposure-toggle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.favorites-list__pref .exposure-toggle__dot {
  width: 22px;
  height: 22px;
}

.favorite-pref-banner {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 52, 165, 0.22);
  border-radius: 12px;
  background: rgba(255, 52, 165, 0.06);
}

.favorite-pref-banner.is-hidden {
  display: none;
}

.favorite-pref-banner__title {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.favorite-pref-banner__hint {
  margin: 0;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 650;
}

.favorite-pref-banner__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.favorite-pref-banner__toggles {
  display: flex;
  gap: 8px;
  align-items: center;
}

.favorite-pref-banner__done {
  flex-shrink: 0;
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 52, 165, 0.35);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  color: #ff34a5;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.favorite-pref-banner__done:hover {
  background: rgba(255, 52, 165, 0.1);
}

.favorite-pref-banner__done:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.favorites-list__open {
  display: grid;
  gap: 2px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  color: var(--ink);
  background: var(--control);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.favorites-list__open strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorites-list__open:hover {
  border-color: rgba(74, 151, 217, 0.35);
  background: rgba(74, 151, 217, 0.08);
}

.favorites-list__remove {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin: auto 0;
  padding: 0;
  border: 1px solid rgba(95, 90, 82, 0.2);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.9);
  color: var(--ink-muted);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.favorites-list__remove:hover {
  background: rgba(238, 244, 239, 0.95);
  color: var(--ink);
}

.terrasse-sheet__favorite-glyph {
  display: block;
  width: 16px;
  height: 16px;
}

.terrasse-sheet__favorite {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(95, 90, 82, 0.2);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.9);
  color: var(--ink-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.terrasse-sheet__favorite:hover {
  background: rgba(238, 244, 239, 0.95);
  color: #ff34a5;
  border-color: rgba(255, 52, 165, 0.35);
}

.terrasse-sheet__favorite.is-active {
  color: #ff34a5;
  border-color: rgba(255, 52, 165, 0.45);
  background: rgba(255, 52, 165, 0.1);
}

.terrasse-sheet__favorite.is-active .terrasse-sheet__favorite-fill {
  fill: #ff34a5;
}

.terrasse-sheet__favorite-fill {
  display: none;
}

.terrasse-sheet__favorite.is-active .terrasse-sheet__favorite-outline {
  display: none;
}

.terrasse-sheet__favorite.is-active .terrasse-sheet__favorite-fill {
  display: block;
}

:root[data-ui-theme="dark"] .terrasse-sheet__favorite,
:root[data-ui-theme="dark"] .favorites-list__remove {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(36, 40, 46, 0.92);
}

:root[data-ui-theme="dark"] .terrasse-sheet__favorite.is-active {
  background: rgba(255, 52, 165, 0.16);
}

.terrasse-lookup {
  display: grid;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 750;
}

.terrasse-lookup__field {
  position: relative;
}

.terrasse-lookup input {
  width: 100%;
  height: 44px;
  padding: 0 36px 0 14px;
  border: 1px solid var(--hairline);
  border-radius: 13px;
  color: var(--ink);
  background: var(--control);
  font: inherit;
  font-size: 15px;
}

.terrasse-lookup input[type="search"]::-webkit-search-decoration,
.terrasse-lookup input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.terrasse-lookup input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.terrasse-lookup__clear {
  position: absolute;
  top: 50%;
  right: 6px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 999px;
  color: var(--ink-muted);
  background: transparent;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transform: translateY(-50%);
  transition: color 0.15s ease, background 0.15s ease;
}

.terrasse-lookup__clear:hover {
  color: var(--ink);
  background: rgba(95, 90, 82, 0.08);
}

.terrasse-lookup__clear.is-hidden {
  display: none;
}

.search-tools__footer {
  flex-shrink: 0;
  margin: 10px 0 14px;
  padding-top: 0;
  border-top: 0;
}

.search-tools-panel.is-plan-mode .search-tools__footer {
  display: none;
}

.search-now-find {
  width: 100%;
  height: 42px;
  padding: 0 16px;
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--accent);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}

.search-now-find:hover {
  background: var(--accent-hover);
}

.search-now-find:disabled {
  color: #fff;
  background: var(--accent);
  cursor: not-allowed;
  opacity: 0.58;
}

.search-now-find:disabled:hover {
  background: var(--accent);
}

.search-now-find:active {
  transform: scale(0.98);
}

.search-now-find:disabled:active {
  transform: none;
}

.terrasse-suggestions {
  display: grid;
  gap: 5px;
  margin: -2px 0 16px;
  padding: 0;
  list-style: none;
}

.terrasse-suggestions.is-hidden {
  display: none;
}

.terrasse-suggestions__item--neighborhood small,
.terrasse-suggestions__item--citywide small,
.terrasse-suggestions__item--around small,
.terrasse-suggestions__item--history small {
  font-weight: 700;
}

.terrasse-suggestions__item--citywide {
  border-color: rgba(36, 120, 90, 0.22);
  background: rgba(36, 120, 90, 0.08);
}

.terrasse-suggestions__item--around {
  border-color: rgba(74, 151, 217, 0.28);
  background: rgba(74, 151, 217, 0.1);
}

.terrasse-suggestions__item--history {
  border-color: rgba(74, 151, 217, 0.22);
  background: rgba(74, 151, 217, 0.08);
}

.terrasse-suggestions__item {
  display: grid;
  gap: 2px;
  width: 100%;
  min-height: 46px;
  padding: 7px 12px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  color: var(--ink);
  background: var(--control);
  font: inherit;
  text-align: left;
}

.terrasse-suggestions__item strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terrasse-suggestions__item small {
  overflow: hidden;
  color: var(--ink-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-results {
  position: fixed;
  top: calc(10px + env(safe-area-inset-top, 0px));
  left: auto;
  right: 10px;
  bottom: auto;
  z-index: 5;
  height: auto;
  max-width: none;
  padding: 8px;
  border-radius: 18px;
  background: var(--surface-strong);
}

.plan-results__header {
  padding: 0 4px 6px;
  cursor: default;
  touch-action: auto;
}

.plan-results__list {
  display: flex;
  gap: 7px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
}

.plan-results__item {
  flex: 0 0 min(222px, 66vw);
  min-height: 50px;
  padding: 8px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--control);
}

.plan-results__more {
  width: auto;
  margin: 7px 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
}

@media (max-width: 760px) {
  .tool-sheet__panel.search-tools-panel:not(.is-plan-mode) {
    max-height: min(88dvh, 700px);
  }

  .tool-sheet__panel.search-tools-panel.is-plan-mode {
    max-height: min(calc(100dvh - env(safe-area-inset-top, 0px) - 48px), 520px);
    height: auto;
  }

  .plan-results__title {
    font-size: 11px;
  }
}

@media (max-width: 760px) {
  .hud {
    top: calc(10px + env(safe-area-inset-top, 0px));
    bottom: auto;
    left: 14px;
    right: 14px;
    max-width: none;
    flex-wrap: wrap;
    pointer-events: auto;
    touch-action: manipulation;
  }

  .hud button,
  .hud input,
  .hud select,
  .hud a,
  .hud label,
  .hud .hud-toggle {
    pointer-events: auto;
  }

  .brand-text {
    display: none;
  }

  .plan-results {
    top: calc(10px + env(safe-area-inset-top, 0px));
    left: auto;
    right: 10px;
    bottom: auto;
    height: auto;
    max-width: none;
  }

  .plan-terrasse-dialog {
    width: calc(100vw - 24px);
  }

  .search-panel {
    top: calc(14px + env(safe-area-inset-top, 0px));
    left: 14px;
    right: 14px;
    bottom: auto;
    width: auto;
    max-width: none;
    margin-left: 0;
  }

  .search-panel.is-collapsed {
    width: max-content;
    max-width: calc(100vw - 28px);
    grid-template-columns: 38px 38px 38px;
  }

  .search-panel:not(.is-collapsed) {
    left: 14px;
    right: 14px;
    width: auto;
    max-width: none;
  }


  .credits-dialog {
    top: auto;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    max-height: calc(100vh - 28px - env(safe-area-inset-top, 0px));
    transform: translateX(-50%);
  }
}

/* Modern mobile UI pass */
:root {
  --surface: rgba(255, 252, 244, 0.84);
  --surface-strong: rgba(255, 252, 244, 0.96);
  --surface-subtle: rgba(246, 241, 230, 0.72);
  --control: rgba(255, 255, 255, 0.82);
  --control-hover: rgba(255, 255, 255, 0.96);
  --hairline: rgba(95, 90, 82, 0.13);
  --glass-blur: blur(18px) saturate(1.18);
  --shadow-soft: 0 10px 34px rgba(77, 70, 58, 0.14);
  --shadow-float: 0 18px 48px rgba(77, 70, 58, 0.18);
  --sun-dial-dock-h: min(5svh, 52px);
  --sun-dial-tray-h: min(5svh, 52px);
  --sun-dial-panel-bg: #f4f1ea;
  /* >>> BEGIN CHANGE author=Gloria when=2026-06-02T16:35:41Z theme=bottom-hour-horizontal-bar <<< */
  --sun-dial-dock-clearance: calc(118px + env(safe-area-inset-bottom, 0px));
  /* >>> END CHANGE author=Gloria when=2026-06-02T16:35:41Z theme=bottom-hour-horizontal-bar <<< */
  --sun-dial-dock-shadow:
    0 -18px 56px rgba(var(--map-shadow-rgb), 0.4),
    0 -8px 24px rgba(var(--map-cloud-shadow-rgb), 0.28);
  --sun-dial-cap-shadow:
    0 -20px 52px rgba(var(--map-shadow-rgb), 0.36), 0 -8px 22px rgba(var(--map-cloud-shadow-rgb), 0.22),
    0 10px 28px rgba(var(--map-cloud-shadow-rgb), 0.1);
  --sun-dial-panel-shadow: none;
  --sun-dial-track: rgba(195, 188, 176, 0.45);
  --sun-dial-mark: rgba(195, 188, 176, 0.65);
  --sun-dial-label: #c3bcb0;
  --sun-dial-indicator: #1f1e1b;
  --sun-dial-indicator-ring: #f4f1ea;
  --sun-dial-time: #1f1e1b;
  --sun-dial-date: #67635e;
  --sun-dial-sun: #d89a00;
  --sun-dial-credits-bg: #ffffff;
  --sun-dial-credits-ink: #1f1e1b;
  --sun-dial-credits-shadow: 0 3px 12px rgba(31, 30, 27, 0.1);
  --sun-dial-auto-bg: #f7f6f2;
  --sun-dial-auto-border: #d8d4cc;
  --sun-dial-auto-ink: #8a8478;
}

:root[data-ui-theme="dark"] {
  color-scheme: dark;
  --terrain: #171a1d;
  --panel: rgba(28, 31, 34, 0.82);
  --panel-border: rgba(255, 249, 233, 0.12);
  --surface: rgba(28, 31, 34, 0.76);
  --surface-strong: rgba(31, 34, 37, 0.94);
  --surface-subtle: rgba(255, 249, 233, 0.08);
  --control: rgba(255, 249, 233, 0.08);
  --control-hover: rgba(255, 249, 233, 0.14);
  --hairline: rgba(255, 249, 233, 0.12);
  --ink: #f7f0df;
  --ink-muted: #c5bdac;
  --accent: #80b7de;
  --accent-hover: #a8d1eb;
  --accent-soft: rgba(128, 183, 222, 0.16);
  --accent-tint: rgba(128, 183, 222, 0.18);
  --sunny: #d8a34f;
  --sunny-hi: #e6c16b;
  --shade: #6f9ec6;
  --shade-hi: #9fc7e2;
  --shadow: 0 10px 34px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 10px 34px rgba(0, 0, 0, 0.34);
  --shadow-float: 0 18px 48px rgba(0, 0, 0, 0.42);
  --sun-dial-panel-bg: #1c1f22;
  /* >>> BEGIN CHANGE author=Gloria when=2026-06-02T16:35:41Z theme=bottom-hour-horizontal-bar <<< */
  --sun-dial-dock-clearance: calc(118px + env(safe-area-inset-bottom, 0px));
  /* >>> END CHANGE author=Gloria when=2026-06-02T16:35:41Z theme=bottom-hour-horizontal-bar <<< */
  --map-shadow-rgb: 186, 205, 222;
  --map-cloud-shadow-rgb: 90, 130, 160;
  --map-twilight-rgb: 6, 12, 36;
  --map-twilight-alpha: 0.74;
  --sun-dial-dock-shadow:
    0 -20px 60px rgba(var(--map-shadow-rgb), 0.5), 0 -8px 26px rgba(var(--map-cloud-shadow-rgb), 0.34);
  --sun-dial-cap-shadow:
    0 -22px 56px rgba(var(--map-shadow-rgb), 0.44), 0 -10px 24px rgba(var(--map-cloud-shadow-rgb), 0.3),
    0 12px 32px rgba(var(--map-cloud-shadow-rgb), 0.16);
  --sun-dial-panel-shadow: none;
  --sun-dial-track: rgba(197, 189, 172, 0.32);
  --sun-dial-mark: rgba(197, 189, 172, 0.4);
  --sun-dial-label: rgba(197, 189, 172, 0.72);
  --sun-dial-indicator: #f7f0df;
  --sun-dial-indicator-ring: #1c1f22;
  --sun-dial-time: #f7f0df;
  --sun-dial-date: #c5bdac;
  --sun-dial-sun: #e6c16b;
  --sun-dial-credits-bg: #2e3135;
  --sun-dial-credits-ink: #f7f0df;
  --sun-dial-credits-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
  --sun-dial-auto-bg: #2e3135;
  --sun-dial-auto-border: rgba(255, 249, 233, 0.14);
  --sun-dial-auto-ink: #c5bdac;
  --sun-dial-bar-attribution-ink: rgba(197, 189, 172, 0.58);
  --sun-dial-bar-attribution-ink-hover: rgba(247, 240, 223, 0.88);
}

.hud,
.search-panel,
.sun-dial-side-btn,
.debug-menu,
.credits-dialog,
.source-credit,
.plan-terrasse-dialog,
.plan-results {
  background: var(--surface);
  border-color: var(--hairline);
  box-shadow: var(--shadow-soft);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.hud {
  top: calc(14px + env(safe-area-inset-top, 0px));
  min-height: 46px;
  padding: 6px;
  border-radius: 18px;
}

.brand {
  height: 38px;
  padding: 0 10px 0 6px;
  border-right: 1px solid var(--hairline);
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-width: 2px;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.28);
}

.icon-button,
.hud-toggle,
.sun-dial-side-btn,
.debug-menu__row,
.search-panel input,
.plan-terrasse-form__chip,
.plan-results__more {
  background: var(--control);
  border-color: var(--hairline);
  color: var(--ink);
  border-radius: 999px;
}

.icon-button {
  width: 40px;
  height: 40px;
  color: var(--ink);
}

.icon-button[aria-pressed="true"],
.terrasse-go {
  color: #fff;
  background: var(--accent);
  border-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .icon-button:hover,
  .hud-toggle:hover,
  .sun-dial-side-btn:hover,
  .debug-menu__row:hover,
  .plan-terrasse-form__chip:hover,
  .plan-results__more:hover {
    background: var(--control-hover);
  }
}

.search-panel {
  top: calc(14px + env(safe-area-inset-top, 0px));
  padding: 6px;
  border-radius: 18px;
}

.search-panel input {
  height: 40px;
  background: var(--control);
  color: var(--ink);
}

.search-panel input::placeholder {
  color: var(--ink-muted);
}

.sun-dial__time-slot .sun-now-toggle {
  position: relative;
  flex: 0 0 auto;
  flex-shrink: 0;
  pointer-events: auto;
  min-width: var(--sun-dial-auto-w);
  width: var(--sun-dial-auto-w);
  height: 36px;
  margin: 0;
  padding: 0 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  background: var(--sun-dial-auto-bg);
  border: 1px solid var(--sun-dial-auto-border);
  color: var(--sun-dial-auto-ink);
  border-radius: 20px;
  corner-shape: squircle;
  box-shadow: 0 1px 4px rgba(31, 30, 27, 0.06);
}

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T16:28:05Z theme=sun-dial-auto-nudge <<< */
.sun-dial__time-slot .sun-now-toggle {
  --sun-dial-auto-w: 58px;
  width: var(--sun-dial-auto-w);
  min-width: var(--sun-dial-auto-w);
  height: 32px;
  margin-left: 8px;
  padding: 0 10px;
  font-size: 12px;
  border-radius: 16px;
}
/* >>> END CHANGE author=Gloria when=2026-06-03T16:28:05Z theme=sun-dial-auto-nudge <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T16:51:34Z theme=ref-mockup-dock-ui <<< */
.sun-dial-bar {
  background: #f6f3ec;
}

.sun-dial {
  --sun-dial-side-w: 48px;
  --sun-dial-bar-h: 196px;
  --sun-dial-time: #1e2a3a;
  --sun-dial-date: #6a7588;
  --sun-dial-credits-bg: #fffefb;
  --sun-dial-credits-shadow: 0 6px 18px rgba(30, 42, 58, 0.1), 0 2px 6px rgba(30, 42, 58, 0.06);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 12px 18px 8px;
  min-height: var(--sun-dial-bar-h);
}

.sun-dial__head,
.sun-dial__controls,
.sun-dial__slider {
  display: flex;
}

.sun-dial__head {
  position: relative;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0;
}

.sun-dial__clock {
  --sun-now-btn-size: 24px;
  --sun-now-gap: 5px;
  --sun-now-shift: calc((var(--sun-now-btn-size) + var(--sun-now-gap)) / 2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.sun-dial__time-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sun-now-gap);
  max-width: 100%;
  transform: translateX(var(--sun-now-shift));
}

.sun-dial__head .sun-dial__time {
  display: block;
  width: auto;
  margin: 0;
  text-align: center;
  font-size: clamp(34px, 9.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--sun-dial-time);
}

.sun-dial__head .sun-dial__meta {
  margin: 0;
  grid-column: auto;
  grid-row: auto;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--sun-dial-date);
  transform: translateX(var(--sun-now-shift));
}

.sun-dial__head .sun-now-toggle {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: var(--sun-now-btn-size);
  min-width: var(--sun-now-btn-size);
  height: var(--sun-now-btn-size);
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #faf9f6;
  color: #e8942d;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(30, 42, 58, 0.1);
}

.sun-dial__head .sun-now-toggle:not(.is-reset-hint) {
  transform: none;
}

.sun-dial__head .sun-now-toggle[aria-pressed="true"] {
  background: #fff4e0;
  color: #d67f10;
}

.sun-dial__head .sun-now-toggle__icon {
  flex: 0 0 auto;
  display: block;
  width: 12px;
  height: 12px;
  color: #e8942d;
}

.sun-dial__controls {
  align-items: center;
  gap: 12px;
}

.sun-dial__slider-tray {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 16px 8px;
  border-radius: 26px;
  background: #fffefb;
  box-shadow:
    0 8px 26px rgba(30, 42, 58, 0.1),
    0 2px 8px rgba(30, 42, 58, 0.06);
}

.sun-dial__slider-tray .sun-dial__svg {
  display: block;
  width: 100%;
  min-width: 0;
  height: 56px;
  grid-column: auto;
  grid-row: auto;
}

.sun-dial__slider-tray .sun-dial__input-hidden {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.sun-dial-weather,
.sun-dial__controls .sun-dial__credits-btn {
  flex: 0 0 auto;
  width: var(--sun-dial-side-w);
  height: var(--sun-dial-side-w);
  border-radius: 50%;
  background: var(--sun-dial-credits-bg);
  box-shadow: var(--sun-dial-credits-shadow);
}

.sun-dial-weather {
  display: grid;
  place-items: center;
  color: var(--sun-dial-sun);
}

.sun-dial-weather .weather-icon {
  font-size: 26px;
  line-height: 1;
}

.sun-dial-weather .weather-icon svg {
  width: 26px;
  height: 26px;
}

.sun-dial__controls .sun-dial__settings-icon {
  width: 22px;
  height: 22px;
  color: #1e2a3a;
}

.sun-dial__locale {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: #9aa3b2;
}

.sun-dial__locale-pin {
  flex: 0 0 auto;
  opacity: 0.85;
}

.sun-dial-scale-icon {
  font-size: 11px;
  fill: #b8c0cc;
}

.sun-dial-tick--active .sun-dial-tick__hr {
  fill: #1e2a3a;
  font-size: 12px;
  font-weight: 700;
}

.sun-dial-tick--active .sun-dial-tick__shadow {
  opacity: 0.35;
}

.sun-dial__thumb-ring {
  fill: #ffffff;
  stroke: #f3f1ea;
  stroke-width: 1.5;
}

.sun-dial__thumb-core {
  fill: #f0a030;
}

:root {
  --sun-dial-dock-clearance: calc(196px + env(safe-area-inset-bottom, 0px));
}

:root[data-ui-theme="dark"] .sun-dial-bar {
  background: #1a1d21;
}

:root[data-ui-theme="dark"] .sun-dial {
  --sun-dial-time: #f0ebe0;
  --sun-dial-date: #9aa3b2;
  --sun-dial-credits-bg: #2a2e33;
  --sun-dial-credits-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

:root[data-ui-theme="dark"] .sun-dial__slider-tray {
  background: #24282e;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

:root[data-ui-theme="dark"] .sun-dial__head .sun-now-toggle {
  background: #2a2e33;
  color: #e6b35a;
}

:root[data-ui-theme="dark"] {
  --sun-dial-dock-clearance: calc(196px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 760px) {
  .sun-dial {
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* >>> END CHANGE author=Gloria when=2026-06-03T16:51:34Z theme=ref-mockup-dock-ui <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T16:57:42Z theme=ref-mockup-dock-tweaks <<< */
.sun-dial-bar {
  background: #ede8df;
}

.sun-dial {
  --sun-dial-panel-bg: #ede8df;
  --sun-dial-bar-h: 168px;
  --sun-dial-credits-bg: #f3efe6;
  --sun-dial-credits-shadow: 0 5px 16px rgba(58, 52, 44, 0.09), 0 1px 4px rgba(58, 52, 44, 0.05);
  gap: 4px;
  padding: 8px 18px max(6px, env(safe-area-inset-bottom, 0px));
  min-height: var(--sun-dial-bar-h);
}

.sun-dial__head {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 0;
}

.sun-dial__clock {
  justify-self: center;
  text-align: center;
  z-index: 0;
  width: max-content;
  max-width: 100%;
}

.sun-dial__head .sun-now-toggle {
  position: static;
  background: #ebe6dd;
  box-shadow: 0 3px 12px rgba(58, 52, 44, 0.08);
}

.sun-dial__head .sun-now-toggle[aria-pressed="true"] {
  background: #e8dfd0;
}

.sun-dial__controls {
  margin-top: auto;
}

.sun-dial__slider-tray {
  background: #f0ebe3;
  box-shadow:
    0 6px 20px rgba(58, 52, 44, 0.09),
    0 1px 5px rgba(58, 52, 44, 0.05);
}

.sun-dial__track-rail {
  stroke: #ddd6c8;
}

.sun-dial__track-past {
  stroke: #cfc7b8;
}

.sun-dial__thumb-ring {
  fill: #f5f0e8;
  stroke: #e8e2d6;
}

:root {
  --sun-dial-dock-clearance: calc(168px + env(safe-area-inset-bottom, 0px));
  --sun-dial-panel-bg: #ede8df;
}

:root[data-ui-theme="dark"] .sun-dial-bar {
  background: #1a1d21;
}

:root[data-ui-theme="dark"] .sun-dial {
  --sun-dial-credits-bg: #2a2e33;
}

:root[data-ui-theme="dark"] .sun-dial__slider-tray {
  background: #24282e;
}

:root[data-ui-theme="dark"] .sun-dial__head .sun-now-toggle {
  background: #2a2e33;
}

:root[data-ui-theme="dark"] {
  --sun-dial-dock-clearance: calc(168px + env(safe-area-inset-bottom, 0px));
  --sun-dial-panel-bg: #1c1f22;
}
/* >>> END CHANGE author=Gloria when=2026-06-03T16:57:42Z theme=ref-mockup-dock-tweaks <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T17:01:59Z theme=ref-mockup-dock-compact-glow <<< */
.sun-dial {
  --sun-dial-bar-h: 132px;
  gap: 0;
  padding: 2px 16px 14px;
  min-height: var(--sun-dial-bar-h);
}

.sun-dial__head {
  min-height: 46px;
  margin-bottom: 2px;
}

.sun-dial__head .sun-dial__time {
  font-size: clamp(32px, 8.5vw, 38px);
}

.sun-dial__head .sun-dial__meta {
  font-size: 13px;
}

.sun-dial__controls {
  margin-top: 0;
  align-items: flex-end;
}

.sun-dial__slider-tray {
  padding: 7px 12px 5px;
  border-radius: 22px;
}

.sun-dial__slider-tray .sun-dial__svg {
  height: 50px;
}

.sun-dial-weather,
.sun-dial__controls .sun-dial__credits-btn {
  position: relative;
  isolation: isolate;
  box-shadow:
    0 0 0 1px rgba(255, 252, 245, 0.55),
    0 6px 18px rgba(255, 250, 240, 0.92),
    0 3px 10px rgba(58, 52, 44, 0.1);
}

.sun-dial-weather::before,
.sun-dial__controls .sun-dial__credits-btn::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 252, 245, 0.98) 0%,
    rgba(255, 248, 236, 0.72) 42%,
    rgba(255, 245, 230, 0.28) 62%,
    transparent 74%
  );
  pointer-events: none;
}

.map-data-attribution {
  bottom: 2px !important;
}

:root {
  --sun-dial-dock-clearance: calc(132px + env(safe-area-inset-bottom, 0px));
}

:root[data-ui-theme="dark"] .sun-dial-weather,
:root[data-ui-theme="dark"] .sun-dial__controls .sun-dial__credits-btn {
  box-shadow:
    0 0 0 1px rgba(255, 249, 233, 0.08),
    0 6px 18px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(255, 249, 233, 0.06);
}

:root[data-ui-theme="dark"] .sun-dial-weather::before,
:root[data-ui-theme="dark"] .sun-dial__controls .sun-dial__credits-btn::before {
  background: radial-gradient(
    circle,
    rgba(255, 249, 233, 0.14) 0%,
    rgba(255, 249, 233, 0.06) 45%,
    transparent 70%
  );
}

:root[data-ui-theme="dark"] {
  --sun-dial-dock-clearance: calc(132px + env(safe-area-inset-bottom, 0px));
}
/* >>> END CHANGE author=Gloria when=2026-06-03T17:01:59Z theme=ref-mockup-dock-compact-glow <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T17:07:22Z theme=side-btn-align-glow-colors <<< */
.sun-dial__controls {
  align-items: center;
}

.sun-dial-weather,
.sun-dial__controls .sun-dial__credits-btn.settings-btn {
  align-self: center;
  flex-shrink: 0;
}

.sun-dial-weather {
  box-shadow:
    0 0 0 1px rgba(255, 228, 150, 0.5),
    0 6px 16px rgba(255, 210, 90, 0.38),
    0 2px 8px rgba(58, 52, 44, 0.08);
}

.sun-dial-weather::before {
  background: radial-gradient(
    circle,
    rgba(255, 236, 155, 0.98) 0%,
    rgba(255, 220, 110, 0.58) 42%,
    rgba(255, 200, 80, 0.22) 62%,
    transparent 74%
  );
}

.sun-dial__controls .sun-dial__credits-btn.settings-btn {
  box-shadow:
    0 0 0 1px rgba(130, 160, 215, 0.4),
    0 6px 16px rgba(70, 100, 165, 0.32),
    0 2px 8px rgba(58, 52, 44, 0.08);
}

.sun-dial__controls .sun-dial__credits-btn.settings-btn::before {
  background: radial-gradient(
    circle,
    rgba(165, 190, 235, 0.92) 0%,
    rgba(110, 140, 200, 0.52) 45%,
    rgba(80, 110, 170, 0.2) 62%,
    transparent 74%
  );
}

:root[data-ui-theme="dark"] .sun-dial-weather {
  box-shadow:
    0 0 0 1px rgba(255, 210, 90, 0.12),
    0 6px 16px rgba(255, 180, 60, 0.14),
    0 0 22px rgba(255, 200, 80, 0.08);
}

:root[data-ui-theme="dark"] .sun-dial-weather::before {
  background: radial-gradient(
    circle,
    rgba(255, 200, 90, 0.22) 0%,
    rgba(255, 180, 70, 0.1) 45%,
    transparent 70%
  );
}

:root[data-ui-theme="dark"] .sun-dial__controls .sun-dial__credits-btn.settings-btn {
  box-shadow:
    0 0 0 1px rgba(120, 150, 210, 0.14),
    0 6px 16px rgba(60, 90, 150, 0.22),
    0 0 22px rgba(100, 130, 190, 0.1);
}

:root[data-ui-theme="dark"] .sun-dial__controls .sun-dial__credits-btn.settings-btn::before {
  background: radial-gradient(
    circle,
    rgba(120, 150, 210, 0.24) 0%,
    rgba(90, 120, 180, 0.12) 45%,
    transparent 70%
  );
}
/* >>> END CHANGE author=Gloria when=2026-06-03T17:07:22Z theme=side-btn-align-glow-colors <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T17:08:45Z theme=clock-date-smaller <<< */
.sun-dial__head {
  min-height: 40px;
  margin-bottom: 4px;
}

.sun-dial__clock {
  gap: 2px;
}

.sun-dial__head .sun-dial__time {
  font-size: clamp(28px, 7.2vw, 34px);
}

.sun-dial__head .sun-dial__meta {
  font-size: 12px;
}
/* >>> END CHANGE author=Gloria when=2026-06-03T17:08:45Z theme=clock-date-smaller <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T17:11:45Z theme=side-btn-tight-glow-clock-pad <<< */
.sun-dial {
  padding-top: 8px;
}

.sun-dial__head {
  padding-top: 4px;
  margin-bottom: 6px;
}

.sun-dial__clock {
  padding: 5px 18px 4px;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(228, 222, 212, 0.52) 0%,
    rgba(228, 222, 212, 0.18) 72%,
    transparent 100%
  );
}

.sun-dial-weather::before,
.sun-dial__controls .sun-dial__credits-btn.settings-btn::before {
  inset: -3px;
  border-radius: 50%;
  background: none;
}

.sun-dial-weather {
  box-shadow:
    0 2px 6px rgba(58, 52, 44, 0.09),
    0 0 0 1px rgba(255, 236, 175, 0.55),
    0 0 12px 3px rgba(255, 210, 95, 0.42);
}

.sun-dial-weather::before {
  box-shadow: 0 0 10px 2px rgba(255, 215, 100, 0.38);
}

.sun-dial__controls .sun-dial__credits-btn.settings-btn {
  box-shadow:
    0 2px 6px rgba(58, 52, 44, 0.09),
    0 0 0 1px rgba(155, 180, 225, 0.5),
    0 0 12px 3px rgba(85, 115, 175, 0.38);
}

.sun-dial__controls .sun-dial__credits-btn.settings-btn::before {
  box-shadow: 0 0 10px 2px rgba(100, 130, 190, 0.34);
}

:root[data-ui-theme="dark"] .sun-dial__clock {
  background: linear-gradient(
    180deg,
    rgba(255, 249, 233, 0.06) 0%,
    rgba(255, 249, 233, 0.02) 72%,
    transparent 100%
  );
}

:root[data-ui-theme="dark"] .sun-dial-weather {
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 200, 80, 0.14),
    0 0 10px 2px rgba(255, 190, 70, 0.16);
}

:root[data-ui-theme="dark"] .sun-dial-weather::before {
  box-shadow: 0 0 8px 2px rgba(255, 180, 60, 0.12);
}

:root[data-ui-theme="dark"] .sun-dial__controls .sun-dial__credits-btn.settings-btn {
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(120, 150, 210, 0.16),
    0 0 10px 2px rgba(90, 120, 180, 0.18);
}

:root[data-ui-theme="dark"] .sun-dial__controls .sun-dial__credits-btn.settings-btn::before {
  box-shadow: 0 0 8px 2px rgba(80, 110, 170, 0.14);
}
/* >>> END CHANGE author=Gloria when=2026-06-03T17:11:45Z theme=side-btn-tight-glow-clock-pad <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T17:17:18Z theme=slider-tray-taller-btn-top <<< */
.sun-dial__controls {
  align-items: flex-start;
}

.sun-dial-weather,
.sun-dial__controls .sun-dial__credits-btn.settings-btn {
  align-self: flex-start;
  margin-top: 0;
}

.sun-dial__slider-tray {
  padding: 8px 14px 14px;
  min-height: calc(var(--sun-dial-side-w) + 22px);
}

.sun-dial__slider-tray .sun-dial__svg {
  height: 52px;
}

:root {
  --sun-dial-dock-clearance: calc(142px + env(safe-area-inset-bottom, 0px));
}

:root[data-ui-theme="dark"] {
  --sun-dial-dock-clearance: calc(142px + env(safe-area-inset-bottom, 0px));
}
/* >>> END CHANGE author=Gloria when=2026-06-03T17:17:18Z theme=slider-tray-taller-btn-top <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T17:22:23Z theme=remove-clock-bg-panel <<< */
.sun-dial__clock {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

:root[data-ui-theme="dark"] .sun-dial__clock {
  background: transparent;
}
/* >>> END CHANGE author=Gloria when=2026-06-03T17:22:23Z theme=remove-clock-bg-panel <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T17:25:06Z theme=dock-bar-round-top <<< */
.sun-dial-bar {
  left: 10px;
  right: 10px;
  width: auto;
  border-radius: 28px 28px 0 0;
  corner-shape: squircle;
  overflow: hidden;
  box-shadow:
    0 -4px 24px rgba(58, 52, 44, 0.06),
    0 -1px 6px rgba(58, 52, 44, 0.04);
}

@media (max-width: 760px) {
  .sun-dial-bar {
    left: 8px;
    right: 8px;
    border-radius: 26px 26px 0 0;
  }
}
/* >>> END CHANGE author=Gloria when=2026-06-03T17:25:06Z theme=dock-bar-round-top <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T17:27:57Z theme=slider-labels-lower-track-thicker <<< */
.sun-dial__track-rail,
.sun-dial__track-past,
.sun-dial__track-future {
  stroke-width: 5.5;
}

.sun-dial__slider-tray .sun-dial__svg {
  height: 54px;
}
/* >>> END CHANGE author=Gloria when=2026-06-03T17:27:57Z theme=slider-labels-lower-track-thicker <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T17:33:07Z theme=dock-fullwidth-compact <<< */
.sun-dial-bar {
  left: 0;
  right: 0;
  width: 100%;
  border-radius: 24px 24px 0 0;
}

.sun-dial {
  --sun-dial-bar-h: 118px;
  --sun-dial-side-w: 44px;
  padding: 3px 14px 10px;
  min-height: var(--sun-dial-bar-h);
  gap: 0;
}

.sun-dial__head {
  min-height: 34px;
  margin-bottom: 2px;
  padding-top: 2px;
}

.sun-dial__head .sun-dial__time {
  font-size: clamp(26px, 6.8vw, 32px);
}

.sun-dial__head .sun-dial__meta {
  font-size: 11px;
}

.sun-dial__clock {
  --sun-now-btn-size: 22px;
  --sun-now-gap: 4px;
}

.sun-dial__head .sun-now-toggle {
  padding: 0;
  font-size: 12px;
}

.sun-dial__head .sun-now-toggle__icon {
  width: 11px;
  height: 11px;
}

.sun-dial__slider-tray {
  padding: 5px 12px 9px;
  min-height: calc(var(--sun-dial-side-w) + 12px);
}

.sun-dial__slider-tray .sun-dial__svg {
  height: 48px;
}

.sun-dial-weather,
.sun-dial__controls .sun-dial__credits-btn.settings-btn {
  width: var(--sun-dial-side-w);
  height: var(--sun-dial-side-w);
}

.sun-dial-weather .weather-icon {
  font-size: 22px;
}

.sun-dial-weather .weather-icon svg {
  width: 22px;
  height: 22px;
}

.sun-dial__controls .sun-dial__settings-icon {
  width: 20px;
  height: 20px;
}

:root {
  --sun-dial-dock-clearance: calc(118px + env(safe-area-inset-bottom, 0px));
}

:root[data-ui-theme="dark"] {
  --sun-dial-dock-clearance: calc(118px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 760px) {
  .sun-dial-bar {
    left: 0;
    right: 0;
    border-radius: 22px 22px 0 0;
  }

  .sun-dial {
    padding-left: 12px;
    padding-right: 12px;
  }
}
/* >>> END CHANGE author=Gloria when=2026-06-03T17:33:07Z theme=dock-fullwidth-compact <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T17:40:36Z theme=slider-yellow-blue-no-tick-shadow <<< */
.sun-dial-tick__shadow {
  display: none;
}

.sun-dial-tick__hr {
  text-shadow: none !important;
}

.sun-dial__track-past,
.sun-dial__track-future {
  stroke: url(#sun-dial-track-grad-day);
}

.sun-dial__track-rail {
  stroke: rgba(221, 214, 200, 0.35);
}

.sun-dial__thumb-core {
  fill: #ffe033;
}

.sun-dial__thumb-ring {
  fill: #fffef8;
  stroke: #fff6c8;
}

.sun-dial-weather {
  box-shadow:
    0 2px 6px rgba(58, 52, 44, 0.09),
    0 0 0 1px rgba(255, 244, 150, 0.65),
    0 0 12px 3px rgba(255, 238, 90, 0.48);
}

.sun-dial-weather::before {
  box-shadow: 0 0 10px 2px rgba(255, 245, 110, 0.55);
}

:root[data-ui-theme="dark"] .sun-dial__thumb-core {
  fill: #ffd633;
}

:root[data-ui-theme="dark"] .sun-dial-weather {
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 230, 80, 0.18),
    0 0 10px 2px rgba(255, 220, 70, 0.2);
}

:root[data-ui-theme="dark"] .sun-dial-weather::before {
  box-shadow: 0 0 8px 2px rgba(255, 210, 60, 0.16);
}
/* >>> END CHANGE author=Gloria when=2026-06-03T17:40:36Z theme=slider-yellow-blue-no-tick-shadow <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T18:22:00Z theme=slider-blue-future-terrace-colors <<< */
.sun-dial__track-past {
  stroke: #cfc7b8;
}

.sun-dial__track-future {
  stroke: url(#sun-dial-track-grad-future);
}

.sun-dial__thumb-core {
  fill: var(--sunny);
}

.sun-dial__thumb-ring {
  fill: #fff8eb;
  stroke: var(--sunny-hi);
}

:root[data-ui-theme="dark"] .sun-dial__track-past {
  stroke: #4e5258;
}

:root[data-ui-theme="dark"] .sun-dial__thumb-core {
  fill: var(--sunny);
}

:root[data-ui-theme="dark"] .sun-dial__thumb-ring {
  fill: #fff8eb;
  stroke: var(--sunny-hi);
}

.sun-dial-weather {
  box-shadow:
    0 2px 6px rgba(58, 52, 44, 0.09),
    0 0 0 1px rgba(232, 166, 35, 0.55),
    0 0 12px 3px rgba(244, 193, 75, 0.42);
}

.sun-dial-weather::before {
  box-shadow: 0 0 10px 2px rgba(244, 193, 75, 0.45);
}

.sun-dial__controls .sun-dial__credits-btn.settings-btn {
  box-shadow:
    0 2px 6px rgba(58, 52, 44, 0.09),
    0 0 0 1px rgba(74, 151, 217, 0.5),
    0 0 12px 3px rgba(104, 175, 232, 0.38);
}

.sun-dial__controls .sun-dial__credits-btn.settings-btn::before {
  box-shadow: 0 0 10px 2px rgba(74, 151, 217, 0.34);
}

:root[data-ui-theme="dark"] .sun-dial-weather {
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(232, 166, 35, 0.2),
    0 0 10px 2px rgba(244, 193, 75, 0.18);
}

:root[data-ui-theme="dark"] .sun-dial-weather::before {
  box-shadow: 0 0 8px 2px rgba(244, 193, 75, 0.14);
}

:root[data-ui-theme="dark"] .sun-dial__controls .sun-dial__credits-btn.settings-btn {
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(74, 151, 217, 0.18),
    0 0 10px 2px rgba(104, 175, 232, 0.2);
}

:root[data-ui-theme="dark"] .sun-dial__controls .sun-dial__credits-btn.settings-btn::before {
  box-shadow: 0 0 8px 2px rgba(74, 151, 217, 0.16);
}
/* >>> END CHANGE author=Gloria when=2026-06-03T18:22:00Z theme=slider-blue-future-terrace-colors <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T19:10:00Z theme=slider-prominent-visible <<< */
/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T21:15:00Z theme=slider-mockup-refine <<< */
.sun-dial {
  --sun-dial-bar-h: 120px;
  --sun-dial-side-w: 44px;
  padding: 5px 14px 3px;
  min-height: 0;
  gap: 0;
}

.sun-dial__head {
  min-height: 26px;
  margin-bottom: 2px;
  padding-top: 0;
}

.sun-dial__head .sun-dial__time {
  font-size: clamp(22px, 5.6vw, 26px);
}

.sun-dial__head .sun-dial__meta {
  font-size: 11px;
}

.sun-dial__controls {
  align-items: flex-start;
}

.sun-dial-weather,
.sun-dial__controls .sun-dial__credits-btn.settings-btn {
  align-self: flex-start;
  margin-top: 0;
}

.sun-dial__track-rail,
.sun-dial__track-past,
.sun-dial__track-future {
  stroke-width: 9;
}

.sun-dial-tick-mark {
  stroke-width: 1.25;
}

.sun-dial-tick-mark--major {
  stroke-width: 1.5;
}

.sun-dial-tick__hr {
  font-size: 13px;
}

.sun-dial-tick--major .sun-dial-tick__hr {
  font-size: 14px;
}

.sun-dial-tick--active .sun-dial-tick__hr {
  font-size: 15px;
  font-weight: 700;
}

.sun-dial__slider-tray {
  padding: 5px 12px 6px;
  min-height: calc(var(--sun-dial-side-w) + 14px);
}

.sun-dial__slider-tray .sun-dial__svg {
  height: 68px;
}

.sun-dial__thumb-ring {
  fill: #fff8eb;
  stroke: var(--sunny-hi);
  stroke-width: 1.75;
}

.sun-dial__thumb-core {
  fill: var(--sunny);
}

.sun-dial-weather {
  box-shadow:
    0 2px 6px rgba(58, 52, 44, 0.08),
    0 0 0 1px rgba(232, 166, 35, 0.32),
    0 0 8px 2px rgba(244, 193, 75, 0.18);
}

.sun-dial-weather::before {
  box-shadow: 0 0 8px 2px rgba(232, 166, 35, 0.12);
}

.sun-dial__controls .sun-dial__credits-btn.settings-btn {
  box-shadow:
    0 2px 6px rgba(58, 52, 44, 0.08),
    0 0 0 1px rgba(74, 151, 217, 0.32),
    0 0 8px 2px rgba(104, 175, 232, 0.16);
}

.sun-dial__controls .sun-dial__credits-btn.settings-btn::before {
  box-shadow: 0 0 8px 2px rgba(74, 151, 217, 0.12);
}

:root {
  --sun-dial-dock-clearance: calc(120px + env(safe-area-inset-bottom, 0px));
}

:root[data-ui-theme="dark"] .sun-dial__thumb-core {
  fill: var(--sunny);
}

:root[data-ui-theme="dark"] .sun-dial__thumb-ring {
  fill: #fff8eb;
  stroke: var(--sunny-hi);
}

:root[data-ui-theme="dark"] .sun-dial-weather {
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(232, 166, 35, 0.18),
    0 0 6px 1px rgba(244, 193, 75, 0.1);
}

:root[data-ui-theme="dark"] .sun-dial-weather::before {
  box-shadow: 0 0 6px 1px rgba(232, 166, 35, 0.08);
}

:root[data-ui-theme="dark"] .sun-dial__controls .sun-dial__credits-btn.settings-btn {
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(74, 151, 217, 0.2),
    0 0 6px 1px rgba(104, 175, 232, 0.1);
}

:root[data-ui-theme="dark"] .sun-dial__controls .sun-dial__credits-btn.settings-btn::before {
  box-shadow: 0 0 6px 1px rgba(74, 151, 217, 0.08);
}

:root[data-ui-theme="dark"] .sun-dial__controls .sun-dial__settings-icon {
  color: #fff;
}

:root[data-ui-theme="dark"] {
  --sun-dial-dock-clearance: calc(120px + env(safe-area-inset-bottom, 0px));
}
/* >>> END CHANGE author=Gloria when=2026-06-03T21:15:00Z theme=slider-mockup-refine <<< */
/* >>> END CHANGE author=Gloria when=2026-06-03T19:10:00Z theme=slider-prominent-visible <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T21:45:00Z theme=slider-pyramid-scale-dense-shadow <<< */
.sun-dial-bar {
  box-shadow:
    0 -8px 32px rgba(58, 52, 44, 0.14),
    0 -3px 12px rgba(58, 52, 44, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.sun-dial__slider-tray {
  box-shadow:
    0 8px 22px rgba(58, 52, 44, 0.16),
    0 3px 8px rgba(58, 52, 44, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -2px 4px rgba(58, 52, 44, 0.05);
}

.sun-dial-weather,
.sun-dial__controls .sun-dial__credits-btn.settings-btn {
  box-shadow:
    0 4px 12px rgba(58, 52, 44, 0.12),
    0 1px 4px rgba(58, 52, 44, 0.08),
    0 0 0 1px rgba(232, 166, 35, 0.28),
    0 0 6px 1px rgba(244, 193, 75, 0.14);
}

.sun-dial__controls .sun-dial__credits-btn.settings-btn {
  box-shadow:
    0 4px 12px rgba(58, 52, 44, 0.12),
    0 1px 4px rgba(58, 52, 44, 0.08),
    0 0 0 1px rgba(74, 151, 217, 0.28),
    0 0 6px 1px rgba(104, 175, 232, 0.12);
}

:root[data-ui-theme="dark"] .sun-dial-bar {
  box-shadow:
    0 -8px 32px rgba(0, 0, 0, 0.38),
    0 -3px 12px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

:root[data-ui-theme="dark"] .sun-dial__slider-tray {
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.32),
    0 3px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -2px 4px rgba(0, 0, 0, 0.18);
}

:root[data-ui-theme="dark"] .sun-dial-weather {
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.28),
    0 1px 4px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(232, 166, 35, 0.16),
    0 0 5px 1px rgba(244, 193, 75, 0.08);
}

:root[data-ui-theme="dark"] .sun-dial__controls .sun-dial__credits-btn.settings-btn {
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.28),
    0 1px 4px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(74, 151, 217, 0.18),
    0 0 5px 1px rgba(104, 175, 232, 0.08);
}
/* >>> END CHANGE author=Gloria when=2026-06-03T21:45:00Z theme=slider-pyramid-scale-dense-shadow <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-03T22:20:00Z theme=weather-sheet-auto-3d-icon <<< */
button.sun-dial-weather {
  margin: 0;
  padding: 0;
  border: none;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.sun-dial-weather .weather-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  font-size: 0;
  line-height: 1;
  overflow: hidden;
}

.sun-dial-weather .weather-icon svg {
  display: block;
  width: 26px;
  height: 26px;
  overflow: visible;
}

.sun-dial-weather.is-loading .weather-icon {
  font-size: 16px;
}

.sun-dial__head .sun-now-toggle {
  background: #fffefb;
  box-shadow:
    0 4px 14px rgba(58, 52, 44, 0.12),
    0 2px 6px rgba(58, 52, 44, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 3px rgba(58, 52, 44, 0.05);
}

.sun-dial__head .sun-now-toggle[aria-pressed="true"] {
  background: #fffefb;
  box-shadow:
    0 4px 14px rgba(58, 52, 44, 0.14),
    0 2px 6px rgba(58, 52, 44, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 3px rgba(58, 52, 44, 0.06);
}

:root[data-ui-theme="dark"] .sun-dial__head .sun-now-toggle {
  background: #24282e;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.28),
    0 2px 6px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 3px rgba(0, 0, 0, 0.18);
}

:root[data-ui-theme="dark"] .sun-dial__head .sun-now-toggle[aria-pressed="true"] {
  background: #24282e;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.32),
    0 2px 6px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 3px rgba(0, 0, 0, 0.2);
}

.weather-sheet__date {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-muted);
}

.weather-sheet__body {
  min-height: 0;
}

.weather-timeline__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  margin: 12px 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(105, 88, 62, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 8px 22px rgba(58, 52, 44, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.weather-timeline__summary-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffdf7 0%, #f6f1e7 100%);
  box-shadow:
    inset 0 0 0 1px rgba(105, 88, 62, 0.08),
    0 5px 12px rgba(58, 52, 44, 0.08);
}

.weather-timeline__summary-icon svg {
  display: block;
  width: 30px;
  height: 30px;
}

.weather-timeline__summary-text {
  display: grid;
  gap: 2px;
  min-width: 0;
  font-size: 13px;
  line-height: 1.25;
  color: var(--ink-muted);
}

.weather-timeline__summary-text strong {
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
  color: var(--ink);
}

.weather-timeline__status {
  margin: 0;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
}

.weather-timeline__bar {
  position: relative;
  padding: 2px 0 4px;
}

.weather-timeline__cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 64px;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  margin: 0 -2px;
  padding: 2px 2px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.weather-timeline__cards::-webkit-scrollbar {
  display: none;
}

.weather-timeline__card {
  display: grid;
  grid-template-rows: 14px 36px 15px;
  justify-items: center;
  align-items: center;
  min-width: 0;
  min-height: 78px;
  padding: 8px 6px 7px;
  border: 1px solid rgba(105, 88, 62, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 4px 12px rgba(58, 52, 44, 0.05);
  scroll-snap-align: center;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.weather-timeline__card.is-active {
  border-color: rgba(230, 164, 46, 0.32);
  background: #fff8e7;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 8px 18px rgba(218, 148, 35, 0.14);
  transform: translateY(-1px);
}

.weather-timeline__card.is-past {
  opacity: 0.48;
  filter: grayscale(0.55);
}

.weather-timeline__card.is-past .weather-timeline__card-hour,
.weather-timeline__card.is-past .weather-timeline__card-temp {
  color: rgba(120, 115, 105, 0.72);
}

.weather-timeline__card.is-past .weather-timeline__icon {
  opacity: 0.72;
}

.weather-timeline__card.is-past.is-active {
  opacity: 0.62;
  transform: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 4px 12px rgba(58, 52, 44, 0.05);
}

:root[data-ui-theme="dark"] .weather-timeline__card.is-past .weather-timeline__card-hour,
:root[data-ui-theme="dark"] .weather-timeline__card.is-past .weather-timeline__card-temp {
  color: rgba(180, 175, 165, 0.55);
}

.weather-timeline__card-hour,
.weather-timeline__card-temp {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.weather-timeline__card-hour {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}

.weather-timeline__card-temp {
  font-size: 12px;
  font-weight: 750;
  color: var(--ink-muted);
}

.weather-timeline__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(105, 88, 62, 0.08);
}

.weather-timeline__icon svg {
  display: block;
  width: 26px;
  height: 26px;
  overflow: visible;
}

.weather-timeline__card.is-active .weather-timeline__icon {
  background: #fffef8;
  box-shadow: inset 0 0 0 1px rgba(230, 164, 46, 0.2);
}

@media (max-width: 380px) {
  .weather-timeline__cards {
    grid-auto-columns: 58px;
    gap: 7px;
  }

  .weather-timeline__icon {
    width: 31px;
    height: 31px;
    border-radius: 11px;
  }

  .weather-timeline__icon svg {
    width: 24px;
    height: 24px;
  }

  .weather-timeline__card {
    grid-template-rows: 13px 33px 14px;
    min-height: 72px;
    padding: 7px 5px 6px;
    border-radius: 16px;
  }

  .weather-timeline__summary {
    min-height: 52px;
    margin-top: 10px;
    padding: 9px 10px;
  }

  .weather-timeline__summary-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .weather-timeline__summary-icon svg {
    width: 28px;
    height: 28px;
  }
}

:root[data-ui-theme="dark"] .weather-timeline__summary {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

:root[data-ui-theme="dark"] .weather-timeline__summary-icon,
:root[data-ui-theme="dark"] .weather-timeline__icon {
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 4px 10px rgba(0, 0, 0, 0.18);
}

:root[data-ui-theme="dark"] .weather-timeline__card {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.16);
}

:root[data-ui-theme="dark"] .weather-timeline__card.is-active {
  border-color: rgba(244, 193, 75, 0.26);
  background: rgba(244, 193, 75, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 7px 16px rgba(0, 0, 0, 0.2);
}

:root[data-ui-theme="dark"] .weather-timeline__card.is-active .weather-timeline__icon {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(244, 193, 75, 0.18);
}

/* >>> END CHANGE author=Gloria when=2026-06-03T22:20:00Z theme=weather-sheet-auto-3d-icon <<< */

.debug-menu {
  min-width: 220px;
  padding: 12px;
  border-radius: 20px;
}

.theme-toggle {
  justify-content: flex-start;
}

.theme-toggle::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 67% 34%, var(--control) 0 39%, transparent 40%),
    var(--ink);
}

:root[data-ui-theme="dark"] .theme-toggle::before {
  background:
    radial-gradient(circle at 36% 32%, #fff8d8 0 12%, transparent 13%),
    var(--accent-hover);
}

.terrasse-sheet__fill {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 22px 22px 0 0;
  box-shadow:
    0 -12px 44px rgba(var(--map-shadow-rgb), 0.3), 0 -4px 16px rgba(var(--map-cloud-shadow-rgb), 0.2);
}

.terrasse-sheet .terrasse-popup {
  max-width: none;
  padding: 8px 18px 10px;
  background: transparent;
}

.terrasse-popup__head h3 {
  font-size: 16px;
  font-weight: 800;
}

.terrasse-sun-timeline__track {
  height: 16px;
  border-radius: 999px;
  background: var(--surface-subtle);
}

.credits-dialog {
  background: var(--surface-strong);
}

:root[data-ui-theme="dark"] .credits-backdrop {
  background: rgba(0, 0, 0, 0.44);
}

:root[data-ui-theme="dark"] .app-launch-overlay {
  background: #fff;
}

@media (max-width: 760px) {
  .hud {
    top: calc(10px + env(safe-area-inset-top, 0px));
    left: 10px;
    right: auto;
    max-width: calc(100vw - 20px);
    flex-wrap: nowrap;
  }

  .brand {
    padding-right: 6px;
  }

  .search-panel {
    top: calc(10px + env(safe-area-inset-top, 0px));
    left: auto;
    right: 10px;
    max-width: calc(100vw - 20px);
  }

  .search-panel.is-collapsed {
    grid-template-columns: 40px 40px 40px;
    width: max-content;
  }

  .search-panel:not(.is-collapsed) {
    top: calc(10px + env(safe-area-inset-top, 0px));
    left: 10px;
    right: 10px;
    grid-template-columns: 40px 40px 40px minmax(0, 1fr);
  }

}

/* Locate — pulsing dot: grey when off, pink halo + core when tracking. */
#locate-me {
  --locate-dot: rgba(120, 115, 105, 0.72);
  --locate-halo: rgba(120, 115, 105, 0.3);
  transition:
    background 0.07s ease,
    color 0.07s ease,
    border-color 0.07s ease,
    transform 0.1s ease;
}

#locate-me .locate-me__glyph {
  display: block;
}

#locate-me .locate-me__halo {
  fill: var(--locate-halo);
}

#locate-me .locate-me__core {
  fill: var(--locate-dot);
}

#locate-me.icon-button[aria-pressed="true"] {
  --locate-dot: #ff34a5;
  --locate-halo: rgba(255, 52, 165, 0.3);
  color: var(--ink);
  background: var(--control);
  border-color: var(--hairline);
}

#locate-me.icon-button.is-locating {
  pointer-events: auto;
}

.locate-status {
  position: absolute;
  top: calc(52px + env(safe-area-inset-top, 0px));
  right: 12px;
  z-index: 12;
  max-width: min(280px, calc(100vw - 24px));
  margin: 0;
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(45, 70, 90, 0.14);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  text-align: left;
}

.locate-status.is-hidden,
.locate-status:empty {
  display: none;
}

.locate-status--actionable {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

:root[data-ui-theme="dark"] .locate-status {
  background: rgba(28, 32, 38, 0.94);
}

:root[data-ui-theme="dark"] #locate-me {
  --locate-dot: rgba(180, 175, 165, 0.72);
  --locate-halo: rgba(180, 175, 165, 0.28);
}

:root[data-ui-theme="dark"] #locate-me.icon-button[aria-pressed="true"] {
  --locate-dot: #ff34a5;
  --locate-halo: rgba(255, 52, 165, 0.3);
}

.search-filter-btn {
  position: relative;
}

.search-filter-btn.has-active-filters::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--surface-strong);
  border-radius: 50%;
  background: var(--sunny);
}

.search-filter-btn.has-glace-filter.has-active-filters::after,
.search-filter-btn.has-oasis-filter.has-active-filters::after,
.search-filter-btn.has-fountain-filter.has-active-filters::after,
.search-filter-btn.has-wc-filter.has-active-filters::after,
.search-filter-btn.has-bench-filter.has-active-filters::after,
.search-filter-btn.has-jeux-filter.has-active-filters::after {
  display: none;
}

.search-filter-btn__glace-icon,
.search-filter-btn__oasis-icon,
.search-filter-btn__fountain-icon,
.search-filter-btn__wc-icon,
.search-filter-btn__bench-icon,
.search-filter-btn__jeux-icon {
  position: absolute;
  top: 3px;
  right: 3px;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-strong);
  box-shadow: 0 0 0 1px var(--hairline);
  pointer-events: none;
}

.search-filter-btn.has-glace-filter .search-filter-btn__glace-icon,
.search-filter-btn.has-oasis-filter .search-filter-btn__oasis-icon,
.search-filter-btn.has-fountain-filter .search-filter-btn__fountain-icon,
.search-filter-btn.has-wc-filter .search-filter-btn__wc-icon,
.search-filter-btn.has-bench-filter .search-filter-btn__bench-icon,
.search-filter-btn.has-jeux-filter .search-filter-btn__jeux-icon {
  display: flex;
}

.search-filter-btn__glace-icon[hidden],
.search-filter-btn__oasis-icon[hidden],
.search-filter-btn__fountain-icon[hidden],
.search-filter-btn__wc-icon[hidden],
.search-filter-btn__bench-icon[hidden],
.search-filter-btn__jeux-icon[hidden] {
  display: none !important;
}

.search-filter-btn__glace-glyph,
.search-filter-btn__oasis-glyph,
.search-filter-btn__fountain-glyph,
.search-filter-btn__wc-glyph,
.search-filter-btn__bench-glyph,
.search-filter-btn__jeux-glyph {
  display: block;
  width: 15px;
  height: 15px;
}

.tool-sheet {
  position: fixed;
  inset: 0;
  z-index: 12;
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.tool-sheet.is-hidden {
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}

.tool-sheet__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: rgba(36, 39, 40, 0.22);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.tool-sheet__panel.search-tools-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: manipulation;
  max-height: calc(100dvh - 86px);
}

.tool-sheet__panel.search-tools-panel.is-plan-mode {
  max-height: none;
  height: auto;
}

.tool-sheet__panel {
  position: absolute;
  top: calc(66px + env(safe-area-inset-top, 0px));
  right: 14px;
  width: min(382px, calc(100vw - 28px));
  max-width: 100%;
  max-height: calc(100dvh - 86px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  box-sizing: border-box;
  padding: 10px 16px 16px;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  color: var(--ink);
  background: var(--surface-strong);
  box-shadow: var(--shadow-float);
  transform: none;
  transform-origin: top right;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 220ms ease;
}

.tool-sheet.is-hidden .tool-sheet__panel {
  pointer-events: none;
}

.tool-sheet__handle {
  display: none;
}

.tool-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.tool-sheet__eyebrow {
  margin: 0 0 3px;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.tool-sheet__header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
}

.tool-sheet__close {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  color: var(--ink-muted);
  background: var(--control);
  font: inherit;
  font-size: 22px;
}

.search-tools__modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 14px;
  background: var(--surface-subtle);
}

.search-tools__mode {
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 11px;
  color: var(--ink-muted);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.search-tools__mode.is-active {
  color: var(--ink);
  background: var(--surface-strong);
  box-shadow: 0 1px 5px rgba(31, 30, 27, 0.08);
}

.search-when-fields {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  column-gap: 10px;
  row-gap: 8px;
  margin: 0 0 14px;
}

.search-when-fields label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.search-when-fields span {
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.search-when-control {
  position: relative;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  color: var(--ink);
  background: var(--control);
  overflow: hidden;
}

.search-when-control strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.search-when-fields input {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  font: inherit;
  cursor: pointer;
}

.search-date-input--hidden {
  pointer-events: none;
}

.search-when-control--date {
  cursor: pointer;
}

.search-date-picker__popover {
  z-index: 60;
  width: min(280px, calc(100vw - 24px));
  padding: 10px 12px 12px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  color: var(--ink);
  background: var(--surface-strong);
  box-shadow: var(--shadow-float);
}

.search-date-picker__popover[hidden] {
  display: none !important;
}

.search-date-picker__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.search-date-picker__nav {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  color: var(--ink);
  background: var(--control);
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.search-date-picker__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.search-date-picker__month {
  margin: 0;
  flex: 1;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-transform: capitalize;
}

.search-date-picker__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.search-date-picker__weekday {
  display: grid;
  place-items: center;
  height: 24px;
  color: var(--ink-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-date-picker__pad {
  display: block;
  height: 34px;
}

.search-date-picker__day {
  display: grid;
  place-items: center;
  width: 100%;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.search-date-picker__day.is-selected {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.search-date-picker__day.is-today:not(.is-selected) {
  border-color: rgba(232, 166, 35, 0.35);
}

.search-date-picker__day.is-muted {
  color: rgba(120, 115, 105, 0.45);
  cursor: not-allowed;
}

:root[data-ui-theme="dark"] .search-date-picker__day.is-muted {
  color: rgba(180, 175, 165, 0.28);
}

.search-date-picker__day:disabled {
  pointer-events: none;
}

.search-when-control:focus-within {
  border-color: rgba(232, 166, 35, 0.45);
  box-shadow: 0 0 0 3px rgba(232, 166, 35, 0.14);
}

.search-when-fields button {
  grid-column: 1 / -1;
  justify-self: stretch;
  min-width: 0;
  height: 34px;
  padding: 0 15px;
  border: 1px solid rgba(232, 166, 35, 0.24);
  border-radius: 999px;
  color: var(--ink);
  background: #fff8e7;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.search-when-fields .search-when-now-toggle {
  grid-column: auto;
  justify-self: stretch;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink-muted);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.search-when-fields .search-when-now-toggle[aria-pressed="true"] {
  color: #fff;
  border-color: transparent;
  background: var(--accent);
}

:root[data-ui-theme="dark"] .search-when-fields .search-when-now-toggle {
  background: var(--control);
}

.search-when-fields .search-now-find {
  height: 42px;
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.search-when-fields .search-now-find:hover {
  background: var(--accent-hover);
}

.search-when-control--time {
  padding: 0;
  overflow: visible;
}

.search-when-control--time .plan-time-picker {
  width: 100%;
}

.search-when-control--time .plan-time-picker__trigger {
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.search-when-control--time .plan-time-picker__trigger:hover {
  background: transparent;
}

.plan-time-picker__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.plan-time-picker__now {
  flex: 1 1 auto;
  display: block;
  min-width: 0;
  height: 32px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid rgba(232, 166, 35, 0.24);
  border-radius: 999px;
  color: var(--ink);
  background: #fff8e7;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.plan-time-picker__confirm {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
}

.plan-time-picker__confirm:hover {
  background: var(--accent-hover);
}

.plan-time-picker__confirm svg {
  display: block;
}

.search-tools__pane {
  animation: toolsPaneIn 190ms ease;
  touch-action: manipulation;
}

.search-tools__pane.is-hidden {
  display: none;
}

@keyframes toolsPaneIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

html.ui-sheet-open {
  overflow: hidden;
  overscroll-behavior: none;
}

html.ui-sheet-open body {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

html.ui-keyboard-open .tool-sheet__panel.search-tools-panel {
  max-height: calc(var(--visual-viewport-height, 100dvh) - 16px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 761px) {
  html.ui-keyboard-open .tool-sheet__panel.search-tools-panel {
    top: calc(66px + env(safe-area-inset-top, 0px) + var(--viewport-offset-top, 0px));
  }
}

.search-tools__group {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.search-tools__group legend,
.search-tools__label {
  display: block;
  margin: 0 0 8px;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 750;
}

.exposure-filter {
  display: grid;
  gap: 8px;
  border: none;
  margin: 0;
  padding: 0;
}

.exposure-filter legend {
  margin-bottom: 0;
  padding: 0;
}

.exposure-filter__toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  padding: 2px 2px 2px 4px;
  overflow: visible;
}

.exposure-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  cursor: pointer;
  user-select: none;
  overflow: visible;
}

.exposure-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Terrasse-dot style — white ring always on top (matches TERRASSE_POINT_OUTLINE). */
.exposure-toggle__dot {
  --terrasse-dot-ring: rgba(255, 255, 255, 0.58);
  display: block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin: 3px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 2px var(--terrasse-dot-ring),
    0 0 0 3px rgba(95, 90, 82, 0.1);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.exposure-toggle--sun:has(input:checked) .exposure-toggle__dot {
  background: var(--sunny);
  box-shadow:
    0 0 0 2px var(--terrasse-dot-ring),
    0 0 0 3px rgba(244, 193, 75, 0.28);
}

.exposure-toggle--shade:has(input:checked) .exposure-toggle__dot {
  background: var(--shade);
  box-shadow:
    0 0 0 2px var(--terrasse-dot-ring),
    0 0 0 3px rgba(104, 175, 232, 0.28);
}

.exposure-toggle__label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

:root[data-ui-theme="dark"] .exposure-toggle__dot {
  background: var(--control);
  box-shadow:
    0 0 0 2px var(--terrasse-dot-ring),
    0 0 0 3px rgba(0, 0, 0, 0.22);
}

:root[data-ui-theme="dark"] .exposure-toggle--sun:has(input:checked) .exposure-toggle__dot {
  background: var(--sunny);
  box-shadow:
    0 0 0 2px var(--terrasse-dot-ring),
    0 0 0 3px rgba(244, 193, 75, 0.32);
}

:root[data-ui-theme="dark"] .exposure-toggle--shade:has(input:checked) .exposure-toggle__dot {
  background: var(--shade);
  box-shadow:
    0 0 0 2px var(--terrasse-dot-ring),
    0 0 0 3px rgba(104, 175, 232, 0.32);
}

.search-tools__segments {
  display: flex;
  gap: 5px;
  overflow-x: auto;
}

.search-tools__segments button {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink-muted);
  background: var(--control);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.search-tools__segments button.is-selected,
.search-tools__segments button.is-tour-preview {
  color: #fff;
  border-color: transparent;
  background: var(--accent);
}

.search-tools__segments button.is-disabled,
.search-tools__segments button:disabled {
  opacity: 0.38;
  color: var(--ink-muted);
  background: var(--control);
  border-color: var(--hairline);
  cursor: not-allowed;
  pointer-events: none;
}

.search-tools__segments button.is-disabled.is-selected,
.search-tools__segments button:disabled.is-selected {
  opacity: 0.38;
  color: var(--ink-muted);
  background: var(--control);
  border-color: var(--hairline);
}

.search-amenity-filters {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.search-amenity-filters::-webkit-scrollbar {
  display: none;
}

.search-amenity-filter {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink-muted);
  background: var(--control);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.search-amenity-filter.is-selected {
  color: #fff;
  border-color: transparent;
  background: var(--accent);
}

.search-amenity-filter.is-disabled,
.search-amenity-filter:disabled,
.search-amenity-filters.is-disabled .search-amenity-filter {
  opacity: 0.38;
  color: var(--ink-muted);
  background: var(--control);
  border-color: var(--hairline);
  cursor: not-allowed;
  pointer-events: none;
}

.search-amenity-filter.is-disabled.is-selected,
.search-amenity-filter:disabled.is-selected {
  opacity: 0.38;
  color: var(--ink-muted);
  background: var(--control);
  border-color: var(--hairline);
}

.search-amenity-filter__icon.terrasse-amenity__icon,
.search-amenity-filter .terrasse-amenity__icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  opacity: 1;
  color: var(--ink);
}

.search-amenity-filter__icon svg,
.search-amenity-filter .terrasse-amenity__icon svg,
.search-amenity-filter .terrasse-amenity__icon img {
  width: 16px;
  height: 16px;
}

.search-amenity-filter.is-selected .terrasse-amenity__icon {
  color: #fff;
}

.search-amenity-filter.is-selected .terrasse-amenity__icon--img img {
  filter: contrast(1.75) brightness(0.78) invert(1);
}

.search-tools__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.search-tools__toggle input {
  position: absolute;
  opacity: 0;
}

.search-tools__switch {
  position: relative;
  width: 48px;
  height: 29px;
  border-radius: 16px;
  background: rgba(95, 90, 82, 0.2);
  transition: background 170ms ease;
}

.search-tools__switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(31, 30, 27, 0.16);
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.search-tools__toggle input:checked + .search-tools__switch {
  background: var(--accent);
}

.search-tools__toggle input:checked + .search-tools__switch::after {
  transform: translateX(19px);
}

#search-pane-plan,
#plan-terrasse-inline {
  position: relative;
  transform: none;
  touch-action: manipulation;
}

.plan-terrasse-dialog.is-inline {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  touch-action: manipulation;
}

.plan-terrasse-dialog.is-inline .plan-terrasse-form {
  padding: 0;
}

.search-tools-panel .search-tools__pane {
  flex: 1 1 auto;
  min-height: 0;
}

.search-tools-panel #search-pane-now:not(.is-hidden) {
  overflow-y: auto;
  overflow-x: visible;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.search-tools-panel #search-pane-now:not(.is-hidden) .exposure-filter,
.search-tools-panel #search-pane-now:not(.is-hidden) .exposure-filter__toggles {
  overflow: visible;
}

.search-tools-panel.is-plan-mode .tool-sheet__header {
  margin-bottom: 10px;
}

.search-tools-panel.is-plan-mode .search-tools__modes {
  margin-bottom: 10px;
}

.search-tools-panel #search-pane-plan {
  flex: 0 0 auto;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: manipulation;
}

.plan-terrasse-form--sheet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
  row-gap: 8px;
}

.plan-terrasse-form__schedule {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.plan-terrasse-form__schedule .plan-terrasse-form__row--date {
  min-width: 0;
}

.plan-terrasse-form__schedule .plan-terrasse-form__row--time {
  min-width: 0;
  overflow: visible;
}

.plan-terrasse-form--sheet .plan-terrasse-form__row--where,
.plan-terrasse-form--sheet .search-tools__group,
.plan-terrasse-form--sheet .plan-terrasse-form__types,
.plan-terrasse-form--sheet .plan-terrasse-form__status,
.plan-terrasse-form--sheet .plan-terrasse-form__submit {
  grid-column: 1 / -1;
}

.plan-terrasse-form--sheet .plan-terrasse-form__row {
  gap: 4px;
  font-size: 11px;
  font-weight: 750;
}

.plan-terrasse-form--sheet .plan-terrasse-form__row input[type="text"],
.plan-terrasse-form--sheet .plan-terrasse-form__row input[type="number"],
.plan-terrasse-form--sheet .plan-terrasse-form__row input[type="date"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--hairline);
  border-radius: 13px;
  color: var(--ink);
  background: var(--control);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 34px;
  text-align: left;
}

.plan-terrasse-form--sheet .plan-terrasse-form__row input[type="date"] {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 34px;
}

.plan-terrasse-form--sheet .plan-terrasse-form__row input[type="date"]::-webkit-date-and-time-value {
  display: flex;
  align-items: center;
  min-height: 34px;
  text-align: left;
}

.plan-terrasse-form--sheet .plan-terrasse-form__row input[type="date"]::-webkit-datetime-edit {
  padding: 0;
}

.plan-terrasse-form--sheet .plan-terrasse-form__row input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.plan-time-picker {
  position: relative;
  width: 100%;
}

.plan-time-picker__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 34px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--hairline);
  border-radius: 13px;
  color: var(--ink);
  background: var(--control);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.plan-time-picker__trigger:hover {
  border-color: var(--accent);
}

.plan-time-picker.is-open .plan-time-picker__trigger {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.plan-time-picker__popover {
  z-index: 50;
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  color: var(--ink);
  background: var(--surface-strong);
  box-shadow: var(--shadow-float);
  pointer-events: auto;
}

.plan-time-picker__popover[hidden] {
  display: none !important;
}

.plan-time-picker__wheels {
  display: flex;
  align-items: center;
  gap: 4px;
}

.plan-time-picker__wheels .plan-terrasse-form__time-sep {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.plan-time-wheel {
  --plan-wheel-item: 30px;
  --plan-wheel-viewport: 90px;
  position: relative;
  flex: 0 0 auto;
}

.plan-time-wheel__viewport {
  position: relative;
  width: 46px;
  height: var(--plan-wheel-viewport);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-snap-type: y mandatory;
  touch-action: pan-y;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--control);
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 22%,
    #000 78%,
    transparent 100%
  );
}

.plan-time-wheel__viewport::-webkit-scrollbar {
  display: none;
}

.plan-time-wheel__viewport::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: var(--plan-wheel-item);
  margin-top: calc(var(--plan-wheel-item) / -2);
  border-radius: 8px;
  background: var(--accent-tint);
  pointer-events: none;
  z-index: 0;
}

.plan-time-wheel__list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-time-wheel__pad {
  display: block;
  height: calc((var(--plan-wheel-viewport) - var(--plan-wheel-item)) / 2);
  pointer-events: none;
}

.plan-time-wheel__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: var(--plan-wheel-item);
  margin: 0;
  padding: 0;
  border: 0;
  scroll-snap-align: center;
  color: var(--ink-muted);
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.plan-time-wheel__item.is-selected {
  color: var(--accent-hover);
  font-weight: 800;
}

.plan-time-wheel__item.is-muted {
  color: rgba(120, 115, 105, 0.42);
  cursor: not-allowed;
}

.plan-time-wheel__item.is-muted.is-selected {
  color: rgba(120, 115, 105, 0.42);
}

:root[data-ui-theme="dark"] .plan-time-wheel__item.is-muted {
  color: rgba(180, 175, 165, 0.26);
}

.plan-time-wheel__item:disabled {
  pointer-events: none;
}

.plan-terrasse-form__chips--scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  margin-top: 0;
  overflow-x: auto;
  overscroll-behavior: contain;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.plan-terrasse-form__chips--scroll::-webkit-scrollbar {
  display: none;
}

.plan-terrasse-form--sheet .plan-terrasse-form__chip {
  flex: 0 0 auto;
  padding: 3px 9px;
  font-size: 10px;
}

.plan-terrasse-form--sheet .search-tools__group {
  margin: 0;
}

.plan-terrasse-form--sheet .exposure-filter legend {
  margin-bottom: 4px;
  font-size: 11px;
}

.plan-terrasse-form--sheet .exposure-filter__toggles {
  gap: 14px 20px;
}

.plan-terrasse-form--sheet .exposure-toggle__label {
  font-size: 13px;
}

.plan-terrasse-form--sheet .plan-terrasse-form__types {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior: contain;
  touch-action: pan-x;
  scrollbar-width: none;
}

.plan-terrasse-form--sheet .plan-terrasse-form__types::-webkit-scrollbar {
  display: none;
}

.plan-terrasse-form--sheet .plan-terrasse-form__types legend {
  flex: 0 0 auto;
  margin: 0;
  font-size: 11px;
}

.plan-terrasse-form--sheet .plan-terrasse-form__types button {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 10px;
  font-size: 11px;
}

.plan-terrasse-form--sheet .plan-terrasse-form__status {
  min-height: 0;
}

.plan-terrasse-form--sheet .plan-terrasse-form__status:empty {
  display: none;
}

.plan-terrasse-form--sheet .plan-terrasse-form__submit {
  height: 36px;
  margin-top: 0;
  font-size: 13px;
}

.settings-list {
  display: grid;
  gap: 7px;
}

.settings-language {
  display: contents;
}

.settings-view.is-hidden {
  display: none;
}

.settings-view {
  min-width: 0;
  max-width: 100%;
}

.settings-panel {
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: hidden;
}

.settings-back {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin: 0 0 10px;
  padding: 0 6px;
  border: 0;
  border-radius: 12px;
  color: var(--accent-hover);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.settings-back__chev {
  font-size: 16px;
  line-height: 1;
}

.settings-language__panel {
  display: grid;
  gap: 7px;
}

.settings-language__panel.is-hidden {
  display: none;
}

.settings-language-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  color: var(--ink);
  background: var(--control);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.settings-language-option[aria-pressed="true"] {
  color: #fff;
  border-color: transparent;
  background: var(--accent);
}

.settings-language-option--muted {
  color: var(--muted);
  font-weight: 650;
}

.settings-notifications__hint {
  margin: 0 6px 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.settings-notifications__panel {
  display: grid;
  gap: 7px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  color: var(--ink);
  background: var(--control);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

a.settings-row {
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  cursor: pointer;
}

.settings-row strong {
  color: var(--accent-hover);
  font-size: 12px;
  font-weight: 750;
}

.settings-row.settings-row--donate {
  border-color: rgba(232, 166, 35, 0.42);
  color: #2a2318;
  background: linear-gradient(180deg, var(--sunny-hi) 0%, var(--sunny) 100%);
  box-shadow: 0 8px 20px rgba(232, 166, 35, 0.22);
}

.settings-row.settings-row--donate strong {
  display: none;
}

:root[data-ui-theme="dark"] .settings-row.settings-row--donate {
  border-color: rgba(244, 193, 75, 0.36);
  color: #2a2318;
  background: linear-gradient(180deg, var(--sunny-hi) 0%, var(--sunny) 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

@media (hover: hover) {
  .settings-row.settings-row--donate:hover {
    filter: brightness(1.03);
  }
}

.settings-row.theme-toggle strong {
  margin-left: auto;
}

.owner-contact-links {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.owner-contact-content {
  display: grid;
  gap: 12px;
  padding-bottom: 4px;
  min-width: 0;
  max-width: 100%;
}

.owner-flow-sheet {
  z-index: 14;
}

.owner-flow-sheet .tool-sheet__scrim {
  background: rgba(36, 39, 40, 0.34);
}

.owner-flow-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-sizing: border-box;
  background: var(--surface-strong);
  box-shadow: none;
}

.owner-flow-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 10px 10px;
  border-bottom: 1px solid var(--hairline);
  min-width: 0;
  max-width: 100%;
}

.owner-flow-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  min-width: 0;
  overflow-wrap: anywhere;
}

.owner-flow-back,
.owner-flow-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: var(--accent-hover);
  background: transparent;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.owner-flow-back__chev {
  font-size: 20px;
  font-weight: 800;
}

.owner-flow-body {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 14px 16px calc(18px + env(safe-area-inset-bottom, 0px));
}

html.ui-owner-flow-open {
  overflow: hidden;
}

html.ui-owner-flow-open body {
  overflow: hidden;
}

html.ui-owner-flow-open.ui-keyboard-open .owner-flow-body {
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px) + var(--keyboard-inset, 0px));
}

.owner-contact-link {
  display: block;
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  color: var(--accent-hover);
  background: var(--control);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  word-break: break-word;
}

.owner-contact-intro {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-muted, var(--ink));
  opacity: 0.88;
}

.owner-contact-cta {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--accent-hover);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.owner-choice__hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.4;
}

.owner-choice__actions {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.owner-form-panel {
  min-width: 0;
}

.owner-form-panel--locked .owner-form {
  opacity: 0.42;
  pointer-events: none;
  user-select: none;
  filter: grayscale(0.15);
}

.owner-form-panel--locked .owner-form :is(input, textarea, select, button) {
  cursor: not-allowed;
}

/* Modify: only the venue identity search is interactive until a terrace is picked */
.owner-form-panel--identify-only .owner-form > :not(.owner-field--name):not(.owner-suggestions) {
  opacity: 0.42;
  pointer-events: none;
  user-select: none;
  filter: grayscale(0.15);
}

.owner-form-panel--identify-only .owner-field--name,
.owner-form-panel--identify-only .owner-suggestions {
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
  filter: none;
  position: relative;
  z-index: 2;
}

.owner-form-panel--identify-only .owner-form__send {
  opacity: 0.42;
  pointer-events: none;
  cursor: not-allowed;
}

/* Nouveau nom: only in “modify” mode */
.owner-form:not(.owner-form--modify) #owner-new-name-field,
#owner-new-name-field.is-hidden,
#owner-new-name-field[hidden] {
  display: none !important;
}

.owner-choice__btn {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  color: var(--ink);
  background: var(--control);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.owner-choice__btn--selected {
  border-color: var(--accent-hover);
  color: var(--accent-hover);
  background: var(--accent-tint);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-hover) 35%, transparent);
}

.owner-form {
  display: grid;
  gap: 10px;
  padding-bottom: 8px;
  min-width: 0;
  max-width: 100%;
}

.owner-field {
  display: grid;
  gap: 4px;
}

.owner-field__label {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-muted, var(--ink));
  opacity: 0.8;
}

.owner-field__input {
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  color: var(--ink);
  background: var(--control);
  font: inherit;
  font-size: 14px;
}

.owner-field__textarea {
  min-height: 72px;
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.35;
  word-break: break-word;
}

.owner-field--comment {
  gap: 6px;
}

.owner-field__counter {
  align-self: flex-end;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--ink) 55%, transparent);
  user-select: none;
}


.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.owner-field-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  min-width: 0;
  max-width: 100%;
}

.owner-field--grow {
  flex: 1 1 auto;
  min-width: 0;
}

.owner-field--narrow {
  flex: 0 0 88px;
}

.owner-place-type {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  min-width: 0;
}

.owner-place-type > .owner-field__label {
  margin-bottom: 8px;
}

.owner-place-type__segments {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.owner-place-type__segments.is-invalid {
  outline: 2px solid rgba(229, 57, 53, 0.55);
  outline-offset: 3px;
  border-radius: 14px;
}

.owner-place-type__btn {
  flex: 1 1 0;
  min-width: 0;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink-muted);
  background: var(--control);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.owner-place-type__btn.is-selected {
  color: #fff;
  border-color: transparent;
  background: var(--accent);
}

.owner-coords__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.owner-coords__help {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--accent-hover);
  background: var(--control);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.owner-coords__hint {
  margin: 6px 0 8px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-muted, var(--ink));
  opacity: 0.9;
}

.owner-field__hint {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-muted, var(--ink));
  opacity: 0.88;
}

.owner-coords__hint.is-hidden {
  display: none;
}

.owner-hours {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  max-width: 100%;
}

.owner-hours__legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  padding: 0;
  margin-bottom: 8px;
}

.owner-hours__legend-text {
  min-width: 0;
  flex: 1 1 auto;
}

.owner-hours__apply-all {
  flex: 0 0 auto;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--control);
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.owner-hours__apply-all.is-hidden,
.owner-hours__apply-all[hidden] {
  display: none;
}

@media (hover: hover) {
  .owner-hours__apply-all:hover {
    border-color: color-mix(in srgb, var(--ink) 18%, var(--hairline));
  }
}

.owner-hours-grid {
  display: grid;
  gap: 6px;
}

.owner-hours-row {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 6px 8px;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--control);
  min-width: 0;
  max-width: 100%;
}

.owner-hours-row__day {
  font-size: 12px;
  font-weight: 800;
}

.owner-hours-row__closed {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 650;
}

.owner-hours-row__periods {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
}

.owner-hours-row__period {
  display: grid;
  grid-template-columns: minmax(0, 4.8rem) minmax(0, 1fr);
  gap: 6px 8px;
  align-items: center;
  min-width: 0;
}

.owner-hours-row__period-label {
  font-size: 10px;
  font-weight: 700;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
  line-height: 1.2;
  min-width: 0;
}

.owner-hours-row__times {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.owner-hours-row__times input[type="time"] {
  width: 5.6rem;
  max-width: calc(50% - 2px);
  min-width: 0;
  flex: 1 1 5rem;
  min-height: 32px;
  padding: 0 4px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
  background: var(--surface-strong);
}

.owner-search-wrap {
  display: grid;
  gap: 6px;
}

.owner-search-field {
  position: relative;
  display: block;
}

.owner-search-field .owner-field__input {
  width: 100%;
  padding-right: 38px;
  box-sizing: border-box;
}

.owner-search-field__clear {
  position: absolute;
  top: 50%;
  right: 6px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 999px;
  color: var(--ink-muted);
  background: transparent;
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transform: translateY(-50%);
  transition: color 0.15s ease, background 0.15s ease;
}

.owner-search-field__clear:hover {
  color: var(--ink);
  background: rgba(95, 90, 82, 0.08);
}

.owner-search-field__clear.is-hidden {
  display: none;
}

.owner-suggestions {
  display: grid;
  gap: 4px;
  max-height: 180px;
  overflow-y: auto;
}

.owner-suggestions.is-hidden {
  display: none;
}

.owner-suggestion {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  color: var(--ink);
  background: var(--surface-strong);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.owner-suggestion__title {
  font-size: 13px;
  font-weight: 750;
}

.owner-suggestion__detail {
  font-size: 11px;
  opacity: 0.75;
}

.owner-form__status {
  min-height: 1.2em;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--accent-hover);
}

.owner-form__status--error {
  color: #c62828;
}

.owner-form__send {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--accent-hover);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

/* Owner terrace placement — minimal map mode */
html.ui-owner-placement #map-search,
html.ui-owner-placement .sun-dial-bar,
html.ui-owner-placement .map-data-attribution,
html.ui-owner-placement #terrasse-sheet,
html.ui-owner-placement #user-location-canvas {
  visibility: hidden !important;
  pointer-events: none !important;
}

html.ui-owner-placement #owner-placement-bar:not(.is-hidden) {
  visibility: visible !important;
  pointer-events: auto !important;
}

.owner-placement-bar {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: 14px;
  right: 14px;
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 8px 10px;
  box-sizing: border-box;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.owner-placement-bar.is-hidden {
  display: none !important;
}

.owner-placement-bar__btn {
  flex-shrink: 0;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--terrasse-marker-outline);
  border-radius: 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 1px 1px rgba(48, 47, 43, 0.2);
  transition: filter 140ms ease, box-shadow 140ms ease;
}

.owner-placement-bar__btn--cancel {
  background: var(--terrasse-marker-displace);
  box-shadow: 0 2px 8px rgba(229, 57, 53, 0.22);
}

.owner-placement-bar__btn--confirm {
  background: var(--terrasse-marker-draft);
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
}

.owner-placement-bar__btn:hover {
  filter: brightness(1.06);
}

.owner-placement-bar__btn:active {
  filter: brightness(0.96);
}

.owner-placement-bar__hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  opacity: 0.9;
}

.owner-placement-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.owner-placement-actions {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.owner-placement-map-btn {
  flex: 1;
  width: auto;
  min-height: 44px;
  border: 1px solid var(--accent-hover);
  border-radius: 14px;
  color: var(--accent-hover);
  background: color-mix(in srgb, var(--accent-hover) 10%, transparent);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.owner-placement-add-btn {
  flex: 0 0 44px;
  width: 44px;
  min-height: 44px;
  border: 1px solid var(--accent-hover);
  border-radius: 14px;
  color: var(--accent-hover);
  background: color-mix(in srgb, var(--accent-hover) 10%, transparent);
  font: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.owner-placement-add-btn.is-hidden,
.owner-placement-map-btn.is-hidden {
  display: none;
}

.owner-placement-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.owner-placement-list.is-hidden {
  display: none;
}

.owner-placement-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

.owner-placement-list__meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.owner-placement-list__meta strong {
  font-size: 13px;
  font-weight: 750;
}

.owner-placement-list__meta span {
  font-size: 12px;
  line-height: 1.35;
  color: color-mix(in srgb, var(--ink) 70%, transparent);
  word-break: break-word;
}

.owner-placement-list__actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.owner-placement-list__btn {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--control);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.owner-placement-list__btn--remove {
  color: color-mix(in srgb, #b42318 80%, var(--ink));
}

.owner-placement-coords {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  user-select: none;
}

.plan-terrasse-dialog[open] {
  animation: modalRise 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modalRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .tool-sheet__panel.search-tools-panel.is-plan-mode {
    overflow: hidden;
    touch-action: manipulation;
  }

  html.ui-keyboard-open .tool-sheet__panel.search-tools-panel {
    top: env(safe-area-inset-top, 0px);
    bottom: var(--keyboard-inset, 0px);
    max-height: none;
    height: auto;
    padding-bottom: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  html.ui-keyboard-open .search-tools-panel #search-pane-now:not(.is-hidden) {
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  html.ui-keyboard-open .search-tools-panel .terrasse-lookup {
    position: sticky;
    top: 0;
    z-index: 6;
    margin-top: 0;
    padding-top: 4px;
    padding-bottom: 10px;
    background: var(--surface-strong);
  }

  html.ui-keyboard-open .tool-sheet__panel.search-tools-panel.is-plan-mode {
    overflow-y: auto;
    touch-action: pan-y;
  }

  html.ui-keyboard-open .search-tools-panel #search-pane-plan {
    overflow: visible;
    touch-action: pan-y;
  }

  .tool-sheet__panel {
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    width: auto;
    max-width: 100%;
    max-height: min(82dvh, 620px);
    overflow-x: hidden;
    padding: 8px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    border-radius: 28px 28px 0 0;
    transform-origin: bottom center;
    transition:
      bottom 180ms ease,
      max-height 180ms ease,
      transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 220ms ease;
  }

  .settings-panel.settings-panel--subview {
    max-height: min(90dvh, 720px);
  }

  .owner-flow-panel {
    border-radius: 0;
  }

  .tool-sheet.is-hidden .tool-sheet__panel {
    transform: translateY(34px);
  }

  .tool-sheet__handle {
    display: block;
    width: 38px;
    height: 5px;
    margin: 2px auto 14px;
    border-radius: 99px;
    background: rgba(95, 90, 82, 0.24);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-sheet,
  .tool-sheet__panel,
  .search-tools__pane,
  .search-tools__mode,
  .exposure-toggle__dot,
  .search-tools__switch,
  .search-tools__switch::after,
  .plan-terrasse-dialog[open] {
    animation: none;
    transition: none;
  }
}

.plan-results {
  position: fixed;
  top: calc(10px + env(safe-area-inset-top, 0px));
  left: auto;
  right: 10px;
  bottom: auto;
  z-index: 4;
  height: auto;
  max-width: min(390px, calc(100vw - 20px));
}

.plan-results.is-expanded {
  width: min(390px, calc(100vw - 20px));
}

.plan-results__actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
}

.plan-results__title {
  min-width: 0;
}

.plan-results__actions .plan-results__more,
.plan-results__toggle {
  width: auto;
  margin: 0;
  padding: 4px 9px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
}

.plan-results__actions .plan-results__more {
  color: var(--accent-hover);
  background: var(--accent-soft);
}

.plan-results__toggle {
  color: var(--accent-hover);
  background: var(--control);
}

.plan-results:not(.is-expanded) {
  width: fit-content;
  left: auto;
  right: 10px;
  padding: 7px;
  border-radius: 999px;
}

.plan-results:not(.is-expanded) .plan-results__header {
  align-items: center;
  padding-bottom: 0;
}

.plan-results:not(.is-expanded) .plan-results__title {
  max-width: min(30vw, 120px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-results:not(.is-expanded) .plan-results__list {
  display: none;
}

/* Bottom dock — match top search panel lightness */
.sun-dial-bar {
  background: var(--panel);
  border-top: 1px solid var(--panel-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

:root[data-ui-theme="dark"] .sun-dial-bar {
  background: var(--panel);
}

.sun-dial {
  --sun-dial-panel-bg: var(--panel);
  --sun-dial-credits-bg: var(--control);
}

:root[data-ui-theme="dark"] .sun-dial {
  --sun-dial-panel-bg: var(--panel);
  --sun-dial-credits-bg: var(--control);
}

.sun-dial__slider-tray {
  background: var(--control);
  border: 1px solid var(--hairline);
}

:root[data-ui-theme="dark"] .sun-dial__slider-tray {
  background: var(--control);
}

.sun-dial__head .sun-now-toggle {
  background: var(--control);
  border: 1px solid var(--hairline);
}

:root[data-ui-theme="dark"] .sun-dial__head .sun-now-toggle {
  background: var(--control);
  border: 1px solid var(--hairline);
}

.sun-dial__head .sun-now-toggle[aria-pressed="true"] {
  background: var(--control-hover);
}

/* Dark mode: slider thumb stays yellow + white like light mode */
:root[data-ui-theme="dark"] .sun-dial__thumb-ring {
  fill: #fff8eb;
  stroke: var(--sunny-hi);
  stroke-width: 1.75;
}

:root[data-ui-theme="dark"] .sun-dial__thumb-core {
  fill: var(--sunny);
}

/* Bottom dock — rounded top corners (full width) */
.sun-dial-bar {
  left: 0;
  right: 0;
  width: 100%;
  border-radius: 24px 24px 0 0;
  corner-shape: squircle;
  overflow: hidden;
  clip-path: none;
}

@media (max-width: 760px) {
  .sun-dial-bar {
    border-radius: 22px 22px 0 0;
  }
}

/* Clock row: hour + sync-to-now button centered over the dock */
.sun-dial__head {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
}

.sun-dial__clock {
  justify-self: center;
  text-align: center;
}

/* >>> BEGIN CHANGE theme=dock-vertical-compact <<< */
.sun-dial__clock {
  gap: 1px;
}
/* >>> END CHANGE theme=dock-vertical-compact <<< */

/* Planned day — pulse reset hint (last so layout rules do not block scale) */
.sun-dial__head .sun-now-toggle.is-reset-hint {
  transform-origin: center center;
  animation: sun-reset-hint-pulse 1.1s ease-in-out 0.1s infinite;
}

/* >>> BEGIN CHANGE author=Gloria when=2026-06-18T09:14:43Z theme=slider-thumb-clip-fix <<< */
.sun-dial__slider-tray {
  overflow: visible;
}

.sun-dial__slider-tray .sun-dial__svg {
  overflow: visible;
  height: 76px;
}
/* >>> END CHANGE author=Gloria when=2026-06-18T09:14:43Z theme=slider-thumb-clip-fix <<< */

/* >>> BEGIN CHANGE author=Gloria when=2026-06-18T09:57:04Z theme=charging-hide-attribution <<< */
body:has(.app-launch-overlay.is-active:not([hidden])) .map-data-attribution {
  display: none !important;
}

.app-launch-overlay.is-active {
  z-index: 100000;
}
/* >>> END CHANGE author=Gloria when=2026-06-18T09:57:04Z theme=charging-hide-attribution <<< */

/* App tour — light first-launch guide (map stays visible) */
html.ui-app-tour-open .tool-sheet:not(.app-tour *) {
  pointer-events: none;
}

html.ui-app-tour-map-focus .app-tour__blocker {
  background: transparent;
}

html.ui-app-tour-map-focus .app-tour__ring {
  opacity: 0;
}

.app-tour {
  position: fixed;
  inset: 0;
  z-index: 100020;
  pointer-events: none;
}

.app-tour:not([hidden]) {
  pointer-events: none;
}

.app-tour__blocker {
  position: fixed;
  inset: 0;
  background: transparent;
  pointer-events: auto;
}

.app-tour--sheet-focus .app-tour__blocker {
  background: rgba(16, 18, 20, 0.14);
}

.app-tour__ring {
  position: fixed;
  pointer-events: none;
  border: 1.5px solid rgba(52, 127, 190, 0.72);
  box-shadow:
    0 0 0 3px rgba(52, 127, 190, 0.1),
    0 4px 18px rgba(52, 127, 190, 0.12);
  background: rgba(255, 255, 255, 0.06);
  transition:
    top 260ms ease,
    left 260ms ease,
    width 260ms ease,
    height 260ms ease,
    border-radius 260ms ease,
    opacity 260ms ease;
}

:root[data-ui-theme="dark"] .app-tour__ring {
  border-color: rgba(159, 199, 226, 0.78);
  box-shadow:
    0 0 0 3px rgba(159, 199, 226, 0.12),
    0 4px 18px rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.app-tour__tooltip {
  position: fixed;
  z-index: 2;
  max-width: min(268px, calc(100vw - 28px));
  padding: 10px 12px 10px;
  border-radius: 14px;
  background: rgba(244, 241, 234, 0.94);
  border: 1px solid rgba(95, 90, 82, 0.14);
  box-shadow: 0 10px 28px rgba(36, 39, 40, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  pointer-events: auto;
}

:root[data-ui-theme="dark"] .app-tour__tooltip {
  background: rgba(36, 39, 40, 0.92);
  border-color: rgba(247, 240, 223, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.app-tour__dots {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.app-tour__dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(52, 127, 190, 0.22);
}

.app-tour__dot.is-active {
  width: 14px;
  background: rgba(52, 127, 190, 0.82);
}

.app-tour__dot.is-done {
  background: rgba(52, 127, 190, 0.45);
}

.app-tour__title {
  margin: 0 0 4px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.25;
}

.app-tour__body {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(36, 39, 40, 0.68);
}

.app-tour__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.app-tour__skip,
.app-tour__next {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}

.app-tour__skip {
  margin-right: auto;
  border: none;
  background: transparent;
  color: rgba(36, 39, 40, 0.52);
  padding-left: 0;
}

.app-tour__next {
  border: none;
  background: rgba(52, 127, 190, 0.92);
  color: #fff;
}

.app-tour__next:focus-visible,
.app-tour__skip:focus-visible {
  outline: 2px solid rgba(52, 127, 190, 0.45);
  outline-offset: 2px;
}

:root[data-ui-theme="dark"] .app-tour__body {
  color: rgba(247, 240, 223, 0.68);
}

:root[data-ui-theme="dark"] .app-tour__skip {
  color: rgba(247, 240, 223, 0.52);
}

:root[data-ui-theme="dark"] .app-tour__dot {
  background: rgba(159, 199, 226, 0.24);
}

:root[data-ui-theme="dark"] .app-tour__dot.is-active {
  background: rgba(159, 199, 226, 0.88);
}

:root[data-ui-theme="dark"] .app-tour__dot.is-done {
  background: rgba(159, 199, 226, 0.48);
}

/* ——— Embed mode (`?embed=1`) — marketing web iframe only (not iOS/Android apps) ——— */
html.embed #settings-toggle,
html.embed #settings-sheet,
html.embed #favorites-toggle,
html.embed #favorites-sheet,
html.embed .app-tour,
html.embed #app-launch-overlay,
html.embed .app-launch-donate-slot,
html.embed #credits-dialog,
html.embed #credits-backdrop,
html.embed .tip-jar-backdrop,
html.embed .tip-jar-dialog,
html.embed #owner-flow-sheet,
html.embed #owner-placement-bar {
  display: none !important;
}

/* Hide unfinished chrome until bootstrap posts ready to the parent shell */
html.embed:not(.embed-ready),
html.embed:not(.embed-ready) body {
  background: #fff !important;
}

html.embed:not(.embed-ready) body {
  opacity: 0;
  pointer-events: none;
}

html.embed.embed-ready body {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.35s ease;
}

html.embed .embed-only {
  display: inline-grid !important;
}

html.embed .search-panel.search-panel--tools {
  grid-template-columns: 40px 40px 40px;
}

.embed-only {
  display: none !important;
}

#embed-fullscreen .embed-fullscreen__exit[hidden],
#embed-fullscreen .embed-fullscreen__enter[hidden] {
  display: none !important;
}

html.embed {
  --sun-dial-bar-h: 176px;
  --sun-dial-dock-clearance: calc(176px + env(safe-area-inset-bottom, 0px));
}

html.embed body {
  overscroll-behavior: none;
}

/* Block map clicks through the bottom dock (embed iframe only) */
html.embed .sun-dial-bar {
  pointer-events: auto;
  touch-action: none;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}

html.embed .sun-dial {
  padding: 12px 18px 20px;
  gap: 12px;
  min-height: var(--sun-dial-bar-h);
}

html.embed .sun-dial__head-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
}

html.embed .sun-dial__head .sun-dial-weather,
html.embed .sun-dial__head .sun-dial-weather::before {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
}

html.embed .sun-dial__head .sun-dial-weather {
  flex: 0 0 auto;
  border: none;
  border-radius: 50%;
  background: var(--sun-dial-credits-bg, #fffefb);
  box-shadow: var(--sun-dial-credits-shadow);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

html.embed .sun-dial__head .sun-dial-weather::before {
  inset: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  transform: none !important;
}

html.embed .sun-dial__head .sun-dial-weather .weather-icon {
  font-size: 16px !important;
  line-height: 1;
}

html.embed .sun-dial__head .sun-dial-weather .weather-icon svg {
  width: 16px !important;
  height: 16px !important;
  display: block;
}

html.embed .sun-dial-bar .sun-dial__slider-tray,
html.embed .sun-dial-bar .sun-dial__svg,
html.embed .sun-dial-bar .sun-dial-weather,
html.embed .sun-dial-bar .sun-now-toggle {
  touch-action: manipulation;
}

/* Attribution: centered with room above the iframe bottom */
html.embed .map-data-attribution,
html.embed .sun-dial-bar__attribution {
  bottom: 16px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  text-align: center !important;
  width: max-content !important;
  max-width: calc(100vw - 24px) !important;
  line-height: 1.35 !important;
  padding: 0 8px !important;
}

html.embed .terrasse-sheet {
  /* Above sun-dial / search chrome so details are readable in the marketing iframe */
  z-index: 30 !important;
  --terrasse-sheet-max-h: min(70dvh, 70vh);
  --terrasse-sheet-bridge-h: 8px;
}

html.embed .terrasse-sheet.is-open {
  visibility: visible !important;
  pointer-events: auto !important;
}

html.embed .terrasse-sheet__fill {
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

html.embed .terrasse-popup {
  max-height: var(--terrasse-sheet-max-h, min(70dvh, 70vh));
}

html.embed .terrasse-sheet__handle {
  width: 48px;
  height: 5px;
  margin: 8px auto 10px;
  background: rgba(95, 90, 82, 0.38);
}
