/*!
 * Slipstream design system — v0.1 (October 2026 redesign)
 *
 * One stylesheet shared by the WordPress theme (slipstreamboating.com) and the
 * Angular partner portal (app.slipstreamboating.com). Source of truth for the
 * tokens is Matt's "slipstream-site" export (MATT/Slipstream boating platform/export).
 *
 * Naming: tokens are --sl-*, classes are sl-*. The old theme uses ss-* classes and
 * the old portal uses its own names, so nothing here collides while pages are
 * migrated one at a time. Delete the old CSS only after the last page moves.
 *
 * Fonts: load once per site, before this file —
 *   https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500..800&family=Manrope:wght@400..800&display=swap
 */

/* ------------------------------------------------------------------ tokens */
:root {
  /* Brand */
  --sl-ink: #101921;          /* primary text, dark surfaces, footer */
  --sl-ink-2: #1D2A34;        /* raised surface on ink */
  --sl-ink-line: #2A3944;     /* hairline on ink */
  --sl-teal: #1D5A66;         /* links, secondary buttons, focus */
  --sl-teal-hover: #154852;
  --sl-teal-deep: #0F3940;
  --sl-teal-soft: #7BB4B4;    /* eyebrow on dark, accents */
  --sl-lime: #D9FD6F;         /* primary CTA, active pill, highlights */
  --sl-lime-hover: #EFFEC2;
  --sl-lime-press: #C4EC4F;
  --sl-lime-tint: #EFFEC2;    /* kind badge on mixed rails */

  /* Neutrals */
  --sl-white: #FFFFFF;
  --sl-sand: #F9F8F5;         /* alternate section background */
  --sl-sand-2: #F1F0EC;
  --sl-mist: #EAF1F0;         /* hover wash, teal-tinted surfaces */
  --sl-mist-2: #DCE8E6;
  --sl-fog: #F1F3F2;          /* kind badge on single-category rails */
  --sl-line: #E2E5E3;         /* borders, dividers */
  --sl-line-soft: #EEF0EF;    /* in-card dividers */
  --sl-line-strong: #C9D1CF;
  --sl-slate: #D2DEE0;
  --sl-muted: #4A5C60;        /* secondary text */
  --sl-muted-2: #34474B;      /* badge text */
  --sl-subtle: #8A999B;       /* placeholder, disabled */
  --sl-danger: #B42318;

  /* Type */
  --sl-font-display: 'Bricolage Grotesque', Manrope, system-ui, sans-serif;
  --sl-font-body: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --sl-fs-hero: clamp(40px, 4.4vw, 64px);
  --sl-fs-display: clamp(34px, 4.2vw, 56px);
  --sl-fs-h1: clamp(32px, 4vw, 48px);
  --sl-fs-h2: clamp(28px, 3.2vw, 42px);   /* section headings */
  --sl-fs-h3: clamp(24px, 2.4vw, 32px);
  --sl-fs-h4: clamp(21px, 1.9vw, 26px);   /* card / block titles */
  --sl-fs-h5: clamp(18px, 1.5vw, 22px);
  --sl-fs-lg: 18px;
  --sl-fs-md: 16px;
  --sl-fs-base: 15px;
  --sl-fs-sm: 14px;
  --sl-fs-xs: 13px;
  --sl-fs-2xs: 12px;
  --sl-fs-3xs: 11px;

  --sl-track-tight: -0.025em;  /* display headings */
  --sl-track-snug: -0.02em;
  --sl-track-eyebrow: 0.14em;

  /* Shape */
  --sl-r-xs: 6px;    /* kind badges, flags */
  --sl-r-sm: 10px;
  --sl-r-md: 12px;   /* inputs, icon buttons */
  --sl-r-lg: 16px;   /* cards */
  --sl-r-xl: 20px;
  --sl-r-2xl: clamp(20px, 2.2vw, 28px); /* feature panels, hero cards */
  --sl-r-pill: 999px;

  /* Elevation (all ink-tinted) */
  --sl-shadow-1: 0 1px 2px rgba(16, 25, 33, .05);
  --sl-shadow-2: 0 1px 2px rgba(16, 25, 33, .08), 0 4px 12px rgba(16, 25, 33, .05);
  --sl-shadow-3: 0 12px 28px rgba(16, 25, 33, .08);
  --sl-shadow-hover: 0 14px 30px rgba(16, 25, 33, .10);
  --sl-shadow-pop: 0 20px 50px rgba(16, 25, 33, .18);
  --sl-shadow-modal: 0 26px 60px rgba(16, 25, 33, .6);
  --sl-ring: 0 0 0 3px rgba(29, 90, 102, .15);

  /* Layout */
  --sl-max: 1480px;
  --sl-max-narrow: 1080px;
  --sl-max-prose: 760px;
  --sl-gutter: clamp(16px, 2.6vw, 40px);
  --sl-gutter-tight: clamp(12px, 2vw, 24px);
  --sl-section-y: clamp(48px, 6vw, 88px);
  --sl-section-y-lg: clamp(56px, 7vw, 104px);
  --sl-rail-gap: clamp(14px, 1.8vw, 24px);
  --sl-header-h: 76px;

  /* Motion */
  --sl-ease: cubic-bezier(.2, .7, .2, 1);
  --sl-t-fast: .15s;
  --sl-t: .2s;
  --sl-t-slow: .25s;

  /* Stacking */
  --sl-z-header: 60;
  --sl-z-dropdown: 70;
  --sl-z-drawer: 80;
  --sl-z-modal: 90;
}

/* -------------------------------------------------------------------- base */
.sl-root, .sl-root *, .sl-root *::before, .sl-root *::after { box-sizing: border-box; }

.sl-root {
  margin: 0;
  background: var(--sl-white);
  color: var(--sl-ink);
  font-family: var(--sl-font-body);
  font-size: var(--sl-fs-md);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
.sl-root a { color: var(--sl-teal); text-decoration: none; }
.sl-root a:hover { color: var(--sl-teal-hover); }
.sl-root img { max-width: 100%; height: auto; }
.sl-root :focus-visible { outline: 2px solid var(--sl-teal); outline-offset: 2px; }
.sl-root button { font-family: inherit; }

.sl-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .sl-root *, .sl-root *::before, .sl-root *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------------------ layout */
.sl-container { max-width: var(--sl-max); margin-inline: auto; padding-inline: var(--sl-gutter); }
.sl-container--narrow { max-width: var(--sl-max-narrow); }
.sl-container--prose { max-width: var(--sl-max-prose); }

.sl-section { padding-block: var(--sl-section-y); }
.sl-section--lg { padding-block: var(--sl-section-y-lg); }
.sl-section--sand { background: var(--sl-sand); }
.sl-section--ink { background: var(--sl-ink); color: var(--sl-sand); }

.sl-section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.sl-section-head > :first-child { min-width: 0; }

/* -------------------------------------------------------------- typography */
.sl-display, .sl-h1, .sl-h2, .sl-h3, .sl-h4, .sl-h5 {
  margin: 0; font-family: var(--sl-font-display); font-weight: 700; color: inherit;
  text-wrap: balance;
}
.sl-display { font-size: var(--sl-fs-hero); line-height: 1; letter-spacing: -0.03em; }
.sl-h1 { font-size: var(--sl-fs-h1); line-height: 1.05; letter-spacing: var(--sl-track-tight); }
.sl-h2 { font-size: var(--sl-fs-h2); line-height: 1.04; letter-spacing: var(--sl-track-tight); }
.sl-h3 { font-size: var(--sl-fs-h3); line-height: 1.1; letter-spacing: var(--sl-track-tight); }
.sl-h4 { font-size: var(--sl-fs-h4); line-height: 1.15; letter-spacing: var(--sl-track-snug); }
.sl-h5 { font-size: var(--sl-fs-h5); line-height: 1.2; letter-spacing: -0.015em; }

.sl-lead { margin: 0; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; color: var(--sl-muted); }
.sl-body { font-size: var(--sl-fs-md); line-height: 1.6; color: var(--sl-muted); }
.sl-small { font-size: var(--sl-fs-sm); line-height: 1.5; color: var(--sl-muted); }

.sl-eyebrow {
  display: inline-block; margin: 0 0 14px;
  font-size: var(--sl-fs-2xs); font-weight: 800; letter-spacing: var(--sl-track-eyebrow);
  text-transform: uppercase; color: var(--sl-teal);
}
.sl-section--ink .sl-eyebrow, .sl-on-dark .sl-eyebrow { color: var(--sl-teal-soft); }
.sl-eyebrow--muted { color: var(--sl-muted); }

.sl-section--ink .sl-lead, .sl-on-dark .sl-lead { color: rgba(249, 248, 245, .82); }

.sl-num { font-variant-numeric: tabular-nums; }

/* ----------------------------------------------------------------- buttons */
.sl-btn {
  --_h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--_h); padding: 0 28px; border: 1px solid transparent; border-radius: var(--sl-r-pill);
  font: 600 var(--sl-fs-md)/1 var(--sl-font-body); white-space: nowrap; cursor: pointer;
  text-decoration: none;
  transition: background var(--sl-t) ease, color var(--sl-t) ease, border-color var(--sl-t) ease, gap var(--sl-t) ease, box-shadow var(--sl-t) ease;
}
.sl-btn:disabled, .sl-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.sl-btn--sm { --_h: 40px; padding: 0 18px; font-size: var(--sl-fs-sm); }
.sl-btn--lg { --_h: 54px; padding: 0 36px; font-size: 18px; font-weight: 700; min-width: 220px; }
.sl-btn--block { display: flex; width: 100%; }

/* Primary — lime */
.sl-root .sl-btn--primary, .sl-btn--primary { background: var(--sl-lime); color: var(--sl-ink); }
.sl-root .sl-btn--primary:hover, .sl-btn--primary:hover { background: var(--sl-lime-hover); color: var(--sl-ink); }
.sl-btn--primary:active { background: var(--sl-lime-press); }

/* Secondary — teal */
.sl-root .sl-btn--teal, .sl-btn--teal { background: var(--sl-teal); color: var(--sl-white); }
.sl-root .sl-btn--teal:hover, .sl-btn--teal:hover { background: var(--sl-teal-hover); color: var(--sl-white); }

/* Ink — floating "Map" / dark CTAs */
.sl-root .sl-btn--ink, .sl-btn--ink { background: var(--sl-ink); color: var(--sl-white); }
.sl-root .sl-btn--ink:hover, .sl-btn--ink:hover { background: var(--sl-ink-2); color: var(--sl-white); }

/* Outline — on light */
.sl-root .sl-btn--outline, .sl-btn--outline { background: var(--sl-white); color: var(--sl-ink); border-color: var(--sl-line); }
.sl-root .sl-btn--outline:hover, .sl-btn--outline:hover { border-color: var(--sl-teal); color: var(--sl-teal); }

/* Ghost — on dark */
.sl-root .sl-btn--ghost, .sl-btn--ghost { background: transparent; color: var(--sl-white); border-color: rgba(255, 255, 255, .35); }
.sl-root .sl-btn--ghost:hover, .sl-btn--ghost:hover { background: rgba(255, 255, 255, .08); color: var(--sl-white); }

/* Arrow text link: "Start searching →" */
.sl-arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--sl-fs-md); font-weight: 700; color: var(--sl-teal); text-underline-offset: 4px;
  transition: gap var(--sl-t) ease, color var(--sl-t) ease;
}
.sl-arrow-link::after {
  content: ""; flex: 0 0 auto; width: 22px; height: 14px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 20' fill='none' stroke='%23000' stroke-width='2.6' stroke-linejoin='round'><path d='M3 10h24'/><path d='M21 4l5.3 5.3a1 1 0 0 1 0 1.4L21 16'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 20' fill='none' stroke='%23000' stroke-width='2.6' stroke-linejoin='round'><path d='M3 10h24'/><path d='M21 4l5.3 5.3a1 1 0 0 1 0 1.4L21 16'/></svg>") center / contain no-repeat;
}
.sl-arrow-link:hover { gap: 14px; text-decoration: underline; }
.sl-on-dark .sl-arrow-link, .sl-section--ink .sl-arrow-link { color: var(--sl-lime); }

/* Round icon button: header account, rail arrows, close */
.sl-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--sl-line); border-radius: var(--sl-r-pill);
  background: var(--sl-white); color: var(--sl-ink); cursor: pointer;
  transition: border-color var(--sl-t) ease, color var(--sl-t) ease, background var(--sl-t) ease;
}
.sl-icon-btn:hover { border-color: var(--sl-teal); color: var(--sl-teal); }
.sl-icon-btn:disabled { opacity: .35; cursor: default; border-color: var(--sl-line); color: var(--sl-ink); }
.sl-icon-btn--sm { width: 36px; height: 36px; }
.sl-icon-btn--square { border-radius: var(--sl-r-md); border-color: transparent; background: transparent; }
.sl-icon-btn--square:hover { background: var(--sl-mist); }

/* ------------------------------------------------------------ pills/badges */
/* Category pills (hero tabs, filter chips). Active = lime. */
.sl-pills { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.sl-pills::-webkit-scrollbar { display: none; }
.sl-pill {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto;
  height: 40px; padding: 0 16px; border: 1px solid transparent; border-radius: var(--sl-r-pill);
  background: transparent; color: var(--sl-muted); font: 700 var(--sl-fs-sm)/1 var(--sl-font-body);
  cursor: pointer; white-space: nowrap; transition: background var(--sl-t) ease, color var(--sl-t) ease;
}
.sl-pill:hover { background: var(--sl-mist); color: var(--sl-ink); }
.sl-pill[aria-selected="true"], .sl-pill[aria-pressed="true"], .sl-pill.is-active { background: var(--sl-lime); color: var(--sl-ink); }
.sl-pill--outline { border-color: var(--sl-line); background: var(--sl-white); color: var(--sl-ink); }

/* Listing kind: "Boat rental", "Marina", "Boat for sale" */
.sl-kind {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--sl-r-xs);
  background: var(--sl-fog); color: var(--sl-muted-2);
  font-size: var(--sl-fs-2xs); font-weight: 700; white-space: nowrap;
}
/* Cross-category rails: the category as a grey uppercase eyebrow, no chip (design, Oct 2026) */
.sl-kind--mixed {
  display: block; height: auto; padding: 0; border-radius: 0; background: none;
  font-size: 11px; font-weight: 800; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: #5A6B6E;
}

/* Photo flag: "Used", "New", "Featured" */
.sl-flag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 4px 9px; border-radius: var(--sl-r-xs); background: var(--sl-ink); color: var(--sl-white);
  font-size: var(--sl-fs-2xs); font-weight: 700; line-height: 1.2;
}

/* Count bubble on header icons */
.sl-count {
  position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--sl-white); border-radius: var(--sl-r-pill);
  background: var(--sl-lime); color: var(--sl-ink); font-size: var(--sl-fs-3xs); font-weight: 800;
}

/* ------------------------------------------------------------ listing card */
.sl-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  border-radius: var(--sl-r-lg); background: var(--sl-white); overflow: hidden;
  box-shadow: var(--sl-shadow-1); color: var(--sl-ink);
  transition: box-shadow var(--sl-t) ease, transform var(--sl-t) ease;
}
@media (hover: hover) and (pointer: fine) {
  .sl-card:hover { box-shadow: var(--sl-shadow-hover); transform: translateY(-2px); }
}
/* H-8 (Round 3): tapping a card goes straight to the listing, with no highlight flash. */
.sl-root a, .sl-root button { -webkit-tap-highlight-color: transparent; }
@media (hover: none) { .sl-root .sl-card__title a:hover, .sl-root .sl-postcard__title a:hover { color: inherit; } }
.sl-card--bordered { box-shadow: 0 1px 2px rgba(16, 25, 33, .06), 0 0 0 1px var(--sl-line-soft); }

.sl-card__media {
  position: relative; aspect-ratio: 4 / 3; background: var(--sl-line) center / cover no-repeat;
  border-bottom: 1px solid var(--sl-line);   /* keeps white logos off the white card body */
}
.sl-card__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.sl-card__body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.sl-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.sl-card__rating { display: inline-flex; align-items: center; gap: 4px; font-size: var(--sl-fs-xs); font-weight: 700; color: var(--sl-ink); }
.sl-card__title {
  margin: 0; font-size: var(--sl-fs-md); font-weight: 700; line-height: 1.3; color: var(--sl-ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sl-card__title a { color: inherit; }
.sl-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; } /* whole card clickable */
.sl-card__meta { font-size: var(--sl-fs-sm); font-weight: 500; color: var(--sl-muted); }
.sl-card__desc {
  font-size: var(--sl-fs-sm); font-weight: 500; line-height: 1.45; color: var(--sl-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sl-card__price {
  margin-top: auto; padding-top: 10px; border-top: 1px solid var(--sl-line-soft);
  font-size: var(--sl-fs-md); font-weight: 700; color: var(--sl-ink); font-variant-numeric: tabular-nums;
}

/* Save heart, sits on photos. Toggle aria-pressed. */
.sl-heart {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: transform var(--sl-t-fast);
}
.sl-heart:hover { transform: scale(1.1); }
.sl-heart svg { width: 30px; height: 30px; overflow: visible; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.sl-heart .sl-heart__fill { fill: rgba(16, 25, 33, .45); transition: fill var(--sl-t-fast); }
.sl-heart[aria-pressed="true"] .sl-heart__fill { fill: var(--sl-lime); }

/* ------------------------------------------------------------- card rails */
.sl-rail {
  display: flex; gap: var(--sl-rail-gap); overflow-x: auto; padding: 4px 2px 18px; margin: -4px -2px 0;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none;
}
.sl-rail::-webkit-scrollbar { display: none; }
.sl-rail > * {
  flex: 0 0 auto; scroll-snap-align: start; min-width: 232px;
  width: calc((100% - 4 * var(--sl-rail-gap)) / 5);   /* five across on desktop */
}
@media (max-width: 1180px) { .sl-rail > * { width: calc((100% - 3 * var(--sl-rail-gap)) / 4); } }
@media (max-width: 960px)  { .sl-rail > * { width: calc((100% - 2 * var(--sl-rail-gap)) / 3); } }
@media (max-width: 640px)  { .sl-rail > * { width: 232px; } }   /* the design's card width at phone sizes */
.sl-rail-nav { display: flex; gap: 8px; }
@media (max-width: 760px) { .sl-rail-nav { display: none; } }

/* ------------------------------------------------------------------ forms */
.sl-field { display: flex; flex-direction: column; gap: 6px; }
.sl-label { font-size: var(--sl-fs-xs); font-weight: 700; color: var(--sl-ink); }
.sl-input, .sl-select, .sl-textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--sl-line); border-radius: var(--sl-r-md);
  background: var(--sl-white); color: var(--sl-ink); font: 500 var(--sl-fs-base)/1.4 var(--sl-font-body);
  transition: border-color var(--sl-t) ease, box-shadow var(--sl-t) ease;
}
.sl-textarea { min-height: 120px; resize: vertical; }
.sl-input::placeholder, .sl-textarea::placeholder { color: var(--sl-subtle); }
.sl-input:focus, .sl-select:focus, .sl-textarea:focus { outline: 0; border-color: var(--sl-teal); box-shadow: var(--sl-ring); }
.sl-input[aria-invalid="true"] { border-color: var(--sl-danger); }
.sl-help { font-size: var(--sl-fs-2xs); color: var(--sl-muted); }
.sl-error { font-size: var(--sl-fs-2xs); font-weight: 600; color: var(--sl-danger); }

/* Hero search: pill with stacked label, lime round submit */
.sl-search {
  display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 8px 8px 8px 22px; border-radius: var(--sl-r-pill);
  background: var(--sl-white); box-shadow: var(--sl-shadow-pop); text-align: left;
}
.sl-search__field { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sl-search__label { font-size: var(--sl-fs-3xs); font-weight: 800; color: var(--sl-ink); }
.sl-search__input {
  border: 0; padding: 2px 0 0; background: transparent; color: var(--sl-ink);
  font: 500 var(--sl-fs-base)/1.3 var(--sl-font-body); min-width: 0;
}
.sl-search__input:focus { outline: 0; }
.sl-search__input::placeholder { color: var(--sl-muted); }
.sl-search__go {
  flex: 0 0 auto; width: 44px; height: 44px; border: 0; border-radius: var(--sl-r-pill);
  display: flex; align-items: center; justify-content: center;
  background: var(--sl-lime); color: var(--sl-ink); cursor: pointer; transition: background var(--sl-t) ease;
}
.sl-search__go:hover { background: var(--sl-lime-press); }

/* --------------------------------------------------------- FAQ accordion */
.sl-faq { display: flex; flex-direction: column; gap: 10px; }
.sl-faq__item {
  border-radius: var(--sl-r-md); background: var(--sl-white); box-shadow: var(--sl-shadow-1);
}
.sl-faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 20px 22px; border: 0; background: transparent; text-align: left; cursor: pointer;
  font: 700 var(--sl-fs-md)/1.35 var(--sl-font-body); color: var(--sl-ink); list-style: none;
}
.sl-faq__q::-webkit-details-marker { display: none; }
.sl-faq__q::after { content: "+"; flex: 0 0 auto; font-size: 20px; font-weight: 500; color: var(--sl-teal); }
.sl-faq__item[open] .sl-faq__q::after { content: "\2212"; }
.sl-faq__a { padding: 0 22px 20px; font-size: var(--sl-fs-base); line-height: 1.6; color: var(--sl-muted); }

/* ---------------------------------------------------------- feature panel */
/* Rounded image panel with scrim + white text: destinations, "List your business" */
.sl-panel {
  position: relative; overflow: hidden; border-radius: var(--sl-r-2xl);
  background: var(--sl-ink) center / cover no-repeat; color: var(--sl-white); isolation: isolate;
}
.sl-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16, 25, 33, 0) 35%, rgba(16, 25, 33, .82) 100%);
}
.sl-panel--left::before { background: linear-gradient(90deg, rgba(16, 25, 33, .82) 0%, rgba(16, 25, 33, .45) 45%, rgba(16, 25, 33, 0) 75%); }

/* Value cards (3-up: ink / lime / white) */
.sl-value { border-radius: var(--sl-r-2xl); padding: clamp(24px, 2.6vw, 36px); }
.sl-value--ink { background: var(--sl-ink); color: var(--sl-white); }
.sl-value--lime { background: var(--sl-lime); color: var(--sl-ink); }
.sl-value--white { background: var(--sl-white); color: var(--sl-ink); box-shadow: 0 0 0 1px var(--sl-line); }

/* -------------------------------------------------------------- utilities */
.sl-stack > * + * { margin-top: var(--_gap, 16px); }
.sl-row { display: flex; align-items: center; gap: var(--_gap, 12px); }
.sl-grow { flex: 1 1 auto; min-width: 0; }
.sl-divider { height: 1px; border: 0; background: var(--sl-line); margin: 0; }
.sl-hide-mobile { }
@media (max-width: 760px) { .sl-hide-mobile { display: none !important; } }
.sl-show-mobile { display: none !important; }
@media (max-width: 760px) { .sl-show-mobile { display: revert !important; } }

/* =====================================================================
 * Site chrome: SiteHeader, MobileMenu (drawer), AccountMenu, SiteFooter,
 * BusinessCTABand. Behaviour lives in slipstream-chrome.js (WP) or the
 * Angular header/footer components; markup and class names are shared.
 * ===================================================================== */

/* SiteHeader */
.sl-header {
  position: sticky; top: 0; z-index: var(--sl-z-header); background: var(--sl-white);
  transition: transform var(--sl-t-slow) ease, box-shadow var(--sl-t) ease;
}
.sl-header.is-scrolled { box-shadow: 0 1px 0 var(--sl-line), 0 8px 20px rgba(16, 25, 33, .06); }
.sl-header--ruled { border-bottom: 1px solid var(--sl-line); }
.sl-header__bar {
  position: relative; max-width: var(--sl-max); margin: 0 auto; padding: 0 var(--sl-gutter-tight);
  min-height: var(--sl-header-h); display: flex; align-items: center; gap: clamp(8px, 1.4vw, 18px);
}
.sl-header__logo { flex: 0 0 auto; display: block; padding: 6px 0; margin-left: 2px; }
.sl-header__logo img { width: 180px; height: auto; display: block; }
.sl-header__spacer { flex: 1 1 auto; }
.sl-header__actions { display: flex; align-items: center; gap: 8px; position: relative; }
.sl-header__search { display: none; }   /* homepage mobile only, toggled by .is-past-hero */

.sl-burger {
  flex: 0 0 auto; width: 44px; height: 44px; border: 0; border-radius: var(--sl-r-md); background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
}
.sl-burger:hover, .sl-burger[aria-expanded="true"] { background: var(--sl-mist); }
.sl-burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--sl-ink); }

/* Account button: outline person icon, or lime avatar when signed in */
.sl-avatar-btn { position: relative; overflow: visible; }
.sl-avatar-btn__initial {
  width: 100%; height: 100%; border-radius: var(--sl-r-pill); display: flex; align-items: center; justify-content: center;
  background: var(--sl-lime); color: var(--sl-ink); font-size: 15px; font-weight: 800;
}
.sl-avatar-btn__dot {
  position: absolute; top: -1px; right: -1px; width: 12px; height: 12px; border-radius: var(--sl-r-pill);
  background: var(--sl-lime); box-shadow: 0 0 0 2px var(--sl-white);
}
.sl-avatar-btn.is-signed-in { border-color: transparent; }

@media (max-width: 760px) {
  /* Logo left, directly beside the menu button (design 22 Oct): the centred logo
     collided with the heart, account and search buttons on narrow phones. */
  .sl-header__bar { min-height: 64px; gap: 8px; padding: 0 12px; }
  .sl-header__logo { margin: 0 0 0 -8px; }
  .sl-header__logo img { width: 150px; }
  .sl-header.is-hidden { transform: translateY(-100%); }
  .sl-header.is-past-hero .sl-header__search { display: inline-flex; }
}

/* AccountMenu */
.sl-account-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: var(--sl-z-dropdown);
  display: flex; flex-direction: column; gap: 2px; box-sizing: border-box;
  width: 278px; padding: 8px; border: 1px solid var(--sl-line); border-radius: var(--sl-r-lg);
  background: var(--sl-white); box-shadow: 0 20px 50px rgba(16, 25, 33, .18);
}
.sl-account-menu[hidden] { display: none; }
.sl-account-menu__out { display: flex; flex-direction: column; gap: 10px; padding: 8px 8px 12px; }
.sl-account-menu .sl-account-menu__login {
  justify-content: center; min-height: 48px; padding: 0 20px; border-radius: var(--sl-r-pill);
  background: var(--sl-ink); color: var(--sl-white); font-size: var(--sl-fs-md);
}
.sl-account-menu .sl-account-menu__login:hover { background: var(--sl-teal); color: var(--sl-white); }
.sl-account-menu__new { margin: 0; text-align: center; font-size: var(--sl-fs-sm); color: var(--sl-muted); }
.sl-account-menu .sl-account-menu__new a {
  display: inline; min-height: 0; padding: 0; border-radius: 0; background: none;
  font: inherit; font-weight: 700; color: var(--sl-teal); text-decoration: underline; text-underline-offset: 3px;
}
.sl-account-menu .sl-account-menu__new a:hover { background: none; color: var(--sl-teal-deep); }
.sl-account-menu__hi { padding: 10px 12px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--sl-line); font-size: var(--sl-fs-base); font-weight: 800; }
.sl-account-menu a, .sl-account-menu button.sl-account-menu__item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  min-height: 44px; padding: 8px 12px; border: 0; border-radius: var(--sl-r-sm); background: transparent;
  font: 700 var(--sl-fs-base)/1.3 var(--sl-font-body); color: var(--sl-ink); text-align: left; cursor: pointer;
}
.sl-account-menu a:hover, .sl-account-menu button.sl-account-menu__item:hover { background: var(--sl-sand); color: var(--sl-ink); }
.sl-account-menu__sub { display: block; font-size: var(--sl-fs-xs); font-weight: 500; color: var(--sl-muted); }
.sl-account-menu__badge {
  flex: 0 0 auto; min-width: 22px; height: 22px; padding: 0 8px; border-radius: var(--sl-r-pill);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sl-fog); font-size: var(--sl-fs-2xs); font-weight: 800; color: var(--sl-ink);
}
.sl-account-menu__badge--new { background: var(--sl-lime); }
.sl-account-menu__badge[hidden], .sl-drawer__count[hidden], .sl-count[hidden] { display: none; }
.sl-account-menu hr { flex: 0 0 auto; height: 1px; margin: 4px 0; border: 0; background: var(--sl-line); }
.sl-account-menu .sl-account-menu__item.sl-account-menu__muted, .sl-account-menu .sl-account-menu__muted { color: var(--sl-muted); }
.sl-account-menu .sl-account-menu__item.sl-account-menu__muted:hover { color: var(--sl-ink); }

/* MobileMenu — the drawer is the primary nav at every width */
.sl-drawer { position: fixed; inset: 0; z-index: var(--sl-z-drawer); display: flex; }
.sl-drawer[hidden] { display: none; }
.sl-drawer__panel {
  width: min(340px, 86vw); height: 100%; display: flex; flex-direction: column; overflow-y: auto;
  background: var(--sl-white); border-right: 1px solid var(--sl-line); box-shadow: 0 0 60px rgba(16, 25, 33, .7);
  animation: sl-drawer-in var(--sl-t-slow) var(--sl-ease);
}
@keyframes sl-drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
.sl-drawer__scrim { flex: 1; border: 0; background: rgba(16, 25, 33, .68); cursor: pointer; }
.sl-drawer__head {
  flex: 0 0 auto; display: flex; align-items: center; gap: 12px; min-height: 68px;
  padding: 12px clamp(12px, 2vw, 20px); border-bottom: 1px solid var(--sl-line);
}
.sl-drawer__close {
  flex: 0 0 auto; width: 44px; height: 44px; border: 0; border-radius: var(--sl-r-pill);
  background: var(--sl-sand); color: var(--sl-ink); font-size: 22px; line-height: 1; cursor: pointer;
}
.sl-drawer__close:hover { background: var(--sl-line); }
.sl-drawer__head img { height: 38px; width: auto; display: block; }
.sl-drawer__nav { flex: 1 1 auto; padding: 10px 0; }
.sl-drawer__group { padding: 8px 0; border-bottom: 1px solid var(--sl-line); }
.sl-drawer__title {
  padding: 8px clamp(14px, 2.4vw, 22px) 6px; font-size: 10px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--sl-muted);
}
.sl-drawer__link {
  display: flex; align-items: center; gap: 14px; padding: 12px clamp(14px, 2.4vw, 22px);
  font-size: var(--sl-fs-md); font-weight: 500; line-height: normal; color: var(--sl-ink);
}
.sl-root .sl-drawer__link { color: var(--sl-ink); }
.sl-drawer__link:hover { background: rgba(16, 25, 33, .06); color: var(--sl-ink); }
.sl-drawer__link[aria-current="page"], .sl-drawer__link.is-active {
  background: var(--sl-mist); font-weight: 700; box-shadow: inset 3px 0 0 0 var(--sl-teal);
}
.sl-drawer__icon { flex: 0 0 auto; width: 22px; display: flex; align-items: center; justify-content: center; }
.sl-drawer__label { min-width: 0; white-space: nowrap; }
.sl-drawer__count { margin-left: auto; font-size: var(--sl-fs-xs); font-weight: 700; color: var(--sl-muted); white-space: nowrap; }
html.sl-scroll-lock, html.sl-scroll-lock body { overflow: hidden; }

/* SiteFooter */
.sl-footer { background: var(--sl-ink); }
.sl-footer__inner { max-width: var(--sl-max); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--sl-gutter) 32px; }
.sl-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: clamp(28px, 3.4vw, 48px); }
.sl-footer__brand { min-width: 0; grid-column: span 2; max-width: 340px; }
.sl-footer__brand img { width: 160px; height: auto; display: block; margin-bottom: 16px; }
.sl-footer__brand p { margin: 0; font-size: var(--sl-fs-base); line-height: 1.6; color: var(--sl-slate); }
.sl-footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.sl-footer__social a {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid #17404B; color: var(--sl-slate);
}
.sl-footer__social a:hover, .sl-footer__social a:focus-visible { color: var(--sl-lime); border-color: var(--sl-lime); }
.sl-footer__col { min-width: 0; }
.sl-footer__heading {
  margin: 0 0 14px; font-size: var(--sl-fs-2xs); font-weight: 800; letter-spacing: var(--sl-track-eyebrow);
  text-transform: uppercase; color: var(--sl-sand);
}
.sl-footer__links { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sl-footer a { font-size: var(--sl-fs-sm); color: var(--sl-slate); }
.sl-footer a:hover { color: var(--sl-lime); }
.sl-footer__bottom {
  margin-top: clamp(36px, 4.4vw, 56px); padding-top: 22px; border-top: 1px solid #17404B;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.sl-footer__copy { font-size: var(--sl-fs-xs); color: #A9BCC0; }
.sl-footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.sl-footer__legal a { font-size: var(--sl-fs-xs); }
@media (max-width: 560px) {
  .sl-footer__grid { grid-template-columns: 1fr 1fr; }
  .sl-footer__brand { grid-column: 1 / -1; }
}

/* BusinessCTABand — full-bleed photo with left navy gradient */
.sl-bizband {
  position: relative; isolation: isolate; overflow: hidden; color: var(--sl-white);
  background: var(--sl-ink) var(--sl-bizband-img, none) 65% 62% / cover no-repeat;
}
.sl-bizband::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(16, 25, 33, .94) 0%, rgba(16, 25, 33, .82) 34%, rgba(16, 25, 33, .35) 62%, rgba(16, 25, 33, .05) 100%);
}
.sl-bizband__inner {
  max-width: var(--sl-max); margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--sl-gutter);
  min-height: clamp(460px, 40vw, 600px); display: flex; flex-direction: column; justify-content: center;
}
.sl-bizband__copy { max-width: 560px; }
.sl-bizband .sl-eyebrow { color: var(--sl-teal-soft); }
.sl-bizband h2 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: wrap; margin-bottom: 18px; }
.sl-bizband p { margin: 0 0 14px; font-size: 17px; line-height: 1.6; color: #C8D1CF; }
.sl-bizband .sl-btn { margin-top: 14px; padding-inline: 44px; }
.sl-bizband__fine { margin-top: 18px !important; font-size: var(--sl-fs-xs) !important; color: #A9BCC0 !important; }
@media (max-width: 760px) {
  .sl-bizband::before { background: rgba(16, 25, 33, .78); }
}

/* =====================================================================
 * Phase 1 shared components (listing detail, homepage; later the category
 * and search pages): header saved heart, rails with arrows + "See all"
 * card, card hearts driven by javascript/favourites.js, post cards,
 * single-open FAQ. Behaviour: slipstream-components.js.
 * ===================================================================== */

/* Header: listing pages scroll the header away (the section nav takes the top) */
.sl-header--static { position: relative; }
.sl-header__saved { position: relative; overflow: visible; }
.sl-root .sl-header__saved { color: var(--sl-ink); }
/* Phones (design, Oct 2026): the heart shows once something is saved; the account menu keeps a Saved link. */
@media (max-width: 760px) { .sl-header__saved:has(> .sl-count[hidden]) { display: none; } }

/* Rails: heading row + arrows, cards fill their slot */
.sl-railbox__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: clamp(16px, 2vw, 24px);
}
.sl-railbox__title {
  margin: 0; min-width: 0; font-family: var(--sl-font-display); font-weight: 700;
  font-size: clamp(24px, 2.8vw, 36px); line-height: 1.08; letter-spacing: var(--sl-track-tight); color: var(--sl-ink);
  text-wrap: balance;
}
.sl-rail > * > .sl-card { height: 100%; }
.sl-rail-arrow { width: 42px; height: 42px; }
.sl-rail-arrow[aria-disabled="true"] { opacity: .35; cursor: default; border-color: var(--sl-line); color: var(--sl-ink); }

/* "See all" closing card */
.sl-seeall {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  height: 100%; min-height: 280px; padding: 22px; border-radius: var(--sl-r-lg); overflow: hidden;
  background: var(--sl-ink) var(--sl-seeall-img, none) center / cover no-repeat; color: var(--sl-white);
}
.sl-seeall::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16, 25, 33, .25) 0%, rgba(16, 25, 33, .88) 100%);
}
.sl-root .sl-seeall, .sl-root .sl-seeall:hover { color: var(--sl-white); }
.sl-seeall__arrow {
  width: 46px; height: 46px; border-radius: var(--sl-r-pill); display: flex; align-items: center; justify-content: center;
  background: var(--sl-lime); color: var(--sl-ink); transition: transform var(--sl-t) ease;
}
.sl-seeall:hover .sl-seeall__arrow { transform: translateX(4px); }
.sl-seeall__label { font-family: var(--sl-font-display); font-size: 24px; font-weight: 700; line-height: 1.1; letter-spacing: var(--sl-track-snug); }

/* Card heart = .ss-action--save (favourites.js sets aria-pressed) */
.sl-heart.ss-action--save .sl-heart__fill { fill: rgba(16, 25, 33, .45); }
.sl-heart.ss-action--save[aria-pressed="true"] .sl-heart__fill { fill: var(--sl-white); }
.sl-heart:focus-visible { outline-offset: -4px; }

/* Blog post card (guides rails) */
.sl-postcard {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border-radius: var(--sl-r-lg); background: var(--sl-white); box-shadow: 0 0 0 1px var(--sl-line);
  transition: box-shadow var(--sl-t) ease, transform var(--sl-t) ease;
}
@media (hover: hover) and (pointer: fine) {
  .sl-postcard:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--sl-line), var(--sl-shadow-hover); }
}
.sl-postcard__media { aspect-ratio: 16 / 9; background: var(--sl-line); overflow: hidden; }
.sl-postcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sl-postcard__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.sl-postcard__cat { font-size: var(--sl-fs-2xs); font-weight: 800; letter-spacing: var(--sl-track-eyebrow); text-transform: uppercase; color: var(--sl-teal); }
.sl-postcard__title { margin: 0; font-family: var(--sl-font-display); font-size: 18px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.sl-root .sl-postcard__title a { color: var(--sl-ink); }
.sl-postcard__title a::after { content: ""; position: absolute; inset: 0; }
.sl-postcard__date { font-size: var(--sl-fs-xs); color: var(--sl-muted); }

/* FAQ: <details> items; questions may be <h3> for the outline */
.sl-faq__q h3 { margin: 0; font: inherit; color: inherit; }
.sl-faq__a > :first-child { margin-top: 0; }
.sl-faq__a p { margin: 0 0 10px; }
.sl-faq__a p:last-child { margin-bottom: 0; }
.sl-faq__source { font-size: var(--sl-fs-xs); color: var(--sl-muted); }

/* ------------------------------------------------------------------ Location dropdown
   Nearby + popular places under a Location field (inc/redesign.php slipstream_sl_where_menu,
   behaviour in slipstream-components.js). Pages place it: it opens at the left edge of the
   nearest positioned parent. */
.sl-wmenu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 70; box-sizing: border-box;
  width: min(420px, 100%); max-height: 420px; overflow-y: auto; padding: 10px;
  border: 1px solid var(--sl-line); border-radius: 22px; background: var(--sl-white);
  box-shadow: 0 26px 60px rgba(16, 25, 33, .6); text-align: left;
}
.sl-wmenu[hidden], .sl-wmenu__row[hidden] { display: none; }
.sl-wmenu__row {
  display: flex; align-items: center; gap: 14px; width: 100%; margin: 0; padding: 9px 12px; border: 0; border-radius: 14px;
  background: transparent; color: var(--sl-ink); font-family: var(--sl-font-body); text-align: left; cursor: pointer;
}
.sl-wmenu__row--near { padding-block: 11px; }
.sl-wmenu__row:hover, .sl-wmenu__row:focus-visible { background: var(--sl-mist); outline: 0; }
.sl-wmenu__tile {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--sl-mist) center / cover no-repeat; color: var(--sl-teal);
}
.sl-wmenu__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sl-wmenu__name { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--sl-ink); }
.sl-wmenu__row--near .sl-wmenu__name { font-weight: 800; }
.sl-wmenu__note { font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--sl-muted); }
.sl-wmenu__head { margin: 0; padding: 10px 12px 4px; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sl-muted); }
/* Inline: the phone search sheet's plain list. */
.sl-wmenu--inline { position: static; width: auto; max-height: none; overflow: visible; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.sl-wmenu--inline .sl-wmenu__row { padding: 10px 0; border-radius: 0; }
.sl-wmenu--inline .sl-wmenu__row:hover { background: none; }
.sl-wmenu--inline .sl-wmenu__row:hover .sl-wmenu__name { text-decoration: underline; text-underline-offset: 3px; }
.sl-wmenu--inline .sl-wmenu__tile { width: 44px; height: 44px; }
.sl-wmenu--inline .sl-wmenu__head { display: none; }

/* ------------------------------------------------------------------ Save to a list (G-7)
   javascript/favourites.js builds the dialog and the toast on first use. Phones: a bottom sheet. */
html.sl-savedlg-open { overflow: hidden; }
.sl-savedlg {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(16, 25, 33, .55);
}
.sl-savedlg[hidden] { display: none; }
.sl-savedlg__box {
  box-sizing: border-box; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 20px 24px 24px; border-radius: 24px; background: var(--sl-white); box-shadow: 0 30px 80px rgba(16, 25, 33, .35);
  font-family: var(--sl-font-body); color: var(--sl-ink);
}
.sl-savedlg__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.sl-savedlg__title { margin: 0; font-family: var(--sl-font-display); font-size: 24px; font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; color: var(--sl-ink); }
.sl-savedlg__x {
  flex: 0 0 auto; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; border-radius: var(--sl-r-pill);
  background: transparent; color: var(--sl-ink); font: 400 24px/1 var(--sl-font-body); cursor: pointer;
}
.sl-savedlg__x:hover { background: #F3F7F6; }
.sl-savedlg__rows { display: flex; flex-direction: column; gap: 4px; margin: 0 -12px; }
.sl-savedlg__row {
  display: flex; align-items: center; gap: 14px; width: 100%; margin: 0; padding: 10px 12px; border: 0; border-radius: 16px;
  background: transparent; color: var(--sl-ink); font-family: var(--sl-font-body); text-align: left; cursor: pointer;
}
.sl-savedlg__row:hover, .sl-savedlg__row:focus-visible { background: #F3F7F6; outline: 0; }
.sl-savedlg__new { width: calc(100% + 24px); margin: 4px -12px 0; }
.sl-savedlg__new[hidden], .sl-savedlg__create[hidden] { display: none; }
.sl-savedlg__thumb {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; box-sizing: border-box;
  border-radius: 14px; background: var(--sl-line) center / cover no-repeat;
}
.sl-savedlg__thumb--new { border: 1.5px dashed var(--sl-line-strong); background: transparent; color: var(--sl-teal); }
.sl-savedlg__text { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sl-savedlg__name { font-size: var(--sl-fs-md); font-weight: 700; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-savedlg__count { font-size: var(--sl-fs-sm); font-weight: 500; color: var(--sl-muted); }
.sl-savedlg__create { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--sl-line); }
.sl-savedlg__label { font-size: var(--sl-fs-sm); font-weight: 700; color: var(--sl-ink); }
.sl-savedlg__input {
  box-sizing: border-box; width: 100%; height: 52px; margin: 0; padding: 0 16px; border: 1px solid var(--sl-line-strong); border-radius: 14px;
  background: var(--sl-white); color: var(--sl-ink); font: 500 var(--sl-fs-md)/1 var(--sl-font-body);
}
.sl-savedlg__input:focus { outline: 0; border-color: var(--sl-teal); box-shadow: 0 0 0 3px rgba(29, 90, 102, .14); }
.sl-savedlg__actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 4px; }
.sl-savedlg__cancel {
  height: 48px; padding: 0 8px; border: 0; background: none; color: var(--sl-ink);
  font: 700 var(--sl-fs-md)/1 var(--sl-font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.sl-savedlg__go {
  height: 48px; padding: 0 24px; border: 0; border-radius: var(--sl-r-pill); background: var(--sl-ink); color: var(--sl-white);
  font: 700 var(--sl-fs-md)/1 var(--sl-font-body); cursor: pointer;
}
.sl-savedlg__go:disabled { background: var(--sl-line-strong); cursor: not-allowed; }
@media (max-width: 760px) {
  .sl-savedlg { align-items: flex-end; padding: 0; }
  .sl-savedlg__box { width: 100%; border-radius: 24px 24px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}

.sl-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 125; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; box-sizing: border-box; width: max-content; max-width: calc(100% - 32px);
  padding: 12px 12px 12px 20px; border-radius: var(--sl-r-pill); background: var(--sl-ink); color: var(--sl-white);
  font: 600 15px/1.3 var(--sl-font-body); box-shadow: 0 14px 40px rgba(16, 25, 33, .35);
}
.sl-toast[hidden], .sl-toast__link[hidden] { display: none; }
.sl-toast__msg { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-toast__link {
  flex: 0 0 auto; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--sl-r-pill);
  color: var(--sl-lime); font-weight: 700; text-decoration: none;
}
.sl-root .sl-toast__link, .sl-root .sl-toast__link:hover { color: var(--sl-lime); }
.sl-toast__link:hover { background: rgba(255, 255, 255, .08); }
