.bp-dir {
  --ink: #332d37;
  --muted: #5c5462;
  --soft: #726b76;
  --line: rgba(65, 48, 64, 0.13);
  --accent: #65536e;
  --accent-dark: #4a3b52;
  --paper: rgba(255, 255, 255, 0.78);
  --shadow: 0 12px 40px rgba(66, 50, 60, 0.08);
  --radius: 24px;
  color: var(--ink);
  background: #f0eae8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}

body.bp-dir {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
}

.bp-dir *,
.bp-dir *::before,
.bp-dir *::after { box-sizing: border-box; }

.bp-dir button,
.bp-dir input,
.bp-dir select,
.bp-dir textarea { font: inherit; color: inherit; }

.bp-dir button,
.bp-dir a,
.bp-dir select { -webkit-tap-highlight-color: transparent; }

.bp-dir button { cursor: pointer; border: 0; background: none; }
.bp-dir a { color: inherit; text-decoration: none; }
.bp-dir button:disabled { cursor: default; opacity: 0.5; }
.bp-dir button:focus-visible,
.bp-dir a:focus-visible,
.bp-dir input:focus-visible,
.bp-dir select:focus-visible {
  outline: 3px solid #9b82ad;
  outline-offset: 4px;
}

.bp-dir svg.icon,
.bp-dir symbol path {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bp-dir svg.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.bp-dir [hidden] { display: none !important; }

.bp-dir .wallpaper {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 20%, #d6c5d5, transparent 65%),
    radial-gradient(ellipse at 15% 80%, #f6d6bf, transparent 70%),
    #eeeae4;
}

.bp-dir .wallpaper canvas { width: 100%; height: 100%; display: block; }

.bp-dir .silk-fallback {
  position: absolute;
  inset: -18%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 36% 30% at 18% 20%, rgba(255, 255, 255, 0.82), transparent 68%),
    radial-gradient(ellipse 32% 36% at 82% 14%, rgba(198, 184, 206, 0.46), transparent 70%),
    radial-gradient(ellipse 40% 34% at 70% 84%, rgba(246, 214, 191, 0.4), transparent 72%),
    radial-gradient(ellipse 26% 22% at 28% 72%, rgba(255, 250, 246, 0.72), transparent 70%);
  animation: bp-pearl-drift 46s ease-in-out infinite alternate;
  will-change: transform;
}

.bp-dir .silk-fallback::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 42% 58% 48% 52%;
  background: radial-gradient(ellipse at 46% 42%, rgba(255, 252, 248, 0.7), transparent 68%);
  animation: bp-pearl-glow 34s ease-in-out infinite alternate;
}

.bp-dir .wallpaper.motion-paused .silk-fallback,
.bp-dir .wallpaper.motion-paused .silk-fallback::after { animation-play-state: paused; }

@keyframes bp-pearl-drift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(2.4%, 1.6%, 0) scale(1.045); }
}
@keyframes bp-pearl-glow {
  from { transform: translate3d(2%, -1%, 0); opacity: 0.4; }
  to { transform: translate3d(-8%, 6%, 0); opacity: 1; }
}
@keyframes bp-pearl-drift-mobile {
  from { transform: translate3d(-2%, -1.2%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.035); }
}

.bp-dir .grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.76' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' opacity='.5' d='M0 0h150v150H0z'/%3E%3C/svg%3E");
}

.bp-dir .wrap { width: min(1264px, calc(100% - 96px)); margin: auto; }

.bp-dir .header {
  height: 88px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.bp-dir .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -1.1px;
  white-space: nowrap;
}

.bp-dir .logo-mark {
  background: var(--accent);
  color: #fff7ef;
  display: grid;
  place-items: center;
  border-radius: 13px;
  width: 37px;
  height: 37px;
  transform: rotate(-8deg);
}

.bp-dir .logo-mark svg { width: 23px; height: 23px; stroke: currentColor; fill: none; }
.bp-dir .logo-light { font-weight: 350; }

.bp-dir .nav { display: flex; gap: 22px; font-size: 14px; flex-wrap: nowrap; justify-content: center; }
.bp-dir .nav a { padding: 10px 0; color: #6b616f; position: relative; }
.bp-dir .nav a:hover,
.bp-dir .nav a.selected { color: var(--ink); }
.bp-dir .nav a.selected::after {
  position: absolute;
  content: "";
  height: 2px;
  background: var(--accent);
  left: 0;
  right: 0;
  bottom: 2px;
  border-radius: 9px;
}

.bp-dir .header-right { display: flex; gap: 18px; align-items: center; }
.bp-dir .location { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.bp-dir .location select {
  max-width: 140px;
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  padding: 5px 16px 5px 2px;
  font-size: 16px;
}

.bp-dir .icon-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.51);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  color: var(--ink);
}

.bp-dir .icon-button:hover,
.bp-dir .icon-button[aria-pressed="true"] { background: #fff; box-shadow: var(--shadow); }

.bp-dir .fav-count {
  position: absolute;
  right: -3px;
  top: -2px;
  min-width: 17px;
  height: 17px;
  padding: 2px;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.bp-dir .hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  min-height: 390px;
  align-items: center;
  padding: 34px 0 38px;
}
.bp-dir .brand-hero {
  grid-template-columns: minmax(0, 600px) minmax(260px, 440px);
  justify-content: space-between;
  align-items: center;
  min-height: 0;
  gap: 32px;
  padding: 28px 0 8px;
}
.bp-dir .brand-hero .hero-copy { max-width: 600px; }
.bp-dir .brand-hero h1 { font-size: 64px; letter-spacing: -2.2px; line-height: 0.98; }
.bp-dir .brand-hero h1 em { display: block; font-size: 56px; letter-spacing: -1.2px; }
.bp-dir .brand-hero .hero-copy p:last-child { max-width: 460px; }
.bp-dir .brand-visual {
  position: relative;
  height: 420px;
  width: min(420px, 100%);
  justify-self: end;
}
.bp-dir .brand-visual img {
  object-fit: cover;
  object-position: top center;
  background: #1c1720;
}
.bp-dir .brand-phone {
  position: absolute;
  right: 0;
  top: 0;
  width: 214px;
  height: 420px;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(66, 50, 60, 0.14);
}
.bp-dir .brand-card {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: 196px;
  height: 280px;
  border-radius: 22px;
  border: 4px solid rgba(255, 252, 248, 0.92);
  box-shadow: 0 16px 36px rgba(66, 50, 60, 0.12);
}
.bp-dir .home-steps { margin-top: 28px; }
.bp-dir .home-steps h2,
.bp-dir .home-master h2 {
  margin: 0 0 14px;
  font-size: 32px;
  font-weight: 450;
  letter-spacing: -1px;
  line-height: 1.15;
}
.bp-dir .step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bp-dir .step-grid article {
  background: var(--paper);
  border-radius: 22px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.bp-dir .step-grid h3 { margin: 0 0 6px; font-size: 17px; font-weight: 540; }
.bp-dir .step-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.bp-dir .home-master {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 280px);
  gap: 28px;
  align-items: center;
  margin: 36px 0 18px;
  padding: 22px 24px;
  border-radius: 28px;
  background: rgba(255, 252, 248, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.bp-dir .home-master p { margin: 0 0 16px; color: var(--muted); max-width: 460px; line-height: 1.5; }
.bp-dir .home-master img {
  width: min(220px, 100%);
  height: 300px;
  object-fit: cover;
  object-position: top;
  justify-self: end;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.bp-dir .profile-book { margin: 16px 0 20px; }
.bp-dir .profile .card-description { display: block; min-height: 0; margin: 0; }
.bp-dir .profile .card-body { padding: 12px 14px; }
.bp-dir .profile-book-sticky { display: none; }
.bp-dir .profile-report {
  margin: 28px 0 8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  max-width: 420px;
}
.bp-dir .profile-report-summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}
.bp-dir .profile-report-summary::-webkit-details-marker { display: none; }
.bp-dir .profile-report-summary::before {
  content: "› ";
  display: inline-block;
  transition: transform 0.15s ease;
}
.bp-dir .profile-report[open] .profile-report-summary::before { transform: rotate(90deg); }
.bp-dir .profile-report-hint {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.bp-dir .profile-report-form { margin: 12px 0 0; }
.bp-dir .profile-report-sent { margin: 20px 0; color: var(--muted); font-size: 14px; }
.bp-dir .book-form .card-body {
  display: grid;
  gap: 14px;
}
.bp-dir .book-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.bp-dir .book-form select,
.bp-dir .book-form input,
.bp-dir .book-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.88);
  color: inherit;
  padding: 10px 12px;
  font: inherit;
}
.bp-dir .book-form textarea { min-height: 88px; }
.bp-dir .profile-slot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bp-dir .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  font-weight: 550;
  margin: 0 0 18px;
}

.bp-dir .eyebrow::before {
  content: "";
  height: 5px;
  width: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.bp-dir h1 {
  font-weight: 430;
  font-size: clamp(49px, 5.1vw, 76px);
  letter-spacing: -3.9px;
  line-height: 1.04;
  margin: 0 0 20px;
}

.bp-dir h1 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #77617e;
  letter-spacing: -3.3px;
}

.bp-dir .hero-copy p:last-child {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
  max-width: 380px;
}

.bp-dir .hero-visual { position: relative; height: 308px; max-width: 510px; margin-left: auto; width: 100%; }
.bp-dir .hero-main {
  position: absolute;
  top: 0;
  right: 47px;
  width: 270px;
  height: 305px;
  object-fit: cover;
  object-position: 50% 28%;
  border-radius: 150px 150px 28px 28px;
  filter: saturate(0.68);
  box-shadow: 0 16px 38px rgba(71, 61, 69, 0.08);
}

.bp-dir .hero-word {
  position: absolute;
  right: -5px;
  top: 135px;
  font-family: Georgia, serif;
  font-size: 107px;
  line-height: 1;
  font-style: italic;
  color: #fffaf7;
  transform: rotate(-9deg);
  letter-spacing: -7px;
  text-shadow: 0 1px 13px rgba(91, 64, 83, 0.1);
  pointer-events: none;
}

.bp-dir .hero-still {
  position: absolute;
  left: 7px;
  bottom: 16px;
  background: #fffcf8;
  padding: 7px 7px 28px;
  border-radius: 5px;
  transform: rotate(-9deg);
  width: 145px;
  box-shadow: 0 10px 30px rgba(72, 54, 77, 0.11);
}

.bp-dir .hero-still img { width: 100%; height: 119px; object-fit: cover; display: block; border-radius: 2px; filter: saturate(0.72); }
.bp-dir .hero-still span {
  display: block;
  position: absolute;
  bottom: 8px;
  width: calc(100% - 14px);
  text-align: center;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: #6b5a6e;
}

.bp-dir .hero-star { position: absolute; left: 40px; top: 10px; width: 47px; height: 47px; color: #8e7a94; transform: rotate(15deg); }
.bp-dir .hero-note {
  position: absolute;
  right: 40px;
  bottom: -11px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 250, 243, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 11px 15px;
  border-radius: 40px;
  font-size: 10px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.bp-dir .page-intro { padding: 28px 0 8px; }
.bp-dir .page-intro h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 8px; }
.bp-dir .page-intro p { margin: 0; max-width: 460px; color: var(--muted); line-height: 1.6; }

.bp-dir .search-form {
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 250, 247, 0.91);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 19px;
  box-shadow: 0 8px 24px rgba(81, 64, 80, 0.04);
  margin: 8px 0 22px;
}

.bp-dir .search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 18px;
  min-width: 0;
  color: #5c5462;
}

.bp-dir .search-field input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  padding: 12px 0;
  font-size: 16px;
  min-width: 0;
}

.bp-dir .search-field input::placeholder { color: #5c5462; }
.bp-dir .primary {
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  padding: 15px 24px;
  font-weight: 500;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-decoration: none;
}

.bp-dir .primary:hover { background: var(--accent-dark); }
.bp-dir .search-caption { font-size: 12px; color: #5c5462; margin-right: 9px; white-space: nowrap; }
.bp-dir .divider { height: 25px; border-left: 1px solid var(--line); }

.bp-dir .catalog-head,
.bp-dir .filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.bp-dir .catalog-head { margin-bottom: 22px; }
.bp-dir .filter-row { margin-bottom: 18px; align-items: flex-start; }
.bp-dir .tabs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.bp-dir .tab {
  padding: 12px 21px;
  border-radius: 12px;
  color: #786e7c;
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.bp-dir .tab.active { background: rgba(255, 249, 244, 0.95); color: var(--ink); box-shadow: var(--shadow); }
.bp-dir .tab svg { width: 17px; height: 17px; stroke: currentColor; fill: none; }
.bp-dir .catalog-micro { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #5c5462; white-space: nowrap; }
.bp-dir .chips { display: flex; gap: 8px; overflow: auto; scrollbar-width: none; padding: 2px; }
.bp-dir .chips::-webkit-scrollbar { display: none; }
.bp-dir .chip {
  white-space: nowrap;
  font-size: 11px;
  padding: 8px 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.27);
  border: 1px solid rgba(135, 115, 140, 0.28);
  color: var(--ink);
}
.bp-dir .chip.active { background: #e4dce7; border-color: #b1a0ba; color: #54425c; }
.bp-dir .sort,
.bp-dir .bp-more select,
.bp-dir .bp-more input {
  font-size: 16px;
  background: transparent;
  border: 0;
  color: #54425c;
  min-height: 44px;
}
.bp-dir .sort { max-width: 220px; }
.bp-dir .result-label {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 18px;
}
.bp-dir .clear { padding: 0; text-decoration: underline; text-underline-offset: 3px; font-size: 11px; color: var(--muted); }
.bp-dir .cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bp-dir .card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.53);
  border-radius: 20px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.bp-dir .card-link { display: block; color: inherit; text-decoration: none; }
.bp-dir .section-more { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--ink); }
.bp-dir .card-photo { position: relative; aspect-ratio: 1.16; overflow: hidden; background: #e6dedb; }
.bp-dir .photo-open { position: relative; display: block; width: 100%; height: 100%; }
.bp-dir .photo-open .bp-fallback { position: absolute; inset: 0; }
.bp-dir .photo-open img { position: relative; z-index: 1; background: transparent; }
.bp-dir .card-photo img,
.bp-dir .bp-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bp-dir .bp-fallback {
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 64px;
  color: #65536e;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.8), transparent 45%),
    linear-gradient(160deg, #f4e7ea, #d9c9d4);
}
.bp-dir .card-fav {
  position: absolute;
  right: 11px;
  top: 11px;
  height: 32px;
  width: 32px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: rgba(255, 250, 244, 0.87);
  display: grid;
  place-items: center;
  color: #746a78;
}
.bp-dir .card-fav svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }
.bp-dir .card-fav[aria-pressed="true"] { color: #a66385; background: #fff5f5; }
.bp-dir .card-fav[aria-pressed="true"] svg { fill: #e9bfd1; }
.bp-dir .card-label,
.bp-dir .card-ad,
.bp-dir .card-demo {
  position: absolute;
  left: 11px;
  border-radius: 6px;
  font-size: 9px;
  letter-spacing: 0.7px;
  padding: 6px 8px;
  text-transform: uppercase;
  pointer-events: none;
}
.bp-dir .card-label { bottom: 11px; background: rgba(255, 250, 242, 0.91); border: 1px solid rgba(255, 255, 255, 0.6); color: #5f4e64; }
.bp-dir .card-ad { top: 11px; background: #65536e; color: #fffaf6; }
.bp-dir .card-demo { top: 11px; background: #fff; color: #6a3b4a; border: 1px solid rgba(101, 83, 110, 0.35); }
.bp-dir .card-ad ~ .card-demo { top: 42px; }
.bp-dir .card-body { padding: 17px 17px 15px; }
.bp-dir .card-meta { font-size: 12px; color: var(--muted); margin: 0 0 7px; display: flex; justify-content: space-between; gap: 5px; }
.bp-dir .card h2,
.bp-dir .card h3 { font-size: 17px; font-weight: 540; letter-spacing: -0.4px; margin: 0 0 7px; line-height: 1.3; }
.bp-dir .card-description { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 0 0 18px; min-height: 36px; }
.bp-dir .card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(123, 100, 128, 0.12);
  padding-top: 12px;
  gap: 7px;
}
.bp-dir .price { font-weight: 550; font-size: 13px; }
.bp-dir .price small { font-size: 12px; font-weight: 400; color: #5c5462; }
.bp-dir .card-slot,
.bp-dir .card-slot-empty {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.bp-dir .card-slot-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  max-width: 100%;
  padding: 0 96px 12px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.bp-dir .card-slot-chips::-webkit-scrollbar { display: none; }
.bp-dir .slot-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(123, 100, 128, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  text-decoration: none;
}
.bp-dir .slot-chip:hover,
.bp-dir .slot-chip:focus-visible {
  border-color: rgba(88, 54, 98, 0.45);
  background: #fff;
}
.bp-dir .slot-chip-published {
  border-color: rgba(88, 54, 98, 0.35);
  background: rgba(238, 232, 239, 0.95);
  font-weight: 600;
}
.bp-dir .slot-promo-badge {
  flex: 0 0 auto;
  align-self: center;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
}
.bp-dir .profile-availability {
  margin: 16px 0 20px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(123, 100, 128, 0.12);
}
.bp-dir .profile-availability h2 { margin: 0 0 8px; font-size: 20px; }
.bp-dir .profile-availability-lead { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.bp-dir .profile-slot-chips { padding: 0 0 12px; }
.bp-dir .profile-availability .profile-book { margin: 0; }
.bp-dir .text-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bp-dir .card-open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eee8ef;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}
.bp-dir .card-bottom { min-height: 32px; }
.bp-dir .empty {
  background: rgba(255, 255, 255, 0.6);
  padding: 50px 20px;
  text-align: center;
  border-radius: 20px;
  grid-column: 1 / -1;
}
.bp-dir .empty h3 { font-family: Georgia, serif; font-weight: 400; font-size: 25px; margin: 12px; }
.bp-dir .empty p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.bp-dir .empty .primary { margin-top: 18px; }
.bp-dir .note,
.bp-dir__note {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  line-height: 1.5;
}
.bp-dir .banner {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.bp-dir .banner h2 { font-family: Georgia, serif; font-weight: 400; font-size: 25px; letter-spacing: -0.5px; margin: 0 0 6px; }
.bp-dir .banner p { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.5; }
.bp-dir .banner-button {
  border: 1px solid rgba(154, 133, 156, 0.44);
  border-radius: 12px;
  padding: 13px 20px;
  background: rgba(255, 255, 255, 0.26);
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  font-size: 12px;
}
.bp-dir .footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0 36px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.bp-dir .footer.site-footer {
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: start;
}
.bp-dir .footer.site-footer p { margin: 0 0 8px; color: var(--ink); }
.bp-dir .footer.site-footer a { display: block; text-decoration: none; padding: 3px 0; }
.bp-dir .footer.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bp-dir .footer a { text-decoration: underline; text-underline-offset: 3px; }
.bp-dir .header-store { padding: 8px 12px; font-size: 12px; }
.bp-dir .shot {
  width: min(260px, 100%);
  justify-self: end;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.bp-dir .feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bp-dir .feature-grid article { background: var(--paper); border-radius: 22px; padding: 16px 18px; box-shadow: var(--shadow); }
.bp-dir .feature-grid h2 { margin: 0 0 6px; font-size: 18px; }
.bp-dir .feature-grid p { margin: 0; color: var(--muted); }
.bp-dir .legal { max-width: 720px; padding-bottom: 24px; }
.bp-dir .legal h1,
.bp-dir .legal h2,
.bp-dir .legal strong,
.bp-dir .legal a { color: var(--ink); }
.bp-dir .legal p,
.bp-dir .legal li { color: var(--muted); line-height: 1.6; }
.bp-dir .legal h2 { margin: 28px 0 8px; font-size: 22px; }
.bp-dir .legal ul { padding-left: 18px; }
.bp-dir .ambience {
  position: static;
  z-index: 1;
  width: max-content;
  max-width: calc(100% - 24px);
  margin: 0 auto 28px;
  background: rgba(255, 252, 244, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 35px rgba(64, 48, 72, 0.13);
  border-radius: 50px;
  padding: 8px 10px 8px 15px;
  display: none;
  align-items: center;
  gap: 8px;
}
body.dev-ambience .ambience { display: flex; }
.bp-dir .ambience-label { font-size: 10px; display: flex; gap: 7px; align-items: center; margin-right: 5px; }
.bp-dir .live-dot { height: 5px; width: 5px; background: #6f7a55; border-radius: 100%; box-shadow: 0 0 0 3px rgba(142, 148, 123, 0.2); }
.bp-dir .ambience.paused .live-dot { background: #a8a1a7; box-shadow: none; }
.bp-dir .theme { height: 25px; width: 25px; border-radius: 50%; border: 2px solid #fff; padding: 0; }
.bp-dir .theme[aria-pressed="true"] { outline: 1px solid #776781; outline-offset: 2px; }
.bp-dir .theme[data-theme="pearl"] { background: linear-gradient(135deg, #f5e7d5, #b6b4c1); }
.bp-dir .theme[data-theme="rose"] { background: linear-gradient(135deg, #f8ddc6, #dca5ba); }
.bp-dir .theme[data-theme="lilac"] { background: linear-gradient(135deg, #e1d4ef, #9390b4); }
.bp-dir .pause-button { height: 29px; width: 29px; border-radius: 50%; background: #e9e3e9; display: grid; place-items: center; margin-left: 5px; }
.bp-dir .pause-button svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }
.bp-dir .theme-caption { font-size: 9px; color: #5c5462; min-width: 52px; text-align: center; }
.bp-dir .toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translate(-50%, 12px);
  background: #44374c;
  color: #fff;
  padding: 12px 18px;
  font-size: 12px;
  border-radius: 12px;
  z-index: 15;
  opacity: 0;
  pointer-events: none;
  max-width: calc(100% - 30px);
}
.bp-dir .toast.show { transform: translate(-50%, 0); opacity: 1; }
.bp-dir .bp-more {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: end;
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 12px;
}
.bp-dir .bp-more label { display: grid; gap: 4px; }
.bp-dir .bp-more input,
.bp-dir .bp-more select {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  padding: 0 10px;
  min-width: 0;
}
.bp-dir .bp-more .check { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.bp-dir .profile {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  padding: 28px 0 20px;
}
.bp-dir .profile-photo { border-radius: 28px; overflow: hidden; min-height: 280px; background: #e6dedb; }
.bp-dir .profile-photo img,
.bp-dir .profile-photo .bp-fallback { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.bp-dir .profile h1 { font-family: Georgia, serif; font-size: clamp(34px, 4vw, 48px); font-weight: 400; letter-spacing: -0.5px; }
.bp-dir .profile p { color: var(--muted); line-height: 1.7; }
.bp-dir .offer,
.bp-dir .windows { list-style: none; padding: 0; margin: 8px 0 0; }
.bp-dir .offer li,
.bp-dir .windows li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.bp-dir .offer a,
.bp-dir .windows a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.bp-dir .tags { display: flex; gap: 8px; flex-wrap: wrap; min-height: 28px; }
.bp-dir .pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fffaf6;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.bp-dir .pill-demo { background: transparent; color: #6a3b4a; border: 1px solid rgba(101, 83, 110, 0.4); }

.bp-dir__main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 24px 0 48px; }
.bp-dir__admin { display: grid; gap: 16px; }
.bp-dir__admin form,
.bp-dir__stat {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}
.bp-dir__admin input,
.bp-dir__admin select,
.bp-dir__admin textarea,
.bp-dir__check {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  font-size: 16px;
}
.bp-dir__check { display: flex; align-items: center; gap: 8px; }
.bp-dir__admin button {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.bp-dir__meta { color: var(--muted); }
.bp-dir h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }

@media (max-width: 1100px) {
  .bp-dir .wrap { width: calc(100% - 56px); }
  .bp-dir .nav { gap: 17px; }
  .bp-dir .cards { gap: 15px; }
  .bp-dir .catalog-micro,
  .bp-dir .search-caption,
  .bp-dir .divider { display: none; }
  .bp-dir .hero-main { right: 17px; width: 242px; }
  .bp-dir .hero-word { font-size: 64px; top: 118px; right: 12px; }
  .bp-dir .hero-still { display: none; }
  .bp-dir .filter-row { flex-wrap: wrap; }
  .bp-dir .chips { width: 100%; flex: 1 0 100%; }
  .bp-dir .sort { margin-left: auto; }
}

.bp-dir .nav-menu { display: none; }
.bp-dir .nav-menu summary {
  list-style: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 252, 248, 0.78);
}
.bp-dir .nav-menu summary::-webkit-details-marker { display: none; }
.bp-dir .nav-menu summary svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.bp-dir .nav-menu .menu-close { display: none; }
.bp-dir .nav-menu[open] .menu-open { display: none; }
.bp-dir .nav-menu[open] .menu-close { display: block; }
.bp-dir .nav-menu nav {
  display: grid;
  gap: 0;
  margin-top: 8px;
  padding: 8px 18px 12px;
  border-radius: 20px;
  background: rgba(255, 252, 248, 0.97);
  border: 1px solid var(--line);
}
.bp-dir .nav-menu a {
  color: var(--ink);
  padding: 14px 0;
  font-size: 18px;
  border-bottom: 1px solid rgba(123, 100, 128, 0.12);
}
.bp-dir .brand-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.bp-dir .path-grid { display: grid; gap: 12px; }
.bp-dir .path-card {
  display: block;
  background: rgba(255, 252, 248, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 72px 72px 22px 22px;
  padding: 22px 20px 18px;
  color: inherit;
}
.bp-dir .path-card h2 { margin: 0 0 8px; font-size: 28px; }
.bp-dir .path-card p { margin: 0 0 14px; color: var(--muted); line-height: 1.5; }
.bp-dir .section-block { margin-top: 42px; }
.bp-dir .section-block h2 { margin: 0 0 8px; }
.bp-dir .section-block > p { color: var(--muted); margin: 0 0 16px; }

@media (max-width: 1180px) {
  .bp-dir .header { position: relative; z-index: 4; grid-template-columns: minmax(0, 1fr) auto; height: 64px; }
  .bp-dir .nav,
  .bp-dir .header-actions,
  .bp-dir .header-store,
  .bp-dir .header-right { display: none; }
  .bp-dir .nav-menu { display: block; position: static; }
  .bp-dir .nav-menu[open] nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 8;
    width: auto;
    margin-top: 0;
    border-radius: 0 0 22px 22px;
    background: #fffcf8;
    box-shadow: 0 18px 36px rgba(72, 54, 77, 0.14);
  }
  .bp-dir .nav-menu a:last-child {
    font-size: 14px;
    color: var(--muted);
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .bp-dir .wrap { width: calc(100% - 36px); }
  .bp-dir .nav { display: none; }
  .bp-dir .hero { grid-template-columns: 1.1fr 1fr; gap: 8px; min-height: 280px; padding: 24px 0; }
  .bp-dir .brand-hero { grid-template-columns: 1fr; min-height: 0; }
  .bp-dir h1 { font-size: 46px; letter-spacing: -2.4px; }
  .bp-dir .hero-visual { height: 230px; }
  .bp-dir .hero-main { height: 230px; width: 168px; right: 0; }
  .bp-dir .hero-word { font-size: 64px; top: 92px; right: 0; }
  .bp-dir .hero-still { width: 96px; left: -8px; }
  .bp-dir .hero-note { display: none; }
  .bp-dir .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-dir .profile { grid-template-columns: 1fr; }
  .bp-dir .banner,
  .bp-dir .footer,
  .bp-dir .offer li,
  .bp-dir .windows li { flex-direction: column; align-items: flex-start; }
  .bp-dir .footer.site-footer { grid-template-columns: 1fr 1fr; }
  .bp-dir .feature-grid { grid-template-columns: 1fr; }
  .bp-dir .shot { justify-self: start; }
  .bp-dir .search-form .primary svg { display: none; }
}

@media (max-width: 560px) {
  .bp-dir .tabs { width: 100%; justify-content: space-between; flex-wrap: nowrap; }
  .bp-dir .tab { padding: 11px 8px; font-size: 12px; }
  .bp-dir .tab svg { display: none; }
  .bp-dir .catalog-head { display: block; }
  .bp-dir .filter-row { flex-wrap: wrap; }
  .bp-dir .chips { width: 100%; flex: 1 0 100%; }
  .bp-dir .sort { margin-left: auto; }
  .bp-dir .ambience { max-width: 100%; margin-bottom: max(16px, env(safe-area-inset-bottom)); }
  .bp-dir .theme-caption { min-width: 0; }
  .bp-dir .hero h1 { font-size: 38px; }
  .bp-dir .brand-hero h1 { font-size: 40px; letter-spacing: -1.2px; line-height: 1.02; }
  .bp-dir .brand-hero h1 em { display: block; font-size: 34px; letter-spacing: 0; }
  .bp-dir .hero-still { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bp-dir .silk-fallback,
  .bp-dir .silk-fallback::after { animation: none; transform: none; }
  .bp-dir .card,
  .bp-dir .primary { transition: none; }
}

.bp-dir .partner-form { display: grid; gap: 12px; max-width: 520px; margin: 28px auto 48px; text-align: left; }
.bp-dir .partner-form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.bp-dir .partner-form input,
.bp-dir .partner-form select,
.bp-dir .partner-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.72);
  color: inherit;
  padding: 12px 14px;
  font: inherit;
}
.bp-dir .partner-form .hp { position: absolute; left: -9999px; }
.bp-dir .profile-photo { position: relative; }

.bp-dir .admin-board { padding-bottom: 48px; }
.bp-dir .admin-board h1 { margin: 8px 0 12px; }
.bp-dir .admin-counts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.bp-dir .admin-count { background: var(--paper); border-radius: 22px; padding: 14px 16px; box-shadow: var(--shadow); display: grid; gap: 4px; }
.bp-dir .admin-count strong { font-size: 28px; letter-spacing: -0.04em; }
.bp-dir .admin-count span, .bp-dir .admin-list span { color: var(--muted); font-size: 13px; }
.bp-dir .admin-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bp-dir .admin-list li { background: var(--paper); border-radius: 18px; padding: 14px 16px; display: grid; gap: 6px; }
.bp-dir .admin-board .partner-form { margin-left: 0; }
@media (max-width: 760px) {
  .bp-dir .admin-counts { grid-template-columns: 1fr 1fr; }
}

.bp-dir .search-label-short,
.bp-dir .filter-bar,
.bp-dir .bp-more .sheet-only,
.bp-dir .card-spec,
.bp-dir .footer-note,
.bp-dir .fav-label,
.bp-dir .sort-face,
.bp-dir .catalog-micro { display: none; }
.bp-dir .sort-control { display: contents; }
.bp-dir .ghost {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}
.bp-dir .empty-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.bp-dir .empty-actions .primary,
.bp-dir .empty-actions .ghost { margin-top: 0; }
.bp-dir .footer-note { margin: 8px 0 0; font-size: 11px; line-height: 1.45; color: var(--muted); }
.bp-dir .filter-launch,
.bp-dir .avail-toggle {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
  min-height: 40px;
  padding: 0 10px;
  font-size: 12px;
  white-space: nowrap;
}
.bp-dir .avail-toggle[aria-pressed="true"] { background: #e4dce7; color: #54425c; }
.bp-dir .sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 28;
  border: 0;
  background: rgba(51, 45, 55, 0.34);
}

@media (max-width: 760px) {
  .bp-dir .wrap { width: calc(100% - 40px); overflow-x: clip; }
  .bp-dir .header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    height: 64px;
    min-height: 0;
    padding: 0;
    gap: 12px;
    align-items: center;
  }
  .bp-dir .logo { font-size: 18px; letter-spacing: -0.6px; }
  .bp-dir .logo-mark { width: 28px; height: 28px; border-radius: 8px; }
  .bp-dir .logo-mark svg { width: 16px; height: 16px; }
  .bp-dir .header-actions,
  .bp-dir .header-store,
  .bp-dir .header-right,
  .bp-dir .nav { display: none; }
  .bp-dir .location { font-size: 13px; }
  .bp-dir .icon-button {
    width: auto;
    height: 32px;
    border-radius: 999px;
    padding: 0 10px 0 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
  }
  .bp-dir .fav-label { display: inline; }
  .bp-dir .icon-button .fav-count { position: static; margin-left: 2px; }
  .bp-dir .ambience { display: none; }
  .bp-dir.dev-ambience .ambience { display: flex; }

  .bp-dir .hero:not(.brand-hero) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    min-height: 0;
    padding: 12px 0 2px;
  }
  .bp-dir .hero:not(.brand-hero) .eyebrow { margin-bottom: 8px; }
  .bp-dir .hero:not(.brand-hero) h1 {
    font-size: 40px;
    letter-spacing: -1.6px;
    line-height: 1.02;
    margin: 0 0 8px;
  }
  .bp-dir .hero:not(.brand-hero) h1 em { letter-spacing: -1.4px; }
  .bp-dir .hero:not(.brand-hero) .hero-copy p:last-child { line-height: 1.5; max-width: none; }
  .bp-dir .hero:not(.brand-hero) .hero-visual {
    height: auto;
    max-width: none;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 28px 28px 16px 16px;
  }
  .bp-dir .hero:not(.brand-hero) .hero-main {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: 100%;
    height: 128px;
    object-fit: cover;
    object-position: center 18%;
    border-radius: 28px 28px 16px 16px;
  }
  .bp-dir .hero:not(.brand-hero) .hero-word {
    font-size: 28px;
    top: auto;
    bottom: 12px;
    right: 14px;
    letter-spacing: -1px;
    transform: none;
  }
  .bp-dir .hero:not(.brand-hero) .hero-still,
  .bp-dir .hero:not(.brand-hero) .hero-note { display: none; }

  .bp-dir .search-form {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    padding: 6px 6px 6px 12px;
  }
  .bp-dir .search-caption,
  .bp-dir .search-form .divider,
  .bp-dir .search-label-full,
  .bp-dir .search-form .primary svg,
  .bp-dir .catalog-micro { display: none; }
  .bp-dir .search-label-short { display: inline; }
  .bp-dir .search-field { padding-left: 0; gap: 8px; }
  .bp-dir .search-form .primary { flex: 0 0 auto; min-height: 40px; padding: 0 14px; gap: 0; }

  .bp-dir .catalog-head { display: block; margin: 0 0 10px; }
  .bp-dir .tabs {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    padding: 3px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.46);
  }
  .bp-dir .tab {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    padding: 8px 2px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: 10px;
  }
  .bp-dir .tab svg { display: none; }

  .bp-dir .filter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0;
  }
  .bp-dir .chips { display: none; }
  .bp-dir .chip {
    background: transparent;
    border-color: transparent;
    border-radius: 0;
    padding: 4px 0 6px;
    font-size: 13px;
    color: var(--muted);
  }
  .bp-dir .chip.active {
    background: transparent;
    border-color: transparent;
    color: var(--ink);
    box-shadow: inset 0 -1.5px 0 var(--accent);
  }
  .bp-dir .filter-bar { display: contents; }
  .bp-dir .filter-launch,
  .bp-dir .avail-toggle,
  .bp-dir .sort-control {
    justify-self: start;
    height: 40px;
    min-height: 40px;
    border-radius: 10px;
    border-color: transparent;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    padding: 0 2px;
  }
  .bp-dir .sort-control {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding: 0 2px;
    border: 0;
    background: transparent;
    white-space: nowrap;
  }
  .bp-dir .sort-face { display: inline-flex; align-items: center; gap: 6px; pointer-events: none; }
  .bp-dir .sort-face::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
  }
  .bp-dir .sort-control .sort {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    opacity: 0;
    font-size: 16px;
  }

  .bp-dir .bp-more { display: none; }
  body.bp-dir.filters-open .bp-more {
    display: grid;
    gap: 10px;
    position: fixed;
    z-index: 30;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    max-height: min(78dvh, 640px);
    overflow: auto;
    background: #f6f1ec;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -16px 40px rgba(51, 45, 55, 0.16);
    align-items: stretch;
  }
  body.bp-dir.filters-open .bp-more .sheet-only { display: grid; }
  body.bp-dir.filters-open .bp-more .sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
  }
  body.bp-dir.filters-open .sheet-head button { font-size: 13px; color: var(--muted); }
  body.bp-dir.filters-open .bp-more label { font-size: 12px; }
  body.bp-dir.filters-open .bp-more input:not([type="checkbox"]),
  body.bp-dir.filters-open .bp-more select {
    width: 100%;
    min-height: 44px;
    font-size: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    padding: 0 12px;
  }
  body.bp-dir.filters-open .bp-more .check { display: flex; align-items: center; min-height: 44px; white-space: nowrap; }
  body.bp-dir.filters-open .bp-more .check input { width: 18px; height: 18px; }
  body.bp-dir.filters-open .bp-more .sheet-actions {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 8px;
    position: sticky;
    bottom: 0;
    background: #f6f1ec;
    padding-top: 4px;
  }
  body.bp-dir.filters-open .sheet-actions .primary,
  body.bp-dir.filters-open .sheet-actions button { min-height: 44px; }

  .bp-dir .brand-hero .shot {
    width: 148px;
    height: 220px;
    max-height: 220px;
    object-fit: cover;
    object-position: top center;
    justify-self: start;
  }
  .bp-dir .feature-grid { grid-template-columns: 1fr 1fr; }
  .bp-dir .feature-grid article { padding: 12px; }
  .bp-dir .feature-grid h2 { font-size: 16px; }
  .bp-dir .silk-fallback { animation-name: bp-pearl-drift-mobile; animation-duration: 40s; }
  .bp-dir .silk-fallback::after { animation-duration: 32s; }
  .bp-dir .brand-hero { padding-top: 8px; }
  .bp-dir .brand-visual { height: 220px; width: 100%; margin: 8px 0 4px; justify-self: stretch; }
  .bp-dir .brand-phone { width: 128px; height: 220px; right: 8px; }
  .bp-dir .brand-card { width: 156px; height: 188px; left: 0; bottom: 0; }
  .bp-dir .home-steps h2,
  .bp-dir .home-master h2 { font-size: 26px; }
  .bp-dir .step-grid { grid-template-columns: 1fr; }
  .bp-dir .home-master { grid-template-columns: 1fr; padding: 16px; margin-top: 22px; }
  .bp-dir .home-master img { display: none; }
  .bp-dir .profile-book-sticky:not([hidden]) {
    display: flex;
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 5;
    min-height: 48px;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(66, 50, 60, 0.16);
  }
  .bp-dir .profile-photo,
  .bp-dir .profile-photo img,
  .bp-dir .profile-photo .bp-fallback { min-height: 0; height: 220px; }
  body.bp-dir[data-page="partner"] .brand-actions { gap: 8px; margin-top: 12px; }
  body.bp-dir[data-page="partner"] .brand-actions .banner-button,
  body.bp-dir[data-page="partner"] .brand-actions .primary {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 14px;
  }
  .bp-dir .partner-form { margin: 16px 0 20px; max-width: none; }
  .bp-dir .partner-form input,
  .bp-dir .partner-form select,
  .bp-dir .partner-form textarea { font-size: 16px; }
  .bp-dir .result-label { margin: 12px 0; font-size: 14px; color: var(--ink); }
  .bp-dir .cards { grid-template-columns: 1fr; gap: 14px; }
  .bp-dir .card { display: block; }
  .bp-dir .card-photo { aspect-ratio: 2.5; height: auto; min-height: 0; max-height: 140px; }
  .bp-dir .card-photo img,
  .bp-dir .bp-fallback { min-height: 0; height: 100%; }
  .bp-dir .bp-fallback { font-size: 42px; }
  .bp-dir .card-label { display: none; }
  .bp-dir .card-body { padding: 12px 12px 10px; display: flex; flex-direction: column; min-width: 0; }
  .bp-dir .card-description { display: none; }
  .bp-dir .profile .card-description { display: block; font-size: 13px; color: var(--muted); }
  .bp-dir .book-form { margin-top: 8px; }
  .bp-dir .book-form select,
  .bp-dir .book-form input,
  .bp-dir .book-form textarea { font-size: 16px; }
  .bp-dir .profile-slot-chips .slot-chip { min-height: 40px; padding: 8px 12px; }
  .bp-dir .profile-report { margin-top: 20px; }
  .bp-dir .card-spec { display: block; margin: 0 0 4px; font-size: 12px; color: var(--muted); line-height: 1.35; }
  .bp-dir .card-slot-chips { padding-right: 96px; }
  .bp-dir .card h2,
  .bp-dir .card h3 { font-size: 16px; margin: 0 0 4px; }
  .bp-dir .card-meta { margin-bottom: 4px; }
  .bp-dir .card-bottom { margin-top: auto; padding-top: 8px; }
  .bp-dir .empty { padding: 14px; margin-top: 4px; }
  .bp-dir .empty h3 { font-size: 22px; margin: 0 0 4px; }
  .bp-dir .empty-actions { margin-top: 10px; }
  .bp-dir .banner {
    margin-top: 28px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(255, 252, 248, 0.94), rgba(228, 214, 222, 0.58));
    gap: 12px;
  }
  .bp-dir .banner h2 { font-size: 22px; margin: 0 0 4px; }
  .bp-dir .banner p { font-size: 13px; }
  .bp-dir .banner .banner-button { border-radius: 999px; padding: 10px 14px; }
  .bp-dir .footer-lead { display: none; }
  .bp-dir .section-block { margin-top: 28px; }
  .bp-dir .footer.site-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 4px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .bp-dir .footer.site-footer > div { grid-column: 1 / -1; }
  .bp-dir .footer.site-footer > div p { margin: 0; font-size: 15px; }
  .bp-dir .footer.site-footer nav p { margin: 0 0 2px; font-size: 12px; }
  .bp-dir .footer.site-footer a { padding: 2px 0; }
  .bp-dir .footer.site-footer nav[aria-label="Документы"] {
    grid-column: 1 / -1;
    display: block;
  }
  .bp-dir .footer.site-footer nav[aria-label="Документы"] p { display: none; }
  .bp-dir .footer.site-footer nav[aria-label="Документы"] a { display: inline; padding: 0; }
  .bp-dir .footer.site-footer nav[aria-label="Документы"] a + a::before { content: " · "; }
}

@media (min-width: 761px) {
  .bp-dir .cards:has(> .card:nth-child(-n+2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 420px));
    justify-content: start;
  }
}

@media (min-width: 1181px) {
  .bp-dir .header-actions { display: flex; align-items: center; gap: 14px; }
}
.bp-dir .header-login,
.bp-dir .account-menu summary {
  border: 0;
  background: transparent;
  color: #6b616f;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
}
.bp-dir .account-menu summary::-webkit-details-marker { display: none; }
.bp-dir .account-menu { position: relative; }
.bp-dir .account-menu div {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 6;
  min-width: 180px;
  padding: 8px;
  border-radius: 16px;
  background: #fffcf8;
  box-shadow: 0 16px 32px rgba(72, 54, 77, 0.12);
}
.bp-dir .account-menu a,
.bp-dir .account-menu button,
.bp-dir .nav-menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  padding: 8px 10px;
  cursor: pointer;
}
.bp-dir .account-dialog {
  border: 0;
  padding: 0;
  margin: auto;
  background: transparent;
  width: min(440px, calc(100vw - 32px));
  height: fit-content;
}
.bp-dir .account-dialog::backdrop { background: rgba(51, 45, 55, 0.34); }
.bp-dir .account-panel {
  background: #fffcf8;
  border-radius: 24px;
  padding: 22px 22px 18px;
}
.bp-dir .account-panel-bar { display: flex; justify-content: flex-end; }
.bp-dir .account-close {
  border: 0;
  background: transparent;
  color: #6b616f;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.bp-dir .account-chooser { display: grid; gap: 16px; max-width: 560px; margin: 28px auto 40px; }
.bp-dir .account-chooser h1 { margin: 0; font-size: 40px; letter-spacing: -1.2px; }
.bp-dir .account-chooser h2 { margin: 0 0 6px; font-size: 22px; }
.bp-dir .account-chooser article {
  background: rgba(255, 252, 248, 0.78);
  border-radius: 22px;
  padding: 18px;
}
.bp-dir .account-chooser p { margin: 0 0 12px; color: var(--muted); }
.bp-dir .account-admin { margin: 0; font-size: 13px; }
.bp-dir .account-admin a { color: #6b616f; }
.bp-dir .account-login { display: grid; gap: 10px; }
.bp-dir .account-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.bp-dir .account-login label { display: grid; gap: 4px; font-size: 13px; }
.bp-dir .account-login textarea {
  width: 100%;
  border: 1px solid #e4dbe8;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
}
.bp-dir .account-login input {
  border: 1px solid rgba(84, 66, 92, 0.16);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
  font: inherit;
}
.bp-dir .account-note { color: var(--muted); font-size: 14px; }
.bp-dir .account-error { color: #8d3b4a; }
.bp-dir .account-cabinet { max-width: 720px; margin: 28px auto 48px; }
.bp-dir .account-cabinet h1 { margin: 0 0 8px; font-size: 40px; letter-spacing: -1.2px; }
.bp-dir .account-status { margin: 0 0 16px; color: #6b616f; }
.bp-dir .account-fields { display: grid; gap: 10px; margin: 0 0 16px; }
.bp-dir .account-fields div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px; }
.bp-dir .account-fields dt { color: #6b616f; }
.bp-dir .account-fields dd { margin: 0; }
.bp-dir .account-note-card {
  background: rgba(255, 252, 248, 0.78);
  border-radius: 22px;
  padding: 16px 18px;
  margin: 0 0 14px;
}
.bp-dir .account-note-card h2 { margin: 0 0 8px; font-size: 18px; }
.bp-dir .account-diff { margin: 0; padding-left: 18px; }
.bp-dir .account-diff span { color: #6b616f; }
.bp-dir .account-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 16px; }

@media (max-width: 760px) {
  .bp-dir .account-dialog[open] {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .bp-dir .account-panel {
    border-radius: 22px 22px 0 0;
    max-height: 92vh;
    overflow: auto;
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
  .bp-dir .account-chooser h1,
  .bp-dir .account-cabinet h1 { font-size: 32px; }
  .bp-dir .account-fields div { grid-template-columns: 1fr; gap: 2px; }
  .bp-dir .nav-menu button {
    padding: 14px 0;
    border-bottom: 1px solid rgba(123, 100, 128, 0.12);
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bp-dir .silk-fallback,
  .bp-dir .silk-fallback::after {
    animation: none;
    transform: none;
  }
}
