body {
  font-family: "Manrope", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  background: #f6f1e8;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video,
iframe {
  max-width: 100%;
}

.ui-clamp-1,
.ui-clamp-2,
.ui-clamp-3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.ui-clamp-1 {
  -webkit-line-clamp: 1;
}

.ui-clamp-2 {
  -webkit-line-clamp: 2;
}

.ui-clamp-3 {
  -webkit-line-clamp: 3;
}

.admin-main {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 220px),
    #f6f1e8;
}

.admin-content {
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}

.admin-content .max-w-7xl {
  max-width: 92rem;
}

.admin-main,
.admin-layout,
.admin-panel {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .admin-main {
    box-shadow:
      inset 1px 0 0 rgba(214, 211, 209, 0.72),
      inset 12px 0 22px -26px rgba(68, 64, 60, 0.48);
  }

  .admin-sidebar {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }
}

button,
a,
input,
select,
textarea {
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.admin-sidebar {
  border-right: 1px solid rgba(214, 211, 209, 0.68);
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.9rem;
  border-radius: 1rem;
  padding: 0.72rem 0.82rem;
  color: #4a4038;
  font-size: 0.93rem;
  font-weight: 800;
}

.admin-nav-link:hover {
  background: rgba(255, 255, 255, 0.72);
  color: #111827;
}

.admin-nav-link.is-active {
  background: #064e3b;
  color: #ffffff;
  box-shadow: 0 8px 18px -18px rgba(6, 78, 59, 0.8);
}

.admin-mobile-nav {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 70;
  border-top: 1px solid rgba(214, 211, 209, 0.86);
  background: rgba(255, 255, 255, 0.96);
  padding: 0.34rem 0.5rem calc(0.34rem + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px -24px rgba(41, 37, 36, 0.72);
  backdrop-filter: blur(14px);
}

.admin-mobile-nav-scroll {
  display: flex;
  gap: 0.3rem;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.admin-mobile-nav-scroll::-webkit-scrollbar {
  display: none;
}

.admin-mobile-nav-link {
  display: grid;
  position: relative;
  place-items: center;
  flex: 0 0 3.95rem;
  gap: 0.12rem;
  min-height: 3.05rem;
  border-radius: 0.95rem;
  color: #57534e;
  font-size: 0.62rem;
  font-weight: 850;
  line-height: 0.9rem;
  text-align: center;
}

.admin-mobile-nav-link svg {
  width: 1rem;
  height: 1rem;
}

.admin-mobile-nav-link.is-active {
  background: transparent;
  color: #064e3b;
  box-shadow: none;
}

.admin-mobile-nav-link.is-active::before {
  content: "";
  position: absolute;
  top: 0.22rem;
  width: 1.45rem;
  height: 0.18rem;
  border-radius: 999px;
  background: #064e3b;
}

.admin-mobile-nav-link:not(.is-active):hover {
  background: #f6f1e8;
  color: #1c1917;
}

.admin-topbar {
  border-bottom: 1px solid rgba(214, 211, 209, 0.62);
  padding-bottom: 0.82rem;
}

.admin-topbar-actions {
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.65rem;
  border-radius: 0.9rem;
  padding: 0.62rem 1rem;
  font-size: 0.875rem;
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(41, 37, 36, 0.08);
}

.btn.is-loading {
  pointer-events: none;
  position: relative;
}

.btn.is-loading::before {
  content: "";
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 650ms linear infinite;
}

dialog {
  border: 0;
  padding: 0;
  background: transparent;
}

dialog::backdrop {
  background: rgba(32, 24, 17, 0.46);
  backdrop-filter: blur(5px);
}

.modal-shell {
  margin: auto;
}

.modal-scroll {
  scrollbar-width: none;
}

.modal-scroll::-webkit-scrollbar {
  display: none;
}

.confirm-modal {
  width: min(92vw, 28rem);
  margin: auto;
}

.confirm-card {
  display: grid;
  gap: 1rem;
  border: 1px solid #dedbd4;
  border-radius: 1.35rem;
  background: #ffffff;
  padding: 1.1rem;
  box-shadow: 0 24px 70px -36px rgba(41, 37, 36, 0.72);
}

.confirm-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 1rem;
  background: #fff7ed;
  color: #b45309;
}

.confirm-copy h2 {
  color: #1c1917;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.7rem;
}

.confirm-copy p {
  margin-top: 0.35rem;
  color: #62564c;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.55rem;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  border-top: 1px solid #eee8dc;
  padding-top: 0.9rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid;
  padding: 0.28rem 0.68rem;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.1rem;
  white-space: nowrap;
}

.chip-muted {
  border-color: #dedbd4;
  background: #fffdf9;
  color: #51443a;
}

.chip-status {
  text-transform: capitalize;
}

.admin-panel {
  border: 1px solid #dedbd4;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 1rem;
  box-shadow: 0 8px 24px -30px rgba(41, 37, 36, 0.42);
}

.admin-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #dedbd4;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.86);
  padding: 1rem;
  box-shadow: 0 8px 24px -30px rgba(41, 37, 36, 0.42);
}

.admin-page-head h2 {
  color: #1c1917;
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  font-weight: 900;
  line-height: 1.15;
}

.admin-page-head p {
  max-width: 46rem;
  margin-top: 0.35rem;
  color: #6b625a;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45rem;
}

.admin-page-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.admin-quiet-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #eee8dc;
  background: #fffdf9;
  padding: 0.9rem 1rem;
}

.admin-quiet-title h2 {
  color: #1c1917;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25rem;
}

.admin-quiet-title p {
  margin-top: 0.2rem;
  color: #78716c;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.25rem;
}

.admin-report-body {
  padding: 0;
}

.admin-report-body .admin-table-shell {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.admin-report-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  border: 1px solid #dedbd4;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.86);
  padding: 0.65rem;
}

.admin-report-strip > div {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  min-height: 3.4rem;
  border: 1px solid #eee8dc;
  border-radius: 0.9rem;
  background: #fffdf9;
  padding: 0.6rem 0.7rem;
}

.admin-report-strip span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: 0.75rem;
  background: #ecfdf5;
  color: #047857;
}

.admin-report-strip strong {
  color: #1c1917;
  font-size: 1.05rem;
  font-weight: 900;
}

.admin-report-strip small {
  color: #78716c;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-simple-header,
.admin-slim-panel,
.admin-soft-callout {
  border: 1px solid #dedbd4;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px -34px rgba(41, 37, 36, 0.55);
}

.admin-simple-header {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem;
}

.admin-simple-header h2,
.admin-slim-head h2,
.admin-soft-callout h2 {
  color: #1c1917;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 900;
  line-height: 1.15;
}

.admin-simple-header p:not(.admin-flow-kicker),
.admin-soft-callout p {
  margin-top: 0.35rem;
  color: #6b625a;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45rem;
}

.admin-inline-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.admin-inline-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  border: 1px solid #eee8dc;
  border-radius: 0.9rem;
  background: #fffdf9;
  padding: 0.45rem 0.62rem;
  color: #57534e;
}

.admin-inline-stat svg {
  color: #047857;
}

.admin-inline-stat strong {
  color: #1c1917;
  font-size: 1rem;
  font-weight: 900;
}

.admin-inline-stat small {
  max-width: 4.6rem;
  color: #78716c;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 0.82rem;
  text-transform: uppercase;
}

.admin-simple-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.admin-actions-menu {
  position: relative;
}

.admin-actions-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.65rem;
  border: 1px solid #dedbd4;
  border-radius: 0.9rem;
  background: #ffffff;
  padding: 0.62rem 1rem;
  color: #1c1917;
  font-size: 0.875rem;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.admin-actions-menu summary::-webkit-details-marker {
  display: none;
}

.admin-actions-menu > div {
  position: absolute;
  right: 0;
  z-index: 35;
  display: grid;
  min-width: 13rem;
  gap: 0.25rem;
  margin-top: 0.5rem;
  border: 1px solid #dedbd4;
  border-radius: 1rem;
  background: #ffffff;
  padding: 0.35rem;
  box-shadow: 0 20px 54px -34px rgba(41, 37, 36, 0.72);
}

.admin-actions-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.55rem;
  border-radius: 0.75rem;
  padding: 0.62rem 0.7rem;
  color: #332c25;
  font-size: 0.86rem;
  font-weight: 850;
  text-align: left;
}

.admin-actions-menu button:hover {
  background: #f6f1e8;
}

.admin-slim-panel {
  display: grid;
  align-self: start;
  gap: 0.85rem;
  padding: 1rem;
}

.admin-slim-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-attention-list {
  display: grid;
  gap: 0.45rem;
}

.admin-attention-list a,
.admin-attention-empty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.2rem;
  border: 1px solid #eee8dc;
  border-radius: 0.95rem;
  background: #fffdf9;
  padding: 0.65rem 0.75rem;
}

.admin-attention-list a > span,
.admin-attention-empty svg,
.admin-soft-callout > span {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  flex: 0 0 auto;
  border-radius: 0.75rem;
  background: #ecfdf5;
  color: #047857;
}

.admin-attention-list strong,
.admin-attention-empty span {
  min-width: 0;
  overflow: hidden;
  color: #1c1917;
  font-size: 0.9rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-attention-list small {
  color: #047857;
  font-size: 0.75rem;
  font-weight: 900;
}

.admin-soft-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  border-color: #fde68a;
  background: #fff8e8;
  padding: 0.95rem;
}

.admin-metric-card {
  display: grid;
  min-height: 8.05rem;
  align-content: space-between;
}

.admin-flow-panel,
.admin-command-panel,
.admin-next-panel {
  border: 1px solid #dedbd4;
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px -34px rgba(41, 37, 36, 0.52);
}

.admin-flow-panel {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
}

.admin-flow-simple {
  gap: 0.75rem;
}

.admin-flow-panel-compact {
  padding: 1.25rem;
}

.admin-flow-head,
.admin-builder-intro,
.admin-command-panel,
.admin-next-head,
.admin-builder-list-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-flow-kicker {
  color: #047857;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1rem;
  text-transform: uppercase;
}

.admin-flow-head h2,
.admin-builder-intro h1,
.admin-command-copy h2,
.admin-next-head h2,
.admin-builder-list-head h2 {
  margin-top: 0.25rem;
  color: #1c1917;
  font-size: clamp(1.2rem, 1.9vw, 1.85rem);
  font-weight: 900;
  line-height: 1.15;
}

.admin-flow-head p:not(.admin-flow-kicker),
.admin-builder-intro p:not(.admin-flow-kicker),
.admin-command-copy p:not(.admin-flow-kicker),
.admin-next-head p,
.admin-builder-list-head p {
  margin-top: 0.45rem;
  color: #6b625a;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.55rem;
}

.admin-flow-pill {
  flex: 0 0 auto;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #ecfdf5;
  padding: 0.42rem 0.72rem;
  color: #065f46;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-flow-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.admin-flow-lanes {
  display: grid;
  gap: 0.55rem;
}

.admin-flow-lane {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.7rem;
  min-height: 4.15rem;
  border: 1px solid #eee8dc;
  border-radius: 1.05rem;
  background: #fffdf9;
  padding: 0.7rem 0.8rem;
  color: inherit;
}

.admin-flow-lane:hover {
  border-color: #a7f3d0;
  background: #ffffff;
  transform: translateY(-1px);
}

.admin-flow-lane.is-ready {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.admin-flow-number {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.65rem;
  background: #f6f1e8;
  color: #1c1917;
  font-size: 0.8rem;
  font-weight: 900;
}

.admin-flow-lane h3 {
  color: #1c1917;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2rem;
}

.admin-flow-lane p {
  margin-top: 0.18rem;
  color: #6b625a;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.1rem;
}

.admin-flow-card {
  display: grid;
  min-height: 13.25rem;
  align-content: space-between;
  gap: 1rem;
  border: 1px solid #eee8dc;
  border-radius: 1.35rem;
  background: #fffdf9;
  padding: 1rem;
  color: inherit;
}

.admin-flow-card:hover {
  border-color: #a7f3d0;
  background: #ffffff;
  transform: translateY(-1px);
}

.admin-flow-card.is-ready {
  border-color: #bbf7d0;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 82%);
}

.admin-flow-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-flow-icon,
.admin-builder-mark,
.admin-next-head > span {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  border-radius: 1.05rem;
  background: #064e3b;
  color: #ffffff;
}

.admin-flow-lane .admin-flow-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.85rem;
}

.admin-flow-card h3 {
  color: #1c1917;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.35rem;
}

.admin-flow-card p {
  margin-top: 0.35rem;
  color: #6b625a;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35rem;
}

.admin-flow-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.admin-flow-mini .admin-path-stat {
  min-height: 3.6rem;
  padding: 0.58rem;
}

.admin-flow-open {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #065f46;
  font-size: 0.86rem;
  font-weight: 900;
}

.admin-command-panel {
  padding: 1.15rem;
}

.admin-command-copy {
  max-width: 42rem;
}

.admin-command-stats,
.admin-builder-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.admin-command-stats {
  min-width: min(100%, 34rem);
}

.admin-command-stats > div,
.admin-builder-stat {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 4.6rem;
  border: 1px solid #eee8dc;
  border-radius: 1.05rem;
  background: #fffdf9;
  padding: 0.75rem;
}

.admin-command-stats span,
.admin-builder-stat > span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  border-radius: 0.75rem;
  background: #ecfdf5;
  color: #065f46;
}

.admin-command-stats strong,
.admin-builder-stat strong {
  display: block;
  color: #1c1917;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.3rem;
}

.admin-command-stats small,
.admin-builder-stat small {
  display: block;
  margin-top: 0.15rem;
  color: #78716c;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 0.95rem;
  text-transform: uppercase;
}

.admin-builder-intro {
  align-items: center;
}

.admin-builder-strip-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-builder-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.admin-section-switch {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.admin-section-switch a {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.2rem;
  border: 1px solid #dedbd4;
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.76);
  padding: 0.62rem 0.78rem;
  color: #4a4038;
}

.admin-section-switch a:hover,
.admin-section-switch a.is-active {
  border-color: #064e3b;
  background: #064e3b;
  color: #ffffff;
}

.admin-section-switch span {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 auto;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.72);
  color: #1c1917;
  font-size: 0.76rem;
  font-weight: 900;
}

.admin-section-switch a.is-active span,
.admin-section-switch a:hover span {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.admin-section-switch strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-next-panel {
  padding: 1.15rem;
}

.admin-next-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.admin-next-actions a,
.admin-next-actions button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.05rem;
  border: 1px solid #eee8dc;
  border-radius: 1rem;
  background: #fffdf9;
  padding: 0.7rem 0.82rem;
  color: #1c1917;
  font-size: 0.92rem;
  font-weight: 900;
  text-align: left;
}

.admin-next-actions a:first-child {
  border-color: #064e3b;
  background: #064e3b;
  color: #ffffff;
}

.admin-next-actions a:hover,
.admin-next-actions button:hover {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #064e3b;
}

.admin-next-actions a:first-child:hover {
  background: #065f46;
  color: #ffffff;
}

.admin-next-summary {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  border: 1px solid #eee8dc;
  border-radius: 1rem;
  background: #fffdf9;
  padding: 0.9rem;
  color: #6b625a;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35rem;
}

.admin-builder-list-head {
  border-bottom: 1px solid #eee8dc;
  background: #fffdf9;
  padding: 1rem;
}

.admin-empty-flow {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  padding: 2.2rem 1rem;
  text-align: center;
}

.admin-empty-flow > span {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 1.2rem;
  background: #ecfdf5;
  color: #065f46;
}

.admin-empty-flow strong {
  color: #1c1917;
  font-size: 1.15rem;
  font-weight: 900;
}

.admin-empty-flow p {
  max-width: 28rem;
  color: #6b625a;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5rem;
}

.admin-section-tile {
  display: grid;
  min-height: 13.2rem;
}

.admin-path-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #eee8dc;
  background: #fffdf9;
  padding: 1rem 1.1rem;
}

.admin-path-list-head h2 {
  margin: 0;
  color: #1c1917;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.25rem;
}

.admin-path-list {
  display: grid;
}

.admin-path-row {
  display: grid;
  grid-template-columns: minmax(22rem, 1.25fr) minmax(21rem, 0.9fr) minmax(18rem, auto);
  gap: 0.85rem;
  align-items: stretch;
  border-top: 1px solid #eee8dc;
  padding: 0.82rem;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.admin-path-row:hover {
  background: #fffaf2;
}

.admin-path-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  min-width: 0;
}

.admin-path-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  background: #064e3b;
  color: #ffffff;
  flex: 0 0 auto;
}

.admin-path-copy {
  display: grid;
  min-width: 0;
  gap: 0.22rem;
}

.admin-path-title-line {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
}

.admin-path-title-line a {
  min-width: 0;
  overflow: hidden;
  color: #123a32;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.3rem;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-path-title-line a:hover {
  text-decoration: underline;
}

.admin-path-chips {
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 0.35rem;
}

.admin-path-copy p {
  margin: 0;
  color: #6b625a;
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.35rem;
}

.admin-path-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: #9a8f84;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1rem;
}

.admin-path-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.42rem;
  align-items: stretch;
}

.admin-path-stat {
  display: grid;
  align-content: center;
  gap: 0.12rem;
  min-height: 3.75rem;
  border: 1px solid #eee8dc;
  border-radius: 0.88rem;
  background: #fffdf9;
  padding: 0.55rem 0.62rem;
}

.admin-path-stat div {
  color: #78716c;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 0.95rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-path-stat strong {
  display: block;
  color: #1c1917;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25rem;
}

.admin-path-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.admin-path-actions form {
  display: inline-flex;
  margin: 0;
}

.admin-path-actions .btn {
  min-height: 2.45rem;
  border-radius: 0.82rem;
  padding: 0.58rem 0.72rem;
  white-space: nowrap;
}

.admin-section-health-list {
  display: grid;
}

.admin-section-health-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.72fr) auto;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid #eee8dc;
  padding: 1rem;
  color: inherit;
  transition: background 160ms ease;
}

.admin-section-health-row:hover {
  background: #fffaf2;
}

.admin-section-health-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  min-width: 0;
}

.admin-section-health-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(4.5rem, 1fr));
  gap: 0.55rem;
}

.admin-section-health-open {
  color: #78716c;
}

.admin-progress-list,
.admin-group-list {
  display: grid;
}

.admin-progress-row,
.admin-group-row,
.admin-group-member-row {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(17rem, 0.8fr) minmax(15rem, 0.72fr) minmax(8rem, auto);
  gap: 1rem;
  align-items: center;
  border-top: 1px solid #eee8dc;
  padding: 1rem;
  transition: background 160ms ease;
}

.admin-group-row,
.admin-group-member-row {
  grid-template-columns: minmax(18rem, 1fr) minmax(18rem, 0.92fr) auto;
}

.admin-progress-row:hover,
.admin-group-row:hover,
.admin-group-member-row:hover {
  background: #fffaf2;
}

.admin-progress-row,
.admin-group-row {
  cursor: pointer;
}

.admin-progress-person {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  min-width: 0;
}

.admin-progress-track {
  display: block;
  width: 100%;
  height: 0.55rem;
  overflow: hidden;
  border-radius: 999px;
  background: #eee8dc;
}

.admin-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #064e3b;
}

.admin-progress-stages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-stage-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.95rem;
  border: 1px solid #dedbd4;
  border-radius: 999px;
  background: #ffffff;
  padding: 0.32rem 0.7rem;
  color: #62564c;
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1rem;
  white-space: nowrap;
}

.admin-stage-chip strong {
  color: #1c1917;
  font-weight: 900;
}

.admin-stage-chip.is-started {
  border-color: #bae6fd;
  background: #f0f9ff;
  color: #075985;
}

.admin-stage-chip.is-complete {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #047857;
}

.admin-progress-notes {
  min-width: 0;
}

.admin-progress-last {
  min-width: 8rem;
}

.admin-group-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(4.7rem, 1fr));
  gap: 0.55rem;
}

.admin-story-list {
  display: grid;
}

.admin-story-row {
  display: grid;
  grid-template-columns: minmax(22rem, 1fr) minmax(18rem, 0.72fr) auto;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid #eee8dc;
  padding: 1rem;
}

.admin-story-row:hover {
  background: #fffaf2;
}

.admin-story-actions {
  display: flex;
  justify-content: flex-end;
}

.admin-story-actions form {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 0;
}

.admin-mini-metric {
  border: 1px solid #dedbd4;
  border-radius: 1rem;
  background: #fffdf9;
  padding: 1rem;
}

.admin-table-shell {
  overflow-x: auto;
  border: 1px solid #dedbd4;
  border-radius: 1.1rem;
  background: #ffffff;
  box-shadow: 0 8px 24px -28px rgba(41, 37, 36, 0.5);
}

.admin-table {
  border-collapse: separate;
  border-spacing: 0;
}

.admin-table thead {
  background: #fbf7ef;
}

.admin-table th {
  padding: 0.9rem 1rem;
  text-align: left;
  color: #62564c;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table td {
  border-top: 1px solid #eee8dc;
  padding: 0.95rem 1rem;
  vertical-align: middle;
  color: #1c1917;
  font-weight: 650;
  line-height: 1.45rem;
  overflow-wrap: normal;
}

.admin-table td:last-child {
  white-space: nowrap;
}

.admin-table tbody tr:hover {
  background: #fffaf2;
}

.admin-table td.empty-cell {
  padding: 2.2rem 1rem;
  text-align: center;
  color: #78716c;
  font-weight: 750;
}

.admin-data-row {
  display: grid;
  gap: 1rem;
  border-top: 1px solid #eee8dc;
  padding: 1rem;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.admin-row-actions form {
  display: inline-flex;
  margin: 0;
}

.admin-row-note {
  display: inline-flex;
  align-items: center;
  min-height: 1.78rem;
  color: #78716c;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.1rem;
  white-space: nowrap;
}

.composer-form {
  display: grid;
  gap: 1rem;
}

.composer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.42fr);
  gap: 1rem;
  align-items: start;
}

.composer-main {
  display: grid;
  gap: 0.85rem;
}

.composer-sheet {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid #dedbd4;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px -34px rgba(41, 37, 36, 0.55);
}

.composer-block {
  display: grid;
  gap: 0.95rem;
  padding: 1.1rem;
}

.composer-block + .composer-block,
.composer-sheet .composer-advanced {
  border-top: 1px solid #eee8dc;
}

.composer-block-head h3 {
  color: #1c1917;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.25rem;
}

.composer-block-head p {
  margin-top: 0.22rem;
  color: #6b625a;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4rem;
}

.composer-panel,
.composer-preview {
  border: 1px solid #dedbd4;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px -34px rgba(41, 37, 36, 0.55);
}

.composer-panel {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
}

.composer-step-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.composer-step-head > span {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.8rem;
  background: #ecfdf5;
  color: #064e3b;
  font-size: 0.9rem;
  font-weight: 900;
}

.composer-step-head h3 {
  color: #1c1917;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.25rem;
}

.composer-step-head p,
.composer-note {
  margin-top: 0.22rem;
  color: #6b625a;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4rem;
}

.composer-fields {
  display: grid;
  gap: 0.85rem;
}

.composer-start-fields {
  gap: 1rem;
}

.composer-fields-two,
.composer-score-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.composer-choice-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.composer-type-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.composer-choice span {
  display: grid;
  gap: 0.28rem;
  min-height: 5rem;
  align-content: center;
  border: 1px solid #dedbd4;
  border-radius: 1rem;
  background: #fffdf9;
  padding: 0.74rem;
  color: #4a4038;
  cursor: pointer;
}

.composer-choice b {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #1c1917;
  font-size: 0.9rem;
  font-weight: 900;
}

.composer-choice small {
  color: #78716c;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.05rem;
}

.composer-choice span:hover {
  border-color: #a7f3d0;
  background: #ffffff;
}

.composer-choice input:checked + span {
  border-color: #064e3b;
  background: #ecfdf5;
  color: #064e3b;
  box-shadow: inset 0 0 0 1px #064e3b;
}

.composer-choice input:checked + span b,
.composer-choice input:checked + span small {
  color: #064e3b;
}

.composer-advanced {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.25rem;
}

.composer-advanced summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  border-radius: 0.9rem;
  padding: 0.65rem 0.8rem;
  color: #57534e;
  font-size: 0.92rem;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.composer-advanced summary::-webkit-details-marker {
  display: none;
}

.composer-advanced summary:hover {
  background: #fffdf9;
  color: #1c1917;
}

.composer-advanced[open] {
  background: #ffffff;
}

.composer-advanced[open] summary {
  border-bottom: 1px solid #eee8dc;
  border-radius: 0.9rem 0.9rem 0 0;
}

.composer-advanced > .composer-fields {
  padding: 0.85rem;
}

.dropzone {
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

[data-step-hidden="1"] {
  display: none !important;
}

.composer-dropzone {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  min-height: 9.5rem;
  border: 2px dashed #d6d3d1;
  border-radius: 1.15rem;
  background: #fffaf2;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
}

.composer-dropzone > span {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.95rem;
  background: #ffffff;
  color: #064e3b;
  box-shadow: 0 8px 24px -24px rgba(41, 37, 36, 0.65);
}

.composer-dropzone b {
  color: #1c1917;
  font-size: 0.98rem;
  font-weight: 900;
}

.composer-dropzone small {
  color: #78716c;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2rem;
}

.composer-dropzone img {
  aspect-ratio: 16 / 9;
  max-height: 13rem;
  width: 100%;
  border: 1px solid #dedbd4;
  border-radius: 1rem;
  object-fit: cover;
}

.dropzone:hover,
.dropzone.is-dragover {
  border-color: #064e3b;
  background: #ecfdf5;
}

.composer-preview {
  display: grid;
  gap: 0.85rem;
  align-self: start;
  background: rgba(255, 255, 255, 0.72);
  padding: 1rem;
}

.composer-preview-head {
  display: grid;
  gap: 0.75rem;
}

.composer-preview-head div:first-child > div {
  color: #047857;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1rem;
  text-transform: uppercase;
}

.composer-preview-head h3 {
  margin-top: 0.15rem;
  color: #1c1917;
  font-size: 1.15rem;
  font-weight: 900;
}

.composer-preview-toggle {
  display: flex;
  width: fit-content;
  border: 1px solid #dedbd4;
  border-radius: 0.9rem;
  background: #ffffff;
  padding: 0.22rem;
}

.preview-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  border-radius: 0.7rem;
  padding: 0.35rem 0.58rem;
  color: #57534e;
  font-size: 0.76rem;
  font-weight: 900;
}

.preview-switch.is-active {
  background: #064e3b;
  color: #ffffff;
}

.composer-preview-phone,
.composer-preview-whatsapp {
  border: 1px solid #eee8dc;
  border-radius: 1.1rem;
  background: #fffdf9;
  padding: 1rem;
}

.composer-preview-meta {
  color: #78716c;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.composer-preview-media {
  overflow: hidden;
  margin-top: 0.85rem;
  border: 1px solid #dedbd4;
  border-radius: 1rem;
  background: #ffffff;
}

.composer-preview-media img {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
}

.composer-preview-media div {
  display: flex;
  gap: 0.45rem;
  padding: 0.85rem;
  color: #064e3b;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.35rem;
}

.composer-preview-title {
  margin-top: 0.95rem;
  color: #1c1917;
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.35rem;
}

.composer-preview-phone p {
  margin-top: 0.5rem;
  white-space: pre-line;
  color: #62564c;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5rem;
}

.composer-preview-options {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.composer-preview-options > div,
.composer-preview-options > .rounded-xl {
  border: 1px solid #dedbd4;
  border-radius: 0.8rem;
  background: #ffffff;
  padding: 0.6rem 0.7rem;
  color: #332c25;
  font-size: 0.86rem;
  font-weight: 900;
}

.composer-preview-score {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.42rem;
  margin-top: 0.75rem;
}

.composer-preview-score span {
  display: grid;
  place-items: center;
  min-height: 2.4rem;
  border: 1px solid #dedbd4;
  border-radius: 0.75rem;
  background: #ffffff;
  color: #1c1917;
  font-size: 0.85rem;
  font-weight: 900;
}

.composer-preview-whatsapp {
  white-space: pre-wrap;
  background: #1c1917;
  color: #fff7ed;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5rem;
}

.composer-save-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  border: 1px solid #dedbd4;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.8rem;
}

.composer-save-bar .btn {
  min-width: 9.5rem;
}

textarea[data-autosize] {
  overflow: hidden;
  resize: none;
}

.admin-data-row:first-child {
  border-top: 0;
}

.card-sort-list {
  display: grid;
  gap: 0;
  padding: 0;
  background: #ffffff;
}

.card-sort-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.72rem;
  border: 0;
  border-top: 1px solid #eee8dc;
  border-radius: 0;
  background: transparent;
  padding: 0.78rem 1rem;
  box-shadow: none;
  min-height: 6.35rem;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease, background-color 150ms ease, opacity 150ms ease;
}

.card-sort-item h4,
.card-sort-item p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.card-sort-item h4 {
  -webkit-line-clamp: 1;
}

.card-sort-item p {
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}

.card-sort-item:first-child {
  border-top: 0;
}

.card-sort-item:hover {
  background: #fffaf2;
}

.card-sort-list.is-dragging .card-sort-item:not(.is-dragging) {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card-sort-item.is-dragging {
  border: 1px solid #064e3b;
  border-radius: 1rem;
  background: #ecfdf5;
  opacity: 0.96;
  transform: translateX(7px) scale(0.995) rotate(0.18deg);
  box-shadow:
    0 0 0 3px rgba(6, 78, 59, 0.08),
    0 18px 42px -30px rgba(6, 78, 59, 0.72);
}

.card-sort-item.is-dragging .card-drag-handle {
  border-color: #064e3b;
  background: #064e3b;
  color: #ffffff;
}

.card-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-radius: 0.78rem;
  background: transparent;
  color: #4a4038;
  cursor: grab;
  touch-action: none;
}

.card-drag-handle:hover,
.card-drag-handle:focus-visible {
  border-color: #064e3b;
  background: #064e3b;
  color: #ffffff;
  outline: 0;
}

.card-drag-handle:active {
  cursor: grabbing;
}

.card-sort-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  flex: 0 0 auto;
  border: 1px solid #eee8dc;
  border-radius: 0.7rem;
  background: #fffaf2;
  color: #1c1917;
  font-size: 0.78rem;
  font-weight: 900;
}

.card-sort-item .btn {
  min-height: 2.3rem;
  border-radius: 0.72rem;
  padding: 0.48rem 0.72rem;
}

@media (max-width: 767px) {
  .admin-topbar {
    margin-bottom: 1rem;
  }

  .admin-topbar-actions {
    display: none !important;
  }

  .admin-page-head {
    display: grid;
    align-items: start;
  }

  .admin-page-head-actions {
    justify-content: flex-start;
  }

  .admin-page-head-actions .btn {
    flex: 1 1 auto;
  }

  .admin-quiet-title {
    display: grid;
    align-items: start;
  }

  .admin-report-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-simple-header {
    grid-template-columns: 1fr;
  }

  .admin-inline-stats,
  .admin-simple-actions {
    justify-content: flex-start;
  }

  .admin-simple-actions .btn,
  .admin-actions-menu,
  .admin-actions-menu summary {
    width: 100%;
  }

  .admin-actions-menu > div {
    position: static;
    min-width: 0;
  }

  .admin-soft-callout {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .admin-soft-callout .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

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

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

  .composer-choice-row,
  .composer-fields-two,
  .composer-score-fields {
    grid-template-columns: 1fr;
  }

  .composer-panel,
  .composer-preview,
  .composer-sheet {
    border-radius: 1.1rem;
  }

  .composer-block {
    padding: 1rem;
  }

  .composer-save-bar {
    position: sticky;
    bottom: 4.4rem;
    z-index: 15;
    justify-content: stretch;
    box-shadow: 0 16px 42px -32px rgba(41, 37, 36, 0.7);
  }

  .composer-save-bar .btn {
    width: 100%;
  }

  .admin-flow-head,
  .admin-builder-intro,
  .admin-command-panel,
  .admin-next-head,
  .admin-builder-list-head {
    display: grid;
    justify-content: stretch;
  }

  .admin-flow-track,
  .admin-command-stats,
  .admin-builder-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-flow-card {
    min-height: 11.5rem;
  }

  .admin-flow-lane {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
  }

  .admin-flow-lane .chip {
    display: none;
  }

  .admin-builder-actions {
    justify-content: stretch;
  }

  .admin-builder-actions .btn {
    width: 100%;
  }

  .admin-section-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-section-switch a {
    min-height: 2.9rem;
  }

  .admin-metric-card {
    min-height: 7.25rem;
  }

  .admin-section-tile {
    min-height: 11.5rem;
  }

  .admin-path-row {
    grid-template-columns: 1fr;
  }

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

  .admin-path-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .admin-section-health-row {
    grid-template-columns: 1fr;
  }

  .admin-section-health-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-section-health-open {
    display: none;
  }

  .admin-progress-row,
  .admin-group-row,
  .admin-group-member-row {
    grid-template-columns: 1fr;
  }

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

  .admin-progress-last {
    min-width: 0;
  }

  .admin-story-row {
    grid-template-columns: 1fr;
  }

  .admin-story-actions,
  .admin-story-actions form {
    justify-content: flex-start;
  }

  .card-sort-item {
    align-items: flex-start;
    min-height: 7.4rem;
    padding: 0.82rem;
  }
}

@media (max-width: 560px) {
  .admin-flow-track,
  .admin-command-stats,
  .admin-builder-strip,
  .admin-section-switch,
  .admin-report-strip {
    grid-template-columns: 1fr;
  }

  .admin-inline-stat {
    flex: 1 1 calc(50% - 0.5rem);
  }

  .admin-builder-strip-compact {
    grid-template-columns: 1fr;
  }

  .composer-type-grid {
    grid-template-columns: 1fr;
  }

  .admin-flow-lane {
    gap: 0.5rem;
    padding: 0.64rem;
  }

  .admin-flow-lane .admin-flow-icon {
    width: 2.15rem;
    height: 2.15rem;
  }

  .admin-flow-panel,
  .admin-command-panel,
  .admin-next-panel {
    border-radius: 1.25rem;
  }

  .admin-flow-mini {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card-sort-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2rem;
  border: 1px solid #dedbd4;
  border-radius: 999px;
  background: #ffffff;
  padding: 0.25rem 0.72rem;
  color: #62564c;
  font-size: 0.75rem;
  font-weight: 900;
}

.card-sort-status[data-state="dragging"],
.card-sort-status[data-state="saving"] {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.card-sort-status[data-state="saved"] {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #065f46;
}

.card-sort-status[data-state="error"] {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.whatsapp-status-section {
  border: 1px solid #bbf7d0;
  border-radius: 1.35rem;
  background: #ecfdf5;
  padding: 1.2rem;
  box-shadow: 0 10px 28px -30px rgba(41, 37, 36, 0.5);
}

.whatsapp-status-section.needs-qr {
  border-color: #fed7aa;
  background: #fff7ed;
}

.whatsapp-status-section.is-offline {
  border-color: #fecaca;
  background: #fef2f2;
}

.whatsapp-status-icon {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 auto;
  border-radius: 1rem;
  background: #064e3b;
  color: #ffffff;
}

.whatsapp-status-section.needs-qr .whatsapp-status-icon {
  background: #b45309;
}

.whatsapp-status-section.is-offline .whatsapp-status-icon {
  background: #b91c1c;
}

.whatsapp-status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid #86efac;
  border-radius: 999px;
  background: #ffffff;
  color: #065f46;
  padding: 0.26rem 0.68rem;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1rem;
}

.whatsapp-status-section.needs-qr .whatsapp-status-badge {
  border-color: #fdba74;
  color: #9a3412;
}

.whatsapp-status-section.is-offline .whatsapp-status-badge {
  border-color: #fca5a5;
  color: #991b1b;
}

.whatsapp-qr-simple {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(120, 113, 108, 0.22);
  padding-top: 1rem;
}

@media (min-width: 768px) {
  .admin-data-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .whatsapp-status-section {
    padding: 1.35rem;
  }
}

.soft-work-area {
  border: 1px solid #dedbd4;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px -30px rgba(41, 37, 36, 0.55);
}

.public-share-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid #bbf7d0;
  border-radius: 1.35rem;
  background: #ecfdf5;
  padding: 1rem;
  box-shadow: 0 12px 30px -32px rgba(6, 78, 59, 0.5);
}

.public-share-main {
  display: flex;
  min-width: 0;
  gap: 0.9rem;
  align-items: flex-start;
}

.public-share-icon {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  flex: 0 0 auto;
  border-radius: 1rem;
  background: #064e3b;
  color: #ffffff;
}

.public-share-url {
  margin-top: 0.85rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  border: 1px solid #a7f3d0;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.75rem 0.85rem;
  color: #064e3b;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.35rem;
}

.public-share-qr {
  width: 8.75rem;
  height: 8.75rem;
  border: 1px solid #a7f3d0;
  border-radius: 1.15rem;
  background: #ffffff;
  padding: 0.55rem;
}

@media (max-width: 720px) {
  .public-share-panel {
    grid-template-columns: 1fr;
  }

  .public-share-qr {
    width: 7rem;
    height: 7rem;
  }
}

section.rounded-lg,
.rounded-lg {
  border-radius: 0.875rem;
}

.rounded-xl {
  border-radius: 1.125rem;
}

.btn-primary {
  background: #064e3b;
  color: white;
}

.btn-primary:hover {
  background: #065f46;
}

.btn-secondary {
  border: 1px solid #d6d3d1;
  color: #3b2f24;
  background: #ffffff;
}

.btn-secondary:hover {
  background: #f5f5f4;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.score-chip span {
  cursor: pointer;
}

.score-chip span:hover {
  transform: translateY(-1px);
  border-color: #064e3b;
}

input,
select,
textarea {
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 4px rgba(6, 78, 59, 0.08);
}

table tbody tr:hover {
  background: #fffaf2;
}

pre {
  font-family: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
}

.prose-life p {
  margin-bottom: 0.75rem;
}

.app-mobile-shell {
  overflow-x: clip;
}

.app-mobile-shell main,
.app-card,
.app-station-row,
.app-media,
.app-media-link {
  min-width: 0;
  max-width: 100%;
}

.app-mobile-shell .grid,
.app-mobile-shell .flex {
  min-width: 0;
}

.app-stack {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.app-card {
  overflow-wrap: anywhere;
}

.app-station-row {
  display: block;
  overflow: hidden;
}

.app-media {
  overflow: hidden;
  margin-top: 1rem;
  border: 1px solid #dedbd4;
  border-radius: 1.2rem;
  background: #ffffff;
  box-shadow: 0 8px 24px -28px rgba(41, 37, 36, 0.5);
}

.app-media-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 68vh;
  object-fit: contain;
  background: #fffaf2;
}

.app-video-embed,
.app-video-player,
.app-media .plyr {
  width: 100%;
  max-width: 100%;
}

.app-video-player {
  display: block;
  aspect-ratio: 16 / 9;
  background: #1c1917;
}

.app-media-caption {
  border-top: 1px solid #dedbd4;
  background: #fffaf2;
  padding: 0.95rem;
  color: #57534e;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.6rem;
}

.app-media-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  border: 1px solid #a7f3d0;
  border-radius: 1rem;
  background: #ecfdf5;
  padding: 0.8rem 1rem;
  color: #064e3b;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.app-mobile-shell .plyr {
  border-radius: 1.2rem 1.2rem 0 0;
}

.app-mobile-shell pre,
.app-mobile-shell textarea,
.app-mobile-shell input,
.app-mobile-shell select,
.app-mobile-shell button,
.app-mobile-shell a {
  max-width: 100%;
}

.app-mobile-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.88), rgba(246, 241, 232, 0) 14rem),
    #f6f1e8;
  color: #1c1917;
}

.app-shell-width {
  width: min(100%, 29.5rem);
  margin-inline: auto;
  padding-inline: 0.85rem;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(214, 211, 209, 0.74);
  background: rgba(255, 253, 249, 0.94);
  padding-block: 0.58rem;
  box-shadow: 0 12px 28px -30px rgba(41, 37, 36, 0.75);
  backdrop-filter: blur(14px);
}

.app-main {
  display: block;
  padding-block: 0.78rem 6.35rem;
}

.app-no-nav .app-main {
  padding-bottom: 1.25rem;
}

.app-brand-mark,
.app-icon-button,
.app-reader-icon,
.app-quick-icon,
.app-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #ffffff;
}

.app-brand-mark {
  width: 2.12rem;
  height: 2.12rem;
  border-radius: 0.82rem;
  background: #064e3b;
  box-shadow: 0 10px 18px -18px rgba(6, 78, 59, 0.9);
}

.app-icon-button {
  width: 2.18rem;
  height: 2.18rem;
  border: 1px solid #dedbd4;
  border-radius: 0.82rem;
  background: #ffffff;
  color: #3b342d;
}

.app-icon-button:hover {
  border-color: #064e3b;
  color: #064e3b;
}

.app-bottom-nav {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  border-top: 1px solid rgba(214, 211, 209, 0.85);
  background: rgba(255, 253, 249, 0.96);
  padding-block: 0.2rem calc(0.2rem + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 28px -26px rgba(41, 37, 36, 0.76);
  backdrop-filter: blur(16px);
}

.app-bottom-nav .app-shell-width {
  padding-inline: 0.7rem;
}

.app-tab {
  display: grid;
  position: relative;
  min-width: 0;
  min-height: 2.28rem;
  place-items: center;
  gap: 0.08rem;
  border-radius: 0.76rem;
  color: #6b6259;
  font-size: 0.56rem;
  font-weight: 850;
  line-height: 0.86rem;
}

.app-tab.is-active {
  background: transparent;
  color: #064e3b;
}

.app-tab.is-active::before {
  content: "";
  position: absolute;
  top: 0.2rem;
  width: 1.18rem;
  height: 0.16rem;
  border-radius: 999px;
  background: #064e3b;
}

.app-tab svg {
  width: 0.98rem;
  height: 0.98rem;
}

.app-tab:not(.is-active):hover {
  background: #fffaf2;
  color: #1c1917;
}

.app-stack {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.app-card,
.app-panel,
.app-home-card,
.app-reader,
.app-section-hero,
.app-quick-card {
  min-width: 0;
  max-width: 100%;
  border: 1px solid #dedbd4;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 34px -34px rgba(41, 37, 36, 0.68);
  overflow: hidden;
  overflow-wrap: anywhere;
}

.app-panel,
.app-home-card,
.app-reader,
.app-section-hero,
.app-quick-card {
  padding: 0.82rem;
}

.app-home-card {
  background:
    linear-gradient(135deg, rgba(236, 253, 245, 0.95), rgba(255, 255, 255, 0.92) 52%, rgba(255, 247, 237, 0.9)),
    #ffffff;
  border-color: #cbdccf;
}

.app-progress-orb {
  display: grid;
  place-items: center;
  flex: 0 0 3.35rem;
  width: 3.35rem;
  height: 3.35rem;
  border: 1px solid rgba(6, 78, 59, 0.18);
  border-radius: 1.12rem;
  background: #064e3b;
  color: #ffffff;
  text-align: center;
}

.app-progress-orb strong {
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.08rem;
}

.app-progress-orb span {
  font-size: 0.54rem;
  font-weight: 900;
  line-height: 0.9rem;
  text-transform: uppercase;
  opacity: 0.78;
}

.app-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.app-section-heading h2 {
  margin: 0;
  color: #1c1917;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.32rem;
}

.app-section-heading p {
  margin-top: 0.18rem;
  color: #706861;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35rem;
}

.app-section-heading > span {
  display: inline-flex;
  min-width: 1.95rem;
  height: 1.95rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #dedbd4;
  border-radius: 0.85rem;
  background: #fffaf2;
  color: #1c1917;
  font-size: 0.8rem;
  font-weight: 900;
}

.app-section-list {
  display: grid;
  gap: 0.56rem;
  margin-top: 0.78rem;
}

.app-section-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid #eee8dc;
  border-radius: 0.96rem;
  background: #fffdf9;
  min-height: 4.18rem;
  padding: 0.58rem;
}

.app-section-row:hover,
.app-quick-card:hover,
.app-group-row:hover {
  border-color: #b6cdbf;
  transform: translateY(-1px);
}

.app-section-number {
  width: 1.94rem;
  height: 1.94rem;
  border-radius: 0.78rem;
  font-size: 0.86rem;
  font-weight: 900;
}

.app-progress-track {
  display: block;
  width: 100%;
  height: 0.55rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e8e2d7;
}

.app-progress-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #064e3b, #d97706);
}

.app-history-card {
  border: 1px solid #eee8dc;
  border-radius: 0.96rem;
  background: #fffdf9;
  padding: 0.78rem;
}

.app-section-hero {
  border-color: #dedbd4;
}

.app-reader {
  display: grid;
  gap: 0.86rem;
  padding: 0;
}

.app-reader > * {
  margin-inline: 0.82rem;
}

.app-reader > .app-back-link {
  margin-top: 0.88rem;
}

.app-reader-head {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 0.85rem;
  margin-inline: 0;
  border-bottom: 1px solid #eee8dc;
  padding: 0.82rem;
}

.app-reader-icon {
  width: 2.18rem;
  height: 2.18rem;
  border-radius: 0.8rem;
}

.app-back-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.4rem;
  color: #62564c;
  font-size: 0.84rem;
  font-weight: 900;
}

.app-back-link:hover {
  color: #064e3b;
}

.app-reading-text,
.app-prompt {
  white-space: pre-wrap;
  color: #332c26;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.54rem;
}

.app-prompt {
  border: 1px solid #eee8dc;
  border-radius: 0.96rem;
  background: #fffaf2;
  padding: 0.78rem;
  font-weight: 800;
}

.app-action-form {
  display: grid;
  gap: 0.9rem;
  padding-bottom: 1rem;
}

.app-complete-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #bbf7d0;
  border-radius: 1rem;
  background: #ecfdf5;
  padding: 0.8rem 0.9rem;
  color: #065f46;
  font-size: 0.86rem;
  font-weight: 900;
}

.app-choice {
  display: flex;
  min-width: 0;
  cursor: pointer;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #dedbd4;
  border-radius: 0.92rem;
  background: #fffdf9;
  padding: 0.72rem;
  color: #1c1917;
}

.app-choice > span,
.app-choice-button > span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 0.8rem;
  background: #f6f1e8;
  color: #1c1917;
  font-weight: 900;
}

.app-choice strong {
  min-width: 0;
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.35rem;
}

.peer:checked + .app-choice {
  border-color: #064e3b;
  background: #064e3b;
  color: #ffffff;
}

.peer:checked + .app-choice > span {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.app-choice-button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #064e3b;
  border-radius: 1.1rem;
  background: #064e3b;
  padding: 0.9rem;
  color: #ffffff;
  text-align: left;
}

.app-choice-button span {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.app-choice-button strong {
  font-size: 0.95rem;
  font-weight: 900;
}

.app-choice-button.is-secondary {
  border-color: #dedbd4;
  background: #ffffff;
  color: #2f2924;
}

.app-choice-button.is-secondary span {
  background: #f6f1e8;
  color: #2f2924;
}

.app-quick-card {
  display: block;
  min-height: 6.1rem;
  padding: 0.9rem;
}

.app-quick-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.95rem;
}

.app-group-row {
  border: 1px solid #eee8dc;
  border-radius: 1.1rem;
  background: #fffdf9;
  min-height: 7.2rem;
  padding: 0.9rem;
}

.app-group-row.is-active {
  border-color: #bbf7d0;
  background: #ecfdf5;
}

.app-chat-window {
  display: grid;
  max-height: min(55vh, 30rem);
  gap: 0.75rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #eee8dc;
  border-radius: 1.15rem;
  background: #fbf7ef;
  padding: 0.75rem;
}

.app-chat-bubble {
  width: min(92%, 23rem);
  border: 1px solid #eee8dc;
  border-radius: 1rem;
  background: #ffffff;
  padding: 0.8rem;
  color: #2f2924;
  box-shadow: 0 10px 24px -28px rgba(41, 37, 36, 0.6);
}

.app-chat-bubble.is-mine {
  margin-left: auto;
  border-color: #bbf7d0;
  background: #ecfdf5;
}

.app-chat-bubble.is-system {
  width: 100%;
  border-color: #fed7aa;
  background: #fff7ed;
}

.app-media {
  margin-inline: 1rem;
  border-radius: 1.15rem;
}

.app-media-img {
  width: 100%;
}

.app-mobile-shell .btn {
  min-height: 2.85rem;
  border-radius: 1rem;
}

.app-mobile-shell .border-emerald-200 {
  border-color: #a7f3d0;
}

.app-mobile-shell .border-amber-200 {
  border-color: #fde68a;
}

.app-mobile-shell .border-sky-200 {
  border-color: #bae6fd;
}

.app-mobile-shell .border-rose-200 {
  border-color: #fecdd3;
}

.app-mobile-shell .border-red-200 {
  border-color: #fecaca;
}

.app-mobile-shell .border-dashed {
  border-style: dashed;
}

.app-mobile-shell .bg-emerald-50 {
  background: #ecfdf5;
}

.app-mobile-shell .bg-amber-50 {
  background: #fffbeb;
}

.app-mobile-shell .bg-sky-50 {
  background: #f0f9ff;
}

.app-mobile-shell .bg-rose-50 {
  background: #fff1f2;
}

.app-mobile-shell .bg-red-50 {
  background: #fef2f2;
}

.app-mobile-shell .bg-white {
  background: #ffffff;
}

.app-home-card h1 {
  font-size: clamp(1.58rem, 7.2vw, 2.05rem);
  line-height: 1.06;
}

.app-panel h1,
.app-section-hero h1,
.app-reader-head h1 {
  font-size: clamp(1.2rem, 5vw, 1.58rem);
  line-height: 1.12;
}

.app-panel h2,
.app-section-heading h2 {
  letter-spacing: -0.01em;
}

.app-mobile-shell input,
.app-mobile-shell select {
  min-height: 2.65rem;
  border-radius: 0.86rem;
}

.app-mobile-shell textarea {
  border-radius: 0.92rem;
}

.app-mobile-shell textarea[name="raw_text"] {
  min-height: 8.5rem;
}

.app-mobile-shell label > span {
  color: #5f5248;
}

.score-chip span {
  min-height: 2.55rem;
  border-radius: 0.86rem !important;
}

.app-station-row {
  border-radius: 0.96rem !important;
}

.app-station-row .chip,
.app-section-row .chip {
  border-radius: 0.72rem;
  padding: 0.22rem 0.5rem;
}

.app-section-hero {
  padding: 0.74rem;
}

.app-section-hero .mt-3 {
  margin-top: 0.58rem;
}

.app-section-hero .app-back-link {
  font-size: 0.78rem;
}

.app-progress-mini-row {
  min-height: 3.72rem;
  border-radius: 0.92rem !important;
  padding: 0.58rem 0.66rem !important;
}

.app-progress-mini-icon {
  width: 2.05rem !important;
  height: 2.05rem !important;
  border-radius: 0.76rem !important;
}

.app-progress-mini-row .chip {
  padding: 0.22rem 0.48rem;
  font-size: 0.68rem;
}

.app-quick-card {
  min-height: 4.65rem;
  padding: 0.68rem;
}

.app-group-row {
  min-height: auto;
  border-radius: 0.96rem;
  padding: 0.78rem;
}

.app-choice-button {
  border-radius: 0.92rem;
  padding: 0.76rem;
}

@media (max-width: 430px) {
  .app-shell-width {
    padding-inline: 0.72rem;
  }

  .app-topbar .app-shell-width {
    padding-inline: 0.9rem;
  }

  .app-topbar a span:last-child {
    font-size: 0.9rem;
  }

  .app-stack {
    gap: 0.78rem;
  }

  .app-panel,
  .app-home-card,
  .app-reader,
  .app-section-hero,
  .app-quick-card {
    border-radius: 1.05rem;
  }

  .app-home-card,
  .app-panel,
  .app-section-hero {
    padding: 0.74rem;
  }

  .app-home-card h1 {
    font-size: clamp(1.46rem, 7.4vw, 1.86rem);
  }

  .app-progress-orb {
    flex-basis: 3rem;
    width: 3rem;
    height: 3rem;
    border-radius: 0.92rem;
  }

  .app-section-row {
    gap: 0.65rem;
    min-height: 3.78rem;
    border-radius: 0.86rem;
    padding: 0.5rem;
  }

  .app-section-row .text-base,
  .app-station-title {
    font-size: 0.9rem;
    line-height: 1.15rem;
  }

  .app-section-row .text-xs,
  .app-station-row .text-\[0\.68rem\] {
    font-size: 0.64rem;
  }

  .app-mobile-shell .btn {
    min-height: 2.6rem;
    border-radius: 0.82rem;
  }

  .app-progress-track {
    height: 0.46rem;
  }

  .app-section-number,
  .app-progress-mini-icon {
    width: 1.82rem !important;
    height: 1.82rem !important;
    border-radius: 0.68rem !important;
  }

  .app-section-list {
    gap: 0.5rem;
    margin-top: 0.7rem;
  }

  .app-station-row {
    padding: 0.5rem !important;
  }

  .app-station-row .chip {
    font-size: 0.64rem;
  }
}

@media (max-width: 380px) {
  .app-main {
    padding-top: 0.62rem;
  }

  .app-home-card,
  .app-panel,
  .app-section-hero {
    padding: 0.62rem;
  }

  .app-home-card h1 {
    font-size: clamp(1.34rem, 7vw, 1.68rem);
  }

  .app-home-card .mt-1 {
    margin-top: 0.18rem;
  }

  .app-home-card .mt-2 {
    margin-top: 0.38rem;
  }

  .app-home-card .mt-5 {
    margin-top: 0.72rem;
  }

  .app-home-card .btn {
    min-height: 2.35rem;
  }

  .app-progress-orb {
    flex-basis: 2.72rem;
    width: 2.72rem;
    height: 2.72rem;
  }

  .app-progress-orb strong {
    font-size: 0.86rem;
  }

  .app-progress-orb span {
    font-size: 0.49rem;
  }

  .app-section-row {
    min-height: 3.24rem;
    padding: 0.42rem;
  }

  .app-section-row .mt-2 {
    margin-top: 0.26rem;
  }

  .app-section-row .mt-1 {
    margin-top: 0.08rem;
  }

  .app-section-number,
  .app-progress-mini-icon {
    width: 1.62rem !important;
    height: 1.62rem !important;
    border-radius: 0.58rem !important;
    font-size: 0.72rem;
  }

  .app-quick-card {
    min-height: 4rem;
    padding: 0.58rem;
  }

  .app-quick-card h2 {
    font-size: 0.92rem;
  }

  .app-quick-card p {
    font-size: 0.68rem;
    line-height: 1rem;
  }

  .app-tab {
    min-height: 2.12rem;
    font-size: 0.52rem;
  }
}

@media (min-width: 700px) {
  .app-shell-width {
    width: min(100% - 2rem, 40rem);
    padding-inline: 0;
  }

  .app-main {
    padding-top: 1.2rem;
  }

  .app-stack {
    gap: 1.15rem;
  }
}

@media (min-width: 980px) {
  .app-shell-width {
    width: min(100% - 2rem, 44rem);
  }
}

.toast-root {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: grid;
  width: min(92vw, 24rem);
  gap: 0.75rem;
  pointer-events: none;
}

@media (max-width: 640px) {
  .toast-root {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 5.7rem;
    width: auto;
  }
}

.app-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid #dedbd4;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.9rem 1rem;
  color: #1c1917;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35rem;
  box-shadow: 0 18px 44px -28px rgba(41, 37, 36, 0.7);
  animation: toast-in 220ms ease-out both;
}

.app-toast.is-leaving {
  animation: toast-out 220ms ease-in both;
}

.app-toast-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.75rem;
}

.app-toast-success .app-toast-icon {
  background: #dcfce7;
  color: #047857;
}

.app-toast-error .app-toast-icon {
  background: #fee2e2;
  color: #b91c1c;
}

.app-toast-info .app-toast-icon {
  background: #e0f2fe;
  color: #0369a1;
}

.story-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.story-marquee-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: story-drift 42s linear infinite alternate;
}

.story-marquee:hover .story-marquee-track {
  animation-play-state: paused;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
}

@keyframes story-drift {
  from {
    transform: translateX(-8%);
  }
  to {
    transform: translateX(8%);
  }
}

/* Public website */
.site-shell {
  --site-ink: #123a32;
  --site-green: #123a32;
  --site-blue: #0b3f86;
  --site-mid-blue: #155a9d;
  --site-orange: #e89518;
  --site-sky: #1fa9d6;
  --site-pale: #c9e7f0;
  --site-cream: #f8f4ea;
  --site-line: #e6dece;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--site-cream);
  color: var(--site-ink);
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-container {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(229, 222, 210, 0.9);
  background: rgba(248, 244, 236, 0.92);
  backdrop-filter: blur(16px);
}

.site-header-inner {
  display: flex;
  min-height: 4.8rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 0.75rem;
  color: var(--site-ink);
  font-weight: 900;
  text-decoration: none;
}

.site-brand > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-brand-mark {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border-radius: 0.8rem;
  background: var(--site-green);
  color: #ffffff;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid rgba(21, 53, 47, 0.08);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.64);
  padding: 0.28rem;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  border-radius: 0.72rem;
  color: rgba(21, 53, 47, 0.68);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1;
  padding: 0.72rem 0.95rem;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: #ffffff;
  color: var(--site-green);
}

.site-action {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 0.9rem;
  padding: 0.78rem 1.05rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.site-action:hover {
  transform: translateY(-1px);
}

.site-action-dark {
  background: var(--site-green);
  color: #ffffff;
  box-shadow: 0 16px 36px -26px rgba(15, 60, 50, 0.8);
}

.site-action-light {
  border-color: rgba(21, 53, 47, 0.14);
  background: #ffffff;
  color: var(--site-green);
}

.site-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--site-line);
  background:
    linear-gradient(135deg, rgba(201, 231, 240, 0.6), rgba(248, 244, 234, 0.94) 45%, rgba(232, 149, 24, 0.12)),
    radial-gradient(circle at 12% 18%, rgba(31, 169, 214, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 24%, rgba(232, 149, 24, 0.16), transparent 26rem),
    var(--site-cream);
}

.site-hero-grid {
  display: grid;
  min-height: clamp(36rem, 78vh, 47rem);
  align-items: center;
  gap: 2.5rem;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.site-hero-copy {
  max-width: 42rem;
}

.site-kicker {
  margin: 0;
  color: var(--site-orange);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-hero h1,
.site-section-page-hero h1,
.site-section h2 {
  margin: 0;
  color: var(--site-ink);
  font-weight: 950;
  letter-spacing: 0;
}

.site-hero h1 {
  margin-top: 1rem;
  max-width: 12ch;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.95;
}

.site-lead {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  color: rgba(21, 53, 47, 0.76);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 750;
  line-height: 1.75;
}

.site-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.site-wheel-card {
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: min(100%, 31rem);
  margin-inline: auto;
  border: 1px solid rgba(21, 53, 47, 0.08);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.72);
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow: 0 24px 56px -48px rgba(18, 58, 50, 0.56);
}

.site-wheel-card p {
  margin: 0;
  color: rgba(21, 53, 47, 0.7);
  font-size: 0.95rem;
  font-weight: 850;
  text-align: center;
}

.wellness-wheel {
  display: block;
  width: min(100%, 28rem);
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(18, 58, 50, 0.14));
}

.wellness-wheel-halo {
  fill: #fffaf0;
  stroke: rgba(18, 58, 50, 0.06);
  stroke-width: 1;
}

.wellness-wheel-piece {
  cursor: pointer;
  stroke: #f8f4ea;
  stroke-width: 4;
  transition: opacity 160ms ease, transform 160ms ease;
}

.wellness-wheel a:hover .wellness-wheel-piece {
  opacity: 0.86;
  transform: scale(1.015);
  transform-origin: center;
}

.wellness-wheel-label {
  fill: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
  pointer-events: none;
}

.wellness-wheel-texture line {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 2.4;
}

.wellness-wheel-mind-line path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.2;
}

.wellness-wheel-dots circle {
  fill: rgba(11, 63, 134, 0.22);
}

.wellness-wheel-center-aura {
  fill: rgba(255, 217, 147, 0.24);
}

.wellness-wheel-ray {
  stroke: rgba(232, 149, 24, 0.46);
  stroke-linecap: round;
  stroke-width: 1.6;
}

.wellness-wheel-center-ring {
  fill: url(#wheelCenterGlow);
  stroke: rgba(232, 149, 24, 0.2);
  stroke-width: 1.4;
}

.wellness-wheel-flame {
  fill: var(--site-orange);
  stroke: rgba(18, 58, 50, 0.08);
  stroke-width: 0.8;
}

.wellness-wheel-flame-core {
  fill: #ffd993;
}

.site-section {
  padding-block: clamp(3rem, 7vw, 5.2rem);
}

.site-section-tint {
  border-block: 1px solid var(--site-line);
  background: #fff9ef;
}

.site-start-section {
  padding-block: clamp(2rem, 5vw, 3.8rem);
}

.site-start-panel {
  display: grid;
  gap: 1.25rem;
  border: 1px solid rgba(21, 53, 47, 0.09);
  border-radius: 1.8rem;
  background: #ffffff;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  box-shadow: 0 22px 52px -44px rgba(21, 53, 47, 0.58);
}

.site-current-path {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  border-radius: 0.85rem;
  background: #f1f8fb;
  color: var(--site-blue);
  font-size: 0.82rem;
  font-weight: 950;
  padding: 0.62rem 0.8rem;
}

.site-section-dark {
  background: #102e28;
  color: #ffffff;
}

.site-section-dark h2,
.site-section-dark .site-kicker {
  color: #ffffff;
}

.site-section-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.site-section-head {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.site-section h2,
.site-section-page-hero h1 {
  margin-top: 0.65rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
}

.site-copy {
  margin: 1rem 0 0;
  color: rgba(21, 53, 47, 0.72);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.75;
}

.site-four-grid,
.site-mode-grid,
.site-question-grid,
.site-next-grid,
.site-video-grid,
.site-video-preview {
  display: grid;
  gap: 1rem;
}

.site-four-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-part-card,
.site-mode-card,
.site-question-card,
.site-next-card,
.site-station-row,
.site-booking-panel,
.site-video-card,
.site-empty-media {
  border: 1px solid rgba(21, 53, 47, 0.09);
  border-radius: 1.35rem;
  background: #ffffff;
  box-shadow: 0 16px 34px -34px rgba(18, 58, 50, 0.55);
}

.site-part-card {
  display: grid;
  min-height: 14rem;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.8rem;
  padding: 1.15rem;
  color: var(--site-ink);
  text-decoration: none;
}

.site-part-card span,
.site-mode-card span,
.site-next-card span,
.site-question-card span {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border-radius: 0.85rem;
  background: var(--part-soft, #eef8f0);
  color: var(--part-color, var(--site-green));
}

.site-part-card strong,
.site-next-card strong {
  font-size: 1.25rem;
  font-weight: 950;
}

.site-part-card p,
.site-mode-card p,
.site-video-card p,
.site-question-card p,
.site-station-row p {
  margin: 0;
  color: rgba(21, 53, 47, 0.7);
  font-size: 0.94rem;
  font-weight: 730;
  line-height: 1.6;
}

.site-part-card small {
  color: rgba(21, 53, 47, 0.48);
  font-size: 0.78rem;
  font-weight: 950;
}

.site-split {
  display: grid;
  align-items: start;
  gap: 1.5rem;
}

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

.site-offerings-section {
  padding-block: clamp(2.8rem, 6vw, 4.8rem);
}

.site-offering-grid {
  display: grid;
  gap: 1rem;
}

.site-offering-card {
  display: grid;
  min-height: 21rem;
  align-content: space-between;
  gap: 1.2rem;
  border: 1px solid rgba(18, 58, 50, 0.1);
  border-radius: 1.55rem;
  padding: clamp(1.25rem, 3vw, 1.7rem);
  overflow: hidden;
}

.site-offering-card h2 {
  max-width: 11ch;
  margin: 0.65rem 0 0;
  color: var(--site-ink);
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  font-weight: 950;
  line-height: 1.02;
}

.site-offering-card .site-action {
  width: fit-content;
}

.site-offering-card-primary {
  background:
    linear-gradient(135deg, rgba(11, 63, 134, 0.94), rgba(21, 90, 157, 0.86)),
    var(--site-blue);
  color: #ffffff;
}

.site-offering-card-primary h2,
.site-offering-card-primary .site-kicker {
  color: #ffffff;
}

.site-offering-card-primary .site-copy {
  color: rgba(255, 255, 255, 0.78);
}

.site-offering-card-primary .site-action-dark {
  background: #ffffff;
  color: var(--site-blue);
  box-shadow: none;
}

.site-offering-card-hike {
  background:
    radial-gradient(circle at 85% 20%, rgba(31, 169, 214, 0.2), transparent 18rem),
    linear-gradient(135deg, #ffffff, #fff6e7);
}

.site-mode-card,
.site-question-card {
  display: grid;
  gap: 0.8rem;
  padding: 1.1rem;
}

.site-mode-link {
  color: var(--site-ink);
  text-decoration: none;
}

.site-mode-link:hover {
  border-color: rgba(21, 53, 47, 0.18);
  transform: translateY(-1px);
}

.site-mode-grid-compact .site-mode-card {
  min-height: 10.5rem;
}

.site-mode-card h3 {
  margin: 0;
  color: var(--site-ink);
  font-size: 1.05rem;
  font-weight: 950;
}

.site-booking-panel {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.site-booking-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.35rem;
  border-radius: 1.2rem;
  background: #f1f8fb;
  padding: 1rem;
  color: var(--site-blue);
  font-weight: 850;
  line-height: 1.5;
}

.retreat-form {
  display: grid;
  gap: 0.9rem;
  border-radius: 1rem;
  background: #fbf7ef;
  padding: 1rem;
}

.retreat-form-grid {
  display: grid;
  gap: 0.8rem;
}

.retreat-form label {
  display: grid;
  gap: 0.42rem;
  min-width: 0;
  color: rgba(21, 53, 47, 0.72);
  font-size: 0.84rem;
  font-weight: 900;
}

.retreat-form input,
.retreat-form select,
.retreat-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(21, 53, 47, 0.14);
  border-radius: 0.85rem;
  background: #ffffff;
  color: var(--site-ink);
  font: inherit;
  font-weight: 750;
  outline: none;
  padding: 0.85rem 0.95rem;
}

.retreat-form input:focus,
.retreat-form select:focus,
.retreat-form textarea:focus {
  border-color: var(--site-orange);
}

.site-media-strip {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.site-home-media {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 1.65rem);
}

.site-home-media-copy {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.site-home-media-copy h2 {
  max-width: 11ch;
}

.site-home-media-copy p:not(.site-kicker) {
  max-width: 34rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 740;
  line-height: 1.7;
}

.site-home-media-copy .site-action {
  width: fit-content;
}

.site-home-media-preview {
  display: grid;
  min-width: 0;
  gap: 1rem;
}

.site-home-media-preview.has-videos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-home-media-preview .site-video-card,
.site-home-media-preview .site-video-placeholder {
  min-width: 0;
  background: #fffdf8;
}

.site-home-media-preview.is-single .site-video-card,
.site-home-media-preview.is-single .site-video-placeholder {
  width: 100%;
}

.site-home-media-preview .site-video-placeholder-screen {
  min-height: clamp(13rem, 26vw, 19rem);
}

.site-video-preview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
}

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

.site-video-card {
  overflow: hidden;
}

.site-video-card iframe,
.site-video-card > a {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  border: 0;
  background: #0d271f;
  color: #ffffff;
  text-decoration: none;
}

.site-video-card div {
  padding: 1rem;
}

.site-video-card span {
  display: inline-flex;
  border-radius: 0.75rem;
  padding: 0.32rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 950;
}

.site-video-card h3 {
  margin: 0.75rem 0 0;
  color: var(--site-ink);
  font-size: 1.05rem;
  font-weight: 950;
}

.site-section-page-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--site-line);
  background:
    linear-gradient(135deg, var(--part-soft, #f1f8fb), #ffffff 58%, #fffaf1);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.site-section-page-grid {
  display: grid;
  align-items: center;
  gap: 2rem;
}

.site-section-symbol {
  display: grid;
  min-height: 18rem;
  place-items: center;
  align-content: center;
  gap: 0.85rem;
  border: 1px solid rgba(21, 53, 47, 0.08);
  border-radius: 1.55rem;
  background: #ffffff;
  color: var(--part-color, var(--site-blue));
  box-shadow: 0 24px 58px -46px rgba(21, 53, 47, 0.7);
}

.site-section-symbol span {
  display: grid;
  width: 8rem;
  height: 8rem;
  place-items: center;
  border-radius: 1.2rem;
  background: var(--part-soft, #f1f8fb);
}

.site-section-symbol strong {
  color: var(--site-ink);
  font-size: 2rem;
  font-weight: 950;
}

.site-section-symbol small {
  max-width: 15rem;
  color: rgba(21, 53, 47, 0.62);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.site-score-card {
  display: grid;
  gap: 0.65rem;
  border: 1px solid rgba(21, 53, 47, 0.09);
  border-radius: 1.05rem;
  background: #ffffff;
  padding: 0.8rem;
  box-shadow: 0 18px 40px -34px rgba(21, 53, 47, 0.55);
}

.site-score-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(21, 53, 47, 0.5);
  font-size: 0.76rem;
  font-weight: 950;
  padding-inline: 0.18rem;
  text-transform: uppercase;
}

.site-score-box {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 0.35rem;
}

.site-score-box span {
  display: grid;
  min-height: 2.5rem;
  place-items: center;
  border-radius: 0.75rem;
  background: #f8f4ec;
  color: var(--site-ink);
  font-weight: 950;
}

.site-station-list {
  display: grid;
  gap: 0.75rem;
}

.site-station-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem;
}

.site-station-row:hover {
  border-color: rgba(21, 53, 47, 0.18);
  transform: translateY(-1px);
}

.site-station-row > span {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--site-green);
  color: #ffffff;
  font-weight: 950;
}

.site-station-row strong {
  display: block;
  color: var(--site-ink);
  font-weight: 950;
}

.site-station-row small {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 0.75rem;
  background: #f8f4ec;
  padding: 0.45rem 0.65rem;
  color: rgba(21, 53, 47, 0.62);
  font-size: 0.75rem;
  font-weight: 950;
  white-space: nowrap;
}

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

.site-question-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

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

.site-next-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  color: var(--site-ink);
  text-decoration: none;
}

.site-section-cta {
  display: grid;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(18, 58, 50, 0.1);
  border-radius: 1.35rem;
  background: #ffffff;
  padding: clamp(1.2rem, 3vw, 1.6rem);
}

.site-section-cta h2 {
  max-width: 16ch;
}

.site-empty-media {
  padding: 1.5rem;
  color: rgba(21, 53, 47, 0.68);
  font-weight: 850;
  line-height: 1.6;
}

.site-media-empty-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.6rem);
}

.site-media-empty-card > span {
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border-radius: 0.9rem;
  background: #fff6e7;
  color: var(--site-orange);
}

.site-media-empty-card h2 {
  margin: 0;
  color: var(--site-ink);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.1;
}

.site-media-empty-card p {
  margin: 0.6rem 0 0;
  color: rgba(21, 53, 47, 0.68);
  font-weight: 760;
  line-height: 1.65;
}

.site-story-marquee {
  margin-top: 1.25rem;
}

.site-story-card {
  width: min(78vw, 22rem);
  flex: 0 0 auto;
  border: 1px solid rgba(21, 53, 47, 0.1);
  border-radius: 1.2rem;
  padding: 1.2rem;
}

.site-story-card p {
  margin: 0;
  font-weight: 850;
  line-height: 1.7;
}

.site-story-blue {
  background: #edf5fb;
  color: #0b4d8b;
}

.site-story-orange {
  background: #fff6e7;
  color: #8a4f08;
}

.site-story-sky {
  background: #edfaff;
  color: #08739a;
}

.site-story-pale {
  background: #f1f8fb;
  color: #15352f;
}

.site-media-hero {
  --part-color: var(--site-orange);
  --part-soft: #fff6e7;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #10241f;
  color: #ffffff;
  padding-block: 2rem;
}

.site-footer-grid {
  display: grid;
  align-items: center;
  gap: 1.5rem;
}

.site-footer .site-brand {
  color: #ffffff;
}

.site-footer p {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 720;
  line-height: 1.65;
}

.site-footer-links {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.site-footer-links a {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 850;
  padding: 0.62rem 0.8rem;
  text-decoration: none;
}

.site-support-button {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  background: rgba(18, 58, 50, 0.96);
  color: #ffffff;
  padding: 0.72rem 0.9rem;
  text-decoration: none;
  box-shadow: 0 14px 34px -30px rgba(18, 58, 50, 0.78);
  backdrop-filter: blur(14px);
}

.site-support-button > span:first-child {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 0.78rem;
  background: rgba(255, 255, 255, 0.12);
}

.site-support-button small,
.site-support-button strong {
  display: block;
  line-height: 1.12;
}

.site-support-button small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 850;
}

.site-support-button strong {
  margin-top: 0.15rem;
  font-size: 0.92rem;
  font-weight: 950;
}

.site-wide-cta {
  display: grid;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(18, 58, 50, 0.1);
  border-radius: 1.45rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 231, 0.92)),
    #ffffff;
  padding: clamp(1.2rem, 3vw, 1.7rem);
}

.site-flat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.site-flat-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-flat-card {
  display: grid;
  min-height: 13rem;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.78rem;
  border: 1px solid rgba(21, 53, 47, 0.09);
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, var(--part-soft, #f8f4ea), #ffffff 58%);
  color: var(--site-ink);
  padding: 1rem;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.site-flat-card:hover {
  border-color: rgba(21, 53, 47, 0.18);
  transform: translateY(-1px);
}

.site-flat-card > span {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 0.78rem;
  background: #ffffff;
  color: var(--part-color, var(--site-green));
}

.site-flat-card strong {
  color: var(--site-ink);
  font-size: 1.15rem;
  font-weight: 950;
}

.site-flat-card p,
.site-flow-steps p,
.site-video-placeholder p {
  margin: 0;
  color: rgba(21, 53, 47, 0.68);
  font-size: 0.94rem;
  font-weight: 740;
  line-height: 1.6;
}

.site-flat-card small {
  color: var(--part-color, var(--site-green));
  font-size: 0.78rem;
  font-weight: 950;
}

.site-path-flow,
.site-video-and-copy {
  display: grid;
  align-items: center;
  gap: 1.25rem;
}

.site-centered-copy {
  display: grid;
  max-width: 52rem;
  gap: 1rem;
}

.site-flow-steps {
  display: grid;
  gap: 0.75rem;
}

.site-flow-steps article {
  display: grid;
  grid-template-columns: auto minmax(0, 0.32fr) minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(21, 53, 47, 0.08);
  border-radius: 1rem;
  background: #ffffff;
  padding: 0.75rem;
}

.site-flow-steps span {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border-radius: 0.72rem;
  background: #123a32;
  color: #ffffff;
  font-weight: 950;
}

.site-flow-steps strong {
  color: var(--site-ink);
  font-weight: 950;
}

.site-video-placeholder {
  overflow: hidden;
  border: 1px solid rgba(21, 53, 47, 0.09);
  border-radius: 1.25rem;
  background: #ffffff;
}

.site-video-placeholder-screen {
  position: relative;
  display: grid;
  min-height: 15rem;
  aspect-ratio: 16 / 9;
  place-items: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--part-color, #123a32) 88%, #000 0%), color-mix(in srgb, var(--part-color, #123a32) 58%, #ffffff 42%)),
    var(--part-color, #123a32);
}

.site-video-placeholder-screen::before {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  content: "";
}

.site-video-placeholder-screen span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 4.4rem;
  height: 4.4rem;
  place-items: center;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--part-color, var(--site-green));
}

.site-video-placeholder > div:last-child {
  padding: 1rem;
}

.site-video-placeholder h3 {
  margin: 0.52rem 0 0.45rem;
  color: var(--site-ink);
  font-size: 1.1rem;
  font-weight: 950;
}

.site-highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.site-highlight-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(21, 53, 47, 0.09);
  border-radius: 0.82rem;
  background: #ffffff;
  color: var(--site-ink);
  font-size: 0.84rem;
  font-weight: 900;
  padding: 0.58rem 0.7rem;
}

.site-booking-panel-flat {
  background:
    linear-gradient(135deg, #ffffff, #fff8ed);
  box-shadow: none;
}

.site-retreat-focus-card {
  display: grid;
  min-height: 19rem;
  align-content: center;
  justify-items: center;
  gap: 0.85rem;
  border: 1px solid rgba(21, 53, 47, 0.09);
  border-radius: 1.45rem;
  background:
    linear-gradient(135deg, #eaf9fd, #fff8ed);
  color: #123a32;
  padding: clamp(1.2rem, 3vw, 1.7rem);
  text-align: center;
}

.site-retreat-focus-card span {
  display: grid;
  width: 5rem;
  height: 5rem;
  place-items: center;
  border-radius: 1.1rem;
  background: #ffffff;
  color: var(--site-sky);
}

.site-retreat-focus-card strong {
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.site-retreat-focus-card p {
  max-width: 23rem;
  margin: 0;
  color: rgba(21, 53, 47, 0.68);
  font-weight: 760;
  line-height: 1.65;
}

.site-wheel-card-plain {
  background: rgba(255, 255, 255, 0.84);
}

.site-paths-hero {
  --part-color: var(--site-blue);
  --part-soft: #eaf4fa;
}

.site-hikes-hero {
  --part-color: var(--site-orange);
  --part-soft: #fff3df;
}

.site-retreat-hero {
  --part-color: var(--site-sky);
  --part-soft: #eaf9fd;
}

@media (min-width: 880px) {
  .site-hero-grid,
  .site-split,
  .site-booking-panel,
  .site-section-page-grid,
  .site-footer-grid,
  .site-path-flow,
  .site-video-and-copy {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.85fr);
  }

  .site-start-panel {
    grid-template-columns: minmax(0, 0.85fr) minmax(30rem, 1.15fr);
  }

  .site-offering-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .site-section-cta {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-wide-cta {
    grid-template-columns: minmax(0, 1fr) auto;
  }

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

@media (max-width: 980px) {
  .site-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: auto;
    padding-block: 0.85rem;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .site-header .site-action {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .site-four-grid,
  .site-mode-grid,
  .site-flat-grid,
  .site-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-home-media {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-home-media-copy {
    max-width: 42rem;
  }
}

@media (max-width: 680px) {
  .site-container {
    width: min(100% - 1.1rem, 72rem);
  }

  .site-header-inner {
    gap: 0.75rem;
    padding-block: 0.65rem;
  }

  .site-brand {
    min-width: 0;
    gap: 0.55rem;
    font-size: 0.92rem;
  }

  .site-brand-mark {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.82rem;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.2rem;
    overflow: visible;
    padding: 0.22rem;
  }

  .site-nav a {
    padding: 0.62rem 0.15rem;
    font-size: 0.72rem;
    text-align: center;
  }

  .site-hero-grid {
    min-height: auto;
    gap: 1.5rem;
    padding-block: 2rem 2.6rem;
  }

  .site-section {
    padding-block: 2.45rem;
  }

  .site-section-page-hero {
    padding-block: 1.85rem 2.25rem;
  }

  .site-section-page-grid {
    gap: 1.2rem;
  }

  .site-hero h1 {
    max-width: 10ch;
    font-size: clamp(2.25rem, 14vw, 3.7rem);
    line-height: 1.01;
  }

  .site-lead {
    margin-top: 1rem;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .site-action {
    width: 100%;
  }

  .site-header .site-action {
    width: auto;
    min-height: 2.35rem;
    padding: 0.62rem 0.76rem;
    font-size: 0.78rem;
  }

  .site-wheel-card {
    border-radius: 1.7rem;
    padding: 0.85rem;
  }

  .wellness-wheel {
    width: min(100%, 22.5rem);
  }

  .site-four-grid,
  .site-mode-grid,
  .site-flat-grid,
  .site-flat-grid-three,
  .site-video-grid,
  .site-question-grid,
  .site-next-grid {
    grid-template-columns: 1fr;
  }

  .site-video-preview,
  .site-home-media-preview,
  .site-home-media-preview.has-videos {
    grid-template-columns: 1fr;
  }

  .site-home-media-copy h2 {
    max-width: none;
  }

  .site-home-media-copy .site-action {
    width: 100%;
  }

  .site-part-card {
    min-height: auto;
  }

  .site-start-panel,
  .site-booking-panel,
  .site-offering-card,
  .site-section-cta,
  .site-wide-cta {
    border-radius: 1.4rem;
  }

  .site-offering-card {
    min-height: auto;
  }

  .site-offering-card .site-action,
  .site-section-cta .site-action,
  .site-wide-cta .site-action {
    width: 100%;
  }

  .site-mode-grid-compact .site-mode-card {
    min-height: auto;
  }

  .site-media-strip {
    display: grid;
  }

  .site-station-row {
    grid-template-columns: auto minmax(0, 1fr);
    border-radius: 1.18rem;
    padding: 0.85rem;
  }

  .site-station-row small {
    grid-column: 2;
    width: max-content;
  }

  .site-score-box {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .site-section-symbol {
    min-height: auto;
    border-radius: 1.55rem;
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    place-items: center start;
    padding: 1rem;
    text-align: left;
  }

  .site-section-symbol span {
    width: 4.4rem;
    height: 4.4rem;
  }

  .site-section-symbol strong {
    font-size: 1.55rem;
  }

  .site-section-symbol small {
    grid-column: 2;
    max-width: none;
    margin-top: -0.75rem;
    font-size: 0.82rem;
    text-align: left;
  }

  .site-score-card {
    border-radius: 1.15rem;
    padding: 0.72rem;
  }

  .site-media-empty-card {
    grid-template-columns: 1fr;
  }

  .site-flow-steps article {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .site-flow-steps p {
    grid-column: 2;
  }

  .site-video-placeholder-screen {
    min-height: 11.5rem;
  }

  .site-support-button {
    right: 0.65rem;
    bottom: 0.65rem;
    left: auto;
    justify-content: flex-start;
    padding: 0.62rem 0.72rem;
    border-radius: 0.95rem;
  }

  .site-support-button > span:first-child {
    width: 2.1rem;
    height: 2.1rem;
  }

  .site-support-button small {
    font-size: 0.68rem;
  }

  .site-support-button strong {
    font-size: 0.82rem;
  }
}

/* Calm surface pass */
:root {
  --calm-paper: #fbf6ec;
  --calm-paper-soft: #f7efe2;
  --calm-surface: rgba(255, 253, 248, 0.92);
  --calm-surface-strong: #fffdf8;
  --calm-line: rgba(137, 111, 82, 0.13);
  --calm-line-soft: rgba(137, 111, 82, 0.08);
  --calm-ink: #143b33;
  --calm-muted: #6f6257;
  --calm-shadow: 0 22px 54px -48px rgba(57, 45, 34, 0.52);
}

body {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.72), rgba(255, 253, 248, 0) 18rem),
    var(--calm-paper);
  color: var(--calm-ink);
}

.admin-main {
  background:
    radial-gradient(circle at 12% 0%, rgba(232, 149, 24, 0.08), transparent 25rem),
    radial-gradient(circle at 90% 10%, rgba(31, 169, 214, 0.08), transparent 26rem),
    var(--calm-paper);
}

.admin-topbar {
  border-bottom: 0;
  padding-bottom: 0.35rem;
}

.admin-topbar h1 {
  color: var(--calm-ink);
  letter-spacing: -0.01em;
}

.admin-sidebar {
  border-right-color: var(--calm-line-soft);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.82), rgba(247, 239, 226, 0.92)),
    var(--calm-paper-soft);
}

.admin-nav-link {
  border-radius: 0.85rem;
  color: #5d5148;
}

.admin-nav-link:hover {
  background: rgba(255, 253, 248, 0.72);
}

.admin-nav-link.is-active {
  background: #123a32;
  box-shadow: none;
}

.btn {
  border-radius: 0.78rem;
  box-shadow: none;
}

.btn-primary {
  background: #123a32;
}

.btn-secondary,
.admin-actions-menu summary {
  border-color: var(--calm-line);
  background: rgba(255, 253, 248, 0.84);
}

.btn-secondary:hover,
.admin-actions-menu summary:hover {
  background: #fffaf1;
}

.chip {
  border-radius: 0.72rem;
  border-color: transparent;
  padding-inline: 0.58rem;
  font-size: 0.72rem;
  font-weight: 850;
}

.chip-muted {
  background: #f3eadb;
  color: #5b4d40;
}

.chip-status {
  border-color: transparent;
}

.admin-panel,
.admin-page-head,
.admin-simple-header,
.admin-slim-panel,
.admin-soft-callout,
.admin-flow-panel,
.admin-command-panel,
.admin-next-panel,
.composer-panel,
.composer-preview,
.composer-sheet,
.app-card,
.app-panel,
.app-home-card,
.app-reader,
.app-section-hero,
.app-quick-card {
  border-color: var(--calm-line);
  background: var(--calm-surface);
  box-shadow: var(--calm-shadow);
}

.admin-panel.overflow-hidden,
.admin-report-body,
.admin-builder-list-head,
.admin-path-list-head,
.admin-quiet-title {
  background: rgba(255, 253, 248, 0.72);
}

.admin-page-head,
.admin-simple-header,
.admin-flow-panel,
.admin-command-panel,
.admin-next-panel {
  border-radius: 1.35rem;
}

.admin-report-strip,
.admin-inline-stat,
.admin-flow-lane,
.admin-flow-card,
.admin-builder-stat,
.admin-command-stats > div,
.admin-next-summary,
.admin-attention-list a,
.admin-attention-empty,
.admin-path-stat,
.admin-section-health-stats > div,
.admin-mini-metric,
.composer-block,
.composer-choice span,
.composer-dropzone,
.composer-preview-phone,
.composer-preview-whatsapp,
.card-sort-item {
  border-color: var(--calm-line);
  background: rgba(255, 253, 248, 0.78);
}

.admin-path-row,
.admin-section-health-row,
.admin-progress-row,
.admin-group-row,
.admin-group-member-row {
  border-top-color: var(--calm-line-soft);
  background: rgba(255, 253, 248, 0.7);
}

.admin-path-row:hover,
.admin-section-health-row:hover,
.admin-progress-row:hover,
.admin-group-row:hover,
.admin-group-member-row:hover,
.admin-flow-lane:hover,
.card-sort-item:hover {
  background: rgba(255, 249, 239, 0.95);
  border-color: rgba(137, 111, 82, 0.18);
}

.admin-path-icon,
.admin-flow-icon,
.admin-builder-mark,
.admin-next-head > span,
.app-brand-mark,
.app-reader-icon,
.app-quick-icon,
.app-section-number {
  background: #123a32;
  box-shadow: none;
}

.admin-flow-kicker,
.site-kicker {
  color: #c87912;
}

.admin-flow-head p:not(.admin-flow-kicker),
.admin-builder-intro p:not(.admin-flow-kicker),
.admin-command-copy p:not(.admin-flow-kicker),
.admin-next-head p,
.admin-builder-list-head p,
.admin-page-head p,
.admin-simple-header p:not(.admin-flow-kicker),
.admin-soft-callout p,
.admin-path-copy p {
  color: var(--calm-muted);
}

.admin-mobile-nav,
.app-bottom-nav,
.app-topbar {
  border-color: var(--calm-line-soft);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: none;
}

.app-mobile-shell {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.86), rgba(255, 253, 248, 0) 16rem),
    var(--calm-paper);
}

.app-icon-button,
.app-media,
.app-media-link,
.app-station-row {
  border-color: var(--calm-line);
  background: var(--calm-surface-strong);
  box-shadow: none;
}

.site-shell {
  background:
    radial-gradient(circle at 15% 4%, rgba(31, 169, 214, 0.08), transparent 26rem),
    radial-gradient(circle at 88% 9%, rgba(232, 149, 24, 0.09), transparent 28rem),
    var(--site-cream);
}

.site-header,
.site-footer {
  border-color: var(--calm-line-soft);
}

.site-wheel-card,
.site-part-card,
.site-offering-card,
.site-booking-panel,
.site-wide-cta,
.site-section-cta,
.site-flat-card,
.site-video-card,
.site-video-placeholder,
.site-empty-media,
.site-question-card,
.site-station-row,
.site-score-card,
.site-section-symbol,
.site-retreat-focus-card,
.site-story-card {
  border-color: var(--calm-line);
  box-shadow: var(--calm-shadow);
}

.site-part-card,
.site-flat-card,
.site-question-card,
.site-station-row,
.site-score-card,
.site-video-card,
.site-video-placeholder,
.site-empty-media {
  background: rgba(255, 253, 248, 0.9);
}

.site-section-tint {
  border-block-color: var(--calm-line-soft);
  background: #fbf1e3;
}

.site-action {
  border-radius: 0.78rem;
  box-shadow: none;
}

.site-action-light {
  border-color: var(--calm-line);
  background: rgba(255, 253, 248, 0.9);
}

.retreat-form {
  background: #fbf2e6;
}

.retreat-form input,
.retreat-form select,
.retreat-form textarea {
  border-color: var(--calm-line);
  background: #fffdf8;
}

/* Admin control rows: one compact pattern for paths, people, groups, and members. */
.admin-path-row,
.admin-progress-row,
.admin-group-row,
.admin-group-member-row,
.admin-section-health-row {
  gap: 0.65rem;
  align-items: center;
  padding: 0.64rem 0.75rem;
}

.admin-path-row {
  grid-template-columns: minmax(17rem, 1fr) minmax(16rem, auto) auto;
}

.admin-progress-row {
  grid-template-columns: minmax(16rem, 1.2fr) minmax(14rem, 0.78fr) minmax(10rem, 0.55fr) minmax(7rem, auto);
}

.admin-group-row,
.admin-group-member-row {
  grid-template-columns: minmax(16rem, 1fr) minmax(15rem, auto) auto;
}

.admin-section-health-row {
  grid-template-columns: minmax(16rem, 1fr) minmax(16rem, auto) auto;
}

.admin-path-main,
.admin-progress-person,
.admin-section-health-main {
  gap: 0.62rem;
  align-items: center;
}

.admin-path-icon,
.admin-flow-lane .admin-flow-icon,
.admin-section-health-main .admin-path-icon,
.admin-progress-person .admin-path-icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.76rem;
}

.admin-path-copy p,
.admin-path-meta,
.admin-progress-person .text-sm,
.admin-section-health-main .text-lg + .chip,
.admin-group-row .text-sm,
.admin-group-member-row .text-sm {
  line-height: 1.15rem;
}

.admin-path-stats,
.admin-group-stats,
.admin-section-health-stats {
  display: flex;
  min-width: 0;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.34rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.admin-path-stats::-webkit-scrollbar,
.admin-group-stats::-webkit-scrollbar,
.admin-section-health-stats::-webkit-scrollbar {
  display: none;
}

.admin-path-stat,
.admin-group-stats .admin-path-stat,
.admin-section-health-stats .admin-path-stat {
  display: inline-flex;
  min-height: 2.05rem;
  min-width: 0;
  max-width: 9.8rem;
  align-items: center;
  gap: 0.32rem;
  border-radius: 0.7rem;
  padding: 0.34rem 0.48rem;
}

.admin-path-stat div {
  font-size: 0.58rem;
  line-height: 0.75rem;
}

.admin-path-stat strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 0.95rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-progress-track {
  height: 0.42rem;
}

.admin-stage-chip {
  min-height: 1.52rem;
  border-radius: 0.62rem;
  padding: 0.2rem 0.45rem;
  font-size: 0.65rem;
}

.admin-progress-stages,
.admin-progress-notes > div {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.admin-progress-stages::-webkit-scrollbar,
.admin-progress-notes > div::-webkit-scrollbar {
  display: none;
}

.admin-progress-last {
  min-width: 0;
}

.admin-progress-last .text-sm {
  white-space: nowrap;
}

.admin-path-actions {
  align-items: center;
  gap: 0.3rem;
}

.admin-path-actions .btn,
.admin-row-actions .btn {
  min-height: 2.05rem;
  border-radius: 0.68rem;
  padding: 0.4rem 0.55rem;
  font-size: 0.72rem;
}

.outreach-board {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.outreach-board-head,
.outreach-lane-title,
.outreach-channel-title,
.outreach-channel-meta,
.outreach-toggle {
  display: flex;
  align-items: center;
}

.outreach-board-head {
  justify-content: space-between;
  gap: 1rem;
}

.outreach-board-head h2,
.outreach-lane-title h3 {
  margin: 0;
  color: var(--calm-ink);
  font-weight: 900;
}

.outreach-board-head p,
.outreach-lane-title p,
.outreach-channel-card p {
  margin: 0.18rem 0 0;
  color: var(--calm-muted);
  font-size: 0.82rem;
  font-weight: 730;
  line-height: 1.25rem;
}

.outreach-lanes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.outreach-lane {
  display: grid;
  gap: 0.55rem;
  border: 1px solid var(--calm-line);
  border-radius: 1rem;
  background: rgba(255, 253, 248, 0.68);
  padding: 0.75rem;
}

.outreach-lane-title {
  gap: 0.55rem;
  padding-bottom: 0.25rem;
}

.outreach-lane-title > span,
.outreach-channel-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #123a32;
  color: #ffffff;
}

.outreach-lane-title > span {
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
}

.outreach-channel-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.58rem;
  align-items: center;
  border: 1px solid var(--calm-line);
  border-radius: 0.9rem;
  background: rgba(255, 253, 248, 0.9);
  padding: 0.62rem;
}

.outreach-channel-card.is-off {
  opacity: 0.72;
}

.outreach-channel-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.68rem;
}

.outreach-channel-title {
  flex-wrap: wrap;
  gap: 0.35rem;
}

.outreach-channel-title strong {
  color: var(--calm-ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.outreach-channel-meta {
  flex-wrap: nowrap;
  gap: 0.3rem;
  margin-top: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.outreach-channel-meta::-webkit-scrollbar {
  display: none;
}

.outreach-channel-meta span {
  display: inline-flex;
  flex: 0 0 auto;
  border-radius: 0.55rem;
  background: #f3eadb;
  color: #5b4d40;
  padding: 0.18rem 0.42rem;
  font-size: 0.62rem;
  font-weight: 850;
}

.outreach-toggle {
  gap: 0.35rem;
  color: var(--calm-muted);
  font-size: 0.68rem;
  font-weight: 900;
}

.outreach-toggle select {
  height: 2rem;
  border: 1px solid var(--calm-line);
  border-radius: 0.62rem;
  background: #fffdf8;
  padding-inline: 0.45rem;
  color: var(--calm-ink);
  font-size: 0.75rem;
  font-weight: 850;
}

.admin-flat-panel,
.admin-person-strip {
  border: 1px solid var(--calm-line);
  border-radius: 1rem;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--calm-shadow);
}

.admin-flat-panel {
  display: grid;
  gap: 0.9rem;
  padding: 0.9rem;
}

.admin-flat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-flat-head h2 {
  margin: 0.18rem 0 0;
  color: var(--calm-ink);
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.35rem;
}

.admin-flat-head p:not(.admin-flow-kicker) {
  margin: 0.28rem 0 0;
  color: var(--calm-muted);
  font-size: 0.82rem;
  font-weight: 740;
  line-height: 1.25rem;
}

.admin-graph-wrap {
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--calm-line);
  border-radius: 0.85rem;
  background: #fffdf8;
  padding: 0.55rem;
}

.admin-line-graph {
  display: block;
  width: 100%;
  min-width: 34rem;
  height: auto;
}

.admin-line-graph-dashboard {
  min-width: 42rem;
}

.admin-graph-legend,
.admin-flat-foot,
.admin-person-facts {
  display: flex;
  align-items: center;
  gap: 0.38rem;
}

.admin-graph-legend {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-graph-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: var(--calm-muted);
  font-size: 0.7rem;
  font-weight: 850;
}

.admin-graph-legend i {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
}

.admin-graph-empty {
  border: 1px dashed var(--calm-line);
  border-radius: 0.85rem;
  background: #fffdf8;
  padding: 1.25rem;
  color: var(--calm-muted);
  font-size: 0.9rem;
  font-weight: 760;
  text-align: center;
}

.admin-flat-foot,
.admin-person-facts {
  flex-wrap: wrap;
}

.admin-person-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem;
}

.admin-person-strip .admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.whatsapp-qr-simple {
  display: grid;
  max-width: 18rem;
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

@media (max-width: 1180px) {
  .admin-path-row,
  .admin-progress-row,
  .admin-group-row,
  .admin-group-member-row,
  .admin-section-health-row {
    grid-template-columns: 1fr;
  }

  .admin-path-stats,
  .admin-group-stats,
  .admin-section-health-stats {
    justify-content: flex-start;
  }

  .admin-path-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .outreach-lanes {
    grid-template-columns: 1fr;
  }

  .outreach-board-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .outreach-board-head .btn {
    width: 100%;
  }

  .outreach-channel-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .outreach-toggle {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .admin-flat-head,
  .admin-person-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-person-strip .admin-row-actions {
    justify-content: flex-start;
  }

  .admin-line-graph {
    min-width: 30rem;
  }
}

/* Settings workspace: flatter control surface for core system behavior. */
.settings-page {
  display: grid;
  gap: 1rem;
}

.settings-hero,
.settings-card,
.settings-map {
  border: 1px solid var(--calm-line);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--calm-shadow);
}

.settings-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 1.15rem;
  padding: clamp(1rem, 2.4vw, 1.45rem);
}

.settings-hero h1 {
  margin: 0.2rem 0 0;
  color: var(--calm-ink);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.05;
}

.settings-hero p:not(.admin-flow-kicker) {
  max-width: 48rem;
  margin: 0.45rem 0 0;
  color: var(--calm-muted);
  font-size: 0.94rem;
  font-weight: 740;
  line-height: 1.55;
}

.settings-state-row,
.settings-map,
.settings-card-head,
.settings-actions {
  display: flex;
  align-items: center;
}

.settings-state-row {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.settings-map {
  position: sticky;
  top: 0.75rem;
  z-index: 4;
  gap: 0.35rem;
  overflow-x: auto;
  border-radius: 0.95rem;
  padding: 0.38rem;
  scrollbar-width: none;
}

.settings-map::-webkit-scrollbar {
  display: none;
}

.settings-map a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.38rem;
  border-radius: 0.72rem;
  color: var(--calm-ink);
  padding: 0.48rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.settings-map a:hover {
  background: #f3eadb;
}

.settings-card {
  display: grid;
  gap: 0.95rem;
  border-radius: 1rem;
  padding: clamp(0.85rem, 2vw, 1.15rem);
}

.settings-card-soft {
  background:
    linear-gradient(135deg, rgba(201, 231, 240, 0.3), rgba(255, 253, 248, 0.92) 42%, rgba(232, 149, 24, 0.1)),
    #fffdf8;
}

.settings-card-head {
  gap: 0.7rem;
}

.settings-card-icon {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.8rem;
  background: #123a32;
  color: #ffffff;
}

.settings-card-head h2 {
  margin: 0;
  color: var(--calm-ink);
  font-size: 1.08rem;
  font-weight: 930;
  letter-spacing: 0;
  line-height: 1.2;
}

.settings-card-head p {
  margin: 0.22rem 0 0;
  color: var(--calm-muted);
  font-size: 0.82rem;
  font-weight: 740;
  line-height: 1.35;
}

.settings-card-aside {
  margin-left: auto;
}

.settings-form {
  display: grid;
  gap: 0.82rem;
}

.settings-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
}

.settings-split-bottom {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.settings-two-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.settings-two-inputs-tight {
  gap: 0.65rem;
}

.settings-field {
  display: grid;
  min-width: 0;
  gap: 0.36rem;
}

.settings-field span,
.settings-card label > span {
  color: #66584a;
  font-size: 0.78rem;
  font-weight: 880;
}

.settings-field textarea,
.settings-card input,
.settings-card select,
.settings-card textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--calm-line);
  border-radius: 0.78rem;
  background: #fffdf8;
  color: var(--calm-ink);
  font-weight: 760;
  outline: none;
  box-shadow: none;
}

.settings-field textarea,
.settings-card textarea {
  padding: 0.7rem 0.78rem;
  line-height: 1.55;
  resize: vertical;
}

.settings-field-large textarea {
  min-height: 7rem;
}

.settings-card input,
.settings-card select {
  min-height: 2.7rem;
  padding-inline: 0.75rem;
}

.settings-field textarea:focus,
.settings-card input:focus,
.settings-card select:focus,
.settings-card textarea:focus {
  border-color: rgba(18, 58, 50, 0.46);
  background: #ffffff;
}

.settings-actions {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.65rem;
}

.settings-actions p {
  margin: 0;
  color: var(--calm-muted);
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1.35;
}

.settings-reference-list {
  display: grid;
  gap: 0.62rem;
}

.settings-reference-list .admin-mini-metric {
  border-radius: 0.82rem;
  background: #fffdf8;
  padding: 0.75rem;
}

@media (max-width: 980px) {
  .settings-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .settings-state-row {
    justify-content: flex-start;
  }

  .settings-split,
  .settings-split-bottom,
  .settings-two-inputs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .settings-map {
    margin-inline: -0.35rem;
    border-radius: 0;
    border-inline: 0;
  }

  .settings-card-head {
    align-items: flex-start;
  }

  .settings-card-aside {
    margin-left: 0;
  }

  .settings-actions .btn,
  .settings-form > .btn {
    width: 100%;
  }
}

/* Next UI pass: flatter public hero wheel, clearer Outreach section, leaner progress rows. */
.site-hero-wheel {
  display: grid;
  width: min(100%, 36rem);
  justify-items: center;
  gap: 0.9rem;
  margin-inline: auto;
}

.site-hero-wheel .wellness-wheel {
  width: min(100%, 34rem);
  filter:
    drop-shadow(0 22px 30px rgba(11, 63, 134, 0.18))
    drop-shadow(0 10px 24px rgba(232, 149, 24, 0.16));
}

.site-hero-wheel .wellness-wheel-halo {
  fill: rgba(255, 253, 248, 0.64);
  stroke: rgba(18, 58, 50, 0.04);
}

.site-wheel-links {
  display: grid;
  width: min(100%, 31rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.site-wheel-links a {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  border: 1px solid rgba(18, 58, 50, 0.08);
  border-radius: 0.85rem;
  background: rgba(255, 253, 248, 0.72);
  color: var(--site-ink);
  padding: 0.55rem 0.45rem;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.site-wheel-links a span {
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.56rem;
  background: color-mix(in srgb, var(--part-color) 14%, #ffffff);
  color: var(--part-color);
}

.site-wheel-links a:hover {
  border-color: color-mix(in srgb, var(--part-color) 28%, rgba(18, 58, 50, 0.1));
  background: #ffffff;
}

.wellness-wheel-mind-lines line {
  stroke: rgba(255, 255, 255, 0.23);
  stroke-linecap: round;
  stroke-width: 2.2;
}

.wellness-wheel-mind-line path {
  stroke-width: 3.75;
}

.wellness-wheel-center-ring {
  fill: #fffdf8;
  stroke: rgba(18, 58, 50, 0.08);
  stroke-width: 1.2;
}

.wellness-wheel-flame {
  stroke: none;
}

.outreach-whatsapp-section {
  display: grid;
  gap: 0.85rem;
  border: 1px solid var(--calm-line);
  border-radius: 1rem;
  background: rgba(255, 253, 248, 0.82);
  padding: 0.9rem;
  box-shadow: var(--calm-shadow);
}

.outreach-whatsapp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--calm-line-soft);
  padding-bottom: 0.75rem;
}

.outreach-whatsapp-head h2 {
  margin: 0.16rem 0 0;
  color: var(--calm-ink);
  font-size: 1.15rem;
  font-weight: 930;
}

.outreach-whatsapp-head p:not(.admin-flow-kicker) {
  margin: 0.22rem 0 0;
  color: var(--calm-muted);
  font-size: 0.82rem;
  font-weight: 740;
  line-height: 1.35;
}

.outreach-whatsapp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
  gap: 0.85rem;
}

.outreach-test-panel {
  align-self: start;
  border-radius: 0.9rem;
  box-shadow: none;
}

.admin-section-health-row-flat {
  grid-template-columns: minmax(15rem, 1fr) minmax(18rem, 0.9fr);
}

.admin-section-inline {
  display: flex;
  min-width: 0;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.42rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.admin-section-inline::-webkit-scrollbar {
  display: none;
}

.admin-section-inline span {
  display: inline-flex;
  min-height: 1.85rem;
  flex: 0 0 auto;
  align-items: center;
  border-radius: 0.62rem;
  background: #f3eadb;
  color: #5b4d40;
  padding: 0.24rem 0.48rem;
  font-size: 0.72rem;
  font-weight: 850;
  white-space: nowrap;
}

.admin-section-inline span:last-child {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  padding-inline: 0;
}

.admin-section-inline strong {
  color: var(--calm-ink);
}

@media (min-width: 880px) {
  .site-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(28rem, 1fr);
  }
}

@media (max-width: 980px) {
  .outreach-whatsapp-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-hero-wheel {
    width: min(100%, 25rem);
  }

  .site-hero-wheel .wellness-wheel {
    width: min(100%, 24rem);
  }

  .site-wheel-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .outreach-whatsapp-head {
    flex-direction: column;
  }

  .admin-section-health-row-flat {
    grid-template-columns: 1fr;
  }
}

/* Public page individuality: each wellness area gets its own shape without changing the teaching source. */
.site-wellness-hero {
  position: relative;
}

.site-wellness-hero::after {
  position: absolute;
  inset: auto -8rem -12rem auto;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--part-color) 12%, transparent);
  content: "";
}

.site-area-art {
  position: relative;
  display: grid;
  min-height: 20rem;
  overflow: hidden;
  align-content: center;
  justify-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(21, 53, 47, 0.08);
  border-radius: 1.55rem;
  background:
    radial-gradient(circle at 22% 18%, color-mix(in srgb, var(--part-color) 18%, transparent), transparent 9rem),
    linear-gradient(135deg, #ffffff, var(--part-soft));
  color: var(--part-color);
  padding: clamp(1rem, 3vw, 1.45rem);
  box-shadow: 0 24px 56px -48px rgba(18, 58, 50, 0.58);
}

.site-area-art strong {
  position: relative;
  z-index: 2;
  color: var(--site-ink);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 950;
  line-height: 1;
}

.site-area-art small {
  position: relative;
  z-index: 2;
  max-width: 17rem;
  color: rgba(21, 53, 47, 0.64);
  font-size: 0.92rem;
  font-weight: 820;
  line-height: 1.5;
  text-align: center;
}

.site-area-core,
.site-area-flame {
  position: relative;
  z-index: 2;
  display: grid;
  width: 6.4rem;
  height: 6.4rem;
  place-items: center;
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 16px 40px -32px rgba(18, 58, 50, 0.75);
}

.site-area-art-body {
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--part-color) 12%, #ffffff), #ffffff 48%, var(--part-soft));
}

.site-area-orbit {
  position: absolute;
  width: 15rem;
  height: 15rem;
  border: 1.35rem solid color-mix(in srgb, var(--part-color) 18%, transparent);
  border-radius: 999px;
}

.site-area-orbit:first-child {
  top: -4rem;
  right: -3rem;
}

.site-area-orbit:nth-child(2) {
  bottom: -4.6rem;
  left: -4rem;
  border-color: rgba(31, 169, 214, 0.16);
}

.site-area-art-mind svg {
  width: min(100%, 19rem);
  margin-bottom: 0.6rem;
}

.site-area-art-mind path {
  fill: none;
  stroke: var(--part-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6;
}

.site-area-mind-lines line {
  stroke: rgba(232, 149, 24, 0.2);
  stroke-linecap: round;
  stroke-width: 3;
}

.site-area-art-spirit {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.95), transparent 7.5rem),
    linear-gradient(135deg, var(--part-soft), #ffffff);
}

.site-area-spirit-ring {
  position: absolute;
  width: 17rem;
  height: 17rem;
  border: 1rem solid color-mix(in srgb, var(--part-color) 16%, transparent);
  border-radius: 999px;
}

.site-area-flame {
  color: var(--part-color);
}

.site-area-art-social {
  background:
    radial-gradient(circle at 26% 28%, rgba(255, 255, 255, 0.94), transparent 9rem),
    linear-gradient(135deg, #ffffff, var(--part-soft));
}

.site-area-dots {
  position: relative;
  width: min(100%, 17rem);
  height: 10rem;
  margin-bottom: 0.4rem;
}

.site-area-dots span {
  position: absolute;
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--part-color) 24%, #ffffff);
}

.site-area-dots span:nth-child(1) { left: 10%; top: 15%; }
.site-area-dots span:nth-child(2) { left: 26%; top: 44%; }
.site-area-dots span:nth-child(3) { left: 45%; top: 18%; }
.site-area-dots span:nth-child(4) { left: 66%; top: 48%; }
.site-area-dots span:nth-child(5) { left: 82%; top: 18%; }
.site-area-dots span:nth-child(6) { left: 14%; top: 72%; }
.site-area-dots span:nth-child(7) { left: 52%; top: 76%; }
.site-area-dots span:nth-child(8) { left: 76%; top: 78%; }
.site-area-dots span:nth-child(9) { left: 34%; top: 8%; width: 0.72rem; height: 0.72rem; }
.site-area-dots span:nth-child(10) { left: 62%; top: 12%; width: 0.72rem; height: 0.72rem; }
.site-area-dots span:nth-child(11) { left: 24%; top: 20%; width: 0.72rem; height: 0.72rem; }
.site-area-dots span:nth-child(12) { left: 88%; top: 58%; width: 0.72rem; height: 0.72rem; }

.site-area-score {
  border-block: 1px solid var(--site-line);
  background: rgba(255, 253, 248, 0.76);
}

.site-area-score-mind {
  background:
    linear-gradient(90deg, rgba(232, 149, 24, 0.13), rgba(255, 253, 248, 0.86));
}

.site-area-score-spirit {
  background:
    linear-gradient(135deg, rgba(31, 169, 214, 0.14), rgba(255, 253, 248, 0.9));
}

.site-area-score-social {
  background:
    radial-gradient(circle at 14% 24%, rgba(201, 231, 240, 0.72), transparent 18rem),
    #fffdf8;
}

.site-centered-copy-body {
  max-width: 46rem;
}

.site-centered-copy-mind {
  max-width: 58rem;
}

.site-centered-copy-spirit {
  max-width: 50rem;
  margin-inline: auto;
  text-align: center;
}

.site-centered-copy-spirit .site-highlight-list {
  justify-content: center;
}

.site-centered-copy-social {
  max-width: 54rem;
}

.site-station-list-social .site-station-row {
  border-radius: 1.4rem;
}

.site-station-list-mind .site-station-row > span {
  background: var(--site-orange);
}

.site-station-list-spirit .site-station-row > span {
  background: var(--site-sky);
}

.site-media-stage {
  display: grid;
  gap: 0.75rem;
  border: 1px solid rgba(21, 53, 47, 0.08);
  border-radius: 1.4rem;
  background: #ffffff;
  padding: 0.8rem;
  box-shadow: 0 24px 56px -48px rgba(18, 58, 50, 0.58);
}

.site-media-stage-screen {
  display: grid;
  min-height: clamp(15rem, 31vw, 22rem);
  place-items: center;
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(11, 63, 134, 0.92), rgba(31, 169, 214, 0.72)),
    var(--site-blue);
}

.site-media-stage-screen span {
  display: grid;
  width: 4.6rem;
  height: 4.6rem;
  place-items: center;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--site-blue);
}

.site-media-stage-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.site-media-stage-list span,
.site-media-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  border-radius: 0.78rem;
  background: #f8f4ec;
  color: var(--site-ink);
  padding: 0.5rem 0.56rem;
  font-size: 0.76rem;
  font-weight: 900;
}

.site-media-count {
  flex: 0 0 auto;
  background: #fff6e7;
  color: #8a4f08;
}

.site-home-media-preview.has-videos {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 880px) {
  .site-wellness-hero-body .site-section-page-grid {
    grid-template-columns: minmax(0, 0.84fr) minmax(24rem, 1fr);
  }

  .site-wellness-hero-mind .site-section-page-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(26rem, 1fr);
  }

  .site-wellness-hero-spirit .site-section-page-grid {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.82fr);
  }

  .site-wellness-hero-social .site-section-page-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(23rem, 0.9fr);
  }
}

@media (max-width: 680px) {
  .site-shell {
    padding-bottom: 5.2rem;
  }

  .site-support-button {
    right: 0.65rem;
    bottom: 0.65rem;
    gap: 0.52rem;
    padding: 0.58rem 0.68rem;
  }

  .site-support-button > span:first-child {
    width: 2rem;
    height: 2rem;
    border-radius: 0.7rem;
  }

  .site-support-button small {
    font-size: 0.66rem;
  }

  .site-support-button strong {
    font-size: 0.84rem;
  }

  .site-area-art {
    min-height: 16rem;
    border-radius: 1.15rem;
  }

  .site-area-art strong {
    font-size: 2rem;
  }

  .site-area-core,
  .site-area-flame {
    width: 5.2rem;
    height: 5.2rem;
  }

  .site-media-stage-list {
    grid-template-columns: 1fr;
  }

  .site-media-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Admin dashboard pass: one calm board before reports. */
.admin-today-board {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  gap: 0.95rem;
  border: 1px solid var(--calm-line);
  border-radius: 1.08rem;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(251, 242, 230, 0.88)),
    var(--calm-surface);
  padding: clamp(0.9rem, 2vw, 1.15rem);
  box-shadow: var(--calm-shadow);
}

.admin-today-main,
.admin-today-next {
  min-width: 0;
}

.admin-today-main h1 {
  margin: 0.2rem 0 0;
  color: var(--calm-ink);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.02;
}

.admin-today-main > p:not(.admin-flow-kicker) {
  max-width: 42rem;
  margin: 0.5rem 0 0;
  color: var(--calm-muted);
  font-size: 0.92rem;
  font-weight: 740;
  line-height: 1.55;
}

.admin-today-stats,
.admin-today-actions,
.admin-today-next-head,
.admin-today-next-list a,
.admin-today-empty {
  display: flex;
  align-items: center;
}

.admin-today-stats {
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 1rem;
}

.admin-today-stats span {
  display: inline-flex;
  min-height: 2.45rem;
  align-items: center;
  gap: 0.42rem;
  border: 1px solid var(--calm-line);
  border-radius: 0.78rem;
  background: rgba(255, 253, 248, 0.88);
  color: var(--calm-muted);
  padding: 0.42rem 0.62rem;
}

.admin-today-stats strong {
  color: var(--calm-ink);
  font-size: 1rem;
  font-weight: 950;
}

.admin-today-stats small {
  color: var(--calm-muted);
  font-size: 0.68rem;
  font-weight: 850;
}

.admin-today-actions {
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.admin-today-actions .btn {
  min-height: 2.35rem;
  border-radius: 0.74rem;
  padding: 0.55rem 0.75rem;
}

.admin-today-next {
  display: grid;
  gap: 0.62rem;
  border: 1px solid var(--calm-line);
  border-radius: 0.92rem;
  background: rgba(255, 253, 248, 0.72);
  padding: 0.68rem;
}

.admin-today-next-head {
  justify-content: space-between;
  gap: 0.6rem;
  color: var(--calm-ink);
  font-size: 0.88rem;
  font-weight: 930;
}

.admin-today-next-head span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.68rem;
  background: #123a32;
  color: #ffffff;
}

.admin-today-next-list {
  display: grid;
  gap: 0.42rem;
}

.admin-today-next-list a,
.admin-today-empty {
  min-width: 0;
  gap: 0.52rem;
  border: 1px solid var(--calm-line-soft);
  border-radius: 0.78rem;
  background: #fffdf8;
  padding: 0.52rem;
  color: var(--calm-ink);
  text-decoration: none;
}

.admin-today-next-list a:hover {
  border-color: rgba(137, 111, 82, 0.2);
  background: #fff9ef;
}

.admin-today-next-list a > span,
.admin-today-empty svg {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.62rem;
  background: #f3eadb;
  color: #5b4d40;
}

.admin-today-next-list a div {
  min-width: 0;
}

.admin-today-next-list a strong,
.admin-today-empty span {
  display: block;
  color: var(--calm-ink);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.15rem;
}

.admin-today-next-list a small {
  display: block;
  margin-top: 0.12rem;
  color: var(--calm-muted);
  font-size: 0.7rem;
  font-weight: 740;
  line-height: 1rem;
}

.admin-today-next-list a em {
  flex: 0 0 auto;
  border-radius: 0.55rem;
  background: #123a32;
  color: #ffffff;
  padding: 0.28rem 0.46rem;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 880;
}

.admin-flow-panel.admin-flow-simple {
  gap: 0.72rem;
  padding: 0.8rem;
}

.admin-flow-head-simple {
  padding: 0;
}

.admin-flow-lanes {
  gap: 0.48rem;
}

.admin-flow-lane {
  border-radius: 0.78rem;
  padding: 0.58rem;
}

.admin-flow-lane h3 {
  font-size: 0.94rem;
}

.admin-flow-lane p {
  font-size: 0.72rem;
  line-height: 1.08rem;
}

@media (max-width: 980px) {
  .admin-today-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .admin-today-board {
    border-radius: 0.95rem;
    padding: 0.78rem;
  }

  .admin-today-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-today-stats span {
    justify-content: flex-start;
  }

  .admin-today-actions .btn {
    width: 100%;
  }

  .admin-today-next-list a {
    align-items: flex-start;
  }

  .admin-today-next-list a em {
    margin-left: auto;
  }
}

/* Path workspace pass: make each path feel like one calm control surface. */
.admin-path-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.78fr);
  gap: 0.9rem;
  align-items: stretch;
  border: 1px solid var(--calm-line);
  border-radius: 1.08rem;
  background:
    radial-gradient(circle at 92% 18%, rgba(31, 169, 214, 0.12), transparent 18rem),
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(251, 242, 230, 0.9)),
    var(--calm-surface);
  padding: clamp(0.9rem, 2vw, 1.15rem);
  box-shadow: var(--calm-shadow);
}

.admin-path-board-main,
.admin-path-board-side {
  min-width: 0;
}

.admin-path-board-main h1 {
  margin: 0.2rem 0 0;
  color: var(--calm-ink);
  font-size: clamp(1.75rem, 3vw, 2.85rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.04;
}

.admin-path-board-main > p:not(.admin-flow-kicker) {
  max-width: 48rem;
  margin: 0.5rem 0 0;
  color: var(--calm-muted);
  font-size: 0.92rem;
  font-weight: 740;
  line-height: 1.55;
}

.admin-path-board-meta,
.admin-path-board-actions,
.admin-path-board-stats,
.admin-path-board-stats span {
  display: flex;
  align-items: center;
}

.admin-path-board-meta {
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.admin-path-board-meta > span:not(.chip) {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  border: 1px solid var(--calm-line);
  border-radius: 0.7rem;
  background: #fffdf8;
  color: var(--calm-muted);
  padding: 0.38rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 860;
  text-transform: capitalize;
}

.admin-path-board-side {
  display: grid;
  align-content: space-between;
  gap: 0.72rem;
  border: 1px solid var(--calm-line);
  border-radius: 0.92rem;
  background: rgba(255, 253, 248, 0.68);
  padding: 0.68rem;
}

.admin-path-board-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
}

.admin-path-board-stats span {
  min-width: 0;
  gap: 0.42rem;
  border: 1px solid var(--calm-line-soft);
  border-radius: 0.78rem;
  background: #fffdf8;
  color: var(--calm-muted);
  padding: 0.52rem;
}

.admin-path-board-stats strong {
  color: var(--calm-ink);
  font-size: 1rem;
  font-weight: 950;
}

.admin-path-board-stats small {
  min-width: 0;
  overflow: hidden;
  color: var(--calm-muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-path-board-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.42rem;
}

.admin-path-board-actions .btn,
.admin-path-board-actions .admin-actions-menu summary {
  min-height: 2.3rem;
  border-radius: 0.72rem;
  padding: 0.52rem 0.68rem;
  font-size: 0.76rem;
}

.admin-path-board-actions .admin-actions-menu {
  min-width: auto;
}

@media (max-width: 980px) {
  .admin-path-board {
    grid-template-columns: 1fr;
  }

  .admin-path-board-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .admin-path-board {
    border-radius: 0.95rem;
    padding: 0.78rem;
  }

  .admin-path-board-side {
    padding: 0.6rem;
  }

  .admin-path-board-stats {
    grid-template-columns: 1fr;
  }

  .admin-path-board-actions .btn,
  .admin-path-board-actions .admin-actions-menu,
  .admin-path-board-actions .admin-actions-menu summary {
    width: 100%;
  }
}

/* People workspace pass: fewer blocks, clearer rows, calmer person records. */
.admin-people-board,
.admin-person-board,
.admin-people-list {
  border: 1px solid var(--calm-line);
  border-radius: 1.02rem;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: var(--calm-shadow);
}

.admin-people-board,
.admin-person-board {
  display: grid;
  gap: 0.86rem;
  padding: clamp(0.82rem, 2vw, 1.05rem);
}

.admin-people-board {
  grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
  align-items: end;
}

.admin-people-board-copy h1,
.admin-person-board-main h1 {
  margin: 0.14rem 0 0;
  color: var(--calm-ink);
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.03;
}

.admin-people-board-copy p:not(.admin-flow-kicker),
.admin-person-board-main p:not(.admin-flow-kicker) {
  max-width: 40rem;
  margin: 0.42rem 0 0;
  color: var(--calm-muted);
  font-size: 0.88rem;
  font-weight: 740;
  line-height: 1.45;
}

.admin-people-board-stats {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 0.42rem;
  justify-content: flex-end;
}

.admin-people-board-stats span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.36rem;
  border: 1px solid var(--calm-line-soft);
  border-radius: 0.72rem;
  background: #fffdf8;
  color: var(--calm-muted);
  padding: 0.42rem 0.55rem;
}

.admin-people-board-stats svg {
  flex: 0 0 auto;
  color: #0b3f86;
}

.admin-people-board-stats strong {
  color: var(--calm-ink);
  font-size: 0.96rem;
  font-weight: 950;
  line-height: 1;
}

.admin-people-board-stats small {
  min-width: 0;
  overflow: hidden;
  color: var(--calm-muted);
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 0.85rem;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-people-list {
  overflow: hidden;
}

.admin-people-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px solid var(--calm-line);
  background: rgba(255, 253, 248, 0.72);
  padding: 0.72rem 0.82rem;
}

.admin-people-list-head h2 {
  margin: 0;
  color: var(--calm-ink);
  font-size: 1.04rem;
  font-weight: 930;
}

.admin-people-list-head p {
  margin: 0.18rem 0 0;
  color: var(--calm-muted);
  font-size: 0.78rem;
  font-weight: 740;
}

.admin-people-rows {
  display: grid;
}

.admin-person-row {
  display: grid;
  grid-template-columns: minmax(15rem, 0.95fr) minmax(18rem, 1fr) minmax(18rem, 0.85fr) auto;
  gap: 0.65rem;
  align-items: center;
  border-top: 1px solid var(--calm-line-soft);
  padding: 0.62rem 0.72rem;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.admin-person-row:first-child {
  border-top: 0;
}

.admin-person-row:hover {
  background: #fff9ef;
}

.admin-person-main,
.admin-person-board-main,
.admin-person-actions,
.admin-person-signals {
  display: flex;
  align-items: center;
}

.admin-person-main,
.admin-person-board-main {
  min-width: 0;
  gap: 0.62rem;
}

.admin-person-main > div,
.admin-person-board-main > div {
  min-width: 0;
}

.admin-person-avatar {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.74rem;
  background: #123a32;
  color: #ffffff;
}

.admin-person-avatar.is-large {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.86rem;
}

.admin-person-main a {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: var(--calm-ink);
  font-size: 0.92rem;
  font-weight: 930;
  line-height: 1.1rem;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-person-main a:hover {
  text-decoration: underline;
}

.admin-person-main p {
  margin: 0.18rem 0 0;
  overflow: hidden;
  color: var(--calm-muted);
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-person-progress {
  display: grid;
  min-width: 0;
  gap: 0.36rem;
}

.admin-person-progress .admin-progress-track {
  height: 0.34rem;
}

.admin-section-inline span strong {
  margin-right: 0.18rem;
}

.admin-person-row .admin-progress-stages,
.admin-person-row .admin-person-signals {
  min-width: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.admin-person-row .admin-progress-stages::-webkit-scrollbar,
.admin-person-row .admin-person-signals::-webkit-scrollbar {
  display: none;
}

.admin-person-signals {
  min-width: 0;
  gap: 0.28rem;
}

.admin-person-board-main .admin-person-signals {
  flex-wrap: wrap;
  margin-top: 0.58rem;
}

.admin-person-actions {
  justify-content: flex-end;
  gap: 0.34rem;
}

.admin-person-actions form {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.34rem;
  justify-content: flex-end;
  margin: 0;
}

.admin-person-actions .btn,
.admin-person-actions .admin-actions-menu summary {
  min-height: 2.05rem;
  border-radius: 0.68rem;
  padding: 0.4rem 0.56rem;
  font-size: 0.72rem;
}

.admin-actions-menu > div form {
  margin: 0;
}

.admin-person-board {
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.78fr);
  align-items: stretch;
}

.admin-person-board-side {
  display: grid;
  align-content: space-between;
  gap: 0.68rem;
  min-width: 0;
  border: 1px solid var(--calm-line-soft);
  border-radius: 0.88rem;
  background: rgba(255, 253, 248, 0.72);
  padding: 0.64rem;
}

.admin-person-board-side .admin-people-board-stats {
  justify-content: flex-start;
}

@media (max-width: 1160px) {
  .admin-people-board,
  .admin-person-board,
  .admin-person-row {
    grid-template-columns: 1fr;
  }

  .admin-people-board-stats,
  .admin-person-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .admin-people-board,
  .admin-person-board,
  .admin-people-list {
    border-radius: 0.92rem;
  }

  .admin-people-board-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .admin-person-actions,
  .admin-person-actions .btn,
  .admin-person-actions .admin-actions-menu,
  .admin-person-actions .admin-actions-menu summary {
    width: 100%;
  }

  .admin-person-actions form {
    width: 100%;
  }

  .admin-person-row .admin-progress-stages,
  .admin-person-row .admin-person-signals {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

@media (max-width: 480px) {
  .admin-mobile-nav {
    padding-inline: 0.25rem;
  }

  .admin-mobile-nav-scroll {
    gap: 0.1rem;
    justify-content: space-between;
  }

  .admin-mobile-nav-link {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 0.7rem;
    font-size: 0.55rem;
    line-height: 0.72rem;
  }
}

/* Wellness Station builder pass: calmer flow editor, thinner rows, clearer actions. */
.admin-station-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.82fr);
  gap: 0.86rem;
  align-items: stretch;
  border: 1px solid var(--calm-line);
  border-radius: 1.02rem;
  background:
    radial-gradient(circle at 92% 12%, rgba(232, 149, 24, 0.1), transparent 16rem),
    rgba(255, 253, 248, 0.88);
  padding: clamp(0.86rem, 2vw, 1.08rem);
  box-shadow: var(--calm-shadow);
}

.admin-station-board-main,
.admin-station-board-side,
.admin-station-actions,
.admin-station-type-strip,
.station-flow-meta,
.station-flow-actions {
  display: flex;
  align-items: center;
}

.admin-station-board-main {
  min-width: 0;
  align-items: flex-start;
  gap: 0.78rem;
}

.admin-station-board-main > div,
.station-flow-main {
  min-width: 0;
}

.admin-station-board-mark {
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.92rem;
  background: #123a32;
  color: #ffffff;
}

.admin-station-board-main h1 {
  margin: 0.15rem 0 0;
  color: var(--calm-ink);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.03;
}

.admin-station-board-main p:not(.admin-flow-kicker) {
  max-width: 43rem;
  margin: 0.42rem 0 0;
  color: var(--calm-muted);
  font-size: 0.9rem;
  font-weight: 740;
  line-height: 1.5;
}

.admin-station-type-strip {
  flex-wrap: wrap;
  gap: 0.34rem;
  margin-top: 0.78rem;
}

.admin-station-type-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid var(--calm-line-soft);
  border-radius: 0.68rem;
  background: #fffdf8;
  color: var(--calm-muted);
  padding: 0.32rem 0.48rem;
  font-size: 0.7rem;
  font-weight: 850;
}

.admin-station-type-strip strong {
  color: var(--calm-ink);
}

.admin-station-board-side {
  display: grid;
  align-content: space-between;
  gap: 0.62rem;
  min-width: 0;
  border: 1px solid var(--calm-line-soft);
  border-radius: 0.88rem;
  background: rgba(255, 253, 248, 0.74);
  padding: 0.62rem;
}

.admin-station-next {
  min-width: 0;
  border: 1px solid var(--calm-line-soft);
  border-radius: 0.78rem;
  background: #fffdf8;
  padding: 0.55rem 0.62rem;
}

.admin-station-next small {
  display: block;
  color: var(--calm-muted);
  font-size: 0.64rem;
  font-weight: 880;
  line-height: 0.85rem;
  text-transform: uppercase;
}

.admin-station-next strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  margin-top: 0.18rem;
  color: var(--calm-ink);
  font-size: 0.9rem;
  font-weight: 930;
  line-height: 1.12rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-station-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.42rem;
}

.admin-station-actions .btn {
  min-height: 2.2rem;
  border-radius: 0.72rem;
  padding: 0.48rem 0.65rem;
  font-size: 0.74rem;
}

.station-flow-list {
  background: rgba(255, 253, 248, 0.64);
}

.card-sort-item.station-flow-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 0.58rem;
  align-items: center;
  min-height: 4.85rem;
  padding: 0.62rem 0.76rem;
}

.station-flow-row:hover {
  background: #fff9ef;
}

.station-flow-drag {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 0.68rem;
}

.station-flow-index {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.62rem;
  font-size: 0.74rem;
}

.station-flow-main {
  display: grid;
  gap: 0.26rem;
}

.station-flow-meta {
  min-width: 0;
  flex-wrap: nowrap;
  gap: 0.28rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.station-flow-meta::-webkit-scrollbar {
  display: none;
}

.station-flow-meta > span:not(.chip) {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  border-radius: 0.58rem;
  background: #f3eadb;
  color: #5b4d40;
  padding: 0.18rem 0.4rem;
  font-size: 0.62rem;
  font-weight: 850;
}

.station-flow-main h3 {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.38rem;
  margin: 0;
  color: var(--calm-ink);
  font-size: 0.94rem;
  font-weight: 930;
  line-height: 1.2rem;
}

.station-flow-main h3 span {
  display: inline-flex;
  flex: 0 0 auto;
  color: #0b3f86;
}

.station-flow-main p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--calm-muted);
  font-size: 0.76rem;
  font-weight: 740;
  line-height: 1.12rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.station-flow-actions {
  justify-content: flex-end;
  gap: 0.34rem;
}

.station-flow-actions .btn,
.station-flow-actions .admin-actions-menu summary {
  min-height: 2.05rem;
  border-radius: 0.68rem;
  padding: 0.4rem 0.56rem;
  font-size: 0.72rem;
}

.station-flow-menu > div {
  min-width: 11rem;
}

@media (max-width: 980px) {
  .admin-station-board,
  .card-sort-item.station-flow-row {
    grid-template-columns: 1fr;
  }

  .admin-station-board-main {
    align-items: flex-start;
  }

  .admin-station-actions,
  .station-flow-actions {
    justify-content: flex-start;
  }

  .station-flow-meta {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

@media (max-width: 760px) {
  .card-sort-item.station-flow-row {
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .station-flow-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .admin-station-board {
    border-radius: 0.92rem;
    padding: 0.78rem;
  }

  .admin-station-board-main {
    display: grid;
  }

  .admin-station-board-side {
    padding: 0.56rem;
  }

  .admin-station-actions .btn,
  .station-flow-actions .btn,
  .station-flow-actions .admin-actions-menu,
  .station-flow-actions .admin-actions-menu summary {
    width: 100%;
  }
}
