/*
 * Tab.bi — brand stylesheet
 *
 * Palette
 *   Yellow      #e7a328   logo / primary action (matches SVG logo)
 *   Yellow dark #c8891a   hover
 *   Yellow pale #fffdf7   card backgrounds
 *   Warm black  #180A0A   borders, headings, shadows
 *   Body text   #535050
 *   Muted       #A6A6A6
 *   Border      #DCDCDC
 *   Background  #F7F7F7
 *   White       #FFFFFF
 *   Error       #EB424F
 *
 * Design language: hard offset shadows, bold borders, slight rotation on hover
 * Font: Lexend Exa
 */

@import url('https://fonts.googleapis.com/css2?family=Lexend+Exa:wght@300;400;500;600;700;800&display=swap');

/* ── Reset world66 styles ────────────────────────────────────────────────── */

body:has(.tabbi-page),
body:has(.tabbi-nav) {
  background: #F7F7F7;
  font-family: 'Lexend Exa', sans-serif;
}
.topnav { display: none !important; }
.tabbi-page,
.tabbi-page * { font-family: 'Lexend Exa', sans-serif; }

/* Form elements don't inherit font-family by default — fix globally */
body:has(.tabbi-nav) h1,
body:has(.tabbi-nav) h2,
body:has(.tabbi-nav) h3,
body:has(.tabbi-nav) h4,
body:has(.tabbi-nav) p,
body:has(.tabbi-nav) label,
body:has(.tabbi-nav) input,
body:has(.tabbi-nav) textarea,
body:has(.tabbi-nav) button,
body:has(.tabbi-nav) select {
  font-family: 'Lexend Exa', sans-serif;
}
#content:has(.tabbi-page) {
  grid-template-columns: 1fr;
  grid-template-areas: "main";
  max-width: 100%;
}
#content:has(.tabbi-page) #main {
  max-width: 100%;
  padding: 40px 32px 64px;
}

/* ── Nav ──────────────────────────────────────────────────────────────────── */

.tabbi-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  background: #FFFFFF;
  border-bottom: 3px solid #180A0A;
  position: sticky;
  top: 0;
  z-index: 100;
}
.tabbi-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.tabbi-nav-logo-img { width: 36px; height: 36px; border-radius: 50%; }
.tabbi-nav-logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: #180A0A;
  letter-spacing: -0.04em;
}
.tabbi-nav-logo-dot { color: #e7a328; }
.tabbi-nav-actions { display: flex; gap: 10px; align-items: center; }
.tabbi-nav-passport-link { font-size: 0.85rem; font-weight: 600; color: #535050; text-decoration: none; }
.tabbi-nav-passport-link:hover { color: #180A0A; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.tabbi-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Lexend Exa', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 9px 20px;
  background: #e7a328;
  color: #180A0A;
  border: 2.5px solid #180A0A;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 3px 3px 0 #180A0A;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: all 0.12s;
}
.tabbi-btn:hover {
  background: #c8891a;
  color: #180A0A;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #180A0A;
}
.tabbi-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 #180A0A;
}
.tabbi-btn--ghost {
  background: #FFFFFF;
  color: #535050;
  border: 2.5px solid #180A0A;
  box-shadow: 3px 3px 0 #180A0A;
}
.tabbi-btn--ghost:hover {
  background: #fffdf7;
  color: #180A0A;
}
.tabbi-btn--sm { font-size: 0.75rem; padding: 6px 14px; }

/* ── Page scaffold ────────────────────────────────────────────────────────── */

.tabbi-page { max-width: 100%; padding: 0; }

/* ── Page header ──────────────────────────────────────────────────────────── */

.plan-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.plan-description {
  margin: -18px 0 20px;
  font-size: 0.95rem;
  color: #535050;
}
.plan-header h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #180A0A;
  letter-spacing: -0.04em;
  margin: 0;
  flex: 1;
}
.plan-budget {
  font-size: 0.8rem;
  font-weight: 700;
  color: #180A0A;
  background: #fffdf7;
  border: 2px solid #180A0A;
  border-radius: 999px;
  padding: 3px 12px;
  box-shadow: 2px 2px 0 #180A0A;
}

/* ── Budget widget (per-stop + overview total) ────────────────────────────── */

.plan-budget-section {
  margin: 12px 0 8px;
  padding: 18px 20px;
  background: #fffdf7;
  border: 2.5px solid #180A0A;
  border-radius: 14px;
  box-shadow: 4px 4px 0 #180A0A;
}
.plan-total-budget {
  margin-top: 28px;
  padding: 18px 20px;
  background: #fffdf7;
  border: 2.5px solid #180A0A;
  border-radius: 14px;
  box-shadow: 4px 4px 0 #180A0A;
  max-width: 340px;
}
.plan-budget-heading {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #180A0A;
  margin-bottom: 12px;
}
.plan-budget-currency { font-weight: 400; }
.plan-budget-rows { display: table; width: 100%; border-collapse: collapse; }
.plan-budget-row { display: table-row; }
.plan-budget-label,
.plan-budget-value,
.plan-budget-value-static,
.plan-budget-total { display: table-cell; padding: 4px 0; vertical-align: middle; }
.plan-budget-label { color: #888; font-size: 0.85rem; width: 160px; }
.plan-budget-value { cursor: pointer; border-bottom: 1px dashed transparent; }
.plan-budget-value:hover { border-bottom-color: #e7a328; }
.plan-budget-empty { color: #ccc; }
.plan-budget-input {
  width: 100%;
  font-size: inherit;
  font-family: inherit;
  border: none;
  border-bottom: 2.5px solid #e7a328;
  background: transparent;
  outline: none;
  padding: 0;
}
.plan-budget-total-row .plan-budget-label { padding-top: 10px; font-weight: 700; color: #180A0A; }
.plan-budget-total {
  display: table-cell;
  padding-top: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}

/* ── Breadcrumb ───────────────────────────────────────────────────────────── */

.plan-breadcrumb {
  font-size: 0.75rem;
  font-weight: 500;
  color: #A6A6A6;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.plan-breadcrumb a { color: #A6A6A6; text-decoration: none; }
.plan-breadcrumb a:hover { color: #e7a328; }
.plan-breadcrumb-sep { margin: 0 6px; }

/* ── Edit link ────────────────────────────────────────────────────────────── */

.plan-edit-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #535050;
  border: 2px solid #180A0A;
  border-radius: 999px;
  padding: 5px 14px;
  text-decoration: none;
  box-shadow: 2px 2px 0 #180A0A;
  transition: all 0.12s;
}
.plan-edit-link:hover {
  background: #e7a328;
  color: #180A0A;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #180A0A;
}

/* ── Trip list page ───────────────────────────────────────────────────────── */

.plan-list-page {}
.plan-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.plan-list-header h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #180A0A;
  letter-spacing: -0.04em;
  margin: 0;
}
.plan-list-actions { display: flex; gap: 10px; align-items: center; }

.plan-list-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Lexend Exa', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 9px 20px;
  background: #e7a328;
  color: #180A0A;
  border: 2.5px solid #180A0A;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 3px 3px 0 #180A0A;
  white-space: nowrap;
  transition: all 0.12s;
}
.plan-list-action-btn:hover {
  background: #c8891a;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #180A0A;
}
.plan-list-action-btn--ghost {
  background: #FFFFFF;
  color: #535050;
}
.plan-list-action-btn--ghost:hover {
  background: #fffdf7;
  color: #180A0A;
}

/* ── Trip cards ───────────────────────────────────────────────────────────── */

.plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.plan-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #FFFFFF;
  border: 3px solid #180A0A;
  box-shadow: 5px 5px 0 #180A0A;
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s, box-shadow 0.12s;
}
.plan-card:hover {
  transform: translate(-2px, -3px) rotate(-0.5deg);
  box-shadow: 7px 8px 0 #180A0A;
}
.plan-card-photo {
  height: 180px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #180A0A;
}
.plan-card-photo-img {
  position: absolute;
  inset: 0;
  background-image: var(--cover);
  background-size: cover;
  background-position: center;
  transition: transform 0.35s;
}
.plan-card:hover .plan-card-photo-img { transform: scale(1.04); }
.plan-card-photo-placeholder {
  position: absolute;
  inset: 0;
  background: #e7a328;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.plan-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.plan-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #180A0A;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.plan-card-description { font-size: 0.82rem; color: #535050; margin-top: 3px; line-height: 1.3; }
.plan-card-dates { font-size: 0.75rem; color: #A6A6A6; margin-top: 4px; }
.plan-card-cities {
  font-size: 0.8rem;
  color: #535050;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plan-card-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 2px solid #F7F7F7;
}
.plan-card-stat { font-size: 0.75rem; color: #A6A6A6; font-weight: 500; }
.plan-card-stat-num { font-weight: 800; color: #e7a328; font-size: 0.9rem; }
.plan-card-stat-dot { color: #DCDCDC; }
.plan-list-empty-state { text-align: center; padding: 80px 0; color: #A6A6A6; }

/* ── Overview: map + tile grid ────────────────────────────────────────────── */

.plan-overview-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  min-width: 0;
}
.plan-overview-layout > * { min-width: 0; }

.plan-map-wrap {
  position: sticky;
  top: 72px;
}
#plan-overview-map {
  height: calc(100vh - 120px);
  min-height: 400px;
  max-height: 700px;
  border-radius: 16px;
  border: 3px solid #180A0A;
  box-shadow: 6px 6px 0 #180A0A;
  overflow: hidden;
  position: relative;
}

.plan-dest-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

.plan-dest-tile {
  position: relative;
  height: 200px;
  border-radius: 16px;
  background-color: #e7a328;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  overflow: hidden;
  border: 3px solid #180A0A;
  box-shadow: 4px 4px 0 #180A0A;
  transition: transform 0.12s, box-shadow 0.12s;
}
.plan-dest-tile:hover {
  transform: translate(-2px, -3px);
  box-shadow: 6px 7px 0 #180A0A;
}
.plan-dest-tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to bottom, rgba(24,10,10,0.05) 0%, rgba(24,10,10,0.65) 100%);
  padding: 16px 18px;
}
.plan-dest-tile-num {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
  background: #e7a328;
  color: #180A0A;
  border-radius: 50%;
  border: 2px solid #180A0A;
  box-shadow: 2px 2px 0 #180A0A;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plan-dest-tile-city {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 4px rgba(24,10,10,0.4);
}
.plan-dest-tile-dates { font-size: 0.75rem; color: rgba(255,255,255,0.8); margin-top: 2px; }
.plan-dest-tile-count { font-size: 0.72rem; color: rgba(255,255,255,0.6); margin-top: 1px; }
.plan-dest-tile-explore {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #180A0A;
  background: #e7a328;
  border: 2px solid #180A0A;
  border-radius: 999px;
  padding: 4px 12px;
  text-decoration: none;
  box-shadow: 2px 2px 0 #180A0A;
  transition: all 0.12s;
}
.plan-dest-tile-explore:hover {
  background: #c8891a;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #180A0A;
}

/* ── Stop page layout ─────────────────────────────────────────────────────── */

.plan-stop-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  min-width: 0;
}
.plan-stop-layout > * { min-width: 0; }

#plan-stop-map {
  height: calc(100vh - 120px);
  border-radius: 16px;
  border: 3px solid #180A0A;
  box-shadow: 6px 6px 0 #180A0A;
  overflow: hidden;
  position: relative;
}

/* Map mode toggle button */
.plan-map-toggle {
  position: absolute;
  bottom: 32px;
  right: 10px;
  z-index: 1000;
  background: rgba(24, 10, 10, 0.85);
  border: 1.5px solid #333;
  border-radius: 8px;
  color: #e7a328;
  font-size: 16px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: background 0.15s;
}
.plan-map-toggle:hover {
  background: #e7a328;
  color: #180A0A;
  border-color: #e7a328;
}

/* ── Map markers ──────────────────────────────────────────────────────────── */

.plan-stop-marker {
  background: #e7a328 !important;
  color: #180A0A !important;
  font-family: 'Lexend Exa', sans-serif !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  border: 2.5px solid #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 1.5px #180A0A, 0 2px 8px rgba(0,0,0,0.7) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.plan-stop-marker span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

/* Leaflet zoom control on dark map */
#plan-stop-map .leaflet-control-zoom a,
#plan-overview-map .leaflet-control-zoom a {
  background: #1a1a1a !important;
  color: #e7a328 !important;
  border-color: #333 !important;
}
#plan-stop-map .leaflet-control-zoom a:hover,
#plan-overview-map .leaflet-control-zoom a:hover {
  background: #e7a328 !important;
  color: #180A0A !important;
}
#plan-stop-map .leaflet-control-attribution,
#plan-overview-map .leaflet-control-attribution {
  background: rgba(0,0,0,0.5) !important;
  color: #888 !important;
}
#plan-stop-map .leaflet-control-attribution a,
#plan-overview-map .leaflet-control-attribution a { color: #aaa !important; }

/* ── City intro ───────────────────────────────────────────────────────────── */

.plan-city-intro {
  padding: 16px;
  border-radius: 14px;
  background: #fffdf7;
  border: 2.5px solid #180A0A;
  box-shadow: 4px 4px 0 #180A0A;
  margin-bottom: 12px;
}
.plan-city-intro-text { font-size: 0.82rem; color: #535050; line-height: 1.55; }

/* Image inspiration strip */
.plan-inspo-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.plan-inspo-strip::-webkit-scrollbar { display: none; }
.plan-inspo-tile {
  flex-shrink: 0;
  width: 130px;
  cursor: pointer;
}
.plan-inspo-img {
  width: 130px;
  height: 90px;
  border-radius: 10px;
  border: 2.5px solid #180A0A;
  background-size: cover;
  background-position: center;
  box-shadow: 3px 3px 0 #180A0A;
  transition: transform 0.12s, box-shadow 0.12s;
}
.plan-inspo-tile:hover .plan-inspo-img {
  transform: translate(-1px, -2px);
  box-shadow: 4px 5px 0 #180A0A;
}
.plan-inspo-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #180A0A;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

/* Card highlight flash when scrolled to from strip */
@keyframes poi-highlight {
  0%   { box-shadow: 3px 3px 0 #180A0A; }
  30%  { box-shadow: 0 0 0 3px #e7a328, 3px 3px 0 #180A0A; }
  100% { box-shadow: 3px 3px 0 #180A0A; }
}
.plan-poi-card--highlight { animation: poi-highlight 1.2s ease; }
.plan-city-explore {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #888;
  text-decoration: none;
  transition: color 0.12s;
}
.plan-city-explore:hover { color: #e7a328; }

/* ── POI list ─────────────────────────────────────────────────────────────── */

.plan-poi-list { display: flex; flex-direction: column; gap: 12px; }

.plan-poi-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 2.5px solid #180A0A;
  box-shadow: 3px 3px 0 #180A0A;
  transition: transform 0.12s, box-shadow 0.12s;
  position: relative;
}
.plan-poi-card:hover {
  transform: translate(-1px, -2px);
  box-shadow: 4px 5px 0 #180A0A;
}
.plan-poi-card-note {
  background: #fffdf7;
  border-style: dashed;
  box-shadow: none;
}

.plan-poi-body { flex: 1; min-width: 0; }
.plan-poi-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #180A0A;
  text-decoration: none;
  display: block;
  letter-spacing: -0.01em;
}
.plan-poi-title::after {
  content: " ↪";
  color: #e7a328;
  font-size: 0.8em;
  font-weight: 400;
}
span.plan-poi-title--draft::after { content: none; }
.plan-poi-title:hover { color: #e7a328; }
.plan-poi-snippet { font-size: 0.78rem; color: #A6A6A6; margin-top: 3px; line-height: 1.45; }

/* Expandable POI cards */
.plan-poi-card--expandable { cursor: pointer; }
.plan-poi-card--expandable::before {
  content: "›";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #e7a328;
  font-size: 1.1rem;
  font-weight: 800;
  pointer-events: none;
  line-height: 1;
  transition: transform 0.2s;
}
.plan-poi-card--expanded::before {
  content: "‹";
  top: 16px;
  transform: none;
}
.plan-poi-card--expandable { padding-left: 24px; }
.plan-poi-tagline {
  font-size: 0.78rem;
  color: #A6A6A6;
  margin-top: 3px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.plan-poi-card--expanded .plan-poi-tagline { display: none; }
.plan-poi-full { margin-top: 10px; border-top: 1.5px solid #f0ece3; padding-top: 10px; }
.plan-poi-full-image {
  width: 100%;
  height: 160px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  border: 2px solid #180A0A;
  margin-bottom: 10px;
}
.plan-poi-full-body {
  font-size: 0.82rem;
  color: #444;
  line-height: 1.6;
  margin: 0 0 8px;
  white-space: pre-wrap;
}
.plan-poi-full-link {
  font-size: 0.72rem;
  color: #888;
  text-decoration: none;
  font-weight: 600;
}
.plan-poi-full-link:hover { color: #e7a328; }
.plan-poi-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.plan-poi-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  background: #e7a328;
  color: #180A0A;
  border: 1.5px solid #180A0A;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.plan-poi-tag:hover { background: #c8891a; }

/* ── Note editing ─────────────────────────────────────────────────────────── */

.plan-poi-note { font-size: 0.8rem; color: #535050; }
.plan-note-text { cursor: text; transition: color 0.15s; }
.plan-note-text:hover { color: #180A0A; }
.plan-note-input {
  border: none;
  border-bottom: 2.5px solid #e7a328;
  background: transparent;
  font-family: 'Lexend Exa', sans-serif;
  font-size: 0.8rem;
  color: #180A0A;
  width: 100%;
  outline: none;
  padding: 2px 0;
}

/* ── Remove button ────────────────────────────────────────────────────────── */

.plan-remove-btn {
  font-size: 1rem;
  font-weight: 700;
  color: #DCDCDC;
  border: 2px solid #EAEAEA;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.12s;
}
.plan-remove-btn:hover {
  border-color: #EB424F;
  color: #EB424F;
  background: #fff0f0;
  box-shadow: 2px 2px 0 #EB424F;
}

/* ── Suggestions strip ────────────────────────────────────────────────────── */

.plan-suggestions { margin-top: 28px; padding-top: 24px; border-top: 3px solid #180A0A; }

.plan-suggestions-search-row { margin-bottom: 16px; }
.plan-suggestions-search {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 2.5px solid #180A0A;
  border-radius: 10px;
  box-shadow: 3px 3px 0 #180A0A;
  outline: none;
  background: #fff;
}
.plan-suggestions-search:focus { border-color: #e7a328; box-shadow: 3px 3px 0 #e7a328; }

.plan-suggestions-no-results { margin-bottom: 16px; }

/* Custom spot mini form */
.plan-custom-spot-form {
  background: #fff;
  border: 2.5px solid #180A0A;
  border-radius: 12px;
  box-shadow: 4px 4px 0 #180A0A;
  padding: 16px;
}
.plan-custom-spot-fields { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.plan-custom-spot-input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  font-size: 0.9rem;
  font-family: inherit;
  border: 2px solid #DCDCDC;
  border-radius: 8px;
  outline: none;
  background: #fff;
}
.plan-custom-spot-input:focus { border-color: #e7a328; }
.plan-custom-spot-btn {
  width: 100%;
  padding: 11px;
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 700;
  background: #e7a328;
  color: #180A0A;
  border: 2.5px solid #180A0A;
  border-radius: 8px;
  box-shadow: 3px 3px 0 #180A0A;
  cursor: pointer;
  transition: transform 0.08s, box-shadow 0.08s;
}
.plan-custom-spot-btn:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 #180A0A; }
.plan-custom-spot-btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 #180A0A; }

/* Budget toggle button */
.plan-budget-toggle-row { margin: 20px 0 0; }
.plan-budget-toggle-btn {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-family: inherit;
  font-weight: 700;
  background: #fff;
  color: #535050;
  border: 2px solid #DCDCDC;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.12s, color 0.12s;
}
.plan-budget-toggle-btn:hover, .plan-budget-toggle-btn--open { border-color: #180A0A; color: #180A0A; }

.plan-suggestions-heading { margin-bottom: 14px; margin-top: 24px; }
.plan-suggestions-heading:first-child { margin-top: 0; }

.plan-suggestions-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 5px 14px 5px 10px;
  border-radius: 999px;
  border: 2.5px solid currentColor;
}
.plan-suggestions-chip--todo   { color: #180A0A; background: #e7a328; border-color: #180A0A; }
.plan-suggestions-chip--food   { color: #7C2D12; background: #FED7AA; border-color: #EA580C; }
.plan-suggestions-chip--drinks { color: #1E3A5F; background: #BFDBFE; border-color: #2563EB; }

.plan-suggestions-strip-wrap { position: relative; }
.plan-suggestions-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 4px 14px;
  scrollbar-width: none;
}
.plan-suggestions-strip::-webkit-scrollbar { display: none; }

.plan-suggestion-tile {
  flex-shrink: 0;
  width: 176px;
  border-radius: 16px;
  border: 3px solid #180A0A;
  background: #FFFFFF;
  box-shadow: 4px 4px 0 #180A0A;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.12s, box-shadow 0.12s;
}
.plan-suggestion-tile:hover {
  transform: translate(-2px, -3px) rotate(-0.8deg);
  box-shadow: 6px 7px 0 #180A0A;
}
.plan-suggestion-tile--match  { border-color: #e7a328; box-shadow: 4px 4px 0 #e7a328; }
.plan-suggestion-tile--match:hover { box-shadow: 6px 7px 0 #e7a328; }

.plan-suggestion-tile--todo   { border-top-color: #e7a328; }
.plan-suggestion-tile--food   { border-top-color: #EA580C; }
.plan-suggestion-tile--drinks { border-top-color: #2563EB; }

.plan-suggestion-tile-img {
  height: 100px;
  background-size: cover;
  background-position: center;
  border-bottom: 2px solid #180A0A;
}
.plan-suggestion-tile-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.plan-suggestion-tile-emoji {
  font-size: 2.8rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}
.plan-suggestion-tile-body {
  padding: 10px 10px 6px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.plan-suggestion-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #180A0A;
  text-decoration: none;
  line-height: 1.25;
  display: block;
}
.plan-suggestion-title::after {
  content: " ↪";
  color: #e7a328;
  font-size: 0.8em;
  font-weight: 400;
}
.plan-suggestion-title:hover { color: #e7a328; }
.plan-suggestion-snippet { font-size: 0.7rem; color: #888; line-height: 1.4; }

.plan-suggestion-add { margin-top: auto; padding: 8px 10px 10px; }
.plan-suggestion-btn {
  width: 100%;
  height: 32px;
  background: #e7a328;
  border: 2.5px solid #180A0A;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 900;
  color: #180A0A;
  cursor: pointer;
  box-shadow: 2px 2px 0 #180A0A;
  transition: all 0.12s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plan-suggestion-btn:hover {
  background: #c8891a;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #180A0A;
}

/* Add spinner */
@keyframes tabbi-spin { to { transform: rotate(360deg); } }
.tabbi-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2.5px solid rgba(24,10,10,0.25);
  border-top-color: #180A0A;
  border-radius: 50%;
  animation: tabbi-spin 0.7s linear infinite;
}

/* ── External links ───────────────────────────────────────────────────────── */

.plan-external-link { display: flex; align-items: center; gap: 6px; text-decoration: none; }
.plan-external-label { font-size: 0.82rem; font-weight: 600; color: #180A0A; }
.plan-external-domain { font-size: 0.72rem; color: #A6A6A6; }
.plan-external-link:hover .plan-external-label { color: #e7a328; }

/* ── Edit page ────────────────────────────────────────────────────────────── */

.plan-edit-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.plan-edit-layout > * { min-width: 0; }
.plan-edit-textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 400px;
  padding: 18px 20px;
  border: 2.5px solid #180A0A;
  border-radius: 14px;
  background: #FFFFFF;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: #180A0A;
  resize: vertical;
  line-height: 1.7;
  box-shadow: 4px 4px 0 #180A0A;
  transition: box-shadow 0.12s, border-color 0.12s;
}
.plan-edit-textarea:focus {
  border-color: #e7a328;
  box-shadow: 4px 4px 0 #e7a328;
  outline: none;
}
.plan-edit-actions { display: flex; gap: 12px; margin-top: 14px; align-items: center; }
.plan-edit-save {
  font-family: 'Lexend Exa', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 10px 24px;
  background: #e7a328;
  color: #180A0A;
  border: 2.5px solid #180A0A;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #180A0A;
  transition: all 0.12s;
}
.plan-edit-save:hover {
  background: #c8891a;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #180A0A;
}
.plan-edit-cancel { font-size: 0.82rem; color: #A6A6A6; text-decoration: none; }
.plan-edit-cancel:hover { color: #180A0A; }
.plan-edit-help {
  box-sizing: border-box;
  background: #fffdf7;
  border-radius: 14px;
  padding: 20px;
  border: 2.5px solid #180A0A;
  box-shadow: 4px 4px 0 #180A0A;
}
.plan-edit-help h3 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #A6A6A6;
  font-weight: 800;
  margin: 0 0 12px;
}
.plan-edit-example {
  background: #F7F7F7;
  border-radius: 10px;
  padding: 12px;
  font-size: 0.75rem;
  color: #535050;
  line-height: 1.7;
  border: 1.5px solid #DCDCDC;
}
.plan-edit-hints {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-edit-hints li { font-size: 0.75rem; color: #535050; line-height: 1.5; }
.plan-edit-hints strong { color: #180A0A; font-weight: 700; }
@media (max-width: 860px) {
  .plan-edit-layout { grid-template-columns: 1fr; }
  .plan-edit-help { order: -1; }
}

/* ── Join modal ───────────────────────────────────────────────────────────── */

.plan-join-modal {
  position: fixed;
  inset: 0;
  background: rgba(24,10,10,0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plan-join-modal[hidden] { display: none; }
.plan-join-modal-box {
  background: #FFFFFF;
  border-radius: 20px;
  border: 3px solid #180A0A;
  box-shadow: 7px 7px 0 #180A0A;
  padding: 36px 40px;
  width: 100%;
  max-width: 400px;
}
.plan-join-modal-box h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #180A0A;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.plan-join-modal-box label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #180A0A;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.plan-join-modal-box input[type=password] {
  width: 100%;
  padding: 12px 18px;
  border: 2.5px solid #180A0A;
  border-radius: 999px;
  font-family: 'Lexend Exa', sans-serif;
  font-size: 0.9rem;
  color: #180A0A;
  background: #F7F7F7;
  box-sizing: border-box;
  box-shadow: 3px 3px 0 #180A0A;
  transition: border-color 0.12s, box-shadow 0.12s;
  outline: none;
}
.plan-join-modal-box input[type=password]:focus {
  border-color: #e7a328;
  box-shadow: 3px 3px 0 #e7a328;
  background: #FFFFFF;
}
.plan-join-modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.plan-join-modal-actions button[type=submit] {
  flex: 1;
  font-family: 'Lexend Exa', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 11px;
  background: #e7a328;
  color: #180A0A;
  border: 2.5px solid #180A0A;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #180A0A;
  transition: all 0.12s;
}
.plan-join-modal-actions button[type=submit]:hover {
  background: #c8891a;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #180A0A;
}
.plan-join-modal-actions button[type=button] {
  font-family: 'Lexend Exa', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 11px 20px;
  background: none;
  border: 2.5px solid #180A0A;
  border-radius: 999px;
  color: #535050;
  cursor: pointer;
  box-shadow: 3px 3px 0 #180A0A;
  transition: all 0.12s;
}
.plan-join-modal-actions button[type=button]:hover {
  background: #fffdf7;
  color: #180A0A;
}
.plan-list-error { font-size: 0.82rem; color: #EB424F; margin-bottom: 14px; font-weight: 600; }

/* ── Plan created onboarding ──────────────────────────────────────────────── */

.created-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 64px);
  padding: 40px 24px;
}
.created-wrap {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.created-hero { text-align: center; }
.created-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #e7a328;
  border: 3px solid #180A0A;
  border-radius: 50%;
  box-shadow: 4px 4px 0 #180A0A;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 16px;
}
.created-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #180A0A;
  margin: 0 0 6px;
}
.created-subtitle { font-size: 0.9rem; color: #535050; margin: 0; }

.created-passphrase-block {
  box-sizing: border-box;
  background: #FFFFFF;
  border: 2.5px solid #180A0A;
  border-radius: 16px;
  box-shadow: 5px 5px 0 #180A0A;
  padding: 20px 24px;
}
.created-pp-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #535050;
  margin-bottom: 10px;
}
.created-pp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fffdf7;
  border: 2px solid #e7a328;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.created-pp-words {
  flex: 1;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #180A0A;
}
.created-pp-copy {
  font-family: 'Lexend Exa', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 14px;
  background: #FFFFFF;
  border: 2px solid #180A0A;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 2px 2px 0 #180A0A;
  white-space: nowrap;
  transition: all 0.12s;
}
.created-pp-copy:hover { background: #e7a328; }
.created-pp-copy--done { background: #e7a328; }
.created-pp-hint { font-size: 0.75rem; color: #A6A6A6; margin: 0; line-height: 1.5; }

.created-ways {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.created-way {
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFFFFF;
  border: 2px solid #DCDCDC;
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.created-way:hover { border-color: #180A0A; box-shadow: 3px 3px 0 #180A0A; }
.created-way-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F7F7F7;
  border: 2px solid #180A0A;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  color: #180A0A;
}
.created-way-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.created-way-body strong { font-size: 0.88rem; font-weight: 700; color: #180A0A; }
.created-way-body span { font-size: 0.78rem; color: #535050; line-height: 1.5; }
.created-way-body em { font-style: normal; font-weight: 700; color: #180A0A; }

.created-cta {
  display: block;
  text-align: center;
  padding: 14px 28px;
  background: #e7a328;
  color: #180A0A;
  border: 2.5px solid #180A0A;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 4px 4px 0 #180A0A;
  transition: all 0.12s;
}
.created-cta:hover {
  background: #c8891a;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #180A0A;
}

/* ── New trip / login pages ───────────────────────────────────────────────── */

.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 64px);
}
.login-box {
  background: #FFFFFF;
  border-radius: 20px;
  border: 3px solid #180A0A;
  box-shadow: 7px 7px 0 #180A0A;
  padding: 48px 44px;
  width: 100%;
  max-width: 420px;
}
.login-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #180A0A;
  margin-bottom: 6px;
}
.logo-dot { color: #e7a328; }
.login-box h1 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #180A0A;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}
.login-box label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #180A0A;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 7px;
  margin-top: 16px;
}
.login-box label:first-of-type { margin-top: 0; }
.login-box input[type=text],
.login-box input[type=email],
.login-box input[type=password] {
  width: 100%;
  padding: 12px 18px;
  border: 2.5px solid #180A0A;
  border-radius: 999px;
  font-family: 'Lexend Exa', sans-serif;
  font-size: 0.88rem;
  color: #180A0A;
  background: #F7F7F7;
  box-sizing: border-box;
  box-shadow: 3px 3px 0 #180A0A;
  outline: none;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.login-box input:focus {
  border-color: #e7a328;
  box-shadow: 3px 3px 0 #e7a328;
  background: #FFFFFF;
}
.login-box button[type=submit] {
  width: 100%;
  margin-top: 24px;
  padding: 13px;
  font-family: 'Lexend Exa', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  background: #e7a328;
  color: #180A0A;
  border: 2.5px solid #180A0A;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 4px 4px 0 #180A0A;
  letter-spacing: 0.01em;
  transition: all 0.12s;
}
.login-box button[type=submit]:hover {
  background: #c8891a;
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #180A0A;
}
.login-error {
  font-size: 0.8rem;
  color: #EB424F;
  font-weight: 600;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: #fff0f0;
  border: 2px solid #EB424F;
  border-radius: 10px;
}
.plan-new-hint {
  font-weight: 400;
  color: #A6A6A6;
  text-transform: none;
  letter-spacing: 0;
}

/* ── Passphrase ───────────────────────────────────────────────────────────── */

.plan-passphrase-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: #fffdf7;
  border: 2.5px solid #e7a328;
  border-radius: 14px;
  box-shadow: 4px 4px 0 #180A0A;
  font-family: 'Lexend Exa', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: #180A0A;
  letter-spacing: 0.04em;
  margin: 20px 0;
}
.plan-passphrase-box span { flex: 1; }
.plan-passphrase-copy {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 14px;
  border: 2px solid #180A0A;
  border-radius: 999px;
  background: #FFFFFF;
  cursor: pointer;
  color: #180A0A;
  box-shadow: 2px 2px 0 #180A0A;
  transition: all 0.12s;
}
.plan-passphrase-copy:hover {
  background: #e7a328;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #180A0A;
}
.plan-passphrase-continue {
  font-family: 'Lexend Exa', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 12px 28px;
  background: #e7a328;
  color: #180A0A;
  border: 2.5px solid #180A0A;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #180A0A;
  text-decoration: none;
  display: inline-block;
  transition: all 0.12s;
}
.plan-passphrase-continue:hover {
  background: #c8891a;
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #180A0A;
}

/* ── Stop dates ───────────────────────────────────────────────────────────── */

.plan-stop-dates-large {
  font-size: 0.88rem;
  font-weight: 400;
  color: #A6A6A6;
  margin-top: 2px;
}

/* ── Add to plan (world66 side) ───────────────────────────────────────────── */

.plan-add-trigger { border-color: #EAEAEA; color: #535050; border-radius: 999px; }
.plan-add-trigger:hover { border-color: #e7a328; background: #fffdf7; color: #180A0A; }
.plan-add-modal-btn:hover { background: #fffdf7; color: #180A0A; }

/* ── Footer ───────────────────────────────────────────────────────────────── */

.tabbi-footer {
  margin-top: 80px;
  background: #180A0A;
  color: #fff;
  font-family: 'Lexend Exa', sans-serif;
  border-top: 3px solid #180A0A;
}
.tabbi-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 40px 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: start;
}
.tabbi-footer-logo { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tabbi-footer-logo-img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid #e7a328; }
.tabbi-footer-logo-text { font-size: 1.1rem; font-weight: 800; color: #fff; letter-spacing: -0.04em; }
.tabbi-footer-logo-dot { color: #e7a328; }
.tabbi-footer-tagline { padding-top: 4px; }
.tabbi-footer-headline {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin: 0 0 12px;
}
.tabbi-footer-sub { font-size: 0.82rem; color: #A6A6A6; line-height: 1.7; margin: 0; max-width: 480px; }
.tabbi-footer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 4px; }
.tabbi-footer-fine { font-size: 0.7rem; color: #535050; line-height: 1.55; margin: 0; max-width: 200px; }
.tabbi-footer-bottom {
  border-top: 1px solid #2a1a1a;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.72rem;
  color: #535050;
  font-family: 'Lexend Exa', sans-serif;
}
.tabbi-footer-bottom-sep { color: #2a1a1a; }
.tabbi-footer-w66 { color: #e7a328; text-decoration: none; font-weight: 700; }
.tabbi-footer-w66:hover { color: #c8891a; }

/* ── Edit passphrase sidebar ──────────────────────────────────────────────── */

.plan-edit-passphrase { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 2px solid #F7F7F7; }
.plan-edit-passphrase-hint { font-size: 0.75rem; color: #A6A6A6; margin: 4px 0 10px; }

/* ── Empty state animation ────────────────────────────────────────────────── */

.plan-list-empty-state { text-align: center; padding: 40px 0 60px; }
.tabbi-empty-stage {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 220px;
  margin: 0 auto 32px;
  overflow: hidden;
  border-radius: 16px;
  border: 3px solid #180A0A;
  box-shadow: 5px 5px 0 #180A0A;
  background: linear-gradient(180deg, #e7a328 0%, #c8891a 100%);
}
.tabbi-cityscape { position: absolute; bottom: 0; left: 0; right: 0; height: 160px; overflow: hidden; }
.tabbi-city-track { display: flex; width: max-content; animation: tabbi-city-scroll 18s linear infinite; }
@keyframes tabbi-city-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-900px); } }
.tabbi-buildings { width: 900px; height: 160px; flex-shrink: 0; }
.tabbi-buildings rect,
.tabbi-buildings polygon,
.tabbi-buildings ellipse,
.tabbi-buildings circle,
.tabbi-buildings path,
.tabbi-buildings line {
  fill: none;
  stroke: rgba(255,255,255,0.75);
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tabbi-ghost {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  animation: tabbi-float 3s ease-in-out infinite;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(24,10,10,0.3));
}
.tabbi-ghost-svg { width: 120px; height: 130px; }
@keyframes tabbi-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-14px); }
}
.tabbi-empty-headline { font-size: 1.4rem; font-weight: 800; color: #180A0A; letter-spacing: -0.03em; margin: 0 0 10px; }
.tabbi-empty-sub { font-size: 0.85rem; color: #A6A6A6; line-height: 1.6; margin: 0 0 28px; }
.tabbi-empty-join { margin-top: 16px; font-size: 0.8rem; color: #A6A6A6; }
.tabbi-empty-join-btn {
  background: none;
  border: none;
  color: #e7a328;
  font-family: 'Lexend Exa', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}
.tabbi-empty-join-btn:hover { color: #c8891a; }

/* ── Concierge booking bar ────────────────────────────────────────────────── */

.poi-booking-bar { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.poi-booking-price { font-size: 0.82rem; font-weight: 700; color: #180A0A; }
.poi-booking-duration { font-size: 0.75rem; color: #A6A6A6; }
.poi-concierge-btn {
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  border: 2px solid #180A0A;
  background: #fff;
  color: #180A0A;
  cursor: pointer;
  box-shadow: 2px 2px 0 #180A0A;
  transition: all 0.12s;
}
.poi-concierge-btn:hover {
  background: #e7a328;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #180A0A;
}
.poi-concierge-btn.active {
  background: #e7a328;
  box-shadow: 1px 1px 0 #180A0A;
  transform: translate(1px, 1px);
}
.poi-concierge-wrap { margin-top: 12px; }

/* ── Concierge form ───────────────────────────────────────────────────────── */

.concierge-form {
  background: #fffdf7;
  border: 3px solid #180A0A;
  border-radius: 16px;
  box-shadow: 5px 5px 0 #180A0A;
  padding: 20px;
}
.concierge-form-intro { font-size: 0.82rem; color: #535050; margin: 0 0 18px; line-height: 1.5; }
.cform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.cform-field { display: flex; flex-direction: column; gap: 5px; }
.cform-field--narrow { grid-column: span 1; }
.cform-field--full   { grid-column: span 2; }
.cform-label { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #180A0A; }
.cform-hint { font-weight: 400; text-transform: none; letter-spacing: 0; color: #999; font-size: 0.7rem; }
.cform-input {
  font-family: inherit;
  font-size: 0.85rem;
  color: #180A0A;
  background: #fff;
  border: 2.5px solid #180A0A;
  border-radius: 8px;
  padding: 7px 10px;
  outline: none;
  box-shadow: 2px 2px 0 #180A0A;
  transition: border-color 0.12s, box-shadow 0.12s;
  width: 100%;
  box-sizing: border-box;
}
.cform-input:focus { border-color: #e7a328; box-shadow: 3px 3px 0 #e7a328; }
.cform-textarea { resize: vertical; min-height: 72px; }
.cform-similar-list { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.cform-similar-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; cursor: pointer; }
.cform-similar-item input[type="checkbox"] { accent-color: #e7a328; width: 15px; height: 15px; }
.cform-similar-name { font-weight: 600; color: #180A0A; }
.cform-similar-price { color: #888; font-size: 0.75rem; }
.cform-footer { margin-top: 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cform-submit {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  background: #e7a328;
  color: #180A0A;
  border: 2.5px solid #180A0A;
  border-radius: 999px;
  padding: 9px 22px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #180A0A;
  transition: all 0.12s;
  white-space: nowrap;
}
.cform-submit:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #180A0A; }
.cform-submit:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 #180A0A; }
.cform-footnote { font-size: 0.72rem; color: #999; margin: 0; line-height: 1.4; }

@media (max-width: 480px) {
  .cform-grid { grid-template-columns: 1fr; }
  .cform-field--full { grid-column: span 1; }
}

/* ── Concierge session page ───────────────────────────────────────────────── */

.concierge-session { max-width: 680px; margin: 0 auto; }
.session-header { margin-bottom: 24px; }
.session-title { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 6px; color: #180A0A; }
.session-meta { font-size: 0.78rem; color: #A6A6A6; margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid #180A0A;
  background: #F7F7F7;
  color: #180A0A;
}
.status-badge.status-confirmed        { background: #d1fae5; border-color: #065f46; color: #065f46; }
.status-badge.status-failed           { background: #fee2e2; border-color: #991b1b; color: #991b1b; }
.status-badge.status-cancelled        { background: #F7F7F7; border-color: #DCDCDC; color: #535050; }
.status-badge.status-pending_confirmation { background: #fffdf7; border-color: #e7a328; color: #180A0A; }

.demo-badge {
  display: inline-block;
  font-size: 0.7rem;
  background: #fffdf7;
  color: #180A0A;
  border: 2px solid #e7a328;
  border-radius: 999px;
  padding: 2px 8px;
  font-weight: 700;
}
.spinner {
  display: inline-block;
  width: 12px; height: 12px;
  border: 2.5px solid #DCDCDC;
  border-top-color: #e7a328;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }
.session-waiting { color: #A6A6A6; font-style: italic; font-size: 0.85rem; }

.offer-card {
  background: #fffdf7;
  border: 2.5px solid #e7a328;
  border-radius: 14px;
  box-shadow: 4px 4px 0 #180A0A;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.offer-card-label { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: #180A0A; margin-bottom: 8px; }
.offer-summary { margin: 0 0 12px; font-size: 0.9rem; color: #180A0A; font-weight: 600; }
.offer-details { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.offer-chip {
  padding: 4px 12px;
  background: #e7a328;
  border: 2px solid #180A0A;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #180A0A;
}

.outcome-card {
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 24px;
  border: 2.5px solid #180A0A;
  box-shadow: 4px 4px 0 #180A0A;
}
.outcome-card--confirmed { background: #d1fae5; }
.outcome-card--cancelled { background: #F7F7F7; }
.outcome-card--failed    { background: #fee2e2; }
.outcome-label { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; color: #180A0A; }
.outcome-summary { margin: 0; font-size: 0.88rem; color: #180A0A; }

.thread { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.msg {
  max-width: 75%;
  padding: 10px 16px;
  border-radius: 16px;
  border: 2px solid #180A0A;
  font-size: 0.85rem;
  line-height: 1.6;
}
.msg.outbound {
  background: #e7a328;
  color: #180A0A;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 3px 3px 0 #180A0A;
}
.msg.inbound {
  background: #FFFFFF;
  color: #180A0A;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 3px 3px 0 #180A0A;
}
.msg .ts { font-size: 0.65rem; opacity: 0.5; margin-top: 4px; text-align: right; }
.msg.inbound .ts { text-align: left; }

/* ── Concierge confirmation page ──────────────────────────────────────────── */

.concierge-confirm { max-width: 520px; margin: 60px auto; text-align: center; }
.confirm-wrap { padding: 0 20px; }
.confirm-icon { font-size: 2.4rem; margin-bottom: 16px; }
.confirm-title { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 12px; color: #180A0A; }
.confirm-body { font-size: 0.88rem; line-height: 1.7; color: #535050; margin: 0 0 16px; }
.confirm-also { font-size: 0.82rem; color: #A6A6A6; margin-bottom: 24px; }
.confirm-actions { margin-top: 24px; }

/* ── Passport ─────────────────────────────────────────────────────────────── */

.passport-intro { font-size: 0.9rem; color: #535050; margin: -8px 0 20px; line-height: 1.55; }

.passport-card {
  background: #fff;
  border: 2.5px solid #180A0A;
  border-radius: 16px;
  box-shadow: 4px 4px 0 #180A0A;
  padding: 24px;
  max-width: 520px;
}
.passport-form { display: flex; flex-direction: column; gap: 18px; }
.passport-field { display: flex; flex-direction: column; gap: 4px; }
.passport-label { font-size: 0.82rem; font-weight: 700; color: #180A0A; letter-spacing: 0.02em; text-transform: uppercase; }
.passport-input {
  padding: 10px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 2px solid #DCDCDC;
  border-radius: 8px;
  outline: none;
  background: #fff;
  transition: border-color 0.15s;
}
.passport-input:focus { border-color: #e7a328; }
.passport-hint { font-size: 0.78rem; color: #A6A6A6; }
