:root {
  --senti-ink: #171613;
  --senti-muted: #77736d;
  --senti-line: #e8e5df;
  --senti-champagne: #c39a5c;
  --senti-cream: #f8f6f2;
}

body.senti:has(.sf-dashboard-page) {
  background: #fff;
}

.sf-dashboard-page {
  background: #fff !important;
  color: var(--senti-ink);
  padding: 8px 24px 80px !important;
}

.sf-dashboard-shell {
  width: 100% !important;
  max-width: 1240px !important;
  margin-inline: auto;
  padding: 0 !important;
}

.sf-dashboard-hero {
  min-height: 292px !important;
  padding: 34px 40px !important;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr) !important;
  gap: 38px !important;
  overflow: hidden;
  background: linear-gradient(115deg, #fff 0 53%, rgba(246, 236, 221, .58) 78%, rgba(246, 230, 232, .45) 100%) !important;
  border: 1px solid var(--senti-line) !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 55px rgba(32, 27, 20, .06) !important;
}

/* Open dashboard hero: identity floats directly on the white page. */
.sf-dashboard-hero.sf-dashboard-hero--open {
  min-height: 390px !important;
  padding: 42px 28px 38px !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr) !important;
  gap: 28px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sf-dashboard-hero.sf-dashboard-hero--open::before,
.sf-dashboard-hero.sf-dashboard-hero--open::after { display: none !important; }

.sf-dashboard-hero--open .sf-display-title { font-size: clamp(48px, 5.5vw, 76px) !important; }
.sf-dashboard-hero--open .sf-display-title em { color: #b28755; font-style: normal; }

.sf-dashboard-identity {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 350px;
  isolation: isolate;
}

.sf-dashboard-identity__aura {
  position: absolute;
  inset: -11% -5% -14%;
  display: grid;
  place-items: center;
  z-index: -1;
  overflow: visible;
  opacity: .9;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0 32%, rgba(0,0,0,.94) 43%, rgba(0,0,0,.58) 60%, rgba(0,0,0,.18) 75%, transparent 91%);
  mask-image: radial-gradient(ellipse at center, #000 0 32%, rgba(0,0,0,.94) 43%, rgba(0,0,0,.58) 60%, rgba(0,0,0,.18) 75%, transparent 91%);
  filter: blur(.35px);
}

.sf-dashboard-identity__aura .sfa-aura {
  width: min(100%, 460px) !important;
  height: min(100%, 460px) !important;
  transform: scale(1.24);
}

.sf-dashboard-identity__portrait {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  margin-top: 12px;
  overflow: hidden;
  border: 5px solid rgba(255,255,255,.78);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: #8f6c4a;
  font: 500 32px/1 Georgia, serif;
  box-shadow: 0 12px 35px rgba(70,54,42,.13);
}

.sf-dashboard-identity__portrait img { width: 100%; height: 100%; object-fit: cover; }
.sf-dashboard-identity__copy { margin-top: -2px; text-align: center; }
.sf-dashboard-identity__copy small { display: block; color: #867d75; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.sf-dashboard-identity__copy > strong { display: block; margin-top: 4px; font-family: Georgia, serif; font-size: 29px; font-weight: 500; }
.sf-dashboard-identity__copy p { display: flex; justify-content: center; gap: 8px; margin: 6px 0 0; color: #736d68; font-size: 12px; }
.sf-dashboard-identity__copy p i { font-style: normal; opacity: .55; }
.sf-dashboard-identity__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.sf-dashboard-identity__tags span { padding: 5px 10px; border: 1px solid rgba(68,58,48,.1); border-radius: 999px; background: rgba(255,255,255,.62); color: #665e57; font-size: 10px; backdrop-filter: blur(8px); }

.sf-personality-portrait {
  margin: 4px 0 28px;
  padding: 30px 34px;
  border-top: 1px solid var(--senti-line);
  border-bottom: 1px solid var(--senti-line);
  background: linear-gradient(90deg, rgba(249,246,241,.72), rgba(255,255,255,.95) 35%, rgba(249,241,242,.42));
}

.sf-personality-portrait__kicker { color: #aa7d4b; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.sf-personality-portrait h2 { margin: 7px 0 14px; font-family: Georgia, serif; font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; }
.sf-personality-portrait__text { max-width: 1050px; color: #57514d; font-size: 14px; line-height: 1.85; white-space: normal; }

.sf-dashboard-profile-modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin: 0 0 28px;
}

.sf-dashboard-profile-module {
  min-width: 0;
  margin: 0 !important;
  border: 1px solid var(--senti-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(35,29,24,.045);
}

.sf-dashboard-profile-module--radar { display: grid; grid-template-columns: minmax(160px, .8fr) minmax(250px, 1.2fr); align-items: center; padding: 26px 28px; }
.sf-dashboard-profile-module__head span { color: #aa7d4b; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.sf-dashboard-profile-module__head h2 { margin: 6px 0; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.sf-dashboard-profile-module__head p { margin: 0; color: #817a74; font-size: 12px; line-height: 1.5; }
.sf-dashboard-profile-module--radar > a { grid-column: 1 / -1; justify-self: end; color: #77512e; font-size: 12px; font-weight: 700; text-decoration: none; }
.sf-dashboard-profile-radar { justify-self: center; }
.sf-dashboard-profile-module--collection.sf-family-analysis--compact { padding: 24px 26px; }
.sf-dashboard-profile-module--collection .sf-family-analysis__heading > a { display: none; }
.sf-dashboard-profile-module--collection.sf-family-analysis--compact .sf-family-analysis__layout { grid-template-columns: 170px 1fr; gap: 18px; }
.sf-dashboard-profile-module--collection.sf-family-analysis--compact .sf-family-insights { grid-template-columns: 1fr; }
.sf-dashboard-profile-module--collection.sf-family-analysis--compact .sf-family-insight:nth-of-type(n+2) { display: none; }

@media (max-width: 900px) {
  .sf-dashboard-hero.sf-dashboard-hero--open { grid-template-columns: 1fr 360px !important; padding-inline: 12px !important; }
  .sf-dashboard-profile-modules { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .sf-dashboard-hero.sf-dashboard-hero--open { grid-template-columns: 1fr !important; min-height: 0 !important; padding: 22px 2px 10px !important; gap: 4px !important; }
  .sf-dashboard-hero--open .sf-display-title { font-size: clamp(39px, 12vw, 58px) !important; }
  .sf-dashboard-identity { min-height: 310px; }
  .sf-dashboard-identity__aura { inset: -12% -18%; }
  .sf-personality-portrait { margin-inline: -12px; padding: 24px 18px; }
  .sf-personality-portrait__text { font-size: 13px; line-height: 1.75; }
  .sf-dashboard-profile-module--radar { grid-template-columns: 1fr; padding: 22px 16px; text-align: center; }
  .sf-dashboard-profile-module--radar > a { justify-self: center; }
  .sf-dashboard-profile-module--collection.sf-family-analysis--compact .sf-family-analysis__layout { grid-template-columns: 1fr; }
}

.sf-dashboard-hero::before {
  opacity: .3 !important;
}

.sf-dashboard-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.sf-dashboard-hero .sf-eyebrow {
  margin-bottom: 10px;
  color: var(--senti-champagne);
  letter-spacing: .16em;
}

.sf-dashboard-hero .sf-display-title {
  margin: 0 !important;
  font-size: clamp(42px, 5vw, 72px) !important;
  line-height: .98 !important;
  letter-spacing: -.045em;
}

.sf-dashboard-hero .sf-display-title em {
  color: var(--senti-ink);
  font-weight: 500;
}

.sf-dashboard-hero .sf-display-title span {
  margin-left: 10px;
  color: var(--senti-champagne);
  font-family: sans-serif;
  font-size: .32em;
  vertical-align: top;
}

.sf-dashboard-hero__welcome {
  max-width: 510px;
  margin: 14px 0 0;
  color: var(--senti-muted);
  font-size: 14px;
  line-height: 1.65;
}

.sf-dashboard-hero__actions {
  margin-top: 20px !important;
}

.sf-dashboard-hero__reading--compact {
  max-width: 560px !important;
  margin-top: 18px !important;
  padding: 14px 18px !important;
  border-left: 2px solid rgba(195, 154, 92, .55);
  background: rgba(255, 255, 255, .66) !important;
}

.sf-dashboard-hero__reading--compact > p:not(.sf-dashboard-hero__reading-lead) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.sf-dashboard-hero__aura {
  display: grid !important;
  grid-template-columns: 165px minmax(170px, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
}

.sf-dashboard-hero__aura .sf-aura-field {
  width: 165px !important;
  min-height: 190px !important;
  height: 190px !important;
}

.sf-dashboard-hero__aura .sf-aura-card {
  min-height: 190px !important;
  padding: 18px !important;
  border-color: rgba(255, 255, 255, .78) !important;
  background: rgba(255, 255, 255, .72) !important;
  backdrop-filter: blur(14px);
}

.sf-dashboard-hero__aura .sf-aura-card__top h2 {
  font-size: 10px !important;
  letter-spacing: .15em;
}

.sf-dashboard-hero__aura .sf-aura-card p {
  margin: 6px 0 !important;
  font-size: 12px !important;
}

.sf-dashboard-recommendations {
  margin-top: 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.sf-dashboard-recommendations__intro {
  grid-template-columns: 42px minmax(0, 1fr) auto !important;
  gap: 14px !important;
  padding: 0 !important;
}

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

.sf-dashboard-recommendations__symbol {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(183, 128, 57, .28);
  border-radius: 50%;
  color: #b78039;
  background: #fffaf3;
  font-size: 18px;
}

.sf-dashboard-recommendations__intro {
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: end !important;
}
.sf-dashboard-recommendations__intro > img,
.sf-dashboard-recommendations__intro > .sf-dashboard-recommendations__symbol { display: none !important; }
.sf-dashboard-recommendation-results {
  margin-top: 18px !important;
  padding-top: 18px !important;
}
.sf-dashboard-recommendation-tabs button { min-height: 34px; padding-inline: 13px; }

.sf-dashboard-recommendations__intro h2 {
  font-family: "Playfair Display", serif;
  font-size: 29px !important;
}

.sf-dashboard-recommendations__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: 16px !important;
}

.sf-dashboard-recommendation-card {
  display: flex !important;
  min-height: 330px !important;
  flex-direction: column;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 12px !important;
  overflow: hidden;
  border-radius: var(--senti-surface-radius, 5px) !important;
  border-color: var(--senti-line) !important;
  background: #fff !important;
  box-shadow: none !important;
}

.sf-dashboard-recommendation-card__media {
  width: 100% !important;
  height: 190px !important;
  flex: 0 0 190px;
  background: linear-gradient(145deg, #fcfbf9, #f8f6f2) !important;
}

.sf-dashboard-recommendation-card__media img {
  width: 100% !important;
  height: 100% !important;
  padding: 8px;
  object-fit: contain !important;
}

.sf-dashboard-recommendation-card__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 2px 2px;
}

.sf-dashboard-recommendation-card__copy small {
  width: 100%;
  color: #887b70 !important;
  font-size: 8px !important;
  letter-spacing: .14em !important;
}

.sf-dashboard-recommendation-card__copy strong {
  width: 100%;
  margin-top: 5px !important;
  font-size: 20px !important;
  line-height: 1.12;
}

.sf-dashboard-recommendation-card__reason {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 9px;
  color: #716b66;
  font-size: 10px;
  line-height: 1.5;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sf-dashboard-recommendation-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
  padding-top: 11px;
}

.sf-dashboard-recommendation-card__tags i {
  padding: 4px 8px;
  border: 1px solid rgba(37,31,28,.1);
  border-radius: 999px;
  background: #fcfbf9;
  color: #706860;
  font-size: 8px;
  font-style: normal;
  line-height: 1;
  text-transform: lowercase;
}

.sf-dashboard-recommendation-card__score {
  top: 13px !important;
  right: auto !important;
  left: 13px;
  z-index: 2;
  width: 38px !important;
  height: 38px !important;
  box-shadow: 0 4px 14px rgba(40,34,27,.08);
}

.sf-dashboard-recommendation-card--placeholder {
  opacity: .72;
  cursor: default;
}

.sf-dashboard-recommendation-card--placeholder .sf-dashboard-recommendation-card__media {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fbfaf8, #f3eee6) !important;
}

.sf-dashboard-recommendation-card--placeholder i {
  color: #d9c7aa;
  font: 500 34px/1 "Playfair Display", serif;
}

.sf-dashboard-stats {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 !important;
  margin: 24px 0 !important;
  padding: 12px 8px !important;
  border: 1px solid var(--senti-line) !important;
  border-radius: var(--senti-surface-radius, 5px) !important;
  background: transparent !important;
  box-shadow: 0 8px 24px rgba(35, 29, 21, .025) !important;
}

.sf-stat-card {
  min-height: 62px !important;
  padding: 8px 18px !important;
  border: 0 !important;
  border-right: 1px solid var(--senti-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sf-stat-card:last-child { border-right: 0 !important; }
.sf-stat-card img { width: 25px !important; height: 25px !important; }
.sf-stat-card strong { font-size: 24px !important; }

.sf-scentmates-strip {
  display: grid;
  grid-template-columns: 190px 1fr 34px;
  align-items: center;
  gap: 18px;
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid var(--senti-line);
  border-radius: var(--senti-surface-radius, 5px);
  background: linear-gradient(100deg, #fff, #faf9f7);
}

.sf-scentmates-strip__intro h2 {
  margin: 0 0 4px;
  font: 600 18px/1.15 "Playfair Display", serif;
}

.sf-scentmates-strip__intro p { margin: 0; color: var(--senti-muted); font-size: 11px; }

.sf-scentmates-strip__people {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  min-width: 0;
}

.sf-scentmates-strip__person {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.sf-scentmates-strip__avatar {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 50%;
  outline: 1px solid rgba(195, 154, 92, .48);
  background: #eee9e1;
  font: 600 15px/1 sans-serif;
}

.sf-scentmates-strip__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sf-scentmates-strip__person strong, .sf-scentmates-strip__person small { display: block; white-space: nowrap; }
.sf-scentmates-strip__person strong { font-size: 12px; }
.sf-scentmates-strip__person small { margin-top: 3px; color: var(--senti-muted); font-size: 9px; }
.sf-scentmates-strip__more { color: var(--senti-ink); font-size: 20px; text-decoration: none; }
.sf-dashboard-scentmates-legacy { display: none !important; }

.sf-dashboard-page .sf-recent-activity {
  width: 100%;
  margin: 34px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sf-dashboard-page .sf-recent-activity__head {
  align-items: flex-end;
  margin-bottom: 18px;
}

.sf-dashboard-page .sf-recent-activity__head h2 {
  margin: 0;
  font-family: var(--sf-font-serif, "Playfair Display", Georgia, serif);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1;
}

.sf-dashboard-page .sf-dashboard-section,
.sf-dashboard-page .sf-admin-console,
.sf-dashboard-page .sf-weather-scent {
  background-color: #fff !important;
}

.sf-dashboard-page .sf-weather-scent {
  background: #fff !important;
}

/* The meteo panel follows the real season and weather, not the brand palette. */
.sf-dashboard-page .sf-weather-scent--season-spring {
  --sf-weather-wash-a: 194, 224, 204;
  --sf-weather-wash-b: 246, 222, 167;
  --sf-weather-icon-a: 183, 219, 197;
  --sf-weather-icon-b: 239, 220, 167;
}

.sf-dashboard-page .sf-weather-scent--season-summer {
  --sf-weather-wash-a: 250, 219, 120;
  --sf-weather-wash-b: 180, 218, 238;
  --sf-weather-icon-a: 247, 205, 93;
  --sf-weather-icon-b: 171, 211, 235;
}

.sf-dashboard-page .sf-weather-scent--season-autumn {
  --sf-weather-wash-a: 228, 150, 79;
  --sf-weather-wash-b: 205, 184, 154;
  --sf-weather-icon-a: 218, 132, 65;
  --sf-weather-icon-b: 200, 177, 145;
}

.sf-dashboard-page .sf-weather-scent--season-winter {
  --sf-weather-wash-a: 215, 229, 239;
  --sf-weather-wash-b: 240, 244, 247;
  --sf-weather-icon-a: 195, 218, 234;
  --sf-weather-icon-b: 231, 239, 245;
}

.sf-dashboard-page .sf-weather-scent--condition-snow {
  --sf-weather-wash-a: 211, 229, 242;
  --sf-weather-wash-b: 247, 249, 251;
  --sf-weather-icon-a: 190, 217, 235;
  --sf-weather-icon-b: 240, 246, 250;
}

.sf-dashboard-page .sf-weather-scent--condition-fog {
  --sf-weather-wash-a: 205, 216, 219;
  --sf-weather-wash-b: 235, 232, 225;
  --sf-weather-icon-a: 193, 207, 211;
  --sf-weather-icon-b: 229, 228, 222;
}

.sf-dashboard-page .sf-weather-scent--condition-storm {
  --sf-weather-wash-a: 139, 160, 190;
  --sf-weather-wash-b: 190, 166, 199;
  --sf-weather-icon-a: 121, 145, 180;
  --sf-weather-icon-b: 181, 158, 193;
}

.sf-dashboard-page .sf-weather-scent--season-spring.sf-weather-scent--condition-rain {
  --sf-weather-wash-a: 178, 218, 190;
  --sf-weather-wash-b: 157, 201, 226;
  --sf-weather-icon-a: 161, 207, 181;
  --sf-weather-icon-b: 144, 193, 222;
}

.sf-dashboard-page .sf-weather-scent--season-summer.sf-weather-scent--condition-rain {
  --sf-weather-wash-a: 249, 219, 127;
  --sf-weather-wash-b: 146, 198, 229;
  --sf-weather-icon-a: 241, 200, 98;
  --sf-weather-icon-b: 132, 187, 220;
}

.sf-dashboard-page .sf-weather-scent--season-autumn.sf-weather-scent--condition-rain {
  --sf-weather-wash-a: 227, 146, 78;
  --sf-weather-wash-b: 139, 177, 205;
  --sf-weather-icon-a: 213, 127, 62;
  --sf-weather-icon-b: 126, 166, 198;
}

.sf-dashboard-page .sf-weather-scent--season-winter.sf-weather-scent--condition-rain {
  --sf-weather-wash-a: 194, 211, 221;
  --sf-weather-wash-b: 140, 178, 205;
  --sf-weather-icon-a: 180, 202, 216;
  --sf-weather-icon-b: 128, 168, 198;
}

/* Fine-grained variants inspired by the seasonal meteo design system. */
.sf-dashboard-page .sf-weather-scent--season-spring {
  --sf-weather-panel-base: #f7f7ed;
  --sf-weather-panel-ink: #42523b;
}

.sf-dashboard-page .sf-weather-scent--season-spring.sf-weather-scent--variant-sunny {
  --sf-weather-wash-a: 255, 216, 105;
  --sf-weather-wash-b: 229, 237, 190;
}

.sf-dashboard-page .sf-weather-scent--season-spring.sf-weather-scent--variant-partly {
  --sf-weather-wash-a: 170, 215, 239;
  --sf-weather-wash-b: 218, 232, 178;
}

.sf-dashboard-page .sf-weather-scent--season-spring.sf-weather-scent--variant-cloudy {
  --sf-weather-wash-a: 190, 207, 196;
  --sf-weather-wash-b: 226, 228, 213;
}

.sf-dashboard-page .sf-weather-scent--season-spring.sf-weather-scent--variant-rain {
  --sf-weather-wash-a: 161, 195, 177;
  --sf-weather-wash-b: 202, 218, 213;
}

.sf-dashboard-page .sf-weather-scent--season-spring.sf-weather-scent--variant-snow {
  --sf-weather-wash-a: 218, 235, 244;
  --sf-weather-wash-b: 248, 250, 249;
}

.sf-dashboard-page .sf-weather-scent--season-summer {
  --sf-weather-panel-base: #fff9ea;
  --sf-weather-panel-ink: #4b3822;
}

.sf-dashboard-page .sf-weather-scent--season-summer.sf-weather-scent--variant-sunny {
  --sf-weather-wash-a: 255, 198, 65;
  --sf-weather-wash-b: 255, 235, 174;
}

.sf-dashboard-page .sf-weather-scent--season-summer.sf-weather-scent--variant-partly {
  --sf-weather-wash-a: 132, 204, 239;
  --sf-weather-wash-b: 255, 225, 151;
}

.sf-dashboard-page .sf-weather-scent--season-summer.sf-weather-scent--variant-cloudy {
  --sf-weather-wash-a: 211, 211, 205;
  --sf-weather-wash-b: 245, 235, 218;
}

.sf-dashboard-page .sf-weather-scent--season-summer.sf-weather-scent--variant-rain {
  --sf-weather-wash-a: 162, 190, 211;
  --sf-weather-wash-b: 240, 211, 139;
}

.sf-dashboard-page .sf-weather-scent--season-summer.sf-weather-scent--variant-snow {
  --sf-weather-wash-a: 213, 229, 240;
  --sf-weather-wash-b: 248, 250, 251;
}

.sf-dashboard-page .sf-weather-scent--season-autumn {
  --sf-weather-panel-base: #fbf2e6;
  --sf-weather-panel-ink: #5b3825;
}

.sf-dashboard-page .sf-weather-scent--season-autumn.sf-weather-scent--variant-sunny {
  --sf-weather-wash-a: 238, 143, 48;
  --sf-weather-wash-b: 255, 211, 143;
}

.sf-dashboard-page .sf-weather-scent--season-autumn.sf-weather-scent--variant-partly {
  --sf-weather-wash-a: 240, 167, 94;
  --sf-weather-wash-b: 245, 222, 190;
}

.sf-dashboard-page .sf-weather-scent--season-autumn.sf-weather-scent--variant-cloudy {
  --sf-weather-wash-a: 170, 154, 136;
  --sf-weather-wash-b: 218, 203, 183;
}

.sf-dashboard-page .sf-weather-scent--season-autumn.sf-weather-scent--variant-rain {
  --sf-weather-wash-a: 119, 107, 96;
  --sf-weather-wash-b: 161, 177, 187;
  --sf-weather-panel-base: #e8e0d5;
}

.sf-dashboard-page .sf-weather-scent--season-autumn.sf-weather-scent--variant-snow {
  --sf-weather-wash-a: 211, 207, 202;
  --sf-weather-wash-b: 246, 244, 241;
}

.sf-dashboard-page .sf-weather-scent--season-winter {
  --sf-weather-panel-base: #f7fafc;
  --sf-weather-panel-ink: #34465d;
}

.sf-dashboard-page .sf-weather-scent--season-winter.sf-weather-scent--variant-sunny {
  --sf-weather-wash-a: 196, 223, 243;
  --sf-weather-wash-b: 245, 249, 252;
}

.sf-dashboard-page .sf-weather-scent--season-winter.sf-weather-scent--variant-partly {
  --sf-weather-wash-a: 170, 209, 239;
  --sf-weather-wash-b: 229, 239, 247;
}

.sf-dashboard-page .sf-weather-scent--season-winter.sf-weather-scent--variant-cloudy {
  --sf-weather-wash-a: 192, 204, 218;
  --sf-weather-wash-b: 231, 235, 239;
}

.sf-dashboard-page .sf-weather-scent--season-winter.sf-weather-scent--variant-rain {
  --sf-weather-wash-a: 129, 151, 180;
  --sf-weather-wash-b: 191, 207, 222;
  --sf-weather-panel-base: #e5ebf1;
}

.sf-dashboard-page .sf-weather-scent--season-winter.sf-weather-scent--variant-snow {
  --sf-weather-wash-a: 207, 229, 245;
  --sf-weather-wash-b: 250, 252, 253;
}

.sf-dashboard-page .sf-weather-scent__weather {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 22%, rgba(var(--sf-weather-wash-a), .5), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(var(--sf-weather-wash-b), .4), transparent 48%),
    var(--sf-weather-panel-base, #fcfbf8);
  background-position: 0% 10%, 100% 90%, 0 0;
  background-size: 118% 118%, 126% 126%, auto;
  color: var(--sf-weather-panel-ink, #2e2924);
  box-shadow: inset 0 0 54px rgba(255, 255, 255, .28);
  transition: box-shadow .55s ease, filter .55s ease;
  animation: sf-weather-panel-drift 13s ease-in-out infinite alternate;
}

.sf-dashboard-page .sf-weather-scent__weather::before {
  position: absolute;
  z-index: -1;
  inset: -32%;
  border-radius: 38%;
  background:
    radial-gradient(circle at 34% 38%, rgba(var(--sf-weather-wash-a), .48), transparent 31%),
    radial-gradient(circle at 68% 62%, rgba(var(--sf-weather-wash-b), .42), transparent 35%);
  filter: blur(14px);
  content: "";
  pointer-events: none;
  animation: sf-weather-aura-orbit 16s ease-in-out infinite alternate;
}

.sf-dashboard-page .sf-weather-scent__weather::after {
  position: absolute;
  z-index: 0;
  inset: -10% -45%;
  background: linear-gradient(112deg, transparent 34%, rgba(255, 255, 255, .34) 49%, transparent 64%);
  content: "";
  pointer-events: none;
  transform: translate3d(-34%, 0, 0);
  animation: sf-weather-light-pass 14s ease-in-out infinite;
}

.sf-dashboard-page .sf-weather-scent__weather > * {
  position: relative;
  z-index: 1;
}

.sf-dashboard-page .sf-weather-scent__weather:hover {
  filter: saturate(1.045);
  box-shadow: inset 0 0 68px rgba(255, 255, 255, .38);
}

.sf-dashboard-page .sf-weather-scent__weather .sf-eyebrow,
.sf-dashboard-page .sf-weather-scent__weather p,
.sf-dashboard-page .sf-weather-scent__metrics {
  color: var(--sf-weather-panel-ink, #2e2924) !important;
}

.sf-dashboard-page .sf-weather-scent__weather .sf-eyebrow { opacity: .82; }
.sf-dashboard-page .sf-weather-scent__weather p { opacity: .78; }
.sf-dashboard-page .sf-weather-scent__metrics { opacity: .65; }

.sf-dashboard-page .sf-weather-scent__weather .sf-weather-scent__icon svg {
  stroke: currentColor;
}

.sf-dashboard-page .sf-weather-scent__guidance,
.sf-dashboard-page .sf-weather-scent__picks {
  background: #fff;
}

.sf-dashboard-page .sf-weather-scent__icon {
  animation: sf-weather-icon-float 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes sf-weather-panel-drift {
  0% {
    background-position: 0% 10%, 100% 90%, 0 0;
  }
  50% {
    background-position: 8% 2%, 94% 100%, 0 0;
  }
  100% {
    background-position: 2% 18%, 88% 82%, 0 0;
  }
}

@keyframes sf-weather-icon-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -3px, 0) scale(1.018); }
}

@keyframes sf-weather-aura-orbit {
  0% { transform: translate3d(-3%, -2%, 0) rotate(-3deg) scale(1); }
  50% { transform: translate3d(4%, 3%, 0) rotate(2deg) scale(1.04); }
  100% { transform: translate3d(-1%, 5%, 0) rotate(5deg) scale(1.02); }
}

@keyframes sf-weather-light-pass {
  0%, 18% { opacity: 0; transform: translate3d(-34%, 0, 0); }
  42% { opacity: .68; }
  70%, 100% { opacity: 0; transform: translate3d(34%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .sf-dashboard-page .sf-weather-scent__weather,
  .sf-dashboard-page .sf-weather-scent__icon,
  .sf-dashboard-page .sf-weather-scent__weather::before,
  .sf-dashboard-page .sf-weather-scent__weather::after {
    animation: none;
  }
}

.sf-weather-catalog {
  margin-top: 12px;
  padding-top: 13px;
  border-top: 1px solid rgba(17, 17, 17, .09);
}

.sf-weather-catalog__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-top: 9px;
}

.sf-weather-catalog__item {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  min-width: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, .09);
  border-radius: var(--senti-surface-radius, 5px);
  background: rgba(255, 255, 255, .7);
  color: #111;
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}

.sf-weather-catalog__item:hover,
.sf-weather-catalog__item:focus-visible {
  border-color: rgba(169, 121, 67, .55);
  transform: translateY(-1px);
  outline: none;
}

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

.sf-weather-catalog__placeholder {
  width: 28%;
  height: 52%;
  border: 1px solid rgba(17, 17, 17, .16);
  border-radius: 5px 5px 3px 3px;
}

.sf-weather-catalog__item > strong {
  position: absolute;
  right: 3px;
  bottom: 3px;
  min-width: 27px;
  padding: 3px 4px;
  border-radius: 3px;
  background: rgba(17, 17, 17, .88);
  color: #fff;
  font-size: 8px;
  line-height: 1;
  text-align: center;
}

@media (min-width: 761px) {
  .sf-dashboard-page .sf-perfume-grid--empty {
    grid-template-columns: minmax(0, 4fr) minmax(170px, 1fr);
  }

  .sf-dashboard-page .sf-perfume-grid--empty .sf-empty-card--wide {
    grid-column: auto;
    display: flex;
    min-height: 172px;
    flex-direction: column;
    justify-content: center;
  }

  .sf-dashboard-page .sf-perfume-grid--empty .sf-add-card {
    min-height: 172px;
    padding: 18px 12px;
  }
}

.sf-mobile-app-bar { display: none; }

@media (max-width: 760px) {
  body.senti { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }

  .sf-app-main { min-height: calc(100vh - 82px); }

  .sf-dashboard-page {
    padding: 14px 12px 46px !important;
  }

  .sf-dashboard-hero {
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }

  .sf-dashboard-hero .sf-display-title { font-size: 42px !important; }
  .sf-dashboard-hero__welcome { font-size: 13px; }
  .sf-dashboard-hero__reading--compact { display: none; }

  .sf-dashboard-hero__actions {
    display: grid !important;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .sf-dashboard-hero__actions .sf-btn {
    min-width: 0 !important;
    padding-inline: 12px !important;
    font-size: 11px !important;
  }

  .sf-dashboard-hero__aura {
    grid-template-columns: 96px 1fr !important;
    gap: 10px !important;
  }

  .sf-dashboard-hero__aura .sf-aura-field {
    width: 96px !important;
    height: 112px !important;
    min-height: 112px !important;
  }

  .sf-dashboard-hero__aura .sf-aura-card {
    min-height: 112px !important;
    padding: 12px !important;
  }

  .sf-dashboard-hero__aura .sf-aura-card__radar { display: none; }

  .sf-dashboard-recommendations__intro {
    grid-template-columns: 1fr !important;
  }

  .sf-dashboard-recommendations__intro .sf-btn {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
  }

  .sf-dashboard-recommendations__grid {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(156px, 65vw);
    grid-template-columns: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .sf-dashboard-recommendation-card { min-height: 305px !important; scroll-snap-align: start; }
  .sf-dashboard-recommendation-card__media { height: 170px !important; flex-basis: 170px; }

  .sf-dashboard-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .sf-stat-card:nth-child(2) { border-right: 0 !important; }
  .sf-stat-card:nth-child(-n+2) { border-bottom: 1px solid var(--senti-line) !important; }

  .sf-scentmates-strip {
    grid-template-columns: 1fr 28px;
    padding: 15px;
  }

  .sf-scentmates-strip__intro { grid-column: 1; }
  .sf-scentmates-strip__people {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 4px 1px;
    scrollbar-width: none;
  }
  .sf-scentmates-strip__person > span:last-child { display: none; }
  .sf-scentmates-strip__more { grid-column: 2; grid-row: 1; }

  .sf-mobile-app-bar {
    position: fixed;
    z-index: 1050;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    min-height: calc(68px + env(safe-area-inset-bottom));
    padding: 5px 0 calc(5px + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid rgba(24, 22, 19, .12);
    border-radius: 0;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 38px rgba(24, 20, 15, .16);
    backdrop-filter: blur(18px);
  }

  .sf-mobile-app-bar > a,
  .sf-mobile-app-bar > button {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 54px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0;
    background: transparent;
    color: #716e69;
    font: 500 9px/1.1 sans-serif;
    text-decoration: none;
  }

  .sf-mobile-app-bar > a + a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 30px;
    background: rgba(24, 22, 19, .11);
    transform: translateY(-50%);
  }

  .sf-mobile-app-bar img,
  .sf-mobile-app-bar svg {
    width: 25px;
    height: 25px;
    object-fit: contain;
    opacity: .72;
  }

  .sf-mobile-app-bar svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .sf-mobile-app-bar > .is-active { color: #a67938; }
  .sf-mobile-app-bar > .is-active img,
  .sf-mobile-app-bar > .is-active svg { opacity: 1; }

  body.senti > footer,
  body.senti .sf-site-footer { margin-bottom: 80px; }
}
