*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --surface: #fff;
  --surface2: #e8e6dc;
  --border: rgba(0, 0, 0, 0.09);
  --border-hover: rgba(0, 0, 0, 0.18);
  --text: #1a1a1a;
  --text-muted: #8a8878;
  --text-placeholder: #b0ae9e;
  --accent: #e03e3e;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 50px;
  --sidebar: 344px;
  --detail: 320px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.14);
}

body {
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  background: #c2c5a2;
  color: var(--text);
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 80% at -5% -5%,
      rgba(185, 198, 148, 1) 0%,
      transparent 50%),
    radial-gradient(ellipse 70% 60% at 105% 105%,
      rgba(165, 185, 135, 0.9) 0%,
      transparent 50%),
    radial-gradient(ellipse 50% 50% at 55% 25%,
      rgba(205, 212, 168, 0.5) 0%,
      transparent 45%),
    #c2c5a2;
}

/* NAV */
nav {
  position: relative;
  z-index: 200;
  min-height: 64px;
  background: #ffffff;
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px 12px;
  gap: 14px;
  flex-shrink: 0;
}

/* Brand lockup: mjuk symbol + tung wordmark */
.logo.brand-lockup {
  display: inline-flex;
  align-items: center;
  color: #090909;
  text-decoration: none;
  line-height: 1;
}

.brand-lockup .brand-image {
  display: block;
  width: auto;
  height: 34px;
  object-fit: contain;
}

.brand-lockup--hero {
  margin-bottom: 28px;
}

.brand-lockup--hero .brand-image,
.brand-image--hero {
  height: 48px;
}

.ob-logo.brand-lockup {
  justify-content: center;
}

.ui-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.trip-pill {
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, 0.14);
  border-radius: var(--radius-pill);
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    background 0.1s ease,
    border-color 0.1s ease,
    transform 0.1s ease;
}

.trip-pill:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.24);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatars {
  display: flex;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(242, 240, 232, 0.9);
  margin-left: -7px;
  font-size: 11px;
  font-weight: 500;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatars .avatar:first-child {
  margin-left: 0;
}

.btn-share {
  background: var(--text);
  color: white;
  border: none;
  min-height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}

.btn-share .ui-icon {
  width: 14px;
  height: 14px;
}

.btn-share-label--mobile {
  display: none;
}

.btn-share:hover {
  background: #333;
}

.btn-share.is-open {
  background: #333;
}

/* LAYOUT */
.app-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* SIDEBAR */
.sidebar {
  width: var(--sidebar);
  background: #fff;
  backdrop-filter: blur(12px);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 100;
}

.sidebar-grabber {
  display: none;
}

.sidebar-top {
  padding: 14px 0px 10px 10px;
  border-bottom: 1px solid var(--border);
}

.trip-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding-right: 10px;
}

.trip-title {
  font-family: Goodman, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  width: 100%;
  caret-color: var(--accent);
  cursor: text;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s;
  padding-bottom: 1px;
}

.trip-title::placeholder {
  color: var(--text-placeholder);
  font-style: italic;
  font-weight: 400;
}

.trip-title:hover {
  border-bottom-color: var(--border-hover);
}

.trip-title:focus {
  border-bottom-color: var(--accent);
}

.edit-pencil {
  color: var(--text-placeholder);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.12s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.edit-pencil .ui-icon {
  width: 13px;
  height: 13px;
}

.edit-pencil:hover {
  color: var(--text-muted);
}

.trip-pill--icon {
  padding: 0;
  width: 42px;
  height: 42px;
  justify-content: center;
  flex-shrink: 0;
}

.trip-pill--icon .ui-icon {
  width: 15px;
  height: 15px;
}

.cat-row {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.cat-row::-webkit-scrollbar {
  display: none;
}

.cat-chip {
  background: var(--cat-chip-bg, var(--surface2));
  border: 1.5px solid var(--cat-chip-border, transparent);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  min-height: 34px;
  font-size: 11px;
  white-space: nowrap;
  cursor: pointer;
  color: var(--cat-chip-color, var(--text-muted));
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  transition: all 0.12s;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.cat-chip--manage {
  border-color: rgba(26, 26, 26, 0.08);
}

.cat-chip--manage:hover {
  border-color: rgba(26, 26, 26, 0.16);
}

.cat-chip .ui-icon {
  width: 13px;
  height: 13px;
}

.cat-chip:hover {
  color: var(--cat-chip-color, var(--text));
  border-color: var(--cat-chip-active-border, rgba(26, 26, 26, 0.14));
}

.cat-chip.on {
  background: var(--cat-chip-active-bg, var(--text));
  color: var(--cat-chip-active-text, white);
  border-color: var(--cat-chip-active-border, var(--text));
}

.place-list {
  flex: 1;
  overflow-y: auto;
  padding: 2px 0 8px;
}

.place-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 12px 14px;
  margin-bottom: 0;
  cursor: pointer;
  transition: all 0.12s;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  animation: slideIn 0.2s ease both;
}

.place-card::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.place-card:last-child::after {
  display: none;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.place-card:hover {
  background: rgba(0, 0, 0, 0.03);
}

.place-card.active {
  background: rgba(0, 0, 0, 0.045);
}

.place-card.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: var(--accent);
}

.place-card.visited {
  opacity: 0.72;
}

.place-card.visited .place-name,
.place-card.visited .place-meta,
.place-card.visited .place-note-preview {
  color: #7e7c70;
}

.place-card.visited .place-name {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(26, 26, 26, 0.22);
}

.place-emoji-box {
  width: 36px;
  height: 36px;
  background: var(--place-icon-bg, rgba(0, 0, 0, 0.05));
  border-radius: 999px;
  border: 1px solid var(--place-icon-border, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--place-icon-color, var(--text-muted));
  flex-shrink: 0;
}

.place-emoji-box .ui-icon {
  width: 17px;
  height: 17px;
}

.place-info {
  flex: 1;
  min-width: 0;
}

.place-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.place-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.35;
}

.place-note-preview {
  font-size: 12px;
  color: rgba(26, 26, 26, 0.58);
  margin-top: 5px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.place-inline-action {
  margin-top: 6px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  cursor: pointer;
  transition: color 0.12s;
}

.place-inline-action:hover {
  color: var(--text);
}

.place-top-picks-meta {
  margin-top: 6px;
}

.place-top-picks-likes {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}

.place-top-picks-likes .ui-icon {
  width: 12px;
  height: 12px;
  color: var(--accent);
}

.place-card-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  margin-left: auto;
  flex-shrink: 0;
  padding-top: 2px;
}

.place-visit-toggle {
  align-self: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  color: var(--text-placeholder);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.12s,
    border-color 0.12s,
    background 0.12s,
    color 0.12s;
}

.place-visit-toggle .ui-icon {
  width: 14px;
  height: 14px;
}

.place-visit-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 0, 0, 0.18);
  color: var(--text);
}

.place-visit-toggle.is-active {
  background: #ebf7ef;
  border-color: rgba(27, 126, 63, 0.18);
  color: #1f7a46;
}

.add-btn {
  margin: 8px;
  background: var(--text);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px;
  font-size: 14px;
  font-weight: 500;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.15s;
  flex-shrink: 0;
}

.add-btn:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.sidebar-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 0px 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-tab {
  flex: 1;
  padding: 8px;
  font-size: 13px;
  font-weight: 500;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.15s;
  margin-bottom: -1px;
}

.sidebar-tab.on {
  color: var(--text);
  border-bottom-color: var(--text);
}

.sidebar-tab:hover {
  color: var(--text);
}

#viewPlatser,
#viewTopPicks,
#viewDagplan {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}

.day-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}

.day-block {
  margin-bottom: 10px;
}

.day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px;
}

.day-label {
  font-family: Goodman, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.day-date {
  font-size: 11px;
  color: var(--text-muted);
}

.day-items {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 44px;
}

.day-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  animation: slideIn 0.2s ease both;
}

.day-item.visited {
  opacity: 0.72;
}

.day-item.visited .day-item-name {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(26, 26, 26, 0.22);
}

.day-item-emoji {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.day-item-emoji .ui-icon {
  width: 16px;
  height: 16px;
}

.day-item-info {
  flex: 1;
  min-width: 0;
}

.day-item-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.day-item-cat {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 1px;
}

.day-item-remove {
  background: none;
  border: none;
  color: var(--text-placeholder);
  cursor: pointer;
  font-size: 14px;
  padding: 0 2px;
  line-height: 1;
  transition: color 0.12s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.day-item-remove .ui-icon {
  width: 14px;
  height: 14px;
}

.day-item-remove:hover {
  color: var(--accent);
}

.day-empty {
  border: 1.5px dashed rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  font-size: 11px;
  color: var(--text-placeholder);
}

.place-add-day {
  align-self: center;
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 4px 0 4px 10px;
  font-size: 12px;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.12s;
}

.place-add-day:hover {
  color: var(--text);
}

.day-select-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.35);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.day-select-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.day-select-modal {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 18px 18px 16px;
  width: 340px;
  max-width: 94vw;
  box-shadow: 0 22px 48px rgba(15, 15, 15, 0.16);
  transform: translateY(14px);
  transition: transform 0.22s;
}

.day-select-overlay.open .day-select-modal {
  transform: translateY(0);
}

.day-select-title {
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.day-select-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.day-select-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 280px;
  overflow-y: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.day-select-item {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 14px 2px;
  cursor: pointer;
  transition: all 0.12s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
}

.day-select-item+.day-select-item {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.day-select-item:hover {
  background: rgba(0, 0, 0, 0.025);
}

.day-select-item-label {
  font-size: 14px;
  font-weight: 500;
}

.day-select-item-date {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.day-cancel {
  width: 100%;
  margin-top: 12px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 10px 4px;
  font-size: 13px;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.12s;
}

.day-cancel:hover {
  color: var(--text);
}

/* MAP */
#map {
  flex: 1;
  z-index: 1;
  transition: margin-right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#map.panel-open {
  margin-right: var(--detail);
}

/* DETAIL PANEL */
.detail-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: var(--detail);
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 150;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
}

.detail-panel.open {
  transform: translateX(0);
}

/* Cover photo area */
.detail-cover {
  width: 100%;
  height: 180px;
  background: linear-gradient(145deg, #dde0c6, #cdd0b0);
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  overflow: hidden;
}

.detail-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      transparent 40%,
      rgba(242, 240, 232, 0.6) 100%);
}

.detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  background: rgba(242, 240, 232, 0.85);
  backdrop-filter: blur(6px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.12s;
  z-index: 2;
}

.detail-close .ui-icon {
  width: 14px;
  height: 14px;
}

.detail-close:hover {
  background: var(--surface);
  color: var(--text);
}

.detail-close--panel {
  display: none;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
}

.detail-cat-badge {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(242, 240, 232, 0.9);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.detail-cat-badge .ui-icon {
  width: 14px;
  height: 14px;
}

/* Detail body */
.detail-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.detail-google-hero {
  margin: 0 -16px 14px;
}

.detail-google-kit-wrap--hero {
  margin: 0;
}

.detail-panel--google-place .detail-cover {
  display: none;
}

.detail-panel--google-place .detail-close--panel {
  display: flex;
}

.detail-panel--google-place .detail-title {
  display: none;
}

.detail-tabs {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  margin: 2px 0 2px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.detail-tab {
  position: relative;
  min-height: 44px;
  padding: 0 2px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  cursor: pointer;
  transition:
    color 0.12s,
    opacity 0.12s;
}

.detail-tab.on {
  color: var(--text);
}

.detail-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: transparent;
  transition: background 0.12s;
}

.detail-tab.on::after {
  background: var(--text);
}

.detail-tab:hover {
  color: var(--text);
}

.detail-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 6px;
}

.detail-added {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.detail-added-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 500;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

#detailEmoji {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(26, 26, 26, 0.82);
}

#detailEmoji .ui-icon {
  width: 58px;
  height: 58px;
}

/* Like button big */
.like-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.btn-like-big {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-pill);
  padding: 0 16px;
  min-height: 42px;
  font-size: 12px;
  font-weight: 500;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
  color: var(--text-muted);
}

.btn-like-big .ui-icon,
.btn-maps .ui-icon {
  width: 14px;
  height: 14px;
}

.btn-like-big:hover {
  border-color: rgba(0, 0, 0, 0.18);
  color: var(--text);
  background: rgba(0, 0, 0, 0.02);
}

.btn-like-big.liked {
  background: #fff5f5;
  border-color: rgba(224, 62, 62, 0.2);
  color: var(--accent);
}

.btn-maps {
  flex: 1;
  min-width: 0;
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-pill);
  padding: 0 16px;
  min-height: 42px;
  font-size: 12px;
  font-weight: 500;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  color: var(--text);
  transition:
    border-color 0.12s,
    background 0.12s,
    color 0.12s;
}

.btn-maps:hover {
  border-color: rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.03);
}

.btn-maps.detail-visit-btn-inline.is-active {
  background: #ebf7ef;
  border-color: rgba(27, 126, 63, 0.2);
  color: #1f7a46;
}

.btn-maps.detail-visit-btn-inline {
  padding-inline: 12px;
  font-size: 11px;
  letter-spacing: -0.01em;
}

/* Divider */
.detail-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 18px 0;
}

/* Note section */
.detail-section-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.detail-note {
  padding: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
  min-height: 0;
}

.detail-note.empty {
  color: var(--text-placeholder);
  font-style: italic;
}

.detail-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--detail-category-border, rgba(0, 0, 0, 0.08));
  background: var(--detail-category-bg, var(--surface2));
  color: var(--detail-category-color, var(--text-muted));
  font-size: 11px;
  line-height: 1;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  cursor: pointer;
  transition:
    border-color 0.12s,
    background 0.12s,
    color 0.12s,
    transform 0.12s;
}

.detail-category-chip .ui-icon {
  width: 12px;
  height: 12px;
}

.detail-category-chip:hover {
  transform: translateY(-1px);
  border-color: var(--detail-category-active-border, rgba(0, 0, 0, 0.18));
}

.detail-category-chip.is-active {
  background: var(--detail-category-active-bg, var(--text));
  border-color: var(--detail-category-active-border, var(--text));
  color: var(--detail-category-active-text, #fff);
}

.detail-delete-btn {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(170, 44, 44, 0.16);
  border-radius: 999px;
  background: rgba(170, 44, 44, 0.05);
  color: #9d3131;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  cursor: pointer;
  transition:
    background 0.12s,
    border-color 0.12s,
    color 0.12s;
}

.detail-delete-btn .ui-icon {
  width: 14px;
  height: 14px;
}

.detail-delete-btn:hover {
  background: rgba(170, 44, 44, 0.1);
  border-color: rgba(170, 44, 44, 0.24);
}

.detail-google-kit-wrap {
  margin: -4px 0 0;
  min-height: 0;
  --gmp-mat-font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  --gmp-mat-font-display-small: normal 900 22px/1.08 Goodman, "Times New Roman", serif;
  --gmp-mat-font-display-medium: normal 900 26px/1.04 var(--gmp-mat-font-family);
  --gmp-mat-font-headline-small: normal 900 22px/1.08 var(--gmp-mat-font-family);
  --gmp-mat-font-headline-medium: normal 900 26px/1.04 var(--gmp-mat-font-family);
  --gmp-mat-font-title-large: normal 800 20px/1.08 Goodman, "Times New Roman", serif;
  --gmp-mat-font-title-medium: normal 700 18px/1.12 Goodman, "Times New Roman", serif;
  --gmp-mat-font-title-small: normal 700 16px/1.14 Goodman, "Times New Roman", serif;
}

.detail-google-kit-wrap .contacts-section {
  gap: 0;
}

.detail-google-kit-wrap .contacts-row {
  min-height: 0;
  padding-block: 10px;
}

.detail-google-kit-wrap .contacts-row+.contacts-row,
.detail-google-kit-wrap gmp-internal-place-opening-hours+.contacts-row,
.detail-google-kit-wrap .contacts-section>*+* {
  margin-top: 0;
}

.detail-google-kit-wrap--reviews {
  margin: -6px -16px 0;
}

/* Who liked */
.liked-by {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.liked-by-chip {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.liked-by-chip .ui-icon {
  width: 12px;
  height: 12px;
  color: var(--accent);
}

/* Suggestions section */
.suggestion-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-empty-state {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 24px;
}

#detailBoka {
  padding-top: 14px;
}

#detailBoka .booking-buttons {
  gap: 12px;
}

#detailBoka .booking-disclosure {
  margin: 10px 6px 0;
  font-size: 11px;
}

.booking-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.booking-disclosure {
  margin: 16px 4px 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

.booking-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 92px;
  background: #fff;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 24px;
  padding: 16px 18px;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 10px 24px rgba(17, 17, 17, 0.05);
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.12s,
    box-shadow 0.15s;
}

.booking-btn:hover {
  background: #fffdf9;
  border-color: rgba(23, 23, 23, 0.14);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 14px 30px rgba(17, 17, 17, 0.08);
}

.booking-btn-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.booking-btn-icon {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--booking-color, var(--text)) 12%, white);
  color: var(--booking-color, var(--text));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--booking-color, var(--text)) 12%, transparent);
}

.booking-btn-icon .ui-icon {
  width: 20px;
  height: 20px;
}

.booking-btn-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.booking-btn-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0;
}

.booking-btn-title {
  display: block;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.05;
}

.booking-btn-provider {
  display: block;
  max-width: 100%;
  color: #6f6b62;
  font-size: 13px;
  font-weight: 600;
}

.booking-btn-side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.booking-btn-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}

.booking-btn-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: var(--text);
  background: #f4f1ea;
  flex-shrink: 0;
  transform: none;
}

.map-place-preview--book>.title.display-small {
  margin: 0 18px 12px;
  font-size: 20px;
  line-height: 1.03;
}

.map-place-preview--book .booking-buttons {
  gap: 12px;
  padding: 0 18px 12px;
}

.map-place-preview--book .booking-btn {
  min-height: 60px;
  padding: 12px 14px;
  border-radius: 14px;
}

.map-place-preview--book .booking-btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.map-place-preview--book .booking-btn-icon .ui-icon {
  width: 16px;
  height: 16px;
}

.map-place-preview--book .booking-btn-title {
  font-size: 14px;
}

.map-place-preview--book .booking-btn-provider {
  font-size: 11px;
}

.map-place-preview--book .booking-btn-arrow {
  width: 28px;
  height: 28px;
  font-size: 14px;
}

.map-place-preview--book .booking-disclosure {
  margin: 10px 18px 12px;
  font-size: 11px;
  padding: 0;
}

.map-place-preview {
  min-width: 280px;
  max-width: 336px;
  max-height: min(520px, calc(100vh - 180px));
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  position: relative;
  background: #fff;
  border-radius: 26px;

}

.map-place-sheet {
  position: fixed;
  left: calc(var(--sidebar) + 20px);
  right: 20px;
  top: 120px;
  bottom: 0;
  z-index: 160;
  display: none;
  pointer-events: none;
  justify-content: center;
  align-items: flex-end;
}

.map-place-sheet.open {
  display: flex;
  pointer-events: auto;
}

.map-place-sheet .map-place-preview {
  min-width: 280px;
  width: 100%;
  max-width: 100%;
  max-height: calc(100dvh - 120px);
  border-radius: 26px 26px 0 0;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition:
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease;
}

.map-place-sheet.open .map-place-preview {
  transform: translateY(0);
  opacity: 1;
}

.map-place-sheet .map-place-preview::after {
  display: none;
}

.map-place-preview::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 18px;
  height: 18px;
  transform: translateX(-50%) rotate(45deg);
  background: #fff;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 10px 10px 18px rgba(9, 9, 9, 0.06);
  pointer-events: none;
  z-index: 2;
}

.map-place-preview--scrollable .map-place-preview-pane {
  padding-right: 6px;
}

.map-place-preview-close {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.12s,
    color 0.12s;
  flex-shrink: 0;
}

.map-place-preview-close .ui-icon {
  width: 18px;
  height: 18px;
}

.map-place-preview-close:hover {
  background: #f6f7f9;
  color: var(--text);
}

.map-place-preview>.title.display-small {
  display: block;
  font-family: Goodman, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--text);
  margin: 18px 0 10px;
  padding: 0 18px 0;
}

.map-place-preview-body>.title.display-small {
  display: block;
  font: normal 900 22px/1.08 Goodman, "Times New Roman", serif;
  letter-spacing: -0.04em;
  color: var(--text);
}

.map-place-preview-meta {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.map-place-preview-tabs {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 0;
  padding: 18px 18px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.map-place-preview-tabs--2 {
  justify-content: flex-start;
}

.map-place-preview-tabs--3 {
  justify-content: flex-start;
}

.map-place-preview-tab {
  position: relative;
  padding: 0 1px 12px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  min-height: 0;
  font-size: 14px;
  font-weight: 600;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  cursor: pointer;
  transition: color 0.12s;
}

.map-place-preview-tabs .map-place-preview-close {
  margin-left: auto;
  margin-right: 0;
  margin-top: -12px;
  margin-bottom: 0;
}

.map-place-preview-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: transparent;
  transition: background 0.12s;
}

.map-place-preview-tab.is-active {
  color: var(--text);
}

.map-place-preview-tab.is-active::after {
  background: var(--text);
}

.map-place-preview-tab:hover {
  color: var(--text);
}

.map-place-preview-pane {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 0;
  padding: 0px 0px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.map-place-ui-kit-wrap {
  margin: 0;
  --gmp-button-border-color: rgba(0, 0, 0, 0.12);
  --gmp-button-border-width: 1px;
  --gmp-mat-color-info: var(--text);
  --gmp-mat-color-on-secondary-container: #7a6144;
  --gmp-mat-color-on-surface-variant: var(--text-muted);
  --gmp-mat-color-on-surface: var(--text);
  --gmp-mat-color-positive: #13875b;
  --gmp-mat-color-primary: var(--text);
  --gmp-mat-color-secondary-container: #f6efe2;
  --gmp-mat-color-surface: #fffdf8;
  --gmp-mat-font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  --gmp-mat-font-body-large: normal 400 14px/1.5 var(--gmp-mat-font-family);
  --gmp-mat-font-body-medium: normal 400 13px/1.5 var(--gmp-mat-font-family);
  --gmp-mat-font-body-small: normal 400 12px/1.45 var(--gmp-mat-font-family);
  --gmp-mat-font-display-small: normal 900 22px/1.08 Goodman, "Times New Roman", serif;
  --gmp-mat-font-label-medium: normal 400 12px/1.4 var(--gmp-mat-font-family);
  --gmp-mat-font-label-large: normal 500 13px/1.35 var(--gmp-mat-font-family);
  --gmp-mat-font-title-small: normal 600 18px/1.16 Goodman, "Times New Roman", serif;
  --gmp-mat-font-title-medium: normal 700 22px/1.12 Goodman, "Times New Roman", serif;
}

.map-place-ui-kit-wrap .address,
.map-place-ui-kit-wrap .lower-rows,
.map-place-ui-kit-wrap .lower-rows .row,
.map-place-ui-kit-wrap gmp-internal-place-rating-summary,
.map-place-ui-kit-wrap gmp-internal-place-opening-hours {
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
}

.map-place-ui-kit-wrap--reviews {
  margin-top: -4px;
  --gmp-mat-font-body-large: normal 400 14px/1.52 var(--gmp-mat-font-family);
  --gmp-mat-font-title-small: normal 600 17px/1.18 Goodman, "Times New Roman", serif;
  --gmp-mat-font-title-medium: normal 700 21px/1.12 Goodman, "Times New Roman", serif;
  --gmp-mat-font-title-large: normal 700 24px/1.08 Goodman, "Times New Roman", serif;
  --gmp-mat-font-headline-small: normal 400 24px/1.08 Goodman, "Times New Roman", serif;
  --gmp-mat-color-surface: #fffdf8;
  --gmp-mat-color-secondary-container: #f6efe2;
  --gmp-mat-color-on-surface: var(--text);
  --gmp-mat-color-on-surface-variant: var(--text-muted);
}

.map-place-ui-kit-wrap--compact {
  margin-top: -1px;
  border-radius: 0 0 22px 22px;
  overflow: hidden;
}

.map-place-ui-kit-wrap--compact gmp-place-details-compact,
.map-place-ui-kit-wrap--compact gmp-place-details {
  border-radius: 0 0 22px 22px;
  overflow: hidden;
}

.map-place-preview-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 0;
  padding: 18px;
  flex-shrink: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.map-place-preview--scrollable .map-place-preview-actions {
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.map-place-preview-btn {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  min-height: 46px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition:
    transform 0.12s,
    border-color 0.12s,
    background 0.12s;
}

.map-place-preview-btn--ghost {
  background: #f3f0e6;
  color: var(--text);
}

.map-place-preview-btn--primary {
  background: var(--text);
  color: white;
}

.map-place-preview-btn:hover {
  transform: translateY(-1px);
}

#map .gm-style .gm-style-iw-c {
  padding: 0 !important;
  border-radius: 26px !important;
  box-shadow: 0 18px 42px rgba(9, 9, 9, 0.16) !important;
  overflow: visible !important;
  margin-top: 160px !important;
}

#map .gm-style .gm-style-iw-d {
  overflow: visible !important;
  max-height: none !important;
}

#map .gm-style .gm-style-iw-chr,
#map .gm-style .gm-style-iw-ch,
#map .gm-style .gm-style-iw-tc {
  display: none !important;
}

#map .gm-style .gm-style-iw-c button.gm-ui-hover-effect {
  display: none !important;
}

.suggestion-item {
  background: transparent;
  border-radius: 0;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.12s;
  font-size: 13px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: transparent;
}

.suggestion-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.suggestion-emoji .ui-icon {
  width: 16px;
  height: 16px;
}

.suggestion-name {
  font-weight: 500;
  flex: 1;
}

.suggestion-dist {
  font-size: 11px;
  color: var(--text-muted);
}

/* Leaflet */
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 0 !important;
  overflow: hidden;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif !important;
  border: 1px solid var(--border) !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  padding: 12px 14px !important;
}

.leaflet-popup-tip-container {
  display: none !important;
}

/* MODAL */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.35);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--surface);
  border-radius: 20px;
  padding: 26px;
  width: 400px;
  max-width: 94vw;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px);
  transition: transform 0.22s;
}

.overlay.open .modal {
  transform: translateY(0);
}

.modal-title {
  font-family: Goodman, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-title .ui-icon {
  width: 17px;
  height: 17px;
}

.share-modal {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 18px 18px 16px;
  width: 340px;
  max-width: 94vw;
  box-shadow: 0 22px 48px rgba(15, 15, 15, 0.16);
}

.share-overlay-backdrop {
  position: absolute;
  inset: 0;
}

.share-title {
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.share-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.share-card {
  margin-bottom: 12px;
}

.share-link-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 2px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.share-link-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
  outline: none;
}

.share-copy-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
  transition:
    color 0.15s ease,
    transform 0.15s ease;
}

.share-copy-btn:hover {
  color: var(--text);
}

.share-copy-btn.is-copied {
  color: #2e8b57;
}

.share-members-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.share-members-title {
  padding: 12px 2px 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.share-members-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 2px 14px;
}

.share-member-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.share-member-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.share-member-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}

.share-members-empty,
.share-status {
  min-height: 16px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

.share-status.is-error {
  color: var(--accent);
}

.share-members-empty {
  padding: 0 2px 14px;
}

.share-cancel {
  margin-top: 0;
}

.add-place-modal {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 18px 18px 16px;
  width: 340px;
  max-width: 94vw;
  box-shadow: 0 22px 48px rgba(15, 15, 15, 0.16);
}

.add-place-title {
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.add-place-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.form-lbl {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
  display: block;
}

.form-group {
  margin-bottom: 13px;
}

.add-place-section {
  margin-bottom: 10px;
  padding: 12px 2px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.add-place-section--compact {
  margin-bottom: 10px;
}

.form-input {
  width: 100%;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  font-size: 14px;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color 0.12s;
}

.form-input:focus {
  border-color: var(--text);
}

.form-input::placeholder {
  color: var(--text-placeholder);
}

.add-place-input {
  background: #f7f4ec;
  border-color: rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
}

.place-source-note {
  margin-top: 7px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.cat-btn {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 9px 5px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  line-height: 1.15;
  color: var(--text-muted);
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  transition: all 0.12s;
}

.cat-btn:hover {
  border-color: rgba(0, 0, 0, 0.14);
  color: var(--text);
  transform: translateY(-1px);
}

.cat-btn.sel {
  background: #fff0f0;
  border-color: var(--accent);
  color: var(--accent);
}

.cat-btn .ui-icon {
  width: 17px;
  height: 17px;
}

.modal-actions {
  display: flex;
  gap: 8px;
  margin-top: 0;
}

.btn-cancel {
  flex: 1;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 11px;
  font-size: 13px;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.12s;
}

.btn-cancel:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.sync-modal {
  width: 440px;
}

.sync-copy {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

.sync-code-card {
  margin-top: 16px;
  margin-bottom: 14px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(242, 240, 232, 0.9);
  border: 1px solid rgba(26, 26, 26, 0.08);
}

.sync-code-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sync-code-value {
  margin-top: 8px;
  font-size: 26px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  word-break: break-word;
}

.sync-copy-btn {
  width: 100%;
  margin-top: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 14px;
  font-size: 13px;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  color: var(--text);
  cursor: pointer;
}

.sync-actions-inline {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.sync-actions-inline>* {
  flex: 1;
}

.sync-code-input {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sync-status {
  min-height: 18px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

.category-labels-modal {
  width: 520px;
}

.category-labels-copy {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.category-labels-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 52vh;
  overflow-y: auto;
}

.category-label-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.96);
  border: 1px solid rgba(26, 26, 26, 0.08);
}

.category-label-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
}

.category-label-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--category-icon-bg, rgba(0, 0, 0, 0.05));
  border: 1px solid var(--category-icon-border, transparent);
  color: var(--category-icon-color, var(--text-muted));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-label-icon .ui-icon {
  width: 16px;
  height: 16px;
}

.category-label-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.category-label-default {
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-muted);
}

.category-label-controls {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-label-input {
  margin-bottom: 0;
}

.category-label-reset {
  flex-shrink: 0;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 12px;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: rgba(26, 26, 26, 0.2);
  text-underline-offset: 3px;
  cursor: pointer;
}

.category-label-reset:hover {
  color: var(--text);
}

.trip-settings-modal {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 18px 18px 16px;
  width: 340px;
  max-width: 94vw;
  box-shadow: 0 22px 48px rgba(15, 15, 15, 0.16);
}

.trip-settings-title {
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.trip-settings-copy {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.trip-settings-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.trip-settings-item {
  width: 100%;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 14px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition:
    background 0.12s,
    transform 0.12s;
}

.trip-settings-item+.trip-settings-item {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.trip-settings-item:hover {
  transform: none;
  background: rgba(0, 0, 0, 0.025);
}

.trip-settings-item-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trip-settings-item-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.trip-settings-item-sub {
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

.trip-settings-item-arrow {
  font-size: 18px;
  color: var(--text-muted);
}

.trip-settings-item--danger {
  background: transparent;
}

.trip-settings-item--danger .trip-settings-item-title {
  color: #9d3131;
}

.trip-settings-item--danger .trip-settings-item-sub {
  color: rgba(157, 49, 49, 0.76);
}

.trip-settings-item--danger:hover {
  background: rgba(170, 44, 44, 0.07);
}

.trip-settings-item--danger .trip-settings-item-arrow {
  color: rgba(157, 49, 49, 0.76);
}

.trip-settings-item--mobile-only {
  display: none;
}

.trip-settings-status {
  min-height: 16px;
}

.trip-settings-cancel {
  margin-top: 0;
}

.btn-add-place {
  flex: 2;
  background: var(--text);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: 11px;
  font-size: 13px;
  font-weight: 500;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  cursor: pointer;
  transition: background 0.12s;
}

.btn-add-place:hover {
  background: #2a2a2a;
}

.empty-state {
  text-align: center;
  padding: 36px 20px;
  color: var(--text-muted);
  font-size: 13px;
}

.empty-state div {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.empty-state .ui-icon {
  width: 28px;
  height: 28px;
  color: var(--text-placeholder);
}

/* ONBOARDING */
.onboarding {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 100dvh;
  overflow-y: auto;
  padding: 24px 20px;
  background: #ffffff;
  transition:
    opacity 0.4s,
    transform 0.4s;
}

.onboarding.hide {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
}

.ob-step {
  display: none;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding: 24px 24px;
  width: 100%;
  max-width: 420px;
}

.ob-step.active {
  display: flex;
}

#obStep0 {
  max-width: 1080px;
}

.ob-step-layout {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(320px, 380px);
  align-items: start;
  justify-content: center;
  gap: 26px;
  margin-top: 4px;
}

.ob-step-layout.no-saved-trips {
  grid-template-columns: minmax(0, 460px);
  justify-content: center;
}

.ob-step-layout.no-saved-trips .ob-create-column {
  padding-right: 0;
  border-right: none;
}

.ob-step-layout.no-saved-trips .ob-saved-column {
  display: none;
}

.ob-create-column,
.ob-saved-column {
  width: 100%;
}

.ob-create-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 22px;
  border-right: 1px solid rgba(26, 26, 26, 0.08);
}

.ob-create-column>* {
  width: 100%;
}

.ob-saved-column {
  min-width: 0;
  padding-left: 4px;
}

.ob-saved-column .my-trips-section {
  margin-top: 0;
}

.ob-column-label {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

#obStep0 .brand-lockup--hero {
  margin-bottom: 20px;
}

#obStep0 .ob-title {
  font-size: 30px !important;
  margin-bottom: 6px;
}

#obStep0 .ob-sub {
  max-width: 640px;
  margin-bottom: 42px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 400;
}

#obStep0 {
  --text-muted: #6f6f69;
  --text-placeholder: #8d8d85;
}

.ob-mobile-switch {
  display: none;
}

.ob-title {
  font-family: Goodman, "Times New Roman", serif;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
  text-align: center;
  line-height: 1.1;
  margin-bottom: 8px;
}

.ob-sub {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.55;
}

.ob-card {
  background: rgba(242, 240, 232, 0.95);
  border-radius: var(--radius);
  padding: 20px;
  width: 100%;
  margin-bottom: 12px;
  box-shadow: var(--shadow-lg);
}

.ob-section-lbl {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}

.ob-places {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ob-place-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: rgba(232, 230, 220, 0.7);
  border-radius: var(--radius-sm);
}

.ob-place-emoji {
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.ob-place-emoji .ui-icon {
  width: 17px;
  height: 17px;
}

.ob-place-name {
  font-size: 13px;
  font-weight: 500;
}

.ob-place-cat {
  font-size: 11px;
  color: var(--text-muted);
}

.ob-more {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}

.ob-btn {
  background: var(--text);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
}

.ob-btn:hover {
  background: #333;
}

.ob-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

#obStep0 .ob-hint {
  text-align: center;
}

.ob-secondary-link {
  margin-top: 10px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  text-decoration: underline;
  text-decoration-color: rgba(26, 26, 26, 0.2);
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.12s;
}

.ob-secondary-link:hover {
  color: var(--text);
}

.my-trips-section {
  width: 100%;
  margin-top: 20px;
}

.my-trips-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: nowrap;
  margin-bottom: 12px;
}

.my-trips-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 540px;
  overflow-y: auto;
  padding: 6px 10px 10px 2px;
}

.my-trip-card {
  position: relative;
  width: 100%;
  padding: 16px 48px 14px 16px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 22px;
  background: #ffffff;
  cursor: pointer;
  transition:
    transform 0.14s,
    border-color 0.14s,
    box-shadow 0.14s;
}

.my-trip-card:hover {
  transform: translateY(-1px);
  border-color: rgba(18, 18, 18, 0.12);
}

.my-trip-name {
  font-size: 16px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--text);
}

.my-trip-destination {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.my-trip-meta {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-placeholder);
}

.my-trip-stats {
  display: flex;
  gap: 8px 12px;
  flex-wrap: wrap;
  margin-top: 7px;
  font-size: 11px;
  color: var(--text-muted);
}

.my-trip-stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.my-trip-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 50%;
  background: #ffffff;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.14s,
    color 0.14s,
    border-color 0.14s;
}

.my-trip-remove:hover {
  background: rgba(26, 26, 26, 0.06);
  color: var(--text);
  border-color: rgba(26, 26, 26, 0.14);
}

.btn-my-trips {
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
}

.btn-my-trips .ui-icon {
  width: 14px;
  height: 14px;
}

.my-trips-transfer-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  text-decoration: underline;
  text-decoration-color: rgba(26, 26, 26, 0.2);
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.12s;
}

.my-trips-transfer-btn:hover {
  color: var(--text);
}

.my-trips-transfer-btn .ui-icon {
  width: 13px;
  height: 13px;
}

.ob-name-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 18px 20px;
  width: 100%;
  margin-bottom: 16px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(18, 18, 18, 0.08);
}

.ob-create-column .ob-name-card {
  background: #f6f7f9;
  border-color: rgba(18, 18, 18, 0.06);
  box-shadow: none;
}

.ob-name-conflict {
  width: 100%;
  margin: -2px 0 16px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(242, 240, 232, 0.92);
  border: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: var(--shadow);
}

.ob-name-conflict-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.ob-name-conflict-sub {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

.ob-name-conflict-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.ob-name-conflict-btn {
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  cursor: pointer;
  transition:
    background 0.12s,
    border-color 0.12s,
    transform 0.12s;
}

.ob-name-conflict-btn:hover {
  transform: translateY(-1px);
}

.ob-name-conflict-btn--ghost {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
}

.ob-name-conflict-btn--primary {
  background: var(--text);
  border: none;
  color: white;
}

/* Datumfält: undvik att type=date:s min-bredd + grid min-width:auto sticker ut bredare än övriga kort */
.ob-date-pair-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 8px;
  align-self: stretch;
  box-sizing: border-box;
}

.ob-date-pair-row>.ob-name-card {
  margin-bottom: 0;
  min-width: 0;
}

.ob-date-pair-row .ob-date-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ob-date-pair-row input.ob-input[type="date"] {
  flex: 1;
  min-width: 0;
  width: auto;
  max-width: 100%;
}

.ob-input {
  width: 100%;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 16px;
  font-family:
    Lausanne,
    Helvetica Neue,
    Helvetica,
    sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}

.ob-input:focus {
  border-color: var(--text);
}

.ob-input::placeholder {
  color: var(--text-placeholder);
}

.ob-create-column .ob-input,
.ob-create-column .ob-input::placeholder {
  color: #8a887d;
}

.ob-create-column .ob-input::placeholder {
  opacity: 1;
}

.auth-panel {
  width: 100%;
  max-width: 420px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.auth-status {
  min-height: 18px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

#turnstileBox {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#obStep1 {
  max-width: 420px;
  padding-top: 24px;
  padding-bottom: 0;
}

#obStep1 .brand-lockup--hero {
  margin-bottom: 18px;
}

#obStep1 .ob-title {
  font-size: 34px;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 12px;
}

#obStep1 .ob-card {
  padding: 18px;
  margin-bottom: 14px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 15, 15, 0.05);
}

#obStep1 .ob-section-lbl {
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #6f6f69;
}

#obStep1 .ob-places {
  gap: 10px;
}

#obStep1 .ob-place-row {
  gap: 12px;
  padding: 14px 14px;
  border-radius: 18px;
  background: #f6f7f9;
  border: 1px solid rgba(18, 18, 18, 0.06);
  align-items: center;
}

#obStep1 .ob-place-emoji {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(18, 18, 18, 0.06);
  color: var(--text);
}

#obStep1 .ob-place-emoji .ui-icon {
  width: 17px;
  height: 17px;
}

#obStep1 .ob-place-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 3px;
}

#obStep1 .ob-place-cat {
  font-size: 12px;
  line-height: 1.4;
  color: #7b7b74;
}

#obStep1 .ob-more {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 13px;
  color: #7b7b74;
}

#obStep1 .ob-btn {
  min-height: 64px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  box-shadow: none;
}

#obStep1 .ob-hint {
  margin-top: 10px;
  font-size: 13px;
  color: #7b7b74;
}

.auth-panel {
  max-width: 500px;
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

#turnstileBox {
  width: 100%;
  min-height: 76px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.auth-status {
  max-width: 520px;
  min-height: 18px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(26, 26, 26, 0.42);
}

.dest-item {
  padding: 11px 14px;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
  color: var(--text);
}

.dest-item:last-child {
  border-bottom: none;
}

.dest-item:hover,
.dest-item.focused {
  background: var(--surface2);
}

.dest-item-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.dest-item-icon .ui-icon {
  width: 16px;
  height: 16px;
}

.dest-item-main {
  font-weight: 500;
}

.dest-item-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

@media (max-width: 900px) {
  #obStep0 {
    max-width: 420px;
  }

  .ob-mobile-switch {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    margin: 0 0 18px;
    background: rgba(255, 253, 247, 0.74);
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(29, 24, 14, 0.05);
  }

  .ob-mobile-switch-btn {
    min-height: 38px;
    border: 1px solid rgba(18, 18, 18, 0.08);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    font-family:
      Lausanne,
      Helvetica Neue,
      Helvetica,
      sans-serif;
    cursor: pointer;
    transition:
      background 0.12s,
      color 0.12s,
      opacity 0.12s;
  }

  .ob-mobile-switch-btn.is-active {
    background: var(--text);
    color: white;
    border-color: var(--text);
  }

  .ob-mobile-switch-btn.is-disabled {
    opacity: 0.45;
    cursor: default;
  }

  .ob-step-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .ob-step-layout.mobile-view-create .ob-saved-column {
    display: none;
  }

  .ob-step-layout.mobile-view-saved .ob-create-column {
    display: none;
  }

  .ob-saved-column {
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .ob-create-column {
    padding-right: 0;
    border-right: none;
  }

  #obStep0 .brand-lockup--hero {
    margin-bottom: 28px;
  }

  #obStep0 .ob-title {
    font-size: 40px !important;
    margin-bottom: 8px;
  }

  #obStep0 .ob-sub {
    margin-bottom: 18px;
  }

  .ob-column-label {
    width: 100%;
  }

  body {
    height: 100dvh;
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 58px;
    padding: 0 14px;
    gap: 10px;
  }

  .brand-lockup .brand-image {
    height: 28px;
  }

  .nav-right {
    margin-left: auto;
    gap: 8px;
  }

  .avatars {
    display: none;
  }

  .btn-share {
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }

  .btn-my-trips {
    display: none !important;
  }

  .trip-pill--icon {
    width: 38px;
    height: 38px;
  }

  .btn-share-label--desktop {
    display: none;
  }

  .btn-share-label--mobile {
    display: inline;
  }

  .trip-settings-item--mobile-only {
    display: flex;
  }

  .my-trips-section {
    margin-top: 16px;
  }

  .my-trips-head {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: nowrap;
  }

  .my-trips-transfer-btn {
    flex-shrink: 1;
    min-width: 0;
    font-size: 10.5px;
    gap: 5px;
    white-space: nowrap;
  }

  .my-trips-transfer-btn .ui-icon {
    width: 12px;
    height: 12px;
  }

  .my-trip-card {
    border-radius: 22px;
    padding: 16px 48px 14px 16px;
  }

  .my-trip-name {
    font-size: 17px;
  }

  .my-trip-destination {
    font-size: 13px;
  }

  .category-label-row {
    flex-direction: column;
    align-items: stretch;
  }

  .category-label-meta {
    min-width: 0;
  }

  .category-label-controls {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .my-trip-stats {
    font-size: 11px;
    gap: 8px;
  }

  .sync-modal {
    width: min(92vw, 420px);
    padding: 22px 18px;
  }

  .sync-code-value {
    font-size: 22px;
  }

  .sync-actions-inline {
    flex-direction: column;
  }

  .app-body {
    display: block;
    overflow: visible;
  }

  #map {
    position: fixed;
    inset: 58px 0 0 0;
    height: calc(100dvh - 58px);
    width: 100%;
    z-index: 1;
  }

  #map.panel-open {
    margin-right: 0;
  }

  .sidebar {
    position: fixed;
    left: 0;
    right: 0;
    top: 58px;
    bottom: 0;
    width: auto;
    height: var(--mobile-sheet-height, calc(100dvh - 58px));
    border-right: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px 24px 0 0;
    background: #fff;
    box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(18px);
    z-index: 120;
    overflow: hidden;
    transform: translateY(var(--mobile-sheet-translate, calc(100% - min(430px, 46dvh))));
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
  }

  .sidebar.is-dragging {
    transition: none;
  }

  .sidebar-grabber {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 26px;
    padding-top: 8px;
    border: none;
    background: transparent;
    cursor: grab;
    flex-shrink: 0;
    touch-action: none;
  }

  .sidebar-grabber:active {
    cursor: grabbing;
  }

  .sidebar-grabber-bar {
    width: 44px;
    height: 5px;
    border-radius: 999px;
    background: rgba(26, 26, 26, 0.12);
  }

  .sidebar-top {
    padding: 8px 16px 10px;
    border-bottom: none;
  }

  .trip-title-wrap {
    margin-bottom: 12px;
  }

  .trip-title {
    font-size: 22px;
  }

  .cat-row {
    gap: 6px;
    margin: 0 -2px;
    padding: 0 2px 2px;
  }

  .cat-chip {
    padding: 5px 11px;
    min-height: 36px;
    font-size: 11px;
  }

  .sidebar-tabs {
    padding: 0 16px;
    gap: 10px;
    border-bottom: none;

  }

  .sidebar-tab {
    padding: 10px 12px 11px;
    border-bottom-width: 3px;
    font-size: 13px;
  }

  #viewPlatser,
  #viewTopPicks,
  #viewDagplan {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
    overflow: hidden;
  }

  .place-list,
  .day-list {
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding-bottom: 10px;
  }

  .place-card {
    gap: 10px;
    padding: 12px 16px;
  }

  .place-card::after {
    left: 16px;
    right: 16px;
  }

  .place-emoji-box {
    width: 34px;
    height: 34px;
  }

  .place-name {
    font-size: 14px;
  }

  .place-meta,
  .place-note-preview {
    font-size: 11px;
  }

  .place-add-day {
    padding-left: 8px;
    font-size: 11px;
  }

  .add-btn {
    margin: 8px 12px calc(10px + env(safe-area-inset-bottom));
    min-height: 50px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    position: sticky;
    bottom: calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    z-index: 2;
  }

  .detail-panel {
    position: fixed;
    inset: 58px 0 0 0;
    width: 100%;
    border-left: none;
    box-shadow: none;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 180;
  }

  .detail-panel.open {
    transform: translateY(0);
  }

  .map-place-sheet {
    position: fixed;
    inset: 58px 0 0;
    z-index: 150;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 env(safe-area-inset-bottom);
    pointer-events: none;
  }

  .map-place-sheet.open {
    pointer-events: auto;
  }

  .map-place-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 16, 16, 0.08);
    opacity: 0;
    transition: opacity 0.24s ease;
  }

  .map-place-sheet.open .map-place-sheet-backdrop {
    opacity: 1;
  }

  .map-place-sheet .map-place-preview::after {
    display: none;
  }

  .map-place-preview--sheet {
    width: calc(100vw - 24px);
    min-width: 0;
    max-width: calc(100vw - 24px);
    max-height: min(82dvh, calc(100dvh - 82px));
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    border-radius: 28px 28px 22px 22px;
    box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    transform: translateY(calc(100% + 20px));
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
  }

  .map-place-preview--sheet.is-dragging {
    transition: none;
  }

  .map-place-preview-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 22px;
    padding-top: 8px;
    border: none;
    background: transparent;
    cursor: grab;
    flex-shrink: 0;
    touch-action: none;
  }

  .map-place-preview-handle:active {
    cursor: grabbing;
  }

  .map-place-preview-handle-bar {
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: rgba(23, 23, 23, 0.18);
  }

  .map-place-sheet.open .map-place-preview--sheet {
    transform: translateY(0);
  }

  .map-place-preview--sheet .map-place-preview-header {
    flex-shrink: 0;
    background: #fff;
  }

  .map-place-preview--sheet .map-place-preview-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
  }

  .map-place-preview--sheet.map-place-preview--scrollable,
  .map-place-preview--sheet.map-place-preview--book {
    max-height: min(82dvh, calc(100dvh - 82px));
  }

  .detail-cover {
    height: 156px;
  }

  .detail-close {
    top: max(12px, env(safe-area-inset-top));
    right: 14px;
    width: 34px;
    height: 34px;
  }

  .detail-cat-badge {
    left: 16px;
    bottom: 14px;
  }

  .detail-body {
    padding: 16px 16px calc(30px + env(safe-area-inset-bottom));
  }

  .detail-title {
    font-size: 28px;
  }

  .like-row {
    gap: 10px;
  }

  .btn-like-big,
  .btn-maps {
    min-height: 42px;
    font-size: 12px;
  }

  .detail-tabs {
    gap: 18px;
  }

  .detail-tab {
    min-height: 40px;
    font-size: 13px;
  }

  .suggestion-item {
    padding: 11px 0;
  }

  .map-place-preview {
    min-width: min(236px, calc(100vw - 92px));
    max-width: min(292px, calc(100vw - 64px));
    max-height: min(54dvh, 420px);
    padding: 0;
    border-radius: 22px;
  }

  .map-place-preview--sheet {
    min-width: 0;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    border-radius: 28px 28px 22px 22px;
  }

  .map-place-preview>.title.display-small {
    font-size: 19px;
    line-height: 1.02;
    margin-bottom: 6px;
  }

  .map-place-preview-body>.title.display-small {
    font: normal 900 22px/1.08 Goodman, "Times New Roman", serif;
    letter-spacing: -0.04em;
  }

  .map-place-preview-meta {
    font-size: 12px;
  }

  .map-place-preview-tabs {
    gap: 6px;
    margin-top: 0;
    padding: 14px 14px 0;
  }

  .map-place-preview--sheet .map-place-preview-tabs {
    padding-top: 20px;
  }

  .map-place-preview-tab {
    min-height: 0;
    padding-bottom: 9px;
    font-size: 15px;
  }

  .map-place-preview-tabs .map-place-preview-close {
    margin-right: 0;
    width: 32px;
    height: 32px;
    margin-top: -4px;
  }

  .map-place-preview-pane {
    margin-top: 0;
    padding: 0;
  }

  .map-place-preview--sheet .map-place-preview-pane {
    min-height: 0;
    overflow: visible;
  }

  .booking-btn {
    min-height: 64px;
    padding: 14px 16px;
    border-radius: 16px;
  }

  .booking-btn-icon {
    width: 40px;
    height: 40px;
  }

  .booking-btn-icon .ui-icon {
    width: 18px;
    height: 18px;
  }

  .booking-btn-title {
    font-size: 15px;
  }

  .booking-btn-sub {
    font-size: 12px;
  }

  .booking-btn-arrow {
    font-size: 16px;
  }

  .map-place-preview--book>.title.display-small {
    margin: 0 14px 8px;
    font-size: 18px;
  }

  .map-place-preview--sheet.map-place-preview--book .map-place-preview-body {
    padding: 8px 14px 0;
  }

  .map-place-preview--sheet.map-place-preview--book>.map-place-preview-body>.title.display-small {
    margin: 0 4px 14px;
    padding: 0;

    line-height: 1.02;
    text-wrap: balance;
  }

  .map-place-preview--book .booking-buttons {
    gap: 12px;
    padding: 0 4px 4px;
  }

  .map-place-preview--book .booking-btn {
    gap: 12px;
    min-height: 62px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .map-place-preview--book .booking-btn-main {
    gap: 12px;
  }

  .map-place-preview--book .booking-btn-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .map-place-preview--book .booking-btn-title {
    font-size: 14px;
    line-height: 1.1;
  }

  .map-place-preview--book .booking-btn-provider {
    font-size: 11px;
  }

  .map-place-preview--book .booking-btn-side {
    gap: 0;
  }

  .map-place-preview--book .booking-btn-arrow {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .map-place-preview--book .booking-disclosure {
    margin: 10px 8px 2px;
    padding: 0;
    font-size: 11px;
    line-height: 1.45;
  }

  .map-place-preview--scrollable .map-place-preview-pane {
    padding-right: 4px;
  }

  .map-place-preview-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 0;
    padding: 14px;
  }

  .map-place-preview--sheet .map-place-preview-actions {
    padding: 14px 14px calc(16px + env(safe-area-inset-bottom));
    background: #fff;
  }

  .map-place-preview-btn {
    min-height: 40px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .overlay {
    align-items: flex-end;
    padding: 12px;
  }

  .modal {
    width: 100%;
    max-width: none;
    max-height: min(88dvh, 760px);
    padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 18px 18px;
    overflow-y: auto;
  }

  .modal-title {
    font-size: 34px;
    line-height: 1;
    margin-bottom: 16px;
  }

  .share-modal {
    width: 100%;
    max-width: none;
    padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 18px 18px;
  }

  .add-place-modal {
    width: 100%;
    max-width: none;
    padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 18px 18px;
  }

  .trip-settings-modal {
    width: 100%;
    max-width: none;
    padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 18px 18px;
  }

  .share-link-row {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 14px 2px;
  }

  .share-link-input {
    font-size: 15px;
  }

  .share-copy-btn {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);
  }

  .share-member-chip {
    min-height: 48px;
    padding-right: 14px;
  }

  .cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .cat-btn {
    padding: 9px 5px 8px;
    font-size: 10px;
  }

  .modal-actions {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .ob-name-conflict-actions {
    grid-template-columns: 1fr;
  }

  .btn-cancel,
  .btn-add-place {
    width: 100%;
    min-height: 50px;
    font-size: 14px;
  }

  .day-select-overlay {
    align-items: flex-end;
    padding: 12px;
  }

  .day-select-modal {
    width: 100%;
    max-width: none;
    padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 18px 18px;
  }

  .empty-state {
    padding: 28px 20px 24px;
  }
}