.theme-public.dashboard-page {
  min-height: 100vh;
  background: #fcf7f1;
}

.theme-public .dashboard-desktop-shell {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 28px;
  align-items: start;
}

.theme-public.dashboard-loading-page {
  background: #fcf7f1;
}

.theme-public .dashboard-loading-section {
  padding: 0;
}

.theme-public .dashboard-loading-shell {
  min-height: 100vh;
}

.theme-public .dashboard-loading-content {
  gap: 18px;
}

.theme-public .dashboard-loading-card,
.theme-public .dashboard-loading-page .content-loading-card,
.theme-public .dashboard-loading-page .content-loading-chip,
.theme-public .dashboard-loading-page .content-loading-line {
  border-color: #efe5d8;
  background: #fffaf4;
  box-shadow: none;
}

.theme-public .dashboard-loading-page .content-loading-card::after,
.theme-public .dashboard-loading-page .content-loading-chip::after,
.theme-public .dashboard-loading-page .content-loading-line::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
}

.theme-public .dashboard-loading-sidebar-card {
  box-shadow: var(--public-shadow);
}

.theme-public .dashboard-loading-logo {
  width: 128px;
  height: 34px;
  border-radius: 12px;
}

.theme-public .dashboard-loading-nav-title {
  width: 96px;
  height: 16px;
}

.theme-public .dashboard-loading-nav-item {
  width: 100%;
  height: 44px;
  border-radius: 18px;
}

.theme-public .dashboard-loading-user-avatar {
  width: 32px;
  height: 32px;
}

.theme-public .dashboard-loading-user-name {
  width: 118px;
  height: 14px;
}

.theme-public .dashboard-loading-user-email {
  width: 156px;
  height: 12px;
}

.theme-public .dashboard-loading-logout {
  width: 100%;
  height: 44px;
  border-radius: 18px;
}

.theme-public .dashboard-loading-header-block {
  display: grid;
  gap: 10px;
}

.theme-public .dashboard-loading-title {
  width: min(220px, 100%);
  height: 44px;
}

.theme-public .dashboard-loading-subtitle {
  width: min(620px, 100%);
  height: 18px;
}

.theme-public .dashboard-loading-grid-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 18px;
}

.theme-public .dashboard-loading-profile-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  min-height: 260px;
  padding: 24px;
  border-radius: 40px;
}

.theme-public .dashboard-loading-profile-photo {
  width: 160px;
  height: 160px;
  min-height: 160px;
  border-radius: 32px;
}

.theme-public .dashboard-loading-profile-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-top: 6px;
}

.theme-public .dashboard-loading-name {
  width: min(280px, 100%);
  height: 38px;
}

.theme-public .dashboard-loading-name-short {
  width: min(220px, 80%);
  height: 38px;
}

.theme-public .dashboard-loading-small {
  width: 132px;
  height: 22px;
}

.theme-public .dashboard-loading-side-card,
.theme-public .dashboard-loading-row-card {
  min-height: 220px;
  border-radius: 40px;
}

.theme-public .dashboard-loading-row-card {
  min-height: 160px;
}

.theme-public .dashboard-sidebar-shell {
  position: sticky;
  top: 20px;
  height: calc(100vh - 40px);
}

.theme-public .dashboard-mobile-menu-bar {
  display: none;
}

.theme-public .dashboard-sidebar-backdrop {
  height: 100%;
}

.theme-public .dashboard-sidebar-card {
  height: 100%;
  padding: 18px;
  border-radius: 40px;
  background: #ffffff;
  box-shadow: var(--public-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.theme-public .dashboard-sidebar-card::-webkit-scrollbar {
  width: 6px;
}

.theme-public .dashboard-sidebar-card::-webkit-scrollbar-track {
  background: transparent;
}

.theme-public .dashboard-sidebar-card::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(217, 117, 4, 0.24);
}

.theme-public .dashboard-sidebar-card::-webkit-scrollbar-thumb:hover {
  background: rgba(217, 117, 4, 0.38);
}

.theme-public .dashboard-sidebar-mobile-head {
  display: none;
}

.theme-public .dashboard-sidebar-top {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 16px;
}

.theme-public .dashboard-sidebar-logo {
  display: inline-flex;
  align-items: center;
}

.theme-public .dashboard-sidebar-logo-image {
  width: 128px;
  height: auto;
  display: block;
}

.theme-public .dashboard-sidebar-groups {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.theme-public .dashboard-sidebar-project-link {
  display: flex;
  flex-direction: column;
  margin-bottom: 4px;
}

.theme-public .dashboard-sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.theme-public .dashboard-sidebar-group-title {
  color: #475467;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.theme-public .dashboard-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.theme-public .dashboard-sidebar-link {
  width: 100%;
  min-height: 40px;
  padding: 8px 9px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: #3b3340;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
  position: relative;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.theme-public .dashboard-sidebar-link-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-block;
  background: currentColor;
  opacity: 0.78;
  -webkit-mask: var(--dashboard-sidebar-icon) center / contain no-repeat;
  mask: var(--dashboard-sidebar-icon) center / contain no-repeat;
  transition: opacity 0.18s ease, background-color 0.18s ease;
}

.theme-public .dashboard-sidebar-link-label {
  min-width: 0;
  white-space: nowrap;
}

.theme-public .dashboard-sidebar-link-badge {
  min-width: 20px;
  height: 20px;
  margin-left: auto;
  padding: 0 6px;
  border-radius: 999px;
  background: #ed1c24;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(237, 28, 36, 0.22);
}

.theme-public .dashboard-sidebar-link:hover {
  background: #fcf7f1;
}

.theme-public .dashboard-sidebar-link.is-active {
  background: #fff0da;
  color: #d97504;
  font-weight: 600;
}

.theme-public .dashboard-sidebar-link.is-active .dashboard-sidebar-link-icon {
  opacity: 1;
}

.theme-public .dashboard-sidebar-link.is-disabled {
  opacity: 0.82;
  cursor: default;
}

.theme-public .dashboard-sidebar-bottom {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 16px;
}

.theme-public .dashboard-sidebar-user {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px 0 8px;
}

.theme-public .dashboard-sidebar-user-link {
  min-width: 0;
  flex: 1;
  padding: 6px 6px;
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.theme-public .dashboard-sidebar-user-link:hover,
.theme-public .dashboard-sidebar-user-link:focus-visible {
  background: #fcf7f1;
  outline: none;
  transform: translateY(-1px);
}

.theme-public .dashboard-sidebar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  overflow: hidden;
  background: #fff0da;
  color: #d97504;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-public .dashboard-sidebar-avatar-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.theme-public .dashboard-sidebar-user-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.theme-public .dashboard-sidebar-user-name {
  color: #404040;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.theme-public .dashboard-sidebar-user-email {
  color: #525252;
  font-size: 12px;
  line-height: 18px;
  overflow-wrap: anywhere;
}

.theme-public .dashboard-sidebar-user-contact-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.theme-public .dashboard-sidebar-user-contact-row .dashboard-sidebar-user-email {
  min-width: 0;
  flex: 1;
}

.theme-public .dashboard-sidebar-contact-toggle {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #d97504;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.theme-public .dashboard-sidebar-contact-toggle:hover,
.theme-public .dashboard-sidebar-contact-toggle:focus-visible {
  background: #fff0da;
  outline: none;
}

.theme-public .dashboard-sidebar-eye {
  position: relative;
  width: 15px;
  height: 11px;
  display: block;
  background: linear-gradient(
    135deg,
    transparent calc(50% - 1px),
    currentColor calc(50% - 1px),
    currentColor calc(50% + 1px),
    transparent calc(50% + 1px)
  );
}

.theme-public .dashboard-sidebar-eye::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 1.6px solid currentColor;
  border-radius: 70% 15%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.theme-public .dashboard-sidebar-eye::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.theme-public .dashboard-sidebar-eye.is-visible {
  background: none;
}

.theme-public .dashboard-sidebar-logout {
  width: 100%;
  min-height: 45px;
}

.theme-public .dashboard-sidebar-close {
  width: 42px;
  height: 42px;
  border: 1px solid #f0e5d8;
  border-radius: 999px;
  background: #fffaf4;
  color: #201c24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.theme-public .dashboard-sidebar-close-icon {
  position: relative;
  width: 16px;
  height: 16px;
  display: block;
}

.theme-public .dashboard-sidebar-close-icon::before,
.theme-public .dashboard-sidebar-close-icon::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  width: 2px;
  height: 16px;
  border-radius: 999px;
  background: currentColor;
}

.theme-public .dashboard-sidebar-close-icon::before {
  transform: rotate(45deg);
}

.theme-public .dashboard-sidebar-close-icon::after {
  transform: rotate(-45deg);
}

.theme-public .dashboard-overview-main {
  min-width: 0;
}

.theme-public .dashboard-overview-surface {
  padding: 20px;
  border-radius: 32px;
  background: #fcf7f1;
}

.theme-public .dashboard-overview-content {
  padding: 32px 40px;
  border-radius: 34px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.theme-public .dashboard-overview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.theme-public .dashboard-overview-heading {
  max-width: 680px;
}

.theme-public .dashboard-overview-title {
  margin: 0;
  color: #201c24;
  font-size: 40px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.theme-public .dashboard-overview-subtitle {
  margin: 8px 0 0;
  color: #3b3340;
  font-size: 16px;
  line-height: 22.4px;
}

.theme-public .dashboard-inline-notice {
  padding: 14px 18px;
  color: #8b5a28;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  background: #fff8ee;
  border: 1px solid #efe5d8;
  border-radius: 22px;
}

.theme-public .dashboard-inline-notice.is-error {
  color: #8a1f1f;
  background: #fff1f1;
  border-color: #f4c7c7;
}

.theme-public .dashboard-notifications-panel {
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e8dccc;
  box-shadow: 0 10px 24px rgba(45, 33, 20, 0.08);
}

.theme-public .dashboard-notifications-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.theme-public .dashboard-notification-card {
  padding: 18px;
  border: 1px solid #eee2d5;
  border-radius: 18px;
  background: #fffdf9;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.theme-public .dashboard-notification-card.is-unread {
  border-color: #f4c06d;
  background: #fff8ee;
}

.theme-public .dashboard-notification-main {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.theme-public .dashboard-notification-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff0da;
  color: #d97504;
  flex: 0 0 44px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}

.theme-public .dashboard-notification-avatar.has-image {
  color: transparent;
  background: #f6efe7;
}

.theme-public .dashboard-notification-avatar-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.theme-public .dashboard-notification-copy {
  min-width: 0;
}

.theme-public .dashboard-notification-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #8f8580;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.theme-public .dashboard-notification-type {
  color: #d97504;
}

.theme-public .dashboard-notification-title {
  margin: 4px 0 0;
  color: #201c24;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

.theme-public .dashboard-notification-description {
  margin: 4px 0 0;
  color: #4b424d;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.theme-public .dashboard-notification-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.theme-public .dashboard-notification-secondary-action {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #e8dccc;
  border-radius: 999px;
  background: #ffffff;
  color: #d97504;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.theme-public .dashboard-notification-primary-action {
  min-height: 38px;
  padding: 8px 16px;
  white-space: nowrap;
  border-color: #f7a700;
  background: #f7a700;
  color: #ffffff;
}

.theme-public .dashboard-notification-primary-action:hover {
  border-color: #e89800;
  background: #e89800;
  color: #ffffff;
}

.theme-public .dashboard-notification-mark-all {
  white-space: nowrap;
}

.theme-public .dashboard-overview-grid {
  display: grid;
  gap: 20px;
}

.theme-public .dashboard-overview-grid-top {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.theme-public .dashboard-overview-grid-middle {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.theme-public .dashboard-overview-grid-bottom {
  grid-template-columns: 1fr;
}

.theme-public .dashboard-weight-content {
  gap: 32px;
}

.theme-public .dashboard-weight-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.theme-public .dashboard-measure-card {
  padding: 24px;
  border-radius: 40px;
}

.theme-public .dashboard-measure-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.theme-public .dashboard-measure-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  font-size: 30px;
}

.theme-public .dashboard-measure-card-icon-image {
  width: 34px;
  height: 34px;
}

.theme-public .dashboard-measure-card-title {
  color: #6a6370;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.theme-public .dashboard-measure-card-value {
  margin-top: 4px;
  color: #201c24;
  font-size: 26px;
  font-weight: 600;
  line-height: 32px;
}

.theme-public .dashboard-weight-chart-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 34px;
}

.theme-public .dashboard-blog-content {
  gap: 18px;
}

.theme-public .dashboard-questionnaire-content {
  gap: 18px;
}

.theme-public .dashboard-questionnaire-card {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  padding: 20px 24px 24px;
  border-radius: 40px;
  border: 1px solid rgba(217, 217, 217, 0.12);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(46, 33, 20, 0.08);
}

.theme-public .dashboard-questionnaire-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.theme-public .dashboard-questionnaire-photo-stack {
  display: grid;
  gap: 10px;
}

.theme-public .dashboard-questionnaire-photo {
  position: relative;
  width: 244px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 40px;
  overflow: hidden;
  background: #fff0da;
  color: #d97504;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.theme-public .dashboard-questionnaire-photo:hover,
.theme-public .dashboard-questionnaire-photo:focus-within {
  box-shadow: 0 14px 28px rgba(72, 52, 37, 0.14);
  transform: translateY(-1px);
}

.theme-public .dashboard-questionnaire-photo.has-image {
  background: #f6efe7;
}

.theme-public .dashboard-questionnaire-photo.is-uploading {
  cursor: progress;
  opacity: 0.78;
}

.theme-public .dashboard-questionnaire-photo.is-readonly {
  cursor: default;
}

.theme-public .dashboard-questionnaire-photo.is-readonly:hover,
.theme-public .dashboard-questionnaire-photo.is-readonly:focus-within {
  box-shadow: none;
  transform: none;
}

.theme-public .dashboard-questionnaire-photo-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.theme-public .dashboard-questionnaire-photo-letter {
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
}

.theme-public .dashboard-questionnaire-avatar-message {
  width: 244px;
  max-width: 100%;
}

.theme-public .dashboard-questionnaire-edit {
  flex-shrink: 0;
}

.theme-public .dashboard-questionnaire-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  width: 100%;
}

.theme-public .dashboard-questionnaire-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.theme-public .dashboard-questionnaire-field.is-wide {
  grid-column: 1 / -1;
}

.theme-public .dashboard-questionnaire-field-label {
  color: #201c24;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.theme-public .dashboard-questionnaire-field-value {
  min-height: 58px;
  padding: 12px 16px 12px 12px;
  border: 1px solid #e8dccd;
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #201c24;
}

.theme-public .dashboard-questionnaire-field-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #201c24;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
}

.theme-public .dashboard-questionnaire-field-suffix {
  flex-shrink: 0;
  color: #8f8580;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.theme-public .dashboard-questionnaire-option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.theme-public .dashboard-questionnaire-field-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: block;
  background: #8f8580;
  -webkit-mask: var(--dashboard-questionnaire-icon) center / 16px 16px no-repeat;
  mask: var(--dashboard-questionnaire-icon) center / 16px 16px no-repeat;
}

.theme-public .dashboard-questionnaire-field-text {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #201c24;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
}

.theme-public .dashboard-questionnaire-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.theme-public .dashboard-admin-content {
  gap: 18px;
}

.theme-public .dashboard-admin-refresh {
  flex-shrink: 0;
}

.theme-public .dashboard-admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.theme-public .dashboard-admin-summary-card {
  min-height: 128px;
  padding: 18px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.theme-public .dashboard-admin-summary-card:hover {
  border-color: #f1b46d;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(217, 117, 4, 0.12);
}

.theme-public .dashboard-admin-summary-card.is-active {
  border-color: #d97504;
  background: #fff8ef;
  box-shadow:
    inset 0 0 0 1px rgba(217, 117, 4, 0.16),
    0 14px 32px rgba(217, 117, 4, 0.14);
}

.theme-public .dashboard-admin-summary-value {
  color: #201c24;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.theme-public .dashboard-admin-summary-title {
  margin-top: 12px;
  color: #201c24;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.theme-public .dashboard-admin-summary-caption {
  margin-top: 6px;
  color: #8f8580;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.theme-public .dashboard-admin-list-card {
  padding: 22px;
}

.theme-public .dashboard-admin-announcement-card {
  border-color: #f0d2d2;
  background: linear-gradient(135deg, #fff6f6 0%, #ffffff 100%);
}

.theme-public .dashboard-admin-export-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 18px;
}

.theme-public .dashboard-admin-export-btn {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 13px;
}

.theme-public .dashboard-admin-pagination {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eee2d5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.theme-public .dashboard-admin-pagination-info {
  color: #6a6370;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.theme-public .dashboard-admin-pagination-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.theme-public .dashboard-admin-page-btn {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 13px;
}

.theme-public .dashboard-medical-checks-action {
  margin: 8px 0 14px;
}

.theme-public .dashboard-medical-checks-btn {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #e8dccc;
  border-radius: 999px;
  background: #ffffff;
  color: #3b3340;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.theme-public .dashboard-medical-checks-btn:hover {
  border-color: #d97504;
  background: #fff8ef;
  color: #d97504;
}

.theme-public .dashboard-medical-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(32, 28, 36, 0.5);
  backdrop-filter: blur(8px);
  overscroll-behavior: contain;
}

.theme-public .dashboard-medical-modal {
  width: min(100%, 820px);
  max-height: min(86vh, 820px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(232, 220, 205, 0.95);
  border-radius: 24px;
  background: #fffaf4;
  box-shadow: 0 28px 72px rgba(32, 28, 36, 0.2);
}

.theme-public .dashboard-medical-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid rgba(232, 220, 205, 0.95);
  flex: 0 0 auto;
}

.theme-public .dashboard-medical-modal-title {
  margin: 0;
  color: #201c24;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.18;
}

.theme-public .dashboard-medical-modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(232, 220, 205, 0.95);
  border-radius: 999px;
  background: #ffffff;
  color: #6a6370;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}

.theme-public .dashboard-medical-modal-body {
  min-height: 0;
  padding: 20px 24px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.theme-public .dashboard-medical-modal-text {
  margin: 0;
  color: #4a414f;
  font-size: 15px;
  line-height: 1.55;
}

.theme-public .dashboard-medical-modal-list {
  margin: 0;
  padding-left: 20px;
  color: #4a414f;
}

.theme-public .dashboard-medical-modal-list li {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-line;
}

@media (max-width: 640px) {
  .theme-public .dashboard-medical-modal-backdrop {
    align-items: stretch;
    padding: 12px;
  }

  .theme-public .dashboard-medical-modal {
    max-height: calc(100vh - 24px);
    border-radius: 20px;
  }

  .theme-public .dashboard-medical-modal-title {
    font-size: 20px;
  }
}

.theme-public .dashboard-admin-list {
  display: grid;
  gap: 10px;
}

.theme-public .dashboard-admin-application {
  border: 1px solid #eadfce;
  border-radius: 18px;
  background: #fffdfa;
  overflow: hidden;
}

.theme-public .dashboard-admin-application-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.theme-public .dashboard-admin-application-summary::-webkit-details-marker {
  display: none;
}

.theme-public .dashboard-admin-application-name {
  color: #201c24;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.theme-public .dashboard-admin-application-meta,
.theme-public .dashboard-admin-application-date {
  color: #8f8580;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.theme-public .dashboard-admin-application-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.theme-public .dashboard-admin-application-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: #1f5fbf;
  font-size: 12px;
  font-weight: 800;
  line-height: 16px;
}

.theme-public .dashboard-admin-application-badge.is-tv {
  background: #fff0da;
  color: #d97504;
}

.theme-public .dashboard-admin-application-badge.is-clinic {
  background: #ecf8ef;
  color: #16803d;
}

.theme-public .dashboard-admin-application-badge.is-unknown {
  background: #f2f0ed;
  color: #70675f;
}

.theme-public .dashboard-admin-application-body {
  display: grid;
  gap: 14px;
  padding: 0 16px 16px;
}

.theme-public .dashboard-admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.theme-public .dashboard-admin-detail-item {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ffffff;
  color: #3a332e;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  overflow-wrap: anywhere;
}

.theme-public .dashboard-admin-file-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.theme-public .dashboard-admin-files {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.theme-public .dashboard-admin-files-title {
  color: #6f6258;
  font-size: 13px;
  font-weight: 700;
}

.theme-public .dashboard-admin-file-missing {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #eadfd1;
  color: #9a8d82;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.theme-public .dashboard-social-compose-card,
.theme-public .dashboard-social-posts-card {
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e8dccc;
  box-shadow: 0 10px 24px rgba(45, 33, 20, 0.08);
}

.theme-public .dashboard-social-compose-card {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.theme-public .dashboard-social-compose-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.theme-public .dashboard-social-compose-icon {
  width: 55px;
  height: 55px;
  border-radius: 16px;
  font-size: 24px;
}

.theme-public .dashboard-social-compose-copy {
  flex: 1 1 auto;
}

.theme-public .dashboard-social-section-title {
  margin: 0;
  color: #201c24;
  font-size: 28px;
  font-weight: 600;
  line-height: 34px;
}

.theme-public .dashboard-social-section-caption {
  margin: 2px 0 0;
  color: #6a6370;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.theme-public .dashboard-social-help-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #f0dfca;
  background: linear-gradient(135deg, #fffaf3 0%, #ffffff 100%);
  color: #4a3d34;
  box-shadow: 0 8px 20px rgba(45, 33, 20, 0.05);
}

.theme-public .dashboard-social-help-title {
  margin-bottom: 4px;
  color: #201c24;
  font-size: 15px;
  font-weight: 800;
  line-height: 20px;
}

.theme-public .dashboard-social-help-card p {
  margin: 0;
  color: #6a6370;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.theme-public .dashboard-social-help-card.is-compact {
  padding: 12px 16px;
}

.theme-public .dashboard-feed-refresh-btn {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #e8dccc;
  border-radius: 999px;
  background: #ffffff;
  color: #6a6370;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.theme-public .dashboard-feed-refresh-btn:hover {
  border-color: #f28a2e;
  background: #fff6eb;
  color: #d97504;
  transform: translateY(-1px);
}

.theme-public .dashboard-feed-refresh-btn:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.theme-public .dashboard-social-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.theme-public .dashboard-social-filter-row.is-compact {
  justify-content: flex-end;
}

.theme-public .dashboard-social-filter-btn {
  border: 1px solid #eadfd2;
  border-radius: 999px;
  background: #fffaf5;
  color: #6f625b;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  padding: 10px 16px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.theme-public .dashboard-social-filter-btn:hover {
  border-color: #f0bf86;
  color: #d97504;
  transform: translateY(-1px);
}

.theme-public .dashboard-social-filter-btn.is-active {
  border-color: #d97504;
  background: #d97504;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(217, 117, 4, 0.18);
}

.theme-public .dashboard-post-prompts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 2px 0 4px;
}

.theme-public .dashboard-post-prompts-label {
  color: #9a8f87;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 18px;
  text-transform: uppercase;
}

.theme-public .dashboard-post-prompts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.theme-public .dashboard-post-prompt-chip {
  border: 1px solid #eadfd2;
  border-radius: 999px;
  background: #ffffff;
  color: #5e5550;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  padding: 9px 13px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.theme-public .dashboard-post-prompt-chip:hover {
  transform: translateY(-1px);
}

.theme-public .dashboard-post-prompt-chip.is-active {
  box-shadow: 0 10px 22px rgba(217, 117, 4, 0.16);
  transform: translateY(-1px);
}

.theme-public .dashboard-post-prompt-chip.is-day {
  background: #fff8ec;
  border-color: #f0d3a8;
  color: #b86100;
}

.theme-public .dashboard-post-prompt-chip.is-day.is-active {
  background: #d97504;
  border-color: #d97504;
  color: #ffffff;
}

.theme-public .dashboard-post-prompt-chip.is-question {
  background: #eef8fb;
  border-color: #b9dce7;
  color: #015a7f;
}

.theme-public .dashboard-post-prompt-chip.is-question.is-active {
  background: #015a7f;
  border-color: #015a7f;
  color: #ffffff;
}

.theme-public .dashboard-post-prompt-chip.is-win {
  background: #f1fbf5;
  border-color: #bfe5ce;
  color: #237544;
}

.theme-public .dashboard-post-prompt-chip.is-win.is-active {
  background: #237544;
  border-color: #237544;
  color: #ffffff;
}

.theme-public .dashboard-post-prompt-chip.is-support {
  background: #fff1f1;
  border-color: #f0c3c3;
  color: #b33838;
}

.theme-public .dashboard-post-prompt-chip.is-support.is-active {
  background: #b33838;
  border-color: #b33838;
  color: #ffffff;
}

.theme-public .dashboard-social-compose-field {
  width: 100%;
}

.theme-public .dashboard-social-compose-textarea {
  width: 100%;
  min-height: 136px;
  resize: vertical;
  border-radius: 20px;
  border: 1px solid #e8dccc;
  background: #fffdfb;
  padding: 18px 20px;
  color: #201c24;
  font-size: 16px;
  line-height: 22.4px;
  outline: none;
}

.theme-public .dashboard-social-compose-textarea::placeholder {
  color: #8f8580;
}

.theme-public .dashboard-social-compose-textarea:focus {
  border-color: #d9c3a7;
}

.theme-public .dashboard-social-compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.theme-public .dashboard-social-compose-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.theme-public .dashboard-social-tool-btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #e8dccc;
  background: #ffffff;
  color: #6a6370;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-public .dashboard-social-tool-btn.is-active {
  border-color: #d97504;
  color: #8b4d04;
  background: #fff8ee;
}

.theme-public .dashboard-social-chart-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.theme-public .dashboard-social-chart-options {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.theme-public .dashboard-social-chart-option {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid #eadfd3;
  background: #ffffff;
  color: #6a6370;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.theme-public .dashboard-social-chart-option.is-active {
  border-color: #d97504;
  color: #8b4d04;
  background: #fff5e8;
}

.theme-public .dashboard-social-compose-preview {
  position: relative;
  width: 220px;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #e8dccc;
  background: #fcf7f1;
}

.theme-public .dashboard-social-compose-preview-image,
.theme-public .dashboard-social-compose-preview-video,
.theme-public .dashboard-social-post-media-image,
.theme-public .dashboard-social-post-media-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.theme-public .dashboard-social-compose-remove-photo {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  background: rgba(32, 28, 36, 0.72);
  cursor: pointer;
}

.theme-public .dashboard-social-compose-tag,
.theme-public .dashboard-social-post-badge {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff5e8;
  color: #8a5c1e;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  display: inline-flex;
  align-items: center;
}

.theme-public .dashboard-social-compose-tag.is-announcement {
  background: #fff1f1;
  color: #b02121;
  border: 1px solid rgba(176, 33, 33, 0.16);
}

.theme-public .dashboard-social-post-badge.is-link {
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.theme-public .dashboard-social-post-badge.is-link:hover,
.theme-public .dashboard-social-post-badge.is-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(217, 117, 4, 0.16);
}

.theme-public .dashboard-social-publish-btn {
  background: #f6a600;
  border-color: #f6a600;
}

.theme-public .dashboard-social-posts-card {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.theme-public .dashboard-feed-content {
  gap: 18px;
}

.theme-public .dashboard-social-feed-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.theme-public .dashboard-social-feed-card {
  padding: 24px;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid rgba(217, 217, 217, 0.12);
  box-shadow: 0 10px 24px rgba(45, 33, 20, 0.08);
}

.theme-public .dashboard-social-post-frame.is-announcement,
.theme-public .dashboard-social-post-frame.is-group-post {
  padding: 0;
  border-radius: 28px;
}

.theme-public .dashboard-groups-content {
  gap: 18px;
}

.theme-public .dashboard-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.theme-public .dashboard-group-create-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
}

.theme-public .dashboard-group-create-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.theme-public .dashboard-group-create-actions,
.theme-public .dashboard-group-create-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.theme-public .dashboard-group-create-limit {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #e8dccc;
  border-radius: 999px;
  color: #6a6370;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  background: #fffaf4;
}

.theme-public .dashboard-group-create-btn {
  min-width: 154px;
}

.theme-public .dashboard-group-create-form {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.theme-public .dashboard-group-accent-picker {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.theme-public .dashboard-group-accent-swatch {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(32, 28, 36, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.theme-public .dashboard-group-accent-swatch:hover,
.theme-public .dashboard-group-accent-swatch:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(32, 28, 36, 0.12);
}

.theme-public .dashboard-group-accent-swatch.is-active {
  border-color: #201c24;
  box-shadow:
    0 0 0 3px rgba(32, 28, 36, 0.08),
    0 10px 20px rgba(32, 28, 36, 0.14);
}

.theme-public .dashboard-group-cover-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.theme-public .dashboard-group-cover-preview {
  position: relative;
  width: 160px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #e8dccc;
  background: #fcf7f1;
}

.theme-public .dashboard-group-cover-preview-image,
.theme-public .dashboard-group-card-cover,
.theme-public .dashboard-group-details-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.theme-public .dashboard-group-create-textarea {
  min-height: 96px;
}

.theme-public .dashboard-group-card {
  padding: 24px;
  border-radius: 40px;
}

.theme-public .dashboard-group-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.theme-public .dashboard-group-card-link.is-owned {
  border-color: rgba(61, 113, 241, 0.42);
  box-shadow:
    0 18px 38px rgba(32, 28, 36, 0.06),
    0 0 0 2px rgba(61, 113, 241, 0.08);
}

.theme-public .dashboard-group-card-link:hover,
.theme-public .dashboard-group-card-link:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 18px 38px rgba(32, 28, 36, 0.08),
    0 0 0 1px rgba(217, 117, 4, 0.14);
}

.theme-public .dashboard-group-card-link.is-owned:hover,
.theme-public .dashboard-group-card-link.is-owned:focus-visible {
  box-shadow:
    0 18px 38px rgba(32, 28, 36, 0.08),
    0 0 0 1px rgba(61, 113, 241, 0.3),
    0 0 0 4px rgba(61, 113, 241, 0.08);
}

.theme-public .dashboard-group-card-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.theme-public .dashboard-group-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.theme-public .dashboard-group-card-main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.theme-public .dashboard-group-card-image {
  overflow: hidden;
  width: 140px;
  height: 140px;
  border-radius: 32px;
  background: #fcf7f1;
  color: #8f8580;
  font-size: 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.theme-public .dashboard-group-card-image.has-image {
  background: transparent;
}

.theme-public .dashboard-group-card-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.theme-public .dashboard-group-card-title {
  margin: 0;
  color: #201c24;
  font-size: 26px;
  font-weight: 600;
  line-height: 32px;
}

.theme-public .dashboard-group-card-curator-wrap {
  align-items: center;
  gap: 12px;
}

.theme-public .dashboard-group-card-curator-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.theme-public .dashboard-group-card-curator-label {
  color: #6a6370;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.theme-public .dashboard-group-card-curator-name {
  color: #d97504;
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
}

.theme-public .dashboard-group-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.theme-public .dashboard-group-card-arrow {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid #e8dccc;
  background: #ffffff;
  color: #8f8580;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  transition:
    transform 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.theme-public .dashboard-group-card-link:hover .dashboard-group-card-arrow,
.theme-public .dashboard-group-card-link:focus-visible .dashboard-group-card-arrow {
  transform: translateX(2px);
  border-color: rgba(217, 117, 4, 0.22);
  background: #fff7ec;
  color: #d97504;
}

.theme-public .dashboard-author-content {
  gap: 18px;
}

.theme-public .dashboard-author-hero {
  padding: 22px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.theme-public .dashboard-author-avatar {
  width: 88px;
  height: 88px;
  border-radius: 28px;
  overflow: hidden;
  flex: 0 0 88px;
  background: #fff0da;
  color: #d97504;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 800;
}

.theme-public .dashboard-author-avatar.has-image {
  background: #f6efe7;
  color: transparent;
}

.theme-public .dashboard-author-avatar-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.theme-public .dashboard-author-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.theme-public .dashboard-author-label {
  color: #d97504;
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
}

.theme-public .dashboard-author-title {
  margin: 0;
  color: #201c24;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
}

.theme-public .dashboard-author-caption {
  margin: 0;
  color: #6a6370;
  font-size: 15px;
  font-weight: 500;
  line-height: 21px;
}

.theme-public .dashboard-group-details-content {
  gap: 18px;
}

.theme-public .dashboard-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 5px;
}

.theme-public .dashboard-breadcrumb-link,
.theme-public .dashboard-breadcrumb-sep {
  color: #bdbdbd;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
}

.theme-public a.dashboard-breadcrumb-link {
  text-decoration: none;
  transition: color 0.2s ease;
}

.theme-public a.dashboard-breadcrumb-link:hover {
  color: #d97504;
}

.theme-public .dashboard-breadcrumb-current {
  color: #d97504;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.theme-public .dashboard-group-details-hero {
  padding: 24px;
  border-radius: 40px;
}

.theme-public .dashboard-group-details-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.theme-public .dashboard-group-details-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
  flex: 1 1 auto;
}

.theme-public .dashboard-group-details-media {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex-shrink: 0;
}

.theme-public .dashboard-group-details-image {
  position: relative;
  overflow: hidden;
  width: 190px;
  height: 190px;
  border-radius: 32px;
  background: #fcf7f1;
  color: #8f8580;
  font-size: 22px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.theme-public .dashboard-group-details-image.has-image {
  background: transparent;
}

.theme-public .dashboard-group-details-image.is-editable {
  cursor: pointer;
}

.theme-public .dashboard-group-details-cover-edit {
  display: flex;
  flex-direction: column;
}

.theme-public .dashboard-group-cover-action {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 14px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  background: rgba(32, 28, 36, 0.78);
  backdrop-filter: blur(8px);
}

.theme-public .dashboard-group-details-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  align-self: flex-start;
  padding-top: 8px;
}

.theme-public .dashboard-group-details-title {
  margin: 0;
  color: #201c24;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.05;
}

.theme-public .dashboard-group-details-description {
  max-width: 620px;
  margin: 0;
  color: #6a6370;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.theme-public .dashboard-group-edit-form {
  width: min(560px, 100%);
  display: grid;
  gap: 12px;
}

.theme-public .dashboard-group-edit-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.theme-public .dashboard-group-details-curator-block {
  align-items: center;
  gap: 12px;
}

.theme-public .dashboard-group-details-curator-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.theme-public .dashboard-group-details-curator-label {
  color: #6a6370;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
}

.theme-public .dashboard-group-details-curator-name {
  color: #d97504;
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
}

.theme-public .dashboard-group-details-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 16px;
  flex: 0 0 360px;
}

.theme-public .dashboard-group-details-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.theme-public .dashboard-group-stat-card {
  min-height: 128px;
  padding: 18px 20px;
  border-radius: 32px;
  border: 1px solid #e8dccc;
  box-shadow: none;
}

.theme-public .dashboard-group-stat-card-button {
  width: 100%;
  text-align: left;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.theme-public .dashboard-group-stat-card-button:hover,
.theme-public .dashboard-group-stat-card-button.is-open {
  border-color: #d9c3a6;
  box-shadow: 0 10px 22px rgba(212, 176, 120, 0.12);
}

.theme-public .dashboard-group-stat-card .dashboard-panel-title-wrap {
  height: 100%;
  align-items: center;
  gap: 14px;
}

.theme-public .dashboard-group-stat-icon {
  width: 66px;
  height: 66px;
  font-size: 28px;
}

.theme-public .dashboard-group-stat-icon-image {
  width: 26px;
  height: 26px;
  filter: brightness(0) saturate(100%) invert(55%) sepia(90%) saturate(1628%) hue-rotate(357deg)
    brightness(101%) contrast(96%);
}

.theme-public .dashboard-group-stat-label {
  color: #8f8580;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}

.theme-public .dashboard-group-stat-value {
  color: #201c24;
  font-size: 26px;
  font-weight: 600;
  line-height: 32px;
}

.theme-public .dashboard-group-details-tags {
  display: flex;
  justify-content: flex-start;
}

.theme-public .dashboard-group-details-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.theme-public .dashboard-group-members-panel {
  border-radius: 32px;
  padding: 24px;
}

.theme-public .dashboard-group-members-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}

.theme-public .dashboard-group-member-row {
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0e6da;
}

.theme-public .dashboard-group-member-row:last-child {
  border-bottom: none;
}

.theme-public .dashboard-group-member-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.theme-public .dashboard-group-member-name {
  color: #201c24;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}

.theme-public .dashboard-group-member-meta {
  color: #8f8580;
  font-size: 14px;
  line-height: 20px;
}

.theme-public .dashboard-group-members-actions {
  display: flex;
  justify-content: center;
  padding-top: 12px;
}

.theme-public .dashboard-group-members-screen-card {
  border-radius: 32px;
  padding: 28px;
}

.theme-public .dashboard-group-members-screen-head {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  width: 100%;
}

.theme-public .dashboard-group-members-screen-head .dashboard-panel-title-wrap {
  min-width: 0;
  flex: 1 1 auto;
}

.theme-public .dashboard-group-members-back-btn {
  flex: 0 0 auto;
  margin-left: auto;
}

.theme-public .dashboard-group-members-screen-list {
  padding-top: 18px;
}

.theme-public .dashboard-group-member-row-expanded {
  padding: 16px 0;
}

.theme-public .dashboard-group-posts-card {
  border-radius: 32px;
}

.theme-public .dashboard-social-post-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.theme-public .dashboard-social-post-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border-radius: 28px;
}

.theme-public .dashboard-social-post-frame.is-announcement {
  border: 2px solid #df6f6f;
  background: linear-gradient(180deg, #fff5f5 0%, #fffafa 100%);
  box-shadow: 0 10px 24px rgba(176, 33, 33, 0.10);
}

.theme-public .dashboard-social-post-card.is-group-post .dashboard-social-post-badge {
  background: #289b7c;
  color: #ffffff;
}

.theme-public .dashboard-social-post-card.is-announcement .dashboard-social-post-badge {
  background: #cf2e2e;
  color: #ffffff;
}

.theme-public .dashboard-social-post-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.theme-public .dashboard-social-post-head-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.theme-public .dashboard-social-post-manage {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.theme-public .dashboard-social-post-manage-btn {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #e8dccc;
  background: #ffffff;
  color: #6a6370;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  cursor: pointer;
}

.theme-public .dashboard-social-post-manage-btn.is-active {
  color: #d97504;
  border-color: #d97504;
  background: #fff5e8;
}

.theme-public .dashboard-social-post-manage-btn.is-danger {
  color: #ed1c24;
  border-color: #ffd1d4;
  background: #fff7f7;
}

.theme-public .dashboard-social-post-manage-btn:disabled {
  cursor: default;
  opacity: 0.62;
}

.theme-public .dashboard-social-post-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-public .dashboard-social-post-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  text-decoration: none;
  background: #fff0da;
  color: #d97504;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.theme-public .dashboard-social-post-avatar.is-link {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.theme-public .dashboard-social-post-avatar.is-link:hover,
.theme-public .dashboard-social-post-avatar.is-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(217, 117, 4, 0.18);
}

.theme-public .dashboard-social-post-avatar.has-image {
  background: #f6efe7;
  color: transparent;
}

.theme-public .dashboard-social-post-avatar-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.theme-public .dashboard-social-post-author-name {
  color: #201c24;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.theme-public .dashboard-social-post-author-name.is-link {
  text-decoration: none;
  cursor: pointer;
}

.theme-public .dashboard-social-post-author-name.is-link:hover,
.theme-public .dashboard-social-post-author-name.is-link:focus-visible {
  color: #d97504;
}

.theme-public .dashboard-social-post-author-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.theme-public .dashboard-social-post-curator-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff4e6;
  color: #d97504;
  border: 1px solid rgba(217, 117, 4, 0.24);
  font-size: 11px;
  font-weight: 800;
  line-height: 14px;
}

.theme-public .dashboard-social-post-curator-badge.is-announcement {
  background: #cf2e2e;
  color: #ffffff;
  border-color: rgba(207, 46, 46, 0.2);
}

.theme-public .dashboard-social-post-author-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.theme-public .dashboard-social-post-author-caption {
  color: #8f8580;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.theme-public .dashboard-social-post-author-caption.is-link {
  text-decoration: none;
  cursor: pointer;
}

.theme-public .dashboard-social-post-author-caption.is-link:hover,
.theme-public .dashboard-social-post-author-caption.is-link:focus-visible {
  color: #d97504;
}

.theme-public .dashboard-social-post-time {
  color: #6a6370;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.theme-public .dashboard-social-post-prompt-badge {
  align-self: flex-start;
  border: 1px solid #eadfd2;
  border-radius: 999px;
  display: inline-flex;
  margin: 0 0 2px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 800;
  line-height: 18px;
}

.theme-public .dashboard-social-post-prompt-badge.is-day {
  background: #fff8ec;
  border-color: #f0d3a8;
  color: #b86100;
}

.theme-public .dashboard-social-post-prompt-badge.is-question {
  background: #eef8fb;
  border-color: #b9dce7;
  color: #015a7f;
}

.theme-public .dashboard-social-post-prompt-badge.is-win {
  background: #f1fbf5;
  border-color: #bfe5ce;
  color: #237544;
}

.theme-public .dashboard-social-post-prompt-badge.is-support {
  background: #fff1f1;
  border-color: #f0c3c3;
  color: #b33838;
}

.theme-public .dashboard-social-post-text {
  margin: 0;
  color: #3b3340;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
  white-space: pre-wrap;
}

.theme-public .dashboard-social-post-editor {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.theme-public .dashboard-social-post-editor-textarea {
  width: 100%;
  min-height: 128px;
  padding: 14px 16px;
  border: 1px solid #e8dccc;
  border-radius: 18px;
  background: #fffdfb;
  color: #3b3340;
  font: inherit;
  font-size: 16px;
  line-height: 22.4px;
  resize: vertical;
  outline: none;
}

.theme-public .dashboard-social-post-editor-textarea:focus {
  border-color: #d97504;
  box-shadow: 0 0 0 3px rgba(217, 117, 4, 0.12);
}

.theme-public .dashboard-social-post-editor-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.theme-public .dashboard-social-post-save {
  min-height: 36px;
  padding: 0 14px;
}

.theme-public .dashboard-social-post-media {
  width: min(100%, 480px);
  max-width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  background: #fcf7f1;
}

.theme-public .dashboard-social-post-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8f8580;
  font-size: 16px;
  font-weight: 600;
}

.theme-public .dashboard-post-chart {
  width: min(100%, 520px);
  padding: 16px;
  border-radius: 22px;
  border: 1px solid #eee2d5;
  background: #fffdfb;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.theme-public .dashboard-post-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.theme-public .dashboard-post-chart-title {
  color: #201c24;
  font-size: 15px;
  font-weight: 800;
  line-height: 20px;
}

.theme-public .dashboard-post-chart-caption {
  color: #8f8580;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  text-align: right;
}

.theme-public .dashboard-post-chart-shell {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
}

.theme-public .dashboard-post-chart-yaxis {
  min-height: 180px;
  padding: 4px 0 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.theme-public .dashboard-post-chart-yaxis-label {
  color: #8f8580;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
}

.theme-public .dashboard-post-chart-plot {
  position: relative;
  min-height: 180px;
  border-radius: 0;
  border: 1px solid #eee2d5;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 247, 241, 0.62)),
    #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.theme-public .dashboard-social-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.theme-public .dashboard-social-post-reactions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.theme-public .dashboard-social-post-reactions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 48px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #eadfce;
  background: linear-gradient(180deg, #fffdf9 0%, #fff7ef 100%);
  color: #827873;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.theme-public .dashboard-social-post-reactions:hover {
  transform: translateY(-1px);
  border-color: #d97504;
  color: #d97504;
}

.theme-public .dashboard-social-post-reactions:disabled {
  cursor: progress;
  opacity: 0.68;
}

.theme-public .dashboard-social-post-reactions.is-active {
  color: var(--reaction-color, #ed1c24);
  background: var(--reaction-bg, #ffe5e7);
  border-color: var(--reaction-color, #ed1c24);
}

.theme-public .dashboard-social-post-reactions.is-like {
  --reaction-color: #ed1c24;
  --reaction-bg: #ffe5e7;
}

.theme-public .dashboard-social-post-reactions.is-support {
  --reaction-color: #0f8f6f;
  --reaction-bg: #e7f7f1;
}

.theme-public .dashboard-social-post-reactions.is-cool {
  --reaction-color: #d97504;
  --reaction-bg: #fff2df;
}

.theme-public .dashboard-social-post-reactions.is-thanks {
  --reaction-color: #8a5cf6;
  --reaction-bg: #f0ebff;
}

.theme-public .dashboard-social-post-reactions.is-question {
  --reaction-color: #015a7f;
  --reaction-bg: #e6f5fb;
}

.theme-public .dashboard-social-post-reactions.is-question:not(.is-active) .dashboard-social-post-heart {
  color: #015a7f;
}

.theme-public .dashboard-social-post-reactions.is-strong {
  --reaction-color: #c2410c;
  --reaction-bg: #fff0e8;
}

.theme-public .dashboard-social-post-heart,
.theme-public .dashboard-social-post-like-count {
  color: currentColor;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.theme-public .dashboard-social-post-heart {
  min-width: 16px;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}

.theme-public .dashboard-social-post-action {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #e8dccc;
  background: #ffffff;
  color: #6a6370;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  cursor: pointer;
}

.theme-public .dashboard-social-post-action.is-active {
  color: #201c24;
  border-color: #d7cbc1;
  background: #fcf7f1;
}

.theme-public .dashboard-measurement-history-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border: 1px solid #eee2d5;
  border-radius: 24px;
  background: #fffdfb;
}

.theme-public .dashboard-measurement-history-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.theme-public .dashboard-measurement-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-public .dashboard-measurement-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid #efe6dc;
  border-radius: 16px;
  background: #ffffff;
}

.theme-public .dashboard-measurement-history-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.theme-public .dashboard-measurement-history-value {
  color: #201c24;
  font-size: 16px;
  font-weight: 800;
  line-height: 22px;
}

.theme-public .dashboard-measurement-history-date,
.theme-public .dashboard-measurement-history-source {
  color: #8f8580;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.theme-public .dashboard-measurement-history-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.theme-public .dashboard-measurement-history-delete {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #ffd1d4;
  background: #fff7f7;
  color: #ed1c24;
  font-size: 12px;
  font-weight: 800;
  line-height: 16px;
  cursor: pointer;
}

.theme-public .dashboard-measurement-history-delete:disabled {
  cursor: default;
  opacity: 0.62;
}

.theme-public .dashboard-social-comments-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #efe6dc;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.theme-public .dashboard-social-comment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.theme-public .dashboard-social-comment-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.theme-public .dashboard-social-comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff0da;
  color: #d97504;
  font-size: 14px;
  font-weight: 700;
}

.theme-public .dashboard-social-comment-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 18px;
  background: #fcf7f1;
}

.theme-public .dashboard-social-comment-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.theme-public .dashboard-social-comment-author {
  color: #201c24;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.theme-public .dashboard-social-comment-time,
.theme-public .dashboard-social-comment-hint,
.theme-public .dashboard-social-comment-empty {
  color: #8f8580;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

.theme-public .dashboard-social-comment-text {
  margin: 0;
  color: #3b3340;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.theme-public .dashboard-social-comment-mention {
  color: #b02121;
  font-weight: 800;
}

.theme-public .dashboard-social-comment-actions {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-public .dashboard-social-comment-editor {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-public .dashboard-social-comment-reply-btn,
.theme-public .dashboard-social-comment-reply-cancel {
  padding: 0;
  border: 0;
  background: transparent;
  color: #b36a12;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.theme-public .dashboard-social-comment-reply-btn:hover,
.theme-public .dashboard-social-comment-reply-cancel:hover {
  color: #8f5107;
}

.theme-public .dashboard-social-comment-editor-textarea {
  width: 100%;
  min-height: 88px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #e8dccc;
  background: #ffffff;
  color: #201c24;
  font: inherit;
  font-size: 14px;
  line-height: 22px;
  resize: vertical;
  outline: none;
}

.theme-public .dashboard-social-comment-editor-textarea:focus {
  border-color: #d97504;
}

.theme-public .dashboard-social-comment-editor-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.theme-public .dashboard-social-comment-save {
  flex-shrink: 0;
}

.theme-public .dashboard-social-comment-compose {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.theme-public .dashboard-social-comment-replying {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff8ee;
  border: 1px solid #f0dfca;
}

.theme-public .dashboard-social-comment-replying-label {
  color: #8b5a28;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.theme-public .dashboard-social-comment-textarea {
  width: 100%;
  min-height: 92px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #e8dccc;
  background: #ffffff;
  color: #201c24;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  resize: vertical;
  outline: none;
}

.theme-public .dashboard-social-comment-textarea:focus {
  border-color: #d97504;
}

.theme-public .dashboard-social-comment-compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.theme-public .dashboard-social-comment-submit {
  flex-shrink: 0;
}

.theme-public .dashboard-weight-chart-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.theme-public .dashboard-weight-chart-tab {
  position: relative;
  padding: 0 0 8px;
  border: 0;
  background: transparent;
  color: #8f8580;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
  transition: color 0.18s ease;
}

.theme-public .dashboard-weight-chart-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transform: scaleX(0);
  transform-origin: center;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.theme-public .dashboard-weight-chart-tab:hover {
  color: #3b3340;
}

.theme-public .dashboard-weight-chart-tab.is-active {
  color: #d97504;
  cursor: default;
}

.theme-public .dashboard-weight-chart-tab.is-active::after {
  background: #d97504;
  transform: scaleX(1);
}

.theme-public .dashboard-weight-chart-shell {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.theme-public .dashboard-weight-chart-yaxis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 320px;
  padding: 8px 0 24px;
}

.theme-public .dashboard-weight-chart-yaxis-label {
  color: #7b717b;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}

.theme-public .dashboard-weight-chart-plot {
  position: relative;
  min-height: 320px;
  border-radius: 0;
  border: 1px solid #eee2d5;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(252, 247, 241, 0.72)),
    #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 14px 32px rgba(72, 52, 37, 0.08);
}

.theme-public .dashboard-weight-chart-empty {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #6a6370;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.theme-public .dashboard-weight-band {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0.2;
}

.theme-public .dashboard-weight-band.is-danger-soft {
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.46), rgba(220, 38, 38, 0.2));
}

.theme-public .dashboard-weight-band.is-success-soft {
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.4), rgba(22, 163, 74, 0.18));
}

.theme-public .dashboard-weight-band.is-warm-soft {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.48), rgba(245, 158, 11, 0.22));
}

.theme-public .dashboard-weight-band-label {
  position: absolute;
  right: 14px;
  top: 10px;
  color: rgba(32, 28, 36, 0.62);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.theme-public .dashboard-weight-band-boundary {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  border-top: 2px dashed rgba(245, 158, 11, 0.84);
}

.theme-public .dashboard-weight-band-boundary.is-danger-soft {
  border-color: rgba(220, 38, 38, 0.86);
}

.theme-public .dashboard-weight-band-boundary.is-success-soft {
  border-color: rgba(22, 163, 74, 0.78);
}

.theme-public .dashboard-weight-band-boundary.is-warm-soft {
  border-color: rgba(245, 158, 11, 0.88);
}

.theme-public .dashboard-weight-grid-line {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(106, 99, 112, 0.12);
}

.theme-public .dashboard-weight-grid-column {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px solid rgba(106, 99, 112, 0.1);
}

.theme-public .dashboard-weight-grid-label {
  position: absolute;
  bottom: -30px;
  left: -22px;
  color: #7d7d7d;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
}

.theme-public .dashboard-weight-line-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 6;
  overflow: visible;
  pointer-events: none;
}

.theme-public .dashboard-weight-line-polyline {
  fill: none;
  stroke: #2563eb;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 5px 8px rgba(37, 99, 235, 0.2));
}

.theme-public .dashboard-weight-line-polyline.is-diastolic {
  stroke: #7c3aed;
  filter: drop-shadow(0 5px 8px rgba(124, 58, 237, 0.18));
}

.theme-public .dashboard-weight-point-wrap {
  position: absolute;
  width: 0;
  height: 0;
  z-index: 8;
}

.theme-public .dashboard-weight-point {
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  border: 3px solid #ffffff;
  box-shadow: 0 8px 18px rgba(32, 28, 36, 0.18);
}

.theme-public .dashboard-weight-point.is-success {
  background: #16a34a;
}

.theme-public .dashboard-weight-point.is-warm {
  background: #f59e0b;
}

.theme-public .dashboard-weight-point.is-danger {
  background: #dc2626;
}

.theme-public .dashboard-weight-point.is-diastolic {
  background: #7c3aed;
}

.theme-public .dashboard-weight-point-value {
  position: absolute;
  left: 0;
  top: -42px;
  transform: translateX(-50%);
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 14px rgba(32, 28, 36, 0.12);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
}

.theme-public .dashboard-weight-point-wrap.is-start .dashboard-weight-point-value {
  transform: translateX(0);
}

.theme-public .dashboard-weight-point-wrap.is-end .dashboard-weight-point-value {
  transform: translateX(-100%);
}

.theme-public .dashboard-weight-point-value.is-success {
  color: #16a34a;
}

.theme-public .dashboard-weight-point-value.is-warm {
  color: #b45309;
}

.theme-public .dashboard-weight-point-value.is-danger {
  color: #dc2626;
}

.theme-public .dashboard-weight-point-value.is-diastolic {
  top: 18px;
  color: #7c3aed;
}

.theme-public .dashboard-chart-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  padding-left: 110px;
}

.theme-public .dashboard-chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b3340;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.theme-public .dashboard-chart-legend-item::before {
  content: "";
  width: 22px;
  height: 4px;
  border-radius: 999px;
  background: #2563eb;
}

.theme-public .dashboard-chart-legend-item.is-diastolic::before {
  background: #7c3aed;
}

.theme-public .dashboard-panel {
  border-radius: 32px;
  background: #ffffff;
  box-shadow: var(--public-shadow);
  border: 1px solid rgba(217, 217, 217, 0.12);
}

.theme-public .dashboard-profile-summary-card,
.theme-public .dashboard-nutrition-card,
.theme-public .dashboard-meds-card,
.theme-public .dashboard-habits-card,
.theme-public .dashboard-community-card {
  padding: 24px;
}

.theme-public .dashboard-profile-summary-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.theme-public .dashboard-profile-summary-head {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.theme-public .dashboard-profile-photo {
  position: relative;
  overflow: hidden;
  width: 160px;
  height: 160px;
  border-radius: 32px;
  background: #fcf7f1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.theme-public .dashboard-profile-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.theme-public .dashboard-profile-photo:hover,
.theme-public .dashboard-profile-photo:focus-within {
  box-shadow: 0 12px 28px rgba(217, 117, 4, 0.18);
  transform: translateY(-1px);
}

.theme-public .dashboard-profile-photo.has-image {
  background: #201c24;
}

.theme-public .dashboard-profile-photo.is-uploading {
  cursor: progress;
}

.theme-public .dashboard-profile-photo.is-readonly {
  cursor: default;
}

.theme-public .dashboard-profile-photo.is-readonly:hover,
.theme-public .dashboard-profile-photo.is-readonly:focus-within {
  box-shadow: none;
  transform: none;
}

.theme-public .dashboard-profile-photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.theme-public .dashboard-profile-photo-letter {
  color: #d97504;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
}

.theme-public .dashboard-profile-photo-action {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  background: rgba(32, 28, 36, 0.78);
  backdrop-filter: blur(8px);
}

.theme-public .dashboard-avatar-message {
  width: 160px;
  margin: 0;
  color: #41785f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.theme-public .dashboard-avatar-message.is-error {
  color: #b13d32;
}

.theme-public .dashboard-profile-summary-main {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.theme-public .dashboard-profile-name-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.theme-public .dashboard-profile-name-block {
  display: flex;
  flex-direction: column;
}

.theme-public .dashboard-profile-name-line {
  color: #201c24;
  font-size: 40px;
  line-height: 1;
  font-weight: 600;
}

.theme-public .dashboard-panel-label {
  color: #6a6370;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.theme-public .dashboard-profile-start-weight-value {
  margin-top: 2px;
  color: #d97504;
  font-size: 26px;
  font-weight: 600;
  line-height: 32px;
}

.theme-public .dashboard-profile-weight-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.theme-public .dashboard-profile-weight-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #e8dccc;
  border-radius: 18px;
  background: #ffffff;
}

.theme-public .dashboard-profile-weight-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.theme-public .dashboard-weight-goal-editor {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid #e8dccc;
  border-radius: 18px;
  background: #ffffff;
}

.theme-public .dashboard-profile-weight-message {
  color: #8b5a28;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.theme-public .dashboard-icon-action {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #e8dccc;
  color: #6a6370;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.theme-public .dashboard-icon-action:hover {
  background: #fcf7f1;
  border-color: #d9c9b4;
}

.theme-public .dashboard-edit-icon {
  width: 16px;
  height: 16px;
  display: block;
  background-color: currentColor;
  mask: url('/images/icons/edit.svg') center / contain no-repeat;
  -webkit-mask: url('/images/icons/edit.svg') center / contain no-repeat;
}

.theme-public .dashboard-plus-icon {
  width: 18px;
  height: 18px;
  display: block;
  background-color: currentColor;
  mask: url('/images/icons/plus.svg') center / contain no-repeat;
  -webkit-mask: url('/images/icons/plus.svg') center / contain no-repeat;
  transition: transform 0.18s ease;
}

.theme-public .dashboard-icon-action.is-adding {
  color: #ffffff;
  border-color: #f28a2e;
  background: #f28a2e;
}

.theme-public .dashboard-icon-action.is-adding:hover {
  border-color: #de7416;
  background: #de7416;
}

.theme-public .dashboard-icon-action.is-adding .dashboard-plus-icon {
  transform: rotate(45deg);
}

.theme-public .dashboard-icon-action.is-editing {
  color: #ffffff;
  border-color: #f28a2e;
  background: #f28a2e;
}

.theme-public .dashboard-icon-action.is-editing:hover {
  border-color: #de7416;
  background: #de7416;
}

.theme-public .dashboard-profile-edit-btn {
  flex-shrink: 0;
}

.theme-public .dashboard-profile-edit-btn:hover {
  transform: translateY(-1px);
}

.theme-public .dashboard-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.theme-public .dashboard-tag {
  min-height: 30px;
  padding: 6px 16px;
  border-radius: 38px;
  border: 1px solid #d97504;
  color: #d97504;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.theme-public .dashboard-tag-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.theme-public .dashboard-tag-symbol {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1;
}

.theme-public .dashboard-tag.is-blue {
  border-color: #78a7ff;
  background: #eef5ff;
  color: #2f6fe4;
}

.theme-public .dashboard-tag.is-online {
  border-color: #78a7ff;
  background: linear-gradient(135deg, #f2f7ff 0%, #e8f2ff 100%);
  color: #2f6fe4;
}

.theme-public .dashboard-tag.is-tv {
  border-color: #f39b2f;
  background: linear-gradient(135deg, #fff2df 0%, #ffd89f 100%);
  color: #9c4f00;
  box-shadow: 0 8px 18px rgba(243, 155, 47, 0.14);
}

.theme-public .dashboard-tag.is-clinic {
  border-color: #7fc2a9;
  background: linear-gradient(135deg, #edf9f4 0%, #d9f1e7 100%);
  color: #1f7b5f;
}

.theme-public .dashboard-tag.is-curators {
  border-color: #159d79;
  background: linear-gradient(135deg, #e6fff6 0%, #c9f6e8 54%, #aee9d7 100%);
  color: #0a7f63;
  box-shadow: 0 10px 22px rgba(21, 157, 121, 0.16);
}

.theme-public .dashboard-tag.is-role {
  border-color: #b6d0ff;
  background: #f4f8ff;
  color: #2f6fe4;
}

.theme-public .dashboard-tag.is-admin {
  border-color: rgba(244, 196, 97, 0.72);
  background: linear-gradient(135deg, #060606 0%, #202020 46%, #050505 100%);
  color: #ffe2a0;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.theme-public .dashboard-tag.is-premium {
  border-color: #f1cb67;
  background: linear-gradient(135deg, #fff9df 0%, #ffe79c 55%, #ffd76b 100%);
  color: #7b4d00;
  box-shadow: 0 8px 18px rgba(246, 166, 0, 0.16);
}

.theme-public .dashboard-tag.is-group {
  border-color: #d97504;
  background: #ffffff;
  color: #d97504;
}

.theme-public .dashboard-tag.is-custom {
  border-color: #b497ff;
  background: linear-gradient(135deg, #f6f1ff 0%, #efe7ff 100%);
  color: #6a45c5;
}

.theme-public .dashboard-tag.is-premium-outline {
  border-color: #d97504;
  background: #ffffff;
  color: #d97504;
  box-shadow: none;
}

.theme-public .dashboard-goal-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.theme-public .dashboard-goal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.theme-public .dashboard-goal-progress-track {
  position: relative;
  height: 24px;
  border-radius: 26px;
  background: #ededed;
  overflow: hidden;
}

.theme-public .dashboard-goal-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.theme-public .dashboard-goal-value-start,
.theme-public .dashboard-goal-value-goal {
  color: #201c24;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.theme-public .dashboard-goal-value-goal {
  text-align: right;
}

.theme-public .dashboard-goal-progress-fill {
  height: 100%;
  border-radius: 26px;
  background: #f6a600;
}

.theme-public .dashboard-goal-progress-fill.is-success {
  background: #248a4c;
}

.theme-public .dashboard-goal-progress-fill.is-danger {
  background: #ed1c24;
}

.theme-public .dashboard-goal-progress-label {
  position: absolute;
  top: 3px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
}

.theme-public .dashboard-goal-meta-bottom {
  margin-top: 2px;
}

.theme-public .dashboard-goal-status {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.theme-public .dashboard-goal-status.is-warm {
  color: #d97504;
}

.theme-public .dashboard-goal-status.is-success {
  color: #248a4c;
}

.theme-public .dashboard-goal-status.is-danger {
  color: #ed1c24;
}

.theme-public .dashboard-panel-head,
.theme-public .dashboard-panel-title-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.theme-public .dashboard-panel-head-stacked {
  align-items: center;
}

.theme-public .dashboard-panel-title-wrap {
  justify-content: flex-start;
  flex: 1 1 auto;
}

.theme-public .dashboard-panel-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: #fff0da;
  color: #d97504;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.theme-public .dashboard-panel-icon-image {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}

.theme-public .dashboard-panel-title {
  color: #6a6370;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.theme-public .dashboard-panel-value {
  margin-top: 2px;
  color: #201c24;
  font-size: 26px;
  font-weight: 600;
  line-height: 32px;
}

.theme-public .dashboard-section-title {
  margin: 0;
  color: #201c24;
  font-size: 28px;
  font-weight: 600;
  line-height: 34px;
}

.theme-public .dashboard-section-caption {
  margin: 2px 0 0;
  color: #6a6370;
  font-size: 13px;
  line-height: 18px;
}

.theme-public .dashboard-list,
.theme-public .dashboard-meds-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.theme-public .dashboard-simple-row {
  min-height: 40px;
  display: flex;
  flex-direction: column;
}

.theme-public .dashboard-simple-row.is-action-row {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid #f0e5d8;
}

.theme-public .dashboard-simple-row-main {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.theme-public .dashboard-simple-row-copy {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  column-gap: 14px;
  row-gap: 2px;
  align-items: start;
}

.theme-public .dashboard-simple-row-title-line {
  min-width: 0;
  display: contents;
}

.theme-public .dashboard-simple-row-title {
  min-width: 0;
  color: #201c24;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-public .dashboard-simple-row-subtitle {
  grid-column: 1 / -1;
  color: #6a6370;
  font-size: 13px;
  line-height: 18px;
}

.theme-public .dashboard-simple-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.theme-public .dashboard-simple-row-details {
  width: 100%;
}

.theme-public .dashboard-entry-time-cell {
  justify-self: end;
  padding-top: 2px;
  color: #7a6d63;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
}

.theme-public .dashboard-day-nutrition-summary {
  margin-top: 2px;
}

.theme-public .dashboard-day-summary-title {
  margin-bottom: 8px;
  color: #201c24;
  font-size: 13px;
  font-weight: 800;
  line-height: 16px;
}

.theme-public .dashboard-macro-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0 4px;
}

.theme-public .dashboard-macro-pill {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #efe3d5;
  border-radius: 12px;
  background: #fffaf4;
}

.theme-public .dashboard-macro-label,
.theme-public .dashboard-macro-value {
  display: block;
  white-space: nowrap;
}

.theme-public .dashboard-macro-label {
  color: #8f8580;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
}

.theme-public .dashboard-macro-value {
  color: #2d252f;
  font-size: 14px;
  font-weight: 800;
  line-height: 18px;
}

.theme-public .dashboard-balance-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.theme-public .dashboard-balance-metric,
.theme-public .dashboard-balance-advice,
.theme-public .dashboard-balance-macro-card,
.theme-public .dashboard-balance-chart-card,
.theme-public .dashboard-history-panel {
  border: 1px solid #efe3d5;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(67, 52, 38, 0.08);
}

.theme-public .dashboard-balance-metric {
  padding: 16px;
}

.theme-public .dashboard-balance-metric.is-success {
  border-color: rgba(55, 142, 90, 0.28);
}

.theme-public .dashboard-balance-metric.is-warm {
  border-color: rgba(242, 138, 46, 0.36);
}

.theme-public .dashboard-balance-metric.is-danger {
  border-color: rgba(177, 61, 50, 0.34);
}

.theme-public .dashboard-balance-metric-label,
.theme-public .dashboard-balance-metric-caption {
  color: #746a66;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.theme-public .dashboard-balance-metric-value {
  margin-top: 8px;
  color: #201c24;
  font-size: 24px;
  font-weight: 900;
  line-height: 30px;
}

.theme-public .dashboard-balance-metric.is-success .dashboard-balance-metric-value {
  color: #248a4c;
}

.theme-public .dashboard-balance-metric.is-warm .dashboard-balance-metric-value {
  color: #de7416;
}

.theme-public .dashboard-balance-metric.is-danger .dashboard-balance-metric-value {
  color: #b13d32;
}

.theme-public .dashboard-balance-metric-caption {
  margin-top: 6px;
  font-weight: 600;
}

.theme-public .dashboard-balance-advice {
  margin-top: 14px;
  padding: 16px 18px;
  background: #fffaf4;
}

.theme-public .dashboard-balance-macro-card {
  margin-top: 14px;
  padding: 16px 18px;
  background: #ffffff;
}

.theme-public .dashboard-balance-advice-title {
  color: #201c24;
  font-size: 16px;
  font-weight: 900;
  line-height: 22px;
}

.theme-public .dashboard-balance-advice p {
  margin: 6px 0 0;
  color: #5e5450;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.theme-public .dashboard-balance-macro-caption {
  margin: 6px 0 0;
  color: #5e5450;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.theme-public .dashboard-macro-strip-wide {
  margin: 14px 0 0;
}

.theme-public .dashboard-balance-chart-card,
.theme-public .dashboard-history-panel {
  margin-top: 16px;
  padding: 18px;
}

.theme-public .dashboard-balance-chart {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.theme-public .dashboard-balance-day {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 230px minmax(180px, 0.8fr);
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
}

.theme-public .dashboard-balance-day:not(.dashboard-balance-day-head) {
  background: #fffdfb;
}

.theme-public .dashboard-balance-day.is-success {
  border-color: rgba(55, 142, 90, 0.22);
  background: rgba(55, 142, 90, 0.06);
}

.theme-public .dashboard-balance-day.is-warm {
  border-color: rgba(217, 117, 4, 0.26);
  background: rgba(246, 166, 0, 0.08);
}

.theme-public .dashboard-balance-day.is-danger {
  border-color: rgba(177, 61, 50, 0.28);
  background: rgba(237, 28, 36, 0.06);
}

.theme-public .dashboard-balance-day.is-muted {
  border-color: #eee7df;
  background: #faf7f3;
}

.theme-public .dashboard-balance-day-head {
  padding-block: 0;
  color: #8a7e78;
  font-size: 11px;
  font-weight: 900;
  line-height: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.theme-public .dashboard-balance-day-label {
  color: #3b3340;
  font-size: 13px;
  font-weight: 800;
  line-height: 18px;
}

.theme-public .dashboard-balance-meter-head {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  text-align: center;
}

.theme-public .dashboard-balance-meter-head span:first-child {
  text-align: left;
}

.theme-public .dashboard-balance-meter-head span:last-child {
  text-align: right;
}

.theme-public .dashboard-balance-meter {
  min-width: 0;
  position: relative;
  padding-top: 14px;
}

.theme-public .dashboard-balance-meter-track {
  position: relative;
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(177, 61, 50, 0.08) 0%, #f7efe6 50%, rgba(237, 28, 36, 0.12) 100%);
  box-shadow: inset 0 0 0 1px rgba(122, 103, 89, 0.08);
}

.theme-public .dashboard-balance-meter-target {
  position: absolute;
  top: 1px;
  z-index: 5;
  display: flex;
  justify-content: center;
  border-top: 2px solid rgba(47, 155, 94, 0.78);
  color: #2f8f55;
  font-size: 10px;
  font-weight: 900;
  line-height: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  pointer-events: none;
}

.theme-public .dashboard-balance-meter-target::before,
.theme-public .dashboard-balance-meter-target::after {
  content: '';
  position: absolute;
  top: -2px;
  width: 1px;
  height: 8px;
  border-radius: 999px;
  background: rgba(47, 155, 94, 0.78);
}

.theme-public .dashboard-balance-meter-target::before {
  left: 0;
}

.theme-public .dashboard-balance-meter-target::after {
  right: 0;
}

.theme-public .dashboard-balance-meter-target span {
  margin-top: -7px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f3fbf6;
  box-shadow: 0 0 0 1px rgba(47, 155, 94, 0.1);
}

.theme-public .dashboard-balance-empty {
  min-height: 220px;
  margin-top: 16px;
  padding: 28px;
  border: 1px dashed rgba(217, 117, 4, 0.28);
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdfb 0%, #fff8ee 100%);
  color: #6a6370;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.theme-public .dashboard-balance-empty-mark {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: #fff0da;
  color: #d97504;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
}

.theme-public .dashboard-balance-empty-title {
  margin-top: 12px;
  color: #201c24;
  font-size: 16px;
  font-weight: 900;
  line-height: 22px;
}

.theme-public .dashboard-balance-empty p {
  max-width: 420px;
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.theme-public .dashboard-balance-meter-zero {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 50%;
  width: 2px;
  border-radius: 999px;
  background: rgba(32, 28, 36, 0.34);
  z-index: 2;
}

.theme-public .dashboard-balance-meter-fill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  z-index: 3;
  border-radius: 999px;
  background: #248a4c;
}

.theme-public .dashboard-balance-day.is-warm .dashboard-balance-meter-fill {
  background: #f6a600;
}

.theme-public .dashboard-balance-day.is-danger .dashboard-balance-meter-fill {
  background: #ed1c24;
}

.theme-public .dashboard-balance-day.is-muted .dashboard-balance-meter-fill {
  background: #9a918a;
}

.theme-public .dashboard-balance-meter-marker {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 12px;
  height: 12px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #201c24;
  box-shadow: 0 2px 8px rgba(32, 28, 36, 0.22);
  transform: translate(-50%, -50%);
}

.theme-public .dashboard-balance-day-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  color: #6a6370;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  text-align: right;
}

.theme-public .dashboard-balance-day.is-danger .is-balance {
  color: #b13d32;
}

.theme-public .dashboard-balance-day.is-warm .is-balance {
  color: #d97504;
}

.theme-public .dashboard-balance-day.is-success .is-balance {
  color: #248a4c;
}

.theme-public .dashboard-balance-day-status,
.theme-public .dashboard-balance-day-status-head {
  color: #5e5450;
  font-size: 12px;
  font-weight: 800;
  line-height: 16px;
}

.theme-public .dashboard-balance-day.is-danger .dashboard-balance-day-status {
  color: #9d2f27;
}

.theme-public .dashboard-balance-day.is-warm .dashboard-balance-day-status {
  color: #a85c02;
}

.theme-public .dashboard-balance-day.is-success .dashboard-balance-day-status {
  color: #207a42;
}

.theme-public .dashboard-history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.theme-public .dashboard-history-list,
.theme-public .dashboard-history-day-items {
  display: flex;
  flex-direction: column;
}

.theme-public .dashboard-history-list {
  gap: 14px;
  margin-top: 16px;
}

.theme-public .dashboard-history-day {
  padding-top: 12px;
  border-top: 1px solid #f0e5d9;
}

.theme-public .dashboard-history-day:first-child {
  padding-top: 0;
  border-top: 0;
}

.theme-public .dashboard-history-day-head,
.theme-public .dashboard-history-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.theme-public .dashboard-history-day-head {
  color: #201c24;
  font-size: 14px;
  font-weight: 900;
  line-height: 20px;
}

.theme-public .dashboard-history-day-head span:last-child {
  color: #8f8580;
  font-size: 12px;
  font-weight: 800;
}

.theme-public .dashboard-history-day-items {
  gap: 8px;
  margin-top: 8px;
}

.theme-public .dashboard-history-line-title {
  min-width: 0;
  color: #3b3340;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.theme-public .dashboard-history-line-meta {
  flex: 0 0 auto;
  color: #8f8580;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.theme-public .dashboard-row-action {
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid #e8dccc;
  border-radius: 999px;
  background: #ffffff;
  color: #3b3340;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.theme-public .dashboard-row-action:hover {
  background: #fcf7f1;
}

.theme-public .dashboard-row-action.is-danger {
  color: #b13d32;
  border-color: rgba(177, 61, 50, 0.28);
}

.theme-public .dashboard-row-action.is-danger:hover {
  color: #ffffff;
  border-color: #b13d32;
  background: #b13d32;
}

.theme-public .dashboard-row-action:disabled {
  opacity: 0.6;
  cursor: progress;
}

.theme-public .dashboard-med-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.theme-public .dashboard-med-item-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.theme-public .dashboard-med-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.theme-public .dashboard-med-item-title {
  color: #201c24;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.theme-public .dashboard-med-item-time {
  color: #6a6370;
  font-size: 13px;
  line-height: 18px;
}

.theme-public .dashboard-med-item-status {
  min-width: 148px;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 38px;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.theme-public .dashboard-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.theme-public .dashboard-med-item-status.is-success {
  background: #f0faf3;
  color: #248a4c;
}

.theme-public .dashboard-med-item-status.is-danger {
  background: #fde4e5;
  color: #ed1c24;
}

.theme-public .dashboard-med-item-status.is-warm {
  background: #fff0da;
  color: #f6a600;
}

.theme-public .dashboard-progress-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.theme-public .dashboard-progress-summary-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.theme-public .dashboard-progress-summary-boundary {
  color: #8f8580;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.theme-public .dashboard-progress-bar {
  height: 24px;
  border-radius: 26px;
  background: #ededed;
  overflow: hidden;
}

.theme-public .dashboard-progress-bar-wide {
  background: #fff0da;
}

.theme-public .dashboard-progress-summary-current {
  color: #201c24;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.theme-public .dashboard-progress-summary-status {
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.theme-public .dashboard-progress-summary-status.is-warm {
  color: #d97504;
}

.theme-public .dashboard-progress-summary-status.is-danger {
  color: #ed1c24;
}

.theme-public .dashboard-progress-summary-status.is-success,
.theme-public .dashboard-progress-summary-status.is-success-strong {
  color: #248a4c;
}

.theme-public .dashboard-progress-edit-link {
  align-self: flex-start;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #d97504;
  border-radius: 999px;
  background: #ffffff;
  color: #d97504;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.theme-public .dashboard-progress-edit-link:hover {
  color: #8b4d04;
  background: #fff8ee;
  box-shadow: 0 8px 18px rgba(217, 117, 4, 0.12);
}

.theme-public .dashboard-progress-editor {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.theme-public .dashboard-progress-editor-input {
  min-width: 120px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #e8dccc;
  background: #ffffff;
  color: #201c24;
  font-size: 14px;
  line-height: 20px;
  outline: none;
}

.theme-public .dashboard-progress-editor-input:focus {
  border-color: #d97504;
}

.theme-public .dashboard-progress-editor-suffix {
  color: #6a6370;
  font-size: 14px;
  line-height: 20px;
}

.theme-public .dashboard-progress-editor-btn {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #e8dccc;
  background: #ffffff;
  color: #3b3340;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  cursor: pointer;
}

.theme-public .dashboard-progress-editor-btn.is-primary {
  background: #ed1c24;
  border-color: #ed1c24;
  color: #ffffff;
}

.theme-public .dashboard-entry-form-card {
  display: grid;
  gap: 16px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid #e8dccc;
  border-radius: 20px;
  background: #fffaf4;
}

.theme-public .dashboard-entry-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.theme-public .dashboard-entry-form-title {
  color: #201c24;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.theme-public .dashboard-entry-form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.theme-public .dashboard-entry-input {
  display: grid;
  gap: 6px;
}

.theme-public .dashboard-entry-input-label {
  color: #6a6370;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.theme-public .dashboard-entry-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.theme-public .dashboard-activity-presets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-public .dashboard-food-presets-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.theme-public .dashboard-activity-presets-title {
  color: #6a6370;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.theme-public .dashboard-activity-presets-empty {
  color: #8f8580;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.theme-public .dashboard-activity-presets-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.theme-public .dashboard-activity-preset {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid #e8dccc;
  background: #ffffff;
  color: #3b3340;
  cursor: pointer;
}

.theme-public .dashboard-activity-preset.is-active {
  border-color: #d97504;
  background: #fff5e8;
}

.theme-public .dashboard-activity-preset-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 16px;
}

.theme-public .dashboard-activity-preset-meta {
  color: #8f8580;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
}

.theme-public .dashboard-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.theme-public .dashboard-chip-btn {
  padding: 8px 12px;
  border: 1px solid #e8dccc;
  border-radius: 999px;
  background: #ffffff;
  color: #3b3340;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  cursor: pointer;
}

.theme-public .dashboard-chip-btn.is-active {
  border-color: #f6a600;
  background: #fff0da;
  color: #d97504;
}

.theme-public .dashboard-progress-fill {
  height: 100%;
  border-radius: 999px;
}

.theme-public .dashboard-progress-fill.is-warm {
  background: #f6a600;
}

.theme-public .dashboard-progress-fill.is-success {
  background: #248a4c;
}

.theme-public .dashboard-progress-fill.is-danger {
  background: #ed1c24;
}

.theme-public .dashboard-progress-fill.is-success-strong {
  background: linear-gradient(90deg, #248a4c 0%, #159947 100%);
}

.theme-public .dashboard-community-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.theme-public .dashboard-community-card-top {
  justify-content: space-between;
}

.theme-public .dashboard-community-text {
  margin: 0;
  color: #3b3340;
  font-size: 16px;
  line-height: 22.4px;
}

.theme-public .dashboard-community-featured-post {
  padding: 16px;
  border: 1px solid #efe5d8;
  border-radius: 18px;
  background: #fffaf4;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.theme-public .dashboard-community-featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #7b6d63;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
}

.theme-public .dashboard-community-featured-badge {
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffffff;
  color: #ed6a2c;
  border: 1px solid #f2d7c4;
}

.theme-public .dashboard-community-featured-author {
  margin: 0;
  color: #201c24;
  font-size: 18px;
  font-weight: 800;
  line-height: 24px;
}

.theme-public .dashboard-community-link {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #e8dccc;
  color: #201c24;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.theme-public .dashboard-community-link:hover {
  background: #fcf7f1;
}

.theme-public .dashboard-community-link-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1280px) {
  .theme-public .dashboard-desktop-shell {
    grid-template-columns: 245px minmax(0, 1fr);
    padding-inline: 20px;
  }

  .theme-public .dashboard-overview-content {
    padding: 28px;
  }

  .theme-public .dashboard-overview-grid-top,
  .theme-public .dashboard-overview-grid-bottom,
  .theme-public .dashboard-loading-grid-top {
    grid-template-columns: 1fr;
  }

  .theme-public .dashboard-weight-metrics-grid {
    grid-template-columns: 1fr;
  }

  .theme-public .dashboard-group-grid {
    grid-template-columns: 1fr;
  }

  .theme-public .dashboard-group-create-head {
    flex-direction: column;
  }

  .theme-public .dashboard-group-create-actions {
    justify-content: flex-start;
  }

  .theme-public .dashboard-group-details-main {
    flex-direction: column;
  }

  .theme-public .dashboard-group-details-right {
    align-items: flex-start;
  }

  .theme-public .dashboard-macro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .theme-public .dashboard-macro-strip {
    grid-template-columns: 1fr;
  }

  .theme-public .dashboard-questionnaire-grid {
    grid-template-columns: 1fr;
  }

  .theme-public .dashboard-questionnaire-field.is-wide {
    grid-column: auto;
  }

  .theme-public .dashboard-balance-summary-grid,
  .theme-public .dashboard-history-grid {
    grid-template-columns: 1fr;
  }

  .theme-public .dashboard-balance-day {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .theme-public .dashboard-balance-day-values {
    text-align: left;
  }

  .theme-public .dashboard-balance-day-head {
    display: none;
  }
}

@media (max-width: 1080px) {
  .theme-public .dashboard-desktop-shell {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .theme-public .dashboard-sidebar-shell {
    position: sticky;
    top: 0;
    z-index: 80;
    height: auto;
  }

  .theme-public .dashboard-mobile-menu-bar {
    min-height: 58px;
    padding: 8px 10px;
    border: 1px solid #f0e5d8;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 30px rgba(32, 28, 36, 0.08);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .theme-public .dashboard-mobile-menu-toggle {
    min-height: 42px;
    padding: 9px 14px;
    border: 0;
    border-radius: 999px;
    background: #fff0da;
    color: #d97504;
    font-size: 14px;
    font-weight: 800;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
  }

  .theme-public .dashboard-mobile-menu-lines,
  .theme-public .dashboard-mobile-menu-lines::before,
  .theme-public .dashboard-mobile-menu-lines::after {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    display: block;
  }

  .theme-public .dashboard-mobile-menu-lines {
    position: relative;
  }

  .theme-public .dashboard-mobile-menu-lines::before,
  .theme-public .dashboard-mobile-menu-lines::after {
    content: '';
    position: absolute;
    left: 0;
  }

  .theme-public .dashboard-mobile-menu-lines::before {
    top: -6px;
  }

  .theme-public .dashboard-mobile-menu-lines::after {
    top: 6px;
  }

  .theme-public .dashboard-mobile-menu-logo {
    width: 116px;
    height: auto;
    display: block;
  }

  .theme-public .dashboard-mobile-menu-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  .theme-public .dashboard-mobile-notifications {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e8dccc;
    color: #d97504;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
  }

  .theme-public .dashboard-mobile-notifications.is-active {
    background: #fff0da;
    border-color: #d97504;
  }

  .theme-public .dashboard-mobile-notifications-icon {
    width: 21px;
    height: 21px;
    display: block;
    background: currentColor;
    -webkit-mask: url('/images/icons/bell-dot.svg') center / contain no-repeat;
    mask: url('/images/icons/bell-dot.svg') center / contain no-repeat;
  }

  .theme-public .dashboard-mobile-notifications-badge {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ed1c24;
    color: #ffffff;
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 10px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 6px 14px rgba(237, 28, 36, 0.22);
  }

  .theme-public .dashboard-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    height: auto;
    padding: 14px;
    background: rgba(32, 28, 36, 0.28);
    backdrop-filter: blur(10px);
    display: none;
  }

  .theme-public .dashboard-sidebar-shell.is-open .dashboard-sidebar-backdrop {
    display: block;
  }

  .theme-public .dashboard-sidebar-card {
    width: min(100%, 460px);
    height: calc(100dvh - 28px);
    margin: 0 auto;
    padding: 18px;
    border-radius: 30px;
    overflow: auto;
  }

  .theme-public .dashboard-sidebar-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .theme-public .dashboard-sidebar-mobile-logo {
    width: 128px;
    height: auto;
    display: block;
  }

  .theme-public .dashboard-sidebar-logo {
    display: none;
  }

  .theme-public .dashboard-sidebar-top {
    gap: 26px;
  }

  .theme-public .dashboard-sidebar-groups {
    gap: 24px;
  }

  .theme-public .dashboard-sidebar-link {
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 18px;
    font-size: 17px;
    line-height: 24px;
  }

  .theme-public .dashboard-loading-sidebar-shell {
    position: static;
    height: auto;
  }

  .theme-public .dashboard-overview-grid-middle,
  .theme-public .dashboard-overview-grid-bottom {
    grid-template-columns: 1fr;
  }

  .theme-public .dashboard-profile-summary-head {
    grid-template-columns: 1fr;
  }

  .theme-public .dashboard-profile-photo {
    width: 120px;
    height: 120px;
  }

  .theme-public .dashboard-loading-profile-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .theme-public .dashboard-loading-profile-photo {
    width: 120px;
    height: 120px;
    min-height: 120px;
  }

  .theme-public .dashboard-avatar-message {
    width: 120px;
  }

  .theme-public .dashboard-questionnaire-photo {
    width: 180px;
  }

  .theme-public .dashboard-admin-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .theme-public .dashboard-desktop-shell {
    padding: 16px;
  }

  .theme-public .dashboard-sidebar-backdrop {
    padding: 0;
  }

  .theme-public .dashboard-sidebar-card {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
  }

  .theme-public .dashboard-overview-content {
    padding: 22px 18px;
  }

  .theme-public .dashboard-overview-title,
  .theme-public .dashboard-profile-name-line {
    font-size: 34px;
  }

  .theme-public .dashboard-questionnaire-card {
    padding: 18px;
    border-radius: 28px;
  }

  .theme-public .dashboard-questionnaire-head {
    flex-direction: column;
  }

  .theme-public .dashboard-questionnaire-photo {
    width: 100%;
    border-radius: 28px;
  }

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

  .theme-public .dashboard-admin-summary-grid,
  .theme-public .dashboard-admin-detail-grid {
    grid-template-columns: 1fr;
  }

  .theme-public .dashboard-admin-application-summary {
    grid-template-columns: 1fr;
  }

  .theme-public .dashboard-admin-application-side {
    justify-content: flex-start;
  }

  .theme-public .dashboard-admin-pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .theme-public .dashboard-notification-card {
    grid-template-columns: 1fr;
  }

  .theme-public .dashboard-notification-actions {
    justify-content: flex-start;
  }

  .theme-public .dashboard-group-members-screen-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .theme-public .dashboard-group-members-back-btn {
    margin-left: 0;
  }
}
