/* Boatsetter tokens */
:root {
  --primary-100: #e9f1fc;
  --primary-400: #0751c2;
  --primary-600: #0a4195;
  --primary-800: #17263c;

  --accent-100: #fff1d9;
  --accent-400: #ffbc51;

  --green-400: #2a8500;
  --red-400: #bc3509;

  --n-100: #ffffff;
  --n-200: #f8f9fa;
  --n-300: #eef1f5;
  --n-400: #c3c7cc;
  --n-500: #7a838c;
  --n-600: #434c5c;
  --n-700: #2c3543;
  --n-800: #17263c;

  --ink: var(--n-800);
  --ink-2: var(--n-600);
  --ink-mute: var(--n-500);

  --shadow-sm: 0 0 50px rgba(23, 38, 60, 0.05);
  --shadow-md: 0 0 50px rgba(23, 38, 60, 0.10);
  --shadow-lg: 0 0 50px rgba(23, 38, 60, 0.20);

  --radius-lg: 8px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-pill: 9999px;

  --font: 'Figtree', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #0b0e14;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Screen ---------- */

.screen {
  background: var(--n-200);
  min-height: 100%;
  position: relative;
  padding-top: 54px;
  padding-bottom: 48px;
}

.screen--modal-open {
  height: 100%;
  overflow: hidden;
}

.screen-head {
  padding: 10px 20px 16px;
}
.screen-head--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}
.screen-head--row h1 { flex: 1 1 auto; min-width: 0; }
.screen-head-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-400);
  color: #fff;
  padding: 9px 14px 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.005em;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  transition: filter 120ms, transform 120ms;
}
.screen-head-cta:active { filter: brightness(0.92); transform: scale(0.98); }
.screen-head h1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
}

/* ---------- Experience card ---------- */

.exp {
  margin: 0 12px 16px;
  background: var(--n-100);
  border: 1px solid var(--n-300);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.exp-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
}
.exp-photo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex: none;
  background-size: cover;
  background-position: center;
  background-color: var(--n-300);
}
.exp-title {
  flex: 1;
  min-width: 0;
}
.exp-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.exp-menu-wrap {
  position: relative;
}
.exp-menu {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background 120ms;
}
.exp-menu:hover, .exp-menu:active { background: var(--n-200); }

.exp-popover {
  position: absolute;
  top: 42px;
  right: 0;
  background: var(--n-100);
  border: 1px solid var(--n-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  min-width: 190px;
  padding: 6px;
  z-index: 30;
  animation: popin 140ms ease;
}
@keyframes popin {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.exp-popover button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  white-space: nowrap;
}
.exp-popover button:hover { background: var(--n-200); }
.exp-popover button.danger { color: var(--red-400); }
.exp-popover hr { border: none; height: 1px; background: var(--n-300); margin: 4px 0; }

/* ---------- Section label ---------- */

.exp-sectionlabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  padding: 12px 16px 8px;
  text-transform: uppercase;
  border-top: 1px solid var(--n-300);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---------- Simplified experience variant ---------- */
.exp--simplified .exp-head {
  align-items: flex-start;
  gap: 14px;
  padding: 16px 14px 14px 16px;
}
.exp--simplified .exp-photo {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-lg);
}
.exp--simplified .exp-title { padding-top: 2px; }
.exp--simplified .exp-name {
  font-size: 18px;
  margin-bottom: 4px;
}
.exp-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: pretty;
}

/* ---------- Simplified: connected-listings link ---------- */
.exp-listings-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--brand);
  cursor: pointer;
  text-align: left;
}
.exp-listings-link:active { background: var(--n-100); }
.exp-listings-link-text strong {
  font-weight: 700;
}
.exp-listings-link-sep {
  color: var(--ink-mute);
  margin: 0 4px;
}
.exp-listings-link-chev {
  color: var(--ink-3);
  flex-shrink: 0;
}

/* ---------- Connected listings sub-page ---------- */
.exl-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Align under the page title: 20px page padding + 36px back button + 6px gap */
  margin: -6px 20px 18px 62px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--n-300);
  border-radius: 999px;
  background: transparent;
  align-self: flex-start;
  width: fit-content;
}
.exl-summary-photo {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background-size: cover;
  background-position: center;
  background-color: var(--n-200);
  flex-shrink: 0;
}
.exl-summary-exp-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}

/* ---------- Offers page (contextual nav mode) ---------- */
.op-count {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-mute);
  background: var(--n-200);
  border-radius: 999px;
  padding: 2px 10px;
  min-width: 28px;
  text-align: center;
}

.op-filter {
  padding: 0 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.op-filter-tabs {
  display: inline-flex;
  background: var(--n-200);
  border-radius: 999px;
  padding: 3px;
  align-self: flex-start;
}
.op-filter-tab {
  border: 0;
  background: transparent;
  padding: 7px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 999px;
  cursor: pointer;
}
.op-filter-tab.on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.op-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -20px;
  padding: 4px 20px 6px;
  scrollbar-width: none;
}
.op-chips::-webkit-scrollbar { display: none; }

.op-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--n-300);
  border-radius: 999px;
  padding: 4px 14px 4px 4px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: border-color 120ms, background 120ms, color 120ms;
}
.op-chip-thumb {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background-size: cover;
  background-position: center;
  background-color: var(--n-200);
  flex-shrink: 0;
}
.op-chip.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.op-results-meta {
  padding: 4px 20px 10px;
  font-size: 13px;
  color: var(--ink-mute);
}

/* lr-name-sub: secondary line under the offer head name. */
.lr-name-sub {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
}

/* ---------- Listing row ---------- */

.lr {
  border-top: 1px solid var(--n-300);
  background: var(--n-100);
  transition: background 160ms ease;
}
.lr:first-of-type { border-top: none; }
.lr--open { background: var(--n-200); }

.lr-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-align: left;
}
.lr-photo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  background-color: var(--n-300);
  flex: none;
}
.lr-photo--sm { width: 36px; height: 36px; border-radius: 8px; }
.lr--compact .lr-photo { width: 44px; height: 44px; }
.lr--compact .lr-photo--sm { width: 32px; height: 32px; }
.lr-price-inline--head {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  margin-right: 4px;
}
.lr-head-text { flex: 1; min-width: 0; }

.lr-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.lr-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lr-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  flex: none;
}
.lr-badge--paused { background: var(--accent-100); color: #7a4a00; }
.lr-badge--connected { background: var(--primary-100); color: var(--primary-400); }

.lr-sub {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.lr-spec {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lr-dot { color: var(--ink-mute); }
.lr-price-inline { color: var(--ink); font-weight: 700; white-space: nowrap; }

.lr-chev {
  color: var(--ink-mute);
  transition: transform 220ms cubic-bezier(0.4, 0, 0.2, 1);
  flex: none;
}
.lr-chev--open { transform: rotate(180deg); }

.lr-collapsed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px 12px;
}
.lr-collapsed-time {
  font-size: 13px;
  color: var(--ink-2);
  white-space: nowrap;
  font-weight: 500;
}

.lr-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
.lr--open .lr-body { max-height: 1000px; }
.lr-body-inner { padding: 4px 16px 16px; }

.lr-sec { padding: 10px 0; }
.lr-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin: 0 0 10px;
}

.lr-days { display: flex; gap: 6px; flex: 1; }
.lr-day {
  flex: 1;
  aspect-ratio: 1;
  max-width: var(--dot);
  height: var(--dot);
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.lr-day--on { background: var(--primary-100); color: var(--primary-400); }
.lr-day--off { background: var(--n-300); color: var(--n-500); }

.lr-blocks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lr-block {
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.lr-block-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.lr-block .lr-hours { margin-top: 6px; font-size: 13px; }
.lr-block + .lr-block { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--n-300); }

.lr-pricing-mode {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.lr-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.lr-rule {
  background: var(--accent-100);
  color: #7a4a00;
  padding: 8px 12px;
  border-radius: var(--radius-lg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.lr-hours {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.lr-hours-sep { color: var(--ink-mute); margin: 0 4px; }

.lr-div { height: 1px; background: var(--n-300); margin: 0; }

.lr-rate {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.lr-rate-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.lr-price-table { list-style: none; padding: 0; margin: 10px 0 0; }
.lr-price-table li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px dashed var(--n-300);
}
.lr-price-table li:last-child { border-bottom: none; }
.lr-price-val { font-weight: 700; font-variant-numeric: tabular-nums; }

.lr-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.lr-btn {
  flex: 1;
  height: 44px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 120ms, border-color 120ms;
}
.lr-btn--secondary {
  background: #fff;
  border: 1px solid var(--n-400);
  color: var(--ink);
}
.lr-btn--secondary:active { background: var(--n-200); }
.lr-btn--text {
  background: transparent;
  color: var(--red-400);
  font-weight: 600;
  flex: 0 0 auto;
  padding: 0 12px;
}
.lr-btn--text:hover { background: var(--n-200); }

.lr-connection {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--primary-100);
  border-radius: var(--radius-lg);
  font-size: 13px;
  color: var(--primary-800);
  margin-top: 4px;
}
.lr-connection-icon {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-pill);
  background: var(--primary-400);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.lr-connection-text { flex: 1; }
.lr-connection strong { font-weight: 700; }

/* ---------- Add listing row ---------- */

.add-listing {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px dashed var(--n-400);
  background: var(--n-200);
  color: var(--primary-400);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-align: left;
}
.add-listing-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px dashed var(--n-400);
  display: grid;
  place-items: center;
  color: var(--primary-400);
}
.add-listing-sub {
  font-size: 12px;
  color: var(--ink-mute);
  font-weight: 500;
  margin-top: 2px;
}

/* ---------- Edit sheet ---------- */

.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 38, 60, 0.5);
  z-index: 80;
  display: flex;
  align-items: flex-end;
  animation: fadein 180ms ease;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.sheet {
  background: #fff;
  width: 100%;
  border-radius: 20px 20px 0 0;
  max-height: 92%;
  display: flex;
  flex-direction: column;
  animation: slideup 260ms cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideup { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--n-400);
  margin: 10px auto 4px;
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 12px;
  border-bottom: 1px solid var(--n-300);
}
.sheet-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.sheet-cancel { font-size: 15px; color: var(--ink-2); font-weight: 600; }
.sheet-save { font-size: 15px; color: var(--primary-400); font-weight: 700; }
.sheet-body { overflow-y: auto; padding: 16px 16px 32px; }

.sheet-listing {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--n-200);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}
.sheet-photo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
}
.sheet-listing-name { font-size: 14px; font-weight: 700; }
.sheet-listing-spec { font-size: 12px; color: var(--ink-2); margin-top: 2px; }

.sheet-sec { margin-bottom: 20px; }
.sheet-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 10px;
}

.sheet-days { display: flex; gap: 8px; }
.sheet-day {
  flex: 1;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--n-200);
  color: var(--ink-2);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
}
.sheet-day.on { background: var(--primary-100); color: var(--primary-400); border-color: var(--primary-400); }

.sheet-hours { display: flex; align-items: center; gap: 8px; }
.sheet-time {
  flex: 1;
  padding: 12px 14px;
  background: var(--n-200);
  border-radius: var(--radius-lg);
}
.sheet-time-label {
  display: block;
  font-size: 11px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.sheet-time-val { font-size: 15px; font-weight: 700; color: var(--ink); }
.sheet-time-arrow { color: var(--ink-mute); font-size: 16px; }

.sheet-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet-chip {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--n-400);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
}
.sheet-chip.on {
  background: var(--primary-100);
  color: var(--primary-400);
  border-color: var(--primary-400);
  font-weight: 700;
}

.sheet-rate-input {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 14px 16px;
  background: var(--n-200);
  border-radius: var(--radius-lg);
}
.sheet-dollar { font-size: 22px; font-weight: 700; color: var(--ink-2); }
.sheet-rate {
  border: none;
  background: transparent;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  width: 100px;
  outline: none;
  font-family: inherit;
}
.sheet-unit { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.sheet-preview { margin-top: 12px; }
.sheet-preview-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 2px;
  font-size: 13px;
  color: var(--ink-2);
}
.sheet-preview-row span:last-child {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ---------- Confirm dialog (destructive) ---------- */

.dlg-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 38, 60, 0.5);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  animation: fadein 150ms ease;
}
.dlg {
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 340px;
  width: 100%;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  animation: popin 180ms ease;
}
.dlg-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: #fdeae1;
  color: var(--red-400);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.dlg h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.dlg p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}
.dlg-confirm-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--n-400);
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  margin-bottom: 14px;
}
.dlg-confirm-input:focus { border-color: var(--primary-400); }
.dlg-confirm-input::placeholder { color: var(--n-500); }
.dlg-hint {
  font-size: 12px;
  color: var(--ink-mute);
  margin: -10px 0 14px;
}
.dlg-actions { display: flex; gap: 8px; }
.dlg-actions button {
  flex: 1;
  height: 44px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.dlg-cancel { background: #fff; border: 1px solid var(--n-400); color: var(--ink); }
.dlg-danger { background: var(--red-400); color: #fff; }
.dlg-danger:disabled { background: var(--n-300); color: var(--n-500); cursor: not-allowed; }

/* ---------- Top navigation ---------- */

.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 16px 10px;
  background: #fff;
}
.nav-account {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border-radius: var(--radius-lg);
  transition: background 120ms;
}
.nav-account:active { background: var(--n-200); }
.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--primary-400);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.nav-account-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.nav-account-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.nav-account-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 1px;
}
.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
}
.nav-logo:active { background: var(--n-200); }

/* Organization row */
.nav-org {
  padding: 0 12px 10px;
  background: #fff;
}
.nav-org-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--n-200);
  border: 1px solid var(--n-300);
  border-radius: var(--radius-lg);
  text-align: left;
  transition: background 120ms;
}
.nav-org-btn:active { background: var(--n-300); }
.nav-org-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--primary-100);
  color: var(--primary-400);
  display: grid;
  place-items: center;
  flex: none;
}
.nav-org-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  flex: 1;
  min-width: 0;
}
.nav-org-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.nav-org-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Section tabs */
.nav-sections {
  background: #fff;
  border-bottom: 1px solid var(--n-300);
  padding: 0 12px;
}
.nav-sections-inner {
  display: flex;
  gap: 4px;
}
.nav-tab {
  padding: 12px 14px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: -0.005em;
  position: relative;
  white-space: nowrap;
  transition: color 120ms;
}
.nav-tab:active { color: var(--ink); }
.nav-tab.on {
  color: var(--primary-400);
  font-weight: 700;
}
.nav-tab.on::after {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: -1px;
  height: 2px;
  background: var(--primary-400);
  border-radius: 2px 2px 0 0;
}

/* Org switcher sheet */
.nav-sheet-backdrop {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(100vw, 390px);
  height: min(100vh, 844px);
  border-radius: 48px;
  overflow: hidden;
  background: rgba(23, 38, 60, 0.5);
  z-index: 90;
  display: flex;
  align-items: flex-end;
  animation: fadein 180ms ease;
}
.nav-sheet {
  background: #fff;
  width: 100%;
  border-radius: 20px 20px 0 0;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  animation: slideup 260ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-sheet-head {
  padding: 6px 16px 12px;
  border-bottom: 1px solid var(--n-300);
}
.nav-sheet-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-sheet-body { padding: 8px; overflow-y: auto; }

.org-opt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-lg);
  text-align: left;
  transition: background 120ms;
}
.org-opt:hover, .org-opt:active { background: var(--n-200); }
.org-opt.on { background: var(--primary-100); }
.org-opt-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--n-200);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}
.org-opt.on .org-opt-avatar {
  background: var(--primary-400);
  color: #fff;
}
.org-opt-avatar--add {
  background: #fff;
  border: 1px dashed var(--n-400);
  color: var(--primary-400);
}
.org-opt-text { flex: 1; min-width: 0; }
.org-opt-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.org-opt-sub {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
}
.org-opt-check { color: var(--primary-400); flex: none; }
.org-opt--add { margin-top: 4px; border-top: 1px dashed var(--n-300); padding-top: 14px; border-radius: 0; }

/* Placeholder sections */
.section-placeholder {
  margin: 20px 16px;
  padding: 32px 20px;
  background: #fff;
  border: 1px dashed var(--n-400);
  border-radius: var(--radius-xl);
  text-align: center;
}
.section-placeholder-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.section-placeholder-sub {
  font-size: 13px;
  color: var(--ink-mute);
}

/* Reset screen top padding — nav supplies its own */
.screen { padding-top: 0; }
.screen-head { padding: 16px 20px 12px; }
.screen-head--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.screen-head-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-400);
  color: #fff;
  padding: 9px 14px 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.005em;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  transition: filter 120ms, transform 120ms;
}
.screen-head-cta:active { filter: brightness(0.92); transform: scale(0.98); }

.add-experience {
  margin: 10px 16px 36px;
  padding: 16px 18px;
  background: #fff;
  border: 1.5px dashed var(--n-400, #c9d0dc);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  color: var(--ink);
  width: calc(100% - 32px);
  transition: border-color 120ms, background 120ms;
}
.add-experience:active {
  border-color: var(--primary-400);
  background: var(--primary-100);
}
.add-experience-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-100);
  color: var(--primary-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.add-experience-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.add-experience-sub {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.35;
  margin-top: 2px;
}

.tweaks {
  position: fixed;
  right: 14px;
  bottom: 14px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 14px 16px;
  width: 240px;
  z-index: 200;
  font-size: 12px;
  color: var(--ink);
  display: none;
}
.tweaks.on { display: block; }
.tweaks h4 {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
}
.tweaks-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.tweaks-row:last-child { margin-bottom: 0; }
.tweaks-label { font-size: 11px; color: var(--ink-2); font-weight: 600; }
.tweaks-seg {
  display: flex;
  background: var(--n-200);
  border-radius: 6px;
  padding: 2px;
}
.tweaks-seg button {
  flex: 1;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  color: var(--ink-2);
}
.tweaks-seg button.on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.tweaks-seg--stacked {
  flex-direction: column;
  gap: 2px;
  padding: 3px;
}
/* ---------- Inline (on experience card) ---------- */
.exp-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 16px 14px;
}
.exp-inline-block {
  background: var(--n-200);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
}
.exp-inline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.exp-inline-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.exp-inline-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  background: #fff;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.exp-inline-list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
  flex: 1;
}
.exp-inline-list li {
  padding: 1px 0;
}
.exp-inline-list--priced li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.exp-inline-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  flex-shrink: 0;
}
.exp-inline-empty {
  font-size: 13px;
  font-style: italic;
  color: var(--ink-mute);
  margin-bottom: 10px;
  flex: 1;
}
.exp-inline-manage {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-400);
  text-align: left;
  padding: 2px 0;
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Grouped-by-experience hub ---------- */
.grp-segment {
  display: flex;
  gap: 6px;
  padding: 0 16px 14px;
}
.grp-seg-btn {
  flex: 1;
  background: var(--n-200);
  border-radius: var(--radius-lg);
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 120ms, color 120ms;
}
.grp-seg-btn.on {
  background: var(--primary-400);
  color: #fff;
}
.grp-seg-count {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.3);
  color: inherit;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.grp-seg-btn:not(.on) .grp-seg-count {
  background: #fff;
  color: var(--ink-2);
}
.grp-list {
  padding: 0 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.grp-sec {
  background: #fff;
  border: 1px solid var(--n-300);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.grp-sec-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 10px;
}
.grp-sec-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.grp-sec-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.grp-sec-sub {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 1px;
}
.grp-empty {
  padding: 10px 16px 16px;
  font-size: 13px;
  font-style: italic;
  color: var(--ink-mute);
}
.grp-items {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--n-300);
}
.grp-items li {
  border-bottom: 1px solid var(--n-300);
}
.grp-items li:last-child { border-bottom: 0; }
.grp-item {
  width: 100%;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  text-align: left;
}
.grp-item:active { background: var(--n-200); }
.grp-item-name { font-weight: 600; letter-spacing: -0.005em; }
.grp-item-price { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.grp-add {
  width: 100%;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-400);
  text-align: left;
}
.grp-add:active { background: var(--primary-100); }

/* ---------- Scrollable tab row (flat nav mode) ---------- */
.nav-sections--scroll .nav-sections-inner {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 4px;
}
.nav-sections--scroll .nav-sections-inner::-webkit-scrollbar { display: none; }
.nav-sections--scroll .nav-tab { flex-shrink: 0; white-space: nowrap; }

/* ---------- Nav "More" button ---------- */
.nav-org { display: flex; align-items: center; }
.nav-org .nav-org-btn { flex: 1; }
.nav-more-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  margin-right: 12px;
}
.nav-more-btn:active { background: var(--n-200); }

/* ---------- Sub-head (screen sub copy) ---------- */
.screen-sub {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.4;
}

/* ---------- Contextual links on experience & listing cards ---------- */
.exp-ctx-links {
  display: flex;
  gap: 8px;
  padding: 0 16px 14px;
}
.exp-ctx-link {
  flex: 1;
  background: var(--n-200);
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background 120ms;
}
.exp-ctx-link:active { background: var(--n-300); }
.exp-ctx-label { letter-spacing: -0.005em; }
.exp-ctx-count {
  background: #fff;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lr-ctx-links {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--n-300);
}
.lr-ctx-link {
  flex: 1;
  background: var(--n-200);
  border-radius: var(--radius-lg);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.lr-ctx-link:active { background: var(--n-300); }
.lr-ctx-chev { color: var(--ink-mute); display: inline-flex; }

/* ---------- Catalog hub tiles ---------- */
.cat-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 16px 20px;
}
.cat-tile {
  background: #fff;
  border: 1px solid var(--n-300);
  border-radius: var(--radius-xl);
  padding: 16px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 148px;
  transition: border-color 120ms, transform 120ms;
}
.cat-tile:active {
  border-color: var(--primary-400);
  transform: scale(0.99);
}
.cat-tile-scope {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-400);
  background: var(--primary-100);
  padding: 3px 8px;
  border-radius: 6px;
  align-self: flex-start;
}
.cat-tile-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-top: 4px;
}
.cat-tile-sub {
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.35;
  flex: 1;
}
.cat-tile-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  margin-top: 4px;
}

/* ---------- Library page ---------- */
.lib-head {
  padding: 12px 20px 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.lib-back {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-left: -8px;
  flex-shrink: 0;
}
.lib-back:active { background: var(--n-200); }
.lib-head-text { flex: 1; }
.lib-head h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 2px 0 2px;
}
.lib-head p {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.4;
  margin: 0;
}
.lib-toolbar {
  display: flex;
  gap: 8px;
  padding: 10px 16px 14px;
}
.lib-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--n-200);
  border-radius: var(--radius-lg);
  padding: 0 12px;
  color: var(--ink-mute);
}
.lib-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 0;
  font: inherit;
  color: var(--ink);
  outline: none;
}
.lib-search input::placeholder { color: var(--ink-mute); }
.lib-add-btn {
  width: 40px;
  height: 40px;
  background: var(--primary-400);
  color: #fff;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lib-add-btn:active { background: var(--primary-500, #0e2a5e); filter: brightness(0.9); }

.lib-list {
  list-style: none;
  margin: 0;
  padding: 0 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lib-item {
  width: 100%;
  background: #fff;
  border: 1px solid var(--n-300);
  border-radius: var(--radius-xl);
  padding: 14px 14px 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  transition: border-color 120ms, background 120ms;
}
.lib-item:active { background: var(--n-200); border-color: var(--primary-400); }
.lib-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lib-item-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.lib-item-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.lib-item-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}
.lib-item-desc {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lib-item-conns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.lib-item-conn-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-right: 2px;
}
.lib-item-noconn {
  font-size: 12px;
  color: var(--ink-mute);
  font-style: italic;
}
.lib-chip {
  background: var(--primary-100);
  color: var(--primary-400);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: -0.005em;
}
.lib-item-chev { color: var(--ink-mute); flex-shrink: 0; align-self: center; }

/* Library item sheet */
.lib-sheet {
  padding: 16px 20px 28px;
  max-height: 80vh;
  overflow-y: auto;
}
.lib-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.lib-sheet-head h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.lib-sheet-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  margin-top: 2px;
}
.lib-sheet-edit {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  flex-shrink: 0;
}
.lib-sheet-edit:active { background: var(--n-200); }
.lib-sheet-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
  margin: 0 0 18px;
}
.lib-sheet-section { margin-top: 6px; }
.lib-sheet-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 8px;
}
.lib-conn-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lib-conn-item {
  width: 100%;
  background: var(--n-200);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
}
.lib-conn-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.lib-conn-sub {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
}
.lib-switch {
  width: 40px;
  height: 24px;
  background: var(--n-300);
  border-radius: 12px;
  position: relative;
  flex-shrink: 0;
  transition: background 150ms;
}
.lib-switch.on { background: var(--primary-400); }
.lib-switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: transform 150ms;
}
.lib-switch.on .lib-switch-knob { transform: translateX(16px); }

/* ---------- Boat detail page ---------- */
.bd-head {
  padding: 12px 20px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bd-back {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-left: -8px;
  flex-shrink: 0;
}
.bd-back:active { background: var(--n-200); }
.bd-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bd-card {
  margin: 0 16px 24px;
  background: #fff;
  border: 1px solid var(--n-300);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.bd-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  text-align: left;
  border-top: 1px solid var(--n-300);
  background: #fff;
  transition: background 120ms;
}
.bd-row:first-child { border-top: 0; }
.bd-row:active { background: var(--n-200); }
.bd-row-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bd-row-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-800);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.bd-row-sub {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.4;
  text-wrap: pretty;
}
.bd-row-chev {
  color: var(--ink-mute);
  flex-shrink: 0;
  align-self: center;
}

/* ---------- Boat details form ---------- */
.bdf-save-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-400);
  padding: 8px 4px;
  flex-shrink: 0;
}
.bdf-save-link:active { opacity: 0.7; }

.bdf-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 16px 32px;
}
.bdf-card {
  background: #fff;
  border: 1px solid var(--n-300);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 18px 18px 6px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bdf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.bdf-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.bdf-label-opt {
  color: var(--ink-mute);
  font-weight: 500;
}
.bdf-input {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--n-400);
  border-radius: var(--radius-lg);
  outline: none;
  transition: border-color 120ms;
}
.bdf-input::placeholder { color: var(--ink-mute); }
.bdf-input:focus { border-color: var(--primary-400); }

.bdf-select-wrap {
  position: relative;
}
.bdf-select {
  width: 100%;
  padding: 13px 40px 13px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--n-400);
  border-radius: var(--radius-lg);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 120ms;
}
.bdf-select:focus { border-color: var(--primary-400); }
.bdf-select-chev {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-2);
  pointer-events: none;
  display: flex;
}

/* Slider + unit row */
.bdf-length-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.bdf-length-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.bdf-length-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.bdf-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--n-300);
  outline: none;
  margin: 14px 0 16px;
}
.bdf-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--n-300);
  box-shadow: 0 2px 6px rgba(23, 38, 60, 0.15);
  cursor: pointer;
}
.bdf-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--n-300);
  box-shadow: 0 2px 6px rgba(23, 38, 60, 0.15);
  cursor: pointer;
}

.bdf-radios {
  display: flex;
  gap: 24px;
  margin-top: 4px;
}
.bdf-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.bdf-radio input { position: absolute; opacity: 0; pointer-events: none; }
.bdf-radio-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--n-400);
  background: #fff;
  display: inline-block;
  position: relative;
  transition: border-color 120ms, background 120ms;
}
.bdf-radio.on .bdf-radio-dot {
  border-color: var(--primary-400);
}
.bdf-radio.on .bdf-radio-dot::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--primary-400);
}
.bdf-radio.on .bdf-radio-text { font-weight: 700; }

/* Stepper rows */
.bdf-stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.bdf-stepper-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.bdf-stepper {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.bdf-step-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--n-400);
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background 120ms, border-color 120ms, opacity 120ms;
}
.bdf-step-btn:active:not(:disabled) {
  background: var(--primary-100);
  border-color: var(--primary-400);
  color: var(--primary-400);
}
.bdf-step-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.bdf-step-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  min-width: 18px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Section headings inside cards (e.g. Boat location) */
.bdf-section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-800);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.bdf-section-help {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 12px;
  line-height: 1.4;
}

/* ---------- Payouts page ---------- */
.pp-section {
  margin: 0 16px 22px;
}
.pp-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pp-section-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-800);
  letter-spacing: -0.01em;
}
.pp-section-help {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.4;
  margin: 6px 0 12px;
}
.pp-section-add {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-400);
  padding: 4px 4px;
}
.pp-section-add:active { opacity: 0.7; }

.pp-card {
  background: #fff;
  border: 1px solid var(--n-300);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.pp-card--field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pp-card:last-child { margin-bottom: 0; }

/* Method cards */
.pp-method-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--n-300);
  margin-bottom: 12px;
}
.pp-method-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.005em;
  transition: filter 120ms, transform 120ms, background 120ms;
}
.pp-btn--primary {
  background: var(--primary-400);
  color: #fff;
}
.pp-btn--primary:active { filter: brightness(0.92); transform: scale(0.98); }
.pp-btn--secondary {
  background: #fff;
  border: 1.5px solid var(--n-400);
  color: var(--ink);
  width: 36px;
  padding: 0;
}
.pp-btn--secondary:active { background: var(--n-200); }
.pp-add-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 120ms;
}
.pp-add-circle:active { background: var(--primary-400); color: #fff; }

/* Brand marks */
.pp-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.pp-brand--paypal {
  font-family: var(--font);
  font-style: italic;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.pp-brand-pp1 { color: #003087; }
.pp-brand-pp2 { color: #009cde; }
.pp-brand--bank {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  padding: 6px 8px;
  color: var(--ink);
}
.pp-brand-bt-text {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

/* Detail list */
.pp-detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pp-detail-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pp-detail-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.pp-detail-val {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-wrap: pretty;
}
.pp-detail-val svg { color: var(--ink-2); flex-shrink: 0; }
.pp-detail-list--meta .pp-detail-val { font-weight: 500; color: var(--ink-2); }

/* ---------- Hub Add-ons list ---------- */
.hub-toolbar {
  display: flex;
  gap: 8px;
  padding: 4px 16px 14px;
}
.hub-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--n-200);
  border-radius: var(--radius-lg);
  padding: 0 12px;
  color: var(--ink-mute);
}
.hub-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 0;
  font: inherit;
  color: var(--ink);
  outline: none;
}
.hub-search input::placeholder { color: var(--ink-mute); }
.hub-add-btn {
  width: 40px;
  height: 40px;
  background: var(--primary-400);
  color: #fff;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hub-add-btn:active { filter: brightness(0.9); }

.hub-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 16px 40px;
}
.hub-card {
  background: #fff;
  border: 1px solid var(--n-300);
  border-radius: var(--radius-xl);
  padding: 14px 16px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 120ms, background 120ms;
}
.hub-card:active { background: var(--n-200); border-color: var(--primary-400); }
.hub-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-100);
  color: var(--primary-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hub-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hub-card-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2px;
}
.hub-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.hub-card-desc {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.4;
  margin-top: 4px;
}
.hub-card-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  margin-top: 8px;
}

/* Generic sheet (reused for lib item) */
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 35, 0.45);
  z-index: 150;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sheet {
  width: 100%;
  background: #fff;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  animation: sheet-in 240ms cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.12);
}
@keyframes sheet-in {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

/* ---------- Full-screen add-on edit sheet ---------- */
.fs-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 200;
  display: flex;
  animation: fadein 180ms ease;
}
.fs-sheet {
  width: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  animation: sheet-in 260ms cubic-bezier(.2,.8,.2,1);
}
.fs-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px 12px;
  border-bottom: 1px solid var(--n-300);
  gap: 8px;
}
.fs-sheet-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.fs-sheet-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.fs-sheet-close:active { background: var(--n-200); }

.fs-sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fs-field { display: flex; flex-direction: column; gap: 8px; }
.fs-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.fs-input {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--n-200);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  outline: none;
  transition: border-color 120ms, background 120ms;
}
.fs-input:focus { background: #fff; border-color: var(--primary-400); }
.fs-textarea { resize: none; line-height: 1.45; font-family: inherit; }

.fs-dropdown-wrap { position: relative; }
.fs-dropdown {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--n-200);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  text-align: left;
  transition: border-color 120ms, background 120ms;
}
.fs-dropdown:active, .fs-dropdown[aria-expanded="true"] {
  background: #fff;
  border-color: var(--primary-400);
}
.fs-dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary-100);
  color: var(--primary-400);
  display: grid;
  place-items: center;
  flex: none;
}
.fs-dropdown-label {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.fs-dropdown-chev {
  color: var(--ink-mute);
  transition: transform 180ms;
}
.fs-dropdown-chev.open { transform: rotate(180deg); }
.fs-dropdown-menu {
  list-style: none;
  margin: 6px 0 0;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--n-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: absolute;
  left: 0;
  right: 0;
  z-index: 10;
  animation: popin 140ms ease;
}
.fs-dropdown-opt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}
.fs-dropdown-opt:hover, .fs-dropdown-opt:active { background: var(--n-200); }
.fs-dropdown-opt.on { color: var(--primary-400); }

.fs-exp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fs-exp {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--n-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
}
.fs-exp input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.fs-check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--n-400);
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
  transition: background 120ms, border-color 120ms;
}
.fs-exp input:checked ~ .fs-check {
  background: var(--primary-400);
  border-color: var(--primary-400);
}
.fs-exp-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.fs-sheet-foot {
  display: flex;
  gap: 10px;
  padding: 12px 16px 20px;
  border-top: 1px solid var(--n-300);
  background: #fff;
}
.fs-btn {
  flex: 1;
  height: 48px;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  transition: filter 120ms, background 120ms;
}
.fs-btn--secondary {
  background: #fff;
  border: 1px solid var(--n-400);
  color: var(--ink);
}
.fs-btn--secondary:active { background: var(--n-200); }
.fs-btn--primary {
  background: var(--primary-400);
  color: #fff;
}
.fs-btn--primary:active { filter: brightness(0.92); }

/* ---------- Listing cards (Listings page) ---------- */
.lst-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 16px 40px;
}
.lst-card {
  background: #fff;
  border: 1px solid var(--n-300);
  border-radius: var(--radius-xl);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  transition: border-color 120ms, background 120ms;
}
.lst-card:active { background: var(--n-200); border-color: var(--primary-400); }
.lst-card-photo {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: var(--n-300);
  flex: none;
}
.lst-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lst-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lst-card-specs {
  font-size: 13px;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  line-height: 1.3;
}
.lst-card-dot { opacity: 0.6; }
.lst-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-top: 2px;
}
.lst-card-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.lst-card-status.is-approved {
  background: #e4f4dc;
  color: var(--green-400);
}
.lst-card-status.is-pending {
  background: var(--accent-100);
  color: #7a4a00;
}
.lst-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.lst-card-conn {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-mute);
}


/* ---------- Add organization page ---------- */
.addorg {
  background: #fff;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  /* sit above the dashboard nav */
  position: absolute;
  inset: 0;
  z-index: 30;
  animation: addorgIn 220ms cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes addorgIn {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.addorg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 58px 14px 14px;
  gap: 8px;
}
.addorg-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--n-300);
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #fff;
  flex: none;
  transition: background 120ms;
}
.addorg-icon-btn:active { background: var(--n-200); }
.addorg-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
  flex: 1 1 auto;
}
.addorg-divider {
  height: 1px;
  background: var(--n-300);
  margin: 0;
}

.addorg-body {
  flex: 1 1 auto;
  padding: 22px 20px 24px;
  overflow-y: auto;
}
.addorg-intro h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}
.addorg-intro p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.4;
}
.addorg-fields {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.addorg-field {
  position: relative;
  display: block;
  border: 1px solid var(--n-400);
  border-radius: var(--radius-lg);
  padding: 18px 14px 8px;
  background: #fff;
  transition: border-color 140ms, box-shadow 140ms;
  cursor: text;
}
.addorg-field.is-focused {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(7, 81, 194, 0.12);
}
.addorg-field-label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--ink-2);
  font-weight: 500;
  pointer-events: none;
  transition: transform 140ms cubic-bezier(0.4, 0, 0.2, 1), font-size 140ms, color 140ms;
  background: #fff;
  padding: 0 4px;
  margin-left: -4px;
}
.addorg-field.is-lifted .addorg-field-label {
  transform: translateY(calc(-50% - 18px));
  font-size: 12px;
  color: var(--ink-mute);
  font-weight: 600;
}
.addorg-field.is-focused.is-lifted .addorg-field-label {
  color: var(--primary-400);
}
.addorg-required { color: var(--ink-2); }
.addorg-field-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  padding: 0;
  letter-spacing: -0.005em;
  /* keep input baseline aligned with where the label collapses to */
  height: 22px;
}
.addorg-helper {
  margin: 8px 4px 0;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.4;
}

.addorg-foot-divider {
  height: 1px;
  background: var(--n-300);
}
.addorg-foot {
  padding: 14px 16px 22px;
  background: #fff;
}
.addorg-submit {
  width: 100%;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--primary-400);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.005em;
  transition: filter 120ms, transform 120ms;
}
.addorg-submit:active:not(:disabled) { filter: brightness(0.92); transform: scale(0.99); }
.addorg-submit:disabled {
  background: var(--n-300);
  color: var(--n-500);
  cursor: not-allowed;
}

/* ---------- Toaster ---------- */
.toaster-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 60;
  padding: 0 16px;
}
.toaster {
  pointer-events: auto;
  background: var(--n-800);
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.35;
  max-width: 100%;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 220ms cubic-bezier(0.4, 0, 0.2, 1);
}
.toaster-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-400);
  flex: none;
}
@keyframes toastIn {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}


/* ---------- Experience setup page ---------- */
.expsetup {
  background: #fff;
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: addorgIn 220ms cubic-bezier(0.4, 0, 0.2, 1);
}
.expsetup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 58px 14px 14px;
  gap: 8px;
}
.expsetup-icon-btn {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--n-300);
  display: grid; place-items: center;
  color: var(--ink); background: #fff; flex: none;
  transition: background 120ms;
}
.expsetup-icon-btn:active { background: var(--n-200); }
.expsetup-title {
  margin: 0; font-size: 17px; font-weight: 800;
  letter-spacing: -0.01em; text-align: center; flex: 1 1 auto;
}
.expsetup-divider { height: 1px; background: var(--n-300); }

.expsetup-body {
  flex: 1 1 auto;
  padding: 22px 20px 112px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.expsetup-body .bdf-form {
  padding-left: 0;
  padding-right: 0;
}
.expsetup-h2 {
  margin: 0 0 8px; font-size: 22px; font-weight: 800;
  letter-spacing: -0.02em; color: var(--ink); line-height: 1.2;
}
.expsetup-lede {
  margin: 0 0 22px; font-size: 14px; color: var(--ink-2); line-height: 1.45;
}

.expsetup-field { margin-bottom: 18px; }
.expsetup-input,
.expsetup-textarea {
  width: 100%;
  border: 1px solid var(--n-400);
  border-radius: var(--radius-lg);
  padding: 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 140ms, box-shadow 140ms;
  letter-spacing: -0.005em;
  line-height: 1.45;
}
.expsetup-textarea { resize: none; min-height: 120px; }
.expsetup-input::placeholder,
.expsetup-textarea::placeholder { color: var(--ink-mute); font-weight: 400; }
.expsetup-input:focus,
.expsetup-textarea:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(7, 81, 194, 0.12);
}
.expsetup-counter {
  text-align: right;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ink-mute);
  font-weight: 600;
}

.connect-boat-list {
  background: #fff;
  border: 1px solid var(--n-300);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.connect-boat-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border-bottom: 1px solid var(--n-300);
  text-align: left;
}
.connect-boat-row:last-child { border-bottom: none; }
.connect-boat-photo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex: none;
  background-size: cover;
  background-position: center;
  background-color: var(--n-300);
}
.connect-boat-name {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.connect-boat-chev {
  color: var(--ink-mute);
  flex: none;
  display: inline-flex;
}

.connect-boat-radio {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--n-400);
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.connect-boat-radio__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: transparent;
}

.connect-boat-radio__dot.is-on {
  background: var(--primary-400);
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 10px;
}

.category-pill {
  background: #fff;
  border: 1px solid var(--n-300);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  min-height: 44px;
  padding: 10px 18px;
  transition: background 120ms, border-color 120ms, color 120ms;
}

.category-pill.is-selected {
  background: var(--primary-100);
  border-color: transparent;
  color: var(--primary-400);
}

.photo-options {
  display: grid;
  gap: 16px;
}

.photo-option {
  position: relative;
  width: 100%;
  height: 240px;
  border: 1px solid var(--n-300);
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--n-300);
}

.photo-option__check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--n-400);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.availability-options {
  display: grid;
  gap: 16px;
}

.availability-card {
  border: 1px dashed var(--n-400);
  border-radius: 24px;
  padding: 18px 18px 20px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
}

.availability-card__icon {
  color: var(--ink);
  display: inline-flex;
}

.availability-card__title {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.availability-card__desc {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.45;
  max-width: 92%;
}

.availability-card__action {
  width: 100%;
  height: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary-400);
  color: var(--primary-400);
  background: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.005em;
}

.expsetup-foot--availability {
  justify-content: space-between;
}

.availability-summary {
  border: 1px solid var(--n-400);
  border-radius: 16px;
  padding: 16px 16px 18px;
  background: #fff;
  text-align: left;
  justify-items: start;
  display: block;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.availability-summary__head {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 14px;
}

.availability-summary__title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  flex: 1 1 auto;
  min-width: 0;
}

.availability-summary__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  flex: none;
  margin-left: auto;
}

.availability-summary__icon-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.availability-summary__icon-btn svg {
  display: block;
  flex-shrink: 0;
}

.availability-summary__icon-btn:active {
  background: var(--n-200);
}

.availability-summary__days {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.availability-summary__day {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--n-300);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.availability-summary__day.is-on {
  background: var(--primary-100);
  border-color: transparent;
  color: var(--primary-400);
}

.availability-summary__meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}

.availability-summary__durations {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.availability-summary__hours {
  font-weight: 500;
  color: var(--ink);
}

.availability-summary__divider {
  height: 0;
  border-top: 1px solid var(--n-300);
  margin: 14px 0 14px;
}

.availability-summary__add {
  width: 100%;
  height: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary-400);
  color: var(--primary-400);
  background: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.005em;
}

/* ---- Pricing (post–flexible availability) ---- */
.pricing-currency-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.pricing-currency-label {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
  flex: 1 1 auto;
  min-width: 0;
}

.pricing-currency-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--n-400);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.pricing-currency-flag {
  font-size: 16px;
  line-height: 1;
}

.pricing-currency-code {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.pricing-block {
  background: var(--n-300);
  border: none;
  border-radius: 16px;
  padding: 16px 16px 18px;
}

.pricing-block-days {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.4;
}

.pricing-block-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-duration-field {
  background: #fff;
  border: 1px solid var(--n-400);
  border-radius: var(--radius-lg);
  padding: 8px 12px 9px;
}

.pricing-duration-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}

.pricing-duration-input-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.pricing-duration-dollar {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  flex: none;
  line-height: 1.2;
}

.pricing-duration-input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
  outline: none;
}

.expsetup-help-btn {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 58px 14px 14px;
}

.faf-head-spacer {
  width: 36px;
  height: 36px;
  flex: none;
}

.faf-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  flex: 1 1 auto;
}

.faf-body {
  flex: 1 1 auto;
  padding: 22px 20px 112px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.faf-h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.faf-sub {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--ink-2);
}

.faf-section {
  margin-top: 18px;
}

.faf-section h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.faf-day-row,
.faf-duration-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faf-day-chip,
.faf-duration-chip {
  border: 1px solid var(--n-300);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  min-height: 40px;
  padding: 8px 16px;
}

.faf-day-chip.is-selected,
.faf-duration-chip.is-selected {
  background: var(--primary-100);
  border-color: transparent;
  color: var(--primary-400);
}

.faf-time-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.faf-time-field {
  position: relative;
  border: 1px solid var(--n-400);
  border-radius: 10px;
  background: #fff;
  padding: 8px 36px 8px 12px;
}

.faf-time-label {
  display: block;
  font-size: 11px;
  color: var(--ink-mute);
}

.faf-time-value {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--ink);
}

.faf-time-chev {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-40%);
  color: var(--ink-2);
  pointer-events: none;
}

.faf-time-hit {
  position: absolute;
  inset: 0;
  border: none;
  background: transparent;
  border-radius: 10px;
}

.faf-toggle-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-2);
}

.faf-divider {
  border-top: 1px solid var(--n-300);
  margin-top: 14px;
}

.faf-switch {
  width: 52px;
  height: 32px;
  border-radius: 999px;
  background: var(--n-300);
  position: relative;
  flex: none;
}

.faf-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.faf-switch.is-on {
  background: var(--primary-400);
}

.faf-switch.is-on::after {
  left: 23px;
}

.faf-foot {
  justify-content: space-between;
}

.expsetup-capacity {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 6px;
}
.expsetup-cap-label {
  font-size: 16px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.005em;
}
.expsetup-cap-sub {
  font-size: 13px; color: var(--ink-mute); margin-top: 2px;
}
.expsetup-stepper {
  display: inline-flex; align-items: center; gap: 14px;
}
.expsetup-step {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--n-400);
  display: grid; place-items: center;
  color: var(--ink); background: #fff;
  transition: background 120ms;
}
.expsetup-step:active:not(:disabled) { background: var(--n-200); }
.expsetup-step:disabled { color: var(--n-400); cursor: not-allowed; }
.expsetup-step-val {
  font-size: 17px; font-weight: 800; color: var(--ink);
  min-width: 20px; text-align: center;
  font-variant-numeric: tabular-nums;
}

.expsetup-foot-divider { display: none; }
.expsetup-foot {
  padding: 14px 16px 22px;
  background: #fff;
  border-top: 1px solid var(--n-300);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  bottom: 0;
  z-index: 2;
}
.expsetup-secondary {
  padding: 12px 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  letter-spacing: -0.005em;
}
.expsetup-primary {
  min-width: 120px;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-lg);
  background: var(--primary-400);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.005em;
  transition: filter 120ms, transform 120ms;
}
.expsetup-primary--full {
  width: 100%;
  min-width: 0;
}
.expsetup-primary:active:not(:disabled) { filter: brightness(0.92); transform: scale(0.98); }
.expsetup-primary:disabled {
  background: var(--n-300);
  color: var(--n-500);
  cursor: not-allowed;
}


/* exp-head-tap: button wrapping photo + title in the experience card head */
.exp-head-tap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  border-radius: 10px;
  transition: background 120ms;
}
.exp-head-tap:active { background: var(--n-200); }
.exp--simplified .exp-head-tap { align-items: flex-start; gap: 14px; }
