/* =========================================================
   SENTI global colour scheme
   Keep the designed light interface stable on devices that
   automatically attempt to darken light pages.
========================================================= */
:root {
  color-scheme: only light;
}

/* The app shell owns all page spacing. Remove the browser default body
   margin so the sticky navigation sits flush with every viewport edge. */
body.senti {
  margin: 0;
}

/* Unified product detail modal — Catalog, CER, dashboard, Community and Scent Talks. */
#catalogModal.senti-modal,
#cerPerfumeDetailModal.senti-modal,
#sfCommunityPerfumeModal.senti-modal,
#scentTalkPerfumeModal.senti-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 34px);
}

#catalogModal.senti-modal:not([hidden]),
#cerPerfumeDetailModal.senti-modal.is-open,
#sfCommunityPerfumeModal.senti-modal:not([hidden]),
#scentTalkPerfumeModal.senti-modal:not([hidden]) {
  display: flex !important;
}

#catalogModal .senti-modal__backdrop,
#cerPerfumeDetailModal .senti-modal__backdrop,
#sfCommunityPerfumeModal .senti-modal__backdrop,
#scentTalkPerfumeModal .senti-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,20,22,.68);
  backdrop-filter: blur(18px) saturate(.72);
  -webkit-backdrop-filter: blur(18px) saturate(.72);
}

#catalogModal .senti-modal__panel,
#cerPerfumeDetailModal .senti-modal__panel,
#sfCommunityPerfumeModal .senti-modal__panel,
#scentTalkPerfumeModal .senti-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  max-width: 1180px !important;
  max-height: min(90vh, 790px);
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.74) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 34px 110px rgba(0,0,0,.38) !important;
}

#catalogModal .senti-modal__head,
#cerPerfumeDetailModal .senti-modal__head,
#sfCommunityPerfumeModal .senti-modal__head,
#scentTalkPerfumeModal .senti-modal__head {
  position: absolute !important;
  top: 16px;
  right: 16px;
  z-index: 8;
  display: block !important;
  width: 40px;
  height: 40px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

#catalogModal .senti-modal__head > :not(button),
#cerPerfumeDetailModal .senti-modal__head > :not(button),
#sfCommunityPerfumeModal .senti-modal__head > :not(button),
#scentTalkPerfumeModal .senti-modal__head > :not(button) {
  display: none !important;
}

#catalogModal .senti-modal__head button,
#cerPerfumeDetailModal .senti-modal__head button,
#sfCommunityPerfumeModal .senti-modal__head button,
#scentTalkPerfumeModal .senti-modal__head button {
  position: relative;
  display: grid !important;
  place-items: center;
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.82) !important;
  color: transparent !important;
  font-size: 0 !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.08) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#catalogModal .senti-modal__head button::before,
#cerPerfumeDetailModal .senti-modal__head button::before,
#sfCommunityPerfumeModal .senti-modal__head button::before,
#scentTalkPerfumeModal .senti-modal__head button::before {
  content: "×";
  color: #171717;
  font: 300 25px/1 Arial, sans-serif;
}

#catalogModal .senti-modal__body,
#cerPerfumeDetailModal .senti-modal__body,
#sfCommunityPerfumeModal .senti-modal__body,
#scentTalkPerfumeModal .senti-modal__body {
  max-height: min(90vh, 790px) !important;
  padding: 0 !important;
  overflow: auto !important;
  background: #fff;
  overscroll-behavior: contain;
}

.sf-product-modal {
  display: grid;
  grid-template-columns: minmax(390px, .94fr) minmax(470px, 1.06fr);
  min-height: min(730px, 86vh);
  color: #151412;
  background: #fff;
}

.sf-product-modal__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: clamp(54px, 6vw, 82px) clamp(34px, 5vw, 70px);
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 46%, rgba(255,255,255,.96), transparent 34%),
    linear-gradient(145deg, #f8f5ef 0%, #f2eee7 100%);
}

.sf-product-modal__eyebrow {
  position: absolute;
  top: 30px;
  left: 34px;
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(169,119,53,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.54);
  color: #9a6a32;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.sf-product-modal__image {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 450px;
}

.sf-product-modal__image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 570px;
  object-fit: contain;
  filter: drop-shadow(0 28px 28px rgba(38,31,23,.12));
}

.sf-product-modal__placeholder {
  color: rgba(17,17,17,.2);
  font-size: 18px;
  letter-spacing: .38em;
}

.sf-product-modal__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(42px, 5vw, 66px) clamp(32px, 4.6vw, 62px) 38px;
}

.sf-product-modal__header {
  padding-right: 34px;
}

.sf-product-modal .catalog-detail-brand {
  margin: 0 0 11px;
  color: #746d65;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.sf-product-modal .catalog-detail-title {
  margin: 0;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(42px, 4.2vw, 63px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.035em;
}

.sf-product-modal__lead {
  margin: 15px 0 0;
  color: #4f4a44;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: 14px;
  line-height: 1.55;
}

.sf-product-modal__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}

.sf-product-modal__pills .senti-pill {
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(24,22,20,.10);
  border-radius: 999px;
  background: #faf8f5;
  color: #645f59;
  font-size: 9px;
  font-weight: 600;
}

.sf-product-modal__story,
.sf-product-modal__notes,
.sf-product-modal__variants {
  padding-top: 21px;
  margin-top: 21px;
  border-top: 1px solid rgba(24,22,20,.12);
}

.sf-product-modal .catalog-detail-section-title {
  margin: 0;
  color: #665f57;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.sf-product-modal__story p,
.sf-product-modal__empty {
  margin: 12px 0 0;
  color: #514c46;
  font-size: 11.5px;
  line-height: 1.65;
}

.sf-product-modal__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.sf-product-modal__section-head > span {
  color: #8b847b;
  font-size: 9px;
}

.sf-product-modal__note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 7px;
}

.sf-product-modal__note {
  min-width: 0;
  border: 1px solid rgba(24,22,20,.11);
  border-radius: 5px;
  background: #fff;
}

.sf-product-modal__note summary,
.sf-product-modal__note--static {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 7px 10px;
  list-style: none;
}

.sf-product-modal__note summary {
  cursor: pointer;
}

.sf-product-modal__note summary::-webkit-details-marker {
  display: none;
}

.sf-product-modal__note-visual {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
}

.sf-product-modal__note-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sf-product-modal__note-visual i {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #f2eee8;
  color: #8b6945;
  font-size: 11px;
  font-style: normal;
}

.sf-product-modal__note strong,
.sf-product-modal__note small {
  display: block;
}

.sf-product-modal__note strong {
  overflow: hidden;
  color: #25221f;
  font-size: 10px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-product-modal__note small {
  margin-top: 3px;
  overflow: hidden;
  color: #8b847b;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-product-modal__note summary b {
  color: #9a6a32;
  font-size: 15px;
  font-weight: 400;
}

.sf-product-modal__note[open] summary b {
  transform: rotate(45deg);
}

.sf-product-modal__note > p {
  margin: 0;
  padding: 0 11px 11px 58px;
  color: #67615a;
  font-size: 9px;
  line-height: 1.5;
}

.sf-product-modal__variants {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.sf-product-modal__variant-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.sf-product-modal__variant {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(24,22,20,.12);
  border-radius: 5px;
}

.sf-product-modal__variant:first-child {
  border-color: rgba(169,119,53,.56);
}

.sf-product-modal__variant strong {
  font-size: 10px;
}

.sf-product-modal__variant span {
  color: #777067;
  font-size: 9px;
}

.sf-product-modal__cta {
  align-self: flex-start;
  margin-top: 20px;
  color: #8e5f29;
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
}

.sf-product-modal__library-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
}

.sf-product-modal__library-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(24, 22, 20, .15);
  border-radius: var(--senti-surface-radius, 5px);
  background: #fff;
  color: #292521;
  font-size: 10px;
  font-weight: 720;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.sf-product-modal__library-action:hover:not(:disabled) {
  border-color: rgba(169, 119, 53, .55);
  transform: translateY(-1px);
}

.sf-product-modal__library-action.is-active {
  border-color: rgba(169, 119, 53, .48);
  background: rgba(169, 119, 53, .09);
  color: #895b25;
}

.sf-product-modal__library-action:disabled {
  opacity: .48;
  cursor: not-allowed;
}

.sf-product-modal__library-action svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sf-product-modal__library-action.is-active svg {
  fill: currentColor;
}

.sf-product-modal__library-status {
  flex: 1 0 100%;
  min-height: 16px;
  color: #746c63;
  font-size: 9.5px;
}

.sf-product-modal__library-status.is-error {
  color: #a82420;
}

@media (max-width: 620px) {
  .sf-product-modal__library-action {
    flex: 1 1 100%;
  }
}

@media (max-width: 860px) {
  #catalogModal.senti-modal,
  #cerPerfumeDetailModal.senti-modal,
  #sfCommunityPerfumeModal.senti-modal,
  #scentTalkPerfumeModal.senti-modal {
    align-items: flex-end;
    padding: 10px;
  }

  #catalogModal .senti-modal__panel,
  #cerPerfumeDetailModal .senti-modal__panel,
  #sfCommunityPerfumeModal .senti-modal__panel,
  #scentTalkPerfumeModal .senti-modal__panel {
    max-height: calc(100dvh - 20px);
    border-radius: 8px !important;
  }

  #catalogModal .senti-modal__body,
  #cerPerfumeDetailModal .senti-modal__body,
  #sfCommunityPerfumeModal .senti-modal__body,
  #scentTalkPerfumeModal .senti-modal__body {
    max-height: calc(100dvh - 20px) !important;
  }

  .sf-product-modal {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .sf-product-modal__visual {
    min-height: 330px;
    padding: 52px 28px 26px;
  }

  .sf-product-modal__eyebrow {
    top: 20px;
    left: 20px;
  }

  .sf-product-modal__image {
    min-height: 250px;
    max-height: 330px;
  }

  .sf-product-modal__content {
    padding: 28px 20px 30px;
  }

  .sf-product-modal .catalog-detail-title {
    font-size: clamp(38px, 12vw, 52px);
  }

  .sf-product-modal__note-grid {
    grid-template-columns: 1fr;
  }

  .sf-product-modal__variants {
    align-items: flex-start;
    flex-direction: column;
  }

  .sf-product-modal__variant-list {
    justify-content: flex-start;
  }
}

/* Shared landscape geometry and title treatment for primary SENTI views. */
.sf-page.sf-unified-page {
  padding-inline: 0 !important;
}

.sf-unified-page-shell {
  width: min(var(--senti-fw-container, 1480px), calc(100% - clamp(36px, 6vw, 96px))) !important;
  max-width: 1480px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}

/* POS note encyclopedia: use the available horizontal space in landscape
   without changing the established portrait and mobile grid behaviour. */
@media (orientation: landscape) and (min-width: 1024px) {
  .pos-notes-page .pos-notes-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.sf-page-header {
  position: relative;
  min-height: 76px;
  padding-left: 98px;
}

.sf-page-header .senti-kicker,
.sf-page-header .senti-title,
.sf-page-header .senti-subtitle {
  margin-left: 0 !important;
}

.sf-page-header__icon {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(183, 131, 63, .72);
  border-radius: 50%;
  background: #fff;
  color: #b7833f;
  box-sizing: border-box;
}

.sf-page-header__icon > img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: none;
}

.pospl-hero.sf-page-header {
  padding-left: 0;
}

.pospl-hero.sf-page-header .sf-page-header__icon {
  position: static;
  flex: 0 0 76px;
}

@media (max-width: 760px) {
  .sf-unified-page-shell {
    width: calc(100% - 24px) !important;
  }

  .sf-page-header {
    min-height: 58px;
    padding-left: 72px;
  }

  .sf-page-header__icon {
    width: 58px;
    height: 58px;
  }

  .sf-page-header__icon > img {
    width: 29px;
    height: 29px;
  }

  .pospl-hero.sf-page-header .sf-page-header__icon {
    flex-basis: 58px;
  }
}

/* Product modal landscape behaviour: keep the visual still and scroll only copy. */
@media (min-width: 861px) {
  body #catalogModal .senti-modal__body,
  body #cerPerfumeDetailModal .senti-modal__body,
  body #sfCommunityPerfumeModal .senti-modal__body,
  body #scentTalkPerfumeModal .senti-modal__body {
    width: 100%;
    height: min(90vh, 790px);
    max-height: min(90vh, 790px) !important;
    overflow: hidden !important;
  }

  body #catalogModal .sf-product-modal,
  body #cerPerfumeDetailModal .sf-product-modal,
  body #sfCommunityPerfumeModal .sf-product-modal,
  body #scentTalkPerfumeModal .sf-product-modal {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  body #catalogModal .sf-product-modal__visual,
  body #cerPerfumeDetailModal .sf-product-modal__visual,
  body #sfCommunityPerfumeModal .sf-product-modal__visual,
  body #scentTalkPerfumeModal .sf-product-modal__visual {
    position: sticky;
    top: 0;
    height: 100%;
    align-self: stretch;
  }

  body #catalogModal .sf-product-modal__content,
  body #cerPerfumeDetailModal .sf-product-modal__content,
  body #sfCommunityPerfumeModal .sf-product-modal__content,
  body #scentTalkPerfumeModal .sf-product-modal__content {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  body #catalogModal .sf-product-modal__content::-webkit-scrollbar,
  body #cerPerfumeDetailModal .sf-product-modal__content::-webkit-scrollbar,
  body #sfCommunityPerfumeModal .sf-product-modal__content::-webkit-scrollbar,
  body #scentTalkPerfumeModal .sf-product-modal__content::-webkit-scrollbar {
    width: 7px;
  }

  body #catalogModal .sf-product-modal__content::-webkit-scrollbar-thumb,
  body #cerPerfumeDetailModal .sf-product-modal__content::-webkit-scrollbar-thumb,
  body #sfCommunityPerfumeModal .sf-product-modal__content::-webkit-scrollbar-thumb,
  body #scentTalkPerfumeModal .sf-product-modal__content::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(30, 28, 25, .34);
  }
}

/* Slightly more readable editorial copy across every unified product modal. */
.sf-product-modal__lead {
  font-size: 15px;
  line-height: 1.58;
}

.sf-product-modal__story p,
.sf-product-modal__empty {
  font-size: 12.5px;
  line-height: 1.68;
}

.sf-product-modal__section-head > span {
  font-size: 9.5px;
}

/* An opened note becomes its own full-width row instead of stretching its neighbour. */
.sf-product-modal__note-grid {
  align-items: start;
}

.sf-product-modal__note {
  align-self: start;
}

.sf-product-modal__note[open] {
  grid-column: 1 / -1;
  border-color: rgba(169, 119, 53, .30);
  box-shadow: 0 10px 26px rgba(54, 43, 31, .055);
}

.sf-product-modal__note[open] > p {
  animation: sf-product-note-reveal 180ms ease-out both;
}

.sf-product-modal__note > p {
  padding: 2px 16px 15px 58px;
  font-size: 10.5px;
  line-height: 1.62;
}

@keyframes sf-product-note-reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sf-product-modal__note[open] > p {
    animation: none;
  }
}

/* =========================================================
   SENTI surface language
   Shared restrained radius and warm-gold scoring accent.
========================================================= */
:root {
  --senti-accent-gold: #a97735;
  --senti-accent-gold-soft: rgba(169, 119, 53, .16);
  --senti-surface-radius: 5px;
}

/* Primary cards only. Pills, avatars and icon controls stay circular. */
#sentiCatalogPage .sf-community-member-card,
#sentiCatalogPage .sf-catalog-card,
#sentiCatalogPage .senti-catalog-filter-card,
.sf-community-directory .sf-community-member-card,
.sf-community-profile .sf-community-profile-hero,
.sf-community-profile .sf-community-panel,
.sf-community-profile .sf-community-character,
.sf-community-profile .sf-profile-mate-card,
.sf-community-profile .sf-community-collection-card,
.scent-talks .senti-card,
.scent-talks .scent-talks-post-shell,
.scent-talks .scent-talks-mini-perfume,
#sentiCollectionPage .sf-collection-stats,
#sentiCollectionPage article.senti-collection-card.sf-collection-card {
  border-radius: var(--senti-surface-radius) !important;
}

#sentiCatalogPage .sf-community-member-card,
#sentiCatalogPage .sf-catalog-card,
.sf-community-directory .sf-community-member-card,
#sentiCollectionPage article.senti-collection-card.sf-collection-card {
  transition:
    border-color var(--senti-fw-transition, 180ms ease),
    box-shadow var(--senti-fw-transition, 180ms ease),
    transform var(--senti-fw-transition, 180ms ease);
}

#sentiCatalogPage .sf-community-member-card:hover,
#sentiCatalogPage .sf-catalog-card:hover,
.sf-community-directory .sf-community-member-card:hover,
#sentiCollectionPage article.senti-collection-card.sf-collection-card:hover {
  border-color: rgba(169, 119, 53, .28) !important;
}

/* One visual vocabulary for personality-match percentages. */
.sf-community-member-card .sf-score-ring,
#sentiCatalogPage .sf-score-ring,
#sentiCatalogPage .sf-catalog-fitbadge.sf-score-ring {
  background:
    radial-gradient(circle, #fff 60%, transparent 62%),
    conic-gradient(var(--match-color, var(--senti-accent-gold)) var(--sf-score), var(--match-color-soft, var(--senti-accent-gold-soft)) 0) !important;
}

#sentiCatalogPage .senti-catalog-match-panel__reason{
  display:block!important;
  overflow:visible!important;
  max-height:none!important;
  -webkit-line-clamp:unset!important;
}

.sf-match-heat-legend{
  margin:0 0 24px;
  padding:16px 20px 18px;
  border:1px solid rgba(17,17,17,.09);
  border-radius:var(--senti-surface-radius);
  background:rgba(255,255,255,.82);
}

.sf-match-heat-legend__head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:18px;
  margin-bottom:15px;
}

.sf-match-heat-legend__head span{
  color:#24211e;
  font-size:11px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.sf-match-heat-legend__head small{
  color:#817a73;
  font-size:11px;
  line-height:1.35;
  text-align:right;
}

.sf-match-heat-legend__scale{position:relative}

.sf-match-heat-legend__track{
  height:5px;
  margin:0 12px;
  border-radius:999px;
  background:linear-gradient(90deg,#4f8fb7 0%,#4e9eaa 25%,#529c67 50%,#97a54e 65%,#d39140 80%,#c95b37 90%,#8b2d37 100%);
  box-shadow:inset 0 0 0 1px rgba(17,17,17,.06),0 3px 12px rgba(65,89,81,.10);
}

.sf-match-heat-legend__labels{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  align-items:start;
  margin-top:10px;
}

.sf-match-heat-legend__labels span{
  justify-self:start;
  padding:4px 8px;
  border:1px solid currentColor;
  border-radius:999px;
  background:#fff;
  font-size:9px;
  font-weight:750;
  line-height:1;
  letter-spacing:.035em;
  white-space:nowrap;
}

.sf-match-heat-legend__labels span:nth-child(2){justify-self:center}
.sf-match-heat-legend__labels span:nth-child(3){justify-self:end}
.sf-match-heat-legend__labels .is-cold{color:#397a9f}
.sf-match-heat-legend__labels .is-balanced{color:#447f54}
.sf-match-heat-legend__labels .is-hot{color:#8b2d37}

@media(max-width:640px){
  .sf-match-heat-legend{padding:14px 12px 15px;margin-bottom:18px}
  .sf-match-heat-legend__head{display:block;margin-bottom:14px}
  .sf-match-heat-legend__head small{display:block;margin-top:5px;text-align:left}
  .sf-match-heat-legend__track{margin:0 8px}
  .sf-match-heat-legend__labels span{padding:4px 6px;font-size:8px}
}

/* Collection match badge: smaller and given deliberate breathing room. */
#sentiCollectionPage .sf-collection-list .sf-collection-card .sf-collection-match {
  top: 36px !important;
  left: 36px !important;
  width: 46px !important;
  max-width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
}

#sentiCollectionPage .sf-collection-list .sf-collection-card .sf-score-ring--collection-match {
  width: 46px !important;
  height: 46px !important;
  flex: 0 0 46px !important;
  background:
    conic-gradient(
      from 0deg at 50% 50%,
      var(--match-heat-a) 0deg,
      var(--match-heat-highlight) var(--sf-score-mid),
      var(--match-heat-b) var(--sf-score-deg),
      #f1efec var(--sf-score-deg),
      #f1efec 360deg
    ) !important;
}

#sentiCollectionPage .sf-collection-list .sf-collection-card .sf-score-ring--collection-match::before {
  content: "" !important;
  position: absolute !important;
  inset: 4px !important;
  border-radius: inherit !important;
  background: #fff !important;
}

#sentiCollectionPage .sf-collection-list .sf-collection-card .sf-score-ring--collection-match span {
  font-size: 15px !important;
  font-weight: 600 !important;
}

@media (max-width: 760px) {
  #sentiCollectionPage .sf-collection-list .sf-collection-card .sf-collection-match {
    top: 22px !important;
    left: 22px !important;
  }
}

/* =========================================================
   Collection perfume cards - editorial layout
========================================================= */
.sf-collection-list {
  display: grid;
  gap: 16px;
}

article.senti-collection-card.sf-collection-card {
  position: relative !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(17,17,17,.11) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 14px 36px rgba(28,22,16,.045) !important;
}

.sf-collection-card .sf-collection-card__layout {
  display: grid !important;
  grid-template-columns: minmax(130px, 180px) minmax(300px, 1fr) minmax(290px, 360px) !important;
  gap: clamp(22px, 2.8vw, 44px) !important;
  align-items: center !important;
  padding: 28px 48px 28px 28px !important;
}

.sf-collection-card .sf-collection-card__media {
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
}

.sf-collection-card .sf-collection-card__image {
  display: block;
  width: 100% !important;
  height: 170px !important;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff;
}

.sf-collection-card .sf-collection-card__body {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  min-width: 0;
}

.sf-collection-card .sf-collection-card__head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas: none !important;
  gap: 18px !important;
  align-items: start !important;
  margin: 0 !important;
}

.sf-collection-card__titlecopy {
  min-width: 0;
}

.sf-collection-card .sf-collection-card__brand {
  display: block !important;
  margin: 0 0 7px !important;
  color: #85796b !important;
  font-size: 10px !important;
  font-weight: 760 !important;
  letter-spacing: .17em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

.sf-collection-card .sf-collection-card__name {
  display: block !important;
  margin: 0 !important;
  color: #111 !important;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif) !important;
  font-size: clamp(23px, 2vw, 31px) !important;
  font-weight: 520 !important;
  letter-spacing: -.025em !important;
  line-height: 1.08 !important;
  overflow-wrap: anywhere;
}

.sf-collection-card .sf-collection-match {
  position: static !important;
  grid-column: auto !important;
  grid-row: auto !important;
  display: flex !important;
  min-width: 0 !important;
  max-width: 110px !important;
  gap: 8px !important;
  align-items: center !important;
  justify-self: end !important;
  margin: 0 !important;
  text-align: left !important;
  white-space: normal !important;
}

.sf-collection-card .sf-score-ring--collection-match {
  width: 50px !important;
  height: 50px !important;
  flex-basis: 50px !important;
  background:
    conic-gradient(
      from 0deg at 50% 50%,
      var(--match-heat-a) 0deg,
      var(--match-heat-highlight) var(--sf-score-mid),
      var(--match-heat-b) var(--sf-score-deg),
      #f1efec var(--sf-score-deg),
      #f1efec 360deg
    ) !important;
}

.sf-collection-card .sf-score-ring--collection-match::before {
  inset: 4px !important;
}

.sf-collection-card .sf-score-ring--collection-match span {
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif) !important;
  font-size: 17px !important;
  font-weight: 560 !important;
}

.sf-collection-card .sf-collection-match__label {
  color: #726a61 !important;
  font-size: 9px !important;
  font-weight: 760 !important;
  letter-spacing: .08em !important;
  line-height: 1.25 !important;
}

.sf-collection-card .sf-collection-card__reason {
  max-width: 680px !important;
  margin: 0 !important;
  color: #66615b !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.sf-collection-card .sf-collection-feedback {
  display: block !important;
  margin: 2px 0 0 !important;
}

.sf-collection-card .sf-collection-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.sf-collection-actions__label {
  flex-basis: 100%;
  margin-bottom: 1px;
  color: #706a63;
  font-size: 11px;
  line-height: 1.2;
}

.sf-collection-card .sf-collection-actions .senti-btn {
  min-height: 36px !important;
  height: 36px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 760 !important;
}

.sf-collection-card .sf-collection-actions .senti-btn span {
  margin-right: 3px;
  font-size: 12px;
}

.sf-collection-card .sf-collection-actions .senti-btn.is-on {
  border-color: #111 !important;
  background: #111 !important;
  color: #fff !important;
}

.sf-collection-card__controls {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-width: 0;
  padding: 4px 0 4px clamp(24px, 2.6vw, 40px);
  border-left: 1px solid rgba(17,17,17,.10);
}

.sf-collection-card .sf-collection-metrics {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 17px !important;
}

.sf-collection-card .sf-rating-row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 7px !important;
}

.sf-collection-card .sf-rating-row__label {
  color: #6d675f !important;
  font-size: 10px !important;
  font-weight: 720 !important;
  letter-spacing: .04em;
}

.sf-collection-card .sf-rating-slider {
  gap: 12px !important;
}

.sf-collection-card .sf-rating-slider__range::-webkit-slider-runnable-track {
  height: 2px !important;
  background: linear-gradient(to right, #b8945e 0 var(--pct, 0%), #dedbd6 var(--pct, 0%) 100%) !important;
}

.sf-collection-card .sf-rating-slider__range::-webkit-slider-thumb {
  width: 12px !important;
  height: 12px !important;
  margin-top: -5px !important;
  border: 0 !important;
  background: #b8945e !important;
  box-shadow: 0 0 0 3px #fff !important;
}

.sf-collection-card .sf-rating-slider__range::-moz-range-track,
.sf-collection-card .sf-rating-slider__range::-moz-range-progress {
  height: 2px !important;
}

.sf-collection-card .sf-rating-slider__range::-moz-range-progress {
  background: #b8945e !important;
}

.sf-collection-card .sf-rating-slider__range::-moz-range-thumb {
  width: 12px !important;
  height: 12px !important;
  border: 0 !important;
  background: #b8945e !important;
  box-shadow: 0 0 0 3px #fff !important;
}

.sf-collection-card .sf-rating-slider__value {
  min-width: 36px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #312e2a !important;
  font-size: 10px !important;
}

.sf-collection-note-trigger {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9a743f;
  font: inherit;
  font-size: 11px;
  font-weight: 720;
  cursor: pointer;
}

.sf-collection-note-trigger:hover {
  color: #111;
}

.sf-collection-note-trigger > span:first-child {
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.sf-collection-card .senti-collection-remove {
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  z-index: 12 !important;
  width: 27px !important;
  height: 27px !important;
  border-color: transparent !important;
  background: transparent !important;
  color: #817a72 !important;
  font-size: 21px !important;
  box-shadow: none !important;
  opacity: .65 !important;
}

.sf-collection-card .senti-collection-remove:hover {
  border-color: rgba(17,17,17,.11) !important;
  background: #f7f5f2 !important;
  color: #111 !important;
  opacity: 1 !important;
}

.sf-collection-card .senti-remove-confirm {
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  border-radius: 10px !important;
}

.sf-collection-note-preview {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  border-top: 1px solid rgba(17,17,17,.08);
  border-radius: 0;
  background: #f5f2ed;
}

.sf-collection-note-preview[hidden] {
  display: none !important;
}

.sf-collection-note-preview__label {
  display: block;
  margin-bottom: 5px;
  color: #887258;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1;
  text-transform: uppercase;
}

.sf-collection-note-preview p {
  margin: 0;
  color: #4f4a44;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-line;
}

.sf-collection-note-preview__edit {
  flex: 0 0 auto;
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid rgba(17,17,17,.25);
  background: transparent;
  color: #5f5952;
  font: inherit;
  font-size: 10px;
  font-weight: 720;
  cursor: pointer;
}

.sf-collection-comment-modal[hidden] {
  display: none !important;
}

.sf-collection-comment-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.sf-collection-comment-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(20,18,16,.48);
  backdrop-filter: blur(4px);
  cursor: default;
}

.sf-collection-comment-modal__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 26px;
  border: 1px solid rgba(17,17,17,.11);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(17,17,17,.2);
}

.sf-collection-comment-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.sf-collection-comment-modal__head span {
  display: block;
  margin-bottom: 6px;
  color: #9a743f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sf-collection-comment-modal__head h3 {
  margin: 0;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: 24px;
  font-weight: 520;
  line-height: 1.15;
}

.sf-collection-comment-modal__close {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.sf-collection-comment-modal .sf-collection-textarea {
  min-height: 160px !important;
  padding: 15px 16px !important;
  border: 1px solid rgba(17,17,17,.14) !important;
  border-radius: 9px !important;
  background: #fbfaf8 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  resize: vertical !important;
}

.sf-collection-comment-modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 14px;
}

.sf-collection-comment-modal__footer .js-comment-status {
  margin-right: auto;
}

.sf-collection-comment-modal .sf-collection-save-comment {
  min-height: 42px !important;
  padding: 0 18px !important;
  border-color: #111 !important;
  border-radius: 6px !important;
  background: #111 !important;
  color: #fff !important;
}

body.sf-modal-open {
  overflow: hidden;
}

@media (max-width: 1180px) {
  .sf-collection-card .sf-collection-card__layout {
    grid-template-columns: 140px minmax(260px, 1fr) minmax(240px, 300px) !important;
    gap: 24px !important;
    padding: 24px 42px 24px 22px !important;
  }

  .sf-collection-card__controls {
    padding-left: 24px;
  }
}

@media (max-width: 900px) {
  .sf-collection-card .sf-collection-card__layout {
    grid-template-columns: 125px minmax(0, 1fr) !important;
    align-items: start !important;
  }

  .sf-collection-card__controls {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    padding: 20px 0 0;
    border-top: 1px solid rgba(17,17,17,.10);
    border-left: 0;
  }

  .sf-collection-card .sf-collection-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .sf-collection-list {
    gap: 13px;
  }

  .sf-collection-card .sf-collection-card__layout {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 17px !important;
    padding: 22px 38px 20px 17px !important;
  }

  .sf-collection-card .sf-collection-card__image {
    height: 112px !important;
  }

  .sf-collection-card .sf-collection-card__head {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .sf-collection-card .sf-collection-card__name {
    font-size: 22px !important;
  }

  .sf-collection-card .sf-collection-match {
    justify-self: start !important;
    max-width: none !important;
  }

  .sf-collection-card .sf-score-ring--collection-match {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }

  .sf-collection-card .sf-collection-card__reason,
  .sf-collection-card .sf-collection-feedback {
    grid-column: 1 / -1;
  }

  .sf-collection-card__controls {
    display: flex;
    align-items: stretch;
    gap: 17px;
  }

  .sf-collection-card .sf-collection-metrics {
    grid-template-columns: 1fr !important;
  }

  .sf-collection-note-preview {
    padding: 14px 17px;
  }

  .sf-collection-comment-modal {
    align-items: end;
    padding: 10px;
  }

  .sf-collection-comment-modal__panel {
    width: 100%;
    padding: 21px 17px 17px;
    border-radius: 14px;
  }

  .sf-collection-comment-modal__footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .sf-collection-comment-modal__footer .js-comment-status {
    grid-column: 1 / -1;
    margin: 0;
  }
}

.sf-app-main {
  min-width: 0;
}

.senti-fw, .senti-fw * {
  box-sizing: border-box;
}

.senti-fw {
  color: var(--senti-fw-ink);
  font-family: var(--senti-fw-sans);
  font-size: var(--senti-fw-text-md);
  line-height: 1.58;
}

.senti-fw a {
  color: inherit;
  text-decoration: none;
}

.senti-fw img, .senti-fw svg {
  max-width: 100%;
  height: auto;
}

.senti-fw ::selection {
  background: rgba(234, 220, 200, 0.75);
  color: var(--senti-fw-ink);
}

.sf-shell {
  width: min(var(--senti-fw-container), calc(100% - (var(--senti-fw-gutter) * 2)));
  margin-inline: auto;
}

.sf-shell > .senti.senti-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.sf-shells--narrow {
  width: min(var(--senti-fw-container-narrow), calc(100% - (var(--senti-fw-gutter) * 2)));
}

.senti-fw-section {
  margin-block: var(--senti-fw-section-gap);
}

.senti-fw-grid {
  display: grid;
  gap: var(--senti-fw-card-gap);
}

.senti-fw-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.senti-fw-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.senti-fw-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.senti-fw-kicker, .senti-fw .senti-fw-kicker {
  display: block;
  margin: 0 0 10px;
  color: #a77b46;
  font-family: var(--senti-fw-sans);
  font-size: var(--senti-fw-text-xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.senti-fw h1, .senti-fw-h1 {
  margin: 0;
  color: var(--senti-fw-ink);
  font-family: var(--senti-fw-serif);
  font-size: var(--senti-fw-h1);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.senti-fw h2, .senti-fw-h2 {
  margin: 0;
  color: var(--senti-fw-ink);
  font-family: var(--senti-fw-serif);
  font-size: var(--senti-fw-h2);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.senti-fw h3, .senti-fw-h3 {
  margin: 0;
  color: var(--senti-fw-ink);
  font-family: var(--senti-fw-serif);
  font-size: var(--senti-fw-h3);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.senti-fw h4, .senti-fw-h4 {
  margin: 0;
  color: var(--senti-fw-ink);
  font-family: var(--senti-fw-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.senti-fw p, .senti-fw-text {
  margin: 0;
  color: var(--senti-fw-graphite);
  font-family: var(--senti-fw-sans);
  font-size: var(--senti-fw-text-md);
  font-weight: 400;
  line-height: 1.68;
}

.senti-fw-lead {
  max-width: 620px;
  color: #5f5a55;
  font-size: 15px;
  line-height: 1.72;
}

.senti-fw-small {
  color: var(--senti-fw-muted);
  font-size: var(--senti-fw-text-sm);
  line-height: 1.45;
}

.senti-fw-meta {
  color: var(--senti-fw-soft-muted);
  font-family: var(--senti-fw-sans);
  font-size: var(--senti-fw-text-xs);
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.senti-fw-code {
  font-family: var(--senti-fw-mono);
  letter-spacing: 0.08em;
}

.senti-fw-card, .senti-fw-panel, .senti-fw-surface {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--senti-fw-line);
  border-radius: var(--senti-fw-radius-xs);
  box-shadow: var(--senti-fw-shadow-sm);
}

.senti-fw-card {
  padding: clamp(18px, 2.1vw, 30px);
}

.senti-fw-panel {
  padding: clamp(22px, 3vw, 42px);
}

.senti-fw-surface--flat {
  box-shadow: none;
}

.senti-fw-surface--ivory {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(250, 247, 242, 0.86));
}

.senti-fw-surface--champagne {
  background: radial-gradient(circle at 10% 0%, rgba(247, 238, 226, 0.86), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 234, 220, 0.42));
}

.senti-fw-divider {
  width: 100%;
  height: 1px;
  margin-block: 22px;
  background: var(--senti-fw-line);
}

.senti-fw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--senti-fw-line-strong);
  border-radius: var(--senti-fw-radius-xs);
  background: var(--senti-fw-paper);
  color: var(--senti-fw-ink);
  cursor: pointer;
  font-family: var(--senti-fw-sans);
  font-size: var(--senti-fw-text-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform var(--senti-fw-transition), box-shadow var(--senti-fw-transition), background var(--senti-fw-transition), border-color var(--senti-fw-transition);
}

.senti-fw-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--senti-fw-shadow-xs);
}

.senti-fw-btn--primary {
  border-color: var(--senti-fw-ink);
  background: var(--senti-fw-ink);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(11, 11, 11, 0.14);
}

.senti-fw-btn--primary:hover {
  background: #000000;
}

.senti-fw-btn--ghost {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.senti-fw-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--senti-fw-ink);
  font-size: var(--senti-fw-text-sm);
  font-weight: 700;
}

.senti-fw-text-link::after {
  content: "→";
  transition: transform var(--senti-fw-transition);
}

.senti-fw-text-link:hover::after {
  transform: translateX(3px);
}

.senti-fw-input, .senti-fw-select, .senti-fw-textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid var(--senti-fw-line);
  border-radius: var(--senti-fw-radius-xs);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 8px 22px rgba(11, 11, 11, 0.035);
  color: var(--senti-fw-ink);
  font-family: var(--senti-fw-sans);
  font-size: var(--senti-fw-text-md);
  outline: none;
  transition: border-color var(--senti-fw-transition), box-shadow var(--senti-fw-transition), background var(--senti-fw-transition);
}

.senti-fw-textarea {
  min-height: 110px;
  padding-block: 13px;
  resize: vertical;
}

.senti-fw-input::placeholder, .senti-fw-textarea::placeholder {
  color: rgba(58, 58, 58, 0.44);
}

.senti-fw-input:focus, .senti-fw-select:focus, .senti-fw-textarea:focus {
  border-color: rgba(11, 11, 11, 0.28);
  box-shadow: 0 0 0 4px rgba(243, 234, 220, 0.72), 0 10px 26px rgba(11, 11, 11, 0.055);
}

.senti-fw-searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px;
  border: 1px solid var(--senti-fw-line);
  border-radius: var(--senti-fw-radius-xs);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--senti-fw-shadow-sm);
}

.senti-fw-searchbar .senti-fw-input {
  min-height: 40px;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.senti-fw-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--senti-fw-line);
  border-radius: var(--senti-fw-radius-xs);
  background: rgba(255, 255, 255, 0.86);
  color: var(--senti-fw-graphite);
  cursor: pointer;
  font-size: var(--senti-fw-text-sm);
  font-weight: 700;
  line-height: 1;
  transition: background var(--senti-fw-transition), color var(--senti-fw-transition), border-color var(--senti-fw-transition), transform var(--senti-fw-transition);
}

.senti-fw-chip:hover {
  transform: translateY(-1px);
  border-color: var(--senti-fw-line-strong);
}

.senti-fw-chip.is-active, .senti-fw-chip--active {
  border-color: var(--senti-fw-ink);
  background: var(--senti-fw-ink);
  color: #ffffff;
}

.senti-fw-score-ring {
  --score: 75;
  --score-size: 52px;
  --score-color: #b48a56;
  display: inline-grid;
  place-items: center;
  width: var(--score-size);
  height: var(--score-size);
  border-radius: 50%;
  background: radial-gradient(circle closest-side, #ffffff 73%, transparent 74% 100%),
    conic-gradient(var(--score-color) calc(var(--score) * 1%), rgba(11, 11, 11, 0.09) 0);
  color: var(--senti-fw-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.senti-fw-aura-soft {
  background: radial-gradient(circle at 42% 38%, rgba(238, 233, 248, 0.92), transparent 28%),
    radial-gradient(circle at 62% 54%, rgba(247, 238, 238, 0.86), transparent 32%),
    radial-gradient(circle at 50% 72%, rgba(243, 234, 220, 0.72), transparent 42%);
  border: 1px solid rgba(11, 11, 11, 0.08);
  box-shadow: inset 0 0 44px rgba(255, 255, 255, 0.74), 0 10px 28px rgba(11, 11, 11, 0.055);
}

@media (max-width: 1100px) {
.senti-fw-grid--4, .senti-fw-grid--3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 720px) {
:root {
  --senti-fw-gutter: 16px;
  --senti-fw-card-gap: 14px;
}

.senti-fw h1, .senti-fw-h1 {
  letter-spacing: -0.035em;
}

.senti-fw-grid--2, .senti-fw-grid--3, .senti-fw-grid--4 {
  grid-template-columns: 1fr;
}

.senti-fw-card, .senti-fw-panel {
  border-radius: var(--senti-fw-radius-xs);
}
}

@media (prefers-reduced-motion: reduce) {
.senti-fw *, .senti-fw *::before, .senti-fw *::after {
  scroll-behavior: auto !important;
  transition-duration: 1ms !important;
  animation-duration: 1ms !important;
  animation-iteration-count: 1 !important;
}
}

[x-cloak] {
  display: none !important;
}

body.senti-fw-page {
  margin: 0;
  background: radial-gradient(circle at 14% 0%, rgba(243, 234, 220, 0.44), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--senti-fw-page) 100%);
  color: var(--senti-fw-ink);
  font-family: var(--senti-fw-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

.senti-fw-app-main {
  width: min(var(--senti-fw-container), calc(100% - (var(--senti-fw-gutter) * 2)));
  margin: 0 auto;
  padding: clamp(22px, 3.2vw, 46px) 0 clamp(52px, 7vw, 96px);
}

@media (max-width: 760px) {
.senti-fw-app-main {
  width: min(100% - 24px, var(--senti-fw-container));
  padding-top: 18px;
}
}

.senti-fw-nav-wrap, .senti-fw-nav-wrap * {
  box-sizing: border-box;
}

.senti-fw-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  padding: 18px var(--senti-fw-gutter) 0;
  color: var(--senti-fw-ink);
  font-family: var(--senti-fw-sans);
}

.senti-fw-nav {
  width: min(var(--senti-fw-container), 100%);
  min-height: 68px;
  margin: 0 auto;
  padding: 0 14px 0 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(11, 11, 11, 0.08);
  border-radius: var(--senti-fw-radius-xs);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(11, 11, 11, 0.055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.senti-fw-nav__brand-link {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.senti-fw-nav__logo {
  display: block;
  width: auto;
  height: 30px;
  max-width: 104px;
  object-fit: contain;
}

.senti-fw-nav__sub {
  color: var(--senti-fw-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.senti-fw-nav__center {
  min-width: 0;
  overflow: hidden;
}

.senti-fw-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.25vw, 22px);
  margin: 0;
  padding: 0 4px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.senti-fw-nav__list::-webkit-scrollbar {
  display: none;
}

.senti-fw-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 2px 0 0;
  color: #4f4b47;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--senti-fw-transition), opacity var(--senti-fw-transition);
}

.senti-fw-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--senti-fw-ink);
  opacity: 0;
  transform: scaleX(0.65);
  transition: opacity var(--senti-fw-transition), transform var(--senti-fw-transition);
}

.senti-fw-nav__link:hover, .senti-fw-nav__link.is-active {
  color: var(--senti-fw-ink);
}

.senti-fw-nav__link:hover::after, .senti-fw-nav__link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.senti-fw-nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.senti-fw-nav__icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(11, 11, 11, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--senti-fw-ink);
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(11, 11, 11, 0.035);
  transition: transform var(--senti-fw-transition), border-color var(--senti-fw-transition), box-shadow var(--senti-fw-transition);
}

.senti-fw-nav__icon:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 11, 11, 0.18);
  box-shadow: 0 10px 26px rgba(11, 11, 11, 0.06);
}

.senti-fw-nav__icon svg {
  display: block;
  width: 17px;
  height: 17px;
}

.senti-fw-nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--senti-fw-ink);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.senti-fw-nav__badge--floating {
  position: absolute;
  top: -4px;
  right: -4px;
}

.senti-fw-nav__user {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  max-width: 176px;
  padding: 5px 10px 5px 5px;
  border: 1px solid rgba(11, 11, 11, 0.08);
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.78);
}

.senti-fw-nav__avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(11, 11, 11, 0.08);
  border-radius: 999px;
  background: radial-gradient(circle at 35% 32%, rgba(255, 255, 255, 0.96), transparent 24%),
    radial-gradient(circle at 64% 42%, rgba(238, 233, 248, 0.92), transparent 30%),
    radial-gradient(circle at 48% 74%, rgba(243, 234, 220, 0.90), transparent 38%),
    #fff;
  color: var(--senti-fw-ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.senti-fw-nav__user-meta {
  display: grid;
  min-width: 0;
  line-height: 1.05;
}

.senti-fw-nav__user-name {
  overflow: hidden;
  color: var(--senti-fw-ink);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.senti-fw-nav__user-role {
  margin-top: 3px;
  color: var(--senti-fw-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.senti-fw-nav__logout {
  margin: 0;
}

.senti-fw-nav__logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(11, 11, 11, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--senti-fw-ink);
  cursor: pointer;
  font: 800 11px/1 var(--senti-fw-sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background var(--senti-fw-transition), color var(--senti-fw-transition), transform var(--senti-fw-transition);
}

.senti-fw-nav__logout-btn:hover {
  transform: translateY(-1px);
  background: var(--senti-fw-ink);
  color: #fff;
}

.senti-fw-nav__burger {
  display: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(11, 11, 11, 0.10);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.senti-fw-nav__burger span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--senti-fw-ink);
}

.senti-fw-nav__burger span + span {
  margin-top: 5px;
}

.senti-fw-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  justify-content: flex-end;
  padding: 12px;
  background: rgba(11, 11, 11, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.senti-fw-drawer__panel {
  width: min(440px, 100%);
  height: 100%;
  overflow: auto;
  border: 1px solid rgba(11, 11, 11, 0.10);
  border-radius: var(--senti-fw-radius-xs);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 80px rgba(11, 11, 11, 0.18);
}

.senti-fw-drawer__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid rgba(11, 11, 11, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.senti-fw-drawer__kicker {
  color: #a77b46;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1;
}

.senti-fw-drawer__title {
  margin-top: 5px;
  color: var(--senti-fw-ink);
  font-family: var(--senti-fw-serif);
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.senti-fw-drawer__close, .senti-fw-drawer__logout {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(11, 11, 11, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--senti-fw-ink);
  cursor: pointer;
  font: 800 11px/1 var(--senti-fw-sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.senti-fw-drawer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
}

.senti-fw-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 13px;
  border: 1px solid rgba(11, 11, 11, 0.08);
  border-radius: var(--senti-fw-radius-xs);
  background: rgba(250, 247, 242, 0.48);
  color: var(--senti-fw-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.18;
  text-decoration: none;
}

.senti-fw-drawer__link.is-active {
  border-color: var(--senti-fw-ink);
  background: var(--senti-fw-ink);
  color: #fff;
}

.senti-fw-drawer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 999px;
  background: currentColor;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  filter: invert(1);
}

.senti-fw-drawer__bottom {
  display: grid;
  gap: 12px;
  padding: 0 18px 20px;
}

.senti-fw-drawer__user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(11, 11, 11, 0.08);
  border-radius: var(--senti-fw-radius-xs);
  background: #fff;
}

.senti-fw-drawer__user strong, .senti-fw-drawer__user small {
  display: block;
}

.senti-fw-drawer__user strong {
  font-size: 13px;
  line-height: 1.2;
}

.senti-fw-drawer__user small {
  margin-top: 3px;
  color: var(--senti-fw-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.senti-fw-footer, .senti-fw-footer * {
  box-sizing: border-box;
}

.senti-fw-footer {
  width: min(var(--senti-fw-container), calc(100% - (var(--senti-fw-gutter) * 2)));
  margin: 0 auto 22px;
  color: var(--senti-fw-muted);
  font-family: var(--senti-fw-sans);
}

.senti-fw-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid rgba(11, 11, 11, 0.07);
  border-radius: var(--senti-fw-radius-xs);
  background: rgba(255, 255, 255, 0.62);
}

.senti-fw-footer__brand {
  color: var(--senti-fw-ink);
  font-family: var(--senti-fw-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.senti-fw-footer__text, .senti-fw-footer__note {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.senti-fw-footer__note {
  color: var(--senti-fw-soft-muted);
  text-align: right;
}

.senti-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  display: block;
  color: var(--senti-fw-ink);
  font-family: var(--senti-fw-sans);
}

.senti-toast.is-hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.senti-toast.is-show {
  opacity: 1;
  transform: translateY(0);
}

.senti-toast__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(420px, calc(100vw - 44px));
  padding: 13px 13px 13px 16px;
  border: 1px solid rgba(11, 11, 11, 0.10);
  border-radius: var(--senti-fw-radius-xs);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 60px rgba(11, 11, 11, 0.12);
}

.senti-toast__msg {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.senti-toast__close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(11, 11, 11, 0.10);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

@media (max-width: 1180px) {
.senti-fw-nav {
  grid-template-columns: auto 1fr auto;
  gap: 12px;
}

.senti-fw-nav__user-meta, .senti-fw-nav__logout {
  display: none;
}

.senti-fw-nav__user {
  padding: 4px;
}
}

@media (max-width: 980px) {
.senti-fw-nav-wrap {
  padding-top: 12px;
}

.senti-fw-nav {
  min-height: 62px;
  padding-inline: 14px;
  grid-template-columns: auto auto;
}

.senti-fw-nav__center {
  display: none;
}

.senti-fw-nav__brand-link {
  align-items: center;
}

.senti-fw-nav__logo {
  height: 28px;
}

.senti-fw-nav__sub {
  display: none;
}

.senti-fw-nav__actions {
  justify-self: end;
}

.senti-fw-nav__user {
  display: none;
}

.senti-fw-nav__logout {
  display: none;
}

.senti-fw-nav__burger {
  display: grid;
}
}

@media (max-width: 640px) {
.senti-fw-nav-wrap {
  padding-inline: 12px;
}

.senti-fw-nav {
  border-radius: var(--senti-fw-radius-xs);
}

.senti-fw-drawer__links {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px;
}

.senti-fw-drawer__link {
  min-height: 48px;
  padding: 10px;
  border-radius: var(--senti-fw-radius-xs);
  font-size: 12px;
}

.senti-fw-footer {
  width: calc(100% - 24px);
}

.senti-fw-footer__inner {
  grid-template-columns: 1fr;
  gap: 7px;
  padding: 16px;
  text-align: center;
}

.senti-fw-footer__note {
  text-align: center;
}
}

.sf-nav-brand__by {
  display: inline-flex;
  align-items: center;
  padding-top: 1px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .12em;
  color: var(--sf-nav-muted);
  text-transform: none;
}

.sf-nav-menu {
  flex: 1 1 auto;
  min-width: 0;
  height: 68px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.sf-nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.sf-nav-link:hover, .sf-nav-more-btn:hover, .sf-nav-link:focus-visible, .sf-nav-more-btn:focus-visible {
  opacity: 1;
  outline: none;
}

.sf-nav-link:hover::after, .sf-nav-more-btn:hover::after, .sf-nav-link:focus-visible::after, .sf-nav-more-btn:focus-visible::after, .sf-nav-link.is-active::after, .sf-nav-more-btn.is-active::after {
  width: 100%;
}

.sf-nav-link.is-active, .sf-nav-more-btn.is-active {
  opacity: 1;
  font-weight: 760;
}

.sf-nav-badge {
  position: absolute;
  top: 15px;
  right: -13px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #c49a55;
  color: #fff;
  border: 2px solid #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 7px 14px rgba(126,89,38,.18);
}

.sf-nav-actions {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
}

.sf-nav-icon-btn, .sf-nav-mobile-btn, .sf-nav-logout-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border: 1px solid var(--sf-nav-line);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: var(--sf-nav-ink);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(17,17,17,.04);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.sf-nav-icon-btn:hover, .sf-nav-mobile-btn:hover, .sf-nav-logout-btn:hover, .sf-nav-icon-btn:focus-visible, .sf-nav-mobile-btn:focus-visible, .sf-nav-logout-btn:focus-visible {
  transform: translateY(-1px);
  border-color: var(--sf-nav-line-strong);
  box-shadow: 0 12px 30px rgba(17,17,17,.07);
  outline: none;
}

.sf-nav-icon-btn > svg, .sf-nav-mobile-btn > svg, .sf-nav-logout-btn > svg {
  width: 18px !important;
  height: 18px !important;
  display: block;
  flex: 0 0 auto;
}

.sf-nav-user__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-nav-user__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.sf-nav-user__role {
  margin-top: 3px;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--sf-nav-muted);
  text-transform: uppercase;
}

.sf-nav-more {
  position: relative;
}

.sf-nav-more-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--senti-fw-radius-xs);
  color: var(--sf-nav-ink);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 650;
  transition: background .16s ease, transform .16s ease;
}

.sf-nav-more-link:hover, .sf-nav-more-link:focus-visible, .sf-nav-more-link.is-active {
  background: var(--sf-nav-ivory);
  outline: none;
}

.sf-nav-more-link:hover {
  transform: translateX(2px);
}

.sf-nav-more-link__badge {
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.sf-nav-logout-form {
  margin: 0;
  padding: 0;
}

.sf-nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.sf-nav-burger {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--sf-nav-line);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: var(--sf-nav-ink);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(17,17,17,.04);
}

.sf-nav-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.sf-nav-burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.3px) rotate(45deg);
}

.sf-nav-burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.3px) rotate(-45deg);
}

.sf-nav-drawer[x-cloak] {
  display: none !important;
}

.sf-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  justify-content: flex-end;
  background: rgba(10,10,10,.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sf-nav-drawer__panel {
  width: min(420px, calc(100vw - 24px));
  height: calc(100vh - 24px);
  margin: 12px;
  padding: 18px;
  overflow: auto;
  border: 1px solid var(--sf-nav-line);
  border-radius: var(--senti-fw-radius-xs);
  background: rgba(255,255,255,.98);
  box-shadow: 0 30px 80px rgba(17,17,17,.18);
}

.sf-nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sf-nav-line);
}

.sf-nav-drawer__title {
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sf-nav-muted);
}

.sf-nav-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--sf-nav-line);
  border-radius: 999px;
  background: #fff;
  color: var(--sf-nav-ink);
  cursor: pointer;
}

.sf-nav-drawer__close svg {
  width: 17px !important;
  height: 17px !important;
  display: block;
}

.sf-nav-drawer__group {
  display: grid;
  gap: 8px;
  padding: 16px 0;
}

.sf-nav-drawer__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--sf-nav-line);
  border-radius: var(--senti-fw-radius-xs);
  background: #fff;
  color: var(--sf-nav-ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 720;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.sf-nav-drawer__link:hover, .sf-nav-drawer__link:focus-visible, .sf-nav-drawer__link.is-active {
  background: var(--sf-nav-ivory);
  border-color: var(--sf-nav-line-strong);
  outline: none;
}

.sf-nav-drawer__link:hover {
  transform: translateX(2px);
}

.sf-nav-drawer__badge {
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.sf-nav-drawer__bottom {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--sf-nav-line);
}

.sf-nav-drawer__user {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}

.sf-nav-drawer__logout {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sf-nav-ink);
  border-radius: var(--senti-fw-radius-xs);
  background: var(--sf-nav-ink);
  color: #fff;
  font-family: var(--sf-nav-font-sans);
  font-size: 13px;
  font-weight: 780;
  cursor: pointer;
}

.sf-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  max-width: min(420px, calc(100vw - 44px));
  transition: opacity .22s ease, transform .22s ease;
}

.sf-toast.is-hide {
  opacity: 0;
  transform: translateY(10px);
}

.sf-toast.is-show {
  opacity: 1;
  transform: translateY(0);
}

.sf-toast__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px 13px 16px;
  border: 1px solid var(--sf-nav-line);
  border-radius: var(--senti-fw-radius-xs);
  background: rgba(255,255,255,.98);
  color: var(--sf-nav-ink);
  box-shadow: 0 20px 60px rgba(17,17,17,.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.sf-toast__msg {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 620;
}

.sf-toast__close {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--sf-nav-muted);
  font-size: 14px;
  cursor: pointer;
}

@media (max-width: 1280px) {
.sf-nav-shell {
  gap: 18px;
}

.sf-nav-brand {
  min-width: 164px;
}

.sf-nav-brand__img {
  width: 116px;
  max-width: 116px;
}



.sf-nav-link, .sf-nav-more-btn {
  font-size: 12px;
}
}

@media (max-width: 1120px) {
.sf-nav-menu, .sf-nav-actions {
  display: none;
}

.sf-nav-mobile-actions {
  display: flex;
}



.sf-nav-brand {
  min-width: 0;
}
}

@media (max-width: 640px) {


.sf-nav-shell {
  min-height: 58px;
  padding: 0 8px 0 12px;
  border-radius: 13px;
}

.sf-nav-brand__img {
  width: 94px;
  max-width: 94px;
}

.sf-nav-brand__by {
  display: none;
}

.sf-nav-icon-btn, .sf-nav-mobile-btn, .sf-nav-burger {
  width: 36px;
  height: 36px;
  min-width: 36px;
}

.sf-nav-mobile-actions{gap:5px;min-width:0}

.sf-nav-drawer__group {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.sf-nav-drawer__link {
  min-height: 48px;
  align-items: center;
  justify-content: flex-start;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
}

.sf-nav-root {
  font-family: var(--sf-nav-font-sans);
  color: var(--sf-nav-ink);
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  padding: 0;
  background: var(--sf-nav-panel-bg);
  border-bottom: 1px solid var(--sf-nav-panel-line);
  box-shadow: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.sf-nav-shell {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 36px);
  max-width: 1540px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 clamp(22px, 3.2vw, 56px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.sf-nav-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--sf-nav-ink);
  text-decoration: none;
  white-space: nowrap;
  min-width: 188px;
}

.sf-nav-brand__img {
  display: block;
  height: auto;
  object-fit: contain;
  width: 128px;
  max-width: 128px;
}

.sf-nav-menu, .sf-nav-link, .sf-nav-more-btn {
  height: 72px;
}

.sf-nav-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: clamp(18px, 1.9vw, 36px);
}

.sf-nav-link, .sf-nav-more-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 68px;
  padding: 0 1px;
  border: 0;
  background: transparent;
  color: var(--sf-nav-ink);
  font-family: var(--sf-nav-font-sans);
  line-height: 1;
  letter-spacing: .005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  opacity: .92;
  transition: opacity .18s ease, color .18s ease;
  font-size: 13px;
  font-weight: 680;
}

.sf-nav-link--icon {
  width: 34px;
  padding: 0;
}

.sf-nav-link--icon > svg {
  width: 18px !important;
  height: 18px !important;
  display: block;
  flex: 0 0 auto;
}

.sf-nav-link::after, .sf-nav-more-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0;
  background: var(--sf-nav-ink);
  transform: translateX(-50%);
  transition: width .22s ease;
  bottom: 0;
  height: 2px;
}

.sf-nav-link--icon::after {
  width: 0;
  max-width: 26px;
}

.sf-nav-link--icon:hover::after, .sf-nav-link--icon:focus-visible::after, .sf-nav-link--icon.is-active::after {
  width: 26px;
}

.sf-nav-actions, .sf-nav-mobile-actions {
  gap: 8px;
}

.sf-nav-icon-btn, .sf-nav-mobile-btn, .sf-nav-logout-btn, .sf-nav-user, .sf-nav-burger {
  box-shadow: none;
}

.sf-nav-icon-btn, .sf-nav-mobile-btn, .sf-nav-burger {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.sf-nav-icon-btn:hover, .sf-nav-mobile-btn:hover, .sf-nav-burger:hover, .sf-nav-icon-btn:focus-visible, .sf-nav-mobile-btn:focus-visible, .sf-nav-burger:focus-visible, .sf-nav-icon-btn.is-active {
  transform: none;
  background: var(--sf-nav-hover-bg);
  border-color: transparent;
  box-shadow: none;
}

.sf-nav-icon-btn.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -17px;
  width: 22px;
  height: 2px;
  background: var(--sf-nav-ink);
  transform: translateX(-50%);
}

.sf-nav-mail-badge {
  position: absolute;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #c49a55;
  color: #fff;
  border: 2px solid #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 7px 14px rgba(126,89,38,.18);
  top: -3px;
  right: -3px;
}

.sf-nav-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sf-nav-ink);
  box-shadow: 0 8px 24px rgba(17,17,17,.04);
  min-height: 42px;
  padding: 0 0 0 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.sf-nav-user:hover {
  background: transparent;
}

.sf-nav-user__avatar {
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17,17,17,.08);
  background: rgba(0,0,0,1);
  color: rgba(255,255,255,1);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 30px;
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.sf-nav-user__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.05;
  font-weight: 760;
  color: var(--sf-nav-ink);
  max-width: 92px;
}

.sf-nav-logout-btn {
  width: auto;
  min-width: 0;
  font-family: var(--sf-nav-font-sans);
  font-size: 12px;
  font-weight: 750;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--sf-nav-line);
  border-radius: 11px;
  background: rgba(255,255,255,.5);
}

.sf-nav-logout-btn:hover, .sf-nav-logout-btn:focus-visible {
  background: var(--sf-nav-hover-bg);
}

.sf-nav-more-menu {
  position: absolute;
  right: 0;
  width: 250px;
  padding: 9px;
  border: 1px solid var(--sf-nav-line);
  border-radius: var(--senti-fw-radius-xs);
  background: rgba(255,255,255,.98);
  box-shadow: 0 22px 60px rgba(17,17,17,.11);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  top: calc(100% + 2px);
}

@media (max-width: 1280px) {
.sf-nav-shell {
  padding: 0 clamp(18px, 2.4vw, 36px);
}

.sf-nav-list {
  gap: 18px;
}
}

@media (max-width: 1120px) {
.sf-nav-shell {
  min-height: 64px;
}
}

@media (max-width: 640px) {
.sf-nav-root {
  padding: 0;
}

.sf-nav-shell {
  min-height: 60px;
  padding: 0 14px;
}
}

.sf-dashboard-page {
  min-height: calc(100vh - 72px);
  background: radial-gradient(circle at 82% 8%, rgba(234,223,205,.32), transparent 32%),
    linear-gradient(180deg, #fff 0%, var(--sf-bg) 100%);
  color: var(--sf-ink);
  font-family: var(--sf-font-sans);
}

.sf-dashboard-shell {
  width: min(1480px, calc(100% - clamp(28px, 5vw, 92px)));
  margin: 0 auto;
  padding: clamp(34px, 4.5vw, 72px) 0 clamp(46px, 5vw, 86px);
}

.sf-dashboard-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  min-height: 330px;
  padding: clamp(24px, 3.8vw, 54px);
  border: 1px solid var(--sf-line);
  border-radius: var(--senti-fw-radius-xs);
  background: rgba(255,255,255,.82);
  overflow: hidden;
}

.sf-dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 54% 48%, rgba(240,224,205,.35), transparent 30%),
    radial-gradient(circle at 78% 58%, rgba(238,233,247,.24), transparent 34%);
}

.sf-dashboard-hero__copy, .sf-dashboard-hero__aura {
  position: relative;
  z-index: 1;
}

.sf-eyebrow {
  margin: 0 0 16px;
  color: #a77945;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.sf-display-title {
  margin: 0;
  max-width: 560px;
  font-family: var(--sf-font-serif);
  color: var(--sf-ink);
  font-size: clamp(42px, 4.9vw, 78px);
  line-height: .97;
  font-weight: 500;
  letter-spacing: -.045em;
}

.sf-lead {
  max-width: 440px;
  margin: 20px 0 0;
  color: var(--sf-graphite);
  font-size: 15px;
  line-height: 1.65;
}

.sf-dashboard-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--sf-line-strong);
   border-radius: var(--senti-fw-radius-xs);
  font-size: 12px;
  font-weight: 760;
  color: var(--sf-ink);
  text-decoration: none;
  background: rgba(255,255,255,.72);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.sf-btn:hover, .sf-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(17,17,17,.32);
  outline: none;
}

.sf-btn--dark {
  color: #fff;
  background: #080808;
  border-color: #080808;
  box-shadow: 0 12px 24px rgba(17,17,17,.12);
}

.sf-btn--dark:hover, .sf-btn--dark:focus-visible {
  background: #161616;
}

.sf-btn--ghost {
  background: rgba(255,255,255,.62);
}

.sf-dashboard-hero__aura {
  min-height: 280px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(230px, 310px);
  gap: 24px;
  align-items: center;
}

.sf-aura-field {
  --sf-aura-c1: rgb(239,231,218);
  --sf-aura-c2: rgb(226,214,238);
  --sf-aura-c3: rgb(244,221,214);
  --sf-aura-c4: rgb(232,204,171);
  position: relative;
  min-height: 270px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.68), transparent 18%),
    radial-gradient(circle at 52% 48%, color-mix(in srgb, var(--sf-aura-c1) 54%, transparent), transparent 32%),
    radial-gradient(circle at 76% 45%, color-mix(in srgb, var(--sf-aura-c2) 48%, transparent), transparent 42%),
    radial-gradient(circle at 28% 55%, color-mix(in srgb, var(--sf-aura-c3) 40%, transparent), transparent 38%);
}

.sf-aura-field__orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  border-radius: 24px;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid rgba(151,119,75,.28);
  background: rgba(255,255,255,.48);
  box-shadow: 0 20px 58px rgba(180,137,92,.12), inset 0 0 0 12px rgba(255,255,255,.22);
}

.sf-aura-field__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(98,88,72,.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.sf-aura-field__ring--one {
  width: 210px;
  height: 210px;
}

.sf-aura-field__ring--two {
  width: 300px;
  height: 300px;
  opacity: .48;
}

.sf-aura-field__sigil {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 23px;
  color: rgba(88,72,54,.65);
}

.sf-aura-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--sf-line);
  border-radius: 18px;
  background: rgba(255,255,255,.76);
  box-shadow: var(--sf-shadow-xs);
  text-align: center;
}

.sf-aura-card__top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.sf-aura-card h2 {
  margin: 0 auto;
  font-family: var(--sf-font-serif);
  font-size: 19px;
  line-height: 1.1;
  font-weight: 500;
}

.sf-aura-card__top a {
  padding: 7px 10px;
  border: 1px solid var(--sf-line);
  border-radius: 999px;
  color: var(--sf-ink);
  text-decoration: none;
  font-size: 10px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.sf-aura-card__orb {
  --sf-aura-c1: rgb(239,231,218);
  --sf-aura-c2: rgb(226,214,238);
  --sf-aura-c3: rgb(244,221,214);
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 52%, rgba(255,255,255,.72), transparent 15%),
    radial-gradient(circle at 56% 44%, color-mix(in srgb, var(--sf-aura-c2) 62%, transparent), transparent 54%),
    radial-gradient(circle at 33% 68%, color-mix(in srgb, var(--sf-aura-c3) 52%, transparent), transparent 48%),
    var(--sf-aura-c1);
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.05), 0 18px 44px rgba(160,132,96,.12);
  color: rgba(35,33,30,.65);
}

.sf-aura-card strong {
  font-family: var(--sf-font-serif);
  font-size: 15px;
  font-weight: 500;
}

.sf-aura-card p {
  max-width: 210px;
  margin: 8px auto 16px;
  color: var(--sf-graphite);
  font-size: 12px;
  line-height: 1.5;
}

.sf-text-link, .sf-section-link {
  color: var(--sf-ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 760;
}

.sf-text-link:hover, .sf-section-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sf-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  margin: 22px 0 34px;
}

.sf-dashboard-recommendations {
  margin: 24px 0 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(169,121,67,.34);
  border-radius: var(--senti-fw-radius-xs);
  background:
    radial-gradient(circle at 90% 12%, rgba(255,255,255,.92), transparent 28%),
    linear-gradient(135deg, rgba(250,246,239,.96), rgba(244,235,222,.72));
  box-shadow: 0 18px 46px rgba(92,63,30,.07);
}

.sf-dashboard-recommendations__intro {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr) auto;
  align-items: center;
  gap: 18px;
}

.sf-dashboard-recommendations__intro > img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

.sf-dashboard-recommendations__intro span:first-child {
  color: #9a6a32;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.sf-dashboard-recommendations__intro h2 {
  margin: 4px 0 0;
  font-family: var(--sf-font-serif);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.05;
  font-weight: 500;
}

.sf-dashboard-recommendations__intro p {
  margin: 8px 0 0;
  color: var(--sf-graphite);
  font-size: 13px;
  line-height: 1.5;
}

.sf-dashboard-recommendation-results {
  margin-top: clamp(22px, 3vw, 32px);
  padding-top: clamp(18px, 2.4vw, 26px);
  border-top: 1px solid rgba(24,22,20,.12);
}

.sf-dashboard-recommendation-results__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.sf-dashboard-recommendation-results__head > span {
  color: #9a6a32;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.sf-dashboard-recommendation-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(24,22,20,.11);
  border-radius: 4px;
  background: #f4f1ec;
}

.sf-dashboard-recommendation-tabs button {
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #716a62;
  font: 700 11px/1.2 var(--sf-font-sans);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.sf-dashboard-recommendation-tabs button:hover,
.sf-dashboard-recommendation-tabs button:focus-visible {
  color: #111;
  outline: none;
}

.sf-dashboard-recommendation-tabs button[aria-selected="true"] {
  background: #fff;
  color: #111;
  box-shadow: 0 5px 14px rgba(43,34,24,.08);
}

.sf-dashboard-recommendation-results [hidden] {
  display: none !important;
}

.sf-dashboard-recommendations__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin-top: 22px;
}

.sf-dashboard-recommendation-card {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 64px minmax(0,1fr);
  align-items: center;
  gap: 13px;
  min-height: 86px;
  padding: 10px 48px 10px 10px;
  border: 1px solid rgba(24,22,20,.10);
  border-radius: 4px;
  background: rgba(255,255,255,.78);
  color: var(--sf-ink);
  font: inherit;
  text-align: left;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.sf-dashboard-recommendation-card:hover,
.sf-dashboard-recommendation-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(169,121,67,.48);
  box-shadow: 0 14px 30px rgba(73,51,27,.10);
  outline: none;
}

.sf-dashboard-recommendation-card__media {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: #fff;
}

.sf-dashboard-recommendation-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sf-dashboard-recommendation-card__copy {
  min-width: 0;
}

.sf-dashboard-recommendation-card__copy small,
.sf-dashboard-recommendation-card__copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-dashboard-recommendation-card__copy small {
  color: #8a8178;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sf-dashboard-recommendation-card__copy strong {
  margin-top: 5px;
  font-family: var(--sf-font-serif);
  font-size: 17px;
  font-weight: 500;
}

.sf-dashboard-recommendation-card__score {
  position: absolute;
  top: 10px;
  right: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 53%, transparent 56%),
    conic-gradient(
      from 0deg,
      var(--match-heat-a, #4f9fc4) 0deg,
      var(--match-heat-highlight, #6daf91) var(--sf-score-mid, 0deg),
      var(--match-heat-b, #c65f43) var(--sf-score, 0deg),
      #eceae6 var(--sf-score, 0deg),
      #eceae6 360deg
    );
  font: 760 10px/1 var(--sf-font-sans);
  font-variant-numeric: tabular-nums;
}

.sf-dashboard-recommendation-card__score small {
  font-size: 6px;
  line-height: 1;
}

.sf-stat-card {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border: 1px solid var(--sf-line);
  border-radius: var(--senti-fw-radius-xs);
  background: rgba(255,255,255,.84);
  color: var(--sf-ink);
  text-decoration: none;
  box-shadow: var(--sf-shadow-xs);
}

.sf-stat-card > img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
  opacity: .76;
}

.sf-stat-card strong {
  font-family: var(--sf-font-serif);
  font-size: 29px;
  line-height: 1;
  font-weight: 500;
}

.sf-stat-card span {
  color: var(--sf-graphite);
  font-size: 12px;
  line-height: 1.25;
}

.sf-stat-card em {
  color: #a77945;
  font-style: normal;
}

.sf-stat-card--soft {
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(245,239,232,.72));
}

.sf-dashboard-section {
  margin-top: 34px;
}

.sf-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.sf-section-head h2 {
  margin: 0;
  font-family: var(--sf-font-serif);
  font-size: 27px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.025em;
}

.sf-section-head p {
  margin: 7px 0 0;
  color: var(--sf-muted);
  font-size: 13px;
}

.sf-section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.sf-filter-pill {
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid var(--sf-line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--sf-ink);
  font-family: var(--sf-font-sans);
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
}

.sf-filter-pill.is-active {
  color: #fff;
  border-color: #080808;
  background: #080808;
}

.sf-perfume-card, .sf-add-card, .sf-empty-card {
  position: relative;
  border: 1px solid var(--sf-line);
  border-radius: var(--senti-fw-radius-xs);
  background: rgba(255,255,255,.84);
  box-shadow: var(--sf-shadow-xs);
  overflow: hidden;
}

.sf-perfume-card {
  min-height: 276px;
  padding: 18px;
}

.sf-perfume-card__heart {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  border: 0;
  background: transparent;
  color: rgba(17,17,17,.42);
  font-size: 20px;
  cursor: pointer;
}

.sf-perfume-card__heart.is-active {
  color: #d98994;
}

.sf-perfume-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 134px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(250,250,250,.9), rgba(245,242,238,.7));
}

.sf-perfume-card__media img {
  max-width: 100%;
  max-height: 124px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(17,17,17,.08));
}

.sf-perfume-card__placeholder {
  width: 62px;
  height: 96px;
  border: 1px solid var(--sf-line);
  border-radius: 12px 12px 8px 8px;
  background: #fff;
}

.sf-perfume-card__brand {
  color: var(--sf-muted);
  font-size: 10px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sf-perfume-card h3 {
  margin: 7px 0 3px;
  font-family: var(--sf-font-serif);
  font-size: 17px;
  line-height: 1.12;
  font-weight: 600;
}

.sf-perfume-card p {
  margin: 0;
  color: var(--sf-graphite);
  font-size: 12px;
}

.sf-perfume-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--sf-muted);
  font-size: 10px;
  line-height: 1.25;
}

.sf-dotline {
  display: flex;
  gap: 5px;
  margin-top: 9px;
}

.sf-dotline span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0d0d0d;
}

.sf-dotline span.is-off {
  background: #d9d6d0;
}

.sf-score-ring::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: #fff;
}

.sf-add-card {
  min-height: 276px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: var(--sf-ink);
  text-decoration: none;
  border-style: dashed;
}

.sf-add-card span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--sf-line);
  font-size: 26px;
  font-weight: 300;
}

.sf-add-card strong {
  font-family: var(--sf-font-serif);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 500;
  text-align: center;
}

.sf-empty-card {
  min-height: 180px;
  padding: 28px;
}

.sf-empty-card--wide {
  grid-column: 1 / -1;
}

.sf-empty-card h3 {
  margin: 0 0 8px;
  font-family: var(--sf-font-serif);
  font-size: 24px;
  font-weight: 500;
}

.sf-empty-card p {
  margin: 0;
  color: var(--sf-muted);
  font-size: 14px;
}

@media (max-width: 1280px) {
.sf-dashboard-hero {
  grid-template-columns: 1fr;
}

.sf-dashboard-hero__aura {
  grid-template-columns: 1fr minmax(230px, 300px);
}

.sf-perfume-grid, .sf-scentmate-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
}
}

@media (max-width: 900px) {
.sf-dashboard-shell {
  width: min(100% - 28px, 760px);
  padding-top: 26px;
}

.sf-dashboard-hero, .sf-dashboard-hero__aura {
  grid-template-columns: 1fr;
}

.sf-dashboard-stats {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.sf-dashboard-recommendations__grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.sf-section-head {
  align-items: flex-start;
  flex-direction: column;
}

.sf-section-actions {
  justify-content: flex-start;
}

.sf-perfume-grid, .sf-scentmate-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
}
}

@media (max-width: 640px) {
.sf-display-title {
  font-size: 42px;
}

.sf-dashboard-hero {
  padding: 24px 18px;
  border-radius: 18px;
}

.sf-perfume-grid, .sf-scentmate-grid {
  grid-template-columns: 1fr;
}

.sf-dashboard-hero__actions {
  gap: 14px;
  margin-top: 28px;
  margin-bottom: 22px;
}

.sf-dashboard-hero__actions .sf-btn {
  min-height: 48px;
}

.sf-dashboard-hero__reading--compact {
  padding-top: 18px;
}

.sf-dashboard-hero__aura .sf-aura-card {
  order: 1;
}

.sf-dashboard-hero__aura .sf-aura-field {
  order: 2;
}

.sf-dashboard-recommendations {
  padding: 20px 16px;
}

.sf-dashboard-recommendation-results {
  padding-top: 18px;
}

.sf-dashboard-recommendation-results__head {
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
}

.sf-dashboard-recommendation-tabs {
  width: 100%;
}

.sf-dashboard-recommendation-tabs button {
  min-height: 44px;
  padding-inline: 8px;
  font-size: 10px;
}

.sf-dashboard-recommendations__intro {
  grid-template-columns: 34px minmax(0,1fr);
  gap: 12px;
}

.sf-dashboard-recommendations__intro > img {
  width: 31px;
  height: 31px;
}

.sf-dashboard-recommendations__intro > .sf-btn {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
}

.sf-dashboard-recommendations__grid {
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 17px;
}

.sf-dashboard-stats {
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

.sf-stat-card {
  aspect-ratio: 1 / 1;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  text-align: center;
}

.sf-stat-card > img {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}

.sf-stat-card strong {
  font-size: 34px;
}

.sf-stat-card span {
  min-height: 15px;
  font-size: 11px;
}

.sf-aura-field {
  min-height: 210px;
}

.sf-aura-card {
  min-height: auto;
}

.sf-dashboard-hero__copy,
.sf-dashboard-hero__actions,
.sf-dashboard-hero__reading,
.sf-aura-card {
  position: relative;
  z-index: 3;
}

.sf-dashboard-hero__aura {
  position: relative;
  z-index: 1;
}

.sf-dashboard-hero__aura .sf-aura-field {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.sf-dashboard-floating-aura {
  z-index: 0 !important;
  pointer-events: none;
}
}

.sf-scentmate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(214px, 224px));
  justify-content: start;
  align-items: stretch;
  gap: 24px;
}

.sf-scentmate-card {
  position: relative;
  width: 100%;
  min-height: 414px;
  padding: 26px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(17,17,17,.13);
  border-radius: 2px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 26px rgba(17,17,17,.025);
  text-align: center;
  overflow: hidden;
}

.sf-scentmate-card:hover {
  border-color: rgba(17,17,17,.22);
  box-shadow: 0 16px 38px rgba(17,17,17,.045);
}

.sf-scentmate-card--linked {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sf-scentmate-card--linked:hover,
.sf-scentmate-card--linked:focus-visible {
  border-color: rgba(17,17,17,.21);
  box-shadow: 0 16px 38px rgba(17,17,17,.045);
  transform: translateY(-1px);
  outline: none;
}

.sf-scentmate-card__score {
  position: absolute;
  top: 18px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17,17,17,.17);
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(17,17,17,.035);
}

.senti-fitpeek .sf-scentmate-card__score {
	left: 50%;
	margin-left: -17px;
	top: 10px!important;
}

.sf-scentmate-card__avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 999px;
  overflow: hidden;
  background: #eee9e1;
  box-shadow: inset 0 0 0 1px rgba(17,17,17,.04);
}

.sf-scentmate-card__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(100%);
}

.sf-scentmate-card__aura {
  display: block;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 44%, rgba(255,255,255,.72), transparent 18%),
    radial-gradient(circle at 58% 42%, rgba(226,218,238,.86), transparent 48%),
    radial-gradient(circle at 36% 68%, rgba(239,224,207,.78), transparent 48%),
    linear-gradient(135deg, #f5f1eb, #e9e1d6);
}

.sf-scentmate-card h3 {
  margin: 0;
  max-width: 100%;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  color: var(--sf-ink, #0b0b0b);
  font-size: 25px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.025em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sf-scentmate-card__meta {
  min-height: 34px;
  margin-top: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  color: var(--sf-graphite, #5f5b55);
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 560;
}

.sf-scentmate-card__meta span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.sf-scentmate-card__meta span:not(:last-child)::after {
  margin-left: 6px;
  content: "·";
  margin: 0 7px;
  color: #b7afa5;
}

.sf-scentmate-card__tags {
  min-height: 48px;
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.sf-scentmate-card__tags span {
  max-width: 100%;
  padding: 4px 9px 4px;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  color: #5d5851;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 9.5px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.sf-scentmate-card__perfumes span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.sf-scentmate-card__perfumes img {
  max-width: 34px;
  max-height: 34px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 7px 10px rgba(17,17,17,.08));
}

.sf-scentmate-card__bottom {
  left: 18px;
  right: 18px;
  bottom: 16px;
  position: static;
  width: 100%;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(17,17,17,.105);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.sf-scentmate-card__bottom small {
  display: block;
  color: #8a8378;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 8.5px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.sf-scentmate-card__bottom strong {
  display: block;
  margin-top: 6px;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  color: #0b0b0b;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.025em;
}

.sf-scentmate-card__bottom a,
.sf-scentmate-card__profile-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #0b0b0b;
  text-decoration: none;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 8.5px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: 2px;
}

.sf-scentmate-card__bottom a::after,
.sf-scentmate-card__profile-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #111;
  transition: width .18s ease;
}

.sf-scentmate-card__bottom a:hover::after,
.sf-scentmate-card__bottom a:focus-visible::after,
.sf-scentmate-card--linked:hover .sf-scentmate-card__profile-label::after,
.sf-scentmate-card--linked:focus-visible .sf-scentmate-card__profile-label::after {
  width: 100%;
}

.sf-scentmate-card__profile-label > span {
  transition: transform .18s ease;
}

.sf-scentmate-card--linked:hover .sf-scentmate-card__profile-label > span,
.sf-scentmate-card--linked:focus-visible .sf-scentmate-card__profile-label > span {
  transform: translateX(3px);
}

@media (max-width: 1280px) {
.sf-scentmate-grid {
  grid-template-columns: repeat(auto-fill, minmax(206px, 1fr));
}
}

@media (max-width: 760px) {
.sf-scentmate-grid {
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.sf-scentmate-card {
  min-height: 390px;
  padding: 22px 13px 15px;
}

.sf-scentmate-card__avatar {
  width: 82px;
  height: 82px;
}

.sf-scentmate-card h3 {
  font-size: 22px;
}

.sf-scentmate-card__perfumes {
  gap: 6px;
}

.sf-scentmate-card__perfumes span {
  width: 35px;
  height: 35px;
}
}

@media (max-width: 430px) {
.sf-scentmate-grid {
  grid-template-columns: 1fr;
}
}

.sf-mobile-carousel {
  position: relative;
}

.sf-carousel-arrow {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #0b0b0b;
  box-shadow: 0 12px 34px rgba(17,17,17,.09);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.sf-carousel-arrow:hover, .sf-carousel-arrow:focus-visible {
  background: #fff;
  border-color: rgba(17,17,17,.22);
  outline: none;
}

.sf-carousel-arrow span {
  display: block;
  margin-top: -2px;
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
}

.sf-carousel-arrow--prev {
  left: -11px;
}

.sf-carousel-arrow--next {
  right: -11px;
}

.sf-perfume-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 18px;
  align-items: stretch;
}

.sf-perfume-card--collection {
  min-height: 318px;
  padding: 18px 18px 17px;
  display: flex;
  flex-direction: column;
  border-radius: var(--senti-fw-radius-xs);
}

.sf-perfume-card--collection .sf-perfume-card__heart {
  top: 18px;
  right: 18px;
}

.sf-perfume-card--collection .sf-perfume-card__media {
  width: 100%;
  height: 164px;
  margin: 0 0 17px;
  border-radius: 0;
  background: transparent;
}

.sf-perfume-card--collection .sf-perfume-card__media img {
  width: 100%;
  max-width: 100%;
  max-height: 164px;
  object-fit: contain;
  filter: drop-shadow(0 13px 20px rgba(17,17,17,.08));
}

.sf-perfume-card--collection .sf-perfume-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.sf-perfume-card__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.sf-perfume-card__title-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.sf-perfume-card--collection .sf-perfume-card__brand {
  color: #8a8378;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sf-perfume-card--collection h3 {
  margin: 7px 0 0;
  max-width: 100%;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: 20px;
  line-height: 1.07;
  font-weight: 600;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}

.sf-perfume-card--collection p {
  display: none;
}

.sf-perfume-card--collection .sf-perfume-card__meta {
  margin-top: auto;
  padding-top: 17px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  color: #8a8378;
  font-size: 10.5px;
  line-height: 1.25;
}

.sf-perfume-card--collection .sf-dotline {
  margin-top: 10px;
}

.sf-perfume-card--collection .sf-dotline span {
  width: 7px;
  height: 7px;
}

.sf-score-ring, .sf-score-ring--perfume, .sf-score-ring--mate {
  background: conic-gradient(#0b0b0b var(--sf-score, 0deg), #e5e1db 0deg);
}

.sf-score-ring::before, .sf-score-ring--perfume::before, .sf-score-ring--mate::before {
  background: #fff;
}

.sf-score-ring--perfume {
  position: relative;
  right: auto;
  bottom: auto;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  margin-top: 4px;
  box-shadow: 0 8px 18px rgba(17,17,17,.045);
}

.sf-score-ring--perfume::before {
  inset: 3px;
}

.sf-score-ring--perfume span {
  font-size: 11.5px;
  font-weight: 850;
}

.sf-scentmate-card__score.sf-score-ring--mate {
  position: absolute;
  top: 18px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: conic-gradient(#111 var(--sf-score, 0deg), #e5e1db 0deg);
  box-shadow: 0 8px 18px rgba(17,17,17,.035);
}

.sf-scentmate-card__score.sf-score-ring--mate::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: #fff;
}

.sf-scentmate-card__score.sf-score-ring--mate span {
  position: relative;
  z-index: 1;
  color: #0b0b0b;
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
}

.sf-scentmate-card__perfumes {
  width: 100%;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 0;
}

.sf-scentmate-card__perfumes:empty {
  display: none;
}

.sf-scentmate-card__perfumes span:empty {
  display: none;
}

.sf-scentmate-card__more {
  color: #b18a58;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 6px;
  background: #fff;
}

@media (max-width: 760px) {
.sf-perfume-carousel {
  margin-left: -4px;
  margin-right: -4px;
}

.sf-perfume-carousel .sf-carousel-arrow {
  display: flex;
}

.sf-perfume-carousel .sf-perfume-grid {
  display: flex;
  grid-template-columns: none;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 12px;
  -webkit-overflow-scrolling: touch;
  padding: 0 12px 13px;
}

.sf-perfume-carousel .sf-perfume-grid::-webkit-scrollbar {
  display: none;
}

.sf-perfume-carousel .sf-perfume-card, .sf-perfume-carousel .sf-add-card, .sf-perfume-carousel .sf-empty-card {
  flex: 0 0 min(78vw, 320px);
  max-width: min(78vw, 320px);
  scroll-snap-align: start;
}

.sf-perfume-card--collection {
  min-height: 308px;
}

.sf-perfume-card--collection .sf-perfume-card__media {
  height: 148px;
}

.sf-perfume-card--collection .sf-perfume-card__media img {
  max-height: 148px;
}

.sf-perfume-card--collection h3 {
  font-size: 19px;
}

.sf-carousel-arrow--prev {
  left: 2px;
}

.sf-carousel-arrow--next {
  right: 2px;
}
}

@media (max-width: 430px) {
.sf-perfume-carousel .sf-perfume-card, .sf-perfume-carousel .sf-add-card, .sf-perfume-carousel .sf-empty-card {
  flex-basis: 82vw;
  max-width: 82vw;
}

.sf-carousel-arrow {
  width: 35px;
  height: 35px;
}
}

:root {
  --senti-fw-ink: #0b0b0b;
  --senti-fw-charcoal: #161616;
  --senti-fw-graphite: #3a3a3a;
  --senti-fw-muted: #76706a;
  --senti-fw-soft-muted: #9b948c;
  --senti-fw-page: #fbfaf8;
  --senti-fw-paper: #ffffff;
  --senti-fw-ivory: #faf7f2;
  --senti-fw-champagne: #f3eadc;
  --senti-fw-champagne-2: #eadcc8;
  --senti-fw-blush: #f7eeee;
  --senti-fw-lavender: #eee9f8;
  --senti-fw-line: rgba(11, 11, 11, 0.10);
  --senti-fw-line-soft: rgba(11, 11, 11, 0.06);
  --senti-fw-line-strong: rgba(11, 11, 11, 0.18);
  --senti-fw-shadow-xs: 0 2px 8px rgba(11, 11, 11, 0.035);
  --senti-fw-shadow-sm: 0 10px 30px rgba(11, 11, 11, 0.055);
  --senti-fw-shadow-md: 0 18px 50px rgba(11, 11, 11, 0.075);
  --senti-fw-serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --senti-fw-sans: "Inter", "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --senti-fw-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --senti-fw-text-xs: 11px;
  --senti-fw-text-sm: 12px;
  --senti-fw-text-md: 14px;
  --senti-fw-text-lg: 16px;
  --senti-fw-text-xl: 20px;
  --senti-fw-h1: clamp(32px, 3vw, 60px);
  --senti-fw-h2: clamp(28px, 2vw, 42px);
  --senti-fw-h3: clamp(21px, 1.6vw, 28px);
  --senti-fw-container: 1480px;
  --senti-fw-container-narrow: 1180px;
  --senti-fw-gutter: clamp(18px, 3vw, 48px);
  --senti-fw-section-gap: clamp(34px, 5vw, 72px);
  --senti-fw-card-gap: 18px;
  --senti-fw-radius-xs: 2px;
  --senti-fw-radius-sm: 10px;
  --senti-fw-radius-md: 14px;
  --senti-fw-radius-lg: 20px;
  --senti-fw-radius-xl: 28px;
  --senti-fw-radius-pill: 999px;
  --senti-fw-transition: 180ms ease;
  --sf-nav-ink: #0b0b0b;
  --sf-nav-muted: #77716a;
  --sf-nav-line: rgba(17,17,17,.105);
  --sf-nav-line-strong: rgba(17,17,17,.18);
  --sf-nav-surface: rgba(255,255,255,.94);
  --sf-nav-surface-solid: #ffffff;
  --sf-nav-ivory: #faf8f5;
  --sf-nav-champagne: #efe5d7;
  --sf-nav-shadow: 0 18px 46px rgba(20,17,14,.065);
  --sf-nav-radius: 14px;
  --sf-nav-font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sf-nav-panel-bg: rgba(255,255,255,.96);
  --sf-nav-panel-line: rgba(17,17,17,.09);
  --sf-nav-hover-bg: rgba(17,17,17,.035);
  --sf-ink: #0b0b0b;
  --sf-graphite: #5f5b55;
  --sf-muted: #8a8378;
  --sf-line: rgba(17,17,17,.105);
  --sf-line-strong: rgba(17,17,17,.18);
  --sf-bg: #faf8f5;
  --sf-surface: #fff;
  --sf-soft: #f5f1eb;
  --sf-champagne: #eadfcd;
  --sf-blush: #f4e6e4;
  --sf-lavender: #eee9f7;
  --sf-shadow-xs: 0 8px 22px rgba(17,17,17,.035);
  --sf-shadow-sm: 0 18px 44px rgba(17,17,17,.055);
  --sf-font-serif: "Playfair Display", Georgia, serif;
  --sf-font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sf-community-ink: var(--sf-ink, #0b0b0b);
  --sf-community-muted: var(--sf-graphite, #69645e);
  --sf-community-soft: #faf8f5;
  --sf-community-line: rgba(17,17,17,.115);
  --sf-community-line-soft: rgba(17,17,17,.075);
  --sf-community-champagne: #e8dccb;
}

.sf-page {
  width: 100%;
  padding: 54px clamp(18px, 3vw, 54px) 76px;
  color: var(--sf-community-ink);
}

.sf-community-shell {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

.sf-community-hero {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 48px;
}

.sf-community-hero__icon {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: grid;
  place-items: center;
  border: 2px solid #111;
   border-radius: var(--senti-fw-radius-xs);
  background: #fff;
}

.sf-community-hero__icon img {
  display: block;
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
}

.sf-community-hero__copy {
  max-width: 1120px;
  padding-top: 5px;
}

.sf-community-hero__copy h1 {
  margin: 0;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(40px, 4.8vw, 70px);
  line-height: .94;
  font-weight: 560;
  letter-spacing: -.045em;
  color: #080808;
}

.sf-community-hero__copy p {
  max-width: 1050px;
  margin: 18px 0 0;
  color: var(--sf-community-muted);
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 16px;
  line-height: 1.62;
}

.sf-community-directory {
  display: grid;
  grid-template-columns: 320px minmax(0,1fr);
  gap: 64px;
  align-items: start;
  margin-top: 30px;
}

.sf-community-sidebar {
  position: sticky;
  top: 96px;
}

.sf-community-filter {
  display: grid;
  gap: 28px;
}

.sf-community-filter__block {
  display: grid;
  gap: 12px;
}

.sf-community-filter__label {
  display: block;
  color: #5d554b;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.sf-community-search {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--sf-community-line);
  background: #fff;
  box-shadow: 0 14px 30px rgba(17,17,17,.035);
}

.sf-community-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 46px 0 15px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 13px;
}

.sf-community-search input::placeholder {
  color: #8e8982;
}

.sf-community-search button {
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #3d3935;
  cursor: pointer;
}

.sf-community-search button svg {
  width: 18px !important;
  height: 18px !important;
  display: block;
}

.sf-community-select-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: 112px minmax(0,1fr);
  align-items: center;
  border: 1px solid var(--sf-community-line-soft);
  border-bottom: 0;
  background: #fff;
}

.sf-community-select-row:last-child {
  border-bottom: 1px solid var(--sf-community-line-soft);
}

.sf-community-select-row span {
  padding: 0 14px;
  color: #4d4741;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 10px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sf-community-select-row input, .sf-community-select-row select {
  width: 100%;
  min-height: 46px;
  padding: 0 34px 0 10px;
  border: 0;
  outline: 0;
  background: #fff;
  color: #57514b;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 12px;
  font-weight: 560;
}

.sf-community-select-row select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #777 50%), linear-gradient(135deg, #777 50%, transparent 50%);
  background-position: calc(100% - 17px) 20px, calc(100% - 12px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.sf-community-filter__actions {
  display: grid;
  gap: 10px;
}

.sf-community-filter__actions .sf-btn {
  width: 100%;
  min-height: 44px;
}

.sf-community-results {
  min-width: 0;
}

.sf-community-results__top {
  min-height: 42px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.sf-community-results__top h2 {
  margin: 0;
  color: #111;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.sf-community-results__top p {
  margin: 10px 0 0;
  color: #6f685f;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.sf-community-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sf-community-sort span {
  color: #5d554b;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.sf-community-sort select {
  min-height: 34px;
  padding: 0 31px 0 8px;
  border: 0;
  border-bottom: 1px solid #111;
  outline: 0;
  background: transparent;
  color: #111;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #111 50%), linear-gradient(135deg, #111 50%, transparent 50%);
  background-position: calc(100% - 14px) 15px, calc(100% - 9px) 15px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.sf-community-members-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  justify-content: stretch;
}

.sf-community-member-card {
  width: 100%;
  min-height: 456px;
  border-radius: 0;
  border-color: rgba(17,17,17,.13);
  box-shadow: none;
}

.sf-community-member-card:hover {
  box-shadow: 0 18px 44px rgba(17,17,17,.04);
}

.sf-community-member-card__main {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  flex-direction: column;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.sf-community-member-card .sf-scentmate-card__avatar {
  width: 116px;
  height: 116px;
  margin-bottom: 18px;
}

.sf-community-member-card .sf-scentmate-card__score {
  width: 38px;
  height: 38px;
  top: 22px;
  right: 22px;
  font-size: 11px;
}

.sf-score-ring {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  --sf-score: 0deg;
  border: 0 !important;
  background: radial-gradient(circle, #fff 58%, transparent 60%),
    conic-gradient(#111 var(--sf-score), rgba(17,17,17,.11) 0);
}

.sf-score-ring span {
  font-size: 12px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.sf-score-ring--mate {
  background: radial-gradient(circle, #fff 62%, transparent 64%),
    conic-gradient(#111 var(--sf-score), rgba(17,17,17,.105) 0);
}

.sf-community-member-card .sf-scentmate-card__perfumes {
  min-height: 48px;
}

.sf-community-member-card .sf-scentmate-card__bottom {
  margin-top: auto;
}

.sf-community-loadmore {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

@media (max-width: 1180px) {
.sf-community-directory {
  grid-template-columns: 280px minmax(0,1fr);
  gap: 36px;
}

.sf-community-members-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 900px) {
.sf-page {
  padding: 34px 16px 58px;
}

.sf-community-hero {
  gap: 16px;
  margin-bottom: 32px;
}

.sf-community-hero__icon {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
}

.sf-community-hero__copy h1 {
  font-size: clamp(34px, 10vw, 48px);
}

.sf-community-directory {
  grid-template-columns: 1fr;
  gap: 28px;
}

.sf-community-sidebar {
  position: static;
}

.sf-community-results__top {
  align-items: flex-start;
  flex-direction: column;
}
}

@media (max-width: 640px) {
.sf-community-hero {
  align-items: flex-start;
}

.sf-community-hero__icon {
  display: none;
}

.sf-community-select-row {
  grid-template-columns: 96px minmax(0,1fr);
}

.sf-community-members-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

.sf-community-member-card {
  min-height: 420px;
}
}

/* =========================================================
   SENTI Framework – Ambient player in navigation
   Paste into public/css/senti-framework.css
   ---------------------------------------------------------
   - no bottom floating player
   - note icon trigger in nav
   - popover playlist panel
========================================================= */

.sf-ambient-root,
.sf-ambient-root *{
  box-sizing:border-box;
}

.sf-ambient-root{
  position:relative;
  z-index:180;
  font-family:var(--sf-nav-font-sans, "Inter", system-ui, sans-serif);
  color:var(--sf-nav-ink, #0b0b0b);
}

.sf-ambient-trigger{
  overflow:visible;
}

.sf-ambient-trigger::before{
  content:"";
  position:absolute;
  inset:6px;
  border-radius:999px;
  background:
    radial-gradient(circle at 46% 42%, rgba(255,255,255,.9), transparent 35%),
    radial-gradient(circle at 56% 55%, rgba(233,228,248,.65), transparent 56%),
    radial-gradient(circle at 38% 67%, rgba(239,224,207,.62), transparent 54%);
  opacity:.72;
  transform:scale(.72);
  transition:opacity .18s ease, transform .18s ease;
  pointer-events:none;
}

.sf-ambient-trigger:hover::before,
.sf-ambient-trigger.is-open::before,
.sf-ambient-trigger.is-playing::before{
  opacity:1;
  transform:scale(1);
}

.sf-ambient-trigger__icon{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  color:currentColor;
  font-family:Georgia, serif;
  font-size:17px;
  font-weight:700;
  line-height:1;
}

.sf-ambient-trigger__icon--note{
  animation:sf-ambient-note-float 2.7s ease-in-out infinite;
}

.sf-ambient-trigger__icon--pause{
  display:none;
  font-family:var(--sf-nav-font-sans, "Inter", system-ui, sans-serif);
  font-size:13px;
  letter-spacing:-.18em;
  transform:translateX(-1px);
}

.sf-ambient-trigger.is-playing .sf-ambient-trigger__icon--note,
body.sf-ambient-is-playing .sf-ambient-trigger__icon--note{
  display:none;
}

.sf-ambient-trigger.is-playing .sf-ambient-trigger__icon--pause,
body.sf-ambient-is-playing .sf-ambient-trigger__icon--pause{
  display:inline-flex;
}

body.sf-ambient-is-playing .sf-ambient-trigger::before{
  opacity:1;
  transform:scale(1);
  animation:sf-ambient-soft-pulse 2.2s ease-in-out infinite;
}

@keyframes sf-ambient-note-float{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-2px); }
}

@keyframes sf-ambient-soft-pulse{
  0%,100%{ box-shadow:0 0 0 rgba(17,17,17,0); }
  50%{ box-shadow:0 0 18px rgba(181,142,91,.18); }
}

.sf-ambient-panel[hidden]{
  display:none !important;
}

.sf-ambient-panel{
  position:fixed;
  top:76px;
  right:clamp(16px, 3.2vw, 56px);
  z-index:190;
  width:min(360px, calc(100vw - 28px));
  padding:14px;
  border:1px solid rgba(17,17,17,.105);
  border-radius:16px;
  background:rgba(255,255,255,.98);
  box-shadow:0 24px 70px rgba(17,17,17,.13);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.sf-ambient-panel__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:2px 2px 12px;
  border-bottom:1px solid rgba(17,17,17,.08);
}

.sf-ambient-panel__label{
  color:#8c7861;
  font-size:10px;
  font-weight:850;
  letter-spacing:.18em;
  line-height:1;
  text-transform:uppercase;
}

.sf-ambient-panel__title{
  margin-top:7px;
  color:#111;
  font-family:var(--sf-nav-font-sans, "Inter", system-ui, sans-serif);
  font-size:13px;
  font-weight:760;
  line-height:1.25;
}

.sf-ambient-panel__close{
  width:30px;
  height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(17,17,17,.1);
  border-radius:999px;
  background:#fff;
  color:#111;
  cursor:pointer;
  font-size:18px;
  line-height:1;
}

.sf-ambient-panel__controls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 0 13px;
}

.sf-ambient-panel__mini,
.sf-ambient-panel__play{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(17,17,17,.12);
  border-radius:999px;
  background:#fff;
  color:#111;
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}

.sf-ambient-panel__mini{
  width:34px;
  height:34px;
  font-size:22px;
  line-height:1;
}

.sf-ambient-panel__play{
  width:44px;
  height:44px;
  background:#111;
  color:#fff;
  border-color:#111;
  font-size:14px;
}

.sf-ambient-panel__mini:hover,
.sf-ambient-panel__play:hover{
  transform:translateY(-1px);
}

.sf-ambient-panel__playIcon[data-state="playing"]{
  letter-spacing:-.18em;
  transform:translateX(-1px);
}

.sf-ambient-panel__listHead{
  margin:0 0 8px;
  color:#8a8378;
  font-size:10px;
  font-weight:850;
  letter-spacing:.17em;
  line-height:1;
  text-transform:uppercase;
}

.sf-ambient-panel__list{
  display:grid;
  gap:6px;
  max-height:260px;
  overflow:auto;
  padding-right:2px;
}

.sf-ambient-panel__item{
  width:100%;
  min-height:38px;
  padding:0 11px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border:1px solid rgba(17,17,17,.08);
  border-radius:10px;
  background:#fff;
  color:#111;
  cursor:pointer;
  font-family:var(--sf-nav-font-sans, "Inter", system-ui, sans-serif);
  font-size:12px;
  font-weight:650;
  line-height:1.2;
  text-align:left;
}

.sf-ambient-panel__item:hover,
.sf-ambient-panel__item.is-active{
  border-color:rgba(17,17,17,.18);
  background:#faf8f5;
}

.sf-ambient-panel__item.is-active::after{
  content:"♪";
  color:#b18a58;
  font-family:Georgia, serif;
  font-size:14px;
  margin-left:10px;
}

@media (max-width: 640px){
  .sf-ambient-panel{
    top:68px;
    right:10px;
    left:10px;
    width:auto;
  }
}

@media (prefers-reduced-motion: reduce){
  .sf-ambient-trigger__icon--note,
  body.sf-ambient-is-playing .sf-ambient-trigger::before{
    animation:none !important;
  }
}


/* =========================================================
   SENTI Framework – Nav profile icon polish
========================================================= */
.sf-nav-profile-btn svg{
  width:18px !important;
  height:18px !important;
}


/* =========================================================
   SENTI Framework – Collection v1.4 HOTFIX
   Paste at the VERY END of public/css/senti-framework.css
   ---------------------------------------------------------
   Fixes:
   - old .senti-feedback grid areas interfering with new sf-* layout
   - rating sliders for výdrž/projekce visible again
   - match ring pinned cleanly to top-right edge of content
   - comment row stays below actions + sliders
========================================================= */

@supports (display: senti-legacy-collection-layout) {

/* Card shell: keep one horizontal card, not legacy grid. */
article.senti-collection-card.sf-collection-card,
.senti-card.senti-collection-card.sf-collection-card{
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(17,17,17,.10) !important;
  border-radius: var(--senti-fw-radius-xs) !important;
  background: #fff !important;
  box-shadow: 0 14px 38px rgba(17,17,17,.035) !important;
}

.sf-collection-card__layout{
  display: grid !important;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr) !important;
  gap: 30px !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 26px 30px 26px 24px !important;
}

.sf-collection-card__body,
.senti-collection-body.sf-collection-card__body{
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

/* Header: title left, match right. */
.sf-collection-card__head,
.senti-collection-head.sf-collection-card__head{
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sf-collection-card__titlecopy{
  min-width: 0 !important;
  max-width: 100% !important;
}

.sf-collection-card__brand,
.senti-collection-brand.sf-collection-card__brand{
  display: block !important;
  margin: 0 0 8px !important;
  color: #8a8378 !important;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif) !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.sf-collection-card__name,
.senti-collection-name.sf-collection-card__name{
  display: block !important;
  margin: 0 !important;
  color: #0b0b0b !important;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif) !important;
  font-size: 28px !important;
  line-height: 1.05 !important;
  font-weight: 600 !important;
  letter-spacing: -.035em !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
}

/* Match block: top-right, never falls into comment/action area. */
.sf-collection-match,
.senti-fitline.sf-collection-match{
  position: static !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  align-self: start !important;
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  min-width: 132px !important;
  max-width: 220px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.sf-collection-match__copy{
  display: block !important;
  min-width: 0 !important;
}

.sf-collection-match__label{
  display: block !important;
  color: #706960 !important;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif) !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.sf-score-ring--collection-match{
  --sf-score-deg: 0deg;
  position: relative !important;
  width: 56px !important;
  height: 56px !important;
  flex: 0 0 56px !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: conic-gradient(#0b0b0b var(--sf-score-deg), #e5e1dc 0deg) !important;
  color: #0b0b0b !important;
  box-shadow: none !important;
}

.sf-score-ring--collection-match::before{
  content: "" !important;
  position: absolute !important;
  inset: 4px !important;
  border-radius: inherit !important;
  background: #fff !important;
}

.sf-score-ring--collection-match span{
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  color: #0b0b0b !important;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

/* Reason text: full width under header. */
.sf-collection-card__reason,
.senti-fit-reason.sf-collection-card__reason{
  display: block !important;
  width: 100% !important;
  max-width: 980px !important;
  margin: 0 !important;
  color: #6e6861 !important;
  font-size: 15px !important;
  line-height: 1.62 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
}

/* CRITICAL: reset legacy .senti-feedback grid-areas. */
.sf-collection-feedback.senti-feedback,
.senti-feedback.sf-collection-feedback{
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-areas: none !important;
  gap: 16px !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.sf-collection-actions.senti-feedback__likes,
.senti-feedback__likes.sf-collection-actions{
  grid-area: auto !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  width: 100% !important;
}

/* Metrics row must sit between action buttons and comment textarea. */
.sf-collection-metrics{
  grid-area: auto !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
  gap: 18px 30px !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.sf-rating-row,
.senti-feedback__row.sf-rating-row,
.senti-feedback__row--metric.sf-rating-row,
.senti-feedback__row--longevity.sf-rating-row,
.senti-feedback__row--sillage.sf-rating-row{
  grid-area: auto !important;
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.sf-rating-row__label,
.senti-feedback__label.sf-rating-row__label{
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  color: #6f6a64 !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 720 !important;
  opacity: 1 !important;
  white-space: nowrap !important;
}

.sf-rating-slider,
.senti-slider.sf-rating-slider,
.senti-feedback__row--metric .senti-slider.sf-rating-slider{
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  min-width: 0 !important;
}

.sf-rating-slider__range,
.senti-range.sf-rating-slider__range,
.senti-collection-card .senti-range.sf-rating-slider__range{
  --pct: 0%;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  outline: none !important;
  cursor: pointer !important;
}

.sf-rating-slider__range::-webkit-slider-runnable-track,
.senti-collection-card .senti-range.sf-rating-slider__range::-webkit-slider-runnable-track{
  height: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(to right, #0b0b0b 0 var(--pct, 0%), #d8d6d2 var(--pct, 0%) 100%) !important;
}

.sf-rating-slider__range::-webkit-slider-thumb,
.senti-collection-card .senti-range.sf-rating-slider__range::-webkit-slider-thumb{
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  margin-top: -7.5px !important;
  border: 2px solid #0b0b0b !important;
  border-radius: 999px !important;
  background: #0b0b0b !important;
  box-shadow: 0 0 0 5px #fff, 0 8px 18px rgba(17,17,17,.14) !important;
}

.sf-rating-slider__range::-moz-range-track,
.senti-collection-card .senti-range.sf-rating-slider__range::-moz-range-track{
  height: 3px !important;
  border-radius: 999px !important;
  background: #d8d6d2 !important;
}

.sf-rating-slider__range::-moz-range-progress,
.senti-collection-card .senti-range.sf-rating-slider__range::-moz-range-progress{
  height: 3px !important;
  border-radius: 999px !important;
  background: #0b0b0b !important;
}

.sf-rating-slider__range::-moz-range-thumb,
.senti-collection-card .senti-range.sf-rating-slider__range::-moz-range-thumb{
  width: 18px !important;
  height: 18px !important;
  border: 2px solid #0b0b0b !important;
  border-radius: 999px !important;
  background: #0b0b0b !important;
  box-shadow: 0 0 0 5px #fff, 0 8px 18px rgba(17,17,17,.14) !important;
}

.sf-rating-slider__value,
.senti-slider__val.sf-rating-slider__value{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  padding: 5px 8px !important;
  border: 1px solid rgba(17,17,17,.12) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.sf-rating-slider__value::after{
  content: "/10" !important;
  margin-left: 1px !important;
  color: #8b857d !important;
  font-weight: 720 !important;
}

/* Comment row must stay under metrics, not receive legacy grid area. */
.sf-collection-comment.senti-feedback__comment,
.senti-feedback__comment.sf-collection-comment{
  grid-area: auto !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.sf-collection-commentbox.senti-feedback__commentbox,
.senti-feedback__commentbox.sf-collection-commentbox{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 12px !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
}

.sf-collection-textarea.senti-textarea,
.senti-textarea.sf-collection-textarea{
  width: 100% !important;
  min-height: 64px !important;
  height: auto !important;
  padding: 16px 17px !important;
  border: 1px solid rgba(17,17,17,.12) !important;
   border-radius: var(--senti-fw-radius-xs) !important;
  background: linear-gradient(180deg, #fff, rgba(251,250,248,.84)) !important;
  color: #2b2926 !important;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  resize: vertical !important;
  outline: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95) !important;
}

.sf-collection-commentbar.senti-feedback__commentbar,
.senti-feedback__commentbar.sf-collection-commentbar{
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  gap: 8px !important;
  margin: 0 !important;
}

.sf-collection-save-comment,
.senti-btn.sf-collection-save-comment{
  min-height: 64px !important;
  height: auto !important;
  padding: 0 22px !important;
  border: 1px solid rgba(17,17,17,.14) !important;
   border-radius: var(--senti-fw-radius-xs) !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

.sf-collection-save-comment:hover{
  border-color: #111 !important;
  background: #111 !important;
  color: #fff !important;
}

@media (max-width: 1180px){
  .sf-collection-card__layout{
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr) !important;
    gap: 22px !important;
    padding: 24px !important;
  }

  .sf-collection-metrics{
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 780px){
  .sf-collection-card__layout{
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 22px 18px !important;
  }

  .sf-collection-card__head{
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .sf-collection-match{
    min-width: 72px !important;
    gap: 8px !important;
  }

  .sf-collection-match__copy{
    display: none !important;
  }

  .sf-collection-commentbox{
    grid-template-columns: 1fr !important;
  }

  .sf-collection-save-comment{
    width: 100% !important;
    min-height: 46px !important;
  }
}


}

/* =========================================================
   SENTI Framework – Catalog redesign v1.1
   Append to the END of public/css/senti-framework.css
========================================================= */

.sf-catalog-page{
  --sf-card-border:#e7e0d7;
  --sf-card-bg:#fffdf9;
  --sf-soft:#8b8379;
  --sf-text:#171412;
  --sf-cream:#faf6ef;
}

.sf-catalog-section{
  margin-bottom:28px;
}

/* ---------- filter / search block ---------- */
.sf-catalog-filter-card{
  padding:18px 20px 18px !important;
  border:1px solid var(--sf-card-border) !important;
  border-radius:20px !important;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(252,249,244,.96)) !important;
  box-shadow:0 14px 38px rgba(17,17,17,.035) !important;
}

.sf-catalog-searchbar{
  display:grid;
  grid-template-columns: 28px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  min-height:64px;
  padding:0 14px 0 16px;
  border:1px solid #e8e1d7;
  border-radius:14px;
  background:#fff;
}

.sf-catalog-searchbar__icon,
.sf-catalog-filter-trigger__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.sf-catalog-searchbar__icon svg,
.sf-catalog-filter-trigger__icon svg,
.sf-catalog-brandrail__more svg,
.sf-icon-btn svg{
  width:18px;
  height:18px;
}

.sf-catalog-searchbar__input{
  min-width:0;
  border:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  padding:0 !important;
  min-height:auto !important;
  font-size:14px !important;
}

.sf-catalog-searchbar__input:focus{
  outline:none !important;
}

.sf-catalog-filter-trigger{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:0 16px;
  border:1px solid #e8e1d7;
  border-radius:12px;
  background:#fff;
  color:#26211d;
  font-weight:650;
  font-size:13px;
  transition:border-color .2s ease, background .2s ease, transform .2s ease;
}

.sf-catalog-filter-trigger:hover{
  border-color:#d8cfbf;
  background:#fbf8f2;
  transform:translateY(-1px);
}

.sf-catalog-brandmeta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:16px;
  margin-bottom:10px;
}

.sf-catalog-brandmeta__label{
  font-size:13px;
  font-weight:700;
  color:#6b6359;
}

.sf-catalog-counts{
  margin:0 !important;
  color:#8c857b !important;
  font-size:12px !important;
}

.sf-catalog-brandrail-wrap{
  display:flex;
  align-items:center;
  gap:10px;
}

.sf-catalog-brandrail{
  display:flex;
  flex-wrap:nowrap;
  gap:10px;
  overflow:auto;
  padding-bottom:2px;
  scrollbar-width:none;
  flex:1 1 auto;
}

.sf-catalog-brandrail::-webkit-scrollbar{ display:none; }

.sf-catalog-chip,
.senti-chip.sf-catalog-chip{
  flex:0 0 auto;
  min-height:38px;
  padding:0 16px;
  border:1px solid #e7dfd4 !important;
  border-radius:10px !important;
  background:#fff !important;
  color:#5e5750 !important;
  font-size:13px !important;
  font-weight:650 !important;
  box-shadow:none !important;
}

.sf-catalog-chip:hover,
.senti-chip.sf-catalog-chip:hover{
  background:#fbf8f2 !important;
  border-color:#d7cfbf !important;
  color:#29241f !important;
}

.sf-catalog-chip.is-on,
.senti-chip.sf-catalog-chip.is-on{
  background:#cfaa57 !important;
  border-color:#cfaa57 !important;
  color:#fff !important;
}

.sf-catalog-brandrail__more{
  flex:0 0 40px;
  width:40px;
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #e7dfd4;
  border-radius:10px;
  background:#fff;
  color:#5b534a;
}

.sf-catalog-loading{ margin-top:10px !important; }

/* ---------- grid & cards ---------- */
.sf-catalog-grid,
.senti-catalog-grid.sf-catalog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(270px, 1fr));
  gap:22px;
}

.sf-catalog-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  padding:18px !important;
  border:1px solid var(--sf-card-border) !important;
  border-radius:18px !important;
  background:var(--sf-card-bg) !important;
  box-shadow:none !important;
}

.sf-catalog-card__media{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio: 1 / 1;
  margin-bottom:18px;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

.sf-catalog-card__img,
.senti-catalog-img.sf-catalog-card__img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

.sf-catalog-card__flags{
  position:absolute;
  top:0;
  right:0;
  display:flex;
  gap:8px;
  z-index:2;
}

.sf-catalog-flag{
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-size:12px;
  box-shadow:none;
}

.sf-catalog-flag--wishlist{ background:#fff; color:#111; border:1px solid #ddd4c8; }
.sf-catalog-flag--owned{ background:#111; color:#fff; }
.sf-catalog-flag--saved{ background:#cfaa57; color:#fff; }

.sf-catalog-card__body{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:100%;
}

.sf-catalog-card__head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:start;
}

.sf-catalog-card__identity{ min-width:0; }

.sf-catalog-card__brand{
  margin:0 0 8px;
  font-size:12px;
  font-weight:750;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#8a775a;
}

.sf-catalog-card__name{
  margin:0;
  font-family:"Playfair Display", Georgia, serif;
  font-size:18px;
  line-height:1.08;
  color:var(--sf-text);
}

.sf-catalog-card__notes{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size:12.5px;
  line-height:1.75;
  letter-spacing:.055em;
  color:#6f665f;
}

.sf-catalog-card__divider{
  height:1px;
  background:#e9e2d8;
  margin:2px 0 0;
}

.sf-catalog-fitwrap{
  position:static !important;
  display:block !important;
}

.sf-catalog-fitbadge.sf-score-ring{
  position:static !important;
  right:auto !important;
  bottom:auto !important;
  flex:0 0 46px;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:0 !important;
  background:radial-gradient(circle, #fff 58%, transparent 60%), conic-gradient(#111 var(--sf-score), rgba(17,17,17,.14) 0) !important;
}

.sf-catalog-fitbadge.sf-score-ring::before{ content:none !important; }

.sf-catalog-fitbadge.sf-score-ring span{
  position:relative;
  z-index:1;
  color:#111;
  font-size:13px;
  font-weight:850;
}

.sf-catalog-card__reason{
  margin:0;
  color:#5f5852;
  font-size:15px;
  line-height:1.7;
  display:-webkit-box;
  -webkit-line-clamp:6;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.sf-catalog-card__meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:auto;
  font-size:12px;
  color:#857e75;
}

.sf-catalog-card__actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  padding-top:4px;
}

.sf-catalog-action-form,
.sf-catalog-fit-form{ margin:0; }

.sf-icon-btn,
.sf-catalog-fit-form .sf-icon-btn{
  width:46px;
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #ddd4c8;
  border-radius:12px;
  background:#fff;
  color:#191612;
  text-decoration:none;
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.sf-icon-btn:hover,
.sf-catalog-fit-form .sf-icon-btn:hover{
  transform:translateY(-1px);
  border-color:#bcb2a6;
  background:#faf7f2;
}

.sf-icon-btn.is-active,
.sf-icon-btn[disabled].is-active{
  background:#111;
  border-color:#111;
  color:#fff;
  opacity:1;
}

.sf-icon-btn:disabled{
  cursor:default;
}

.sf-icon-btn.is-disabled{
  opacity:.42;
  pointer-events:none;
}

.sf-catalog-empty{
  padding:22px !important;
  border-radius:16px !important;
}

.sf-catalog-more{
  min-height:46px !important;
  border-radius:12px !important;
}

@media (max-width: 900px){
  .sf-catalog-brandmeta{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 640px){
  .sf-catalog-filter-card{
    padding:14px !important;
    border-radius:18px !important;
  }

  .sf-catalog-searchbar{
    grid-template-columns:24px minmax(0,1fr);
    padding:12px 12px 12px 14px;
    min-height:auto;
  }

  .sf-catalog-filter-trigger{
    grid-column:1 / -1;
    justify-content:center;
    min-height:44px;
  }

  .sf-catalog-grid,
  .senti-catalog-grid.sf-catalog-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .sf-catalog-card{
    padding:16px !important;
  }

  .sf-catalog-card__actions{
    justify-content:flex-start;
  }

  .sf-icon-btn,
  .sf-catalog-fit-form .sf-icon-btn{
    width:44px;
    height:44px;
  }
}





.senti-header {position: relative}

.senti-kicker {
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(0,0,0,.45);
}


.senti-title {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: var(--senti-fw-h1);
  line-height: 1.08;
  margin: 0 0 12px 0;
  text-rendering: geometricPrecision;
}

.senti-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 var(--space-3) 0;
}

.senti-header .senti-subtitle,
.senti-header .senti-kicker,
.senti-header .senti-title {margin-left: 90px}


/* SENTI catalog compact filter/stats */






.senti-catalog-filter-head {
  margin-bottom: 14px;
}











.senti-catalog-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  padding: 4px 0 0;
}

.senti-catalog-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid rgba(17, 17, 17, .10);
  border-radius: var(--senti-fw-radius-xs);
}

.senti-catalog-stat__ico {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
}

.senti-catalog-stat__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.05;
}

.senti-catalog-stat__text strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.03em;
  color: #111;
}

.senti-catalog-stat__text small {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, .52);
}

@media (max-width: 900px) {
  .senti-catalog-filter-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .senti-catalog-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 0;
  }

  .senti-catalog-stat {
    min-height: 50px;
  }
}

@media (max-width: 560px) {
  

  .senti-catalog-stats {
    grid-template-columns: 1fr;
  }
}

/* SENTI catalog icon actions */
.senti-catalog-icon-actions {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  margin-top: 8px;
}

.senti-catalog-icon-form {
  margin: 0;
  padding: 0;
  width: 100%;
}

.senti-catalog-icon-action {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: #111;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  font: inherit;
}

.senti-catalog-icon-action__ico {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, .14);
  background: rgba(255, 255, 255, .92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.senti-catalog-icon-action__ico svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.senti-catalog-icon-action__label {
  max-width: 100%;
  font-size: 11px;
  line-height: 1.1;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, .58);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.senti-catalog-icon-action:hover .senti-catalog-icon-action__ico,
.senti-catalog-icon-action:focus-visible .senti-catalog-icon-action__ico {
  transform: translateY(-1px);
  border-color: rgba(17, 17, 17, .72);
  box-shadow: 0 8px 22px rgba(17, 17, 17, .07);
  background: #fff;
}

.senti-catalog-icon-action:hover .senti-catalog-icon-action__label,
.senti-catalog-icon-action:focus-visible .senti-catalog-icon-action__label {
  color: rgba(17, 17, 17, .86);
}

.senti-catalog-icon-action:focus-visible {
  outline: none;
}

.senti-catalog-icon-action:focus-visible .senti-catalog-icon-action__ico {
  outline: 2px solid rgba(17, 17, 17, .32);
  outline-offset: 3px;
}

.senti-catalog-icon-action:disabled,
.senti-catalog-icon-action.is-disabled {
  cursor: not-allowed;
  opacity: .42;
}

.senti-catalog-icon-action.is-loading .senti-catalog-icon-action__ico {
  font-size: 18px;
  letter-spacing: .08em;
}

@media (max-width: 560px) {
  .senti-catalog-icon-actions {
    gap: 8px;
  }

  .senti-catalog-icon-action__ico {
    width: 40px;
    height: 40px;
  }

  .senti-catalog-icon-action__label {
    font-size: 10px;
  }
}



.pg_ico {width: 64px; height: 64px; border: solid 2px black; border-radius: var(--senti-fw-radius-xs); padding: 10px; margin-right: 10px; position: absolute; left: -5px; top: -5px}


.senti-card,
.public-perfume,
.senti-kpi,
.senti-note,
.senti-status,
.senti-header--dark,
.senti-toast__inner,
.senti-results,
.senti-result,
.senti-modal__dialog,
.senti-panel,
.senti-box,
.senti-surface {
  border-radius: var(--senti-fw-radius-xs);
}

.senti-input,
.senti-select,
.senti-textarea,
.senti-search,
.senti-search input,
.senti-field input,
.senti-field select,
.senti-field textarea {
  border-radius: var(--senti-fw-radius-xs);
}

.senti-btn,
.senti-btn--ghost,
.senti-btn--secondary,
.senti-btn--primary,
.senti-btn--sm,
.senti-linkbtn,
.senti-action,
.senti-cta {
  border-radius: var(--senti-fw-radius-xs);
  margin-bottom: 5px;
  cursor: pointer;
}

.senti-btn.solid {
  border: solid 2px #000;
}

.senti-btn:hover {
  background: rgba(0,0,0,1);
  border-color: rgba(0,0,0,.18);
  color: #fff;
}

.senti-pill,
.senti-chip,
.senti-fit,
.senti-badge,
.senti-tag,
.senti-dot,
.senti-filter,
.senti-token,
.senti-mini-badge {
  border-radius: var(--senti-fw-radius-xs);
}


/* SENTI catalog filter header stats - append AFTER previous catalog CSS */


.senti-catalog-filter-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 16px;
}

.senti-catalog-filter-card .senti-h2 {
  padding-top: 5px;
}











.senti-catalog-stats.senti-catalog-stats--top {
  display: grid;
  grid-template-columns: repeat(3, 76px);
  gap: 9px;
  flex: 0 0 auto;
  padding: 0;
}

.senti-catalog-stats--top .senti-catalog-stat {
  width: 76px;
  height: 76px;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid rgba(17, 17, 17, .11);
  border-radius: 0;
  background: rgba(255, 255, 255, .86);
  text-align: center;
}

.senti-catalog-stats--top .senti-catalog-stat strong {
  display: block;
  font-size: 27px;
  line-height: .95;
  font-weight: 600;
  letter-spacing: -.045em;
  color: #111;
}

.senti-catalog-stats--top .senti-catalog-stat__label {
  margin: 0;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .12em;
  color: rgba(17, 17, 17, .54);
}

@media (max-width: 820px) {
  .senti-catalog-filter-top {
    display: block;
    margin-bottom: 14px;
  }

  .senti-catalog-stats.senti-catalog-stats--top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .senti-catalog-stats--top .senti-catalog-stat {
    width: auto;
    height: 64px;
  }
}

@media (max-width: 560px) {
  

  .senti-catalog-stats--top .senti-catalog-stat strong {
    font-size: 23px;
  }

  .senti-catalog-stats--top .senti-catalog-stat__label {
    font-size: 9px;
  }
}



.senti-catalog-search {
  position: relative;
  max-width: 620px;
  margin-top: 18px;
}

.senti-catalog-search__label {
  display: block;
  padding: 6px 0;
}

#catalogSearch {
  width: 100%;
}

.senti-catalog-grid {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 18px;
}


/* SENTI catalog filter compact two-column layout - append AFTER previous catalog CSS */
.senti-catalog-filter-card {
  padding: 20px 24px 18px !important;
}

.senti-catalog-filter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 22px;
}

.senti-catalog-filter-main {
  min-width: 0;
}

.senti-catalog-filter-title {
  margin: 0 0 14px !important;
}

.senti-catalog-controls {
  display: grid;
  grid-template-columns: minmax(280px, 640px) minmax(190px, 230px);
  align-items: end;
  gap: 12px;
  margin: 0 0 12px;
}

.senti-catalog-filter-card .senti-catalog-search {
  max-width: none;
  margin: 0 !important;
}

.senti-catalog-sort {
  position: relative;
  display: grid;
  gap: 6px;
}

.senti-catalog-sort > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.senti-catalog-sort::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #111;
  border-bottom: 1.5px solid #111;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.senti-catalog-sort .senti-select {
  width: 100%;
  height: 40px;
  padding: 0 38px 0 13px;
  border: 1px solid rgba(17,17,17,.16);
  border-radius: var(--senti-fw-radius-xs, 3px);
  background: rgba(255,255,255,.94);
  color: #111;
  font-family: var(--sf-font-sans, Inter, sans-serif);
  font-size: 12px;
  font-weight: 680;
  appearance: none;
  cursor: pointer;
}

.senti-catalog-sort .senti-select:hover,
.senti-catalog-sort .senti-select:focus {
  border-color: rgba(17,17,17,.34);
  outline: none;
}

.senti-catalog-filter-card .senti-catalog-search__label {
  display: block;
  margin: 0 0 7px !important;
}

.senti-catalog-filter-card .senti-input {
  height: 40px !important;
}

.senti-catalog-filter-card .senti-brandchips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px !important;
  margin: 0 !important;
}

.senti-catalog-filter-card .senti-chip {
  min-height: 34px !important;
  padding: 7px 13px !important;
}

.senti-catalog-stats.senti-catalog-stats--compact {
  display: grid;
  grid-template-columns: repeat(3, 74px);
  gap: 8px;
  padding: 0;
  margin: 0;
  align-self: start;
}

.senti-catalog-stats--compact .senti-catalog-stat {
  width: 74px;
  height: 74px;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 0;
  background: rgba(255, 255, 255, .9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}

.senti-catalog-stats--compact .senti-catalog-stat strong {
  display: block;
  font-size: 28px;
  line-height: .95;
  font-weight: 600;
  letter-spacing: -.045em;
  color: #111;
}

.senti-catalog-stats--compact .senti-catalog-stat__label {
  margin: 0;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .12em;
  color: rgba(17, 17, 17, .54);
}

@media (max-width: 980px) {
  .senti-catalog-filter-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .senti-catalog-stats.senti-catalog-stats--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .senti-catalog-stats--compact .senti-catalog-stat {
    width: auto;
    height: 62px;
  }
}

@media (max-width: 560px) {
  .senti-catalog-filter-card {
    padding: 18px !important;
  }

  .senti-catalog-filter-title {
    margin-bottom: 12px !important;
  }

  .senti-catalog-stats--compact .senti-catalog-stat strong {
    font-size: 23px;
  }

  .senti-catalog-stats--compact .senti-catalog-stat__label {
    font-size: 9px;
  }
}

#catalogGrid.senti-catalog-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
}

#catalogGrid.senti-catalog-grid > article,
#catalogGrid.senti-catalog-grid > .sf-scentmate-card,
#catalogGrid.senti-catalog-grid > .sf-community-member-card {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

@media (max-width: 1280px) {
  #catalogGrid.senti-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  #catalogGrid.senti-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  #catalogGrid.senti-catalog-grid {
    grid-template-columns: 1fr !important;
  }
}/* =========================================================
   SENTI Framework – Dashboard repair v1
   Paste at the VERY END of public/css/senti-framework.css
   ---------------------------------------------------------
   Fixes:
   1) Moje parfémy: 5 vůní + karta Přidat do sbírky v jedné řadě
   2) Scent-mates: korektní pátá CTA karta Komunita
   3) Scent Talks: kompletní card layout + omezení obrázku parfému
   Uses existing sf-* markup only; no Blade/controller change required.
========================================================= */

/* ---------------------------------------------------------
   1. MY PERFUMES – desktop grid repair
--------------------------------------------------------- */
.sf-dashboard-page .sf-perfume-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.sf-dashboard-page .sf-perfume-card--collection,
.sf-dashboard-page .sf-add-card {
  min-height: 318px;
  height: 100%;
}

.sf-dashboard-page .sf-add-card {
  padding: 22px 14px;
  background: rgba(255, 255, 255, .54);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.sf-dashboard-page .sf-add-card:hover,
.sf-dashboard-page .sf-add-card:focus-visible {
  background: rgba(250, 247, 242, .88);
  border-color: rgba(17, 17, 17, .18);
  transform: translateY(-1px);
  outline: none;
}

/* ---------------------------------------------------------
   2. SCENT-MATES – cards + community CTA card
--------------------------------------------------------- */
.sf-dashboard-page .sf-scentmate-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.sf-dashboard-page .sf-scentmate-card,
.sf-dashboard-page .sf-community-card {
  min-height: 414px;
  height: 100%;
}

.sf-dashboard-page .sf-community-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, .11);
  border-radius: 2px;
  background:
    radial-gradient(circle at 48% 72%, rgba(234, 225, 213, .52), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(232, 227, 242, .42), transparent 34%),
    rgba(255, 255, 255, .96);
  color: var(--sf-ink, #0b0b0b);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(17, 17, 17, .025);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sf-dashboard-page .sf-community-card:hover,
.sf-dashboard-page .sf-community-card:focus-visible {
  border-color: rgba(17, 17, 17, .21);
  box-shadow: 0 16px 38px rgba(17, 17, 17, .045);
  transform: translateY(-1px);
  outline: none;
}

.sf-dashboard-page .sf-community-card__kicker {
  margin: 0 0 22px;
  color: #a77b46;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  line-height: 1;
  text-transform: uppercase;
}

.sf-dashboard-page .sf-community-card h3 {
  margin: 0 0 16px;
  max-width: 210px;
  color: var(--sf-ink, #0b0b0b);
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: 24px;
  font-weight: 550;
  letter-spacing: -.028em;
  line-height: 1.16;
}

.sf-dashboard-page .sf-community-card p {
  margin: 0;
  max-width: 210px;
  color: var(--sf-graphite, #5f5b55);
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 12.5px;
  line-height: 1.58;
}

.sf-dashboard-page .sf-community-card__faces {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  margin-bottom: 21px;
}

.sf-dashboard-page .sf-community-card__faces span {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: 999px;
  background:
    radial-gradient(circle at 45% 36%, rgba(255, 255, 255, .94), transparent 18%),
    radial-gradient(circle at 60% 44%, rgba(226, 218, 238, .70), transparent 45%),
    #f4eee6;
}

.sf-dashboard-page .sf-community-card__faces span img,
.sf-dashboard-page .sf-community-card__faces span > div,
.sf-dashboard-page .sf-community-card__faces span svg,
.sf-dashboard-page .sf-community-card__faces span canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
}

.sf-dashboard-page .sf-community-card__faces em {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #9a7a50;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
}

.sf-dashboard-page .sf-community-card > strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-top: 16px;
  border-top: 1px solid rgba(17, 17, 17, .1);
  color: #0b0b0b;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
}

.sf-dashboard-page .sf-community-card:hover > strong span {
  transform: translateX(3px);
}

.sf-dashboard-page .sf-community-card > strong span {
  transition: transform .18s ease;
}

/* ---------------------------------------------------------
   3. SCENT TALKS – dashboard cards restored
--------------------------------------------------------- */
.sf-dashboard-page .sf-talk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
  gap: 18px;
  align-items: stretch;
}

.sf-dashboard-page .sf-talk-card,
.sf-dashboard-page .sf-talk-empty {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 272px;
  padding: 25px 26px 22px;
  overflow: hidden;
  border: 1px solid var(--sf-line, rgba(17, 17, 17, .1));
  border-radius: var(--senti-fw-radius-xs, 14px);
  background: rgba(255, 255, 255, .9);
  color: var(--sf-ink, #0b0b0b);
  text-decoration: none;
  box-shadow: var(--sf-shadow-xs, 0 10px 28px rgba(17, 17, 17, .04));
}

.sf-dashboard-page .sf-talk-card {
  border-top: 2px solid rgba(190, 163, 124, .54);
}

.sf-dashboard-page .sf-talk-empty {
  justify-content: center;
  background:
    radial-gradient(circle at 92% 20%, rgba(242, 233, 221, .58), transparent 34%),
    rgba(255, 255, 255, .88);
}

.sf-dashboard-page .sf-talk-card__kicker {
  margin: 0 0 18px;
  color: #a77b46;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.sf-dashboard-page .sf-talk-card__author {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 16px;
}

.sf-dashboard-page .sf-talk-card__avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: 999px;
  background:
    radial-gradient(circle at 40% 30%, rgba(255, 255, 255, .86), transparent 22%),
    linear-gradient(135deg, #f2e8da, #ebe9f1);
  color: #1a1816;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 13px;
  font-weight: 800;
}

.sf-dashboard-page .sf-talk-card__author strong {
  display: block;
  margin: 0;
  color: #12100f;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.2;
}

.sf-dashboard-page .sf-talk-card__author small {
  display: block;
  margin-top: 4px;
  color: var(--sf-muted, #817a71);
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 11px;
  line-height: 1.25;
}

.sf-dashboard-page .sf-talk-card__text {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 18px;
  color: var(--sf-graphite, #5f5b55);
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.sf-dashboard-page .sf-talk-perfume {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 76px;
  margin-top: auto;
  padding: 8px 13px 8px 8px;
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: 12px;
  background: #fcfaf6;
}

.sf-dashboard-page .sf-talk-perfume img {
  display: block;
  width: 62px !important;
  height: 60px !important;
  max-width: 62px !important;
  max-height: 60px !important;
  object-fit: contain;
  background: transparent;
}

.sf-dashboard-page .sf-talk-perfume strong {
  display: block;
  overflow: hidden;
  margin: 0 0 5px;
  color: #151210;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: 16px;
  font-weight: 550;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-dashboard-page .sf-talk-perfume span {
  display: block;
  color: #897f73;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.sf-dashboard-page .sf-talk-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid rgba(17, 17, 17, .09);
  color: #8a837a;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 11px;
  font-weight: 650;
}

.sf-dashboard-page .sf-talk-card__footer a,
.sf-dashboard-page .sf-talk-empty > strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #111;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.sf-dashboard-page .sf-talk-card__footer a span,
.sf-dashboard-page .sf-talk-empty > strong span {
  transition: transform .18s ease;
}

.sf-dashboard-page .sf-talk-card__footer a:hover span,
.sf-dashboard-page .sf-talk-empty:hover > strong span {
  transform: translateX(3px);
}

.sf-dashboard-page .sf-talk-empty h3 {
  margin: 0 0 11px;
  max-width: 420px;
  color: var(--sf-ink, #0b0b0b);
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: 27px;
  font-weight: 530;
  letter-spacing: -.028em;
  line-height: 1.18;
}

.sf-dashboard-page .sf-talk-empty p {
  max-width: 440px;
  margin: 0 0 25px;
  color: var(--sf-graphite, #5f5b55);
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   Responsive – keep both dashboard carousels compact on phone
--------------------------------------------------------- */
@media (max-width: 1320px) and (min-width: 761px) {
  .sf-dashboard-page .sf-perfume-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sf-dashboard-page .sf-scentmate-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sf-dashboard-page .sf-perfume-carousel .sf-carousel-arrow,
  .sf-dashboard-page .sf-scentmate-carousel .sf-carousel-arrow {
    display: flex;
  }

  .sf-dashboard-page .sf-scentmate-carousel .sf-scentmate-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 12px;
    -webkit-overflow-scrolling: touch;
    padding: 0 12px 13px;
  }

  .sf-dashboard-page .sf-scentmate-carousel .sf-scentmate-grid::-webkit-scrollbar {
    display: none;
  }

  .sf-dashboard-page .sf-scentmate-carousel .sf-scentmate-card,
  .sf-dashboard-page .sf-scentmate-carousel .sf-community-card {
    flex: 0 0 min(78vw, 320px);
    max-width: min(78vw, 320px);
    scroll-snap-align: start;
  }

  .sf-dashboard-page .sf-talk-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   SENTI Framework – Community public profile v1
   New sf-* components only. Keeps existing framework line.
========================================================= */
.sf-community-profile{min-height:calc(100vh - 72px);color:var(--sf-ink,#0b0b0b);font-family:var(--sf-font-sans,"Inter",system-ui,sans-serif);background:radial-gradient(circle at 34% 0%,rgba(244,236,225,.24),transparent 30%),linear-gradient(180deg,#fff,rgba(251,249,246,.55))}
.sf-community-profile__shell{width:min(1480px,calc(100% - clamp(30px,6vw,110px)));margin:0 auto;padding:clamp(26px,3.3vw,48px) 0 clamp(52px,6vw,88px)}
.sf-community-profile__eyebrow{margin:0 0 14px;color:#a77b46;font-size:10px;font-weight:800;letter-spacing:.26em;line-height:1;text-transform:uppercase}
.sf-community-profile-hero{position:relative;display:grid;grid-template-columns:minmax(250px,.76fr) minmax(340px,1.12fr) minmax(300px,.9fr);gap:clamp(18px,3vw,42px);align-items:center;min-height:338px;padding:clamp(24px,3vw,42px);overflow:hidden;isolation:isolate;border:1px solid var(--sf-line,rgba(17,17,17,.1));border-radius:var(--senti-fw-radius-xs,14px);background:rgba(255,255,255,.86);box-shadow:0 16px 48px rgba(17,17,17,.035)}
.sf-community-profile-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 45% 50%,rgba(237,229,246,.36),transparent 25%),radial-gradient(circle at 54% 54%,rgba(244,225,213,.28),transparent 29%)}
.sf-community-profile-hero__identity{position:relative;z-index:2}
.sf-community-profile__name-row{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
.sf-community-profile__name-row h1{margin:0;color:#0c0b0b;font-family:var(--sf-font-serif,"Playfair Display",Georgia,serif);font-size:clamp(44px,4.1vw,63px);font-weight:500;letter-spacing:-.055em;line-height:.96}
.sf-community-profile__age{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border:1px solid rgba(17,17,17,.1);border-radius:999px;background:rgba(255,255,255,.78);color:#5e5851;font-size:12px;font-weight:650}
.sf-community-profile__lede{margin:18px 0 22px;color:var(--sf-graphite,#605a54);font-size:13.5px;line-height:1.55}
.sf-community-profile__facts{display:grid;gap:10px;margin-bottom:20px;color:#716960;font-size:12.5px}
.sf-community-profile__facts span{display:inline-flex;align-items:center;gap:9px}
.sf-community-profile__facts svg{flex:0 0 16px;width:16px;height:16px;stroke-width:1.65;color:#ac8c5d}
.sf-community-profile__contact{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px;padding-top:18px;border-top:1px solid rgba(17,17,17,.09)}
.sf-community-profile__id{display:grid;gap:5px;min-width:112px;padding:10px 15px;border:1px solid rgba(17,17,17,.1);border-radius:10px;background:rgba(252,250,246,.82)}
.sf-community-profile__id small{color:#a08661;font-size:9px;font-weight:800;letter-spacing:.18em;line-height:1;text-transform:uppercase}
.sf-community-profile__id strong{color:#111;font-family:var(--sf-font-sans,"Inter",system-ui,sans-serif);font-size:18px;font-weight:720;letter-spacing:.18em;line-height:1.1}
.sf-community-profile__message{min-height:62px;padding-inline:18px}
.sf-community-profile__message svg{width:16px;height:16px;stroke-width:1.7}
.sf-community-couple-match-form{display:flex;flex:0 0 100%;width:100%;margin:1px 0 0}
.sf-community-couple-match{
  position:relative;
  display:flex;
  align-items:center;
  gap:9px;
  width:auto;
  min-height:30px;
  min-width:0;
  padding:6px 1px;
  border:0;
  border-radius:0;
  background:transparent;
  color:#171310;
  font:inherit;
  text-align:left;
  text-decoration:none;
  cursor:pointer;
  box-shadow:none;
  transition:color .18s ease;
}
.sf-community-couple-match:hover,.sf-community-couple-match:focus-visible{
  color:#9c6d35;
  transform:none;
  box-shadow:none;
}
.sf-community-couple-match:focus-visible{outline:1px solid rgba(173,123,61,.58);outline-offset:4px}
.sf-community-couple-match__symbol{position:relative;flex:0 0 28px;width:28px;height:22px}
.sf-community-couple-match__symbol i{position:absolute;top:3px;width:17px;height:17px;border:1px solid rgba(173,123,61,.52);border-radius:50%;background:transparent}
.sf-community-couple-match__symbol i:first-child{left:0}
.sf-community-couple-match__symbol i:last-child{right:0}
.sf-community-couple-match__copy{display:flex;align-items:baseline;flex-wrap:wrap;min-width:0;gap:5px 10px}
.sf-community-couple-match__copy small{color:#a27843;font-size:8px;font-weight:800;letter-spacing:.17em;line-height:1;text-transform:uppercase}
.sf-community-couple-match__copy strong{color:currentColor;font-size:10px;font-weight:720;line-height:1.25}
.sf-community-couple-match>b{margin-left:2px;color:#9c6d35;font-size:14px;font-weight:500;transition:transform .18s ease}
.sf-community-couple-match:hover>b{transform:translateX(2px)}
.sf-community-couple-match--unavailable{opacity:.67}
.sf-community-profile__contact>.sf-community-couple-match--unavailable{flex:0 0 100%;width:max-content}
.sf-community-profile-hero__aura{position:relative;min-width:0;min-height:282px;display:grid;place-items:center}
.sf-community-profile-hero__aura-clip{position:relative;display:grid;place-items:center;width:100%;height:314px;overflow:hidden;isolation:isolate}
.sf-community-profile-hero__aura-clip::before{content:"";position:absolute;left:50%;top:50%;width:min(370px,98%);aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.28),transparent 57%),radial-gradient(circle at 35% 50%,rgba(238,229,214,.25),transparent 62%)}
.sf-community-profile-hero__aura-visual{display:block!important;width:min(410px,100%)!important;height:min(410px,100%)!important;max-width:100%!important;max-height:100%!important;overflow:hidden!important}
.sf-community-profile-hero__aura-clip canvas,.sf-community-profile-hero__aura-clip svg,.sf-community-profile-hero__aura-clip img{max-width:100%!important;max-height:100%!important}
.sf-community-character{min-height:250px;padding:25px 24px;border:1px solid rgba(17,17,17,.1);border-radius:14px;background:rgba(255,255,255,.82);box-shadow:0 10px 34px rgba(17,17,17,.035)}
.sf-community-character__title{display:flex;align-items:center;gap:11px;margin-bottom:20px}.sf-community-character__title span{color:#ae8852;font-size:22px}
.sf-community-character h2{margin:0;color:#151210;font-family:var(--sf-font-serif,"Playfair Display",Georgia,serif);font-size:22px;font-weight:500;letter-spacing:-.025em;line-height:1.1}
.sf-community-character__tags,.sf-community-panel__tags{display:flex;flex-wrap:wrap;gap:8px}.sf-community-character__tags{margin-bottom:21px}
.sf-community-character__tags span,.sf-community-panel__tags span{display:inline-flex;align-items:center;gap:8px;min-height:31px;padding:0 13px;border:1px solid rgba(17,17,17,.1);border-radius:999px;background:rgba(255,255,255,.76);color:#4b4742;font-size:11px;font-weight:650}
.sf-community-character__tags span::after,.sf-community-panel__tags span::after{content:"";width:5px;height:5px;border-radius:50%;background:#c6a670}
.sf-community-character p{margin:0;color:#57514b;font-size:13px;line-height:1.7}
.sf-community-profile-section{margin-top:clamp(28px,3vw,38px)}
.sf-community-profile-section__head{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:18px}
.sf-community-profile-section__head h2{margin:0;color:#0b0b0b;font-family:var(--sf-font-serif,"Playfair Display",Georgia,serif);font-size:29px;font-weight:500;letter-spacing:-.035em;line-height:1.05}
.sf-community-profile-section__head p{margin:7px 0 0;color:#817970;font-size:12.5px}
.sf-profile-mates{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.sf-profile-mate-card{position:relative;min-height:194px;display:flex;flex-direction:column;align-items:center;padding:17px 13px 14px;border:1px solid rgba(17,17,17,.1);border-radius:13px;background:rgba(255,255,255,.88);color:#0b0b0b;text-align:center;text-decoration:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.sf-profile-mate-card:hover{transform:translateY(-1px);border-color:rgba(17,17,17,.18);box-shadow:0 12px 30px rgba(17,17,17,.04)}
.sf-community-profile .sf-profile-mate-card__score.sf-score-ring{position:absolute;top:12px;right:12px;bottom:auto;width:38px;height:38px;z-index:2}.sf-community-profile .sf-profile-mate-card__score.sf-score-ring span{font-size:10px}
.sf-profile-mate-card__aura{display:grid;place-items:center;width:82px;height:82px;margin-bottom:10px;overflow:hidden;border-radius:50%}.sf-profile-mate-card__aura img,.sf-profile-mate-card__aura>*{width:100%!important;height:100%!important;object-fit:cover}.sf-profile-mate-card__aura>span{display:block;background:radial-gradient(circle at 48% 46%,rgba(255,255,255,.84),transparent 14%),radial-gradient(circle at 42% 54%,rgba(229,217,237,.76),transparent 43%),#f5ede3}
.sf-profile-mate-card h3{margin:0 0 6px;max-width:100%;color:#0d0c0b;font-family:var(--sf-font-serif,"Playfair Display",Georgia,serif);font-size:18px;font-weight:520;line-height:1.05;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sf-profile-mate-card small{color:#6c665f;font-size:10px;font-weight:600;letter-spacing:.08em}
.sf-profile-mate-card__tags{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;margin-top:auto;padding-top:11px}.sf-profile-mate-card__tags span{min-height:23px;display:inline-flex;align-items:center;padding:0 8px;border:1px solid rgba(17,17,17,.09);border-radius:999px;color:#625b54;font-size:9px;font-weight:650}
.sf-community-profile-lower{display:grid;grid-template-columns:minmax(330px,.82fr) minmax(440px,1.18fr);gap:18px;margin-top:22px}
.sf-community-panel{min-height:262px;padding:clamp(22px,2.2vw,28px);border:1px solid rgba(17,17,17,.1);border-radius:14px;background:rgba(255,255,255,.88)}
.sf-community-panel h2{margin:0 0 20px;color:#0d0b0b;font-family:var(--sf-font-serif,"Playfair Display",Georgia,serif);font-size:29px;font-weight:500;letter-spacing:-.035em;line-height:1.05}.sf-community-panel--footprint .sf-community-panel__tags{margin-bottom:21px}.sf-community-panel p{margin:0;color:#514c47;font-size:13.5px;line-height:1.7}.sf-community-panel p.is-muted{color:#817a73}
.sf-community-collection-card{min-height:176px;padding:10px 9px 12px;border:1px solid rgba(17,17,17,.08);border-radius:10px;background:#fff}.sf-community-collection-card img{display:block;width:100%;height:100px;margin-bottom:9px;object-fit:contain}.sf-community-collection-card small{display:block;margin-bottom:5px;overflow:hidden;color:#817568;font-size:8.5px;font-weight:780;letter-spacing:.13em;line-height:1;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.sf-community-collection-card strong{display:block;overflow:hidden;color:#111;font-family:var(--sf-font-serif,"Playfair Display",Georgia,serif);font-size:13.5px;font-weight:560;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}
.sf-community-panel__empty{min-height:148px;display:grid;place-items:center;align-content:center;gap:12px;color:#84796d;text-align:center}.sf-community-panel__empty span{display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(173,139,89,.24);border-radius:50%;color:#b28f5b;font-size:21px}.sf-community-panel__empty p{color:#817a73;font-size:13px}
.sf-community-profile .sfa-community-hero-aura,.sf-community-profile .sfa-community-hero-aura__visual,.sf-community-profile [class*="sfa-community"]{max-width:100%;overflow:hidden}
@media(max-width:1220px){.sf-community-profile-hero{grid-template-columns:minmax(230px,.78fr) minmax(290px,1fr)}.sf-community-character{grid-column:1/-1;min-height:0}.sf-profile-mates{grid-template-columns:repeat(3,minmax(0,1fr))}.sf-community-profile-lower{grid-template-columns:1fr}}
@media(max-width:760px){.sf-community-profile__shell{width:calc(100% - 26px);padding-top:18px}.sf-community-profile-hero{grid-template-columns:1fr;padding:20px 17px}.sf-community-profile-hero__identity{order:1}.sf-community-profile-hero__aura{order:0;min-height:225px}.sf-community-profile-hero__aura-clip{height:240px}.sf-community-character{order:2;padding:20px 17px}.sf-community-profile__name-row h1{font-size:43px}.sf-community-profile-section__head{align-items:start;flex-direction:column}.sf-profile-mates{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:9px}.sf-profile-mate-card{flex:0 0 196px;scroll-snap-align:start}.sf-community-collection-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* =========================================================
   SENTI Framework – Community public profile v2 refinements
   - text-only olfactory panel
   - open / smaller aura without square framing
   - Scent Talks activity panel in place of duplicated footprint
========================================================= */

.sf-community-profile-hero--refined {
  grid-template-columns: minmax(252px, .78fr) minmax(270px, .82fr) minmax(360px, 1.05fr);
  gap: clamp(22px, 3.1vw, 50px);
  min-height: 316px;
}

.sf-community-profile-hero--refined .sf-community-profile__facts {
  margin-top: 27px;
  margin-bottom: 20px;
}

.sf-community-profile-hero__aura--open {
  min-height: 254px;
}

.sf-community-profile-hero__aura-stage {
  position: relative;
  width: 100%;
  height: 276px;
  display: grid;
  place-items: center;
  overflow: visible;
  isolation: isolate;
}

/* The aura must float freely: no square background or clipped wrapper. */
.sf-community-profile-hero__aura-stage .sfa-aura,
.sf-community-profile-hero__aura-visual {
  width: min(320px, 100%) !important;
  height: min(320px, 100%) !important;
  max-width: 320px !important;
  max-height: 320px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.sf-community-profile-hero__aura-stage .sfa-aura__glow,
.sf-community-profile-hero__aura-stage .sfa-aura__core,
.sf-community-profile-hero__aura-stage .sfa-aura__wash,
.sf-community-profile-hero__aura-stage .sfa-aura__haze,
.sf-community-profile-hero__aura-stage .sfa-aura__air,
.sf-community-profile-hero__aura-stage .sfa-aura__ground,
.sf-community-profile-hero__aura-stage .sfa-aura__veil,
.sf-community-profile-hero__aura-stage .sfa-aura__grain {
  border-radius: 50% !important;
}

.sf-community-character--text-only {
  min-height: 232px;
  padding: 29px 30px;
}

.sf-community-character--text-only .sf-community-character__title {
  margin-bottom: 25px;
}

.sf-community-character--text-only h2 {
  font-size: 25px;
}

.sf-community-character--text-only p {
  max-width: 100%;
  color: #514c47;
  font-size: 14px;
  line-height: 1.78;
}

.sf-community-profile-lower--activity {
  grid-template-columns: minmax(430px, 1.06fr) minmax(390px, .94fr);
  align-items: start;
}

.sf-community-panel--talks {
  min-height: 278px;
}

.sf-community-panel__head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 19px;
}

.sf-community-panel__head--split h2 {
  margin-bottom: 0;
}

.sf-community-talks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sf-community-talk {
  display: flex;
  flex-direction: column;
  min-height: 148px;
  padding: 14px 15px 13px;
  border: 1px solid rgba(17, 17, 17, .09);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(251,248,243,.63));
  color: #0b0b0b;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.sf-community-talk:hover,
.sf-community-talk:focus-visible {
  border-color: rgba(17,17,17,.18);
  box-shadow: 0 12px 27px rgba(17,17,17,.035);
  transform: translateY(-1px);
  outline: none;
}

.sf-community-talk__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #a07d4e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
}

.sf-community-talk__meta time {
  color: #928a80;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: none;
}

.sf-community-talk h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 8px;
  color: #12100f;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: 17px;
  font-weight: 560;
  letter-spacing: -.022em;
  line-height: 1.16;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sf-community-talk p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 10px;
  color: #676159;
  font-size: 11.5px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sf-community-talk__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(17,17,17,.07);
  color: #8b847b;
  font-size: 10px;
}

.sf-community-talk__bottom strong {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: #141210;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sf-community-talk__bottom b {
  font-size: 12px;
  font-weight: 500;
  transition: transform .18s ease;
}

.sf-community-talk:hover .sf-community-talk__bottom b {
  transform: translateX(2px);
}

.sf-community-panel__empty--talks {
  min-height: 174px;
}

@media (max-width: 1220px) {
  .sf-community-profile-hero--refined {
    grid-template-columns: minmax(242px, .85fr) minmax(280px, 1fr);
  }

  .sf-community-profile-hero--refined .sf-community-character {
    grid-column: 1 / -1;
  }

  .sf-community-profile-lower--activity {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .sf-community-profile-hero--refined {
    grid-template-columns: 1fr;
  }

  .sf-community-profile-hero__aura-stage {
    height: 240px;
  }

  .sf-community-profile-hero__aura-stage .sfa-aura,
  .sf-community-profile-hero__aura-visual {
    width: min(275px, 100%) !important;
    height: min(275px, 100%) !important;
  }

  .sf-community-profile-hero--refined .sf-community-profile__facts {
    margin-top: 21px;
  }

  .sf-community-character--text-only {
    padding: 21px 18px;
  }

  .sf-community-talks {
    grid-template-columns: 1fr;
  }

  .sf-community-panel__head--split {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   SENTI Framework – Community directory static aura safeguard v1
   Append to the VERY END of public/css/senti-framework.css
   ---------------------------------------------------------
   The /community directory may render many aura thumbnails at once.
   This safeguard keeps their visual appearance, but stops animation
   and transitions inside directory cards only.
   Aura remains animated on dashboard hero and /community/{publicCode}.
========================================================= */

.sf-community-directory .sfa-aura,
.sf-community-directory .sfa-aura *,
.sf-community-directory .sf-scentmate-card__aura,
.sf-community-directory .sf-scentmate-card__aura * {
  animation: none !important;
  transition: none !important;
}

.sf-community-directory .sfa-aura {
  will-change: auto !important;
}

/* =========================================================
   SENTI Framework – Community public profile v3
   Public collection carousel + mobile scent-mates carousel
   Append to the VERY END of public/css/senti-framework.css
========================================================= */

/* Shared refined, discreet arrow controls. */
.sf-profile-carousel {
  position: relative;
  min-width: 0;
}

.sf-profile-carousel__track {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sf-profile-carousel__track::-webkit-scrollbar {
  display: none;
}

.sf-profile-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #151210;
  box-shadow: 0 8px 22px rgba(17,17,17,.06);
  cursor: pointer;
  transition: opacity .18s ease, border-color .18s ease, transform .18s ease;
}

.sf-profile-carousel__arrow svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.6;
}

.sf-profile-carousel__arrow--prev {
  left: -14px;
}

.sf-profile-carousel__arrow--next {
  right: -14px;
}

.sf-profile-carousel__arrow:hover:not(:disabled) {
  border-color: rgba(17,17,17,.25);
}

.sf-profile-carousel__arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.sf-profile-carousel.has-overflow .sf-profile-carousel__arrow:not(.sf-profile-carousel__arrow--mobile) {
  display: grid;
}

/* Public collection: always one elegant rail; all perfumes remain available. */


.sf-community-collection-carousel {
  margin: 2px 0 0;
}

.sf-community-collection-preview {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1px 1px 5px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.sf-community-collection-card {
  flex: 0 0 calc((100% - 30px) / 4);
  min-width: 132px;
  scroll-snap-align: start;
}

.sf-community-collection-carousel.has-overflow .sf-community-collection-preview {
  padding-left: 2px;
  padding-right: 2px;
}

/* Scent-mates keep the desktop grid: arrows activate on mobile only. */
.sf-profile-carousel--mates .sf-profile-mates {
  min-width: 0;
}

/* Compact mobile carousels with the same arrow language as the app. */
@media (max-width: 760px) {
  .sf-profile-carousel {
    margin-inline: -2px;
  }

  .sf-profile-carousel.has-overflow .sf-profile-carousel__arrow--mobile {
    display: grid;
  }

  .sf-profile-carousel__arrow {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,.98);
  }

  .sf-profile-carousel__arrow--prev {
    left: -8px;
  }

  .sf-profile-carousel__arrow--next {
    right: -8px;
  }

  .sf-profile-carousel--mates .sf-profile-mates {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0;
    padding: 1px 8px 8px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .sf-profile-carousel--mates .sf-profile-mate-card {
    flex: 0 0 min(74vw, 212px);
    min-width: min(74vw, 212px);
    scroll-snap-align: start;
  }

  .sf-community-collection-preview {
    gap: 10px;
    padding: 1px 8px 8px;
  }

  .sf-community-collection-card {
    flex: 0 0 min(43vw, 155px);
    min-width: min(43vw, 155px);
  }

  .sf-community-collection-carousel.has-overflow .sf-profile-carousel__arrow {
    display: grid;
  }
}

@media (min-width: 761px) {
  .sf-community-collection-carousel.has-overflow .sf-profile-carousel__arrow {
    display: grid;
  }
}

/* =========================================================
   SENTI Framework – Community profile scent-mates aura v3.1
   Soft static aura thumbnails, without circular clipping.
   Append to the VERY END of public/css/senti-framework.css
========================================================= */

/*
  Aura on /community/{publicCode} scent-mate cards:
  - remains static because Blade already uses :animated="false"
  - removes the hard circular clipping
  - preserves the soft, blurred aura edge used in the hero/header
*/
.sf-community-profile .sf-profile-mate-card__aura {
  position: relative;
  display: grid;
  place-items: center;
  width: 116px;
  height: 100px;
  margin: 1px auto 9px;
  overflow: visible !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.sf-community-profile .sf-profile-mate-card__aura::before {
  content: "";
  position: absolute;
  inset: 15% 11% 8%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 245, 238, .26), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

.sf-community-profile .sf-profile-mate-card__aura > *,
.sf-community-profile .sf-profile-mate-card__aura img,
.sf-community-profile .sf-profile-mate-card__aura canvas,
.sf-community-profile .sf-profile-mate-card__aura svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 110px !important;
  height: 100px !important;
  max-width: none !important;
  max-height: none !important;
  overflow: visible !important;
  border-radius: 0 !important;
  background: transparent !important;
  object-fit: contain;
}

/* Fallback aura without payload: retain the same soft open-edge character. */
.sf-community-profile .sf-profile-mate-card__aura > span {
  width: 98px !important;
  height: 88px !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 50% 47%, rgba(255,255,255,.88), transparent 10%),
    radial-gradient(circle at 45% 52%, rgba(226,218,238,.54), transparent 40%),
    radial-gradient(circle at 57% 48%, rgba(236,224,205,.48), transparent 48%),
    transparent !important;
  filter: blur(.6px);
}

/* Keep the aura absolutely still on profile mate cards. */
.sf-community-profile .sf-profile-mate-card__aura *,
.sf-community-profile .sf-profile-mate-card__aura {
  animation: none !important;
  transition-property: none !important;
  will-change: auto !important;
}

@media (max-width: 760px) {
  .sf-community-profile .sf-profile-mate-card__aura {
    width: 110px;
    height: 96px;
  }

  .sf-community-profile .sf-profile-mate-card__aura > *,
  .sf-community-profile .sf-profile-mate-card__aura img,
  .sf-community-profile .sf-profile-mate-card__aura canvas,
  .sf-community-profile .sf-profile-mate-card__aura svg {
    width: 104px !important;
    height: 94px !important;
  }
}

/* =========================================================
   SENTI Framework – Avatar + NICHE Team Member v1.1 CORRECTION
   Aura stays on cards; portrait is a small secondary layer.
   ---------------------------------------------------------
   This block supersedes senti-avatar-niche-team-addon-v1.css.
   Place it at the VERY END of public/css/senti-framework.css.
========================================================= */

/* Reusable portrait: small, human detail beneath the aura. */
.sf-member-avatar,
.sf-card-mini-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: visible !important;
  border-radius: 999px;
  background: transparent;
}

.sf-card-mini-avatar {
  width: 34px !important;
  height: 34px !important;
  margin: -13px auto 13px !important;
  z-index: 4;
}



.sf-card-mini-avatar > img {
  filter: none !important;
}

.sf-person-fallback {
  display: grid !important;
  place-items: center;
  color: #80776e;
  background:
    radial-gradient(circle at 45% 32%, rgba(255,255,255,.98), transparent 24%),
    linear-gradient(135deg, #f5f1eb, #f8f6f2) !important;
}

.sf-person-fallback__icon {
  width: 48% !important;
  height: 48% !important;
  max-width: 48% !important;
  stroke-width: 1.42;
}



.sf-card-mini-avatar .sf-niche-member-badge {
  position: absolute;
  left: 50%;
  bottom: -8px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 12px;
  padding: 0 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0b0b0b;
  color: #fff;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 5.5px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
}

/* Aura field has a soft open shape, but cannot overflow above its card. */
.sf-card-aura-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-inline: auto;
  isolation: isolate;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.sf-card-aura-stage::before {
  content: "";
  position: absolute;
  inset: 16% 15% 10%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246,240,231,.29), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.sf-card-aura-stage .sf-card-aura-visual,
.sf-card-aura-stage .sf-card-aura-visual *,
.sf-card-aura-stage > * {
  position: relative;
  z-index: 1;
  max-width: none !important;
  overflow: visible !important;
}

.sf-card-aura-stage,
.sf-card-aura-stage *,
.sf-card-aura-stage .sf-card-aura-visual {
  animation: none !important;
  transition-duration: 0s !important;
  will-change: auto !important;
}

.sf-card-aura-fallback {
  display: block;
  width: 124px;
  height: 110px;
  background:
    radial-gradient(circle at 52% 48%, rgba(255,255,255,.96), transparent 12%),
    radial-gradient(circle at 45% 48%, rgba(221,231,250,.66), transparent 41%),
    radial-gradient(circle at 58% 55%, rgba(239,224,208,.52), transparent 52%),
    transparent;
  filter: blur(1.2px);
}

/* /community directory */
.sf-community-directory .sf-scentmate-card {
  overflow: hidden;
  padding-top: 22px !important;
}

.sf-community-directory .sf-card-aura-stage--directory {
  width: 178px;
  height: 132px;
  margin-top: 0;
  margin-bottom: 0;
}

.sf-community-directory .sf-card-aura-stage--directory .sf-card-aura-visual {
  width: 156px !important;
  height: 156px !important;
}

/* Dashboard scent-mates */
.sf-dashboard-page .sf-scentmate-card {
  overflow: hidden;
  padding-top: 22px !important;
}

.sf-dashboard-page .sf-card-aura-stage--dashboard {
  width: 178px;
  height: 132px;
  margin-top: 0;
  margin-bottom: 0;
}

.sf-dashboard-page .sf-card-aura-stage--dashboard .sf-card-aura-visual {
  width: 156px !important;
  height: 156px !important;
}

/* /community/{publicCode}: cards of closest matches */
.sf-community-profile .sf-profile-mate-card {
  overflow: hidden;
  padding-top: 18px !important;
}

.sf-community-profile .sf-card-aura-stage--profile {
  width: 154px;
  height: 113px;
  margin-top: 0;
  margin-bottom: 0;
}

.sf-community-profile .sf-card-aura-stage--profile .sf-card-aura-visual {
  width: 142px !important;
  height: 142px !important;
}

.sf-community-profile .sf-profile-mate-card__aura.sf-member-avatar {
  /* neutralise v1 rules where the avatar accidentally replaced the aura */
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
}

/* User /profile upload preview remains large: it is not a card-mini portrait. */
.sf-profile-avatar-upload__preview.sf-member-avatar {
  width: 104px;
  height: 104px;
  margin: 0 auto;
}

.sf-profile-avatar-upload__preview.sf-member-avatar > img,
.sf-profile-avatar-upload__preview.sf-member-avatar .sf-person-fallback {
  display: block;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 999px !important;
  object-fit: cover;
}

.sf-profile-avatar-upload__preview.sf-member-avatar.is-niche-team > img,
.sf-profile-avatar-upload__preview.sf-member-avatar.is-niche-team .sf-person-fallback {
  border: 4px solid #0b0b0b !important;
}

.sf-profile-avatar-upload__preview .sf-niche-member-badge {
  position: absolute;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  min-height: 18px;
  padding: 0 8px;
  border-radius: 999px;
  background: #0b0b0b;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
}

/* Admin styles kept from v1. */
.sf-admin-niche-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(17,17,17,.11);
  border-radius: 10px;
  background: #faf8f4;
  color: #181512;
  cursor: pointer;
}

.sf-admin-niche-toggle input { width:16px; height:16px; }

.sf-admin-niche-toggle__badge,
.sf-admin-niche-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: #0b0b0b;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

.sf-admin-niche-toggle small {
  display:block;
  margin-top:3px;
  color:#777066;
  font-size:11px;
}

.sf-admin-user-name {
  display:flex;
  align-items:center;
  gap:8px;
}

@media (max-width:760px) {
  .sf-community-directory .sf-card-aura-stage--directory,
  .sf-dashboard-page .sf-card-aura-stage--dashboard {
    height: 124px;
  }

  .sf-community-profile .sf-card-aura-stage--profile {
    height: 108px;
  }

  .sf-card-mini-avatar {
    margin-bottom: 14px !important;
  }
}

/* =========================================================
   SENTI Framework – Aura cards restore v1.2
   ---------------------------------------------------------
   Vrací původní SENTI aura renderer na kartičky 1:1:
   - kulatý poměr stran
   - všechny původní vrstvy komponenty
   - konstelace z x-senti-aura-avatar
   - pouze bez animace na malých kartách
   Fotografie zůstává jako malé kolečko pod aurou.
   Vlož na ÚPLNÝ KONEC public/css/senti-framework.css.
========================================================= */

/* Old v1.1 rectangle stage is no longer used in views. */
.sf-card-aura-stage {
  display: none !important;
}

/* Full original aura: let x-senti-aura-avatar and senti-aura.css render itself. */
.sf-card-full-aura {
  position: relative;
  display: grid !important;
  place-items: center;
  flex: 0 0 auto;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  isolation: isolate;
}

/* Directory and dashboard cards: same scale as the original mini-aura design. */
.sf-community-directory .sf-card-full-aura--directory,
.sf-dashboard-page .sf-card-full-aura--dashboard {
  width: 142px !important;
  height: 142px !important;
  margin: 1px auto 0 !important;
}

.sf-community-directory .sf-card-full-aura--directory .sfa-aura,
.sf-dashboard-page .sf-card-full-aura--dashboard .sfa-aura {
  width: 132px !important;
  height: 132px !important;
  max-width: 132px !important;
  max-height: 132px !important;
}

/* Closest mates on /community/{SENTI-ID}: a little more compact. */
.sf-community-profile .sf-card-full-aura--profile {
  width: 132px !important;
  height: 132px !important;
  margin: 0 auto 0 !important;
  overflow: visible !important;
}

.sf-community-profile .sf-card-full-aura--profile .sfa-aura {
  width: 124px !important;
  height: 124px !important;
  max-width: 124px !important;
  max-height: 124px !important;
}

/*
  Do not style individual aura layers here.
  Their geometry, colors, rings, veil, particles and constellation
  stay controlled by the original senti-aura.css / component payload.
*/
.sf-card-full-aura .sfa-aura {
  display: block !important;
  aspect-ratio: 1 / 1 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* Static only: appearance is preserved, movement is stopped. */
.sf-community-directory .sf-card-full-aura .sfa-aura,
.sf-community-directory .sf-card-full-aura .sfa-aura *,
.sf-dashboard-page .sf-card-full-aura .sfa-aura,
.sf-dashboard-page .sf-card-full-aura .sfa-aura *,
.sf-community-profile .sf-card-full-aura .sfa-aura,
.sf-community-profile .sf-card-full-aura .sfa-aura * {
  animation-play-state: paused !important;
}

/* Tiny portrait floats below the complete aura and does not replace it. */
.sf-card-full-aura + .sf-card-mini-avatar {
  width: 32px !important;
  height: 32px !important;
  margin: -20px auto 16px !important;
  z-index: 8;
}

/* Keep enough breathing space at the top; aura no longer hits card edge. */
.sf-community-directory .sf-community-member-card,
.sf-dashboard-page .sf-scentmate-card {
  padding-top: 25px !important;
}

.sf-community-profile .sf-profile-mate-card {
  padding-top: 18px !important;
}

/* Disable former rules which turned the closest-mate aura container into portrait geometry. */
.sf-community-profile .sf-profile-mate-card__aura.sf-card-full-aura {
  width: 132px !important;
  height: 132px !important;
  overflow: visible !important;
  border-radius: 50% !important;
  background: transparent !important;
}

.sf-community-profile .sf-profile-mate-card__aura.sf-card-full-aura::before {
  display: none !important;
}

.sf-community-profile .sf-profile-mate-card__aura.sf-card-full-aura > .sfa-aura {
  object-fit: initial !important;
  border-radius: 50% !important;
}

/* Fallback only when no completed aura payload exists. */
.sf-card-full-aura__fallback {
  display: block !important;
  width: 124px !important;
  height: 124px !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 50% 49%, rgba(255,255,255,.90), transparent 12%),
    radial-gradient(circle at 43% 49%, rgba(223,233,250,.62), transparent 44%),
    radial-gradient(circle at 60% 54%, rgba(237,222,208,.52), transparent 53%),
    transparent !important;
}

/* Mini portrait / neutral icon rules from the avatar feature, retained. */
.sf-card-mini-avatar {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
}

.sf-card-mini-avatar > img,
.sf-card-mini-avatar .sf-person-fallback {
  display: grid !important;
  place-items: center;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.14);
  border-radius: 50% !important;
  background: #faf7f2;
  object-fit: cover;
}

.sf-card-mini-avatar.is-niche-team > img,
.sf-card-mini-avatar.is-niche-team .sf-person-fallback {
  border: 3px solid #0b0b0b !important;
}

.sf-card-mini-avatar .sf-person-fallback__icon {
  width: 48% !important;
  height: 48% !important;
  max-width: 48% !important;
  color: #81786e;
  stroke-width: 1.45;
}

.sf-card-mini-avatar .sf-niche-member-badge {
  min-height: 12px;
  bottom: -7px;
  padding: 0 5px;
  font-size: 5.5px;
}

@media (max-width: 760px) {
  .sf-community-directory .sf-card-full-aura--directory,
  .sf-dashboard-page .sf-card-full-aura--dashboard {
    width: 132px !important;
    height: 132px !important;
  }

  .sf-community-directory .sf-card-full-aura--directory .sfa-aura,
  .sf-dashboard-page .sf-card-full-aura--dashboard .sfa-aura {
    width: 124px !important;
    height: 124px !important;
  }

  .sf-card-full-aura + .sf-card-mini-avatar {
    margin-top: -19px !important;
    margin-bottom: 15px !important;
  }
}

/* =========================================================
   SENTI Framework – Catalog visual restore v1
   ---------------------------------------------------------
   RESTORES styles lost when the later avatar/aura framework
   was based on a CSS version older than the final catalog.
   Safe append-only patch: does not touch dashboard/community.
   Insert at the VERY END of public/css/senti-framework.css.
========================================================= */

/* ---------------------------------------------------------
   1) Header counters / interactive list filters
   --------------------------------------------------------- */
#sentiCatalogPage .senti-catalog-stats.senti-catalog-stats--compact {
  display: grid !important;
  grid-template-columns: repeat(4, 74px) !important;
  grid-auto-flow: column;
  gap: 8px !important;
  width: max-content !important;
  min-width: calc((74px * 4) + (8px * 3));
  margin: 0 !important;
  padding: 0 !important;
  align-self: start;
}

#sentiCatalogPage .senti-catalog-stats--compact .senti-catalog-stat {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  width: 74px !important;
  height: 74px !important;
  min-height: 74px !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 !important;
  border: 1px solid rgba(17,17,17,.12) !important;
  border-radius: 0 !important;
  background: rgba(255,255,255,.92) !important;
  color: #111;
  cursor: pointer;
  font: inherit;
  text-align: center;
  transition: border-color .18s ease, background .18s ease;
}

#sentiCatalogPage .senti-catalog-stats--compact .senti-catalog-stat strong {
  display: block;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 28px !important;
  font-weight: 650 !important;
  line-height: .95;
  letter-spacing: -.045em;
  color: #111;
}

#sentiCatalogPage .senti-catalog-stats--compact .senti-catalog-stat__label {
  margin: 0 !important;
  color: rgba(17,17,17,.54) !important;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 10px !important;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .12em !important;
  text-transform: uppercase;
}

#sentiCatalogPage .senti-catalog-stats--compact .senti-catalog-stat:hover,
#sentiCatalogPage .senti-catalog-stats--compact .senti-catalog-stat:focus-visible {
  border-color: rgba(17,17,17,.34) !important;
  background: #fff !important;
  outline: none;
}

#sentiCatalogPage .senti-catalog-stats--compact .senti-catalog-stat.is-active {
  border-color: rgba(17,17,17,.35) !important;
  background: #faf7f2 !important;
}

#sentiCatalogPage .senti-catalog-stats--compact .senti-catalog-stat.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: -1px;
  height: 2px;
  background: #111;
}

#sentiCatalogPage .senti-catalog-stat--wishlist strong {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 980px) {
  #sentiCatalogPage .senti-catalog-filter-layout {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  #sentiCatalogPage .senti-catalog-stats.senti-catalog-stats--compact {
    width: 100% !important;
    min-width: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-auto-flow: row;
  }

  #sentiCatalogPage .senti-catalog-stats--compact .senti-catalog-stat {
    width: auto !important;
  }
}

@media (max-width: 560px) {
  #sentiCatalogPage .senti-catalog-stats.senti-catalog-stats--compact {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    width: 100% !important;
    padding-bottom: 2px !important;
    scrollbar-width: none;
  }

  #sentiCatalogPage .senti-catalog-stats.senti-catalog-stats--compact::-webkit-scrollbar {
    display: none;
  }

  #sentiCatalogPage .senti-catalog-stats--compact .senti-catalog-stat {
    flex: 0 0 74px;
  }
}

/* ---------------------------------------------------------
   2) Top-right card state badges
   --------------------------------------------------------- */
#sentiCatalogPage .senti-catalog-perfume-card .senti-catalog-perfume-card__media {
  position: relative;
  width: 100%;
}

#sentiCatalogPage .senti-catalog-perfume-card .senti-catalog-icons {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

#sentiCatalogPage .senti-catalog-perfume-card .senti-ico-badge {
  display: inline-grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: #111;
  font-size: 12px;
  line-height: 1;
}

#sentiCatalogPage .senti-catalog-perfume-card .senti-ico-badge svg {
  display: block;
  width: 16px !important;
  height: 16px !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#sentiCatalogPage .senti-catalog-perfume-card .senti-ico-badge--owned {
  border-color: #111;
  background: #111;
  color: #fff;
}

#sentiCatalogPage .senti-catalog-perfume-card .senti-ico-badge--wishlist {
  border-color: rgba(17,17,17,.25);
  background: #faf7f2;
}

#sentiCatalogPage .senti-catalog-perfume-card .senti-ico-badge--wishlist svg {
  fill: #111;
}

/* ---------------------------------------------------------
   3) Personal actions – Do sbírky / Přeji si
   --------------------------------------------------------- */
#sentiCatalogPage .senti-catalog-library-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  width: 100%;
  margin: 16px 0 12px;
}

#sentiCatalogPage .senti-catalog-library-action {
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
  min-height: 43px;
  padding: 0 9px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(17,17,17,.16) !important;
  border-radius: var(--senti-fw-radius-xs, 6px) !important;
  background: rgba(255,255,255,.96) !important;
  color: #111 !important;
  cursor: pointer;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif) !important;
  font-size: 11px !important;
  font-weight: 720 !important;
  line-height: 1 !important;
  letter-spacing: .075em !important;
  text-transform: uppercase;
  box-shadow: none !important;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

#sentiCatalogPage .senti-catalog-library-action svg {
  flex: 0 0 16px;
  display: block;
  width: 16px !important;
  height: 16px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.75 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#sentiCatalogPage .senti-catalog-library-action:hover:not(:disabled),
#sentiCatalogPage .senti-catalog-library-action:focus-visible:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(17,17,17,.46) !important;
  outline: none;
}

#sentiCatalogPage .senti-catalog-library-action.is-owned,
#sentiCatalogPage .senti-catalog-library-action.is-owned:disabled {
  border-color: #111 !important;
  background: #111 !important;
  color: #fff !important;
  opacity: 1 !important;
}

#sentiCatalogPage .senti-catalog-library-action--wishlist.is-active {
  border-color: rgba(17,17,17,.28) !important;
  background: #faf7f2 !important;
}

#sentiCatalogPage .senti-catalog-library-action--wishlist.is-active svg {
  fill: #111 !important;
}

#sentiCatalogPage .senti-catalog-library-action.is-unavailable,
#sentiCatalogPage .senti-catalog-library-action:disabled:not(.is-owned) {
  opacity: .4;
  cursor: default;
}

#sentiCatalogPage .senti-catalog-library-action.is-loading {
  opacity: .56;
  pointer-events: none;
}

/* ---------------------------------------------------------
   4) Secondary round actions – Více / Matching / Koupit
   --------------------------------------------------------- */
#sentiCatalogPage .senti-catalog-perfume-card .senti-catalog-icon-actions {
  padding-top: 12px;
  margin-top: 0;
  margin-bottom: 0;
  border-top: 1px solid rgba(17,17,17,.08);
}

/* ---------------------------------------------------------
   5) Matching explanation – quiet secondary panel
   --------------------------------------------------------- */
#sentiCatalogPage .senti-catalog-perfume-card .senti-catalog-fit-ring {
  position: static;
  margin: 0;
}

#sentiCatalogPage .senti-catalog-perfume-card .senti-catalog-fit-ring[hidden],
#sentiCatalogPage .senti-catalog-match-panel[hidden] {
  display: none !important;
}

#sentiCatalogPage .senti-catalog-match-panel {
  width: 100%;
  box-sizing: border-box;
  margin-top: 14px;
  padding: 13px 14px 12px;
  border: 1px solid rgba(17,17,17,.065);
  border-radius: var(--senti-fw-radius-xs, 6px);
  background: linear-gradient(180deg, #fbf9f5 0%, #faf8f4 100%);
  color: #514b45;
  text-align: left !important;
}

#sentiCatalogPage .senti-catalog-match-panel__label {
  display: block;
  margin: 0 0 8px;
  color: #907b62;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 9px !important;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
}

#sentiCatalogPage .senti-catalog-match-panel__reason {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  margin: 0;
  color: #625b54;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif) !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  line-height: 1.62 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

#sentiCatalogPage .senti-catalog-match-panel__meta {
  margin-top: 10px;
  color: #9a9187;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 10px !important;
  font-weight: 650;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  #sentiCatalogPage .senti-catalog-library-action {
    min-height: 42px;
    font-size: 10px !important;
    letter-spacing: .055em !important;
  }

  #sentiCatalogPage .senti-catalog-match-panel {
    margin-top: 12px;
    padding: 12px;
  }

  #sentiCatalogPage .senti-catalog-match-panel__reason {
    font-size: 12px !important;
  }
}

/* =========================================================
   SENTI Framework – Community profile enhancements v4
   ---------------------------------------------------------
   - avatar next to public profile name
   - enhanced collection perfume cards + detail/modal actions
   - uniform component radius
   Append to the VERY END of public/css/senti-framework.css.
========================================================= */

/* One shared radius language across the public-profile modules. */
.sf-community-profile {
  --sf-community-module-radius: var(--senti-fw-radius-xs, 14px);
}

.sf-community-profile .sf-profile-mate-card,
.sf-community-profile .sf-community-panel,
.sf-community-profile .sf-community-character,
.sf-community-profile .sf-community-profile-hero {
  border-radius: var(--sf-community-module-radius) !important;
}

/* Small portrait next to the profile name. */
.sf-community-profile__hero-avatar {
  width: 54px;
  height: 54px;
  margin-left: 2px;
  margin-right: 2px;
  overflow: visible !important;
}

.sf-community-profile__hero-avatar > img,
.sf-community-profile__hero-avatar .sf-person-fallback {
  display: grid !important;
  place-items: center;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 50% !important;
  background: #fff !important;
  object-fit: cover;
}

.sf-community-profile__hero-avatar.is-niche-team > img,
.sf-community-profile__hero-avatar.is-niche-team .sf-person-fallback {
  border: 3px solid #0b0b0b !important;
}

.sf-community-profile__hero-avatar .sf-person-fallback__icon {
  width: 44% !important;
  height: 44% !important;
  max-width: 44% !important;
  color: #81786e;
  stroke-width: 1.4;
}

.sf-community-profile__hero-avatar .sf-niche-member-badge {
  bottom: -8px;
  min-height: 15px;
  padding: 0 7px;
  font-size: 6.5px;
  letter-spacing: .14em;
}

/* Public perfume collection – editorial cards with useful actions. */
.sf-community-panel--collection {
  overflow: hidden;
}

.sf-community-collection-card--enhanced {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 242px;
  padding: 9px 9px 10px !important;
  border-radius: calc(var(--sf-community-module-radius) - 3px) !important;
}

.sf-community-collection-card__detail {
  appearance: none;
  width: 100%;
  min-width: 0;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.sf-community-collection-card--enhanced img {
  width: 100%;
  height: 112px;
  margin-bottom: 10px;
  object-fit: contain;
}

.sf-community-collection-card--enhanced small {
  padding-right: 42px;
}

.sf-community-collection-card--enhanced strong {
  display: -webkit-box !important;
  min-height: 32px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.16;
  text-overflow: initial;
  white-space: normal !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sf-community-collection-card__score.sf-score-ring {
  position: absolute;
  top: 10px;
  right: 9px;
  bottom: auto;
  z-index: 3;
  width: 39px;
  height: 39px;
  background: #fff;
}

.sf-community-collection-card__score.sf-score-ring span {
  font-size: 10px;
}

.sf-community-collection-card__actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid rgba(17,17,17,.08);
}

.sf-community-collection-card__icon {
  appearance: none;
  display: inline-grid;
  place-items: center;
  width: 33px;
  height: 33px;
  padding: 0;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 999px;
  background: #fff;
  color: #111;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}

.sf-community-collection-card__icon:hover,
.sf-community-collection-card__icon:focus-visible {
  border-color: rgba(17,17,17,.28);
  transform: translateY(-1px);
  outline: none;
}

.sf-community-collection-card__icon svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Use the existing catalog modal styling, only control its layer. */
.sf-community-perfume-modal {
  z-index: 1200;
}

/* Mobile refinements. */
@media (max-width: 760px) {
  .sf-community-profile__hero-avatar {
    width: 48px;
    height: 48px;
  }

  .sf-community-collection-card--enhanced {
    min-height: 232px;
  }

  .sf-community-collection-card--enhanced img {
    height: 104px;
  }
}


/* =========================================================
   SENTI Framework - Admin dashboard as personal dashboard v1
   Paste at the VERY END of public/css/senti-framework.css.
========================================================= */
.sf-admin-console{margin:clamp(22px,3vw,34px) 0;padding:clamp(20px,2.4vw,30px);border:1px solid var(--sf-line,rgba(17,17,17,.10));border-radius:var(--senti-fw-radius-xs,14px);background:radial-gradient(circle at 100% 0%,rgba(241,234,223,.48),transparent 27%),rgba(255,255,255,.91);box-shadow:var(--sf-shadow-xs,0 12px 34px rgba(17,17,17,.035))}
.sf-admin-console__head{display:flex;justify-content:space-between;align-items:start;gap:18px;margin-bottom:22px}
.sf-admin-console__head h2{margin:0 0 7px;color:var(--sf-ink,#0b0b0b);font-family:var(--sf-font-serif,"Playfair Display",Georgia,serif);font-size:clamp(27px,2.5vw,34px);font-weight:520;letter-spacing:-.038em;line-height:1.1}
.sf-admin-console__head p{max-width:670px;margin:0;color:var(--sf-graphite,#645e57);font-family:var(--sf-font-sans,"Inter",system-ui,sans-serif);font-size:13px;line-height:1.58}
.sf-admin-console__badge{display:inline-flex;align-items:center;min-height:32px;padding:0 15px;border-radius:999px;background:#0b0b0b;color:#fff;font:800 10px/1 var(--sf-font-sans,"Inter",system-ui,sans-serif);letter-spacing:.2em}
.sf-admin-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:20px}
.sf-admin-kpi{display:flex;flex-direction:column;justify-content:center;min-height:102px;padding:16px 15px;border:1px solid rgba(17,17,17,.09);border-radius:calc(var(--senti-fw-radius-xs,14px) - 4px);background:rgba(255,255,255,.88)}
.sf-admin-kpi strong{display:block;margin-bottom:9px;color:#111;font:520 30px/1 var(--sf-font-serif,"Playfair Display",Georgia,serif);letter-spacing:-.045em}
.sf-admin-kpi span{color:#191715;font:750 11px/1 var(--sf-font-sans,"Inter",system-ui,sans-serif);letter-spacing:.11em;text-transform:uppercase}
.sf-admin-kpi small{margin-top:5px;color:#847c72;font-size:11px}
.sf-admin-kpi--ink{border-color:#111;background:#111}.sf-admin-kpi--ink strong,.sf-admin-kpi--ink span{color:#fff}.sf-admin-kpi--ink small{color:rgba(255,255,255,.62)}
.sf-admin-update{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 20px;padding:17px 19px;border:1px solid rgba(17,17,17,.10);border-radius:calc(var(--senti-fw-radius-xs,14px) - 2px);background:rgba(255,255,255,.88)}
.sf-admin-update.is-pending{border-color:rgba(172,113,38,.32);background:linear-gradient(135deg,rgba(255,252,244,.96),rgba(243,225,190,.45))}
.sf-admin-update.is-ready{border-color:rgba(58,112,75,.18);background:rgba(244,249,245,.88)}
.sf-admin-update strong{display:block;margin:4px 0 3px;color:#171513;font:650 15px/1.25 var(--sf-font-sans,"Inter",system-ui,sans-serif)}
.sf-admin-update p{margin:0;color:#716960;font-size:12px;line-height:1.5}
.sf-admin-update form{margin:0;flex:0 0 auto}
.sf-admin-update__status{flex:0 0 auto;color:#416e4d;font-size:12px;font-weight:750}
.sf-admin-console__body{display:grid;grid-template-columns:minmax(400px,1.05fr) minmax(350px,.95fr);gap:12px}
.sf-admin-toolbox,.sf-admin-monitor{padding:clamp(18px,2vw,24px);border:1px solid rgba(17,17,17,.09);border-radius:calc(var(--senti-fw-radius-xs,14px) - 2px);background:#fff}
.sf-admin-panel-head{margin-bottom:17px}.sf-admin-panel-head h3{margin:0;color:#111;font:520 24px/1.15 var(--sf-font-serif,"Playfair Display",Georgia,serif);letter-spacing:-.035em}
.sf-admin-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sf-admin-tool{display:inline-flex;justify-content:space-between;align-items:center;gap:11px;min-height:47px;padding:0 15px;border:1px solid rgba(17,17,17,.10);border-radius:calc(var(--senti-fw-radius-xs,14px) - 7px);background:rgba(255,255,255,.96);color:#111;font:650 12px/1.25 var(--sf-font-sans,"Inter",system-ui,sans-serif);text-decoration:none;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.sf-admin-tool i{font-style:normal;transition:transform .18s ease}.sf-admin-tool:hover,.sf-admin-tool:focus-visible{border-color:rgba(17,17,17,.25);background:#faf8f4;transform:translateY(-1px);outline:none}.sf-admin-tool:hover i{transform:translateX(3px)}
.sf-admin-tool--strong{border-color:#111;background:#111;color:#fff}.sf-admin-tool--strong:hover{background:#191919;color:#fff}.sf-admin-tool-form{margin-top:8px}.sf-admin-tool--button{width:100%;cursor:pointer;text-align:left}
.sf-admin-ai-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:20px}.sf-admin-ai-grid>div{min-height:98px;padding:13px 11px;border:1px solid rgba(17,17,17,.085);border-radius:8px;background:#fcfaf6}
.sf-admin-ai-grid small{display:block;margin-bottom:9px;color:#897f74;font-size:9px;font-weight:750;letter-spacing:.12em;line-height:1.2;text-transform:uppercase}.sf-admin-ai-grid strong{display:block;margin-bottom:7px;color:#101010;font:520 25px/1 var(--sf-font-serif,"Playfair Display",Georgia,serif)}.sf-admin-ai-grid span{color:#827970;font-size:10px}
.sf-admin-quality__line{display:flex;justify-content:space-between;gap:12px;margin:13px 0 7px;color:#514c46;font-size:12px}.sf-admin-quality__bar{height:2px;background:#ece8e2}.sf-admin-quality__bar i{display:block;height:100%;background:#111}
.sf-admin-top-users{margin-top:22px;padding-top:17px;border-top:1px solid rgba(17,17,17,.09)}.sf-admin-top-users h4{margin:0 0 10px;color:#82796e;font-size:10px;font-weight:750;letter-spacing:.14em;text-transform:uppercase}.sf-admin-top-users div{display:flex;justify-content:space-between;gap:13px;padding:7px 0;border-bottom:1px solid rgba(17,17,17,.055);color:#524d47;font-size:12px}
@media(max-width:1120px){.sf-admin-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sf-admin-console__body{grid-template-columns:1fr}}
@media(max-width:760px){.sf-admin-console{padding:17px 14px}.sf-admin-console__head{flex-direction:column-reverse}.sf-admin-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sf-admin-update{align-items:flex-start;flex-direction:column}.sf-admin-tools,.sf-admin-ai-grid{grid-template-columns:1fr}}

.sf-recent-activity{margin:clamp(24px,3vw,36px) 0 0;padding:19px 20px;border:1px solid rgba(17,17,17,.09);border-radius:calc(var(--senti-fw-radius-xs,14px) - 2px);background:#fff}
.sf-recent-activity__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:15px}
.sf-recent-activity__head h2{margin:0;color:#111;font:520 24px/1.15 var(--sf-font-serif,"Playfair Display",Georgia,serif);letter-spacing:-.035em}
.sf-recent-activity__head>span{color:#94897d;font-size:10px;letter-spacing:.04em}
.sf-recent-activity__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.sf-recent-activity-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:70px;padding:10px 12px;border:1px solid rgba(17,17,17,.10);border-radius:9px;background:#fff;color:#111;text-decoration:none;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.sf-recent-activity-card:hover,.sf-recent-activity-card:focus-visible{border-color:rgba(17,17,17,.28);box-shadow:0 10px 24px rgba(17,17,17,.055);transform:translateY(-1px);outline:none}
.sf-recent-activity-card__avatar{position:relative;display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:#f5f1eb;color:#6e655b;font:700 12px/1 var(--sf-font-sans,"Inter",system-ui,sans-serif)}
.sf-recent-activity-card__avatar i{position:absolute;right:0;bottom:1px;width:9px;height:9px;border:2px solid #fff;border-radius:50%;background:#c9c3bb}
.sf-recent-activity-card__avatar i.is-online{background:#5caf72}
.sf-recent-activity-card__copy{min-width:0}
.sf-recent-activity-card__copy strong,.sf-recent-activity-card__copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sf-recent-activity-card__copy strong{font:650 12px/1.25 var(--sf-font-sans,"Inter",system-ui,sans-serif)}
.sf-recent-activity-card__copy small{margin-top:5px;color:#8a8178;font-size:10px}
.sf-recent-activity-card__copy small.is-online{color:#3f8d57;font-weight:700}
.sf-recent-activity-card__arrow{color:#a4773e;font-size:15px}
.sf-recent-activity__empty{grid-column:1/-1;padding:18px;border:1px dashed rgba(17,17,17,.16);border-radius:9px;color:#81786f;font-size:12px;text-align:center}
@media(max-width:1120px){.sf-recent-activity__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.sf-recent-activity{padding:16px 14px}.sf-recent-activity__head{align-items:flex-start;flex-direction:column}.sf-recent-activity__grid{grid-template-columns:1fr}}


/* =========================================================
   SENTI Framework – Scent Constellation / Czech community map v1.2
   Shape + proportion refinement for admin preview
========================================================= */

.sf-scent-map {
  margin: 30px 0 34px;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--sf-line, rgba(17,17,17,.10));
  border-radius: var(--senti-fw-radius-xs, 14px);
  background:
    radial-gradient(circle at 10% 0%, rgba(244,238,228,.46), transparent 33%),
    rgba(255,255,255,.94);
}

.sf-community-map-accordion {
  margin: 0 0 clamp(22px, 2.6vw, 34px);
  border: 1px solid var(--sf-line, rgba(17,17,17,.10));
  border-radius: var(--senti-fw-radius-xs, 14px);
  background: rgba(255,255,255,.96);
  overflow: hidden;
}

.sf-community-map-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 76px;
  padding: 18px 22px;
  border: 0;
  background: linear-gradient(90deg, rgba(248,243,237,.82), rgba(255,255,255,.94));
  color: #111;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
}

.sf-community-map-accordion__trigger small {
  display: block;
  margin-bottom: 5px;
  color: #a77b46;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 9px;
  font-weight: 840;
  letter-spacing: .22em;
  line-height: 1;
  text-transform: uppercase;
}

.sf-community-map-accordion__trigger strong {
  display: block;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 520;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.sf-community-map-accordion__trigger em {
  display: block;
  margin-top: 8px;
  color: #81776c;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 11px;
  font-style: normal;
  letter-spacing: .02em;
}

.sf-community-map-accordion__trigger i {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 50%;
  background: #fff;
}

.sf-community-map-accordion__trigger .sf-community-map-accordion__arrow {
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 18px;
  font-style: normal;
  transition: transform .2s ease, border-color .2s ease;
}

.sf-community-map-accordion__trigger .sf-community-map-accordion__arrow::before,
.sf-community-map-accordion__trigger .sf-community-map-accordion__arrow::after {
  display: none;
}

.sf-community-map-accordion__trigger:hover .sf-community-map-accordion__arrow {
  border-color: rgba(17,17,17,.28);
  transform: translateX(3px);
}

.sf-community-map-accordion__trigger i::before,
.sf-community-map-accordion__trigger i::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 1.5px;
  border-radius: 999px;
  background: #111;
  transition: transform .22s ease;
}

.sf-community-map-accordion__trigger i::after {
  transform: rotate(90deg);
}

.sf-community-map-accordion.is-open .sf-community-map-accordion__trigger i::after {
  transform: rotate(0deg);
}

.sf-community-map-accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s ease;
}

.sf-community-map-accordion__panel > * {
  min-height: 0;
  overflow: hidden;
}

.sf-community-map-accordion.is-open .sf-community-map-accordion__panel {
  grid-template-rows: 1fr;
}

.sf-community-map-accordion .sf-scent-map {
  margin: 0;
  padding-top: clamp(16px, 2vw, 24px);
  border-width: 1px 0 0;
  border-radius: 0;
  box-shadow: none;
}

.sf-community-map-accordion .sf-scent-map__head {
  display: none;
}

.sf-scent-map__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 17px;
}

.sf-scent-map__head h2 {
  margin: 7px 0 8px;
  color: #111;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(28px, 2.5vw, 34px);
  font-weight: 520;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.sf-scent-map__head p {
  max-width: 560px;
  margin: 0;
  color: #706960;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 13px;
  line-height: 1.6;
}

.sf-scent-map__sync {
  margin-top: 5px;
}

.sf-scent-map__status {
  margin: 0 0 16px;
  padding: 10px 13px;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 8px;
  background: #faf8f4;
  color: #675f56;
  font-size: 12px;
}

.sf-scent-map__surface {
  border: 1px solid rgba(17,17,17,.07);
  border-radius: calc(var(--senti-fw-radius-xs, 14px) - 3px);
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fdfcf9 100%);
}

.sf-scent-map__visual {
  position: relative;
  width: min(100%, 980px);
  aspect-ratio: 1000 / 620;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
}

.sf-scent-map__outline {
  position: absolute;
  inset: 26px 34px 22px;
  display: block;
  width: calc(100% - 68px);
  height: calc(100% - 48px);
  max-height: none;
}

.sf-scent-map__country-shadow {
  fill: #f8f4ee;
  stroke: rgba(151, 139, 123, .08);
  stroke-width: 10;
  filter: url(#sfCzechGlow);
}

.sf-scent-map__country {
  fill: url(#sfCzechWash);
  stroke: rgba(151, 139, 123, .34);
  stroke-width: 1.35;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.sf-scent-map__pin {
  position: absolute;
  top: var(--sf-map-y);
  left: var(--sf-map-x);
  z-index: 2;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--sf-map-color);
  cursor: pointer;
}

.sf-scent-map__orb {
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,.98) 0 6%, transparent 17%),
    radial-gradient(circle, var(--sf-map-color) 0%, var(--sf-map-color-2) 35%, transparent 70%);
  opacity: .78;
  filter: blur(1px);
  animation: sfMapPulse 5.4s ease-in-out infinite;
}

.sf-scent-map__pin:nth-of-type(3n) .sf-scent-map__orb { animation-delay: -1.7s; }
.sf-scent-map__pin:nth-of-type(3n+1) .sf-scent-map__orb { animation-delay: -3.1s; }

.sf-scent-map__star {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.92);
  font-size: 10px;
  text-shadow: 0 0 10px var(--sf-map-color);
}

.sf-scent-map__pin small {
  position: absolute;
  top: -2px;
  right: -3px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  color: #111;
  font-size: 9px;
  font-weight: 700;
}

.sf-scent-map__pin:hover .sf-scent-map__orb,
.sf-scent-map__pin:focus-visible .sf-scent-map__orb {
  opacity: 1;
  transform: scale(1.15);
}

.sf-scent-map__pin:focus-visible {
  outline: 1px solid rgba(17,17,17,.28);
  outline-offset: 3px;
  border-radius: 50%;
}

.sf-scent-map__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: #8d8275;
  pointer-events: none;
}

.sf-scent-map__empty span {
  font-size: 23px;
  color: #bb9f76;
}

.sf-scent-map__empty p {
  max-width: 320px;
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
}

.sf-scent-map__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 12px 17px;
  border-top: 1px solid rgba(17,17,17,.06);
  color: #91877b;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 10px;
  letter-spacing: .04em;
}

.sf-scent-map__caption a {
  color: inherit;
  text-decoration: none;
}

.sf-scent-map__caption a:hover {
  color: #111;
}

@keyframes sfMapPulse {
  0%, 100% { transform: scale(.92); opacity: .62; }
  50% { transform: scale(1.13); opacity: .94; }
}

/* Locality popup */
.sf-modal-open {
  overflow: hidden;
}

.sf-scent-map-dialog[hidden] {
  display: none !important;
}

.sf-scent-map-dialog {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 20px;
}

.sf-scent-map-dialog__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17,17,17,.22);
  backdrop-filter: blur(3px);
}

.sf-scent-map-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(470px, 100%);
  max-height: min(620px, calc(100vh - 40px));
  overflow-y: auto;
  padding: 27px;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: var(--senti-fw-radius-xs, 14px);
  background: #fff;
  box-shadow: 0 25px 70px rgba(17,17,17,.12);
}

.sf-scent-map-dialog__panel h3 {
  margin: 9px 0 5px;
  font: 520 31px/1.12 var(--sf-font-serif, "Playfair Display", Georgia, serif);
  letter-spacing: -.04em;
}

.sf-scent-map-dialog__panel > p {
  margin: 0 0 21px;
  color: #756d63;
  font-size: 13px;
}

.sf-scent-map-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,.10);
  background: #fff;
  color: #222;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.sf-scent-map-dialog__close svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.sf-scent-map-dialog__members {
  display: grid;
  gap: 12px;
}

.sf-scent-map-person {
  display: grid;
  grid-template-columns: 60px minmax(0,1fr) 16px;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  background: #fcfbf9;
}

.sf-scent-map-person:hover {
  border-color: rgba(17,17,17,.14);
  background: #fff;
}

.sf-scent-map-person__avatar {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17,17,17,.10);
  background: #fff;
}

.sf-scent-map-person__avatar img,
.sf-scent-map-person__avatar svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-scent-map-person__avatar svg {
  padding: 12px;
  color: #756d63;
}

.sf-scent-map-person__avatar.is-niche-team {
  border: 3px solid #111;
}

.sf-scent-map-person__avatar b {
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  padding: 2px 6px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 8px;
  line-height: 1;
  letter-spacing: .12em;
}

.sf-scent-map-person strong {
  display: block;
  font: 520 18px/1.15 var(--sf-font-serif, "Playfair Display", Georgia, serif);
}

.sf-scent-map-person small {
  display: block;
  margin-top: 4px;
  color: #8a8074;
  font-size: 12px;
  letter-spacing: .03em;
}

.sf-scent-map-person i {
  font-style: normal;
  color: #8a8074;
}

@media (max-width: 900px) {
  .sf-scent-map__head {
    flex-direction: column;
  }

  .sf-scent-map__visual {
    width: 100%;
    aspect-ratio: 1000 / 680;
  }

  .sf-scent-map__outline {
    inset: 18px 16px 18px;
    width: calc(100% - 32px);
    height: calc(100% - 36px);
  }
}

@media (max-width: 640px) {
  .sf-scent-map__caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .sf-scent-map__visual {
    aspect-ratio: 1000 / 760;
  }

  .sf-scent-map__pin {
    width: 44px;
    height: 44px;
  }

  .sf-scent-map-dialog__panel {
    padding: 22px 18px;
  }
}
/* =========================================================
   SENTI Community Map – admin bulk locality sync v1.4
   Append after the current map v1.3 block in senti-framework.css.
========================================================= */

.sf-scent-map__sync {
  display: grid;
  justify-items: end;
  gap: 7px;
}

.sf-scent-map__sync-note {
  max-width: 260px;
  color: #988c7e;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 10px;
  font-weight: 450;
  line-height: 1.45;
  text-align: right;
}

.sf-scent-map__sync .sf-btn.is-loading,
.sf-scent-map__sync .sf-btn:disabled {
  opacity: .62;
  cursor: wait;
}

@media (max-width: 760px) {
  .sf-scent-map__sync {
    justify-items: start;
  }

  .sf-scent-map__sync-note {
    text-align: left;
  }
}


/* =========================================================
   SENTI Community Map – orb visual restore / fail-safe SVG pins v1.7
   ---------------------------------------------------------
   Přidej na ÚPLNÝ KONEC public/css/senti-framework.css
   za existující mapové bloky v1.3, v1.4 a v1.6.

   Barvy bodů jsou nově zabudované přímo v SVG partialu,
   takže ani při cache CSS už body nespadnou do černých kruhů.
========================================================= */

.sf-scent-map__pin-node {
  cursor: pointer;
  outline: none;
}

/* v1.7 používá vlastní gradient přímo ve style atributu SVG kruhů */
.sf-scent-map__pin-halo {
  opacity: .58;
  transform-origin: center;
  transform-box: fill-box;
  animation: sfMapOrbBreathe 5.8s ease-in-out infinite;
}

.sf-scent-map__pin-orb {
  opacity: .92;
  transform-origin: center;
  transform-box: fill-box;
  animation: sfMapOrbCore 5.8s ease-in-out infinite;
}

.sf-scent-map__pin-star {
  opacity: .96;
  pointer-events: none;
  filter: drop-shadow(0 0 2px rgba(255,255,255,.8));
}

.sf-scent-map__pin-hit {
  cursor: pointer;
}

.sf-scent-map__pin-count {
  pointer-events: none;
}

.sf-scent-map__pin-count text {
  fill: #191919;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 6.4px;
  font-weight: 750;
}

.sf-scent-map__pin-node:nth-of-type(3n) .sf-scent-map__pin-halo,
.sf-scent-map__pin-node:nth-of-type(3n) .sf-scent-map__pin-orb {
  animation-delay: -1.9s;
}

.sf-scent-map__pin-node:nth-of-type(3n+1) .sf-scent-map__pin-halo,
.sf-scent-map__pin-node:nth-of-type(3n+1) .sf-scent-map__pin-orb {
  animation-delay: -3.2s;
}

.sf-scent-map__pin-node:hover .sf-scent-map__pin-halo,
.sf-scent-map__pin-node:focus .sf-scent-map__pin-halo {
  opacity: .82;
}

.sf-scent-map__pin-node:focus .sf-scent-map__pin-orb {
  stroke: rgba(17,17,17,.22);
  stroke-width: .65;
}

@keyframes sfMapOrbBreathe {
  0%, 100% {
    opacity: .44;
    transform: scale(.92);
  }
  50% {
    opacity: .68;
    transform: scale(1.10);
  }
}

@keyframes sfMapOrbCore {
  0%, 100% {
    opacity: .84;
    transform: scale(.96);
  }
  50% {
    opacity: .98;
    transform: scale(1.04);
  }
}

/* Barevný gradient je nastavený přímo inline ve SVG s !important,
   takže jej starší mapové fill deklarace už nepřebarví. */

@media (max-width: 640px) {
  
}

@media (prefers-reduced-motion: reduce) {
  .sf-scent-map__pin-halo,
  .sf-scent-map__pin-orb {
    animation: none !important;
  }
}


/* =========================================================
   v1.7.1 – jemné pulzování orbů
   ---------------------------------------------------------
   Ve v1.7 se v některých kombinacích browser/CSS přestalo
   spolehlivě animovat scale přímo na SVG circle. Řešíme to
   vnitřním <g> wrapperem, který se animuje jako celek.
========================================================= */

.sf-scent-map__pin-pulse {
  transform-origin: center center;
  transform-box: fill-box;
  animation: sfMapPinPulse 4.8s ease-in-out infinite;
  will-change: transform, opacity;
}

.sf-scent-map__pin-halo {
  opacity: .52;
  animation: sfMapPinHaloOpacity 4.8s ease-in-out infinite;
}

.sf-scent-map__pin-orb {
  opacity: .94;
}

.sf-scent-map__pin-node:nth-of-type(3n) .sf-scent-map__pin-pulse,
.sf-scent-map__pin-node:nth-of-type(3n) .sf-scent-map__pin-halo {
  animation-delay: -1.6s;
}

.sf-scent-map__pin-node:nth-of-type(3n+1) .sf-scent-map__pin-pulse,
.sf-scent-map__pin-node:nth-of-type(3n+1) .sf-scent-map__pin-halo {
  animation-delay: -3.1s;
}

@keyframes sfMapPinPulse {
  0%, 100% {
    transform: scale(.96);
  }
  50% {
    transform: scale(1.08);
  }
}

@keyframes sfMapPinHaloOpacity {
  0%, 100% {
    opacity: .42;
  }
  50% {
    opacity: .66;
  }
}

@media (max-width: 640px) {
  .sf-scent-map__pin-pulse {
    animation-duration: 5.2s;
  }

  .sf-scent-map__pin-halo {
    opacity: .48;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sf-scent-map__pin-pulse,
  .sf-scent-map__pin-halo {
    animation: none !important;
  }
}


/* Dashboard · olfactory interpretation */
.sf-dashboard-hero__reading {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 2px;
  padding-top: clamp(22px, 2.5vw, 32px);
  border-top: 1px solid rgba(17,17,17,.10);
}

.sf-dashboard-hero__reading > p {
  max-width: 1100px;
  margin: 0;
  color: var(--sf-graphite, #5f5b55);
  font-size: 13.5px;
  line-height: 1.65;
}

.sf-dashboard-hero__reading-lead {
  margin-bottom: 11px !important;
  color: var(--sf-ink, #0b0b0b) !important;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(17px, 1.35vw, 21px) !important;
  line-height: 1.35 !important;
  letter-spacing: -.012em;
}

.sf-dashboard-hero__reading--compact {
  grid-column: auto;
  width: min(100%, 520px);
  margin-top: 24px;
  padding-top: 20px;
}

.sf-dashboard-hero__reading--compact > p {
  max-width: 520px;
  font-size: 12.5px;
  line-height: 1.62;
}

.sf-dashboard-hero__reading--compact .sf-dashboard-hero__reading-lead {
  margin-bottom: 9px !important;
  font-size: clamp(16px, 1.2vw, 19px) !important;
  line-height: 1.32 !important;
}

.sf-dashboard-hero__reading-signals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.sf-dashboard-hero__reading-signal > span {
  display: block;
  margin-bottom: 7px;
  color: #9a7042;
  font-size: 9.5px;
  font-weight: 780;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.sf-reading-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sf-reading-tags i {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: var(--sf-ink, #0b0b0b);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 680;
}

.sf-reading-tags--muted i {
  background: rgba(250,248,245,.82);
  color: rgba(17,17,17,.60);
}

@media (max-width: 640px) {
  .sf-dashboard-hero__reading {
    margin-top: 4px;
    padding-top: 17px;
  }

  .senti-catalog-controls {
    grid-template-columns: 1fr;
  }

  .sf-dashboard-hero__reading-signals {
    grid-template-columns: 1fr;
    gap: 13px;
  }
}

/* Shared CER2 family radar */
.sf-family-radar {
  width: min(var(--sf-family-radar-size, 240px), 100%);
  aspect-ratio: 1;
  color: #9c692c;
}

.sf-family-radar svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.sf-family-radar__grid,
.sf-family-radar__axis {
  fill: none;
  stroke: rgba(93, 77, 57, .17);
  stroke-width: .75;
  vector-effect: non-scaling-stroke;
}

.sf-family-radar__grid.is-outer {
  stroke: rgba(93, 77, 57, .30);
}

.sf-family-radar__area {
  fill: rgba(169, 119, 53, .20);
  stroke: rgba(143, 94, 35, .80);
  stroke-width: 1.6;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.sf-family-radar__point {
  fill: #fff;
  stroke: #9c692c;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.sf-family-radar__label {
  fill: #6f665c;
  font-family: var(--sf-font-sans, inherit);
  font-size: 6.8px;
  font-weight: 680;
  letter-spacing: .015em;
}

.sf-family-radar__scale {
  fill: rgba(92, 77, 59, .54);
  font-family: var(--sf-font-sans, inherit);
  font-size: 5.2px;
  font-weight: 650;
}

.sf-family-radar--compact .sf-family-radar__label {
  font-size: 7.2px;
}

.sf-aura-card__radar {
  margin: -12px auto -8px;
}

.sf-community-character__radar {
  margin: -18px auto -7px;
}

.sf-community-character--text-only:has(.sf-community-character__radar) {
  display: flex;
  flex-direction: column;
  min-height: 310px;
}

.sf-community-character--text-only:has(.sf-community-character__radar) > p {
  padding-top: 13px;
  border-top: 1px solid rgba(17, 17, 17, .08);
}

@media (max-width: 760px) {
  .sf-aura-card__radar {
    --sf-family-radar-size: 200px !important;
  }

  .sf-community-character__radar {
    --sf-family-radar-size: 220px !important;
  }
}

/* =========================================================
   SENTI Framework – User dashboard profile gate restore v1
   ---------------------------------------------------------
   Fixes the incomplete-profile user dashboard hero.
   The completed profile dashboard already uses .sf-dashboard-hero;
   this restores the same framed, two-column luxury layout for
   .sf-profile-gate, which was present in the Blade but had no CSS.
========================================================= */
.sf-dashboard-page .sf-profile-gate {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(340px, .68fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  min-height: 330px;
  padding: clamp(24px, 3.8vw, 54px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--sf-line, rgba(17,17,17,.105));
  border-radius: var(--senti-fw-radius-xs, 2px);
  background:
    radial-gradient(circle at 73% 43%, rgba(239,231,218,.58), transparent 26%),
    radial-gradient(circle at 90% 18%, rgba(238,233,247,.30), transparent 28%),
    rgba(255,255,255,.82);
  color: var(--sf-ink, #0b0b0b);
}

.sf-dashboard-page .sf-profile-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 49%, rgba(255,255,255,.62), transparent 11%),
    radial-gradient(circle at 75% 49%, rgba(226,214,238,.42), transparent 28%),
    radial-gradient(circle at 66% 55%, rgba(240,224,205,.36), transparent 34%),
    radial-gradient(circle at 88% 58%, rgba(244,230,228,.23), transparent 31%);
  opacity: .95;
}

.sf-dashboard-page .sf-profile-gate__copy,
.sf-dashboard-page .sf-profile-gate__benefits {
  position: relative;
  z-index: 1;
}

.sf-dashboard-page .sf-profile-gate__copy {
  max-width: 620px;
}

.sf-dashboard-page .sf-profile-gate__copy .sf-btn {
  margin-top: 28px;
}

.sf-dashboard-page .sf-profile-gate__benefits {
  align-self: stretch;
  display: grid;
  gap: 0;
  min-height: 250px;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--sf-line, rgba(17,17,17,.105));
  border-radius: 18px;
  background: rgba(255,255,255,.74);
  box-shadow: var(--sf-shadow-xs, 0 8px 22px rgba(17,17,17,.035));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sf-dashboard-page .sf-profile-gate__benefits > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 5px 14px;
  align-content: center;
  min-height: 70px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(17,17,17,.075);
}

.sf-dashboard-page .sf-profile-gate__benefits > div:last-child {
  border-bottom: 0;
}

.sf-dashboard-page .sf-profile-gate__benefits span {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 2px;
  color: #a77945;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .15em;
  line-height: 1;
}

.sf-dashboard-page .sf-profile-gate__benefits strong {
  display: block;
  color: var(--sf-ink, #0b0b0b);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: -.01em;
  line-height: 1.2;
}

.sf-dashboard-page .sf-profile-gate__benefits p {
  margin: 0;
  color: var(--sf-graphite, #5f5b55);
  font-size: 12.5px;
  line-height: 1.55;
}

@media (max-width: 1280px) {
  .sf-dashboard-page .sf-profile-gate {
    grid-template-columns: 1fr;
  }

  .sf-dashboard-page .sf-profile-gate__benefits {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .sf-dashboard-page .sf-profile-gate {
    gap: 22px;
    padding: 24px 18px;
    border-radius: 18px;
  }

  .sf-dashboard-page .sf-profile-gate::before {
    background:
      radial-gradient(circle at 72% 18%, rgba(239,231,218,.54), transparent 28%),
      radial-gradient(circle at 94% 40%, rgba(238,233,247,.24), transparent 32%);
  }

  .sf-dashboard-page .sf-profile-gate__benefits {
    min-height: 0;
    padding: 18px;
    border-radius: 14px;
  }

  .sf-dashboard-page .sf-profile-gate__benefits > div {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 14px 0;
  }

  .sf-dashboard-page .sf-profile-gate__benefits span {
    grid-row: auto;
  }
}

/* Collection cards: final cascade overrides after shared controls. */
.sf-collection-card .sf-collection-card__layout {
  grid-template-rows: auto auto auto !important;
  row-gap: 14px !important;
}

.sf-collection-card .sf-collection-card__media {
  grid-column: 1 !important;
  grid-row: 1 / 4 !important;
  align-self: center !important;
}

.sf-collection-card .sf-collection-card__body {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: end !important;
}

.sf-collection-card .sf-collection-card__reason {
  grid-column: 2 !important;
  grid-row: 2 !important;
  align-self: start !important;
  text-align: left !important;
}

.sf-collection-card .sf-collection-feedback {
  grid-column: 2 !important;
  grid-row: 3 !important;
  align-self: start !important;
}

.sf-collection-card .sf-collection-card__controls {
  grid-column: 3 !important;
  grid-row: 1 / 4 !important;
}

.sf-collection-card .sf-rating-slider,
.sf-collection-card .senti-slider.sf-rating-slider,
.sf-collection-card .senti-feedback__row--metric .senti-slider.sf-rating-slider {
  display: grid !important;
  grid-template-columns: minmax(120px, 1fr) 38px !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  min-width: 0 !important;
}

.sf-collection-card input[type="range"].sf-rating-slider__range {
  --pct: 0%;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  outline: 0 !important;
  cursor: pointer !important;
}

.sf-collection-card input[type="range"].sf-rating-slider__range::-webkit-slider-runnable-track {
  width: 100% !important;
  height: 2px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(to right, #b8945e 0 var(--pct), #dedbd6 var(--pct) 100%) !important;
}

.sf-collection-card input[type="range"].sf-rating-slider__range::-webkit-slider-thumb {
  width: 12px !important;
  height: 12px !important;
  margin-top: -5px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #b8945e !important;
  box-shadow: 0 0 0 3px #fff !important;
}

.sf-collection-card input[type="range"].sf-rating-slider__range::-moz-range-track {
  width: 100% !important;
  height: 2px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #dedbd6 !important;
}

.sf-collection-card input[type="range"].sf-rating-slider__range::-moz-range-progress {
  height: 2px !important;
  border-radius: 999px !important;
  background: #b8945e !important;
}

.sf-collection-card input[type="range"].sf-rating-slider__range::-moz-range-thumb {
  width: 12px !important;
  height: 12px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #b8945e !important;
  box-shadow: 0 0 0 3px #fff !important;
}

.sf-collection-card .sf-rating-slider__value,
.sf-collection-card .senti-slider__val.sf-rating-slider__value {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: 38px !important;
  min-width: 38px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #312e2a !important;
  font-size: 10px !important;
  font-weight: 720 !important;
  line-height: 1 !important;
  text-align: right !important;
}

.sf-collection-card .sf-rating-slider__value::after {
  content: "/10";
  margin-left: 1px;
  color: #857f77;
  font-weight: 620;
}

.sf-collection-comment-modal button.sf-collection-save-comment,
.sf-collection-comment-modal button.sf-collection-save-comment:hover,
.sf-collection-comment-modal button.sf-collection-save-comment:focus {
  border-color: #111 !important;
  background: #111 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

@media (max-width: 900px) {
  .sf-collection-card .sf-collection-card__layout {
    grid-template-columns: 125px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto !important;
  }

  .sf-collection-card .sf-collection-card__media {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: start !important;
  }

  .sf-collection-card .sf-collection-card__body {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
  }

  .sf-collection-card .sf-collection-feedback {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
  }

  .sf-collection-card .sf-collection-card__controls {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
  }
}

@media (max-width: 640px) {
  .sf-collection-card .sf-collection-card__layout {
    grid-template-columns: 86px minmax(0, 1fr) !important;
    column-gap: 15px !important;
    row-gap: 16px !important;
    padding: 20px 38px 20px 16px !important;
  }

  .sf-collection-card .sf-collection-card__image {
    height: 108px !important;
  }

  .sf-collection-card .sf-collection-card__body {
    width: 100% !important;
    text-align: left !important;
  }

  .sf-collection-card .sf-collection-card__head {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 9px !important;
    align-items: start !important;
    text-align: left !important;
  }

  .sf-collection-card .sf-collection-card__brand,
  .sf-collection-card .sf-collection-card__name,
  .sf-collection-card .sf-collection-card__reason {
    text-align: left !important;
  }

  .sf-collection-card .sf-collection-match {
    justify-self: end !important;
    align-self: start !important;
    margin: 0 !important;
  }

  .sf-collection-card .sf-score-ring--collection-match {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
  }

  .sf-collection-card .sf-collection-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .sf-collection-card .sf-collection-actions__label,
  .sf-collection-card .senti-feedback__hint {
    grid-column: 1 / -1 !important;
    text-align: left !important;
  }

  .sf-collection-card .sf-collection-actions .senti-btn {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 8px !important;
  }

  .sf-collection-card .sf-collection-card__controls {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    padding-top: 18px !important;
    text-align: left !important;
  }

  .sf-collection-card .sf-collection-metrics {
    width: 100% !important;
  }

  .sf-collection-card .sf-rating-row,
  .sf-collection-card .sf-rating-row__label {
    text-align: left !important;
  }

  .sf-collection-card .sf-rating-slider {
    grid-template-columns: minmax(0, 1fr) 38px !important;
  }

  .sf-collection-card .sf-collection-note-trigger {
    align-self: flex-start !important;
  }
}

.sf-collection-card__links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
}

.sf-collection-owners-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #625d56;
  font: inherit;
  font-size: 10.5px;
  font-weight: 720;
  line-height: 1.2;
  cursor: pointer;
}

.sf-collection-owners-trigger:hover {
  color: #9a743f;
}

.sf-collection-owners-trigger svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sf-collection-owners-modal[hidden] {
  display: none !important;
}

.sf-collection-owners-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.sf-collection-owners-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(20,18,16,.48);
  backdrop-filter: blur(4px);
}

.sf-collection-owners-modal__panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  padding: 26px;
  border: 1px solid rgba(17,17,17,.11);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(17,17,17,.2);
}

.sf-collection-owners-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 21px;
}

.sf-collection-owners-modal__head > div > span {
  display: block;
  margin-bottom: 6px;
  color: #9a743f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sf-collection-owners-modal__head h3 {
  margin: 0;
  color: #111;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: 25px;
  font-weight: 520;
  line-height: 1.15;
}

.sf-collection-owners-modal__head p {
  margin: 7px 0 0;
  color: #777068;
  font-size: 11px;
  line-height: 1.4;
}

.sf-collection-owners-modal__close {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  padding: 0;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.sf-collection-owners-modal__status {
  margin: 0;
  padding: 26px 16px;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 10px;
  background: #faf8f5;
  color: #706a63;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.sf-collection-owners-modal__status.is-error {
  color: #8b3f3f;
}

.sf-collection-owner-list {
  display: grid;
  border-top: 1px solid rgba(17,17,17,.08);
}

.sf-collection-owner {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  min-width: 0;
  padding: 13px 2px;
  border-bottom: 1px solid rgba(17,17,17,.08);
  color: #111;
  text-decoration: none;
}

.sf-collection-owner:hover .sf-collection-owner__link {
  color: #9a743f;
}

.sf-collection-owner__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 50%;
  background: #f2eee8;
  color: #776b5e;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: 14px;
  font-weight: 560;
}

.sf-collection-owner__avatar.is-niche-team {
  border-color: rgba(167,121,69,.42);
  box-shadow: inset 0 0 0 2px #fff;
}

.sf-collection-owner__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-collection-owner__identity {
  min-width: 0;
}

.sf-collection-owner__identity strong,
.sf-collection-owner__identity small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sf-collection-owner__identity strong {
  color: #181613;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.3;
}

.sf-collection-owner__identity small {
  margin-top: 3px;
  color: #918980;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .09em;
}

.sf-collection-owner__link {
  color: #655f58;
  font-size: 10px;
  font-weight: 720;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .sf-collection-card__links {
    gap: 13px;
  }

  .sf-collection-owners-modal {
    align-items: end;
    padding: 10px;
  }

  .sf-collection-owners-modal__panel {
    width: 100%;
    max-height: calc(100vh - 20px);
    padding: 21px 17px 16px;
    border-radius: 14px;
  }

  .sf-collection-owners-modal__head h3 {
    font-size: 22px;
  }

  .sf-collection-owner {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
  }

  .sf-collection-owner__avatar {
    width: 42px;
    height: 42px;
  }

  .sf-collection-owner__link {
    grid-column: 2;
    font-size: 9.5px;
  }
}

/* Collection cards: responsive structure correction after shared-owner addition. */
.sf-collection-card .sf-collection-match {
  width: 62px !important;
  max-width: 62px !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  text-align: center !important;
}

.sf-collection-card .sf-collection-match__copy {
  width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.sf-collection-card .sf-collection-match__label {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.sf-collection-card .sf-collection-card__controls {
  justify-content: center !important;
  gap: 18px !important;
}

.sf-collection-card .sf-collection-feedback {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

.sf-collection-card .sf-collection-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
}

.sf-collection-card .sf-collection-actions__label,
.sf-collection-card .senti-feedback__hint {
  grid-column: 1 / -1 !important;
}

.sf-collection-card .sf-collection-actions .senti-btn {
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  padding-inline: 10px !important;
}

.sf-collection-card .sf-rating-row,
.sf-collection-card .senti-feedback__row--metric.sf-rating-row,
.sf-collection-card .senti-feedback__row--longevity.sf-rating-row,
.sf-collection-card .senti-feedback__row--sillage.sf-rating-row {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

.sf-collection-card .sf-rating-row + .sf-rating-row {
  margin-top: 14px !important;
}

.sf-collection-card .sf-rating-row__label,
.sf-collection-card .senti-feedback__label.sf-rating-row__label {
  display: block !important;
  width: 100% !important;
  margin: 0 0 8px !important;
  text-align: left !important;
  white-space: nowrap !important;
}

.sf-collection-card .sf-rating-slider,
.sf-collection-card .senti-slider.sf-rating-slider,
.sf-collection-card .senti-feedback__row--metric .senti-slider.sf-rating-slider {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 42px !important;
  align-items: center !important;
  gap: 12px !important;
}

@media (max-width: 1180px) {
  .sf-collection-card .sf-collection-card__layout {
    grid-template-columns: 132px minmax(0, 1fr) minmax(260px, 320px) !important;
  }

  .sf-collection-card .sf-collection-card__head {
    grid-template-columns: minmax(0, 1fr) 62px !important;
  }
}

@media (max-width: 900px) {
  .sf-collection-card .sf-collection-card__layout {
    grid-template-columns: 112px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
  }

  .sf-collection-card .sf-collection-card__reason {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }

  .sf-collection-card .sf-collection-card__controls {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    display: flex !important;
    padding: 19px 0 0 !important;
    border-top: 1px solid rgba(17,17,17,.10) !important;
    border-left: 0 !important;
  }
}

@media (max-width: 640px) {
  .sf-collection-card .sf-collection-card__layout {
    grid-template-columns: 86px minmax(0, 1fr) !important;
  }

  .sf-collection-card .sf-collection-card__head {
    grid-template-columns: minmax(0, 1fr) 46px !important;
  }

  .sf-collection-card .sf-collection-match {
    width: 46px !important;
    max-width: 46px !important;
  }

  .sf-collection-card .sf-collection-match__copy {
    display: none !important;
  }

  .sf-collection-card .sf-collection-actions .senti-btn {
    min-height: 44px !important;
    height: 44px !important;
    font-size: 11px !important;
  }
}

/* Collection page header, filters and story notes. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sf-collection-hero {
  margin: 0 0 24px;
}

.sf-collection-hero__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.sf-collection-hero__title {
  margin: 0;
  color: #111;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(38px, 4.8vw, 58px);
  font-weight: 520;
  letter-spacing: -.045em;
  line-height: .95;
}

.sf-collection-hero__subtitle {
  margin: 10px 0 0;
  color: #625d56;
  font-size: 14px;
  line-height: 1.45;
}

.sf-collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.sf-collection-toolbar__add,
.sf-collection-view-toggle,
.sf-collection-filter .senti-input,
.sf-collection-filter .senti-select {
  min-height: 44px;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17,17,17,.035);
}

.sf-collection-toolbar__add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  color: #111;
  font: inherit;
  font-size: 12px;
  font-weight: 780;
  cursor: pointer;
}

.sf-collection-toolbar__add span {
  color: #b8945e;
}

.sf-collection-view-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, 44px);
  overflow: hidden;
}

.sf-collection-view-toggle button {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #6e675f;
  font-size: 16px;
  cursor: pointer;
}

.sf-collection-view-toggle button.is-on {
  background: #111;
  color: #fff;
}

.sf-collection-filter .senti-input,
.sf-collection-filter .senti-select {
  width: 250px;
  padding-inline: 16px;
  color: #111;
  font-size: 13px;
}

.sf-collection-filter--brand .senti-select {
  width: 170px;
}

.sf-collection-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 16px 38px rgba(17,17,17,.045);
}

.sf-collection-stat {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 96px;
  padding: 20px 24px;
  border-right: 1px solid rgba(17,17,17,.09);
}

.sf-collection-stat:last-child {
  border-right: 0;
}

.sf-collection-stat__icon,
.sf-collection-stat__ring {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f8f3ed;
  color: #b8945e;
  font-size: 25px;
}

.sf-collection-stat__icon--family {
  position: relative;
  overflow: hidden;
  background: #f8f3ed;
}

.sf-collection-stat__icon--family::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 35% 28%, rgba(255,255,255,.38), transparent 42%);
  pointer-events: none;
}

.sf-collection-stat__icon--family img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.sf-collection-stat__ring {
  --sf-score-deg: 0deg;
  position: relative;
  background: conic-gradient(#b8945e var(--sf-score-deg), #e8e3dc 0deg);
}

.sf-collection-stat__ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: #fff;
}

.sf-collection-stat span:not(.sf-collection-stat__icon):not(.sf-collection-stat__ring) {
  display: block;
  color: #81786f;
  font-size: 9px;
  font-weight: 830;
  letter-spacing: .14em;
  line-height: 1.15;
  text-transform: uppercase;
}

.sf-collection-stat strong {
  display: block;
  margin-top: 5px;
  color: #111;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: 28px;
  font-weight: 520;
  line-height: 1.05;
}

.sf-collection-stat small {
  display: block;
  margin-top: 6px;
  color: #827b73;
  font-size: 11px;
}

.sf-collection-search-panel[hidden] {
  display: none !important;
}

.sf-collection-note-preview {
  align-items: stretch;
}

.sf-collection-note-preview__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
}

.sf-collection-note-preview__item {
  min-width: 0;
  padding: 0 18px;
  border-right: 1px solid rgba(17,17,17,.10);
}

.sf-collection-note-preview__item:first-child {
  padding-left: 0;
}

.sf-collection-note-preview__item:last-child {
  border-right: 0;
}

.sf-collection-note-preview__item[hidden] {
  display: none !important;
}

.sf-collection-note-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.sf-collection-note-field {
  display: grid;
  gap: 8px;
}

.sf-collection-note-field span {
  color: #9a743f;
  font-size: 9px;
  font-weight: 830;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sf-collection-comment-modal .sf-collection-note-field .sf-collection-textarea {
  min-height: 118px !important;
}

.sf-collection-list.is-list-view .sf-collection-card .sf-collection-card__layout {
  grid-template-columns: 92px minmax(0, 1fr) minmax(300px, 390px) !important;
  padding-block: 20px !important;
}

.sf-collection-list.is-list-view .sf-collection-card .sf-collection-card__image {
  height: 104px !important;
}

.sf-collection-list.is-list-view .sf-collection-card .sf-collection-card__name {
  font-size: 25px !important;
}

.sf-collection-list.is-list-view .sf-collection-card .sf-collection-note-preview {
  display: none !important;
}

@media (max-width: 1180px) {
  .sf-collection-hero__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .sf-collection-toolbar {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .sf-collection-view-toggle {
    display: none;
  }

  .sf-collection-filter .senti-input,
  .sf-collection-filter .senti-select {
    width: min(100%, 340px);
  }

  .sf-collection-stats {
    grid-template-columns: 1fr;
  }

  .sf-collection-stat {
    border-right: 0;
    border-bottom: 1px solid rgba(17,17,17,.09);
  }

  .sf-collection-stat:last-child {
    border-bottom: 0;
  }

  .sf-collection-note-preview__grid,
  .sf-collection-note-fields {
    grid-template-columns: 1fr;
  }

  .sf-collection-note-preview__item {
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(17,17,17,.08);
  }

  .sf-collection-note-preview__item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .sf-collection-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sf-collection-toolbar__add,
  .sf-collection-filter .senti-input,
  .sf-collection-filter .senti-select {
    width: 100%;
  }

  .sf-collection-stat {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 84px;
    padding: 17px;
  }

  .sf-collection-stat__icon,
  .sf-collection-stat__ring {
    width: 46px;
    height: 46px;
  }
}

/* Collection card controls: airier slider rows + explicit 4-part note editor. */
.sf-collection-card .sf-collection-card__controls {
  gap: 16px !important;
}

.sf-collection-card .sf-collection-feedback {
  position: relative !important;
  padding-bottom: 6px !important;
}

.sf-collection-card .senti-feedback__hint {
  position: absolute !important;
  right: 0 !important;
  bottom: -2px !important;
  margin: 0 !important;
  color: #8b765c !important;
  font-size: 10px !important;
  font-weight: 720 !important;
  letter-spacing: .04em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.sf-collection-card .sf-collection-metrics {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  width: 100% !important;
  padding: 4px 0 2px !important;
}

.sf-collection-card .sf-rating-row,
.sf-collection-card .senti-feedback__row--metric.sf-rating-row,
.sf-collection-card .senti-feedback__row--longevity.sf-rating-row,
.sf-collection-card .senti-feedback__row--sillage.sf-rating-row {
  display: grid !important;
  grid-template-columns: 72px minmax(130px, 1fr) 42px !important;
  gap: 14px !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
}

.sf-collection-card .sf-rating-row + .sf-rating-row {
  margin-top: 0 !important;
}

.sf-collection-card .sf-rating-row__label,
.sf-collection-card .senti-feedback__label.sf-rating-row__label {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  color: #777068 !important;
  font-size: 11px !important;
  font-weight: 780 !important;
  letter-spacing: .02em !important;
  line-height: 1 !important;
  text-align: left !important;
  white-space: nowrap !important;
}

.sf-collection-card .sf-rating-slider,
.sf-collection-card .senti-slider.sf-rating-slider,
.sf-collection-card .senti-feedback__row--metric .senti-slider.sf-rating-slider {
  display: contents !important;
}

.sf-collection-card input[type="range"].sf-rating-slider__range {
  grid-column: 2 !important;
  height: 24px !important;
}

.sf-collection-card .sf-rating-slider__value,
.sf-collection-card .senti-slider__val.sf-rating-slider__value {
  grid-column: 3 !important;
  justify-content: flex-end !important;
  width: 42px !important;
  min-width: 42px !important;
  font-size: 11px !important;
}

.sf-collection-card .sf-collection-card__links {
  margin-top: 2px !important;
}

.sf-collection-comment-modal__panel {
  width: min(760px, calc(100vw - 24px)) !important;
}

.sf-collection-comment-modal .sf-collection-note-fields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.sf-collection-comment-modal .sf-collection-note-field {
  display: grid !important;
  gap: 8px !important;
  min-width: 0 !important;
  padding: 14px !important;
  border: 1px solid rgba(17,17,17,.10) !important;
  border-radius: 12px !important;
  background: #fbfaf8 !important;
}

.sf-collection-comment-modal .sf-collection-note-field span {
  color: #9a743f !important;
  font-size: 9px !important;
  font-weight: 850 !important;
  letter-spacing: .14em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

.sf-collection-comment-modal .sf-collection-note-field .sf-collection-textarea,
.sf-collection-comment-modal textarea.sf-collection-textarea.js-comment-input {
  width: 100% !important;
  min-height: 122px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #28241f !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

@media (max-width: 1180px) {
  .sf-collection-card .sf-rating-row,
  .sf-collection-card .senti-feedback__row--metric.sf-rating-row,
  .sf-collection-card .senti-feedback__row--longevity.sf-rating-row,
  .sf-collection-card .senti-feedback__row--sillage.sf-rating-row {
    grid-template-columns: 68px minmax(100px, 1fr) 42px !important;
  }
}

@media (max-width: 640px) {
  .sf-collection-card .sf-collection-card__controls {
    gap: 22px !important;
  }

  .sf-collection-card .sf-rating-row,
  .sf-collection-card .senti-feedback__row--metric.sf-rating-row,
  .sf-collection-card .senti-feedback__row--longevity.sf-rating-row,
  .sf-collection-card .senti-feedback__row--sillage.sf-rating-row {
    grid-template-columns: 76px minmax(0, 1fr) 42px !important;
  }

  .sf-collection-comment-modal .sf-collection-note-fields {
    grid-template-columns: 1fr !important;
  }
}

/* Collection card hard reset: no legacy slider/modal classes in the active UI. */
.sf-collection-card .sf-collection-card__layout {
  grid-template-columns: minmax(150px, 190px) minmax(380px, 1fr) minmax(360px, 420px) !important;
}

.sf-collection-card .sf-collection-card__head {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
}

.sf-collection-card .sf-collection-match {
  position: absolute !important;
  top: 15px !important;
  left: 15px !important;
  z-index: 11 !important;
  width: 58px !important;
  max-width: 58px !important;
  justify-self: auto !important;
}

.sf-collection-card .sf-collection-card__body {
  align-self: center !important;
  justify-self: stretch !important;
  gap: 16px !important;
}

.sf-collection-card .sf-collection-card__reason {
  max-width: 100% !important;
  margin-top: 0 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.sf-collection-card .sf-collection-metrics {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  width: 100% !important;
  padding: 0 !important;
}

.sf-collection-card .sf-metric-row {
  display: grid !important;
  grid-template-columns: 74px minmax(130px, 1fr) 44px !important;
  gap: 16px !important;
  align-items: center !important;
  width: 100% !important;
}

.sf-collection-card .sf-metric-label {
  display: block !important;
  color: #746d64 !important;
  font-size: 11px !important;
  font-weight: 780 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.sf-collection-card input[type="range"].sf-metric-range {
  --pct: 0%;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  background: transparent !important;
  outline: 0 !important;
}

.sf-collection-card input[type="range"].sf-metric-range::-webkit-slider-runnable-track {
  height: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(to right, #b8945e 0 var(--pct), #dedbd6 var(--pct) 100%) !important;
}

.sf-collection-card input[type="range"].sf-metric-range::-webkit-slider-thumb {
  width: 14px !important;
  height: 14px !important;
  margin-top: -5.5px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #b8945e !important;
  box-shadow: 0 0 0 4px #fff !important;
}

.sf-collection-card input[type="range"].sf-metric-range::-moz-range-track {
  height: 3px !important;
  border-radius: 999px !important;
  background: #dedbd6 !important;
}

.sf-collection-card input[type="range"].sf-metric-range::-moz-range-progress {
  height: 3px !important;
  border-radius: 999px !important;
  background: #b8945e !important;
}

.sf-collection-card input[type="range"].sf-metric-range::-moz-range-thumb {
  width: 14px !important;
  height: 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #b8945e !important;
  box-shadow: 0 0 0 4px #fff !important;
}

.sf-collection-card .sf-metric-value {
  display: inline-flex !important;
  justify-content: flex-end !important;
  color: #201d19 !important;
  font-size: 11px !important;
  font-weight: 780 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.sf-collection-card .sf-metric-value::after {
  content: "/10";
  margin-left: 1px;
  color: #857f77;
  font-weight: 620;
}

.sf-note-link-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px 12px !important;
  width: 100% !important;
}

.sf-note-link-grid .sf-collection-note-trigger {
  align-self: auto !important;
  justify-self: start !important;
}

.sf-note-modal[hidden] {
  display: none !important;
}

.sf-note-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.sf-note-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(20,18,16,.48);
  backdrop-filter: blur(4px);
}

.sf-note-modal__panel {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100vw - 24px));
  padding: 26px;
  border: 1px solid rgba(17,17,17,.11);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(17,17,17,.2);
}

.sf-note-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.sf-note-modal__head span {
  display: block;
  margin-bottom: 6px;
  color: #9a743f;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sf-note-modal__head h3 {
  margin: 0;
  color: #111;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: 25px;
  font-weight: 520;
  line-height: 1.15;
}

.sf-note-modal__close {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 0;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.sf-note-modal__textarea {
  display: block;
  width: 100%;
  min-height: 190px;
  padding: 15px 16px;
  border: 1px solid rgba(17,17,17,.16);
  border-radius: 10px;
  background: #fbfaf8;
  color: #28241f;
  font: inherit;
  font-size: 14px;
  line-height: 1.55;
  resize: vertical;
}

.sf-note-modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 14px;
}

.sf-note-modal__footer .js-note-field-status {
  margin-right: auto;
}

.sf-note-modal__save {
  min-height: 42px !important;
  padding: 0 18px !important;
  border-color: #111 !important;
  border-radius: 6px !important;
  background: #111 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.sf-note-inline-edit {
  display: inline-flex;
  margin-top: 8px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(17,17,17,.25);
  background: transparent;
  color: #5f5952;
  font: inherit;
  font-size: 10px;
  font-weight: 720;
  cursor: pointer;
}

@media (max-width: 1400px) {
  .sf-collection-card .sf-collection-card__layout {
    grid-template-columns: 132px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
  }

  .sf-collection-card .sf-collection-card__media {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
  }

  .sf-collection-card .sf-collection-card__body {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .sf-collection-card .sf-collection-card__reason {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  .sf-collection-card .sf-collection-card__controls {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    padding: 22px 0 0 !important;
    border-top: 1px solid rgba(17,17,17,.10) !important;
    border-left: 0 !important;
  }

  .sf-collection-card .sf-collection-metrics {
    max-width: 520px !important;
  }
}

@media (max-width: 640px) {
  .sf-collection-card .sf-collection-card__layout {
    grid-template-columns: 86px minmax(0, 1fr) !important;
  }

  .sf-collection-card .sf-metric-row {
    grid-template-columns: 72px minmax(0, 1fr) 42px !important;
    gap: 10px !important;
  }

  .sf-note-link-grid {
    grid-template-columns: 1fr !important;
  }

  .sf-note-modal {
    align-items: end;
    padding: 10px;
  }

  .sf-note-modal__panel {
    width: 100%;
    padding: 21px 17px 17px;
  }
}

/* Collection view modes: grid = vertical cards, list = landscape rows. */
.sf-collection-list.is-card-view {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)) !important;
  gap: 18px !important;
  align-items: start !important;
}

.sf-collection-list.is-card-view .sf-collection-card {
  height: auto !important;
}

.sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__layout {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  align-items: start !important;
  min-height: 0 !important;
  padding: 30px 26px 24px !important;
}

.sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__media,
.sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__body,
.sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__controls {
  grid-column: 1 !important;
  grid-row: auto !important;
}

.sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__media {
  display: flex !important;
  justify-content: center !important;
  margin: 0 !important;
}

.sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__image {
  width: min(100%, 220px) !important;
  height: 190px !important;
}

.sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__body {
  align-self: start !important;
  gap: 12px !important;
  text-align: left !important;
}

.sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__name {
  font-size: clamp(27px, 3vw, 36px) !important;
}

.sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__reason {
  font-size: 13px !important;
  line-height: 1.62 !important;
}

.sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__controls {
  align-self: end !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid rgba(17,17,17,.10) !important;
  border-left: 0 !important;
}

.sf-collection-list.is-card-view .sf-collection-card .sf-collection-actions .senti-btn {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

.sf-collection-list.is-card-view .sf-collection-card .sf-metric-row {
  grid-template-columns: 68px minmax(0, 1fr) 42px !important;
  gap: 12px !important;
}

.sf-collection-list.is-card-view .sf-note-link-grid {
  grid-template-columns: 1fr 1fr !important;
}

.sf-collection-list.is-card-view .sf-collection-note-preview__grid {
  grid-template-columns: 1fr !important;
}

.sf-collection-list.is-card-view .sf-collection-note-preview__item {
  padding: 12px 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid rgba(17,17,17,.08) !important;
}

.sf-collection-list.is-card-view .sf-collection-note-preview__item:last-child {
  border-bottom: 0 !important;
}

.sf-collection-list.is-list-view {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
}

.sf-collection-list.is-list-view .sf-collection-card .sf-collection-card__layout {
  grid-template-columns: minmax(150px, 190px) minmax(380px, 1fr) minmax(360px, 420px) !important;
  gap: 30px !important;
  align-items: center !important;
  padding: 32px 44px 32px 32px !important;
}

.sf-collection-list.is-list-view .sf-collection-card .sf-collection-card__media,
.sf-collection-list.is-list-view .sf-collection-card .sf-collection-card__body,
.sf-collection-list.is-list-view .sf-collection-card .sf-collection-card__controls {
  grid-row: auto !important;
}

.sf-collection-list.is-list-view .sf-collection-card .sf-collection-card__media {
  grid-column: 1 !important;
}

.sf-collection-list.is-list-view .sf-collection-card .sf-collection-card__body {
  grid-column: 2 !important;
}

.sf-collection-list.is-list-view .sf-collection-card .sf-collection-card__controls {
  grid-column: 3 !important;
  padding: 0 0 0 32px !important;
  border-top: 0 !important;
  border-left: 1px solid rgba(17,17,17,.10) !important;
}

.sf-collection-list.is-list-view .sf-collection-card .sf-collection-card__image {
  width: 100% !important;
  height: 170px !important;
}

@media (max-width: 900px) {
  .sf-collection-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

/* Collection card geometry polish: keep score badge inside both view modes. */
.sf-collection-list .sf-collection-card .sf-collection-match {
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 14 !important;
  width: 54px !important;
  max-width: 54px !important;
  min-width: 54px !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

.sf-collection-list .sf-collection-card .sf-score-ring--collection-match {
  width: 54px !important;
  height: 54px !important;
  flex: 0 0 54px !important;
}

.sf-collection-list .sf-collection-card .sf-score-ring--collection-match span {
  font-size: 18px !important;
}

.sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__media {
  padding-top: 12px !important;
}

.sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__head,
.sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__brand,
.sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__name,
.sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__reason {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__links {
  margin-top: 0 !important;
}

.sf-collection-list.is-list-view .sf-collection-card .sf-collection-match {
  top: 20px !important;
  left: 20px !important;
}

.sf-collection-list.is-list-view .sf-collection-card .sf-collection-card__layout {
  padding-left: 54px !important;
}

/* In grid mode, perfumes with story notes become a two-column tile. */
@media (min-width: 901px) {
  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes {
    display: grid !important;
    grid-column: span 2 !important;
    grid-template-columns: minmax(310px, 1fr) minmax(310px, 1fr) !important;
    gap: 0 !important;
    align-items: stretch !important;
    overflow: hidden !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes .sf-collection-card__layout {
    grid-column: 1 !important;
    grid-row: 1 !important;
    border-right: 1px solid rgba(17,17,17,.10) !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes .sf-collection-note-preview {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    align-self: stretch !important;
    min-height: 100% !important;
    max-height: 680px !important;
    margin: 0 !important;
    padding: 30px 30px 26px !important;
    border-top: 0 !important;
    background: #f4f1ec !important;
    overflow: hidden !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes .sf-collection-note-preview[hidden] {
    display: none !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes .sf-collection-note-preview__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    max-height: 100% !important;
    padding-right: 8px !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(154,116,63,.45) transparent;
  }

  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes .sf-collection-note-preview__grid::-webkit-scrollbar {
    width: 6px;
  }

  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes .sf-collection-note-preview__grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(154,116,63,.42);
  }

  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes .sf-collection-note-preview__item {
    padding: 0 0 18px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(17,17,17,.09) !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes .sf-collection-note-preview__item + .sf-collection-note-preview__item {
    padding-top: 18px !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes .sf-collection-note-preview__item:last-child {
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes .sf-collection-note-preview p {
    max-width: 100% !important;
    margin: 8px 0 0 !important;
    color: #2f2a24 !important;
    font-size: 13px !important;
    line-height: 1.58 !important;
  }
}

@media (max-width: 1180px) {
  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes {
    grid-column: span 1 !important;
    grid-template-columns: 1fr !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes .sf-collection-card__layout {
    border-right: 0 !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes .sf-collection-note-preview {
    grid-column: 1 !important;
    grid-row: auto !important;
    max-height: none !important;
    border-top: 1px solid rgba(17,17,17,.10) !important;
  }
}

/* Collection mobile/action polish: make note actions finger-friendly. */
.sf-collection-list .sf-collection-note-trigger {
  min-height: 34px !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(154,116,63,.24) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.72) !important;
  color: #8a622f !important;
  font-size: 11px !important;
  font-weight: 820 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
}

.sf-collection-list .sf-collection-note-trigger:hover,
.sf-collection-list .sf-collection-note-trigger:focus-visible {
  border-color: rgba(154,116,63,.46) !important;
  background: #fff !important;
  color: #6f4e24 !important;
}

.sf-collection-list .sf-collection-note-trigger > span:first-child {
  display: inline-grid !important;
  place-items: center !important;
  width: 18px !important;
  height: 18px !important;
  margin-right: 2px !important;
  border-radius: 999px !important;
  background: rgba(154,116,63,.10) !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.sf-collection-note-preview .sf-note-inline-edit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  margin-top: 10px !important;
  padding: 0 13px !important;
  border: 1px solid rgba(17,17,17,.13) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.68) !important;
  color: #3d3933 !important;
  font-size: 10px !important;
  font-weight: 820 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.sf-collection-note-preview .sf-note-inline-edit:hover,
.sf-collection-note-preview .sf-note-inline-edit:focus-visible {
  border-color: rgba(17,17,17,.28) !important;
  background: #fff !important;
  color: #111 !important;
}

@media (max-width: 640px) {
  .sf-collection-list .sf-note-link-grid {
    gap: 9px !important;
  }

  .sf-collection-list .sf-collection-note-trigger {
    justify-content: flex-start !important;
    min-height: 42px !important;
    width: 100% !important;
    padding: 10px 12px !important;
    font-size: 12px !important;
  }

  .sf-collection-note-preview .sf-note-inline-edit {
    min-height: 38px !important;
    padding: 0 16px !important;
    font-size: 11px !important;
  }
}

/* Collection metric sliders: final geometry normalization. */
.sf-collection-list .sf-collection-card .sf-collection-metrics {
  gap: 14px !important;
}

.sf-collection-list .sf-collection-card .sf-metric-row {
  grid-template-columns: 70px minmax(154px, 178px) 44px !important;
  gap: 12px !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.sf-collection-list .sf-collection-card input[type="range"].sf-metric-range {
  width: 100% !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
}

.sf-collection-list .sf-collection-card input[type="range"].sf-metric-range::-webkit-slider-runnable-track {
  height: 3px !important;
}

.sf-collection-list .sf-collection-card input[type="range"].sf-metric-range::-webkit-slider-thumb {
  width: 14px !important;
  height: 14px !important;
  margin-top: -5.5px !important;
}

.sf-collection-list .sf-collection-card input[type="range"].sf-metric-range::-moz-range-track,
.sf-collection-list .sf-collection-card input[type="range"].sf-metric-range::-moz-range-progress {
  height: 3px !important;
}

.sf-collection-list .sf-collection-card input[type="range"].sf-metric-range::-moz-range-thumb {
  width: 14px !important;
  height: 14px !important;
}

.sf-collection-list .sf-collection-card .sf-metric-value {
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
}

@media (max-width: 640px) {
  .sf-collection-list .sf-collection-card .sf-metric-row {
    grid-template-columns: 70px minmax(0, 1fr) 44px !important;
  }
}

/* Collection cards: quieter typography and redesigned personal controls. */
.sf-collection-list .sf-collection-card .sf-collection-card__name {
  font-size: clamp(21px, 1.65vw, 27px) !important;
  line-height: 1.1 !important;
}

.sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__name {
  font-size: clamp(22px, 2vw, 29px) !important;
}

.sf-collection-list .sf-collection-card .sf-collection-card__controls {
  gap: 22px !important;
}

.sf-collection-list .sf-collection-card .sf-collection-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.sf-collection-list .sf-collection-card .sf-collection-actions .sf-feedback-choice {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 14px !important;
  border-radius: 13px !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 680 !important;
}

.sf-collection-list .sf-collection-card .sf-feedback-choice--yes {
  border-color: rgba(69, 132, 68, .25) !important;
  background: rgba(234, 245, 232, .48) !important;
  color: #39783b !important;
}

.sf-collection-list .sf-collection-card .sf-feedback-choice--no {
  border-color: rgba(177, 59, 55, .23) !important;
  background: rgba(251, 235, 234, .42) !important;
  color: #a12e2b !important;
}

.sf-collection-list .sf-collection-card .sf-feedback-choice--yes.is-on {
  border-color: rgba(55, 123, 55, .5) !important;
  background: #edf6eb !important;
  color: #276b2c !important;
}

.sf-collection-list .sf-collection-card .sf-feedback-choice--no.is-on {
  border-color: rgba(164, 47, 43, .46) !important;
  background: #fae9e8 !important;
  color: #942521 !important;
}

.sf-collection-list .sf-collection-card .sf-feedback-choice > span {
  margin: 0 !important;
  font-size: 18px !important;
  font-weight: 400 !important;
}

.sf-collection-list .sf-note-link-grid {
  gap: 8px 12px !important;
}

.sf-collection-list.is-card-view .sf-note-link-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
}

.sf-collection-list .sf-collection-note-trigger {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 56px !important;
  padding: 7px 13px 7px 9px !important;
  border: 1px solid rgba(17, 17, 17, .11) !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, .68) !important;
  color: #292622 !important;
  box-shadow: 0 5px 15px rgba(28, 22, 16, .018) !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  text-align: left !important;
}

.sf-collection-list .sf-collection-note-trigger:hover,
.sf-collection-list .sf-collection-note-trigger:focus-visible {
  border-color: rgba(154, 116, 63, .38) !important;
  background: #fff !important;
  color: #111 !important;
}

.sf-collection-list .sf-collection-note-trigger .sf-collection-note-trigger__icon {
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: #f5f2ed !important;
  color: #49443e !important;
}

.sf-collection-note-trigger__icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sf-collection-note-trigger__label {
  min-width: 0;
}

.sf-collection-list .sf-collection-note-trigger .sf-collection-note-trigger__plus {
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #b4813d !important;
  font-size: 22px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
}

.sf-collection-list .sf-collection-owners-trigger {
  color: #403b35 !important;
}

.sf-collection-list .sf-collection-owners-trigger svg {
  color: #b4813d !important;
  stroke: currentColor !important;
}

@media (max-width: 640px) {
  .sf-collection-list .sf-collection-card .sf-collection-actions {
    gap: 8px !important;
  }

  .sf-collection-list .sf-collection-card .sf-collection-actions .sf-feedback-choice {
    min-height: 46px !important;
    height: 46px !important;
    padding: 0 9px !important;
    font-size: 11px !important;
  }

  .sf-collection-list .sf-collection-note-trigger {
    min-height: 52px !important;
  }
}

/* Collection landscape density: two compact cards, or one full-width story card. */
@media (min-width: 1200px) {
  .sf-collection-list.is-card-view {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card {
    grid-column: span 1 !important;
    min-width: 0 !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__layout {
    display: grid !important;
    grid-template-columns: minmax(0, .9fr) minmax(270px, 1.1fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: 24px !important;
    row-gap: 14px !important;
    align-items: stretch !important;
    height: 100% !important;
    padding: 24px !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__media {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: end !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__image {
    width: 100% !important;
    height: 170px !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__body {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-self: start !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__reason {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__controls {
    grid-column: 2 !important;
    grid-row: 1 / 3 !important;
    align-self: stretch !important;
    justify-content: center !important;
    padding: 0 0 0 24px !important;
    border-top: 0 !important;
    border-left: 1px solid rgba(17, 17, 17, .10) !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes {
    display: grid !important;
    grid-column: 1 / -1 !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 0 !important;
    align-items: stretch !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes .sf-collection-card__layout {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    border-right: 1px solid rgba(17, 17, 17, .10) !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes .sf-collection-note-preview {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    align-self: stretch !important;
    min-width: 0 !important;
    min-height: 100% !important;
    max-height: 680px !important;
    margin: 0 !important;
    padding: 30px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f4f1ec !important;
    overflow: hidden !important;
  }
}

@media (max-width: 1199px) {
  .sf-collection-list.is-card-view {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .sf-collection-list.is-card-view .sf-collection-card,
  .sf-collection-list.is-card-view .sf-collection-card.has-story-notes {
    grid-column: 1 !important;
  }
}

/* Collection header alignment with catalog. */
.sf-collection-hero__intro.senti-header {
  min-height: 76px;
}

.sf-collection-hero__intro .sf-collection-hero__title {
  font-size: var(--senti-fw-h1);
  line-height: 1.08;
}

.sf-scent-map__head h1 {
  margin: 7px 0 8px;
  color: #111;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 520;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.sf-collection-hero__intro .sf-collection-hero__subtitle {
  margin-bottom: 0;
}

.sf-collection-hero__intro .pg_ico {
  background: #fff;
}

@media (max-width: 760px) {
  .sf-collection-hero__intro.senti-header {
    min-height: 0;
  }

  .sf-collection-hero__intro .senti-kicker,
  .sf-collection-hero__intro .senti-title,
  .sf-collection-hero__intro .senti-subtitle {
    margin-left: 0;
  }

  .sf-collection-hero__intro .pg_ico {
    position: static;
    display: inline-grid;
    width: 48px;
    height: 48px;
    margin: 0 10px 0 0;
    vertical-align: middle;
  }
}

/* Profile portrait preview shared by Community and Couple Match. */
.sf-community-directory .sf-card-full-aura + .sf-card-mini-avatar {
  width: 58px !important;
  height: 58px !important;
  margin: -30px auto 15px !important;
  cursor: zoom-in;
  overflow: hidden !important;
}

.sf-community-directory .sf-card-mini-avatar:focus-visible {
  outline: 2px solid #111;
  outline-offset: 4px;
}

.sf-profile-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 52px);
}

.sf-profile-lightbox[hidden] {
  display: none;
}

.sf-profile-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10,10,10,.78);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.sf-profile-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  max-width: min(900px, 92vw);
  max-height: 88vh;
}

.sf-profile-lightbox__dialog img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 84vh;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 3px;
  background: #f7f4ef;
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
  object-fit: contain;
}

.sf-profile-lightbox__close {
  position: absolute;
  top: -17px;
  right: -17px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(17,17,17,.14);
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

html.sf-lightbox-open,
html.sf-lightbox-open body {
  overflow: hidden;
}

/* Dashboard weather-to-scent module. */
.sf-weather-scent {
  --sf-weather-wash-a: 205, 224, 237;
  --sf-weather-wash-b: 233, 218, 197;
  --sf-weather-icon-a: 227, 205, 168;
  --sf-weather-icon-b: 192, 218, 235;
  --sf-weather-ink: 17, 17, 17;
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(300px, 1fr) minmax(360px, 1.18fr);
  gap: 0;
  border: 1px solid var(--sf-line);
  border-radius: var(--senti-fw-radius-xs);
  background:
    radial-gradient(circle at 15% 24%, rgba(var(--sf-weather-wash-a), .34), transparent 34%),
    radial-gradient(circle at 55% 72%, rgba(var(--sf-weather-wash-b), .25), transparent 38%),
    rgba(255,255,255,.88);
  box-shadow: var(--sf-shadow-xs);
  overflow: hidden;
}

.sf-weather-scent--hot {
  --sf-weather-wash-a: 246, 193, 112;
  --sf-weather-wash-b: 244, 130, 92;
  --sf-weather-icon-a: 242, 166, 72;
  --sf-weather-icon-b: 246, 213, 139;
}

.sf-weather-scent--warm {
  --sf-weather-wash-a: 244, 216, 157;
  --sf-weather-wash-b: 231, 185, 138;
  --sf-weather-icon-a: 237, 190, 94;
  --sf-weather-icon-b: 236, 210, 164;
}

.sf-weather-scent--rain {
  --sf-weather-wash-a: 151, 194, 198;
  --sf-weather-wash-b: 151, 177, 205;
  --sf-weather-icon-a: 132, 175, 184;
  --sf-weather-icon-b: 167, 194, 216;
}

.sf-weather-scent--storm {
  --sf-weather-wash-a: 134, 139, 169;
  --sf-weather-wash-b: 176, 149, 190;
  --sf-weather-icon-a: 111, 118, 154;
  --sf-weather-icon-b: 179, 151, 191;
}

.sf-weather-scent--snow,
.sf-weather-scent--cold {
  --sf-weather-wash-a: 192, 219, 235;
  --sf-weather-wash-b: 219, 226, 237;
  --sf-weather-icon-a: 196, 218, 234;
  --sf-weather-icon-b: 229, 231, 239;
}

.sf-weather-scent--fog {
  --sf-weather-wash-a: 198, 205, 199;
  --sf-weather-wash-b: 217, 210, 199;
  --sf-weather-icon-a: 190, 199, 196;
  --sf-weather-icon-b: 220, 216, 206;
}

.sf-weather-scent--mild {
  --sf-weather-wash-a: 205, 222, 198;
  --sf-weather-wash-b: 235, 216, 179;
  --sf-weather-icon-a: 213, 206, 153;
  --sf-weather-icon-b: 190, 220, 204;
}

.sf-weather-scent > div {
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
}

.sf-weather-scent > div + div {
  border-left: 1px solid var(--sf-line);
}

.sf-weather-scent__weather {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sf-weather-scent__weather strong {
  display: block;
  margin-top: 8px;
  font-family: var(--sf-font-serif);
  font-size: clamp(50px, 5vw, 74px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .9;
}

.sf-weather-scent__weather p {
  margin: 10px 0 0;
  color: var(--sf-graphite);
  font-size: 13px;
}

.sf-weather-scent__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-top: 14px;
  color: var(--sf-muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.sf-weather-scent__icon {
  position: relative;
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 43% 39%, rgba(255,255,255,.98), transparent 17%),
    radial-gradient(circle at 48% 46%, rgba(var(--sf-weather-icon-a), .82), transparent 36%),
    radial-gradient(circle at 55% 57%, rgba(var(--sf-weather-icon-b), .68), transparent 64%);
  box-shadow: 0 0 34px rgba(var(--sf-weather-wash-a), .32);
}

.sf-weather-scent__icon svg {
  position: absolute;
  inset: 13px;
  display: block;
  width: 48px;
  height: 48px;
  fill: none;
  stroke: rgba(var(--sf-weather-ink), .72);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sf-weather-scent__icon span {
  position: absolute;
  top: 24px;
  left: 25px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(17,17,17,.56);
  border-radius: 50%;
}

.sf-weather-scent__icon--cloud span,
.sf-weather-scent__icon--fog span,
.sf-weather-scent__icon--rain span,
.sf-weather-scent__icon--storm span,
.sf-weather-scent__icon--snow span {
  top: 32px;
  left: 20px;
  width: 36px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
}

.sf-weather-scent__icon--rain span::after,
.sf-weather-scent__icon--storm span::after,
.sf-weather-scent__icon--snow span::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 7px;
  width: 22px;
  height: 8px;
  background: repeating-linear-gradient(115deg, rgba(17,17,17,.48) 0 1px, transparent 1px 8px);
}

.sf-weather-scent__guidance {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sf-weather-scent__guidance h2,
.sf-weather-scent__placeholder h2 {
  margin: 10px 0 13px;
  font-family: var(--sf-font-serif);
  font-size: clamp(31px, 3vw, 46px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}

.sf-weather-scent__guidance > p,
.sf-weather-scent__placeholder p {
  margin: 0;
  color: var(--sf-graphite);
  font-size: 14px;
  line-height: 1.58;
}

.sf-weather-scent__families {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.sf-weather-scent__families span {
  padding: 7px 12px;
  border: 1px solid rgba(17,17,17,.11);
  border-radius: 999px;
  background: rgba(250,247,242,.82);
  color: #3f3a35;
  font-size: 11px;
}

.sf-weather-scent__picks {
  display: grid;
  align-content: center;
  gap: 8px;
}

.sf-weather-scent__picks-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 5px;
}

.sf-weather-scent__picks-head h3 {
  margin: 6px 0 0;
  font-family: var(--sf-font-serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
}

.sf-weather-scent__picks-head > a {
  color: #111;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.sf-weather-pick {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 8px 4px;
  border-top: 1px solid rgba(17,17,17,.08);
  color: inherit;
  text-decoration: none;
}

.sf-weather-pick__media {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: rgba(255,255,255,.72);
}

.sf-weather-pick__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sf-weather-pick__copy {
  display: grid;
  gap: 2px;
}

.sf-weather-pick__copy small {
  color: var(--sf-muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.sf-weather-pick__copy strong {
  font-family: var(--sf-font-serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.05;
}

.sf-weather-pick__today-score {
  display: grid;
  justify-items: center;
  gap: 1px;
  min-width: 48px;
  padding: 5px 7px;
  border: 1px solid color-mix(in srgb, var(--sf-weather-accent, #b98d52) 38%, transparent);
  border-radius: 3px;
  background: color-mix(in srgb, var(--sf-weather-accent-soft, #f7ead8) 44%, #fff);
  color: var(--sf-ink);
  line-height: 1;
}

.sf-weather-pick__today-score small {
  color: var(--sf-muted);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sf-weather-pick__today-score strong {
  font-family: var(--sf-font-serif);
  font-size: 12px;
  font-weight: 500;
}

.sf-weather-scent__source {
  position: absolute;
  left: 14px;
  bottom: 8px;
  color: rgba(17,17,17,.43);
  font-size: 8px;
  text-decoration: none;
}

.sf-weather-scent__placeholder {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 28px;
}

.sf-weather-scent__placeholder > div:nth-child(2) {
  flex: 1 1 auto;
}

.sf-weather-scent__placeholder .sf-btn {
  flex: 0 0 auto;
}

.sf-weather-scent__empty {
  margin: 10px 0 0;
  color: var(--sf-muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .sf-weather-scent {
    grid-template-columns: minmax(220px, .75fr) minmax(300px, 1.25fr);
  }

  .sf-weather-scent__picks {
    grid-column: 1 / -1;
    border-top: 1px solid var(--sf-line);
    border-left: 0 !important;
  }
}

@media (max-width: 720px) {
  .sf-weather-scent {
    grid-template-columns: 1fr;
  }

  .sf-weather-scent > div + div {
    border-top: 1px solid var(--sf-line);
    border-left: 0;
  }

  .sf-weather-scent__picks {
    grid-column: auto;
  }

  .sf-weather-scent__placeholder {
    display: grid;
    gap: 18px;
  }

  .sf-weather-scent__placeholder .sf-btn {
    justify-self: start;
  }
}

/* Community avatars: a stable circular crop with the team badge above the photo. */
.sf-card-mini-avatar.sf-member-avatar,
.sf-community-profile__hero-avatar.sf-member-avatar {
  position: relative;
  isolation: isolate;
  overflow: visible !important;
  border-radius: 50%;
}

.sf-card-mini-avatar.sf-member-avatar > img,
.sf-community-profile__hero-avatar.sf-member-avatar > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border-radius: 50% !important;
  clip-path: circle(50% at 50% 50%);
  object-fit: cover !important;
  object-position: center;
}

.sf-card-mini-avatar.sf-member-avatar[data-profile-lightbox],
.sf-community-profile__hero-avatar.sf-member-avatar[data-profile-lightbox] {
  cursor: zoom-in;
}

.sf-card-mini-avatar.sf-member-avatar .sf-niche-member-badge,
.sf-community-profile__hero-avatar.sf-member-avatar .sf-niche-member-badge {
  position: absolute !important;
  left: 50% !important;
  bottom: -7px !important;
  z-index: 20 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 0 !important;
  min-height: 15px;
  padding: 2px 7px !important;
  transform: translateX(-50%) !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #0b0b0b !important;
  color: #fff !important;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif) !important;
  font-size: 6px !important;
  font-weight: 800 !important;
  letter-spacing: .13em !important;
  line-height: 1 !important;
  white-space: nowrap;
  pointer-events: none;
}

/* Community directory: larger portrait and an unclipped NICHE team badge. */
.sf-community-directory .sf-card-full-aura + .sf-card-mini-avatar.sf-member-avatar {
  width: 75px !important;
  height: 75px !important;
  margin: -38px auto 20px !important;
  overflow: visible !important;
  z-index: 8 !important;
}

.sf-community-directory .sf-card-mini-avatar.sf-member-avatar > img,
.sf-community-directory .sf-card-mini-avatar.sf-member-avatar > .sf-person-fallback {
  width: 75px !important;
  height: 75px !important;
}

.sf-community-directory .sf-card-mini-avatar.sf-member-avatar .sf-niche-member-badge {
  bottom: -9px !important;
  z-index: 30 !important;
  min-height: 17px;
  padding: 3px 8px !important;
  font-size: 7px !important;
  box-shadow: 0 2px 0 #fff, 0 5px 12px rgba(0,0,0,.16);
}

/* Closest scent-mates: portrait-forward cards and the shared heat score. */
.sf-community-profile .sf-card-full-aura--profile + .sf-card-mini-avatar.sf-member-avatar {
  width: 96px !important;
  height: 96px !important;
  margin: -48px auto 27px !important;
  overflow: visible !important;
  z-index: 10 !important;
}

.sf-community-profile .sf-card-full-aura--profile + .sf-card-mini-avatar.sf-member-avatar > img,
.sf-community-profile .sf-card-full-aura--profile + .sf-card-mini-avatar.sf-member-avatar > .sf-person-fallback {
  width: 96px !important;
  height: 96px !important;
  border: 3px solid #fff;
  box-shadow: 0 7px 22px rgba(31,25,20,.14);
}

.sf-community-profile .sf-card-full-aura--profile + .sf-card-mini-avatar.sf-member-avatar.is-niche-team > img,
.sf-community-profile .sf-card-full-aura--profile + .sf-card-mini-avatar.sf-member-avatar.is-niche-team > .sf-person-fallback {
  border-color: #111;
}

.sf-community-profile .sf-card-full-aura--profile + .sf-card-mini-avatar.sf-member-avatar .sf-niche-member-badge {
  bottom: -13px !important;
  z-index: 35 !important;
  min-height: 24px;
  padding: 5px 11px !important;
  font-size: 11px !important;
  letter-spacing: .14em !important;
  box-shadow: 0 3px 0 #fff, 0 7px 16px rgba(0,0,0,.18);
}

.sf-community-profile .sf-profile-mate-card__score.sf-score-ring {
  width: 48px !important;
  height: 48px !important;
  background:
    radial-gradient(circle, #fff 59%, transparent 61%),
    conic-gradient(
      var(--match-heat-a) 0deg,
      var(--match-heat-highlight) var(--sf-score-mid),
      var(--match-heat-b) var(--sf-score),
      rgba(17,17,17,.09) var(--sf-score)
    ) !important;
  box-shadow: 0 7px 18px rgba(41,31,23,.10);
}

.sf-community-profile .sf-profile-mate-card__score.sf-score-ring span {
  font-size: 11px !important;
}

.sf-community-profile .sf-profile-mate-card__score.sf-score-ring span small {
  margin-left: 1px;
  font-size: 7px;
  font-weight: 700;
}

/* Shared heat rings: gradient only fills the score; the remainder stays light. */
#sentiCatalogPage .senti-catalog-fit-ring .sf-score-ring,
.sf-community-profile .sf-profile-mate-card__score.sf-score-ring,
#sentiCollectionPage .sf-score-ring--collection-match,
#sentiCollectionPage .sf-collection-stat__ring {
  background:
    conic-gradient(
      var(--match-heat-a) 0deg,
      var(--match-heat-highlight) var(--sf-score-mid),
      var(--match-heat-b) var(--sf-score, var(--sf-score-deg)),
      #f1efec var(--sf-score, var(--sf-score-deg)),
      #f1efec 360deg
    ) !important;
}

#sentiCatalogPage .senti-catalog-fit-ring .sf-score-ring::before,
.sf-community-profile .sf-profile-mate-card__score.sf-score-ring::before,
#sentiCollectionPage .sf-score-ring--collection-match::before {
  content:"" !important;
  position:absolute !important;
  inset:4px !important;
  border-radius:inherit !important;
  background:#fff !important;
}

#sentiCatalogPage .senti-catalog-fit-ring .sf-score-ring,
.sf-community-profile .sf-profile-mate-card__score.sf-score-ring {
  width:50px !important;
  height:50px !important;
}

#sentiCollectionPage .sf-score-ring--collection-match,
#sentiCollectionPage .sf-collection-stat__ring {
  --sf-score: var(--sf-score-deg);
}

#sentiCatalogPage .senti-catalog-fit-ring .sf-score-ring span,
.sf-community-profile .sf-profile-mate-card__score.sf-score-ring span,
#sentiCollectionPage .sf-score-ring--collection-match span {
  position:relative !important;
  z-index:2 !important;
  font-family:var(--sf-font-sans,"Inter",system-ui,sans-serif) !important;
}

/* Explicit orientation per component: 0% is always twelve o'clock. */
#sentiCatalogPage .senti-catalog-fit-ring .sf-score-ring,
.sf-community-profile .sf-profile-mate-card__score.sf-score-ring {
  background:
    conic-gradient(
      from 0deg at 50% 50%,
      var(--match-heat-a) 0deg,
      var(--match-heat-highlight) var(--sf-score-mid),
      var(--match-heat-b) var(--sf-score),
      #f1efec var(--sf-score),
      #f1efec 360deg
    ) !important;
}

#sentiCollectionPage .sf-score-ring--collection-match,
#sentiCollectionPage .sf-collection-stat__ring {
  background:
    conic-gradient(
      from 0deg at 50% 50%,
      var(--match-heat-a) 0deg,
      var(--match-heat-highlight) var(--sf-score-mid),
      var(--match-heat-b) var(--sf-score-deg),
      #f1efec var(--sf-score-deg),
      #f1efec 360deg
    ) !important;
}

/* Dashboard scent-mates: portrait-forward layout and the shared match heat ring. */
.sf-dashboard-page .sf-card-full-aura--dashboard + .sf-card-mini-avatar.sf-member-avatar {
  width: 82px !important;
  height: 82px !important;
  margin: -41px auto 24px !important;
  overflow: visible !important;
  z-index: 10 !important;
}

.sf-dashboard-page .sf-card-full-aura--dashboard + .sf-card-mini-avatar.sf-member-avatar > img,
.sf-dashboard-page .sf-card-full-aura--dashboard + .sf-card-mini-avatar.sf-member-avatar > .sf-person-fallback {
  width: 82px !important;
  height: 82px !important;
  border: 3px solid #fff;
  box-shadow: 0 7px 22px rgba(31,25,20,.14);
}

.sf-dashboard-page .sf-card-full-aura--dashboard + .sf-card-mini-avatar.sf-member-avatar .sf-niche-member-badge {
  bottom: -10px !important;
  min-height: 19px;
  padding: 3px 9px !important;
  font-size: 8px !important;
  box-shadow: 0 2px 0 #fff, 0 5px 12px rgba(0,0,0,.16);
}

.sf-dashboard-page .sf-scentmate-card__perfumes {
  margin-top: 16px;
  padding: 4px 8px 13px;
}

.sf-dashboard-page .sf-scentmate-card__score.sf-score-ring--mate {
  width: 48px;
  height: 48px;
  background:
    conic-gradient(
      from 0deg at 50% 50%,
      var(--match-heat-a) 0deg,
      var(--match-heat-highlight) var(--sf-score-mid),
      var(--match-heat-b) var(--sf-score),
      #f1efec var(--sf-score),
      #f1efec 360deg
    ) !important;
  box-shadow: 0 7px 18px rgba(41,31,23,.10);
}

.sf-dashboard-page .sf-scentmate-card__score.sf-score-ring--mate::before {
  inset: 4px;
  background: #fff;
}

.sf-dashboard-page .sf-scentmate-card__score.sf-score-ring--mate span {
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 12px;
  font-weight: 800;
}

/* Editorial perfume detail shared by Catalog, dashboard weather and CER modals. */
#catalogModal .senti-modal__panel {
  width: min(1040px, calc(100vw - 28px));
  max-height: min(92vh, 980px);
  border-radius: 10px !important;
  box-shadow: 0 30px 90px rgba(30, 25, 20, .22);
}

#catalogModal .senti-modal__head {
  min-height: 54px;
  border-bottom-color: rgba(17, 17, 17, .07);
}

#catalogModal .senti-modal__body {
  padding: 0 !important;
}

#catalogModal .sf-catalog-detail-v2,
#cerPerfumeDetailModal .sf-catalog-detail-v2,
.sf-community-perfume-modal .sf-catalog-detail-v2 {
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff;
  box-shadow: none !important;
}

.sf-catalog-detail-v2__inner {
  padding: 0 !important;
}

#catalogModal .sf-catalog-detail-v2__hero,
#cerPerfumeDetailModal .sf-catalog-detail-v2__hero,
.sf-community-perfume-modal .sf-catalog-detail-v2__hero {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px) !important;
  align-items: center;
  min-height: 430px;
  padding: clamp(28px, 4.5vw, 62px);
  border-bottom: 1px solid rgba(17, 17, 17, .08);
  background:
    radial-gradient(circle at 18% 28%, rgba(196, 156, 96, .13), transparent 33%),
    radial-gradient(circle at 76% 20%, rgba(208, 225, 227, .28), transparent 40%),
    linear-gradient(135deg, #fbfaf8 0%, #fff 62%);
}

#catalogModal .sf-catalog-detail-v2__media,
#cerPerfumeDetailModal .sf-catalog-detail-v2__media,
.sf-community-perfume-modal .sf-catalog-detail-v2__media {
  position: relative;
  width: 100%;
  max-width: 390px;
  aspect-ratio: 1 / 1;
  justify-self: center;
  overflow: visible;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent;
}

.sf-catalog-detail-v2__media::before {
  content: "";
  position: absolute;
  inset: 14% 8% 5%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193, 161, 112, .18), rgba(238, 230, 217, .08) 48%, transparent 70%);
  filter: blur(8px);
}

#catalogModal .sf-catalog-detail-v2__media img,
#cerPerfumeDetailModal .sf-catalog-detail-v2__media img,
.sf-community-perfume-modal .sf-catalog-detail-v2__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 2% !important;
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(43, 34, 24, .13));
}

.sf-catalog-detail-v2__media-placeholder {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(17, 17, 17, .2);
  font-size: 13px;
  letter-spacing: .35em;
}

.sf-catalog-detail-v2__copy {
  min-width: 0;
}

.sf-catalog-detail-v2__eyebrow,
.sf-catalog-detail-v2 .catalog-detail-section-title {
  color: #a57434;
  font-family: var(--sf-font-sans, "Inter", system-ui, sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.sf-catalog-detail-v2 .catalog-detail-brand {
  margin-top: 22px;
  color: #77716a;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
}

#catalogModal .sf-catalog-detail-v2 .catalog-detail-title,
#cerPerfumeDetailModal .sf-catalog-detail-v2 .catalog-detail-title,
.sf-community-perfume-modal .sf-catalog-detail-v2 .catalog-detail-title {
  max-width: 620px;
  margin: 8px 0 0;
  color: #111;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}

.sf-catalog-detail-v2 .catalog-detail-pills {
  margin-top: 20px;
  gap: 7px;
}

#catalogModal .sf-catalog-detail-v2 .senti-pill,
#cerPerfumeDetailModal .sf-catalog-detail-v2 .senti-pill,
.sf-community-perfume-modal .sf-catalog-detail-v2 .senti-pill {
  padding: 7px 10px;
  border: 1px solid rgba(17, 17, 17, .1);
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .65);
  color: #68615a;
  font-size: 10px;
}

.sf-catalog-detail-v2__lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: #49443f;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
}

.sf-catalog-detail-v2__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 25px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(17, 17, 17, .45);
  color: #111;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

#catalogModal .sf-catalog-detail-v2__sections,
#cerPerfumeDetailModal .sf-catalog-detail-v2__sections,
.sf-community-perfume-modal .sf-catalog-detail-v2__sections {
  display: grid;
  grid-template-columns: minmax(230px, .78fr) minmax(0, 1.22fr);
  gap: 0;
  margin: 0;
}

#catalogModal .sf-catalog-detail-v2 .catalog-detail-section,
#cerPerfumeDetailModal .sf-catalog-detail-v2 .catalog-detail-section,
.sf-community-perfume-modal .sf-catalog-detail-v2 .catalog-detail-section {
  margin: 0;
  padding: clamp(25px, 4vw, 46px) !important;
  border: 0;
  border-right: 1px solid rgba(17, 17, 17, .08);
  border-bottom: 1px solid rgba(17, 17, 17, .08);
  border-radius: 0 !important;
  background: #fff;
}

.sf-catalog-detail-v2__story {
  grid-column: 1;
}

.sf-catalog-detail-v2__story .catalog-detail-text {
  margin-top: 17px;
  color: #4d4843;
  font-size: 14px;
  line-height: 1.75;
}

.sf-catalog-detail-v2__notes {
  grid-column: 2;
  grid-row: 1 / span 2;
  border-right: 0 !important;
}

.sf-catalog-detail-v2__section-head p {
  margin: 8px 0 0;
  color: #77716a;
  font-size: 12px;
}

.sf-catalog-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 20px;
}

.sf-catalog-note {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 70px;
  padding: 8px;
  border: 1px solid rgba(17, 17, 17, .09);
  border-radius: 8px;
  background: #fff;
}

details.sf-catalog-note {
  display: block;
  padding: 0;
}

.sf-catalog-note summary {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 8px;
  cursor: pointer;
  list-style: none;
}

.sf-catalog-note summary::-webkit-details-marker {
  display: none;
}

.sf-catalog-note--interactive:hover {
  border-color: rgba(165, 116, 52, .38);
  background: #fdfbf8;
}

.sf-catalog-note--interactive[open] {
  grid-column: 1 / -1;
  border-color: rgba(165, 116, 52, .28);
  background: #fbf8f3;
}

.sf-catalog-note__visual {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, #f5f0e8, #fff);
}

.sf-catalog-note__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-catalog-note__visual i {
  color: #a57434;
  font-family: var(--sf-font-serif, Georgia, serif);
  font-size: 20px;
  font-style: normal;
}

.sf-catalog-note__copy {
  min-width: 0;
}

.sf-catalog-note__copy strong,
.sf-catalog-note__copy small {
  display: block;
}

.sf-catalog-note__copy strong {
  color: #211f1d;
  font-size: 12px;
  line-height: 1.25;
}

.sf-catalog-note__copy small {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 4px;
  color: #817a73;
  font-size: 9px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sf-catalog-note__toggle {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 50%;
  font-size: 14px;
  transition: transform .2s ease;
}

.sf-catalog-note[open] .sf-catalog-note__toggle {
  transform: rotate(45deg);
}

.sf-catalog-note__detail {
  padding: 4px 18px 18px 74px;
}

.sf-catalog-note__detail span {
  color: #a57434;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .14em;
}

.sf-catalog-note__detail p {
  margin: 7px 0 0;
  color: #4d4843;
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-line;
}

.sf-catalog-detail-v2__variants {
  grid-column: 1;
  background: #faf8f4 !important;
}

.sf-catalog-detail-v2 .catalog-detail-variants {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

#catalogModal .sf-catalog-variant,
#cerPerfumeDetailModal .sf-catalog-variant,
.sf-community-perfume-modal .sf-catalog-variant {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid rgba(17, 17, 17, .09);
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .8);
}

.sf-catalog-variant__size {
  color: #211f1d;
  font-size: 12px;
  font-weight: 800;
}

.sf-catalog-variant__price {
  color: #706960;
  font-size: 11px;
}

@media (max-width: 760px) {
  #catalogModal .senti-modal__panel {
    width: 100%;
    max-height: calc(100dvh - 12px);
  }

  #catalogModal .sf-catalog-detail-v2__hero,
  #cerPerfumeDetailModal .sf-catalog-detail-v2__hero,
  .sf-community-perfume-modal .sf-catalog-detail-v2__hero {
    grid-template-columns: 1fr;
    gap: 12px !important;
    min-height: 0;
    padding: 20px 18px 28px;
  }

  #catalogModal .sf-catalog-detail-v2__media,
  #cerPerfumeDetailModal .sf-catalog-detail-v2__media,
  .sf-community-perfume-modal .sf-catalog-detail-v2__media {
    width: min(78vw, 310px) !important;
  }

  #catalogModal .sf-catalog-detail-v2 .catalog-detail-title,
  #cerPerfumeDetailModal .sf-catalog-detail-v2 .catalog-detail-title,
  .sf-community-perfume-modal .sf-catalog-detail-v2 .catalog-detail-title {
    font-size: clamp(36px, 12vw, 54px);
  }

  #catalogModal .sf-catalog-detail-v2__sections,
  #cerPerfumeDetailModal .sf-catalog-detail-v2__sections,
  .sf-community-perfume-modal .sf-catalog-detail-v2__sections {
    grid-template-columns: 1fr;
  }

  .sf-catalog-detail-v2__story,
  .sf-catalog-detail-v2__notes,
  .sf-catalog-detail-v2__variants {
    grid-column: 1;
    grid-row: auto;
  }

  #catalogModal .sf-catalog-detail-v2 .catalog-detail-section,
  #cerPerfumeDetailModal .sf-catalog-detail-v2 .catalog-detail-section,
  .sf-community-perfume-modal .sf-catalog-detail-v2 .catalog-detail-section {
    padding: 24px 18px !important;
    border-right: 0;
  }

  .sf-catalog-note-grid {
    grid-template-columns: 1fr;
  }

  .sf-catalog-note--interactive[open] {
    grid-column: 1;
  }

  .sf-catalog-note__detail {
    padding: 4px 14px 18px;
  }
}

/* Community scent map: dedicated page and interactive viewport */
.sf-scent-map--standalone {
  margin-top: 18px;
}

.sf-scent-map--standalone .sf-scent-map__visual {
  width: 100%;
  aspect-ratio: 1000 / 600;
  min-height: min(68vh, 720px);
}

.sf-community-map-page__back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  color: #746b61;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.sf-community-map-page__back:hover {
  color: #111;
}

.sf-scent-map__zoom-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 30px rgba(17,17,17,.08);
  backdrop-filter: blur(8px);
}

.sf-scent-map__zoom-controls button {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #111;
  font: 600 20px/1 var(--sf-font-sans, "Inter", system-ui, sans-serif);
  cursor: pointer;
}

.sf-scent-map__zoom-controls button:hover,
.sf-scent-map__zoom-controls button:focus-visible {
  outline: none;
  background: #f3efe9;
}

.sf-scent-map__zoom-controls .sf-scent-map__zoom-reset {
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.sf-scent-map__outline {
  cursor: zoom-in;
  touch-action: none;
  user-select: none;
}

.sf-scent-map__visual.is-zoomed .sf-scent-map__outline {
  cursor: grab;
}

.sf-scent-map__outline.is-dragging {
  cursor: grabbing;
}

@media (max-width: 640px) {
  .sf-scent-map--standalone {
    padding: 16px;
  }

  .sf-scent-map--standalone .sf-scent-map__visual {
    min-height: 58vh;
  }

  .sf-scent-map__zoom-controls {
    top: 10px;
    right: 10px;
  }
}

/* Navigation hierarchy: fragrance recommendations are the primary discovery CTA. */
.sf-nav-link--recommendation {
  align-self: center;
  height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(169,121,67,.46);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(250,247,241,.96), rgba(245,237,226,.90));
  box-shadow: 0 8px 24px rgba(115,78,35,.055);
  opacity: 1;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sf-nav-link--recommendation:hover,
.sf-nav-link--recommendation:focus-visible,
.sf-nav-link--recommendation.is-active {
  border-color: rgba(169,121,67,.72);
  background:
    linear-gradient(135deg, rgba(251,248,242,1), rgba(242,231,216,.98));
  box-shadow: 0 11px 28px rgba(115,78,35,.09);
  transform: translateY(-1px);
}

.sf-nav-link--recommendation::after {
  bottom: -15px;
  height: 2px;
  background: #a97943;
}

.sf-nav-recommendation-icon {
  width: 17px !important;
  height: 17px !important;
  flex: 0 0 17px;
  color: #a97943;
  stroke-width: 1.45;
}

.sf-nav-drawer__panel {
  display: flex;
  flex-direction: column;
}

.sf-nav-drawer__recommendation {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 92px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(169,121,67,.55);
  border-radius: 4px;
  background:
    radial-gradient(circle at 92% 18%, rgba(255,255,255,.84), transparent 32%),
    linear-gradient(135deg, #fbf8f2, #f3e9dc);
  color: #111;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(115,78,35,.07);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sf-nav-drawer__recommendation:hover,
.sf-nav-drawer__recommendation:focus-visible,
.sf-nav-drawer__recommendation.is-active {
  border-color: rgba(169,121,67,.86);
  box-shadow: 0 17px 38px rgba(115,78,35,.12);
  transform: translateY(-1px);
  outline: none;
}

.sf-nav-drawer__recommendation > svg,
.sf-nav-drawer__recommendation > img {
  display: block;
  width: 31px !important;
  height: 31px !important;
  color: #a97943;
  stroke-width: 1.25;
}

.sf-nav-drawer__recommendation > span {
  min-width: 0;
}

.sf-nav-drawer__recommendation strong,
.sf-nav-drawer__recommendation small {
  display: block;
}

.sf-nav-drawer__recommendation strong {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 780;
}

.sf-nav-drawer__recommendation small {
  margin-top: 5px;
  color: #726a61;
  font-size: 11.5px;
  line-height: 1.3;
  font-weight: 500;
}

.sf-nav-drawer__recommendation > i {
  font-family: var(--sf-nav-font-sans);
  font-size: 23px;
  font-style: normal;
  font-weight: 400;
  transition: transform .18s ease;
}

.sf-nav-drawer__recommendation:hover > i,
.sf-nav-drawer__recommendation:focus-visible > i {
  transform: translateX(3px);
}

.sf-nav-drawer__sections {
  display: grid;
  gap: 0;
  padding: 18px 0 4px;
}

.sf-nav-drawer__section {
  padding: 15px 0 17px;
  border-bottom: 1px solid rgba(17,17,17,.09);
}

.sf-nav-drawer__section:first-child {
  padding-top: 4px;
}

.sf-nav-drawer__section h2 {
  margin: 0 0 9px;
  color: #8a8279;
  font-family: var(--sf-nav-font-sans);
  font-size: 9px;
  font-weight: 720;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sf-nav-drawer__section .sf-nav-drawer__group {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px 16px;
  padding: 0;
}

.sf-nav-drawer__section .sf-nav-drawer__recommendation {
  grid-column: 1 / -1;
  margin: 5px 0 7px;
}

.sf-nav-drawer__section .sf-nav-drawer__link {
  min-height: 42px;
  padding: 0 8px;
  justify-content: flex-start;
  gap: 9px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  font-size: 12.5px;
  font-weight: 680;
}

.sf-nav-drawer__section .sf-nav-drawer__link > img {
  display: block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  object-fit: contain;
  opacity: .88;
}

.sf-nav-drawer__section .sf-nav-drawer__link > .sf-nav-drawer__badge {
  margin-left: auto;
}

.sf-nav-drawer__section .sf-nav-drawer__link:hover,
.sf-nav-drawer__section .sf-nav-drawer__link:focus-visible,
.sf-nav-drawer__section .sf-nav-drawer__link.is-active {
  background: rgba(245,239,229,.82);
  transform: none;
}

.sf-nav-drawer__bottom {
  margin-top: auto;
}

@media (max-width: 390px) {
  .sf-nav-drawer__panel {
    width: calc(100vw - 12px);
    height: calc(100vh - 12px);
    margin: 6px;
    padding: 15px;
  }

  .sf-nav-drawer__recommendation {
    min-height: 84px;
    padding: 14px;
  }

  .sf-nav-drawer__section .sf-nav-drawer__group {
    gap: 2px 8px;
  }

  .sf-nav-drawer__section .sf-nav-drawer__link {
    padding-inline: 5px;
    font-size: 11.5px;
  }
}

/* Keep the unified product modal above all legacy per-page modal tuning. */
body #catalogModal.senti-modal,
body #cerPerfumeDetailModal.senti-modal,
body #sfCommunityPerfumeModal.senti-modal,
body #scentTalkPerfumeModal.senti-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 3vw, 34px);
}

body #catalogModal .senti-modal__backdrop,
body #cerPerfumeDetailModal .senti-modal__backdrop,
body #sfCommunityPerfumeModal .senti-modal__backdrop,
body #scentTalkPerfumeModal .senti-modal__backdrop {
  background: rgba(17,20,22,.68) !important;
  backdrop-filter: blur(18px) saturate(.72) !important;
  -webkit-backdrop-filter: blur(18px) saturate(.72) !important;
}

body #catalogModal .senti-modal__panel,
body #cerPerfumeDetailModal .senti-modal__panel,
body #sfCommunityPerfumeModal .senti-modal__panel,
body #scentTalkPerfumeModal .senti-modal__panel {
  width: min(1180px, 100%) !important;
  max-width: 1180px !important;
  max-height: min(90vh, 790px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.74) !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 34px 110px rgba(0,0,0,.38) !important;
}

body #catalogModal .senti-modal__head,
body #cerPerfumeDetailModal .senti-modal__head,
body #sfCommunityPerfumeModal .senti-modal__head,
body #scentTalkPerfumeModal .senti-modal__head {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  z-index: 8 !important;
  display: block !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body #catalogModal .senti-modal__head > :not(button),
body #cerPerfumeDetailModal .senti-modal__head > :not(button),
body #sfCommunityPerfumeModal .senti-modal__head > :not(button),
body #scentTalkPerfumeModal .senti-modal__head > :not(button) {
  display: none !important;
}

body #catalogModal .senti-modal__head button,
body #cerPerfumeDetailModal .senti-modal__head button,
body #sfCommunityPerfumeModal .senti-modal__head button,
body #scentTalkPerfumeModal .senti-modal__head button {
  display: grid !important;
  place-items: center;
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.82) !important;
  color: transparent !important;
  font-size: 0 !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.08) !important;
}

body #catalogModal .senti-modal__head button::before,
body #cerPerfumeDetailModal .senti-modal__head button::before,
body #sfCommunityPerfumeModal .senti-modal__head button::before,
body #scentTalkPerfumeModal .senti-modal__head button::before {
  content: "×" !important;
  color: #171717 !important;
  font: 300 25px/1 Arial, sans-serif !important;
}

body #catalogModal .senti-modal__body,
body #cerPerfumeDetailModal .senti-modal__body,
body #sfCommunityPerfumeModal .senti-modal__body,
body #scentTalkPerfumeModal .senti-modal__body {
  max-height: min(90vh, 790px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #fff !important;
}

body #catalogModal .sf-product-modal .catalog-detail-brand,
body #cerPerfumeDetailModal .sf-product-modal .catalog-detail-brand,
body #sfCommunityPerfumeModal .sf-product-modal .catalog-detail-brand,
body #scentTalkPerfumeModal .sf-product-modal .catalog-detail-brand {
  margin: 0 0 11px !important;
  color: #746d65 !important;
  font-size: 9px !important;
  font-weight: 750 !important;
  letter-spacing: .25em !important;
}

body #catalogModal .sf-product-modal .catalog-detail-title,
body #cerPerfumeDetailModal .sf-product-modal .catalog-detail-title,
body #sfCommunityPerfumeModal .sf-product-modal .catalog-detail-title,
body #scentTalkPerfumeModal .sf-product-modal .catalog-detail-title {
  margin: 0 !important;
  font-size: clamp(42px, 4.2vw, 63px) !important;
  line-height: .98 !important;
  letter-spacing: -.035em !important;
}

body #catalogModal .sf-product-modal .senti-pill,
body #cerPerfumeDetailModal .sf-product-modal .senti-pill,
body #sfCommunityPerfumeModal .sf-product-modal .senti-pill,
body #scentTalkPerfumeModal .sf-product-modal .senti-pill {
  min-height: 24px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: #faf8f5 !important;
  font-size: 9px !important;
}

@media (max-width: 860px) {
  body #catalogModal.senti-modal,
  body #cerPerfumeDetailModal.senti-modal,
  body #sfCommunityPerfumeModal.senti-modal,
  body #scentTalkPerfumeModal.senti-modal {
    align-items: flex-end;
    padding: 10px;
  }

  body #catalogModal .senti-modal__panel,
  body #cerPerfumeDetailModal .senti-modal__panel,
  body #sfCommunityPerfumeModal .senti-modal__panel,
  body #scentTalkPerfumeModal .senti-modal__panel,
  body #catalogModal .senti-modal__body,
  body #cerPerfumeDetailModal .senti-modal__body,
  body #sfCommunityPerfumeModal .senti-modal__body,
  body #scentTalkPerfumeModal .senti-modal__body {
    max-height: calc(100dvh - 20px) !important;
  }

  body #catalogModal .senti-modal__body,
  body #cerPerfumeDetailModal .senti-modal__body,
  body #sfCommunityPerfumeModal .senti-modal__body,
  body #scentTalkPerfumeModal .senti-modal__body {
    overflow: auto !important;
  }

  body #catalogModal .sf-product-modal .catalog-detail-title,
  body #cerPerfumeDetailModal .sf-product-modal .catalog-detail-title,
  body #sfCommunityPerfumeModal .sf-product-modal .catalog-detail-title,
  body #scentTalkPerfumeModal .sf-product-modal .catalog-detail-title {
    font-size: clamp(38px, 12vw, 52px) !important;
  }
}

/* Collection card-view image: less padding, larger product presentation. */
#sentiCollectionPage .sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__layout {
  padding-top: 24px !important;
}

#sentiCollectionPage .sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__media {
  padding-top: 0 !important;
}

#sentiCollectionPage .sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__image {
  width: min(100%, 260px) !important;
  height: 220px !important;
  object-fit: contain !important;
}

/* Collection cards: visible separation between the image and brand copy. */
@media (min-width: 1200px) {
  #sentiCollectionPage .sf-collection-list.is-card-view .sf-collection-card .sf-collection-card__layout {
    row-gap: 26px !important;
  }
}

/* Keep removal with the perfume copy, away from the feedback controls. */
#sentiCollectionPage .sf-collection-card__remove-zone {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 34px;
  margin-top: 10px;
}

#sentiCollectionPage .sf-collection-card .senti-collection-remove {
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  border: 1px solid rgba(17, 17, 17, .12) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #817a72 !important;
  opacity: 1 !important;
}

#sentiCollectionPage .sf-collection-card .senti-collection-remove svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#sentiCollectionPage .sf-collection-card .senti-collection-remove:hover {
  border-color: rgba(159, 48, 41, .34) !important;
  background: #fff7f6 !important;
  color: #9f3029 !important;
}

#sentiCollectionPage .sf-collection-card .senti-remove-confirm {
  position: static !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  padding: 6px 8px !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

#sentiCollectionPage .sf-collection-card.is-confirming .senti-collection-remove {
  display: none !important;
}
