.public-profile-hero {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid rgba(74, 52, 40, 0.10);
  border-radius: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(85, 55, 20, 0.10);
}

.public-profile-identity {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.public-profile-avatar {
  display: grid;
  place-items: center;
  width: 140px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 28px;
  background: #fff3cf;
  color: #8a5600;
  font-size: 54px;
}

.public-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-profile-main {
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
}

.public-profile-main h2 {
  margin: 0;
  color: #2f2116;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.public-profile-main p {
  max-width: 760px;
  margin: 0;
  color: #6b5a49;
  font-size: 15px;
  line-height: 1.7;
}

.public-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.public-profile-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 7px 11px;
  background: #fff3cf;
  color: #5f3a00;
  font-size: 13px;
  font-weight: 800;
}

.public-profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.public-profile-stats div {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(138, 86, 0, 0.16);
  border-radius: 14px;
  padding: 12px;
  background: #fffaf0;
}

.public-profile-stats strong {
  color: #2f2116;
  font-size: 24px;
  line-height: 1;
}

.public-profile-stats span {
  color: #7a6148;
  font-size: 12px;
  font-weight: 800;
}

.public-profile-section {
  margin-top: 18px;
  border: 1px solid rgba(74, 52, 40, 0.10);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 36px rgba(85, 55, 20, 0.08);
}

.public-profile-section .section-heading {
  margin-bottom: 14px;
}

.public-profile-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.public-profile-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(74, 52, 40, 0.10);
  border-radius: 16px;
  padding: 14px;
  background: #fffdf7;
  color: #3b291a;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.public-profile-card:hover,
.public-profile-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(218, 143, 0, 0.44);
  background: #fffaf0;
  box-shadow: 0 14px 28px rgba(85, 55, 20, 0.12);
  outline: none;
}

.public-profile-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff3cf, #ffe19a);
  color: #8a5600;
  font-size: 21px;
}

.public-profile-card__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.public-profile-card__body strong {
  color: #2f2116;
  font-size: 15px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.public-profile-card__body small,
.public-profile-card__body span {
  color: #7a6148;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.public-profile-card > .bi-arrow-right {
  color: #b46f00;
}

.profile-dashboard {
  display: grid;
  gap: 20px;
}

.profile-topbar .brand {
  text-decoration: none;
}

.profile-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  align-items: stretch;
  gap: 18px;
}

.profile-hero {
  display: grid;
  gap: 20px;
  overflow: hidden;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(74, 52, 40, 0.10);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 10%, rgba(246, 178, 26, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(255, 248, 228, 0.98), rgba(255, 255, 255, 0.92)),
    url("data:image/svg+xml,%3Csvg width='96' height='84' viewBox='0 0 96 84' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23b98019' stroke-opacity='0.14' stroke-width='1.2'%3E%3Cpath d='M24 2 48 16 48 44 24 58 0 44 0 16Z'/%3E%3Cpath d='M72 2 96 16 96 44 72 58 48 44 48 16Z'/%3E%3Cpath d='M48 44 72 58 72 86 48 100 24 86 24 58Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, auto, 96px 84px;
  box-shadow: 0 18px 45px rgba(85, 55, 20, 0.10);
}

.profile-hero__intro {
  display: grid;
  gap: 8px;
}

.profile-hero__intro p {
  max-width: 860px;
  margin: 0;
  color: #5f5143;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
}

.profile-hero__intro .landing-eyebrow {
  width: fit-content;
  max-width: 100%;
  color: #3b291a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.profile-hero h1 {
  margin: 0;
  color: #2f2116;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.profile-hero h2 {
  margin: 0;
  color: #3b291a;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.profile-hero p {
  margin: 0;
  color: #5f5143;
  line-height: 1.65;
}

.profile-hero__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
}

.profile-summary-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  container-type: inline-size;
  align-items: start;
  justify-items: stretch;
  gap: 16px;
  min-width: 0;
  padding: clamp(14px, 2vw, 20px);
  border: 1px solid rgba(138, 86, 0, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.profile-summary-card__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.profile-summary-card__avatar {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  overflow: hidden;
  border: 3px solid #fff3cf;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff3cf, #ffe19a);
  color: #8a5600;
  font-size: 36px;
  box-shadow: 0 12px 28px rgba(85, 55, 20, 0.14);
}

.profile-summary-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-summary-card__body {
  display: grid;
  gap: 4px;
  min-width: 0;
  text-align: left;
}

.profile-summary-card__body strong {
  min-width: 0;
  color: #3b291a;
  font-size: 20px;
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: normal;
}

.profile-summary-card__body small {
  min-width: 0;
  color: #5f5143;
  font-weight: 800;
  overflow-wrap: normal;
  word-break: normal;
}

.profile-summary-card__body span,
.profile-kpi span {
  min-width: 0;
  color: #776554;
  font-weight: 900;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.profile-summary-card__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 0;
}

.profile-summary-card .profile-hero__actions {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-summary-card__details div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px 11px;
  border: 1px solid rgba(138, 86, 0, 0.10);
  border-radius: 13px;
  background: rgba(255, 250, 240, 0.82);
}

.profile-summary-card__details dt {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: #776554;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  overflow-wrap: normal;
  word-break: normal;
}

.profile-summary-card__details dd {
  margin: 0;
  color: #3b291a;
  font-size: 14px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.profile-summary-card__bio {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 13px 14px;
  border: 1px solid rgba(138, 86, 0, 0.10);
  border-radius: 16px;
  background: rgba(255, 250, 240, 0.82);
}

.profile-summary-card__bio span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #776554;
  font-size: 12px;
  font-weight: 900;
}

.profile-summary-card__bio p {
  min-width: 0;
  margin: 0;
  color: #3b291a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: normal;
  word-break: normal;
}

.profile-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.profile-kpi,
.profile-panel {
  border: 1px solid rgba(74, 52, 40, 0.10);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 10px 24px rgba(85, 55, 20, 0.07);
}

.profile-kpi {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  container-type: inline-size;
  gap: 8px 12px;
  align-items: center;
  min-width: 0;
  min-height: 104px;
  padding: 14px;
  border-radius: 16px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.profile-kpi i,
.profile-action-grid i,
.profile-record-list > a > i,
.profile-manager-grid i {
  display: grid;
  place-items: center;
  background: #fff3cf;
  color: #8a5600;
}

.profile-kpi i {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 20px;
}

.profile-kpi span {
  align-self: end;
  font-size: clamp(11px, 8cqw, 13px);
  line-height: 1.25;
}

.profile-kpi strong {
  min-width: 0;
  align-self: start;
  color: #3b291a;
  font-size: 30px;
  line-height: 1;
  overflow-wrap: break-word;
}

.profile-kpi:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 137, 0, 0.24);
  box-shadow: 0 14px 30px rgba(85, 55, 20, 0.11);
}

.profile-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 18px;
}

.profile-panel {
  min-width: 0;
  padding: 18px;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(85, 55, 20, 0.08);
}

.profile-panel .section-heading {
  align-items: flex-start;
  margin-bottom: 16px;
  min-width: 0;
}

.profile-panel .section-heading:has(.card-link) {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.profile-panel .section-heading > div,
.profile-panel .section-heading h2,
.profile-panel .section-heading p {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.profile-panel .section-heading h2 {
  margin-bottom: 4px;
}

.profile-panel .section-heading .card-link {
  flex: 0 0 auto;
  margin-top: 8px;
  min-height: 40px;
  border: 1px solid rgba(217, 137, 0, 0.34);
  border-radius: 999px;
  padding: 9px 13px;
  background: linear-gradient(135deg, #ffb21a, #df8a00);
  color: #2f1d0b;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(217, 137, 0, 0.18);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.profile-panel .section-heading .card-link:hover,
.profile-panel .section-heading .card-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(217, 137, 0, 0.46);
  background: linear-gradient(135deg, #ffc247, #c97800);
  color: #241506;
  box-shadow: 0 12px 26px rgba(217, 137, 0, 0.28);
  outline: none;
}

.profile-action-grid,
.profile-record-list,
.profile-health-chart__legend {
  display: grid;
  gap: 10px;
}

.profile-action-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.profile-action-grid a,
.profile-manager-grid a,
.profile-manager-entry,
.profile-record-list a {
  text-decoration: none;
}

.profile-action-grid a,
.profile-manager-grid a,
.profile-manager-entry,
.profile-record-list a,
.profile-empty {
  border: 1px solid rgba(74, 52, 40, 0.10);
  background: #fffdf7;
}

.profile-action-grid a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  container-type: inline-size;
  gap: 12px;
  align-items: center;
  min-width: 0;
  min-height: 86px;
  padding: 15px;
  border-radius: 16px;
  color: #3b291a;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.profile-action-grid a:hover,
.profile-action-grid a:focus-visible,
.profile-manager-grid a:hover,
.profile-manager-grid a:focus-visible,
.profile-manager-entry:hover,
.profile-manager-entry:focus-visible,
.profile-record-list a:hover,
.profile-record-list a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(138, 86, 0, 0.30);
  box-shadow: 0 14px 28px rgba(85, 55, 20, 0.12);
  outline: none;
}

.profile-action-grid i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff3cf;
  font-size: 20px;
}

.profile-action-grid a.profile-action-grid__smart {
  border-color: rgba(45, 105, 164, 0.18);
  background:
    linear-gradient(135deg, rgba(247, 252, 255, 0.96), rgba(255, 255, 255, 0.86)),
    radial-gradient(circle at 18px 18px, rgba(45, 105, 164, 0.08) 2px, transparent 3px);
}

.profile-action-grid a.profile-action-grid__smart i {
  background: linear-gradient(135deg, #eaf5ff, #cfeaff);
  color: #2d69a4;
}

.profile-action-grid a.profile-action-grid__smart:hover,
.profile-action-grid a.profile-action-grid__smart:focus-visible {
  border-color: rgba(45, 105, 164, 0.34);
  box-shadow: 0 14px 28px rgba(45, 105, 164, 0.14);
}

.profile-action-grid span {
  min-width: 0;
  font-size: clamp(12px, 5.4cqw, 14px);
  line-height: 1.3;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.notification-panel {
  position: relative;
  display: grid;
  align-content: start;
  margin-top: 0;
  padding-bottom: 46px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 228, 0.76)),
    radial-gradient(circle at 24px 24px, rgba(217, 137, 0, 0.10) 2px, transparent 3px);
}

.notification-panel__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.notification-panel__title span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: #fff3cf;
  color: #8a5600;
  font-size: 18px;
}

.notification-panel__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.notification-panel__actions .button {
  flex: 1 1 140px;
  justify-content: center;
  min-width: 0;
  text-align: center;
  white-space: normal;
}

.notification-help-tooltip {
  position: relative;
  flex: 0 0 auto;
}

.notification-help-tooltip summary {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(138, 86, 0, 0.18);
  border-radius: 999px;
  background: #fff3cf;
  color: #8a5600;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 8px 18px rgba(85, 55, 20, 0.10);
}

.notification-help-tooltip summary::-webkit-details-marker {
  display: none;
}

.notification-help-tooltip summary:focus-visible {
  outline: 3px solid rgba(246, 178, 26, 0.35);
  outline-offset: 2px;
}

.notification-help-tooltip__content {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 40;
  display: grid;
  gap: 8px;
  width: min(340px, calc(100vw - 32px));
  border: 1px solid rgba(74, 52, 40, 0.12);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 253, 247, 0.98);
  color: #4a3428;
  box-shadow: 0 18px 38px rgba(74, 52, 40, 0.16);
}

.notification-help-tooltip__content strong {
  color: #3b291a;
  font-size: 13px;
}

.notification-help-tooltip__content p {
  margin: 0;
  color: #5f5143;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.notification-panel__help {
  display: flex;
  justify-content: flex-start;
  margin-top: 10px;
}

.notification-panel__help .notification-help-tooltip__content {
  right: auto;
  left: 0;
}

.notification-panel__help--corner {
  position: absolute;
  right: 18px;
  bottom: 18px;
  margin-top: 0;
}

.notification-panel__help--corner .notification-help-tooltip summary {
  width: 36px;
  height: 36px;
  box-shadow: 0 8px 18px rgba(85, 55, 20, 0.10);
}

.notification-panel__help--corner .notification-help-tooltip__content {
  top: auto;
  right: 0;
  bottom: calc(100% + 10px);
  left: auto;
}

.notification-panel__status {
  min-width: 0;
  margin: 10px 0 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff7df;
  color: #6d4200;
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: normal;
  word-break: normal;
}

.notification-panel__overview {
  min-width: 0;
  margin: 10px 44px 0 0;
  color: #776554;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: normal;
  word-break: normal;
}

.notification-panel__status.is-error {
  background: #ffe4dc;
  color: #8a1f14;
}

@media (max-width: 620px) {
  .notification-panel__actions {
    justify-content: stretch;
  }

  .notification-panel__actions .button {
    flex: 1 1 auto;
  }

  .notification-help-tooltip__content {
    right: auto;
    left: 0;
  }
}

.profile-season-weather {
  margin-top: 18px;
  background:
    radial-gradient(circle at 94% 12%, rgba(246, 178, 26, 0.20), transparent 28%),
    linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(255, 245, 218, 0.94)),
    radial-gradient(circle at 16px 16px, rgba(217, 137, 0, 0.08) 2px, transparent 3px);
}

.profile-season-weather .section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.profile-season-weather__advice-button {
  flex: 0 0 auto;
  min-height: 40px;
  margin-top: 4px;
  padding: 9px 14px;
  white-space: nowrap;
}

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

.profile-season-weather__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  container-type: inline-size;
  gap: 14px;
  align-content: start;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(138, 86, 0, 0.16);
  border-radius: 18px;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 228, 0.72)),
    radial-gradient(circle at 18px 18px, rgba(217, 137, 0, 0.10) 2px, transparent 3px);
  box-shadow: 0 14px 32px rgba(85, 55, 20, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.profile-season-weather__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #f6b21a, #d98900);
}

.profile-season-weather__card--advisory {
  border-color: rgba(45, 105, 164, 0.20);
  background:
    linear-gradient(145deg, rgba(247, 252, 255, 0.95), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 18px 18px, rgba(45, 105, 164, 0.08) 2px, transparent 3px);
}

.profile-season-weather__card--advisory::before {
  background: linear-gradient(90deg, #2d69a4, #7ab7e8);
}

.profile-season-weather__card--bloom {
  border-color: rgba(47, 111, 62, 0.20);
  background:
    linear-gradient(145deg, rgba(247, 255, 249, 0.96), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 18px 18px, rgba(47, 111, 62, 0.08) 2px, transparent 3px);
}

.profile-season-weather__card--bloom::before {
  background: linear-gradient(90deg, #2f6f3e, #84c76a);
}

.profile-season-weather__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(138, 86, 0, 0.15);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff3cf, #ffe19a);
  color: #8a5600;
  font-size: 24px;
  box-shadow: 0 10px 22px rgba(85, 55, 20, 0.10);
}

.profile-season-weather__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.profile-season-weather__card-head form {
  flex: 0 0 auto;
}

.profile-season-weather__refresh {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(45, 105, 164, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: #2d69a4;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 8px 18px rgba(45, 105, 164, 0.10);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.profile-season-weather__refresh:hover,
.profile-season-weather__refresh:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(45, 105, 164, 0.34);
  background: #eaf5ff;
  color: #17466f;
  box-shadow: 0 12px 24px rgba(45, 105, 164, 0.18);
  outline: none;
}

.profile-season-weather__card--advisory .profile-season-weather__icon {
  border-color: rgba(45, 105, 164, 0.16);
  background: linear-gradient(135deg, #eaf5ff, #cfeaff);
  color: #2d69a4;
}

.profile-season-weather__card--bloom .profile-season-weather__icon {
  border-color: rgba(47, 111, 62, 0.16);
  background: linear-gradient(135deg, #edf8ef, #d8f2dd);
  color: #2f6f3e;
}

.profile-season-weather__card > div:not(.profile-season-weather__card-head) {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.profile-season-weather__card h3 {
  min-width: 0;
  margin: 0;
  color: #3b291a;
  font-size: clamp(15px, 6cqw, 18px);
  line-height: 1.28;
  overflow-wrap: normal;
  word-break: normal;
}

.profile-mini-list {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.profile-mini-list a,
.profile-mini-list .profile-empty {
  position: relative;
  display: grid;
  gap: 5px;
  min-height: 64px;
  border: 1px solid rgba(74, 52, 40, 0.09);
  border-radius: 14px;
  padding: 11px 12px 11px 14px;
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
  text-decoration: none;
  box-shadow: inset 3px 0 0 rgba(217, 137, 0, 0.28);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.profile-mini-list a:hover,
.profile-mini-list a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(217, 137, 0, 0.32);
  background: rgba(255, 250, 237, 0.96);
  box-shadow: inset 3px 0 0 #d98900, 0 10px 22px rgba(85, 55, 20, 0.10);
  outline: none;
}

.profile-mini-list strong,
.profile-mini-list small {
  display: block;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.profile-mini-list strong {
  color: #3b291a;
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.35;
}

.profile-mini-list small,
.profile-mini-list .profile-empty {
  color: #776554;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.profile-mini-list strong i {
  color: #2f6f3e;
}

.profile-season-weather__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 2px;
}

.profile-season-weather__stats span {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid rgba(138, 86, 0, 0.14);
  border-radius: 14px;
  padding: 10px;
  background: rgba(255, 248, 228, 0.72);
  color: #776554;
  font-size: 12px;
  font-weight: 850;
  overflow-wrap: normal;
  word-break: normal;
}

.profile-season-weather__stats strong {
  display: block;
  color: #3b291a;
  font-size: 26px;
  line-height: 1;
}

.profile-gqss-panel {
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(255, 248, 228, 0.94)),
    radial-gradient(circle at 18px 18px, rgba(217, 137, 0, 0.10) 2px, transparent 3px);
}

.profile-gqss-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.profile-gqss-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  container-type: inline-size;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(138, 86, 0, 0.14);
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.profile-gqss-card:hover,
.profile-gqss-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(217, 137, 0, 0.30);
  box-shadow: 0 14px 28px rgba(85, 55, 20, 0.12);
  outline: none;
}

.profile-gqss-card__score {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #fff3cf;
  color: #6d4200;
  font-size: 20px;
  font-weight: 950;
}

.profile-gqss-card strong,
.profile-gqss-card small,
.profile-gqss-card em {
  display: block;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.profile-gqss-card strong {
  color: #3b291a;
  font-size: 13px;
  line-height: 1.3;
}

.profile-gqss-card small {
  color: #776554;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.profile-gqss-card em {
  margin-top: 3px;
  color: #6d4200;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.profile-gqss-card__trend {
  margin-top: 4px;
  color: #776554;
}

.profile-gqss-card__trend[data-trend="up"] {
  color: #2f6f3e;
}

.profile-gqss-card__trend[data-trend="down"] {
  color: #9a2d20;
}

.profile-gqss-card > i {
  color: #d98900;
}

.profile-health-chart {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.profile-health-chart__ring {
  display: grid;
  place-items: center;
  align-content: center;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #fff 0 56%, transparent 57%),
    conic-gradient(
      #178234 0 var(--active-end),
      #d98900 var(--active-end) var(--attention-end),
      #b42318 var(--attention-end) 360deg
    );
  box-shadow: inset 0 0 0 1px rgba(74, 52, 40, 0.08), 0 18px 34px rgba(85, 55, 20, 0.12);
}

.profile-health-chart__ring span {
  color: #3b291a;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.profile-health-chart__ring small {
  color: #776554;
  font-weight: 900;
}

.profile-health-chart__legend span {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #5f5143;
  font-size: 13px;
  font-weight: 600;
}

.profile-health-chart__legend i {
  display: inline-block;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  min-width: 12px;
  border-radius: 50%;
  background: #178234;
  box-shadow: inset 0 0 0 1px rgba(74, 52, 40, 0.10);
}

.profile-health-chart__legend span:nth-child(2) i {
  background: #d98900;
}

.profile-health-chart__legend span:nth-child(3) i {
  background: #b42318;
}

.profile-health-chart__legend span:nth-child(4) i {
  background: #8a5600;
}

.profile-record-list a,
.profile-empty {
  display: flex;
  container-type: inline-size;
  gap: 12px;
  align-items: center;
  min-width: 0;
  min-height: 68px;
  padding: 12px;
  border-radius: 14px;
}

.profile-record-list a {
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.profile-record-card {
  position: relative;
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 237, 0.92)),
    radial-gradient(circle at 18px 18px, rgba(217, 137, 0, 0.09) 2px, transparent 3px);
}

.profile-record-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #f6b21a, #d98900);
}

.profile-record-card__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: linear-gradient(135deg, #fff3cf, #ffe19a);
  color: #8a5600;
  font-size: 20px;
  box-shadow: 0 8px 18px rgba(85, 55, 20, 0.10);
}

.profile-record-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  min-width: 0;
}

.profile-record-card__action,
.profile-record-card__status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 5px 9px;
  background: #fff3cf;
  color: #6d4200;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.profile-record-card__action {
  width: 34px;
  min-width: 34px;
  padding: 0;
  font-size: 15px;
}

.profile-record-card--hive[data-status="active"]::before {
  background: linear-gradient(180deg, #84c76a, #4fa650);
}

.profile-record-card--hive[data-status="active"] .profile-record-card__status {
  background: #dff7e6;
  color: #12652a;
}

.profile-record-card--hive[data-status="needs_attention"]::before {
  background: linear-gradient(180deg, #f6b21a, #d98900);
}

.profile-record-card--hive[data-status="needs_attention"] .profile-record-card__status {
  background: #fff0bd;
  color: #6d4200;
}

.profile-record-card--hive[data-status="inactive"]::before {
  background: linear-gradient(180deg, #f06b5f, #b42318);
}

.profile-record-card--hive[data-status="inactive"] .profile-record-card__status {
  background: #ffe4e0;
  color: #8f1f17;
}

.profile-record-card:hover .profile-record-card__action,
.profile-record-card:focus-visible .profile-record-card__action {
  background: linear-gradient(135deg, #f6b21a, #d98900);
  color: #2f1d0b;
}

.profile-record-list > a > i {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.profile-record-list strong {
  display: block;
  min-width: 0;
  color: #3b291a;
  font-size: clamp(13px, 4.6cqw, 16px);
  line-height: 1.3;
  overflow-wrap: normal;
  word-break: normal;
}

.profile-record-list small,
.profile-empty {
  min-width: 0;
  color: #776554;
  font-weight: 750;
  overflow-wrap: normal;
  word-break: normal;
}

.profile-manager-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.profile-manager-grid a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px;
  border-radius: 14px;
  color: #3b291a;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.profile-manager-grid i {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.profile-manager-entry {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border-radius: 16px;
  color: #3b291a;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.profile-manager-entry__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8e4, #fff0bd);
  color: #8a5600;
  font-size: 22px;
}

.profile-manager-entry strong,
.profile-manager-entry small {
  display: block;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.profile-manager-entry strong {
  font-size: 16px;
  font-weight: 900;
}

.profile-manager-entry small {
  margin-top: 4px;
  color: #776554;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .profile-overview-grid,
  .profile-hero,
  .profile-main-grid,
  .profile-season-weather__grid {
    grid-template-columns: 1fr;
  }

  .profile-season-weather .section-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .profile-season-weather__advice-button {
    align-self: flex-start;
    margin-top: 0;
  }

  .profile-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .profile-gqss-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .public-profile-hero {
    grid-template-columns: 1fr;
  }

  .public-profile-avatar {
    width: 112px;
  }

  .public-profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-profile-section {
    padding: 14px;
    border-radius: 18px;
  }

  .public-profile-card-grid {
    grid-template-columns: 1fr;
  }

  .public-profile-card {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 12px;
  }

  .public-profile-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .public-profile-card > .bi-arrow-right {
    display: none;
  }

  .profile-hero {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: 16px;
  }

  .profile-panel .section-heading:has(.card-link) {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .profile-panel .section-heading .card-link {
    align-self: flex-start;
    margin-top: 0;
  }

  .profile-summary-card {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .profile-summary-card__head,
  .profile-summary-card__details,
  .profile-summary-card .profile-hero__actions {
    grid-template-columns: 1fr;
  }

  .profile-summary-card__avatar {
    justify-self: center;
    width: 104px;
    height: 104px;
  }

  .profile-summary-card__body {
    text-align: center;
  }

  .profile-hero__actions,
  .profile-hero__actions .button,
  .profile-hero__actions .submit {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .profile-hero__actions .button {
    gap: 6px;
  }

  .profile-hero__actions .button i {
    flex: 0 0 auto;
  }

  .profile-hero__actions .button span {
    flex: 0 1 auto;
    max-width: calc(100% - 34px);
    text-align: center;
    line-height: 1.25;
  }

  .profile-action-grid,
  .profile-gqss-list,
  .profile-season-weather__grid,
  .profile-health-chart {
    grid-template-columns: 1fr;
  }

  .profile-season-weather__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .profile-health-chart__ring {
    justify-self: center;
  }

  .profile-record-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .profile-record-card__status,
  .profile-record-card__action {
    grid-column: 2;
    justify-self: start;
    margin-top: 2px;
  }

  .profile-manager-entry {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
