@media (max-width: 1120px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-illustration {
    min-height: 320px;
  }

  .feature-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .places-map-layout {
    grid-template-columns: 1fr;
  }

  .side-filter {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .hero-inner,
  .hero-strip,
  .section {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .hero-inner {
    padding: 28px 18px;
  }

  .hero-illustration {
    min-height: 220px;
  }

  .feature-mini-grid,
  .mini-grid,
  .notes-grid,
  .note-form {
    grid-template-columns: 1fr;
  }

  .side-filter {
    display: flex;
    overflow-x: auto;
  }

  .side-filter .category-button {
    min-width: 130px;
  }

  .map-place-popover {
    position: absolute;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 14px;
    width: auto;
    transform: none;
  }

  .my-content-head {
    display: block;
  }
}

.assistant-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.86);
  padding: 7px 14px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .assistant-pill span:first-child {
    display: none;
  }

  .assistant-pill {
    width: 40px;
    height: 40px;
    justify-content: center;
    padding: 0;
  }
}

.mini-card:nth-child(1) .line-place-thumb,
.place-pick:nth-child(1) .line-place-thumb {
  background:
    linear-gradient(0deg, transparent 56%, var(--ink) 57% 59%, transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(23, 19, 16, 0.45) 13px 14px),
    radial-gradient(circle at 24% 68%, rgba(239, 184, 178, 0.45) 0 17%, transparent 18%),
    #fffdf9;
}

.mini-card:nth-child(2) .line-place-thumb,
.place-pick:nth-child(2) .line-place-thumb {
  background:
    repeating-linear-gradient(90deg, transparent 0 16px, rgba(23, 19, 16, 0.48) 17px 18px),
    repeating-linear-gradient(0deg, transparent 0 13px, rgba(23, 19, 16, 0.28) 14px 15px),
    radial-gradient(circle at 72% 72%, rgba(239, 184, 178, 0.35) 0 16%, transparent 17%),
    #fffdf9;
}

.mini-card:nth-child(3) .line-place-thumb,
.place-pick:nth-child(3) .line-place-thumb {
  background:
    radial-gradient(circle at 42% 32%, transparent 0 8px, var(--ink) 9px 10px, transparent 11px),
    radial-gradient(circle at 58% 44%, transparent 0 7px, var(--ink) 8px 9px, transparent 10px),
    linear-gradient(90deg, transparent 49%, var(--ink) 50% 52%, transparent 53%),
    radial-gradient(circle at 50% 78%, rgba(239, 184, 178, 0.5) 0 18%, transparent 19%),
    #fffdf9;
}

/* Product pages use compact headings, closer to the reference board. */
.section:not(.compact) .section-title {
  max-width: 900px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.04;
}

.places-product .search-bar {
  margin-top: -74px;
}

@media (max-width: 960px) {
  .places-product .search-bar {
    margin-top: 0;
    margin-left: 0;
    width: 100%;
  }
}

/* 2026-06-29 asset-driven redesign from supplied design board */
:root {
  --paper: #fbfdff;
  --paper-strong: #ffffff;
  --ink: #0b2454;
  --muted: #52627c;
  --blue: #102b63;
  --blue-soft: #eaf2fb;
  --line: rgba(21, 49, 100, 0.18);
  --line-strong: rgba(16, 43, 99, 0.42);
  --rose: #f3d9d1;
  --honey: #fff1d2;
  --shadow: 0 20px 60px rgba(16, 43, 99, 0.08);
  --tight-shadow: 0 10px 28px rgba(16, 43, 99, 0.07);
}

body {
  background:
    radial-gradient(circle at 12% 20%, rgba(214, 230, 248, 0.7), transparent 25rem),
    radial-gradient(circle at 84% 24%, rgba(245, 221, 211, 0.35), transparent 22rem),
    linear-gradient(135deg, #fbfdff 0%, #f8fbff 48%, #fffdf9 100%);
  color: var(--ink);
}

body::before {
  opacity: 0.18;
  background-size: 42px 42px;
}

.topbar {
  position: relative;
  top: auto;
  height: var(--nav-height);
  background: rgba(251, 253, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
}

.main-nav {
  gap: 18px;
}

.nav-link {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.nav-link:hover,
.nav-link.is-active {
  text-decoration-color: var(--blue);
}

.language-select {
  min-height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  padding: 0 10px;
  font-weight: 800;
  cursor: pointer;
}

.assistant-pill,
.assistant-launch,
.icon-button,
.mobile-menu {
  color: var(--blue);
  border-color: var(--line-strong);
  background: #fff;
}

.hero {
  padding-top: 8px;
}

.hero-inner,
.hero-strip,
.section {
  width: min(1450px, calc(100vw - 36px));
  max-width: min(1450px, calc(100vw - 36px));
}

.hero-inner {
  min-height: 560px;
  grid-template-columns: 0.72fr 1.28fr;
  padding: clamp(28px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--tight-shadow);
}

.hero-copy {
  max-width: 440px;
}

h1,
.display,
.section-title,
.hero-tagline {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

h1,
.display {
  font-size: clamp(54px, 5.6vw, 86px);
}

.hero-tagline {
  color: var(--blue);
  font-size: clamp(24px, 2.7vw, 38px);
}

.hero-subtitle,
.section-copy,
.safe-card p,
.guide-card p,
.feature-card p,
.mini-card p {
  color: var(--muted);
}

.hero-illustration {
  display: block;
  width: 100%;
  min-height: 0;
  max-height: 520px;
  object-fit: contain;
  background: transparent;
  filter: none;
}

.button {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.button:disabled,
.button.is-saved,
.soft-button:disabled,
.soft-button.is-saved {
  cursor: default;
  opacity: 0.72;
  box-shadow: none;
}

.soft-button,
.filter-chip,
.choice-chip,
.timer-options button,
.category-button,
.tab,
.assistant-prompts button {
  background: #fff;
  color: var(--blue);
  border-color: var(--line);
}

.soft-button:hover,
.filter-chip.is-selected,
.choice-chip.is-selected,
.timer-options button.is-selected,
.category-button.is-selected,
.tab.is-selected {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: rgba(16, 43, 99, 0.28);
}

.feature-mini-grid {
  grid-template-columns: repeat(5, 1fr);
}

.surface,
.mini-card,
.guide-card,
.safe-card,
.timeline-card,
.profile-panel,
.auth-panel,
.detail-panel,
.feature-card,
.info-box,
.review,
.step,
.assistant-panel {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line);
  box-shadow: var(--tight-shadow);
}

.feature-mini {
  grid-template-columns: 64px 1fr auto;
  min-height: 112px;
}

.image-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 0;
  background: transparent;
}

.image-thumb,
.mini-thumb {
  width: 96px;
  height: 72px;
  object-fit: contain;
  border: 0;
  background: transparent;
}

.safe-product-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
}

.day-head-product,
.living-head-product,
.places-head-product {
  display: grid;
  grid-template-columns: minmax(300px, 0.46fr) minmax(420px, 0.74fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  margin-bottom: 18px;
}

.safe-night-hero {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--tight-shadow);
}

.safe-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.safe-action-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 150px;
  padding: 16px;
  cursor: pointer;
  color: var(--blue);
}

.safe-action-card img {
  width: 76px;
  height: 64px;
  object-fit: contain;
}

.safe-action-card span {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.safe-topics-layout {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 18px;
}

.compact-safe-grid {
  grid-template-columns: repeat(2, 1fr);
}

.compact-safe-grid .safe-card {
  grid-template-columns: auto 1fr auto;
}

.safe-detail-panel h2 {
  color: var(--blue);
}

.phrase {
  background: #fff5f1;
  color: var(--blue);
  border-color: var(--line-strong);
}

.safe-v1-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  min-height: clamp(430px, 48vw, 640px);
  margin: -8px 0 24px;
  padding: clamp(8px, 1.8vw, 22px) 0 4px;
  overflow: hidden;
  isolation: isolate;
}

.safe-v1-hero::before {
  position: absolute;
  inset: 4% auto auto -8%;
  z-index: -1;
  width: min(520px, 46vw);
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 221, 211, 0.5), transparent 68%);
}

.safe-v1-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 22px;
  padding-left: clamp(2px, 1.6vw, 18px);
}

.safe-v1-brand {
  margin: 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 5vw, 76px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: none;
}

.safe-v1-rule {
  display: block;
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: var(--blue);
}

.safe-v1-copy h1 {
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.5vw, 54px);
  font-weight: 500;
  line-height: 1.12;
}

.safe-v1-copy p:last-child {
  margin: 8px 0 0;
  color: var(--blue);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 650;
  line-height: 1.25;
}

.safe-hero-visual {
  position: relative;
  min-height: clamp(360px, 42vw, 620px);
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 68% 34%, rgba(222, 234, 247, 0.86), transparent 42%),
    radial-gradient(circle at 22% 82%, rgba(255, 246, 226, 0.74), transparent 38%),
    #fbfdff;
}

.safe-hero-visual::before,
.safe-hero-visual::after {
  position: absolute;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.safe-hero-visual::before {
  inset: 0;
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(251, 253, 255, 0.46) 9%, rgba(251, 253, 255, 0) 25%),
    linear-gradient(0deg, rgba(251, 253, 255, 0.42), rgba(251, 253, 255, 0) 22%),
    radial-gradient(ellipse at 52% 52%, rgba(251, 253, 255, 0) 0%, rgba(251, 253, 255, 0) 62%, rgba(251, 253, 255, 0.36) 84%, var(--paper) 100%);
}

.safe-hero-visual::after {
  inset: 10px;
  border: 1px solid rgba(16, 43, 99, 0.08);
  border-radius: 28px;
  box-shadow: inset 0 0 70px rgba(255, 253, 249, 0.48);
}

.safe-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  filter: saturate(0.9) contrast(0.96) brightness(1.06);
  opacity: 0.96;
  transform: scale(1.005);
  -webkit-mask-image: radial-gradient(ellipse at 54% 50%, #000 0 70%, rgba(0, 0, 0, 0.9) 84%, transparent 100%);
  mask-image: radial-gradient(ellipse at 54% 50%, #000 0 70%, rgba(0, 0, 0, 0.9) 84%, transparent 100%);
}

.safe-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.safe-scenario-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 138px;
  padding: 22px 24px;
  text-align: left;
  cursor: pointer;
  color: var(--blue);
  background: rgba(255, 253, 249, 0.74);
  transition:
    border-color 180ms ease-out,
    background-color 180ms ease-out,
    transform 180ms ease-out,
    box-shadow 180ms ease-out;
}

.safe-scenario-card:hover,
.safe-action-v1-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
  box-shadow: var(--tight-shadow);
}

.safe-scenario-card strong,
.safe-action-v1-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.safe-scenario-card small,
.safe-action-v1-card span,
.safe-ending-copy {
  color: var(--muted);
  line-height: 1.5;
}

.safe-scenario-card.is-emergency {
  border-color: rgba(155, 91, 84, 0.48);
  background: rgba(248, 222, 217, 0.24);
  color: var(--rose-deep);
}

.safe-scenario-card.is-emergency small {
  color: rgba(159, 86, 81, 0.82);
}

.safe-scenario-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(255, 253, 249, 0.78);
  flex: 0 0 auto;
}

.safe-scenario-icon.is-emergency {
  color: var(--rose-deep);
}

.safe-scenario-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.safe-scenario-icon text {
  fill: currentColor;
  stroke: none;
  font-size: 13px;
  font-weight: 800;
}

.safe-scenario-arrow {
  color: currentColor;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
}

.safe-detail-v1 {
  display: grid;
  gap: 18px;
}

.safe-back-button {
  width: max-content;
}

.safe-scenario-detail-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 22px;
}

.safe-scenario-detail-head.is-emergency {
  border-color: rgba(155, 91, 84, 0.38);
  background: rgba(248, 222, 217, 0.25);
}

.safe-action-v1-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.safe-action-v1-card {
  display: grid;
  align-content: center;
  min-height: 126px;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  text-decoration: none;
  transition:
    border-color 180ms ease-out,
    background-color 180ms ease-out,
    transform 180ms ease-out;
}

.safe-action-v1-card.is-emergency-soft {
  background: rgba(248, 222, 217, 0.24);
}

.safe-communication-section,
.safe-why-section {
  display: grid;
  gap: 12px;
}

.safe-phrase-list {
  display: grid;
  gap: 10px;
}

.safe-phrase-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.72);
  padding: 14px;
}

.safe-phrase-card strong {
  display: block;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.35;
}

.safe-phrase-card p {
  margin: 7px 0 0;
  color: var(--muted);
}

.safe-phrase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.safe-phrase-actions .soft-button,
.safe-phrase-actions .text-button {
  min-height: 34px;
  border-color: rgba(16, 43, 99, 0.16);
  background: rgba(255, 253, 249, 0.42);
  padding: 7px 11px;
  color: rgba(16, 43, 99, 0.72);
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}

.safe-phrase-actions .text-button {
  border-color: transparent;
  background: transparent;
  color: rgba(155, 91, 84, 0.78);
}

.safe-phrase-actions .soft-button:hover,
.safe-phrase-actions .text-button:hover {
  border-color: rgba(16, 43, 99, 0.24);
  background: rgba(248, 222, 217, 0.34);
  color: var(--ink);
}

.safe-why-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.safe-why-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.safe-why-panel[hidden] {
  display: none;
}

.safe-why-panel ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.safety-call-panel {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0 0 22px;
  overflow: hidden;
  padding: clamp(20px, 3vw, 32px);
  background:
    radial-gradient(circle at 92% 8%, rgba(248, 222, 217, 0.36), transparent 13rem),
    linear-gradient(135deg, rgba(255, 253, 249, 0.92), rgba(234, 242, 251, 0.48));
}

.safety-call-intro,
.safety-call-stage {
  display: grid;
  gap: 18px;
}

.safety-call-intro > div,
.safety-call-stage > div {
  min-width: 0;
}

.safety-call-intro {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  align-items: center;
}

.safety-call-intro h2,
.safety-call-stage h2 {
  margin: 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.12;
}

.safety-call-intro p,
.safety-call-stage p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.safety-call-note {
  max-width: 560px;
  color: var(--blue) !important;
  font-weight: 700;
}

.safety-call-actions,
.safety-call-secondary {
  display: grid;
  gap: 10px;
}

.safety-call-secondary {
  grid-template-columns: 1fr;
}

.safety-caller-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.safety-caller-card,
.safety-delay-button {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.82);
  color: var(--blue);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 180ms ease-out,
    background-color 180ms ease-out,
    transform 180ms ease-out,
    box-shadow 180ms ease-out;
}

.safety-caller-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 118px;
  padding: 14px;
}

.safety-caller-card:hover,
.safety-delay-button:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.safety-caller-card.is-selected,
.safety-delay-button.is-selected {
  border-color: var(--line-strong);
  background: rgba(248, 222, 217, 0.46);
  box-shadow: inset 0 0 0 1px rgba(159, 86, 81, 0.18);
}

.safety-caller-avatar,
.safety-incoming-orb {
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.88);
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.safety-caller-avatar {
  width: 46px;
  height: 46px;
  font-size: 19px;
}

.safety-caller-card strong,
.safety-message strong {
  display: block;
  color: var(--blue);
}

.safety-caller-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.safety-delay-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.safety-delay-button {
  min-height: 56px;
  padding: 12px 14px;
  font-weight: 800;
  text-align: center;
}

.safety-call-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.safety-call-footer.is-centered {
  justify-content: center;
}

.safety-call-centered {
  justify-items: center;
  text-align: center;
}

.safety-countdown {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 8vw, 92px);
  font-weight: 500;
  line-height: 1;
}

.safety-incoming-orb {
  width: 108px;
  height: 108px;
  font-size: 42px;
  animation: safety-call-pulse 1800ms ease-out infinite;
}

.safety-message-list {
  display: grid;
  gap: 10px;
  max-width: 620px;
}

.safety-call-connected {
  max-width: 700px;
}

.safety-connected-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(16, 43, 99, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.76);
  padding: 10px 14px;
  color: var(--blue);
}

.safety-connected-head strong {
  font-variant-numeric: tabular-nums;
}

.safety-connected-status {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.safety-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(111, 143, 129, 0.14);
}

.safety-connected-person {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(248, 222, 217, 0.32), transparent 10rem),
    rgba(255, 253, 249, 0.84);
  padding: 16px;
}

.safety-connected-person .safety-caller-avatar {
  width: 60px;
  height: 60px;
  font-size: 24px;
}

.safety-connected-person h2 {
  font-size: clamp(30px, 3.2vw, 46px);
}

.safety-message {
  width: fit-content;
  max-width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: 12px 12px 12px 4px;
  background: rgba(255, 253, 249, 0.86);
  padding: 12px 14px;
  color: var(--muted);
  line-height: 1.5;
}

.safety-message span {
  display: block;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.safe-route-view {
  gap: 18px;
}

.safe-route-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.44fr);
  gap: 18px;
  align-items: start;
  padding: clamp(20px, 3vw, 30px);
}

.safe-route-disclosure,
.safe-route-empty-state p,
.safe-route-handoff p,
.safe-route-preview p,
.safe-route-closing {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.safe-route-disclosure {
  border-left: 3px solid rgba(16, 43, 99, 0.16);
  padding-left: 14px;
  font-size: 14px;
}

.safe-route-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
}

.safe-route-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.safe-route-field-group {
  position: relative;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.safe-route-form .field span {
  color: var(--blue);
  font-weight: 800;
}

.safe-route-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.safe-route-quick-actions .soft-button {
  min-height: 40px;
  padding: 9px 13px;
  font-size: 14px;
}

.field-error {
  margin: 2px 0 0;
  color: var(--rose-deep);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.safe-route-inline-message {
  margin-top: 0;
}

.safe-route-saved-picker {
  display: grid;
  gap: 10px;
  max-width: 100%;
  padding: 12px;
  box-shadow: none;
}

.safe-route-saved-picker p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.safe-route-saved-list {
  display: grid;
  gap: 8px;
  max-height: 250px;
  overflow: auto;
}

.safe-route-saved-place {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.84);
  padding: 10px 12px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 180ms ease-out,
    background-color 180ms ease-out,
    transform 180ms ease-out;
}

.safe-route-saved-place:hover {
  border-color: var(--line-strong);
  background: rgba(248, 222, 217, 0.24);
  transform: translateY(-1px);
}

.safe-route-saved-place strong,
.safe-route-saved-place small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.safe-route-saved-place strong {
  color: var(--blue);
}

.safe-route-saved-place small,
.safe-route-saved-place > span:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.safe-route-empty-copy {
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 12px;
}

.safe-route-empty-state {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.safe-route-empty-state h3,
.safe-route-detail h3,
.safe-route-detail h4,
.safe-route-preview h4,
.safe-route-comfort h4 {
  margin: 0;
  color: var(--blue);
}

.safe-route-results {
  display: grid;
  gap: 16px;
}

.safe-route-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.safe-route-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  min-height: 210px;
  padding: 18px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 180ms ease-out,
    background-color 180ms ease-out,
    transform 180ms ease-out,
    box-shadow 180ms ease-out;
}

.safe-route-option:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.safe-route-option.is-selected {
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 100% 0%, rgba(248, 222, 217, 0.36), transparent 9rem),
    rgba(255, 253, 249, 0.9);
  box-shadow: inset 0 0 0 1px rgba(16, 43, 99, 0.12), var(--tight-shadow);
}

.safe-route-option-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.82);
  color: var(--blue);
  font-size: 20px;
}

.safe-route-option-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.safe-route-option-head {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.safe-route-option strong {
  color: var(--blue);
  font-size: 18px;
}

.safe-route-option small {
  color: var(--muted);
  line-height: 1.45;
}

.safe-route-time {
  color: var(--rose-deep);
  font-weight: 850;
  white-space: nowrap;
}

.safe-route-time.is-large {
  align-self: start;
  border: 1px solid rgba(159, 86, 81, 0.22);
  border-radius: 999px;
  background: rgba(248, 222, 217, 0.3);
  padding: 8px 12px;
}

.safe-route-characteristics {
  grid-column: 1 / -1;
  display: grid;
  gap: 7px;
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.safe-route-characteristics span {
  position: relative;
  padding-left: 14px;
}

.safe-route-characteristics span::before {
  position: absolute;
  left: 0;
  content: "•";
}

.safe-route-pick {
  position: static;
  background: rgba(234, 242, 251, 0.86);
}

.safe-route-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 12px;
  align-items: stretch;
}

.safe-route-detail,
.safe-route-preview {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.safe-route-detail-head {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
}

.safe-route-detail h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.7vw, 38px);
  font-weight: 500;
}

.safe-route-checklist {
  display: grid;
  gap: 9px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.5;
}

.safe-route-checklist li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.safe-route-checklist span {
  color: var(--rose-deep);
  font-weight: 900;
}

.safe-route-tradeoff {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.safe-route-tradeoff strong {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
}

.safe-route-tradeoff p {
  margin: 0;
  color: var(--muted);
}

.safe-route-comfort {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.safe-route-comfort .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.safe-route-handoff {
  display: grid;
  gap: 12px;
  justify-items: start;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.safe-route-closing {
  color: var(--blue);
  font-weight: 750;
}

.safe-route-preview {
  align-content: start;
  background:
    radial-gradient(circle at 12% 18%, rgba(234, 242, 251, 0.92), transparent 8rem),
    rgba(255, 253, 249, 0.74);
}

.safe-route-preview > .prototype-badge {
  position: static;
  width: max-content;
}

.safe-route-preview-line {
  display: grid;
  grid-template-columns: auto minmax(90px, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 86px;
  color: var(--blue);
  font-weight: 800;
}

.safe-route-preview-line i {
  position: relative;
  display: block;
  height: 3px;
  border-radius: 999px;
  background: var(--blue);
}

.safe-route-preview-line i::before,
.safe-route-preview-line i::after {
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  content: "";
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: #fffdf9;
  transform: translateY(-50%);
}

.safe-route-preview-line i::before {
  left: 0;
}

.safe-route-preview-line i::after {
  right: 0;
}

.safe-route-preview-line.is-fastest i {
  background: linear-gradient(90deg, var(--blue) 0 45%, rgba(16, 43, 99, 0.42) 45% 55%, var(--blue) 55% 100%);
}

.safe-route-preview-line.is-convenient i {
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--rose-deep));
}

@keyframes safety-call-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(159, 86, 81, 0.18);
    transform: scale(1);
  }

  55% {
    box-shadow: 0 0 0 12px rgba(159, 86, 81, 0);
    transform: scale(1.015);
  }
}

.safe-display-modal {
  position: fixed;
  z-index: 180;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(23, 19, 16, 0.24);
  padding: 20px;
}

.safe-display-card {
  display: grid;
  gap: 20px;
  width: min(820px, 100%);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fffdf9;
  padding: clamp(24px, 5vw, 54px);
  box-shadow: var(--shadow);
  text-align: center;
}

.safe-display-text {
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-size: clamp(42px, 8vw, 84px);
  font-weight: 800;
  line-height: 1.1;
}

.places-product .search-bar {
  margin-top: -70px;
}

.product-map {
  min-height: 430px;
  background: #f8fbff;
}

.places-map-shell {
  position: relative;
  min-width: 0;
}

.places-prototype-map {
  isolation: isolate;
  overflow: hidden;
  min-height: 560px;
  background: #f7f9f8;
}

.places-map-scene {
  position: absolute;
  inset: 0;
  transform: scale(var(--map-zoom, 1));
  transform-origin: 50% 42%;
}

.places-map-markers {
  position: absolute;
  inset: 90px 60px 165px 0;
}

.places-prototype-map .map-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.96;
  filter: saturate(0.8) contrast(1.04);
  object-position: center;
}

.places-prototype-map .place-pin {
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 2px solid #aebacb;
  border-radius: 50% 50% 50% 6px;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 3px 8px rgba(16, 43, 99, 0.12);
  padding: 6px;
  transform: translate(-50%, -50%) rotate(-45deg);
  transition:
    background-color 180ms ease-out,
    box-shadow 180ms ease-out,
    transform 180ms ease-out;
}

.places-prototype-map .map-pin-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(45deg);
}

.places-prototype-map .place-pin.is-selected {
  z-index: 3;
  border-color: #ce9f97;
  background: #fbe8e3;
  box-shadow:
    0 0 0 4px rgba(206, 159, 151, 0.18),
    0 4px 10px rgba(16, 43, 99, 0.12);
  transform: translate(-50%, -50%) rotate(-45deg) scale(1.1);
}

.place-pin:focus-visible {
  outline: 2px solid rgba(159, 86, 81, 0.52);
  outline-offset: 3px;
}

.map-place-popover {
  z-index: 3;
  grid-template-columns: 120px 1fr auto;
  color: var(--blue);
}

.map-badge-stack {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: calc(100% - 28px);
}

.map-badge-stack .prototype-badge {
  position: static;
}

.places-prototype-map .map-badge-stack .prototype-badge {
  min-height: 24px;
  border-color: rgba(16, 43, 99, 0.11);
  background: rgba(255, 253, 249, 0.58);
  color: rgba(16, 43, 99, 0.58);
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 650;
}

.area-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(16, 43, 99, 0.26);
  border-radius: 999px;
  background: rgba(234, 242, 251, 0.82);
  padding: 5px 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.map-disclosure {
  position: absolute;
  z-index: 3;
  top: 56px;
  left: 16px;
  max-width: min(270px, 48%);
  margin: 0;
  border: 1px solid rgba(16, 43, 99, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.78);
  padding: 7px 11px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.places-prototype-map .map-disclosure {
  max-width: calc(100% - 100px);
  border-color: transparent;
  background: rgba(255, 253, 249, 0.54);
  color: rgba(82, 98, 124, 0.74);
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 600;
}

.places-map-shell .places-map-card {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: auto;
  top: auto;
  grid-template-columns: 82px minmax(0, 1fr);
  width: min(382px, calc(100% - 32px));
  gap: 10px;
  padding: 14px;
  transform: none;
  background: #fff;
  box-shadow: 0 5px 16px rgba(16, 43, 99, 0.08);
}

.places-map-shell .places-empty-popover {
  position: static;
  width: 100%;
  transform: none;
}

.places-map-card h3 {
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.25;
}

.places-map-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.places-empty-popover {
  grid-template-columns: 1fr;
}

.places-empty-popover .text-button {
  margin-top: 8px;
}

.places-map-card .popover-place-image {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  grid-row: span 2;
  border: 0;
  background: transparent;
  object-fit: contain;
}

.place-visual-fallback {
  color: var(--blue);
  background:
    radial-gradient(circle at 50% 38%, rgba(239, 184, 178, 0.22), transparent 2rem),
    rgba(255, 253, 249, 0.92);
}

.place-fallback-icon {
  width: 34px;
  height: 34px;
}

.side-filter .category-button img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.places-mvp .places-search {
  width: min(760px, 100%);
  margin-top: 0;
  margin-left: 0;
}

.places-filter-panel {
  display: grid;
  gap: 14px;
}

.places-filter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.places-filter-head h3,
.places-filter-group p {
  margin: 0;
}

.places-filter-head h3 {
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.places-filter-group {
  display: grid;
  gap: 8px;
}

.places-experience-list .filter-chip {
  border-color: var(--line);
  background: rgba(255, 253, 249, 0.94);
  color: var(--ink);
  transition:
    background-color 180ms ease-out,
    border-color 180ms ease-out,
    color 180ms ease-out,
    transform 180ms ease-out,
    box-shadow 180ms ease-out;
}

.places-experience-list .filter-chip:hover {
  transform: scale(1.01);
  border-color: var(--line-strong);
}

.places-experience-list .filter-chip.is-selected {
  border-color: var(--rose-deep);
  background: var(--rose-deep);
  color: #fffdf9;
  box-shadow: 0 8px 18px rgba(155, 91, 84, 0.18);
  transform: scale(1.02);
}

.places-more-filters {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.places-more-filters summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.94);
  padding: 9px 13px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  transition:
    background-color 180ms ease-out,
    border-color 180ms ease-out,
    color 180ms ease-out,
    transform 180ms ease-out;
}

.places-more-filters summary::-webkit-details-marker {
  display: none;
}

.places-more-filters summary:hover {
  border-color: var(--line-strong);
  transform: scale(1.01);
}

.places-more-filters[open] summary {
  border-color: rgba(155, 91, 84, 0.38);
  background: rgba(248, 222, 217, 0.74);
}

.places-more-filters summary span:last-child {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(16, 43, 99, 0.08);
  color: var(--muted);
  font-size: 11px;
}

.places-more-filter-list {
  position: absolute;
  z-index: 6;
  top: calc(100% + 8px);
  left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(390px, calc(100vw - 42px));
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.98);
  padding: 10px;
  box-shadow: var(--tight-shadow);
}

.active-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.condition-group {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.condition-group strong {
  color: var(--ink);
}

.places-mvp-layout {
  grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1.24fr);
  align-items: start;
}

.places-list-panel,
.places-card-list,
.places-detail-panel,
.places-detail-block {
  display: grid;
  gap: 12px;
}

.places-experience-tags {
  margin-bottom: 4px;
}

.places-practical-tags {
  margin-top: 10px;
  border-top: 1px solid rgba(16, 43, 99, 0.1);
  padding-top: 14px;
}

.places-detail-actions .places-back-action {
  justify-content: flex-start;
  width: max-content;
  min-height: 34px;
  padding-right: 0;
  padding-left: 0;
}

.places-card-list {
  grid-auto-rows: max-content;
  max-height: 620px;
  overflow: auto;
  padding-right: 3px;
}

.places-mvp-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: start;
  overflow: hidden;
}

.places-mvp-card .mini-thumb {
  width: 88px;
  height: 82px;
}

.places-explorer {
  display: grid;
  gap: 14px;
}

.places-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.places-view-switch {
  display: flex;
  gap: 8px;
}

.places-view-switch button {
  min-height: 44px;
  padding: 8px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms ease-out, color 180ms ease-out;
}

.places-view-switch button[aria-pressed="true"] {
  background: #617796;
  border-color: #617796;
  color: #fff;
}

.places-map-toolbar .places-search {
  display: flex;
  flex-direction: row-reverse;
  width: min(470px, 100%);
  margin: 0;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: #fff;
  overflow: hidden;
}

.places-map-toolbar .places-search input {
  flex: 1;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding-left: 0;
}

.places-map-toolbar .places-search button {
  width: 44px;
  flex: 0 0 44px;
  border: 0;
  background: transparent;
}

.places-map-toolbar .places-search:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.places-map-controls {
  position: absolute;
  z-index: 4;
  top: 106px;
  right: 14px;
  display: grid;
  gap: 6px;
}

.places-map-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.places-map-controls button:disabled {
  opacity: 0.45;
  cursor: default;
}

.places-map-controls img,
.places-map-toolbar .places-search img {
  width: 20px;
  height: 20px;
}

.places-map-controls button:focus-visible,
.places-view-switch button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.places-map-card .map-popover-link {
  width: max-content;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  min-height: 32px;
  color: var(--blue);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.places-explorer[data-view="list"] .places-map-shell {
  display: none;
}

.places-explorer[data-view="list"] .places-map-layout {
  grid-template-columns: minmax(0, 1fr);
}

.places-explorer[data-view="list"] .places-card-list {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  max-height: none;
}

.place-card-visual {
  display: grid;
  place-items: center;
  border: 1px solid rgba(16, 43, 99, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.74);
}

.places-card-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.places-card-copy > span:not(.tag) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.places-card-copy p {
  overflow-wrap: anywhere;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.prototype-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.9);
  padding: 5px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.safe-route-option-head .safe-route-pick,
.safe-route-preview > .prototype-badge {
  position: static;
  top: auto;
  left: auto;
}

.places-map-card .tag-row {
  margin-top: 7px;
  gap: 5px;
}

.places-map-card .tag {
  padding: 4px 7px;
  font-size: 11px;
}

.map-popover-link {
  grid-column: 2;
  justify-self: start;
  align-self: start;
  min-height: auto;
  margin-top: 2px;
  padding: 0;
  white-space: nowrap;
}

.places-empty-state {
  box-shadow: none;
}

.places-empty-detail {
  min-height: 180px;
  align-content: center;
}

.places-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 16px;
  align-items: start;
}

.places-detail-head h2 {
  margin: 4px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
}

.places-detail-head p {
  margin: 0;
}

.places-detail-head img,
.places-detail-head .places-detail-image {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.9);
  object-fit: contain;
}

.places-detail-visual {
  display: grid;
  place-items: center;
  color: var(--blue);
  background:
    radial-gradient(circle at 50% 38%, rgba(239, 184, 178, 0.22), transparent 4rem),
    rgba(255, 253, 249, 0.9);
}

.places-detail-visual .place-fallback-icon {
  width: 62px;
  height: 62px;
}

.places-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.places-detail-grid > div {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.62);
  padding: 12px;
}

.places-detail-grid span,
.places-detail-block {
  color: var(--muted);
}

.places-detail-block > strong {
  color: var(--ink);
}

.place-reason-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.prototype-note {
  margin: 0;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.62);
  padding: 12px;
  color: var(--muted);
  font-size: 13px;
}

.places-detail-actions {
  margin-top: 6px;
}

.map-action-link,
.route-map-link {
  white-space: normal;
}

.map-action-link:focus-visible,
.map-popover-link:focus-visible,
.route-map-link:focus-visible,
.day-stop-map-link:focus-visible,
.safe-map-action:focus-visible {
  outline: 2px solid rgba(159, 86, 81, 0.52);
  outline-offset: 3px;
}

.button.is-saved,
.soft-button.is-saved {
  border-color: var(--line-strong);
  background: var(--sage-soft);
  color: var(--ink);
  cursor: default;
}

.day-head-product,
.living-head-product,
.places-head-product {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  align-items: center;
  gap: clamp(18px, 3.2vw, 48px);
  min-height: clamp(360px, 42vw, 540px);
  overflow: hidden;
  padding: clamp(24px, 3.2vw, 42px) clamp(22px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 18%, rgba(248, 222, 217, 0.34), transparent 17rem),
    radial-gradient(circle at 86% 78%, rgba(234, 242, 251, 0.58), transparent 18rem),
    rgba(255, 255, 255, 0.82);
}

.day-head-product > div,
.living-head-product > div,
.places-head-product > div {
  position: relative;
  z-index: 1;
  max-width: 430px;
  padding-left: clamp(4px, 1.5vw, 22px);
}

.day-head-product img,
.living-head-product img,
.places-head-product img {
  width: 100%;
  height: auto;
  max-height: clamp(320px, 36vw, 460px);
  object-fit: contain;
  object-position: center;
  filter: saturate(0.96) contrast(1.01);
}

.day-head-product img {
  justify-self: start;
  max-width: 390px;
}

@media (min-width: 761px) {
  .day-head-product {
    min-height: clamp(320px, 36vw, 470px);
  }

  .day-head-product img {
    max-height: clamp(280px, 32vw, 410px);
  }
}

.living-head-product img {
  justify-self: start;
  max-width: 700px;
}

.places-head-product img {
  justify-self: start;
  max-width: 760px;
}

.product-hero-note {
  max-width: 410px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.places-mvp .places-search {
  margin-top: 0;
}

.living-home-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.living-search-panel {
  grid-column: 1 / -1;
}

.living-search-form {
  display: grid;
  gap: 10px;
}

.living-search-form label {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.living-search-form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.living-search-form input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.86);
  padding: 0 16px;
}

.living-category-panel {
  display: grid;
  gap: 14px;
}

.living-results-panel {
  min-width: 0;
}

.living-guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.living-guide-card {
  display: grid;
  align-content: space-between;
  min-height: 190px;
}

.living-empty-state {
  display: grid;
  gap: 8px;
  min-height: 170px;
  align-content: center;
}

.living-empty-state p {
  margin: 0;
  color: var(--muted);
}

.living-detail-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
}

.living-detail-main,
.living-detail-side {
  display: grid;
  gap: 18px;
}

.living-detail-section {
  display: grid;
  gap: 10px;
}

.living-progress-summary {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.74);
}

.living-progress-summary.is-complete {
  border-color: rgba(111, 143, 129, 0.42);
  background: rgba(111, 143, 129, 0.13);
  box-shadow: inset 0 0 0 1px rgba(111, 143, 129, 0.08);
}

.living-progress-summary strong,
.living-progress-summary span {
  display: block;
}

.living-progress-summary span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.living-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(51, 42, 36, 0.1);
}

.living-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--rose-deep);
  transition: width 180ms ease-out;
}

.living-progress-summary.is-complete .living-progress-track {
  background: rgba(111, 143, 129, 0.18);
}

.living-progress-summary.is-complete .living-progress-track span {
  background: var(--sage);
}

.living-save-button.is-saved,
.living-save-button.is-saved:disabled {
  opacity: 1;
  border-color: rgba(111, 143, 129, 0.46);
  background: rgba(111, 143, 129, 0.16);
  color: #345c4c;
  box-shadow: inset 0 0 0 1px rgba(111, 143, 129, 0.12);
}

.living-detail-section h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.living-checklist {
  display: grid;
  gap: 10px;
}

.living-check-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.72);
  cursor: pointer;
  transition:
    border-color 180ms ease-out,
    background-color 180ms ease-out,
    box-shadow 180ms ease-out;
}

.living-check-step.is-complete {
  border-color: rgba(111, 143, 129, 0.34);
  background: rgba(111, 143, 129, 0.1);
}

.living-check-step input {
  margin-top: 4px;
  accent-color: var(--rose-deep);
  inline-size: 18px;
  block-size: 18px;
}

.living-check-step strong,
.living-check-step span {
  display: block;
}

.living-check-step strong {
  color: var(--blue);
}

.living-check-step span {
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.living-phrase-list {
  gap: 8px;
}

.living-phrase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.living-phrase-play {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px;
}

.living-focus-rows {
  display: grid;
  gap: 8px;
}

.living-focus-row {
  display: grid;
  grid-template-columns: minmax(76px, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(16, 43, 99, 0.08);
  padding-top: 8px;
}

.living-focus-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.living-focus-row strong {
  color: var(--blue);
  font-size: 13px;
  text-align: right;
}

.warning-section,
.living-risk-note {
  border: 1px solid rgba(216, 128, 120, 0.34);
  border-radius: 8px;
  background: rgba(248, 222, 217, 0.34);
  padding: 14px;
}

.warning-section p,
.living-detail-side p,
.living-risk-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.day-suggestions-section,
.day-detail-layout {
  display: grid;
  gap: 16px;
}

.her-day-suggestion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.her-day-suggestion-card {
  min-height: 230px;
  text-align: left;
  cursor: pointer;
  color: var(--blue);
}

.her-day-suggestion-card h3,
.route-placeholder h3,
.route-overview h3,
.detail-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.her-day-suggestion-card p,
.route-placeholder p,
.route-overview p,
.her-day-stop p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.suggestion-meta,
.suggestion-includes,
.day-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.suggestion-includes span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.72);
  color: var(--muted);
  font-size: 12px;
}

.suggestion-card-action {
  margin-top: auto;
  color: var(--rose-deep);
}

.day-detail-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: start;
}

.current-day-draft > .surface:first-child {
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 92% 8%, rgba(239, 184, 178, 0.24), transparent 12rem),
    rgba(255, 253, 249, 0.88);
}

.detail-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.her-day-stop {
  grid-template-columns: 76px minmax(0, 1fr) minmax(160px, auto);
  align-items: start;
}

.her-day-stop span {
  display: block;
  margin-top: 4px;
  color: var(--rose-deep);
  font-size: 13px;
}

.day-detail-actions {
  margin-top: 18px;
}

.secondary-action {
  opacity: 0.88;
}

.day-stop-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.day-stop-actions button,
.replace-picker summary,
.day-more-actions summary {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.78);
  color: var(--blue);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  padding: 0 10px;
}

.day-stop-actions button:disabled {
  cursor: default;
  opacity: 0.38;
}

.replace-picker,
.day-more-actions {
  position: relative;
}

.replace-picker summary,
.day-more-actions summary {
  display: grid;
  place-items: center;
  list-style: none;
}

.replace-picker summary::-webkit-details-marker,
.day-more-actions summary::-webkit-details-marker {
  display: none;
}

.replace-options,
.day-more-menu {
  position: absolute;
  z-index: 4;
  right: 0;
  top: calc(100% + 8px);
  display: grid;
  width: min(270px, 76vw);
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.98);
  box-shadow: var(--tight-shadow);
}

.day-more-menu {
  width: min(180px, 66vw);
}

.day-action-note {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.replace-option {
  display: grid;
  gap: 4px;
  min-height: auto;
  border-radius: 8px;
  text-align: left;
}

.replace-option span {
  color: var(--muted);
  font-size: 12px;
}

.day-stop-map-link {
  justify-content: flex-start;
  width: max-content;
  min-height: auto;
  margin-top: 2px;
  padding: 0;
}

.day-stop-map-unavailable {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.is-destructive-text {
  color: var(--rose-deep) !important;
}

.day-stop-footer {
  display: flex;
  justify-content: flex-start;
  margin-top: 14px;
}

.day-adjust-panel {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 92% 0%, rgba(239, 184, 178, 0.2), transparent 12rem),
    rgba(255, 253, 249, 0.7);
}

.day-adjust-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.day-adjust-header h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.day-adjust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.day-start-field input {
  width: 100%;
}

.day-adjust-group {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.day-adjust-group.wide {
  grid-column: 1 / -1;
}

.day-adjust-group legend,
.day-start-field label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.route-placeholder,
.route-overview {
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.route-placeholder > *,
.route-overview > * {
  position: relative;
}

.route-map-link {
  width: max-content;
  margin-top: 12px;
}

.day-detail-actions .route-map-link {
  margin-top: 0;
}

.route-placeholder::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
  opacity: 0.55;
}

.route-summary-list {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.route-summary-list li {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  min-height: 44px;
  padding: 0 0 18px 24px;
  color: var(--blue);
}

.route-summary-list li:last-child {
  min-height: 0;
  padding-bottom: 0;
}

.route-summary-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: -6px;
  left: 7px;
  border-left: 1px solid var(--line-strong);
}

.route-summary-list li:last-child::before {
  display: none;
}

.route-summary-list li::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 2px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fffdf9;
}

.route-summary-list time {
  color: var(--rose-deep);
  font-weight: 850;
}

.route-summary-list span {
  overflow-wrap: anywhere;
  font-weight: 750;
}

.route-overview-message {
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.68);
  padding: 10px 12px;
}

.route-overview .route-map-link {
  margin-top: 14px;
}

.day-plan-card {
  align-items: flex-start;
  flex-wrap: wrap;
}

.day-plan-actions,
.delete-confirm {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.day-plan-actions .soft-button,
.day-plan-actions .text-button,
.delete-confirm .soft-button,
.delete-confirm .text-button {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px;
}

.delete-confirm {
  flex: 1 0 100%;
  justify-content: flex-start;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.delete-confirm span {
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.manageable-note {
  display: grid;
  gap: 10px;
}

.manageable-note p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.manageable-note.is-expanded p {
  display: block;
  overflow: visible;
}

.note-date {
  color: var(--muted);
  font-size: 12px;
}

.mood-chip {
  min-width: 102px;
  min-height: 104px;
  border-radius: 999px 999px 22px 22px;
}

.mood-chip img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 6px;
}

.product-phone-preview {
  background: #fff;
}

.caller-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 18px auto;
}

.auth-visual,
.welcome-panel {
  background-image: url("../images/hero.png");
  background-size: contain;
}

.assistant-panel,
.phone-screen {
  color: var(--blue);
}

.home-page {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  overflow: hidden;
  padding-bottom: clamp(46px, 8vw, 96px);
}

.home-hero .hero-inner {
  align-items: center;
}

.home-hero-v2 {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.78fr);
  gap: clamp(24px, 6vw, 86px);
  align-items: center;
  min-height: clamp(360px, 42vw, 520px);
}

.home-hero-copy-v2 {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.home-hero-copy-v2 h1 {
  margin: 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 7vw, 104px);
  font-weight: 500;
  line-height: 0.96;
}

.home-confidence-line {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 700;
  line-height: 1.6;
}

.home-hero-question {
  margin: 10px 0 0;
  color: var(--blue);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.18;
}

.home-hero-art {
  position: relative;
  min-height: clamp(260px, 32vw, 420px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 12%, rgba(248, 222, 217, 0.34), transparent 12rem),
    rgba(255, 253, 249, 0.68);
}

.home-hero-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(251, 253, 255, 0.24), transparent 24%),
    radial-gradient(ellipse at 50% 52%, transparent 58%, rgba(251, 253, 255, 0.58) 100%);
  pointer-events: none;
}

.home-hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.02);
  opacity: 0.94;
}

.home-intent-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) repeat(2, minmax(0, 0.89fr));
  gap: 14px;
  align-items: stretch;
}

.home-intent-card,
.home-today-card,
.home-editorial-card {
  min-width: 0;
  max-width: 100%;
  box-shadow: none;
}

.home-intent-card {
  display: grid;
  align-content: space-between;
  gap: 20px;
  min-height: 210px;
  padding: clamp(18px, 2.4vw, 28px);
  background: rgba(255, 253, 249, 0.78);
}

.home-intent-card-primary {
  background:
    radial-gradient(circle at 92% 8%, rgba(248, 222, 217, 0.44), transparent 13rem),
    rgba(255, 253, 249, 0.86);
}

.home-intent-card h2,
.home-today-card h2,
.home-editorial-card h3 {
  margin: 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}

.home-intent-card h2 {
  font-size: clamp(24px, 2.3vw, 34px);
}

.home-intent-card p,
.home-today-card p,
.home-editorial-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.home-choice-list {
  display: grid;
  gap: 8px;
}

.home-choice-button {
  display: grid;
  grid-template-columns: minmax(84px, auto) minmax(0, 1fr);
  justify-content: start;
  width: 100%;
  border-radius: 8px;
  text-align: left;
}

.home-choice-button small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.home-today-section,
.home-easier-section {
  display: grid;
  gap: 12px;
}

.home-today-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 3.5vw, 38px);
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.92), rgba(234, 242, 251, 0.52)),
    rgba(255, 253, 249, 0.88);
}

.home-today-card > div,
.home-editorial-card > div,
.home-intent-card > div {
  min-width: 0;
}

.home-today-card.is-draft {
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 92% 10%, rgba(248, 222, 217, 0.42), transparent 15rem),
    rgba(255, 253, 249, 0.9);
}

.home-today-card h2 {
  font-size: clamp(30px, 3.4vw, 48px);
}

.home-meta-row,
.home-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
}

.home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.home-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-editorial-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 230px;
  padding: 22px;
  overflow: hidden;
  background: rgba(255, 253, 249, 0.72);
}

.home-editorial-card h3 {
  font-size: clamp(23px, 2.2vw, 31px);
}

.home-place-thumb {
  justify-self: start;
  width: 86px;
  height: 70px;
  object-fit: contain;
  margin-top: 2px;
}

.home-brand-moment {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.34fr);
  gap: clamp(22px, 6vw, 76px);
  align-items: center;
  min-height: clamp(260px, 30vw, 380px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 8% 12%, rgba(248, 222, 217, 0.42), transparent 18rem),
    radial-gradient(circle at 92% 92%, rgba(234, 242, 251, 0.68), transparent 18rem),
    rgba(255, 253, 249, 0.76);
  padding: clamp(28px, 5.5vw, 64px);
  text-align: left;
}

.home-brand-copy {
  position: relative;
  z-index: 1;
}

.home-brand-copy blockquote {
  max-width: 820px;
  margin: 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1.08;
}

.home-brand-visual {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 240px;
  place-items: center;
}

.home-brand-visual::before {
  position: absolute;
  width: min(82%, 260px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(16, 43, 99, 0.1);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(248, 222, 217, 0.62), transparent 42%),
    rgba(255, 253, 249, 0.62);
}

.home-brand-visual img {
  position: relative;
  width: min(100%, 250px);
  max-height: 300px;
  object-fit: contain;
  filter: saturate(0.98) contrast(1.02);
}

.home-brand-sketch {
  position: relative;
  min-height: 220px;
}

.home-sketch-window {
  position: absolute;
  top: 8px;
  right: 24px;
  width: 132px;
  height: 164px;
  border: 2px solid rgba(16, 43, 99, 0.62);
  border-radius: 68px 68px 10px 10px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(16, 43, 99, 0.24) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(16, 43, 99, 0.24) 50%, transparent 51%),
    rgba(255, 253, 249, 0.62);
}

.home-sketch-line {
  position: absolute;
  right: 64px;
  bottom: 22px;
  width: 150px;
  height: 82px;
  border: 2px solid rgba(16, 43, 99, 0.48);
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 90px 0;
}

.home-sketch-line::before,
.home-sketch-line::after {
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid rgba(16, 43, 99, 0.56);
  border-radius: 50%;
  background: #fffdf9;
}

.home-sketch-line::before {
  left: -2px;
  bottom: -7px;
}

.home-sketch-line::after {
  right: -7px;
  top: -8px;
}

.home-sketch-note {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.9);
  padding: 6px 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.home-sketch-note-room {
  top: 58px;
  left: 10px;
}

.home-sketch-note-city {
  right: 6px;
  bottom: 12px;
}
