/* ==========================================================================
   CURATES — Travel Itinerary App
   Phase 1: HTML + CSS Structure
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design System)
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-bg-page: #FFFFFF;
  --color-bg-card: #FFFFFF;
  --color-bg-secondary: #F5F5F5;
  --color-stroke: #EFEFEF;
  --color-text-primary: #111111;
  --color-text-secondary: #6B6B6B;
  --color-text-muted: #9A9A9A;
  --color-link: #5C7CFA;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Spacing (7px base - scaled down ~10%) */
  --space-1: 7px;
  --space-2: 14px;
  --space-3: 21px;
  --space-4: 28px;
  --space-5: 36px;
  --space-6: 43px;

  /* Shadows */
  --shadow-card: 0 0 8px rgba(0, 0, 0, 0.03);

  /* Border Radius (scaled down ~10%) */
--radius-sm: 10px;
--radius-md: 18px;
--radius-lg: 25px;
--radius-xl: 32px;
--radius-pill: 40px; 

  /* Layout Dimensions (scaled down ~10%) */
  --side-nav-width: 80px;
  --top-nav-height: 80px;
  --day-panel-height: 180px;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  color: var(--color-text-primary);
  background-color: var(--color-bg-page);
  line-height: 1.5;
  min-height: 100vh;
}

button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   App Layout (1440 × 1024)
   -------------------------------------------------------------------------- */
.app-layout {
  display: flex;
  width: 100%;
  min-height: 100vh;
  max-height: 100vh;
  background-color: var(--color-bg-page);
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Side Navigation
   -------------------------------------------------------------------------- */
.side-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: var(--side-nav-width);
  min-width: var(--side-nav-width);
  height: 100vh;
  padding: var(--space-2) 0;
  background-color: var(--color-bg-secondary);
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: transparent;
  color: var(--color-text-muted);
  transition: background-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
}

.nav-btn svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
}

.nav-btn:hover {
  background-color: var(--color-stroke);
  color: var(--color-text-primary);
}

.nav-btn--active {
  background-color: var(--color-bg-card);
  color: var(--color-text-primary);
  box-shadow: var(--shadow-card);
}

.nav-btn--top {
  position: absolute;
  top: var(--space-2);
}

.nav-btn--logo {
  padding: 0;
  background: transparent !important;
}

.nav-btn--logo:hover {
  background: transparent !important;
}

.nav-btn--logo:hover .nav-logo {
  filter: drop-shadow(0 0 12px rgba(251, 146, 60, 0.6));
}

.nav-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 10px;
  transition: filter 0.3s ease;
}

.nav-btn--bottom {
  position: absolute;
  bottom: var(--space-2);
}

.nav-btn--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.nav-btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

/* --------------------------------------------------------------------------
   Main Container
   -------------------------------------------------------------------------- */
.main-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100vh;
  overflow: hidden;
  position: relative;
  margin-left: var(--side-nav-width);
}

/* --------------------------------------------------------------------------
   Top Navigation
   -------------------------------------------------------------------------- */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - var(--side-nav-width));
  height: var(--top-nav-height);
  padding: 0 var(--space-3);
  background-color: var(--color-bg-page);
  flex-shrink: 0;
  position: fixed;
  top: 0;
  left: var(--side-nav-width);
  z-index: 99;
}

.top-nav__center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 650px;
  height: var(--top-nav-height);
  padding: 0 var(--space-4);
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-pill);
  overflow: visible;
}

/* View mode - centered, smaller, just toggle + print */
.top-nav__center--view {
  width: auto;
  justify-content: center;
  gap: 8px;
}

.top-nav__title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
  max-width: 280px;
  overflow: hidden;
}

.top-nav__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-nav__title-text {
  outline: none;
  border: none;
  background: transparent;
  padding: 2px 4px;
  margin: -2px -4px;
  border-radius: 4px;
  transition: background-color 0.15s ease;
  cursor: text;
  min-width: 50px;
}

.top-nav__title-text:hover {
  background-color: var(--color-stroke);
}

.top-nav__title-text:focus {
  background-color: var(--color-stroke);
}

/* Dynamic font sizing for long titles */
.top-nav__title-text--sm {
  font-size: 14px;
}

.top-nav__title-text--xs {
  font-size: 12px;
}

.top-nav__description {
  font-size: 13px;
  color: var(--color-text-secondary);
  outline: none;
  border: none;
  background: transparent;
  padding: 2px 4px;
  margin: -2px -4px;
  border-radius: 4px;
  transition: background-color 0.15s ease, font-size 0.15s ease;
  cursor: text;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dynamic font sizing for long descriptions */
.top-nav__description--sm {
  font-size: 12px;
}

.top-nav__description--xs {
  font-size: 11px;
}

.top-nav__description:hover {
  background-color: var(--color-stroke);
}

.top-nav__description:focus {
  background-color: var(--color-stroke);
}

.top-nav__print-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.top-nav__print-btn svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
}

.top-nav__print-btn:hover {
  background-color: var(--color-stroke);
  color: var(--color-text-primary);
}

.top-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  position: absolute;
  right: var(--space-3);
}

.top-nav__action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.top-nav__action-btn svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
}

.top-nav__action-btn:hover {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

.top-nav__action-btn--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Content Area (Scrollable)
   -------------------------------------------------------------------------- */
.content-area {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-2);
  padding-top: calc(var(--top-nav-height) + var(--space-2));
  padding-bottom: calc(var(--day-panel-height) + var(--space-6));
}

/* --------------------------------------------------------------------------
   Day Content Section
   -------------------------------------------------------------------------- */
.day-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 952px;
  margin: 0 auto;
}

/* Add to style.css, only affects edit page */
body.edit-mode .day-content {
  background-color: #FAFAFA;
  padding: var(--space-2);
  border-radius: var(--radius-lg);
  max-width: calc(952px + var(--space-4));
}

/* Editing Accents and Visuals */
.edit-badge {
  position: relative;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: rgba(251, 146, 60, 0.12);
  color: #9a3412;
  border: 1px solid rgba(251, 146, 60, 0.25);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 12px rgba(251, 146, 60, 0.15), inset 0 0 8px rgba(251, 146, 60, 0.05);
}

body.edit-mode .profile-card__btn:first-child {
  background-color: #fff;
  color: var(--color-text-primary);
}

body.edit-mode .profile-card__btn:first-child:hover {
  background-color: #F5F5F5;
}

body.edit-mode .add-activity-btn {
  background-color: #e5e5e5;
  color: #555;
  border-color: #e5e5e5
}

body.edit-mode .add-activity-btn:hover {
  background-color: #C5C5C5;
}

body.edit-mode .day-btn--add {
  background-color: #E5E5E5;
  color: #555;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

body.edit-mode .day-btn--add:hover {
  background-color: #C5C5C5;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

body.edit-mode .profile-card {
  background-color: #e5e5e5
}

/* View Accents and Visuals */


/* --------------------------------------------------------------------------
   Profile Card
   -------------------------------------------------------------------------- */
.profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px var(--space-2);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.profile-card__left {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.profile-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-bg-secondary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-card__avatar-initial {
  font-size: 18px;
  font-weight: 600;
  color: #999;
}

.profile-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-card__day-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-card__day {
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
}

.profile-card__title {
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
  outline: none;
  padding: 2px 0;
  border: none;
  background: transparent;
  transition: color 0.15s ease;
}

.profile-card__title:focus {
  color: var(--color-text-primary);
}

.profile-card__title[contenteditable="true"]:hover {
  color: var(--color-text-secondary);
}

/* Date Picker */
.date-picker {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.date-picker__day-num {
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
}

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

.date-picker__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.date-picker__btn:hover {
  background-color: var(--color-bg-secondary);
  border-color: var(--color-stroke);
}

.date-picker__btn svg {
  color: var(--color-text-muted);
}

.date-picker__date {
  color: var(--color-text-primary);
}

/* Calendar Popup */
.date-picker__calendar {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 12px;
  z-index: 200;
  display: none;
  min-width: 260px;
}

.date-picker__calendar.is-open {
  display: block;
}

.calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.calendar__month-year {
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.calendar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: none;
  border: 1px solid var(--color-stroke);
  border-radius: 50%;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.calendar__nav:hover {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

.calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 8px;
}

.calendar__weekdays span {
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  text-align: center;
  padding: 4px;
}

.calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.calendar__day {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.calendar__day:hover {
  background-color: var(--color-bg-secondary);
}

.calendar__day--selected {
  background-color: var(--color-text-primary);
  color: var(--color-bg-card);
}

.calendar__day--selected:hover {
  background-color: var(--color-text-secondary);
}

.calendar__day--empty {
  cursor: default;
}

/* Status Selector (Edit Mode) */
.status-selector {
  position: relative;
}

.status-selector__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-stroke);
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.status-selector__btn:hover {
  background-color: var(--color-stroke);
}

.status-selector__indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-selector__indicator--bucket-list {
  background-color: #f59e0b;
}

.status-selector__indicator--visited {
  background-color: #10b981;
}

.status-selector__text {
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.status-selector__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
  display: none;
  min-width: 120px;
}

.status-selector__dropdown.is-open {
  display: block;
}

.status-selector__option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.status-selector__option:hover {
  background-color: var(--color-bg-secondary);
}

.status-selector__option:first-child {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.status-selector__option:last-child {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* Status Badge (View Mode) */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: var(--font-weight-semibold);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.status-badge--bucket-list {
  background-color: #fef3c7;
  color: #b45309;
}

.status-badge--visited {
  background-color: #d1fae5;
  color: #047857;
}

.profile-card__actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.profile-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 90px;
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
}

.profile-card__btn:hover {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

/* Post button - primary action */
.profile-card__btn--post {
  background-color: var(--color-text-primary);
  color: var(--color-bg-card);
  border-color: var(--color-text-primary);
}

.profile-card__btn--post:hover {
  background-color: #333;
  color: var(--color-bg-card);
}

/* Draft button - secondary action */
.profile-card__btn--draft {
  background-color: var(--color-bg-secondary);
}

.profile-card__btn--draft:hover {
  background-color: var(--color-stroke);
}

/* Cancel button - muted */
.profile-card__btn--cancel {
  color: var(--color-text-muted);
}

.profile-card__btn--cancel:hover {
  background-color: #fee2e2;
  color: #dc2626;
  border-color: #fecaca;
}

/* Save Dropdown Button */
.save-dropdown {
  position: relative;
}

.save-dropdown__main {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-right: 8px;
}

.save-dropdown__main .save-dropdown__arrow {
  margin-left: 2px;
  opacity: 0.7;
  transition: transform 0.15s ease;
}

.save-dropdown.is-open .save-dropdown__arrow {
  transform: rotate(180deg);
}

.save-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 100;
  overflow: hidden;
}

.save-dropdown.is-open .save-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.save-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.1s ease;
  text-align: left;
  position: relative;
}

.save-dropdown__item:hover {
  background-color: var(--color-bg-secondary);
}

.save-dropdown__item:first-child {
  border-bottom: 1px solid var(--color-stroke);
}

.save-dropdown__item svg {
  flex-shrink: 0;
  color: var(--color-text-muted);
}

.save-dropdown__item span:first-of-type {
  flex: 1;
}

.save-dropdown__hint {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-regular);
}

/* --------------------------------------------------------------------------
   Activity Table
   -------------------------------------------------------------------------- */
.activity-table {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

/* Activity Headers */
.activity-headers {
  display: grid;
  grid-template-columns: 116px 316px 296px 200px;
  gap: 8px;
}

.activity-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-secondary);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.activity-header--costs {
  position: relative;
  gap: 4px;
}

/* Activity Rows Container */
.activity-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Activity Row */
.activity-row {
  display: grid;
  grid-template-columns: 116px 316px 296px 200px auto;
  gap: 8px;
  align-items: stretch;
  position: relative;
}

/* Activity Row Delete Button */
.activity-row__delete {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: auto;
  margin-bottom: auto;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  opacity: 0;
  transition: opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.activity-row:hover .activity-row__delete {
  opacity: 1;
}

.activity-row__delete:hover {
  background-color: #fee2e2;
  color: #dc2626;
}

/* Activity Cell */
.activity-cell {
  display: flex;
  align-items: flex-start;
  min-height: 120px;
  padding: var(--space-2);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  color: var(--color-text-primary);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  outline: none;
  transition: box-shadow 0.15s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.activity-cell:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.activity-cell:focus {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.activity-cell:empty::before {
  content: attr(data-placeholder);
  color: var(--color-text-muted);
  pointer-events: none;
  font-style: italic;
}

.activity-cell--time {
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  overflow: hidden;
}

.activity-cell--time.activity-cell--readonly {
  padding: var(--space-2);
}

/* Time Input */
.time-input {
  width: 100%;
  padding: var(--space-2);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  text-align: left;
  background: transparent;
  border: none;
  outline: none;
}

.time-input::placeholder {
  color: var(--color-text-muted);
  font-style: italic;
}

.activity-cell--notes {
  flex-direction: column;
  white-space: pre-wrap;
  display: block;
}

.activity-cell--notes div,
.activity-cell--notes p {
  margin: 0;
}

.activity-cell--transport {
  flex-direction: column;
  white-space: pre-wrap;
  display: block;
}

.activity-cell--transport div,
.activity-cell--transport p {
  margin: 0;
}

.activity-cell--costs {
  padding: 0;
}

/* Currency Header Selector (in column header) */
.currency-header-selector {
  position: relative;
  margin-left: 8px;
}

.currency-header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 24px;
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  background-color: transparent;
  border: 1px solid var(--color-stroke);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.currency-header-btn:hover {
  background-color: var(--color-bg-card);
  color: var(--color-text-primary);
}

.currency-header-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  display: none;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
  width: 110px;
}

.currency-header-dropdown.is-open {
  display: flex;
}

.currency-header-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 13px;
  color: var(--color-text-secondary);
  background: none;
  border: 1px solid var(--color-stroke);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.currency-header-option:hover {
  background-color: var(--color-bg-secondary);
}

.currency-header-option--active {
  background-color: var(--color-text-primary);
  color: var(--color-bg-card);
  border-color: var(--color-text-primary);
}

/* Costs Split Layout */
/* Swipeable Cost Cells */
.costs-swipe {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  user-select: none;
  cursor: grab;
}

.costs-swipe:active {
  cursor: grabbing;
}

.costs-swipe__track {
  display: flex;
  width: 200%;
  height: calc(100% - 16px);
  transition: transform 0.3s ease;
}

.costs-swipe[data-view="planned"] .costs-swipe__track {
  transform: translateX(0);
}

.costs-swipe[data-view="actual"] .costs-swipe__track {
  transform: translateX(-50%);
}

.costs-swipe__slide {
  width: 50%;
  display: flex;
  flex-direction: column;
  padding: var(--space-1) var(--space-2);
}

.costs-swipe__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
  margin-bottom: 2px;
  cursor: grab;
  padding: 2px 0;
}

.costs-swipe__label:active {
  cursor: grabbing;
}

.costs-swipe__slide--planned .costs-swipe__label {
  color: #3b82f6;
}

.costs-swipe__slide--actual .costs-swipe__label {
  color: #10b981;
}

.costs-swipe__input,
.costs-swipe__value {
  flex: 1;
  font-size: 14px;
  color: var(--color-text-primary);
  outline: none;
  min-height: 20px;
  cursor: text;
  white-space: pre-wrap;
}

.costs-swipe__value div,
.costs-swipe__value p,
.costs-swipe__input div,
.costs-swipe__input p {
  margin: 0;
}

.costs-swipe__input:empty::before {
  content: attr(data-placeholder);
  color: var(--color-text-muted);
  pointer-events: none;
  font-style: italic;
}

.costs-swipe__dots {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.costs-swipe__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-stroke);
  cursor: pointer;
  transition: all 0.2s ease;
}

.costs-swipe__dot--active {
  background: var(--color-text-secondary);
  transform: scale(1.2);
}

.costs-swipe__dot:first-child.costs-swipe__dot--active {
  background: #3b82f6;
}

.costs-swipe__dot:last-child.costs-swipe__dot--active {
  background: #10b981;
}

/* Readonly view mode */
.costs-swipe--readonly {
  cursor: grab;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.costs-swipe--readonly .costs-swipe__track {
  height: auto;
  flex-shrink: 0;
}

.costs-swipe--readonly .costs-swipe__slide {
  padding: var(--space-1) var(--space-2);
}

.costs-swipe--readonly .costs-swipe__dots {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  margin-top: auto;
  padding-bottom: 8px;
  justify-content: center;
}

.costs-swipe--readonly .costs-swipe__value {
  cursor: default;
}

.activity-cell--costs:focus-within {
  border-color: var(--color-stroke);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.12);
}

/* Add Activity Button */
.add-activity-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  width: 100%;
  height: 40px;
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: background-color 0.15s ease, color 0.15s ease;
}
/* Costs Total Row */
.costs-total {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-1);
  padding: 4px 0;
  margin-top: -4px;
  margin-bottom: -4px;
  background-color: transparent;
  border: none;
}

.costs-total__label {
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
}

.costs-total__values {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  min-width: 200px;
}

.costs-total__planned,
.costs-total__actual {
  flex: 1;
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  text-align: center;
}

.costs-total__divider {
  width: 1px;
  height: 16px;
  background-color: var(--color-stroke);
}

.add-activity-btn:hover {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

/* --------------------------------------------------------------------------
   Day Panel (Sticky)
   -------------------------------------------------------------------------- */
.day-panel {
  position: fixed;
  bottom: 32px;
  left: calc(var(--side-nav-width) + 50%);
  transform: translateX(calc(-50% - var(--side-nav-width) / 2));
  width: 952px;
  height: var(--day-panel-height);
  padding: var(--space-1);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: stretch;
  gap: var(--space-1);
  z-index: 100;
}

.day-panel__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  height: 100%;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-secondary);
  color: var(--color-text-muted);
  transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.day-panel__arrow:hover {
  background-color: var(--color-stroke);
  color: var(--color-text-primary);
}

.day-panel__arrow--hidden {
  opacity: 0.3;
  pointer-events: none;
}

.day-panel__buttons {
  display: flex;
  gap: var(--space-1);
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.day-panel__buttons::-webkit-scrollbar {
  display: none;
}

/* Day Button */
.day-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  width: 164px;
  min-width: 164px;
  height: 164px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-xl);
  overflow: visible;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  flex-shrink: 0;
}

/* Day Button Delete */
.day-btn__delete {
  position: absolute;
  top: 7px;
  right: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-text-muted);
  opacity: 0;
  transition: opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  z-index: 10;
}

.day-btn:hover .day-btn__delete {
  opacity: 1;
}

.day-btn__delete:hover {
  background-color: #fee2e2;
  color: #dc2626;
}

.day-btn:hover {
  border-color: var(--color-stroke);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.day-btn--active {
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.day-btn__thumbnail {
  width: 100%;
  height: 108px;
  background-color: var(--color-bg-secondary);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.day-btn__thumbnail-upload {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  opacity: 0;
  transition: opacity 0.15s ease;
  cursor: pointer;
}

.day-btn:hover .day-btn__thumbnail-upload {
  opacity: 1;
}

.day-btn__thumbnail-upload svg {
  width: 24px;
  height: 24px;
}

.day-btn__thumbnail-upload input {
  display: none;
}

.day-btn__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  gap: 0;
  text-align: center;
  padding: var(--space-1);
}

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

.day-btn__title {
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
}

/* Add Day Button */
.day-btn--add {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 120px;
  background-color: var(--color-bg-secondary);
  color: var(--color-text-muted);
}

.day-btn--add:hover {
  color: var(--color-text-secondary);
  background-color: var(--color-stroke);
}

.day-btn--add span {
  font-size: 13px;
  font-weight: var(--font-weight-medium);
}

/* ==========================================================================
   PROFILE PAGE STYLES
   ========================================================================== */

/* Profile Content */
.profile-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  max-width: 952px;
  margin: 0 auto;
}

/* Profile Hero */
.profile-hero {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  background: #fff;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.profile-hero__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background-color: var(--color-bg-secondary);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-hero__avatar-default {
  color: var(--color-text-muted);
}

.profile-hero__avatar--has-image .profile-hero__avatar-default {
  display: none;
}

.profile-hero__avatar-upload {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.profile-hero__avatar:hover .profile-hero__avatar-upload {
  opacity: 1;
}

.profile-hero__avatar-upload svg {
  width: 20px;
  height: 20px;
}

.profile-hero__avatar-upload input {
  display: none;
}

.profile-hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.profile-hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
}

.profile-hero__info {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.profile-hero__name {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  line-height: 1.2;
}

.profile-hero__username {
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
}

.profile-hero__bio {
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin: 0;
}

.profile-hero__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: #d9a57e;
  text-decoration: none;
  transition: color 0.15s ease;
}

.profile-hero__link:hover {
  color: #c9936a;
}

.profile-hero__link svg {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}

.profile-hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.profile-hero__flag {
  font-size: 18px;
  line-height: 1;
}

.profile-hero__stat {
  font-size: 13px;
  color: var(--color-text-muted);
}

.profile-hero__stat strong {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.profile-hero__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.profile-hero__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  cursor: pointer;
}

.profile-hero__btn:hover {
  background-color: var(--color-bg-secondary);
}

.profile-hero__btn--follow {
  background: linear-gradient(135deg, #f5d4b8 0%, #ecba95 50%, #e0a577 100%);
  border: none;
  color: white;
}

.profile-hero__btn--follow:hover {
  background: linear-gradient(135deg, #e8c4a0 0%, #d9a57e 50%, #c9936a 100%);
  box-shadow: 0 2px 8px rgba(236, 186, 149, 0.4);
}

.profile-hero__btn--following {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-stroke);
  color: var(--color-text-secondary);
}

.profile-hero__btn--following:hover {
  background: var(--color-bg-card);
  border-color: #e57373;
  color: #e57373;
}

/* Edit mode indicator */
.profile-hero--editing {
  border-color: var(--color-text-muted);
}

/* Profile Edit Modal */
.profile-edit-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.profile-edit-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  width: 320px;
  max-width: 90vw;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.25s ease;
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-edit-card__title {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
  text-align: center;
}

.profile-edit-card__avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-2);
}

.profile-edit-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--color-bg-secondary);
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  transition: opacity 0.15s ease;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-edit-card__avatar-default {
  color: var(--color-text-muted);
}

.profile-edit-card__avatar--has-image .profile-edit-card__avatar-default {
  display: none;
}

.profile-edit-card__avatar:hover {
  opacity: 0.8;
}

.profile-edit-card__avatar-upload {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.15s ease;
  cursor: pointer;
}

.profile-edit-card__avatar:hover .profile-edit-card__avatar-upload {
  opacity: 1;
}

.profile-edit-card__avatar-upload svg {
  width: 24px;
  height: 24px;
}

.profile-edit-card__avatar-upload input {
  display: none;
}

.profile-edit-card__avatar-hint {
  font-size: 11px;
  color: var(--color-text-muted);
}

.profile-edit-card__avatar-remove {
  font-size: 11px;
  color: #ef4444;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.15s ease;
}

.profile-edit-card__avatar-remove:hover {
  opacity: 0.7;
}

.profile-edit-card__field {
  margin-bottom: var(--space-2);
}

.profile-edit-card__label {
  display: block;
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

.profile-edit-card__input,
.profile-edit-card__textarea {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font-family);
  font-size: 13px;
  color: var(--color-text-primary);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.profile-edit-card__input:focus,
.profile-edit-card__textarea:focus {
  border-color: var(--color-text-muted);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.profile-edit-card__textarea {
  resize: none;
  height: 60px;
}

.profile-edit-card__counter {
  display: block;
  font-size: 10px;
  color: var(--color-text-muted);
  text-align: right;
  margin-top: 4px;
}

/* Username input with @ prefix */
.profile-edit-card__input-wrapper {
  display: flex;
  align-items: center;
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.profile-edit-card__input-wrapper:focus-within {
  border-color: var(--color-text-muted);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.profile-edit-card__input-prefix {
  padding: 10px 0 10px 12px;
  font-size: 13px;
  color: var(--color-text-muted);
  user-select: none;
}

.profile-edit-card__input--with-prefix {
  border: none;
  padding-left: 0;
  background-color: transparent;
}

.profile-edit-card__input--with-prefix:focus {
  box-shadow: none;
}

.profile-edit-card__actions {
  display: flex;
  gap: var(--space-1);
  margin-top: var(--space-2);
}

.profile-edit-card__btn {
  flex: 1;
  padding: 10px;
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.profile-edit-card__btn--cancel {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-stroke);
}

.profile-edit-card__btn--cancel:hover {
  background-color: var(--color-stroke);
}

.profile-edit-card__btn--save {
  background-color: var(--color-text-primary);
  color: var(--color-bg-card);
  border: none;
}

.profile-edit-card__btn--save:hover {
  background-color: var(--color-text-secondary);
}

/* Avatar Modal (for viewing full size) */
.avatar-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.avatar-modal--visible {
  opacity: 1;
}

.avatar-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.avatar-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-modal__image {
  max-width: 300px;
  max-height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.avatar-modal__close {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.avatar-modal__close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Disabled CTA for coming soon tabs */
.curate-cta__btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.curate-cta__text--disabled {
  cursor: default;
  pointer-events: none;
}

/* Profile Tabs */
/* Profile Tabs */
.profile-tabs {
  display: flex;
  gap: 6px;
  width: 100%;
  background-color: var(--color-bg-secondary);
  padding: 5px;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}

.profile-tab {
  position: relative;
  flex: 1;
  padding: 16px var(--space-2);
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-muted);
  background-color: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-tab:hover {
  color: var(--color-text-secondary);
  background-color: rgba(0, 0, 0, 0.03);
}

.profile-tab--active {
  color: var(--color-text-primary);
  background-color: var(--color-bg-card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.profile-tab--active:hover {
  background-color: var(--color-bg-card);
}

/* Curate CTA Card */
.curate-cta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 7px var(--space-2);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.curate-cta__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-bg-secondary);
  flex-shrink: 0;
}

.curate-cta__text {
  flex: 1;
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
  font-style: italic;
  cursor: pointer;
  transition: color 0.15s ease;
}

.curate-cta__text:hover {
  color: var(--color-text-secondary);
}

.curate-cta__btn {
  position: relative;
  padding: 10px var(--space-3);
  font-size: 14px;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-text-secondary);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  overflow: hidden;
  transition: all 0.2s ease;
}

/* Gradient glow effect */
.curate-cta__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FBBF24, #F97316, #FB923C, #FDBA74);
  opacity: 0.15;
  filter: blur(8px);
  transition: opacity 0.4s ease;
}

.curate-cta__btn:hover::before {
  opacity: 0.35;
}

.curate-cta__btn:hover {
  color: var(--color-text-primary);
  border-color: rgba(251, 146, 60, 0.4);
  box-shadow: 0 4px 20px rgba(251, 146, 60, 0.15);
}

/* Itinerary Filter */
.itinerary-filter {
  display: flex;
  gap: 6px;
  margin-bottom: var(--space-1);
}

.itinerary-filter__btn {
  padding: 4px 12px;
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  background-color: transparent;
  border: 1px solid var(--color-stroke);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.itinerary-filter__btn:hover {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-secondary);
}

.itinerary-filter__btn--active {
  background-color: var(--color-text-primary);
  color: var(--color-bg-card);
  border-color: var(--color-text-primary);
}

.itinerary-filter__btn--active:hover {
  background-color: #333;
  color: var(--color-bg-card);
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-bg-card);
  background-color: var(--color-text-primary);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  z-index: 2000;
  transition: background-color 0.2s ease, backdrop-filter 0.2s ease;
}

.modal-overlay--visible {
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
}

.modal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 360px;
  padding: 28px 32px;
  background-color: var(--color-bg-card);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.modal-overlay--visible .modal-card {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 4px;
}

.modal-icon--delete {
  background-color: #fee2e2;
  color: #dc2626;
}

.modal-icon--warning {
  background-color: #fef3c7;
  color: #d97706;
}

.modal-icon--duplicate {
  background-color: #dbeafe;
  color: #2563eb;
}

.modal-icon--share {
  background-color: #d1fae5;
  color: #059669;
}

.modal-title {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  text-align: center;
  margin: 0;
}

.modal-message {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

.modal-input {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font-family);
  font-size: 12px;
  color: var(--color-text-primary);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-sm);
  outline: none;
  margin-top: 8px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}

.modal-btn {
  flex: 1;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.modal-btn:active {
  transform: scale(0.98);
}

.modal-btn--cancel {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-stroke);
}

.modal-btn--cancel:hover {
  background-color: var(--color-stroke);
}

.modal-btn--confirm {
  background-color: var(--color-text-primary);
  color: var(--color-bg-card);
  border: none;
}

.modal-btn--confirm:hover {
  background-color: #333;
}

.modal-btn--delete {
  background-color: #dc2626;
}

.modal-btn--delete:hover {
  background-color: #b91c1c;
}

.modal-btn--warning {
  background-color: #d97706;
}

.modal-btn--warning:hover {
  background-color: #b45309;
}

/* Loading Overlay */
.loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 100;
}

.loading-overlay--visible {
  opacity: 1;
}

.loading-overlay--fullscreen {
  position: fixed;
  z-index: 3000;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--color-stroke);
  border-top-color: var(--color-text-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* Formatting Toolbar */
.formatting-toolbar {
  position: absolute;
  display: none;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.formatting-toolbar::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid var(--color-bg-card);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.formatting-group {
  display: flex;
  align-items: center;
  gap: 2px;
}

.formatting-label {
  font-size: 10px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  margin-right: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.formatting-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--color-text-secondary);
  background: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.formatting-btn:hover {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

.formatting-btn--color span {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid var(--color-stroke);
}

.formatting-btn--color.formatting-btn--remove span {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--color-stroke);
}

.formatting-btn--textcolor span {
  font-size: 13px;
  font-weight: bold;
}

.formatting-divider {
  width: 1px;
  height: 20px;
  background-color: var(--color-stroke);
  margin: 0 6px;
}

/* Page entrance animation */
@keyframes pageSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.edit-mode .day-content {
  animation: pageSlideIn 0.4s ease-out;
}

body.view-mode .day-content {
  animation: pageSlideIn 0.4s ease-out;
}

/* Profile page animation */
.profile-content {
  animation: pageSlideIn 0.4s ease-out;
}

/* Itinerary Grid */
.itinerary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-2);
}

/* Itinerary Feed */
.itinerary-feed {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  width: 100%;
}

/* Itinerary Post Card */
.itinerary-post {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-2);
  width: 100%;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s ease;
}

.itinerary-post:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

/* Post Header */
.post-header {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.post-header__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-bg-secondary);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  margin-left: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease;
}

.post-header__avatar-default {
  color: var(--color-text-muted);
}

.post-header__avatar--has-image .post-header__avatar-default {
  display: none;
}

.post-header__avatar:hover {
  opacity: 0.8;
}

.post-header__user {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.post-header__username {
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 0.15s ease;
  line-height: 1.2;
}

.post-header__username:hover {
  color: var(--color-text-muted);
}

.post-header__handle {
  font-size: 11px;
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
  line-height: 1.2;
}

.post-header__timestamp {
  font-size: 12px;
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
  margin-left: var(--space-1);
}

.post-header__indicator {
  padding: 3px 8px;
  font-size: 10px;
  font-weight: var(--font-weight-semibold);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-header__indicator--itinerary {
  background-color: #e0f2fe;
  color: #0369a1;
}

.post-header__indicator--blog {
  background-color: #fce7f3;
  color: #be185d;
}

.post-header__indicator--journal {
  background-color: #f0fdf4;
  color: #15803d;
}

/* Post Header Status Badge */
.post-header__status {
  padding: 3px 8px;
  font-size: 10px;
  font-weight: var(--font-weight-semibold);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-header__status--bucket-list {
  background-color: #fef3c7;
  color: #b45309;
}

.post-header__status--visited {
  background-color: #d1fae5;
  color: #047857;
}

/* Post Title & Description */
.post-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-left: 10px;
}

.post-body__title {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
}

.post-body__description {
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  color: var(--color-text-secondary);
}

/* Post Thumbnails */
.post-thumbnails-wrapper {
  position: relative;
  margin-left: 21px;
  margin-right: 10px;
}

.post-thumbnails {
  display: flex;
  gap: var(--space-1);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.post-thumbnails::-webkit-scrollbar {
  display: none;
}

.post-thumbnails-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-stroke);
  border-radius: 50%;
  color: var(--color-text-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.post-thumbnails-arrow:hover {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

.post-thumbnails-arrow--left {
  left: -10px;
}

.post-thumbnails-arrow--right {
  right: -10px;
}

.post-thumbnails-arrow--hidden {
  opacity: 0;
  pointer-events: none;
}

.post-thumbnail {
  width: 234px;
  min-width: 234px;
  height: 234px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-xl);
  flex-shrink: 0;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: visible;
}

.post-thumbnail:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.post-thumbnail__image {
  width: 100%;
  height: 170px;
  background-color: var(--color-bg-secondary);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  flex-shrink: 0;
}

.post-thumbnail__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  gap: 2px;
  text-align: center;
  padding: var(--space-2);
}

.post-thumbnail__title {
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-thumbnail__label {
  font-size: 12px;
  font-weight: var(--font-weight-regular);
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Post Actions */
.post-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-actions__left {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.post-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.post-action-btn:hover {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

.post-action-btn__count {
  font-size: 13px;
  font-weight: var(--font-weight-medium);
}

.post-action-btn--liked {
  color: #ef4444;
}

.post-action-btn--liked svg {
  fill: #ef4444;
}

.post-action-btn--liked:hover {
  color: #dc2626;
}

.post-actions__right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.post-coffee-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: 14px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.post-coffee-btn svg {
  width: 13px;
  height: 13px;
}

.post-coffee-btn:hover {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

.post-coffee-wrapper {
  position: relative;
}

.post-coffee-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  width: 220px;
  padding: var(--space-1) var(--space-2);
  font-size: 12px;
  font-weight: var(--font-weight-regular);
  color: var(--color-text-secondary);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.post-coffee-wrapper:hover .post-coffee-tooltip {
  opacity: 1;
  visibility: visible;
}
.post-coffee-wrapper:hover .post-coffee-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Post Header Menu */
.post-header__spacer {
  flex: 1;
}

.post-header__menu {
  position: relative;
}

.post-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.post-menu-btn:hover {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

.post-menu-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 140px;
  padding: 6px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
  z-index: 50;
}

.post-menu-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.post-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.post-menu-item:hover {
  background-color: var(--color-bg-secondary);
}

.post-menu-item--delete:hover {
  background-color: #fee2e2;
  color: #dc2626;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

/* Day Content base transition */
.day-content {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Activity Row Animations */
.activity-row {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.activity-row--enter {
  opacity: 0;
  transform: translateY(-10px);
}

.activity-row--enter-active {
  opacity: 1;
  transform: translateY(0);
}

.activity-row--exit {
  opacity: 0;
  transform: translateX(-20px);
}

/* Day Button Animation */
.day-btn {
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.day-btn:active {
  transform: scale(0.98);
}

/* ==========================================================================
   VIEW PAGE STYLES (Read-only)
   ========================================================================== */

/* Read-only cells */
.activity-cell--readonly {
  cursor: default;
  user-select: text;
  white-space: pre-wrap;
}

.activity-cell--readonly:focus {
  border-color: var(--color-stroke);
  box-shadow: var(--shadow-card);
}

.costs-split--readonly {
  cursor: default;
  user-select: text;
}

/* Day Panel View Mode (no Add Day button) */
.day-panel--view {
  justify-content: flex-start;
}

.day-panel--view .day-panel__buttons {
  justify-content: flex-start;
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .side-nav,
  .top-nav__actions,
  .top-nav__print-btn,
  .day-panel,
  .add-activity-btn,
  .profile-card__actions,
  .activity-row__delete {
    display: none !important;
  }

  .app-layout {
    display: flex;
    width: 100%;
    min-height: auto;
    height: auto;
    max-height: none;
    margin: 0;
    background-color: white;
    overflow: visible;
  }

  .main-container {
    margin-left: 0;
    overflow: visible;
    height: auto;
  }

  .content-area {
    overflow: visible;
    padding: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .top-nav {
    position: relative;
    width: 100%;
    left: 0;
  }

  .activity-cell {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ==========================================================================
   NEW FEATURES - Batch 1-4
   ========================================================================== */

/* Undo/Redo Indicator */
.undo-redo-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding-left: 16px;
}

.undo-btn,
.redo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.undo-btn:hover:not(:disabled),
.redo-btn:hover:not(:disabled) {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

.undo-btn:disabled,
.redo-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Save Indicator */
.save-indicator {
  font-size: 11px;
  color: var(--color-text-muted);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.save-indicator--saved {
  color: #059669;
}

.save-indicator--unsaved {
  color: #d97706;
  background-color: #fef3c7;
}

/* Character Counter */
.char-counter {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-left: 8px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.char-counter--visible {
  opacity: 1;
}

.char-counter--warning {
  color: #d97706;
}

.char-counter--limit {
  color: #dc2626;
}

.desc-wrapper {
  display: flex;
  align-items: center;
}

/* Cost Validation Colors */
.costs-total__actual.costs-total--over {
  color: #dc2626;
  font-weight: var(--font-weight-semibold);
}

.costs-total__actual.costs-total--under {
  color: #059669;
  font-weight: var(--font-weight-semibold);
}

/* Time Gap Warning */
.time-gap-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  margin: 4px 0;
  font-size: 12px;
  color: #d97706;
  background-color: #fef3c7;
  border-radius: var(--radius-sm);
  border: 1px dashed #fcd34d;
}

.time-gap-warning svg {
  flex-shrink: 0;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
}

.empty-state__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  color: var(--color-text-muted);
  background-color: var(--color-bg-secondary);
  border-radius: 50%;
}

.empty-state__title {
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin: 0 0 8px 0;
}

.empty-state__text {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0 0 24px 0;
  max-width: 280px;
}

.empty-state__btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-bg-card);
  background-color: var(--color-text-primary);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.empty-state__btn:hover {
  background-color: #333;
}

/* Trip Duration Badge */
.post-header__duration {
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  color: #2563eb;
  background-color: #dbeafe;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 4px;
}

/* Emoji Picker */
.emoji-picker {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 12px;
  width: 200px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 1001;
}

.emoji-picker__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 18px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.emoji-picker__btn:hover {
  background-color: var(--color-bg-secondary);
}

/* Skeleton Loading */
.skeleton-loader {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton--avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.skeleton--text {
  height: 14px;
  width: 100%;
}

.skeleton--text-lg {
  width: 70%;
}

.skeleton--text-sm {
  width: 40%;
}

.skeleton--cell {
  height: 80px;
  width: 100px;
}

.skeleton--cell-lg {
  width: 200px;
}

@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Tab Transitions */
.profile-tabs {
  transition: opacity 0.2s ease;
}

.itinerary-feed {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Link Styling in Rich Text */
.activity-cell a {
  color: #2563eb;
  text-decoration: underline;
}

.activity-cell a:hover {
  color: #1d4ed8;
}

/* List Styling in Rich Text */
.activity-cell ul,
.activity-cell ol {
  margin: 8px 0;
  padding-left: 20px;
}

.activity-cell li {
  margin-bottom: 4px;
}

/* ==========================================================================
   ACHIEVEMENTS DRAWER - Batch 5 Gamification
   ========================================================================== */

/* Achievements Drawer Overlay */
.achievements-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.achievements-drawer-overlay--visible {
  background-color: rgba(0, 0, 0, 0.4);
}

.achievements-drawer-overlay--visible .achievements-drawer {
  transform: translateX(0);
}

/* Achievements Drawer */
.achievements-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background-color: var(--color-bg-card);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.achievements-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-stroke);
  background-color: var(--color-bg-secondary);
}

.achievements-drawer__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  margin: 0;
}

.achievements-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.achievements-drawer__close:hover {
  background-color: var(--color-stroke);
  color: var(--color-text-primary);
}

.achievements-drawer__content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-card__icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.stat-card__value {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  line-height: 1.2;
}

.stat-card__label {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Streak Section */
.streak-section {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.streak-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: var(--radius-md);
}

.streak-card--secondary {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.streak-card__icon {
  font-size: 28px;
}

.streak-card__info {
  display: flex;
  flex-direction: column;
}

.streak-card__value {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
}

.streak-card__label {
  font-size: 11px;
  color: var(--color-text-secondary);
}

/* Badges Section */
.badges-section__title {
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 16px 0;
}

.badges-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Badge Item */
.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.badge-item--unlocked {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
}

.badge-item--locked {
  opacity: 0.7;
}

.badge-item__icon {
  font-size: 28px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-card);
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-item--locked .badge-item__icon {
  filter: grayscale(1);
  opacity: 0.5;
}

.badge-item__info {
  flex: 1;
  min-width: 0;
}

.badge-item__name {
  display: block;
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.badge-item__desc {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.badge-item__progress {
  height: 4px;
  background-color: var(--color-stroke);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.badge-item__progress-bar {
  height: 100%;
  background-color: #3b82f6;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.badge-item__progress-text {
  display: block;
  font-size: 10px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.badge-item__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #22c55e;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
}

/* Trophy Button Badge Notification */
.trophy-btn {
  position: relative;
}

.badge-notification {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background-color: #ef4444;
  border-radius: 50%;
  border: 2px solid var(--color-bg-card);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

/* ==========================================================================
   SEARCH MODAL
   ========================================================================== */

.search-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  z-index: 1000;
  transition: background-color 0.2s ease;
}

.search-modal-overlay--visible {
  background-color: rgba(0, 0, 0, 0.5);
}

.search-modal-overlay--visible .search-modal {
  opacity: 1;
  transform: translateY(0);
}

.search-modal {
  width: 500px;
  max-width: 90vw;
  max-height: 70vh;
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.2s ease;
}

.search-modal__header {
  padding: 16px;
  border-bottom: 1px solid var(--color-stroke);
}

.search-modal__input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-modal__icon {
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.search-modal__input {
  flex: 1;
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--color-text-primary);
  background: none;
  border: none;
  outline: none;
}

.search-modal__input::placeholder {
  color: var(--color-text-muted);
}

.search-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.search-modal__close:hover {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

.search-modal__results {
  max-height: calc(70vh - 70px);
  overflow-y: auto;
}

.search-modal__empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid var(--color-stroke);
}

.search-result:last-child {
  border-bottom: none;
}

.search-result:hover {
  background-color: var(--color-bg-secondary);
}

.search-result__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-bg-secondary);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.search-result__avatar--has-image svg {
  display: none;
}

.search-result__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.search-result__title {
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.search-result__meta {
  font-size: 12px;
  color: var(--color-text-muted);
}

.search-result__arrow {
  color: var(--color-text-muted);
  flex-shrink: 0;
}

/* ==========================================================================
   COFFEE BUTTON IN VIEW MODE
   ========================================================================== */

.profile-card__coffee-wrapper {
  position: relative;
}

.profile-card__coffee-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--color-text-secondary);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s ease;
  z-index: 10;
}

.profile-card__coffee-wrapper:hover .profile-card__coffee-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==========================================================================
   NOTES IMAGE THUMBNAIL & LIGHTBOX
   ========================================================================== */

.notes-image-thumbnail {
  display: inline-block;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  vertical-align: middle;
  margin: 2px 4px;
  border: 1px solid var(--color-stroke);
}

.notes-image-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Lightbox */
.image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: background-color 0.2s ease;
}

.image-lightbox--visible {
  background-color: rgba(0, 0, 0, 0.9);
}

.image-lightbox--visible .image-lightbox__img {
  opacity: 1;
  transform: scale(1);
}

.image-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.image-lightbox__close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.image-lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.2s ease;
}

/* ==========================================================================
   VIEW TOGGLE BUTTON - Lamp Glow Effect
   ========================================================================== */

.view-toggle {
  display: flex;
  align-items: center;
  background-color: transparent;
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-left: 16px;
  gap: 4px;
  overflow: visible;
}

.view-toggle__btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-toggle__btn:hover {
  color: var(--color-text-secondary);
}

.view-toggle__btn--active {
  background-color: rgba(249, 115, 22, 0.06);
  color: #9a3412;
}

/* Lamp glow effect - subtle */
.view-toggle__btn--active::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #F97316, transparent);
  border-radius: 2px;
  opacity: 0.8;
}

.view-toggle__btn--active::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 16px;
  background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
  filter: blur(3px);
  pointer-events: none;
}

.view-toggle__btn svg {
  transition: transform 0.2s ease;
}

.view-toggle__btn--active svg {
  color: #c2410c;
}

/* ==========================================================================
   TIMELINE VIEW
   ========================================================================== */

.content-area--timeline {
  padding: 0;
}

.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px 24px 64px;
  position: relative;
}

/* Timeline Header */
.timeline-header {
  text-align: center;
  margin-bottom: 12px;
  padding-top: 8px;
  padding-bottom: 0;
  border-bottom: none;
}

/* Print-only elements - hidden on screen, shown in print */
.timeline-header__print-only {
  display: none;
}

.timeline-header__title {
  font-size: 28px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.timeline-header__desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.timeline-header__meta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.timeline-header__duration {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
  background-color: var(--color-bg-secondary);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-header__duration svg {
  width: 12px;
  height: 12px;
}

/* Override status badge margin in timeline header */
.timeline-header__meta .status-badge {
  margin-top: 0;
}

/* Timeline Travel Sections (Flights & Hotels) */
.timeline-travel-wrapper {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.timeline-travel-section {
  flex: 1;
  padding: 14px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.timeline-travel-section__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-travel-section--flights .timeline-travel-section__header {
  color: #92400E;
}

.timeline-travel-section--hotels .timeline-travel-section__header {
  color: #9D174D;
}

.timeline-travel-section__cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-travel-card {
  padding: 10px 12px;
  background: var(--color-bg-secondary);
  border-radius: 8px;
}

.timeline-travel-card__main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}

.timeline-travel-card__route,
.timeline-travel-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.timeline-travel-card__airline,
.timeline-travel-card__address {
  font-size: 11px;
  color: var(--color-text-muted);
}

.timeline-travel-card__details {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--color-text-secondary);
}

.timeline-travel-card__code {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--color-border);
  font-size: 10px;
  font-family: monospace;
  color: var(--color-text-muted);
}

.timeline-travel-card__notes {
  margin-top: 4px;
  font-size: 11px;
  color: var(--color-text-muted);
  font-style: italic;
}

/* Timeline Days Container */
.timeline-days {
  position: relative;
  padding-left: 60px;
}

/* Timeline Line - now relative to timeline-days */
.timeline-line {
  position: absolute;
  left: 44px;
  top: 0;
  bottom: 40px;
  width: 2px;
  pointer-events: none;
}

.timeline-line__track {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    #F9C5A1 0px,
    #F9C5A1 6px,
    transparent 6px,
    transparent 12px
  );
}

.timeline-line__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: repeating-linear-gradient(
    to bottom,
    #F97316 0px,
    #F97316 6px,
    transparent 6px,
    transparent 12px
  );
  border-radius: 1px;
  transition: height 0.1s ease-out;
}

.timeline-day {
  position: relative;
  margin-bottom: 24px;
}

.timeline-day:last-child {
  margin-bottom: 0;
}

/* Day Marker */
.timeline-day__marker {
  position: absolute;
  left: -60px;
  top: 0;
  width: 40px;
  display: flex;
  justify-content: center;
}

.timeline-day__dot {
  width: 16px;
  height: 16px;
  background-color: var(--color-bg-card);
  border: 3px solid #F97316;
  border-radius: 50%;
  z-index: 2;
}

/* Day Content */
.timeline-day__content {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.timeline-day__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-stroke);
}

.timeline-day__title {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
}

.timeline-day__date {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Timeline Activities */
.timeline-day__activities {
  padding: 4px 0;
}

.timeline-activity {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--color-stroke);
}

.timeline-activity:last-child {
  border-bottom: none;
}

.timeline-activity__time {
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
  padding-top: 1px;
}

.timeline-activity__content {
  min-width: 0;
}

.timeline-activity__notes {
  font-size: 14px;
  color: var(--color-text-primary);
  line-height: 1.5;
  white-space: pre-wrap;
}

.timeline-activity__notes div,
.timeline-activity__notes p {
  margin: 0;
}

.timeline-activity__notes img {
  max-width: 60px;
  height: auto;
  border-radius: var(--radius-sm);
  vertical-align: middle;
}

.timeline-activity__transport {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 6px;
  padding: 4px 8px;
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-sm);
  display: block;
  white-space: pre-wrap;
}

.timeline-activity__transport svg {
  display: none;
}

/* Day Total - hidden (costs removed from timeline view) */
.timeline-day__total {
  display: none;
}

.timeline-day__total-label {
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-day__total-values {
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

/* Timeline Footer / Grand Total */
.timeline-footer {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--color-stroke);
}

.timeline-grand-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background-color: var(--color-bg-card);
  border: 2px solid var(--color-text-primary);
  border-radius: var(--radius-lg);
}

.timeline-grand-total__label {
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-grand-total__values {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: var(--font-weight-bold);
}

.timeline-grand-total__planned {
  color: var(--color-text-secondary);
}

.timeline-grand-total__divider {
  color: var(--color-text-muted);
}

.timeline-grand-total__actual {
  color: var(--color-text-primary);
}

/* ==========================================================================
   Stats Visibility Toggle
   ========================================================================== */

.stats-visibility-toggle {
  margin: 16px 0 24px;
  padding: 12px 16px;
  background: var(--color-bg-tertiary);
  border-radius: 8px;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.toggle-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
  background: var(--color-border);
  border-radius: 11px;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-checkbox:checked + .toggle-switch {
  background: var(--color-text-primary);
}

.toggle-checkbox:checked + .toggle-switch::after {
  transform: translateX(18px);
}

.toggle-checkbox:focus + .toggle-switch {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.toggle-text {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* Badges section hint */
.badges-section__hint {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  padding: 8px 12px;
  background: var(--color-bg-tertiary);
  border-radius: 6px;
}

/* ==========================================================================
   Profile Edit - Home Country Select
   ========================================================================== */

.profile-edit-card__select {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.profile-edit-card__select:focus {
  outline: none;
  border-color: var(--color-text-primary);
}

.profile-edit-card__hint {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Location Selectors - Clickable Summary Buttons
   ========================================================================== */

.location-selectors {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 4px;
  padding: 0 12px;
  border-left: 1px solid var(--color-border);
  margin-left: 8px;
}

.location-summary {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  font-size: 11px;
  font-family: inherit;
  color: var(--color-text-muted);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.location-summary svg:first-child {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0.7;
}

.location-summary__arrow {
  width: 10px;
  height: 10px;
  opacity: 0.5;
  flex-shrink: 0;
}

.location-summary:hover {
  background: var(--color-bg-tertiary);
  border-color: var(--color-text-muted);
}

.location-summary--has-value {
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
}

.location-summary--countries.location-summary--has-value {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: #1E40AF;
}

.location-summary--destinations.location-summary--has-value {
  background: #F0FDF4;
  border-color: #BBF7D0;
  color: #166534;
}

.location-summary--flights.location-summary--has-value {
  background: #FEF3C7;
  border-color: #FDE68A;
  color: #92400E;
}

.location-summary--hotels.location-summary--has-value {
  background: #FDF2F8;
  border-color: #FBCFE8;
  color: #9D174D;
}

.location-summary__text {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

/* ==========================================================================
   Location Modal
   ========================================================================== */

.location-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.location-modal-overlay--visible {
  opacity: 1;
  visibility: visible;
}

.location-modal {
  width: 400px;
  max-width: 90vw;
  max-height: 80vh;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.2s ease;
}

.location-modal-overlay--visible .location-modal {
  transform: translateY(0);
}

.location-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.location-modal__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}

.location-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.location-modal__close:hover {
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

.location-modal__search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #F9FAFB;
  border-bottom: 1px solid var(--color-border);
}

.location-modal__search svg {
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.location-modal__search-input {
  flex: 1;
  padding: 0;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text-primary);
  background: transparent;
  border: none;
  outline: none;
}

.location-modal__search-input::placeholder {
  color: var(--color-text-muted);
}

.location-modal__list {
  flex: 1;
  overflow-y: auto;
  max-height: 320px;
}

.location-modal__content {
  padding: 16px 20px;
  flex: 1;
  overflow-y: auto;
}

.location-modal__hint {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0 0 12px 0;
}

.location-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid var(--color-border);
  background: #F9FAFB;
  border-radius: 0 0 12px 12px;
}

.location-modal__count {
  font-size: 13px;
  color: var(--color-text-muted);
}

.location-modal__done-btn {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: #FFFFFF;
  background: var(--color-text-primary);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.location-modal__done-btn:hover {
  background: #333;
}

/* Country Option in Modal */
.country-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.1s ease;
}

.country-option:hover {
  background: #F3F4F6;
}

.country-option--selected {
  background: #EFF6FF;
}

.country-option--selected:hover {
  background: #DBEAFE;
}

.country-option input[type="checkbox"] {
  display: none;
}

.country-option__flag {
  font-size: 18px;
  line-height: 1;
}

.country-option__name {
  flex: 1;
  font-size: 14px;
  color: var(--color-text-primary);
}

.country-option__check {
  font-size: 14px;
  font-weight: 600;
  color: #1E40AF;
  opacity: 0;
  transition: opacity 0.1s ease;
}

.country-option--selected .country-option__check {
  opacity: 1;
}

/* Destination Tags in Modal */
.destination-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 40px;
  padding: 12px;
  background: #F9FAFB;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 12px;
}

.destination-tags-empty {
  font-size: 13px;
  color: var(--color-text-muted);
  font-style: italic;
}

.destination-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 13px;
  background: #DCFCE7;
  color: #166534;
  border-radius: 6px;
}

.destination-tag__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  font-size: 14px;
  line-height: 1;
  color: inherit;
  opacity: 0.6;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.destination-tag__remove:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.1);
}

.destination-add-row {
  display: flex;
  gap: 8px;
}

.destination-add-input {
  flex: 1;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text-primary);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s ease;
}

.destination-add-input:focus {
  border-color: var(--color-text-muted);
}

.destination-add-input::placeholder {
  color: var(--color-text-muted);
}

.destination-add-btn {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-text-primary);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.destination-add-btn:hover {
  background: var(--color-bg-tertiary);
  border-color: var(--color-text-muted);
}

/* ==========================================================================
   Travel Cards (Flights & Hotels)
   ========================================================================== */

.location-modal--flights,
.location-modal--hotels {
  width: 480px;
}

.travel-cards-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
}

.travel-cards-empty {
  display: block;
  padding: 24px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 13px;
}

.travel-card {
  position: relative;
  padding: 16px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.travel-card__remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.15s ease;
}

.travel-card__remove:hover {
  opacity: 1;
  background: #fee2e2;
  color: #dc2626;
}

.travel-card__row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.travel-card__row:last-child {
  margin-bottom: 0;
}

.travel-card__field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.travel-card__field--full {
  flex: 1 0 100%;
}

.travel-card__field--arrow {
  flex: 0 0 auto;
  justify-content: flex-end;
  padding-bottom: 8px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.travel-card__field label {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.travel-card__input {
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  color: var(--color-text-primary);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s ease;
}

.travel-card__input:focus {
  border-color: var(--color-text-muted);
}

.travel-card__input::placeholder {
  color: var(--color-text-muted);
}

.travel-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-text-secondary);
  background: none;
  border: 2px dashed var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.travel-add-btn:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text-primary);
  background: var(--color-bg-secondary);
}

/* ==========================================================================
   PRINT STYLES - Timeline View
   ========================================================================== */

@media print {
  .side-nav,
  .top-nav,
  .day-panel,
  .view-toggle {
    display: none !important;
  }
  
  .main-container {
    margin-left: 0 !important;
  }
  
  .content-area {
    padding: 0 !important;
    overflow: visible !important;
  }
  
  .content-area--timeline {
    padding: 0 !important;
  }
  
  .timeline-container {
    max-width: 100%;
    padding: 20px;
  }
  
  .timeline-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }
  
  /* Show title/desc in print */
  .timeline-header__print-only {
    display: block !important;
  }
  
  .timeline-header__title {
    font-size: 24px;
  }
  
  .timeline-line {
    left: 30px;
    top: 150px;
  }
  
  .timeline-line__progress {
    display: none;
  }
  
  .timeline-days {
    padding-left: 50px;
  }
  
  .timeline-day__marker {
    left: -50px;
  }
  
  .timeline-day {
    page-break-inside: avoid;
    margin-bottom: 24px;
  }
  
  .timeline-day__content {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .timeline-grand-total {
    page-break-inside: avoid;
  }
}

/* ==========================================================================
   AUTH SYSTEM STYLES
   ========================================================================== */

/* Auth Button (in nav) */
.auth-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: #FFFFFF;
  background: var(--color-text-primary);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.auth-button:hover {
  background: #333;
}

/* User Avatar (shown when logged in) */
.user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  border: 2px solid var(--color-border);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.user-avatar:hover {
  border-color: var(--color-text-muted);
}

.user-avatar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  background: var(--color-bg-tertiary);
}

/* Auth Modal Overlay */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.auth-modal--visible {
  opacity: 1;
  visibility: visible;
}

/* Auth Modal Content */
.auth-modal__content {
  position: relative;
  width: 400px;
  max-width: 90vw;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.2s ease;
}

.auth-modal--visible .auth-modal__content {
  transform: translateY(0);
}

/* Close Button */
.auth-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--color-text-muted);
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.auth-modal__close:hover {
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

/* Header */
.auth-modal__header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-modal__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 8px 0;
}

.auth-modal__subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.auth-input {
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-input:focus {
  border-color: var(--color-text-muted);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

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

/* Error Message */
.auth-error {
  display: none;
  padding: 12px;
  font-size: 13px;
  color: #dc2626;
  background: #fef2f2;
  border-radius: 8px;
  text-align: center;
}

/* Submit Button */
.auth-submit-btn {
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  color: #FFFFFF;
  background: var(--color-text-primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
  margin-top: 8px;
}

.auth-submit-btn:hover {
  background: #333;
}

.auth-submit-btn:disabled {
  background: var(--color-text-muted);
  cursor: not-allowed;
}

/* Switch Link */
.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.auth-switch-link {
  color: var(--color-text-primary);
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
}

.auth-switch-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Loading States
   ========================================================================== */

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-text-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Saving overlay for buttons */
.btn-saving {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.btn-saving::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 8px;
}

/* ==========================================================================
   Settings Menu
   ========================================================================== */

.settings-menu {
  position: fixed;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  padding: 8px;
  z-index: 1000;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.settings-menu--visible {
  opacity: 1;
  transform: translateX(0);
}

.settings-menu__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
}

.settings-menu__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.settings-menu__initial {
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.settings-menu__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.settings-menu__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text-primary);
}

.settings-menu__email {
  font-size: 12px;
  color: var(--color-text-muted);
}

.settings-menu__divider {
  height: 1px;
  background: var(--color-border);
  margin: 4px 0;
}

.settings-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: none;
  background: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text-primary);
  transition: background 0.15s ease;
}

.settings-menu__item:hover {
  background: var(--color-bg-secondary);
}

.settings-menu__item--logout {
  color: #dc2626;
}

.settings-menu__item--logout:hover {
  background: #fef2f2;
}

.settings-menu__item svg {
  flex-shrink: 0;
}

/* ==========================================================================
   Home Page
   ========================================================================== */

.home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 90px - 48px);
  padding: 48px 24px;
  text-align: center;
  max-width: 952px;
  margin: 0 auto;
  position: relative;
}

.home-hero,
.home-cta,
.home-showcase {
  width: 100%;
  max-width: 952px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.home-hero {
  margin-bottom: 56px;
}

.home-hero__logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 24px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.home-hero__title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: #000000;
  margin: 0 0 20px 0;
  letter-spacing: -0.03em;
  text-align: center;
  max-width: 700px;
}

.home-hero__title .highlight,
.home-personas__title .highlight,
.home-plans__title .highlight {
  color: #d9a57e;
  background: linear-gradient(135deg, #e8c4a0 0%, #d9a57e 50%, #c9936a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-hero__subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin: 0;
  font-weight: 400;
  text-align: center;
  max-width: 500px;
}

/* Limelight Navigation */
.limelight-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 32px;
  border-radius: 100px;
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  padding: 0 6px;
  margin-bottom: 0;
  box-shadow: var(--shadow-card);
}

.limelight-nav__item {
  position: relative;
  z-index: 20;
  display: flex;
  height: 100%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0 72px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.5;
}

.limelight-nav__item:hover {
  opacity: 0.75;
}

.limelight-nav__item--active {
  color: var(--color-text-primary);
  opacity: 1;
}

/* Limelight glow effect - subtler */
.limelight-nav__light {
  position: absolute;
  top: 0;
  z-index: 10;
  width: 44px;
  height: 3px;
  border-radius: 100px;
  background: rgba(251, 146, 60, 0.7);
  box-shadow: 0 2px 8px rgba(251, 146, 60, 0.2), 0 4px 16px rgba(251, 146, 60, 0.1);
  transition: left 0.4s ease-in-out;
  pointer-events: none;
}

/* Light cone below the limelight - wider */
.limelight-nav__light::before {
  content: '';
  position: absolute;
  left: -60%;
  top: 3px;
  width: 220%;
  height: 28px;
  clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(to bottom, rgba(251, 146, 60, 0.15) 0%, transparent 100%);
  pointer-events: none;
}

/* Showcase Cards Container */
.home-showcase__cards {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.home-showcase__card {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  filter: drop-shadow(0 0px 4px rgba(0, 0, 0, 0.0));
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
}

.home-showcase__card--active {
  position: relative;
  left: 0;
  transform: translateX(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* Card zoom overlay when clicked */
.home-card-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.home-card-overlay--visible {
  opacity: 1;
  visibility: visible;
}

.home-card-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 24px;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
}

.home-card-overlay--visible img {
  transform: scale(1);
}

/* CTA Button - orange glow as default */
.home-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 72px;
}

.home-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  background-color: var(--color-text-primary);
  border: none;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.2s ease;
}

.home-cta__btn:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.home-cta__btn:active {
  transform: translateY(0);
}

.home-cta__btn svg,
.home-cta__btn span {
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .home-hero__title {
    font-size: 36px;
  }
  
  .home-hero__subtitle {
    font-size: 16px;
  }
  
  .home-steps {
    flex-direction: column;
    gap: 20px;
  }
  
  img.home-step-card {
    width: 280px;
  }
  
  img.home-step-card:nth-child(1),
  img.home-step-card:nth-child(2),
  img.home-step-card:nth-child(3) {
    transform: rotate(0deg) translateY(0);
  }
  
  img.home-step-card:nth-child(1):hover,
  img.home-step-card:nth-child(2):hover,
  img.home-step-card:nth-child(3):hover {
    transform: translateY(-8px) scale(1.02);
  }
}

/* ==========================================================================
   HOME PAGE - PLANS SECTION
   ========================================================================== */

/* Transition Divider */
.home-plans-transition {
  width: 100%;
  max-width: 952px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 80px 0 60px;
  position: relative;
}

.home-plans-transition__line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-stroke) 20%, var(--color-stroke) 80%, transparent 100%);
}

.home-plans-transition__icon {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-stroke);
  border-radius: 50%;
  color: var(--color-text-muted);
}

/* Plans Section */
.home-plans {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 80px;
}

/* Section Header */
.home-plans__header {
  text-align: center;
  margin-bottom: 24px;
}

.home-plans__title {
  font-size: 36px;
  font-weight: 800;
  color: #000000;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.home-plans__subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Subscription Anchor */
.home-plans__anchor {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #fff5f0 0%, #ffe8db 100%);
  border: 1px solid #fcd5c5;
  border-radius: 100px;
}

.home-plans__anchor-text {
  font-size: 13px;
  color: #9a6b55;
}

.home-plans__anchor-price {
  font-size: 14px;
  font-weight: 700;
  color: #c96442;
}

/* Feature Comparison Table */
.home-plans__table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 24px;
}

.home-plans__table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.home-plans__th {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  text-align: center;
  border-bottom: 1px solid var(--color-stroke);
}

.home-plans__th--feature {
  text-align: left;
  width: 50%;
}

.home-plans__th--premium {
  color: #c96442;
  background: linear-gradient(180deg, #fff8f5 0%, transparent 100%);
}

.home-plans__td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: center;
  border-bottom: 1px solid var(--color-stroke);
}

.home-plans__td--feature {
  text-align: left;
  color: var(--color-text-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-plans__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: var(--color-bg-secondary);
  border-radius: 6px;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.home-plans__td--premium {
  background: linear-gradient(180deg, rgba(255, 245, 240, 0.5) 0%, rgba(255, 232, 219, 0.3) 100%);
}

.home-plans__td--yes,
.home-plans__td--no {
  vertical-align: middle;
}

.home-plans__td--yes svg,
.home-plans__td--no svg {
  display: inline-block;
  vertical-align: middle;
}

.home-plans__td--yes {
  color: #22c55e;
}

.home-plans__td--yes svg {
  stroke: #22c55e;
}

.home-plans__td--no {
  color: var(--color-text-muted);
  opacity: 0.4;
}

.home-plans__td--no svg {
  stroke: var(--color-text-muted);
}

.home-plans__td--limit {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text-primary);
}

/* Divider Row */
.home-plans__divider-row td {
  padding: 0;
  border: none;
}

.home-plans__divider {
  height: 8px;
  background: var(--color-bg-secondary);
  margin: 4px 0;
}

/* Reassurance Line */
.home-plans__reassurance {
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0 0 32px 0;
  font-style: italic;
}

/* CTAs */
.home-plans__ctas {
  display: flex;
  gap: 12px;
}

.home-plans__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.2s ease;
}

.home-plans__cta--free {
  color: var(--color-text-primary);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
}

.home-plans__cta--free:hover {
  background-color: var(--color-bg-secondary);
  border-color: var(--color-text-muted);
}

.home-plans__cta--premium {
  color: white;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  border: none;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.home-plans__cta--premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .home-plans {
    padding: 0 16px 60px;
  }
  
  .home-plans__title {
    font-size: 28px;
  }
  
  .home-plans__ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .home-plans__cta {
    width: 100%;
  }
}

/* ==========================================================================
   HOME PAGE - PREMIUM STATUS CARD (replaces plans for premium users)
   ========================================================================== */

.home-premium-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 32px;
  background: linear-gradient(135deg, #fdf5eb 0%, #faeadb 100%);
  border: 1px solid #e8c4a0;
  border-radius: 20px;
  max-width: 480px;
  margin: 0 auto;
}

.home-premium-status__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8c4a0 0%, #c9936a 100%);
  color: #fff;
  margin-bottom: 16px;
}

.home-premium-status__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text-primary);
  margin: 0 0 6px;
}

.home-premium-status__subtitle {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0 0 24px;
}

.home-premium-status__perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 280px;
}

.home-premium-status__perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text-primary);
  text-align: left;
}

.home-premium-status__perk svg {
  flex-shrink: 0;
  color: #c9936a;
}

@media (max-width: 768px) {
  .home-premium-status {
    padding: 28px 20px;
    margin: 0 16px;
  }
  
  .home-premium-status__title {
    font-size: 18px;
  }
  
  .home-premium-status__subtitle {
    font-size: 13px;
  }
  
  .home-premium-status__perk {
    font-size: 13px;
  }
}

/* ==========================================================================
   HOME PAGE - CONTINUE CURATING SECTION
   ========================================================================== */

.home-continue {
  width: 100%;
  max-width: 600px;
  margin: 48px auto 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-continue__loading {
  padding: 40px;
}

.home-continue__btn {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--color-bg-card);
  color: var(--color-text-primary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid rgba(236, 186, 149, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(236, 186, 149, 0.2);
  overflow: hidden;
}

/* Peach gradient glow effect - DEFAULT state */
.home-continue__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f5d4b8 0%, #ecba95 50%, #e0a577 100%);
  opacity: 0.12;
  transition: opacity 0.3s ease;
}

/* Hover - intensify glow and scale up slightly */
.home-continue__btn:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(236, 186, 149, 0.7);
  box-shadow: 0 8px 32px rgba(236, 186, 149, 0.35);
}

.home-continue__btn:hover::before {
  opacity: 0.22;
}

.home-continue__btn:active {
  transform: translateY(0) scale(1);
}

.home-continue__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #f5d4b8 0%, #ecba95 50%, #e0a577 100%);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-continue__icon svg {
  stroke: white;
}

.home-continue__btn:hover .home-continue__icon {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(236, 186, 149, 0.4);
}

.home-continue__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1;
}

.home-continue__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.home-continue__subtitle {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-muted);
}

.home-continue__arrow {
  position: relative;
  z-index: 1;
  color: var(--color-text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.home-continue__btn:hover .home-continue__arrow {
  transform: translateX(6px);
  color: #d9a57e;
}

/* Empty state variation - peach glow as default */
.home-continue__btn--empty {
  border-style: solid;
  border-color: rgba(236, 186, 149, 0.5);
  box-shadow: 0 4px 24px rgba(236, 186, 149, 0.2);
}

.home-continue__btn--empty::before {
  opacity: 0.12;
}

.home-continue__btn--empty .home-continue__icon {
  background: linear-gradient(135deg, #f5d4b8 0%, #ecba95 50%, #e0a577 100%);
}

.home-continue__btn--empty .home-continue__icon svg {
  stroke: white;
}

/* Empty state hover - fill with gradient */
.home-continue__btn--empty:hover {
  background: linear-gradient(135deg, #faf6f3 0%, #fdf8f5 100%);
  border-color: rgba(236, 186, 149, 0.7);
  box-shadow: 0 8px 32px rgba(236, 186, 149, 0.35);
}

.home-continue__btn--empty:hover::before {
  opacity: 0.25;
}

.home-continue__btn--empty:hover .home-continue__icon {
  background: linear-gradient(135deg, #e8c4a0 0%, #d9a57e 50%, #c9936a 100%);
}

/* ==========================================================================
   HOME PAGE - WHO THIS IS FOR (PERSONAS)
   ========================================================================== */

.home-personas {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0 120px;
}

.home-personas__title {
  font-size: 36px;
  font-weight: 800;
  color: #000000;
  margin: 0 0 12px 0;
  text-align: center;
  letter-spacing: -0.02em;
}

.home-personas__subline {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin: 0 0 60px 0;
  text-align: center;
  max-width: 480px;
}

/* ==========================================================================
   STACKED CARDS - 21st.dev style
   Cards stack diagonally (stairs going down-right)
   ========================================================================== */

.home-personas__stack {
  display: grid;
  grid-template-areas: "stack";
  place-items: center;
  width: 100%;
  min-height: 420px;
  transform: skewY(-6deg);
}

.home-personas__card {
  grid-area: stack;
  width: 280px;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-card);
  border: 0px solid rgba(252, 213, 197, 0.6);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  position: relative;
  /* Peach glow - always visible */
  box-shadow: 
    0 5px 5px rgba(255, 180, 150, 0.3),
    0 0 5px rgba(255, 200, 170, 0.2);
}

/* Card 1 - Back (First-time travelers) */
.home-personas__card--1 {
  transform: skewY(6deg) translateX(-210px) translateY(-30px);
  z-index: 1;
}

.home-personas__card--1:hover {
  transform: skewY(6deg) translateX(-210px) translateY(-40px);
  box-shadow: 
    0 16px 48px rgba(255, 180, 150, 0.4),
    0 0 80px rgba(255, 200, 170, 0.3);
  border-color: rgba(255, 200, 170, 0.8);
}

/* Card 2 - Middle (Type A travelers) */
.home-personas__card--2 {
  transform: skewY(6deg) translateX(0) translateY(0);
  z-index: 2;
}

.home-personas__card--2:hover {
  transform: skewY(6deg) translateX(0) translateY(-10px);
  box-shadow: 
    0 16px 48px rgba(255, 180, 150, 0.4),
    0 0 80px rgba(255, 200, 170, 0.3);
  border-color: rgba(255, 200, 170, 0.8);
}

/* Card 3 - Front (Travel creators) */
.home-personas__card--3 {
  transform: skewY(6deg) translateX(210px) translateY(30px);
  z-index: 3;
}

.home-personas__card--3:hover {
  transform: skewY(6deg) translateX(210px) translateY(20px);
  box-shadow: 
    0 16px 48px rgba(255, 180, 150, 0.4),
    0 0 80px rgba(255, 200, 170, 0.3);
  border-color: rgba(255, 200, 170, 0.8);
}

.home-personas__image-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff5f0 0%, #ffe8db 100%);
  position: relative;
}

.home-personas__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-personas__card:hover .home-personas__image {
  transform: scale(1.08);
}

.home-personas__card-content {
  padding: 20px 24px;
  text-align: center;
  background-color: var(--color-bg-card);
  border-top: 1px solid rgba(252, 213, 197, 0.5);
}

.home-personas__card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 4px 0;
}

.home-personas__card-text {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .home-personas__stack {
    min-height: 400px;
  }
  
  .home-personas__card {
    width: 220px;
  }
  
  .home-personas__card--1 {
    transform: skewY(6deg) translateX(-140px) translateY(-30px);
  }
  
  .home-personas__card--1:hover {
    transform: skewY(6deg) translateX(-140px) translateY(-50px);
  }
  
  .home-personas__card--2 {
    transform: skewY(6deg) translateX(0) translateY(0);
  }
  
  .home-personas__card--2:hover {
    transform: skewY(6deg) translateX(0) translateY(-20px);
  }
  
  .home-personas__card--3 {
    transform: skewY(6deg) translateX(140px) translateY(30px);
  }
  
  .home-personas__card--3:hover {
    transform: skewY(6deg) translateX(140px) translateY(10px);
  }
}

@media (max-width: 768px) {
  .home-personas {
    padding: 40px 16px 80px;
  }
  
  .home-personas__stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: auto;
    transform: none;
  }
  
  .home-personas__card {
    width: 280px;
    transform: none !important;
  }
  
  .home-personas__card:hover {
    transform: translateY(-8px) !important;
  }
}

/* ==========================================================================
   HOME PAGE - FINAL CTA
   ========================================================================== */

.home-final-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 0 80px;
}

.home-final-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
  border: none;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.home-final-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.home-final-cta__btn:active {
  transform: translateY(0);
}

/* ==========================================================================
   HOME PAGE - FOOTER
   ========================================================================== */

.home-footer {
  width: 100%;
  border-top: 1px solid var(--color-stroke);
  padding: 32px 0;
  margin-top: auto;
}

.home-footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.home-footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-footer__logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.home-footer__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.home-footer__copy {
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 0;
}

/* ==========================================================================
   LANDING PAGE (Non-logged in)
   ========================================================================== */

.landing-layout {
  min-height: 100vh;
  background-color: var(--color-bg-page);
}

/* Landing Navigation */
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background-color: var(--color-bg-page);
  border-bottom: 1px solid var(--color-stroke);
  position: sticky;
  top: 0;
  z-index: 100;
}

.landing-nav__left {
  display: flex;
  align-items: center;
}

.landing-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.landing-nav__logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.landing-nav__logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.landing-nav__right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.landing-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.landing-nav__link:hover {
  color: var(--color-text-primary);
}

.landing-nav__btn {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-md);
  padding: 8px 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.landing-nav__btn:hover {
  background-color: var(--color-stroke);
}

/* Landing Content */
.landing-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.landing-content .home-content {
  max-width: 952px;
  padding-top: 80px;
}

/* Responsive */
@media (max-width: 768px) {
  .landing-nav {
    padding: 12px 20px;
  }
  
  .landing-nav__right {
    gap: 16px;
  }
  
  .landing-nav__link {
    display: none;
  }
  
  .landing-content .home-content {
    padding-top: 48px;
  }
}

/* ==========================================================================
   PAGE TRANSITION OVERLAY
   ========================================================================== */

.page-transition {
  position: fixed;
  inset: 0;
  background: var(--color-bg-page);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.page-transition--active {
  opacity: 1;
  pointer-events: auto;
}

.page-transition__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  animation: transitionPulse 1s ease-in-out infinite;
}

@keyframes transitionPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* ==========================================================================
   Comments Modal
   ========================================================================== */

.comments-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.comments-modal--visible {
  opacity: 1;
}

.comments-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.comments-modal__container {
  position: relative;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dropdown);
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.2s ease;
}

.comments-modal--visible .comments-modal__container {
  transform: translateY(0);
}

.comments-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3);
  border-bottom: 1px solid var(--color-stroke);
}

.comments-modal__title {
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.comments-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  transition: background-color 0.15s ease;
}

.comments-modal__close:hover {
  background-color: var(--color-bg-secondary);
}

.comments-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-3);
}

.comments-modal__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.comments-modal__loading,
.comments-modal__empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: var(--space-4);
}

.comments-modal__footer {
  padding: var(--space-3);
  border-top: 1px solid var(--color-stroke);
}

.comments-modal__input-wrapper {
  display: flex;
  gap: var(--space-2);
  align-items: flex-end;
}

.comments-modal__input {
  flex: 1;
  padding: var(--space-2);
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--color-text-primary);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-md);
  resize: none;
  outline: none;
  min-height: 40px;
  max-height: 120px;
}

.comments-modal__input:focus {
  border-color: var(--color-text-muted);
}

.comments-modal__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-text-primary);
  color: var(--color-bg-card);
  border-radius: var(--radius-md);
  transition: opacity 0.15s ease;
}

.comments-modal__submit:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.comments-modal__submit:not(:disabled):hover {
  opacity: 0.8;
}

/* Individual Comment */
.comment {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.comment__main {
  display: flex;
  gap: var(--space-2);
}

.comment[data-depth="1"],
.comment[data-depth="2"],
.comment[data-depth="3"] {
  margin-left: var(--space-4);
  padding-left: var(--space-2);
  border-left: 2px solid var(--color-stroke);
}

.comment__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-bg-secondary);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment__avatar-default {
  color: var(--color-text-muted);
}

.comment__avatar--has-image .comment__avatar-default {
  display: none;
}

.comment__content {
  flex: 1;
  min-width: 0;
}

.comment__header {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: 2px;
  flex-wrap: wrap;
}

.comment__author {
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.comment__handle {
  font-size: 12px;
  color: var(--color-text-muted);
}

.comment__time {
  font-size: 12px;
  color: var(--color-text-muted);
}

.comment__text {
  font-size: 14px;
  color: var(--color-text-primary);
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}

.comment__actions {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.comment__reply-btn,
.comment__delete-btn {
  font-size: 12px;
  color: var(--color-text-muted);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s ease;
}

.comment__reply-btn:hover {
  color: var(--color-text-primary);
}

.comment__delete-btn:hover {
  color: #ef4444;
}

.comment__replies {
  margin-top: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* Reply Input */
.comment__reply-input {
  margin-top: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.comment__reply-input textarea {
  width: 100%;
  padding: var(--space-2);
  font-family: var(--font-family);
  font-size: 13px;
  color: var(--color-text-primary);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-sm);
  resize: none;
  outline: none;
}

.comment__reply-input textarea:focus {
  border-color: var(--color-text-muted);
}

.comment__reply-actions {
  display: flex;
  gap: var(--space-1);
  justify-content: flex-end;
}

.comment__reply-cancel,
.comment__reply-submit {
  padding: var(--space-1) var(--space-2);
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease;
}

.comment__reply-cancel {
  color: var(--color-text-secondary);
  background: none;
  border: none;
}

.comment__reply-cancel:hover {
  background-color: var(--color-bg-secondary);
}

.comment__reply-submit {
  color: var(--color-bg-card);
  background-color: var(--color-text-primary);
  border: none;
}

.comment__reply-submit:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.comment__reply-submit:not(:disabled):hover {
  opacity: 0.8;
}

/* ==========================================================================
   UPGRADE MODAL - Soft Lock for Free Users
   Add this to the end of your style.css file
   ========================================================================== */

.upgrade-modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  z-index: 2000;
  transition: background-color 0.2s ease, backdrop-filter 0.2s ease;
}

.upgrade-modal-overlay--visible {
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
}

.upgrade-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 380px;
  padding: 32px 36px;
  background-color: var(--color-bg-card);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.upgrade-modal-overlay--visible .upgrade-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.upgrade-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fdf5eb 0%, #f5d4b8 100%);
  color: #c9936a;
}

.upgrade-modal__icon svg {
  width: 28px;
  height: 28px;
}

.upgrade-modal__title {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  text-align: center;
  margin: 0;
}

.upgrade-modal__message {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

.upgrade-modal__note {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}

.upgrade-modal__limit-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background-color: #fdf5eb;
  border: 1px solid #f5d4b8;
  border-radius: var(--radius-md);
  width: 100%;
}

.upgrade-modal__limit-text {
  font-size: 13px;
  color: #c9936a;
  font-weight: var(--font-weight-medium);
}

.upgrade-modal__limit-text strong {
  font-weight: var(--font-weight-bold);
}

.upgrade-modal__premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: linear-gradient(135deg, #e8c4a0 0%, #d9a57e 50%, #c9936a 100%);
  color: white;
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.upgrade-modal__premium-badge svg {
  width: 12px;
  height: 12px;
}

.upgrade-modal__actions {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
}

.upgrade-modal__actions--single {
  justify-content: center;
}

.upgrade-modal__actions--single .upgrade-modal__btn {
  flex: none;
  min-width: 120px;
}

.upgrade-modal__btn {
  flex: 1;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
  border: none;
}

.upgrade-modal__btn:active {
  transform: scale(0.98);
}

.upgrade-modal__btn--dismiss {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-stroke);
}

.upgrade-modal__btn--dismiss:hover {
  background-color: var(--color-stroke);
}

.upgrade-modal__btn--upgrade {
  background: linear-gradient(135deg, #e8c4a0 0%, #d9a57e 50%, #c9936a 100%);
  color: white;
}

.upgrade-modal__btn--upgrade:hover {
  background: linear-gradient(135deg, #d9a57e 0%, #c9936a 50%, #b8835a 100%);
}

/* Premium indicator for buttons that are locked */

/* ==========================================================================
   Pricing Modal — Plan cards, perks, close button
   ========================================================================== */

.pricing-modal {
  max-width: 420px;
  position: relative;
}

.pricing-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.15s;
}

.pricing-modal__close:hover {
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

.pricing-plans {
  display: flex;
  gap: 10px;
  width: 100%;
}

.pricing-plan {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 12px;
  background: var(--color-bg-secondary);
  border: 2px solid var(--color-stroke);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pricing-plan:hover {
  border-color: #d9a57e;
}

.pricing-plan--selected {
  border-color: #c9936a;
  background: #fdf5eb;
  box-shadow: 0 0 0 1px #c9936a;
}

.pricing-plan--yearly.pricing-plan--selected {
  background: linear-gradient(135deg, #fdf5eb 0%, #faeadb 100%);
  box-shadow: 0 0 12px rgba(201, 147, 106, 0.15), 0 0 0 1px #c9936a;
}

.pricing-plan__badge {
  position: absolute;
  top: -10px;
  right: -6px;
  padding: 2px 8px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, #e8c4a0 0%, #c9936a 100%);
  border-radius: 10px;
}

.pricing-plan__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-plan__price {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text-primary);
}

.pricing-plan__period {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.pricing-plan__save {
  font-size: 11px;
  font-weight: 600;
  color: #c9936a;
}

.pricing-perks {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pricing-perks li {
  font-size: 13px;
  color: var(--color-text-secondary);
  padding-left: 20px;
  position: relative;
}

.pricing-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #c9936a;
  font-weight: 700;
  font-size: 12px;
}

/* ==========================================================================
   Sell Hook Toast — subtle post-publish prompt
   ========================================================================== */

.sell-hook-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 1500;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.sell-hook-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.sell-hook-toast__content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #e8c4a0;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}

.sell-hook-toast__text {
  font-size: 13px;
  color: var(--color-text-primary);
  font-weight: 500;
}

.sell-hook-toast__btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #e8c4a0 0%, #c9936a 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.sell-hook-toast__btn:hover {
  background: linear-gradient(135deg, #d9a57e 0%, #b8835a 100%);
}

.sell-hook-toast__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
}

.sell-hook-toast__close:hover {
  background: var(--color-bg-secondary);
}

.upgrade-modal__icon--celebrate {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.btn-premium-lock {
  position: relative;
}

.btn-premium-lock::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #e8c4a0 0%, #d9a57e 50%, #c9936a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subtle lock icon for disabled state */
.soft-lock-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background-color: #fdf5eb;
  border: 1px dashed #ecba95;
  border-radius: var(--radius-sm);
  color: #c9936a;
  font-size: 12px;
  font-weight: var(--font-weight-medium);
}

.soft-lock-indicator svg {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

/* ==========================================================================
   Skeleton Loading
   ========================================================================== */

/* Base skeleton styles */
.skeleton {
  background: linear-gradient(90deg, #e5e5e5 25%, #f0f0f0 50%, #e5e5e5 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 4px;
  color: transparent !important;
  user-select: none;
  pointer-events: none;
}

.skeleton * {
  visibility: hidden;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Skeleton text lines */
.skeleton-text {
  display: inline-block;
  height: 1em;
  min-width: 100px;
  background: linear-gradient(90deg, #e5e5e5 25%, #f0f0f0 50%, #e5e5e5 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 4px;
}

.skeleton-text--name {
  width: 140px;
  height: 24px;
}

.skeleton-text--username {
  width: 100px;
  height: 16px;
}

.skeleton-text--bio {
  width: 200px;
  height: 16px;
}

.skeleton-text--title {
  width: 180px;
  height: 20px;
}

.skeleton-text--day {
  width: 150px;
  height: 14px;
}

/* Skeleton avatar */
.skeleton-avatar {
  background: linear-gradient(90deg, #e5e5e5 25%, #f0f0f0 50%, #e5e5e5 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

/* Skeleton button */
.skeleton-btn {
  background: linear-gradient(90deg, #e5e5e5 25%, #f0f0f0 50%, #e5e5e5 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  color: transparent !important;
  pointer-events: none;
}

.skeleton-btn * {
  visibility: hidden;
}

/* Hide elements while loading */
.is-loading .profile-hero__actions {
  visibility: hidden;
}

/* ==========================================================================
   Drag and Drop Reordering
   ========================================================================== */

/* Draggable items */
.day-btn:not(.day-btn--add) {
  cursor: grab;
}

.day-btn:not(.day-btn--add):active {
  cursor: grabbing;
}

/* Activity row - no grab cursor on the row itself */
.activity-row {
  cursor: default;
  position: relative;
}

/* Drag handle for activity rows */
.activity-row__drag-handle {
  position: absolute;
  left: -32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 32px;
  color: #d0d0d0;
  cursor: grab;
  opacity: 0;
  transition: opacity 0.15s ease, color 0.15s ease;
  border-radius: 4px;
}

.activity-row:hover .activity-row__drag-handle {
  opacity: 1;
}

.activity-row__drag-handle:hover {
  color: #888;
  background-color: rgba(0, 0, 0, 0.04);
}

.activity-row__drag-handle:active {
  cursor: grabbing;
  color: #666;
}

.activity-row__drag-handle svg {
  width: 14px;
  height: 14px;
}

/* Dragging state */
.day-btn.is-dragging,
.activity-row.is-dragging {
  opacity: 0.5;
  cursor: grabbing;
}

.activity-row.is-dragging .activity-row__drag-handle {
  opacity: 1;
  cursor: grabbing;
}

/* Drop indicator for days */
.day-btn.drag-over--above {
  box-shadow: -3px 0 0 0 #F97316;
}

.day-btn.drag-over--below {
  box-shadow: 3px 0 0 0 #F97316;
}

/* Drop indicator for activities */
.activity-row.drag-over--above {
  box-shadow: 0 -3px 0 0 #F97316;
}

.activity-row.drag-over--below {
  box-shadow: 0 3px 0 0 #F97316;
}


/* ==========================================================================
   SELL ITINERARY - Minimal Theme
   ========================================================================== */

/* ==========================================================================
   SELL TOGGLE - Edit Mode (Top Nav) - Clean & Minimal
   ========================================================================== */

.sell-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 14px;
  padding: 6px 0;
}

.sell-toggle__switch {
  position: relative;
  width: 40px;
  height: 22px;
  cursor: pointer;
}

.sell-toggle__switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.sell-toggle__slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #d4d4d4;
  border-radius: 22px;
  transition: background 0.2s ease;
}

.sell-toggle__slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.sell-toggle__switch input:checked + .sell-toggle__slider {
  background: #888888;
}

.sell-toggle__switch input:checked + .sell-toggle__slider::before {
  transform: translateX(18px);
}

.sell-toggle__label {
  font-size: 13px;
  font-weight: 500;
  color: #888888;
}

.sell-toggle__price {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: 6px;
  padding-left: 12px;
  border-left: 1px solid #e0e0e0;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.sell-toggle__currency {
  font-size: 13px;
  font-weight: 600;
  color: #666666;
}

.sell-toggle__input {
  width: 64px;
  padding: 5px 8px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  background: #fafafa;
  color: #333333;
  text-align: right;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sell-toggle__input:focus {
  outline: none;
  border-color: #a0a0a0;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
  background: #ffffff;
}

.sell-toggle__input::placeholder {
  color: #b0b0b0;
}

/* Hide spinner arrows on number input */
.sell-toggle__input::-webkit-outer-spin-button,
.sell-toggle__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.sell-toggle__input[type=number] {
  -moz-appearance: textfield;
}

/* ==========================================================================
   PRICE BADGE - On Post Cards
   ========================================================================== */

.post-header__price {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: linear-gradient(135deg, #fff5eb 0%, #ffe8d6 100%);
  color: #b8835a;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  margin-left: 8px;
  border: 1px solid #f5d4c0;
  box-shadow: 0 2px 6px rgba(201, 147, 106, 0.1);
}

.post-header__price svg {
  width: 12px;
  height: 12px;
  opacity: 0.8;
}

.post-header__price--purchased {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
  border-color: #a7f3d0;
}

/* ==========================================================================
   BUY BUTTON - Post Card Footer & View Page
   ========================================================================== */

.post-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: linear-gradient(135deg, #f5d4b8 0%, #e8c4a0 50%, #d9a57e 100%);
  color: #6b4423;
  font-size: 11px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(201, 147, 106, 0.2);
  letter-spacing: 0.01em;
}

.post-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 147, 106, 0.3);
  background: linear-gradient(135deg, #e8c4a0 0%, #d9a57e 50%, #c9936a 100%);
}

.post-buy-btn:active {
  transform: translateY(0);
}

.post-buy-btn svg {
  width: 13px;
  height: 13px;
  opacity: 0.85;
}

.post-buy-btn--purchased {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
  cursor: default;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.post-buy-btn--purchased:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

/* View page buy button */
.profile-card__btn--buy {
  background: linear-gradient(135deg, #f5d4b8 0%, #e8c4a0 50%, #d9a57e 100%) !important;
  color: #6b4423 !important;
  border: none !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(201, 147, 106, 0.2);
}

.profile-card__btn--buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 147, 106, 0.3);
  background: linear-gradient(135deg, #e8c4a0 0%, #d9a57e 50%, #c9936a 100%) !important;
}

.profile-card__btn--purchased {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
  color: #059669 !important;
}

/* ==========================================================================
   LOCKED PREVIEW - View Page
   ========================================================================== */

.locked-overlay {
  position: relative;
}

.locked-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent 0%, var(--color-bg) 100%);
  pointer-events: none;
}

.activity-row--locked {
  filter: blur(8px);
  user-select: none;
  pointer-events: none;
  opacity: 0.5;
}

.locked-cta {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 48px);
  max-width: 420px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #fffcfa 0%, #fff9f5 100%);
  border: 2px solid #f5d4c0;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(201, 147, 106, 0.15), 0 2px 8px rgba(0, 0, 0, 0.04);
  z-index: 100;
  box-sizing: border-box;
}

.locked-cta__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff5eb 0%, #ffe8d6 100%);
  border-radius: 50%;
  color: #c9936a;
  border: 2px solid #f5d4c0;
}

.locked-cta__icon svg {
  width: 26px;
  height: 26px;
}

.locked-cta__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.locked-cta__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.locked-cta__price {
  font-size: 32px;
  font-weight: 800;
  color: #c9936a;
  margin-bottom: 20px;
}

.locked-cta__price span {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-left: 4px;
}

.locked-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 28px;
  background: linear-gradient(135deg, #e8c4a0 0%, #d9a57e 50%, #c9936a 100%);
  color: white;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(201, 147, 106, 0.3);
  letter-spacing: 0.02em;
}

.locked-cta__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(201, 147, 106, 0.4);
  background: linear-gradient(135deg, #d9a57e 0%, #c9936a 50%, #b8835a 100%);
}

.locked-cta__btn:active {
  transform: translateY(-1px);
}

.locked-cta__btn svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   PURCHASE MODAL - Beautiful Peachy Theme
   ========================================================================== */

.purchase-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
}

.purchase-modal-overlay--visible {
  opacity: 1;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.purchase-modal {
  background: linear-gradient(135deg, #fffcfa 0%, #fff9f5 100%);
  border-radius: 24px;
  padding: 36px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 24px 80px rgba(201, 147, 106, 0.2), 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid #fde5d4;
  position: relative;
}

.purchase-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background 0.15s;
}

.purchase-modal__close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-text-primary);
}

.purchase-modal-overlay--visible .purchase-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.purchase-modal__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff5eb 0%, #ffe8d6 100%);
  border-radius: 50%;
  color: #c9936a;
  border: 2px solid #f5d4c0;
  box-shadow: 0 4px 16px rgba(201, 147, 106, 0.15);
}

.purchase-modal__icon svg {
  width: 34px;
  height: 34px;
}

.purchase-modal__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.purchase-modal__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
  line-height: 1.6;
}

/* Custom price input section */
.purchase-modal__price-section {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.purchase-modal__price-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.purchase-modal__price-input-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 2px solid #e8c4a0;
  border-radius: 14px;
  padding: 8px 16px;
  transition: border-color 0.15s;
}

.purchase-modal__price-input-wrapper:focus-within {
  border-color: #c9936a;
  box-shadow: 0 0 0 3px rgba(201, 147, 106, 0.1);
}

.purchase-modal__price-currency {
  font-size: 22px;
  font-weight: 800;
  color: #c9936a;
}

.purchase-modal__price-input {
  width: 100px;
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text-primary);
  border: none;
  outline: none;
  background: transparent;
  text-align: center;
  -moz-appearance: textfield;
}

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

.purchase-modal__price-hint {
  font-size: 11px;
  color: var(--color-text-muted);
}

.purchase-modal__price {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, #d9a57e 0%, #c9936a 50%, #b8835a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 20px 0;
}

.purchase-modal__features {
  text-align: left;
  margin: 24px 0;
  padding: 18px 20px;
  background: linear-gradient(135deg, #fff9f5 0%, #fff5eb 100%);
  border-radius: 14px;
  border: 1px solid #fde5d4;
}

.purchase-modal__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.purchase-modal__feature:last-child {
  margin-bottom: 0;
}

.purchase-modal__feature svg {
  width: 18px;
  height: 18px;
  color: #c9936a;
  flex-shrink: 0;
}

.purchase-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.purchase-modal__btn {
  flex: 1;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.purchase-modal__btn--cancel {
  background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
  color: var(--color-text-secondary);
  border: 1.5px solid var(--color-border);
}

.purchase-modal__btn--cancel:hover {
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
  border-color: #d0d0d0;
}

.purchase-modal__btn--coming-soon {
  background: linear-gradient(135deg, #e8c4a0 0%, #d9a57e 50%, #c9936a 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 16px rgba(201, 147, 106, 0.25);
  position: relative;
  overflow: hidden;
}

.purchase-modal__btn--coming-soon::before {
  content: 'Coming Soon';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8c4a0 0%, #d9a57e 50%, #c9936a 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.purchase-modal__btn--coming-soon:hover::before {
  opacity: 1;
}

.purchase-modal__btn--coming-soon:hover {
  box-shadow: 0 6px 24px rgba(201, 147, 106, 0.35);
  transform: translateY(-2px);
}

.purchase-modal__note {
  font-size: 12px;
  color: #c9936a;
  margin-top: 20px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #fff9f5 0%, #fff5eb 100%);
  border-radius: 8px;
  border: 1px dashed #f5d4c0;
}

/* ==========================================================================
   LOCKED STATE - Timeline View
   ========================================================================== */

.timeline-day--locked {
  opacity: 0.5;
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
}

.timeline-day--locked .timeline-day__dot {
  background: #d4d4d4 !important;
}

.timeline-activity--locked {
  opacity: 0.6;
}



/* ==========================================================================
   VERIFIED BADGE - Premium Users
   ========================================================================== */

.verified-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  flex-shrink: 0;
}

/* Ensure proper alignment in different contexts */
.profile-hero__name .verified-badge {
  margin-left: 6px;
}

.post-header__username .verified-badge {
  margin-left: 4px;
}

.search-result__title .verified-badge {
  margin-left: 4px;
}

.comment__author .verified-badge {
  margin-left: 3px;
}


/* ==========================================================================
   NOTIFICATIONS
   ========================================================================== */

/* Notification badge on bell icon */
.top-nav__action-btn {
  position: relative;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #EF4444;
  color: white;
  font-size: 11px;
  font-weight: 600;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* Notification Dropdown */
.notification-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  max-height: 480px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.notification-dropdown--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notification-dropdown__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-stroke);
}

.notification-dropdown__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

.notification-dropdown__mark-read {
  font-size: 13px;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.notification-dropdown__mark-read:hover {
  background: var(--color-bg-secondary);
  color: var(--color-text);
}

.notification-dropdown__list {
  flex: 1;
  overflow-y: auto;
  max-height: 400px;
}

.notification-dropdown__loading,
.notification-dropdown__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: var(--color-text-muted);
  text-align: center;
  gap: 12px;
}

.notification-dropdown__empty svg {
  opacity: 0.4;
}

/* Notification Item */
.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid var(--color-stroke);
}

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

.notification-item:hover {
  background: var(--color-bg-secondary);
}

.notification-item--unread {
  background: #F0F9FF;
}

.notification-item--unread:hover {
  background: #E0F2FE;
}

.notification-item__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.notification-item__avatar--has-image .notification-item__avatar-default {
  display: none;
}

.notification-item__content {
  flex: 1;
  min-width: 0;
}

.notification-item__text {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.4;
  margin: 0;
}

.notification-item__actor {
  font-weight: 600;
}

.notification-item__time {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
  display: block;
}

.notification-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-bg-secondary);
  color: var(--color-text-muted);
}

.notification-item__icon--like {
  background: #FEE2E2;
  color: #EF4444;
}

.notification-item__icon--comment {
  background: #DBEAFE;
  color: #3B82F6;
}

.notification-item__icon--follow {
  background: #D1FAE5;
  color: #10B981;
}

.notification-item__icon--purchase {
  background: #FEF3C7;
  color: #F59E0B;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .notification-dropdown {
    width: calc(100vw - 32px);
    right: -60px;
  }
}

/* ==========================================================================
   POST HIGHLIGHT ANIMATION (from notifications)
   ========================================================================== */

.itinerary-post--highlighted {
  animation: post-highlight 2s ease-out;
}

@keyframes post-highlight {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5);
    background-color: rgba(59, 130, 246, 0.05);
  }
  20% {
    box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.3);
    background-color: rgba(59, 130, 246, 0.1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    background-color: transparent;
  }
}

/* =============================================
   TIP MODAL STYLES
   ============================================= */

.tip-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.tip-modal.is-open {
  display: flex;
}

.tip-modal__content {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 400px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: tipModalSlideUp 0.25s ease-out;
}

@keyframes tipModalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tip-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f5f5;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.15s ease;
}

.tip-modal__close:hover {
  background: #eee;
  color: #333;
}

.tip-modal__header {
  text-align: center;
  margin-bottom: 24px;
}

.tip-modal__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  margin: 0 auto 16px;
  background-size: cover;
  background-position: center;
}

.tip-modal__title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.tip-modal__creator-name {
  color: #E07A5F;
}

.tip-modal__subtitle {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.tip-modal__amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.tip-amount-btn {
  padding: 12px 8px;
  border: 2px solid #e5e5e5;
  background: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tip-amount-btn:hover {
  border-color: #ccc;
  background: #fafafa;
}

.tip-amount-btn--selected {
  border-color: #E07A5F;
  background: #FDF6F4;
  color: #E07A5F;
}

.tip-amount-btn--custom {
  font-size: 12px;
}

.tip-modal__custom {
  margin-bottom: 16px;
}

.tip-modal__custom-label {
  display: block;
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.tip-modal__custom-input-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  padding: 0 12px;
  transition: border-color 0.15s ease;
}

.tip-modal__custom-input-wrapper:focus-within {
  border-color: #E07A5F;
}

.tip-modal__custom-currency {
  font-size: 16px;
  font-weight: 600;
  color: #666;
  margin-right: 4px;
}

.tip-modal__custom-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.tip-modal__custom-input::placeholder {
  color: #bbb;
}

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

.tip-modal__custom-input[type=number] {
  -moz-appearance: textfield;
}

.tip-modal__summary {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}

.tip-modal__summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #333;
}

.tip-modal__summary-row--note {
  margin-top: 8px;
  font-size: 12px;
  color: #888;
}

.tip-modal__summary-row--note span {
  width: 100%;
  text-align: center;
}

.tip-modal__summary-amount {
  font-weight: 700;
  font-size: 18px;
  color: #E07A5F;
}

.tip-modal__submit {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #E07A5F 0%, #C86D54 100%);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(224, 122, 95, 0.3);
}

.tip-modal__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(224, 122, 95, 0.4);
}

.tip-modal__submit:active {
  transform: translateY(0);
}

.tip-modal__submit:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.tip-modal__footer {
  text-align: center;
  font-size: 11px;
  color: #999;
  margin: 16px 0 0;
}

.tip-modal__custom-input-wrapper.has-error {
  border-color: #e53935;
}

.tip-modal__error {
  color: #e53935;
  font-size: 12px;
  margin-top: 6px;
}

/* Spinner animation for buttons */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner {
  animation: spin 1s linear infinite;
}

/* =============================================
   EARNINGS DRAWER
   ============================================= */

.earnings-drawer {
  position: fixed;
  inset: 0;
  z-index: 1001;
  pointer-events: none;
}

.earnings-drawer--open {
  pointer-events: auto;
}

.earnings-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.earnings-drawer--open .earnings-drawer__overlay {
  opacity: 1;
}

.earnings-drawer__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 20px 20px 0 0;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.earnings-drawer--open .earnings-drawer__content {
  transform: translateY(0);
}

.earnings-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.earnings-drawer__title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.earnings-drawer__close {
  width: 36px;
  height: 36px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.15s ease;
}

.earnings-drawer__close:hover {
  background: #eee;
  color: #333;
}

.earnings-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

/* Balance Section */
.earnings-drawer__balance-section {
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, #fdf6f4 0%, #fff 100%);
  border-radius: 16px;
  margin-bottom: 20px;
}

.earnings-drawer__available {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.earnings-drawer__available-label {
  font-size: 13px;
  color: #666;
}

.earnings-drawer__available-amount {
  font-size: 40px;
  font-weight: 700;
  color: #E07A5F;
  line-height: 1.1;
}

.earnings-drawer__lifetime {
  font-size: 13px;
  color: #888;
}

/* Payout Section */
.earnings-drawer__payout-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.earnings-drawer__payout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 280px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #E07A5F 0%, #C86D54 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(224, 122, 95, 0.3);
}

.earnings-drawer__payout-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(224, 122, 95, 0.4);
}

.earnings-drawer__payout-btn:disabled {
  background: #e5e5e5;
  color: #999;
  cursor: not-allowed;
  box-shadow: none;
}

.earnings-drawer__payout-hint {
  font-size: 12px;
  color: #888;
}

.earnings-drawer__payout-hint--ready {
  color: #16a34a;
}

/* History Section */
.earnings-drawer__history-section {
  border-top: 1px solid #eee;
  padding-top: 24px;
}

.earnings-drawer__history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.earnings-drawer__history-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}

.earnings-drawer__print-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.earnings-drawer__quarter-select {
  padding: 8px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 13px;
  color: #333;
  background: #fff;
  cursor: pointer;
}

.earnings-drawer__quarter-select:focus {
  outline: none;
  border-color: #E07A5F;
}

.earnings-drawer__print-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  transition: all 0.15s ease;
}

.earnings-drawer__print-btn:hover:not(:disabled) {
  background: #f5f5f5;
  border-color: #ccc;
}

.earnings-drawer__print-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* History List */
.earnings-drawer__history-list {
  display: flex;
  flex-direction: column;
}

.earnings-drawer__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px;
  color: #888;
}

.earnings-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px;
  text-align: center;
  color: #888;
}

.earnings-drawer__empty svg {
  opacity: 0.3;
  margin-bottom: 8px;
}

.earnings-drawer__empty p {
  font-size: 15px;
  font-weight: 500;
  color: #666;
}

.earnings-drawer__empty span {
  font-size: 13px;
}

/* Transaction Item */
.earnings-drawer__transaction {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.earnings-drawer__transaction:last-child {
  border-bottom: none;
}

.earnings-drawer__transaction-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.earnings-drawer__transaction-icon--tip {
  background: #fef3c7;
  color: #d97706;
}

.earnings-drawer__transaction-icon--sale {
  background: #dbeafe;
  color: #2563eb;
}

.earnings-drawer__transaction-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.earnings-drawer__transaction-type {
  font-size: 11px;
  font-weight: 500;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.earnings-drawer__transaction-title {
  font-size: 14px;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.earnings-drawer__transaction-meta {
  text-align: right;
  flex-shrink: 0;
}

.earnings-drawer__transaction-amount {
  font-size: 14px;
  font-weight: 600;
  color: #16a34a;
  display: block;
}

.earnings-drawer__transaction-date {
  font-size: 12px;
  color: #888;
}

/* Responsive */
@media (min-width: 640px) {
  .earnings-drawer__content {
    max-width: 480px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    border-radius: 20px 20px 0 0;
  }
  
  .earnings-drawer--open .earnings-drawer__content {
    transform: translateX(-50%) translateY(0);
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE STYLES
   ========================================================================== */

/* =============================================
   Mobile Top Navigation
   ============================================= */

.mobile-header {
  display: none;
}

@media (max-width: 768px) {
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 44px;
    padding: 0 12px;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 100;
  }
  
  .mobile-header__left {
    display: flex;
    align-items: center;
    z-index: 1;
    flex-shrink: 0;
  }
  
  .mobile-header__logo {
    width: 26px;
    height: 26px;
    object-fit: contain;
    cursor: pointer;
  }
  
  .mobile-header__center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
  
  .mobile-header__title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
  }
  
  .mobile-header__right {
    display: flex;
    align-items: center;
    gap: 2px;
    z-index: 1;
    flex-shrink: 0;
  }
  
  .mobile-header__btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.15s ease;
    position: relative;
    flex-shrink: 0;
  }
  
  .mobile-header__btn svg {
    width: 18px;
    height: 18px;
  }
  
  .mobile-header__btn:hover {
    background: #f5f5f5;
    color: #333;
  }
  
  .mobile-header__btn--notification {
    position: relative;
  }
  
  .mobile-header__notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #E07A5F;
    border-radius: 50%;
    border: 2px solid #fff;
    display: none;
  }
  
  .mobile-header__notification-dot.has-notifications {
    display: block;
  }
  
  /* =============================================
     Curate Page Mobile Header Styles
     ============================================= */
  
  .mobile-header--curate {
    gap: 8px;
  }
  
  .mobile-header__center--curate {
    position: relative;
    left: auto;
    transform: none;
    flex: 1;
    min-width: 0;
    margin: 0 8px;
  }
  
  .mobile-header__title-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
  }
  
  .mobile-header__title-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    padding: 1px 0;
    outline: none;
  }
  
  .mobile-header__title-input::placeholder {
    color: #999;
  }
  
  .mobile-header__desc-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 10px;
    color: #666;
    padding: 0;
    outline: none;
  }
  
  .mobile-header__desc-input::placeholder {
    color: #bbb;
  }
  
  /* Mobile Sell Toggle */
  .mobile-header__sell-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #f5f5f5;
    border-radius: 20px;
    flex-shrink: 0;
  }
  
  .mobile-sell-toggle__switch {
    position: relative;
    width: 28px;
    height: 16px;
    cursor: pointer;
  }
  
  .mobile-sell-toggle__switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .mobile-sell-toggle__slider {
    position: absolute;
    inset: 0;
    background-color: #ccc;
    border-radius: 16px;
    transition: 0.2s;
  }
  
  .mobile-sell-toggle__slider::before {
    content: "";
    position: absolute;
    height: 12px;
    width: 12px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: 0.2s;
  }
  
  .mobile-sell-toggle__switch input:checked + .mobile-sell-toggle__slider {
    background-color: #10b981;
  }
  
  .mobile-sell-toggle__switch input:checked + .mobile-sell-toggle__slider::before {
    transform: translateX(12px);
  }
  
  .mobile-sell-toggle__label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
  }
  
  .mobile-sell-toggle__price {
    width: 40px;
    border: none;
    background: #fff;
    border-radius: 4px;
    padding: 2px 4px;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    outline: none;
  }
  
  .mobile-sell-toggle__price::-webkit-inner-spin-button,
  .mobile-sell-toggle__price::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  
  /* Mobile Header - View Page */
  .mobile-header--view {
    gap: 8px;
  }
  
  .mobile-header__center--view {
    position: static;
    left: auto;
    transform: none;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    min-width: 0;
    overflow: hidden;
    margin-left: 8px;
  }
  
  .mobile-header__itinerary-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  
  /* Mobile View Toggle - Peach lamp effect like desktop */
  .mobile-header__view-toggle {
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    padding: 3px;
    gap: 2px;
    overflow: visible;
  }
  
  .mobile-view-toggle__btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 26px;
    border: none;
    background: transparent;
    border-radius: 14px;
    color: #999;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .mobile-view-toggle__btn:hover {
    color: #666;
  }
  
  .mobile-view-toggle__btn--active {
    background-color: rgba(249, 115, 22, 0.08);
    color: #9a3412;
  }
  
  /* Lamp glow effect - top bar */
  .mobile-view-toggle__btn--active::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #F97316, transparent);
    border-radius: 2px;
    opacity: 0.8;
  }
  
  /* Lamp glow effect - radial glow */
  .mobile-view-toggle__btn--active::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 12px;
    background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.25) 0%, transparent 70%);
    filter: blur(2px);
    pointer-events: none;
  }
  
  .mobile-view-toggle__btn--active svg {
    color: #c2410c;
  }
  
  .mobile-header__btn--print {
    color: #666;
  }
  
  .mobile-header__btn--print svg {
    width: 20px;
    height: 20px;
  }
}

/* =============================================
   Mobile Bottom Tab Bar
   ============================================= */

.mobile-tab-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-tab-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 100;
    pointer-events: none;
  }
  
  .mobile-tab-bar__container {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    pointer-events: auto;
  }
  
  .mobile-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 8px 10px;
    border: none;
    background: transparent;
    border-radius: 14px;
    cursor: pointer;
    color: #888;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
  }
  
  .mobile-tab svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }
  
  .mobile-tab__label {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .mobile-tab--active,
  .mobile-tab--search-active {
    background: #f5f3f0;
    color: #1a1a1a;
    gap: 6px;
    padding: 8px 14px;
  }
  
  .mobile-tab--active .mobile-tab__label,
  .mobile-tab--search-active .mobile-tab__label {
    max-width: 80px;
    opacity: 1;
    color: #1a1a1a;
  }
  
  .mobile-tab--active svg,
  .mobile-tab--search-active svg {
    transform: scale(1.05);
    stroke: #1a1a1a;
  }
  
  .mobile-tab:not(.mobile-tab--active):not(.mobile-tab--search-active):active {
    transform: scale(0.92);
    background: rgba(245, 243, 240, 0.5);
  }
}

/* =============================================
   Hamburger Menu
   ============================================= */

.hamburger-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.hamburger-menu--open {
  transform: translateX(0);
}

.hamburger-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hamburger-menu__overlay--visible {
  opacity: 1;
  visibility: visible;
}

.hamburger-menu__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  border-bottom: 1px solid #eee;
}

.hamburger-menu__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #E07A5F;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.hamburger-menu__avatar-initial {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

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

.hamburger-menu__user-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hamburger-menu__user-email {
  font-size: 13px;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hamburger-menu__close {
  width: 36px;
  height: 36px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  flex-shrink: 0;
}

.hamburger-menu__items {
  flex: 1;
  padding: 8px;
  overflow-y: auto;
}

.hamburger-menu__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 12px;
  border: none;
  background: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  color: #1a1a1a;
  text-decoration: none;
  transition: background 0.15s ease;
}

.hamburger-menu__item:hover {
  background: #f5f5f5;
}

.hamburger-menu__item svg {
  width: 20px;
  height: 20px;
  color: #666;
  flex-shrink: 0;
}

.hamburger-menu__item--logout {
  color: #dc2626;
}

.hamburger-menu__item--logout svg {
  color: #dc2626;
}

.hamburger-menu__divider {
  height: 1px;
  background: #eee;
  margin: 8px 12px;
}

.hamburger-menu__footer {
  padding: 16px;
  border-top: 1px solid #eee;
}

.hamburger-menu__login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.hamburger-menu__login-btn:hover {
  background: #333;
}

/* =============================================
   Hide Desktop Elements on Mobile
   ============================================= */

@media (max-width: 768px) {
  /* Hide side navigation */
  .side-nav {
    display: none !important;
  }
  
  /* Hide desktop top nav */
  .top-nav {
    display: none !important;
  }
  
  /* Adjust main container */
  .main-container {
    margin-left: 0 !important;
  }
  
  /* Adjust app layout - no bottom padding since tab bar is floating */
  .app-layout {
    padding-top: 44px; /* Mobile header height */
    padding-bottom: 100px; /* Space for floating tab bar */
  }
  
  /* Adjust content area */
  .content-area {
    padding-top: 0;
    min-height: calc(100vh - 44px - 100px);
  }
}

/* =============================================
   Profile Page Mobile Adjustments
   ============================================= */

@media (max-width: 768px) {
  /* Profile Hero - Restructured for mobile */
  .profile-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    border-radius: 16px;
    margin: 6px;
    margin-top: 12px;
    background: #fff;
    border: none;
    box-shadow: none;
    gap: 0;
    position: relative;
  }
  
  .profile-hero__avatar {
    width: 56px;
    height: 56px;
    margin-bottom: 6px;
    order: 1;
  }
  
  .profile-hero__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    order: 2;
  }
  
  .profile-hero__top {
    display: contents;
  }
  
  .profile-hero__info {
    text-align: left;
    align-items: flex-start;
    order: 1;
  }
  
  .profile-hero__name {
    font-size: 16px;
    font-weight: 700;
  }
  
  .profile-hero__username {
    font-size: 12px;
    margin-top: 2px;
  }
  
  .profile-hero__bio {
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.5;
    text-align: left;
    order: 2;
  }
  
  .profile-hero__meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4px;
    width: 100%;
    order: 3;
    gap: 8px;
  }
  
  .profile-hero__stat {
    font-size: 11px;
  }
  
  .profile-hero__flag {
    font-size: 14px;
  }
  
  .profile-hero__link {
    display: inline-flex !important;
    margin-top: 2px;
    width: 100%;
    justify-content: center;
    order: 4;
    font-size: 12px;
  }
  
  /* Show full link text */
  .profile-hero__link span {
    max-width: none !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }
  
  .profile-hero__actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    order: 5;
    margin-top: 0;
    width: auto;
  }
  
  .profile-hero__btn {
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 8px;
  }
  
  /* Profile Tabs */
  .profile-content {
    gap: 4px;
  }
  
  .profile-tabs {
    padding: 4px !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
    width: calc(100% - 16px) !important;
    gap: 4px;
    overflow-x: visible;
    background-color: #f0f0f0;
    border-radius: 16px;
    box-sizing: border-box;
  }
  
  .profile-tabs::-webkit-scrollbar {
    display: none;
  }
  
  .profile-tab {
    flex: 1;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    border-radius: 10px;
    color: #888;
    background: transparent;
  }
  
  .profile-tab--active {
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .curate-cta {
    margin: 4px 8px;
    border-radius: 16px;
    padding: 6px 10px;
  }
  
  .curate-cta__text {
    font-size: 12px;
  }
  
  .curate-cta__btn {
    font-size: 11px;
    padding: 7px 14px;
  }
  
  .curate-cta__avatar {
    width: 28px;
    height: 28px;
  }
  
  .itinerary-feed {
    padding: 0 8px 12px;
    gap: 10px;
  }
  
  .itinerary-post {
    margin-bottom: 10px;
    border-radius: 16px;
  }
  
  /* Post Card */
  .itinerary-post {
    border-radius: 16px;
    gap: 8px !important;
    padding: 12px !important;
  }
  
  .post-header {
    gap: 6px;
    padding: 0 !important;
    margin-bottom: 0;
  }
  
  .post-header__avatar {
    width: 32px;
    height: 32px;
    margin-left: 0;
  }
  
  .post-header__avatar svg {
    width: 16px;
    height: 16px;
  }
  
  .post-header__user {
    flex: 1;
    min-width: 0;
    gap: 0;
  }
  
  /* Hide display name, show only username */
  .post-header__username {
    display: none;
  }
  
  .post-header__handle {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-primary);
  }
  
  /* Hide timestamp */
  .post-header__timestamp {
    display: none;
  }
  
  .post-header__username .verified-badge {
    width: 12px;
    height: 12px;
  }
  
  /* Shorter indicator text on mobile - smaller */
  .post-header__indicator {
    padding: 2px 5px;
    font-size: 0;
    border-radius: 4px;
  }
  
  .post-header__indicator::after {
    font-size: 8px;
  }
  
  .post-header__indicator--itinerary::after {
    content: 'ITIN';
  }
  
  .post-header__indicator--blog::after {
    content: 'BLOG';
  }
  
  .post-header__indicator--journal::after {
    content: 'JRNL';
  }
  
  .post-header__status {
    padding: 2px 5px;
    font-size: 0;
    border-radius: 4px;
  }
  
  .post-header__status::after {
    font-size: 8px;
  }
  
  .post-header__status--bucket-list::after {
    content: 'BL';
  }
  
  .post-header__status--visited::after {
    content: 'V';
  }
  
  .post-header__duration {
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 4px;
  }
  
  .post-header__price {
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 4px;
  }
  
  .post-header__price svg {
    width: 9px;
    height: 9px;
  }
  
  .post-header__spacer {
    display: none;
  }
  
  .post-header__menu {
    width: 28px;
    height: 28px;
  }
  
  /* Post body - compact spacing */
  .post-body {
    margin-left: 0 !important;
    padding: 0 4px !important;
    gap: 2px !important;
  }
  
  .post-body__title {
    font-size: 12px;
  }
  
  .post-body__description {
    font-size: 11px;
    margin-top: 0;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
  }
  
  /* Post thumbnails - horizontal swipe, compact */
  .post-thumbnails-wrapper {
    overflow: visible;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .post-thumbnails {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 !important;
  }
  
  .post-thumbnails::-webkit-scrollbar {
    display: none;
  }
  
  .post-thumbnails-arrow {
    display: none !important;
  }
  
  .post-thumbnail {
    width: 160px;
    min-width: 160px;
    height: 160px;
    flex-shrink: 0;
  }
  
  .post-thumbnail__image {
    height: 110px;
  }
  
  .post-thumbnail__info {
    padding: 8px;
  }
  
  .post-thumbnail__title {
    font-size: 10px;
  }
  
  .post-thumbnail__label {
    font-size: 9px;
  }
  
  /* Post actions - align left, balanced */
  .post-actions {
    padding: 0 4px !important;
    justify-content: flex-start;
  }
  
  .post-actions__left {
    flex: none;
    gap: 4px !important;
  }
  
  .post-action-btn {
    padding: 6px 8px !important;
  }
  
  .post-action-btn svg {
    width: 14px;
    height: 14px;
  }
  
  .post-action-btn__count {
    font-size: 10px;
  }
  
  .post-coffee-wrapper {
    position: static;
  }
  
  .post-coffee-btn {
    padding: 4px 8px;
  }
  
  .post-coffee-btn span {
    display: none;
  }
  
  .post-coffee-btn svg {
    width: 14px;
    height: 14px;
  }
  
  .post-buy-btn {
    padding: 4px 10px;
    font-size: 11px;
  }
  
  .post-buy-btn svg {
    width: 12px;
    height: 12px;
  }
}

/* =============================================
   Home Page Mobile Adjustments
   ============================================= */

@media (max-width: 768px) {
  .home-content {
    padding: 24px 16px;
    min-height: calc(100vh - 44px - 64px - 48px);
  }
  
  .home-hero__logo {
    width: 56px;
    height: 56px;
  }
  
  .home-hero__title {
    font-size: 24px;
    line-height: 1.3;
  }
  
  .home-hero__subtitle {
    font-size: 15px;
  }
  
  .home-cta__btn {
    width: 100%;
    justify-content: center;
  }
  
  .home-continue {
    padding: 0;
  }
  
  .home-continue__btn {
    padding: 16px;
  }
  
  /* Limelight Nav - Curate/Publish/Share tabs */
  .limelight-nav {
    height: 36px;
    padding: 0 4px;
    border-radius: 20px;
    width: 100%;
  }
  
  .limelight-nav__item {
    padding: 0 20px;
    font-size: 13px;
    font-weight: 600;
    flex: 1;
    justify-content: center;
  }
  
  .limelight-nav__light {
    width: 36px;
    height: 3px;
  }
  
  .limelight-nav__light::before {
    width: 180%;
    left: -40%;
    height: 36px;
  }
  
  /* Showcase cards */
  .home-showcase {
    margin-top: 20px;
    margin-left: -16px;
    margin-right: -16px;
  }
  
  .home-showcase__card {
    max-width: none;
    width: 100%;
    border-radius: 0;
  }
}

/* =============================================
   View Page Mobile Adjustments
   ============================================= */

@media (max-width: 768px) {
  /* Day panel - floating above nav tabs */
  .day-panel {
    position: fixed;
    bottom: calc(64px + 12px); /* Above nav tabs + small margin */
    left: 16px;
    right: 16px;
    top: auto;
    width: auto;
    height: auto;
    max-height: none;
    border: 1px solid #eee;
    border-radius: 16px;
    background: #fff;
    z-index: 90;
    padding: 8px 10px;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
  
  /* Hide arrow buttons on mobile */
  .day-panel__arrow {
    display: none !important;
  }
  
  .day-panel__buttons {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0;
    align-items: stretch;
    flex: 1;
  }
  
  .day-panel__buttons::-webkit-scrollbar {
    display: none;
  }
  
  /* Mobile day button - compact with thumbnail */
  .day-btn {
    flex-shrink: 0;
    width: 100px;
    min-width: 100px;
    height: 100px;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
  }
  
  /* Show thumbnails on mobile - smaller */
  .day-btn__thumbnail {
    display: block;
    width: 100%;
    height: 60px;
    border-radius: 12px 12px 0 0;
  }
  
  .day-btn__info {
    text-align: center;
    padding: 4px 6px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
  }
  
  .day-btn__title {
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .day-btn__label {
    font-size: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Hide delete button on mobile day buttons */
  .day-btn__delete {
    display: none;
  }
  
  /* Add Day button - fixed to right side */
  .day-btn--add {
    position: sticky;
    right: 0;
    width: 60px;
    min-width: 60px;
    height: 100px;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
    background: #efe8de;
    color: #999;
    border-color: #efe8de;
  }
  
  .day-btn--add svg {
    width: 20px;
    height: 20px;
    stroke: #999;
  }
  
  .day-btn--add span {
    display: block;
    font-size: 10px;
    color: #999;
  }
  
  /* Content area adjustment - space for floating day panel + nav */
  .view-mode .content-area,
  .edit-mode .content-area {
    padding-top: 58px; /* Mobile header only, minimal gap */
    padding-bottom: calc(116px + 64px + 24px); /* Day panel + margin + nav tabs + extra */
  }
  
  /* Activity table mobile - horizontal swipe, keep 4 columns */
  .activity-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -12px;
    padding: 0 12px;
    background: transparent;
  }
  
  .activity-table::-webkit-scrollbar {
    display: none;
  }
  
  /* Headers - very short height, with shadow */
  .activity-headers {
    display: flex;
    gap: 8px;
    min-width: 700px;
    width: max-content;
    position: sticky;
    top: 0;
    background: transparent;
    z-index: 5;
    padding-bottom: 3px;
  }
  
  .activity-header {
    font-size: 11px;
    padding: 0 8px;
    height: 44px;
    line-height: 1.2;
    flex-shrink: 0;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #f0ede6;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.015);
  }
  
  /* Header widths */
  .activity-header--time {
    width: 90px;
  }
  
  .activity-header--notes {
    width: 240px;
  }
  
  .activity-header--transport {
    width: 210px;
  }
  
  .activity-header--costs {
    width: 150px;
  }
  
  /* Activity rows container */
  .activity-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 700px;
    width: max-content;
    background: transparent;
  }
  
  .activity-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    overflow: visible;
    background: transparent;
  }
  
  /* Cells - taller height, bigger radius, subtle border-focused */
  .activity-cell {
    border: 1px solid #f0ede6;
    border-radius: 16px;
    padding: 12px 10px;
    min-height: 110px;
    font-size: 12px;
    background: #fff;
    flex-shrink: 0;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.015);
  }
  
  /* Cell widths - must match header widths exactly */
  .activity-cell--time {
    width: 90px;
    background: #fff;
    font-weight: 500;
    font-size: 12px;
  }
  
  .activity-cell--notes {
    width: 240px;
    background: #fff;
  }
  
  .activity-cell--transport {
    width: 210px;
    background: #fff;
  }
  
  .activity-cell--costs {
    width: 150px;
    background: #fff;
  }
  
  .costs-split {
    flex-direction: row;
    justify-content: space-between;
    gap: 8px;
  }
  
  .costs-split__planned,
  .costs-split__actual {
    flex: 1;
    text-align: center;
    padding: 0;
    font-size: 12px;
  }
  
  .costs-split__divider {
    width: 1px;
    height: auto;
    background: #ddd;
  }
  
  /* Remove gray background from content area */
  .content-area {
    background: #fff;
  }
  
  .day-content {
    background: transparent;
  }
  
  /* Override edit mode gray background on mobile */
  body.edit-mode .day-content {
    background-color: #faf9f5;
    background: #faf9f5;
    box-shadow: none;
    border: none;
  }
  
  /* Add Activity button - floating above day panel */
  .add-activity-btn {
    position: fixed;
    bottom: calc(64px + 12px + 116px + 8px); /* nav + gap + day panel + spacing */
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
    margin: 0;
    padding: 6px 16px;
    z-index: 85;
    background: #efe8de;
    border: 1px solid #efe8de;
    border-radius: 14px;
    box-shadow: none;
    font-size: 11px;
    color: #999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }
  
  .add-activity-btn svg {
    width: 12px;
    height: 12px;
    stroke: #999;
  }
  
  /* Profile card mobile */
  .profile-card {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    margin-top: 0;
    background: #efe8de;
    border-color: #efe8de;
    box-shadow: none;
    position: relative;
  }
  
  /* Move actions to upper right */
  .profile-card__actions {
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto;
    gap: 6px;
    z-index: 5;
  }
  
  /* Status selector needs higher z-index when open */
  .status-selector {
    position: relative;
    z-index: 10;
  }
  
  .status-selector__dropdown {
    z-index: 20;
  }
  
  /* Date picker needs higher z-index when open */
  .date-picker {
    position: relative;
    z-index: 10;
  }
  
  .date-picker__calendar {
    z-index: 20;
  }
  
  /* Hide Post button icon on mobile */
  .profile-card__btn--post svg {
    display: none;
  }
  
  .profile-card__btn--post {
    padding: 0 12px;
    gap: 0;
    background: #feefe3 !important;
    color: #9a3412 !important;
    border-color: #feefe3 !important;
  }
  
  .profile-card__left {
    gap: 12px;
    align-items: center;
  }
  
  /* Bigger avatar on mobile */
  .profile-card__avatar {
    width: 44px;
    height: 44px;
  }
  
  .profile-card__avatar-initial {
    font-size: 16px;
  }
  
  .profile-card__info {
    gap: 2px;
  }
  
  /* Smaller day label text */
  .profile-card__day {
    font-size: 11px;
  }
  
  .profile-card__title {
    font-size: 10px;
  }
  
  /* Date picker compact on mobile */
  .date-picker__date {
    font-size: 11px;
  }
  
  /* Status selector - compact with initials only */
  .status-selector__btn {
    padding: 3px 8px;
    font-size: 10px;
    gap: 4px;
  }
  
  .status-selector__indicator {
    width: 6px;
    height: 6px;
  }
  
  /* Hide full text, show only initials */
  .status-selector__text {
    display: none;
  }
  
  .status-selector__btn::after {
    content: attr(data-mobile-text);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
  }
  
  /* Dropdown still shows full text */
  .status-selector__dropdown {
    min-width: 100px;
  }
  
  .status-selector__option {
    font-size: 11px;
    padding: 6px 10px;
  }
  
  /* Location selectors - 4 columns in one line */
  .location-selectors {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 0;
    border-left: none;
    margin-left: 0;
    width: 100%;
  }
  
  .location-summary {
    justify-content: center;
    padding: 5px 4px;
    font-size: 8px;
    gap: 3px;
  }
  
  .location-summary__text {
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Replace "Add xxx" with shorter text on mobile */
  .location-summary--countries:not(.location-summary--has-value) .location-summary__text {
    font-size: 0;
  }
  .location-summary--countries:not(.location-summary--has-value) .location-summary__text::after {
    content: "Countries";
    font-size: 8px;
  }
  
  .location-summary--destinations:not(.location-summary--has-value) .location-summary__text {
    font-size: 0;
  }
  .location-summary--destinations:not(.location-summary--has-value) .location-summary__text::after {
    content: "Destinations";
    font-size: 8px;
  }
  
  .location-summary--flights:not(.location-summary--has-value) .location-summary__text {
    font-size: 0;
  }
  .location-summary--flights:not(.location-summary--has-value) .location-summary__text::after {
    content: "Flights";
    font-size: 8px;
  }
  
  .location-summary--hotels:not(.location-summary--has-value) .location-summary__text {
    font-size: 0;
  }
  .location-summary--hotels:not(.location-summary--has-value) .location-summary__text::after {
    content: "Hotels";
    font-size: 8px;
  }
  
  .location-summary svg:first-child {
    width: 10px;
    height: 10px;
  }
  
  .location-summary__arrow {
    display: none;
  }
  
  .profile-card__actions {
    width: 100%;
    justify-content: flex-end;
    gap: 6px;
  }
  
  /* Smaller buttons on mobile */
  .profile-card__btn {
    min-width: auto;
    height: 28px;
    padding: 0 10px;
    font-size: 12px;
  }
  
  .profile-card__btn svg {
    width: 14px;
    height: 14px;
  }
  
  .profile-card__btn span {
    display: none;
  }
  
  /* Post button - peach color, show text, compact */
  .profile-card__btn--post {
    padding: 0 12px;
    gap: 4px;
    background: #feefe3;
    color: #9a3412;
    border-color: #feefe3;
  }
  
  .profile-card__btn--post:hover {
    background: #fde4d2;
  }
  
  .profile-card__btn--post span {
    display: inline;
    font-size: 11px;
    color: #9a3412;
  }
  
  .profile-card__btn--post svg {
    width: 12px;
    height: 12px;
    stroke: #9a3412;
  }
  
  /* Cancel button - X only, smaller, peach */
  .profile-card__btn--cancel {
    width: 28px;
    height: 28px;
    padding: 0;
    min-width: 28px;
    background: #feefe3 !important;
    border-color: #feefe3 !important;
    color: #9a3412 !important;
  }
  
  .profile-card__btn--cancel svg {
    width: 14px;
    height: 14px;
    stroke: #9a3412 !important;
  }
  
  /* Save dropdown arrow smaller */
  .save-dropdown__arrow {
    width: 10px;
    height: 10px;
  }
  
  /* Move content much closer to top nav - minimal margin */
  .day-content {
    padding: 0 12px !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  
  /* Reduce space at top of content area - almost no gap */
  .content-area {
    padding-top: 60px !important;
  }
  
  .edit-mode .content-area,
  .view-mode .content-area {
    padding-top: 60px !important;
  }
  
  /* Hide desktop navigation on mobile */
  .top-nav {
    display: none !important;
  }
  
  .side-nav {
    display: none !important;
  }
  
  /* Remove side-nav margin from main container on mobile */
  .main-container {
    margin-left: 0;
  }
  
  /* Costs total mobile - aligned to costs column */
  .costs-total {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 0;
    margin-top: 8px;
    background: transparent;
    gap: 8px;
    min-width: 700px;
    width: max-content;
  }
  
  .costs-total__label {
    font-size: 12px;
    font-weight: 600;
    color: #8a8279;
    /* Align label to start of costs column: 90 + 8 + 240 + 8 + 210 + 8 = 564px from left */
    margin-left: auto;
    padding-right: 8px;
  }
  
  .costs-total__values {
    width: 150px;
    min-width: 150px;
    background: #f5f3f0;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #e8e4df;
    box-sizing: border-box;
  }
  
  .costs-total__planned,
  .costs-total__actual {
    font-size: 11px;
    color: #6b6b6b;
  }
}

/* =============================================
   Index/Curate Page Mobile Adjustments
   ============================================= */

@media (max-width: 768px) {
  /* Save dropdown mobile */
  .save-dropdown__menu {
    right: 0;
    left: auto;
    min-width: 180px;
    z-index: 1000;
  }
  
  .save-dropdown {
    position: relative;
    z-index: 100;
  }
  
  .save-dropdown.is-open {
    z-index: 1000;
  }
}

/* =============================================
   Modals Mobile Adjustments
   ============================================= */

@media (max-width: 768px) {
  .auth-modal__content {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    border-radius: 0;
    padding: 24px 20px;
  }
  
  .tip-modal__content {
    width: 100%;
    max-width: none;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    margin-top: auto;
  }
  
  .tip-modal {
    align-items: flex-end;
  }
  
  .earnings-drawer__content {
    max-width: none;
    left: 0;
    transform: translateY(100%);
  }
  
  .earnings-drawer--open .earnings-drawer__content {
    transform: translateY(0);
  }
  
  .search-modal__content {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
}

/* =============================================
   Safe Area Insets (for notched phones)
   ============================================= */

@supports (padding: env(safe-area-inset-bottom)) {
  @media (max-width: 768px) {
    .mobile-tab-bar {
      padding-bottom: calc(8px + env(safe-area-inset-bottom));
    }
    
    .app-layout {
      padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }
    
    /* Day panel adjusts for safe area */
    .day-panel {
      bottom: calc(64px + 12px + env(safe-area-inset-bottom));
    }
    
    /* Add activity button adjusts for safe area */
    .add-activity-btn {
      bottom: calc(64px + 12px + 116px + 8px + env(safe-area-inset-bottom));
    }
  }
}

/* =============================================
   FINAL MOBILE OVERRIDES - Remove gap at top
   ============================================= */
@media (max-width: 768px) {
  .app-layout {
    padding-top: 44px !important;
    padding-bottom: 100px !important;
  }
  
  /* Off-white background for edit/curate page */
  body.edit-mode {
    background-color: #faf9f5;
  }
  
  body.edit-mode .content-area {
    background-color: #faf9f5;
  }
  
  body.edit-mode .mobile-header {
    background-color: #fff;
  }
  
  .main-container {
    margin-left: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  
  .content-area,
  .edit-mode .content-area,
  .view-mode .content-area,
  body.edit-mode .content-area,
  body.view-mode .content-area {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  
  .day-content,
  body.edit-mode .day-content,
  body.view-mode .day-content {
    padding-top: 0px !important;
    margin-top: 0 !important;
    padding: 4px 8px 8px !important;
  }
  
  .profile-card {
    margin-top: 0 !important;
  }
  
  .day-content > *:first-child {
    margin-top: 0 !important;
  }
  
  /* =============================================
     TIMELINE VIEW MOBILE - Compact Layout
     ============================================= */
  
  /* Reduce timeline header spacing */
  .timeline-header {
    padding: 4px 12px;
    margin-bottom: 8px;
  }
  
  .timeline-header__title {
    font-size: 18px;
  }
  
  .timeline-header__desc {
    font-size: 12px;
  }
  
  .timeline-header__meta {
    gap: 8px;
    margin-top: 8px;
  }
  
  .timeline-header__duration {
    font-size: 11px;
    padding: 4px 8px;
  }
  
  /* Compact timeline line - much narrower left margin */
  .timeline-days {
    padding-left: 24px !important;
  }
  
  .timeline-line {
    left: 10px !important;
    width: 2px;
  }
  
  .timeline-day__marker {
    left: -24px !important;
    width: 20px;
  }
  
  .timeline-day__dot {
    width: 10px;
    height: 10px;
    border-width: 2px;
  }
  
  .timeline-day {
    margin-bottom: 16px;
  }
  
  /* Compact day header */
  .timeline-day__header {
    padding: 10px 12px;
  }
  
  .timeline-day__title {
    font-size: 13px;
  }
  
  .timeline-day__date {
    font-size: 10px;
  }
  
  /* Compact activities - smaller fonts like table view */
  .timeline-day__activities {
    padding: 2px 0;
  }
  
  .timeline-activity {
    grid-template-columns: 40px 1fr;
    gap: 8px;
    padding: 8px 12px;
  }
  
  .timeline-activity__time {
    font-size: 11px;
  }
  
  .timeline-activity__notes {
    font-size: 12px;
    line-height: 1.4;
  }
  
  .timeline-activity__transport {
    font-size: 10px;
    padding: 2px 6px;
  }
  
  /* Travel section compact */
  .timeline-travel-wrapper {
    gap: 12px;
    padding: 12px;
  }
  
  .timeline-travel-section {
    padding: 10px;
  }
  
  .timeline-travel-section__header {
    font-size: 11px;
    padding: 6px 10px;
    margin: -10px -10px 8px -10px;
  }
  
  .timeline-travel-card {
    padding: 8px;
    font-size: 11px;
  }
  
  .timeline-travel-card__route,
  .timeline-travel-card__name {
    font-size: 12px;
  }
  
  .timeline-travel-card__airline,
  .timeline-travel-card__address,
  .timeline-travel-card__details {
    font-size: 10px;
  }
  
  /* Grand total compact */
  .timeline-grand-total {
    padding: 12px;
    margin-top: 16px;
  }
  
  .timeline-grand-total__title {
    font-size: 13px;
  }
  
  .timeline-grand-total__row {
    font-size: 11px;
    padding: 6px 0;
  }
  
  /* Timeline container padding */
  .timeline-container {
    padding: 12px;
  }
  
  /* =============================================
     OFF-WHITE ELEMENTS - Final Override
     ============================================= */
  
  .profile-card {
    background: #faf9f5 !important;
    border: none !important;
    box-shadow: none !important;
  }
  
  /* Edit mode profile card text styles */
  body.edit-mode .profile-card {
    color: #1a1a1a;
  }
  
  body.edit-mode .profile-card__day-label {
    color: #1a1a1a !important;
    font-weight: 700 !important;
    font-size: 13px !important;
  }
  
  body.edit-mode .profile-card__date {
    color: #1a1a1a !important;
    font-weight: 600 !important;
  }
  
  body.edit-mode .profile-card__title {
    color: #1a1a1a !important;
    font-weight: 700 !important;
    font-size: 16px !important;
  }
  
  body.edit-mode .profile-card .status-selector__btn {
    color: #6b6b6b !important;
    background: #f0f0f0 !important;
    border-color: #e0e0e0 !important;
  }
  
  body.edit-mode .profile-card .location-summary {
    color: #1a1a1a !important;
    background: #f0f0f0 !important;
    border-color: #e0e0e0 !important;
  }
  
  body.edit-mode .profile-card .location-summary__text {
    color: #1a1a1a !important;
  }
  
  body.edit-mode .profile-card .location-summary__text::after {
    color: #1a1a1a !important;
  }
  
  body.edit-mode .profile-card .location-summary svg {
    stroke: #1a1a1a !important;
  }
  
  /* View mode profile card - white background, matching edit layout */
  body.view-mode .profile-card {
    background: #fff !important;
    border: none !important;
    box-shadow: none !important;
  }
  
  body.view-mode .profile-card__day-row {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  body.view-mode .profile-card__day-label {
    font-size: 11px;
    font-weight: 700;
    color: #1a1a1a;
  }
  
  body.view-mode .profile-card__separator {
    color: #999;
    font-size: 10px;
  }
  
  body.view-mode .profile-card__date {
    font-size: 10px;
    font-weight: 600;
    color: #1a1a1a;
  }
  
  body.view-mode .profile-card__title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
  }
  
  body.view-mode .profile-card .status-badge {
    font-size: 8px;
    padding: 2px 5px;
  }
  
  /* View page Edit button - peach colored, compact */
  body.view-mode .profile-card__btn--edit-view {
    background: #feefe3 !important;
    color: #9a3412 !important;
    border-color: #feefe3 !important;
    padding: 5px 10px !important;
    font-size: 11px;
    min-width: auto;
    height: auto;
  }
  
  body.view-mode .profile-card__btn--edit-view svg {
    stroke: #9a3412 !important;
    width: 13px;
    height: 13px;
  }
  
  body.view-mode .profile-card__btn--edit-view span {
    display: inline !important;
    color: #9a3412 !important;
  }
  
  /* View mode - remove shadows from activity headers and cells, border pops */
  body.view-mode .activity-header {
    box-shadow: none !important;
  }
  
  body.view-mode .activity-cell {
    box-shadow: none !important;
  }
  
  .add-activity-btn {
    background: #ede9e4 !important;
    border-color: #ddd7d0 !important;
    box-shadow: none !important;
    color: #8a8279 !important;
  }
  
  .add-activity-btn svg {
    stroke: #8a8279 !important;
  }
  
  .day-btn--add {
    background: #ede9e4 !important;
    border-color: #ddd7d0 !important;
    color: #8a8279 !important;
  }
  
  .day-btn--add svg {
    stroke: #8a8279 !important;
  }
  
  .day-btn--add span {
    color: #8a8279 !important;
  }

}
