@font-face {
  font-family: "Fraunces Variable";
  src: url("/admin/assets/fonts/fraunces-latin-wght-normal.woff2")
    format("woff2-variations");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope Variable";
  src: url("/admin/assets/fonts/manrope-latin-wght-normal.woff2")
    format("woff2-variations");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --cream: #f5f2eb;
  --surface: #fff;
  --surface-soft: #faf8f3;
  --surface-sage: #eef4f0;
  --sidebar: #173f42;
  --sidebar-soft: #245154;
  --ink: #173f42;
  --muted: #687a7c;
  --green: #26735a;
  --green-dark: #1b5a46;
  --sage: #9bb6a4;
  --sand: #e8dfd2;
  --warm: #c26f4e;
  --warm-soft: #f7e7df;
  --border: #e5ded3;
  --border-green: #dce9e1;
  --shadow: 0 8px 28px rgb(30 62 61 / 7%);
  --display: "Fraunces Variable", Georgia, serif;
  --body: "Manrope Variable", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
h1,
h2 {
  font-family: var(--display);
  font-weight: 470;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2.15rem, 4vw, 3.35rem);
}
h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
}
h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.ui-icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-shell {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 250px;
  display: flex;
  flex-direction: column;
  padding: 30px 20px 22px;
  background: var(--sidebar);
  color: #fff;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 35px;
  height: 35px;
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 4px;
  border-radius: 50%;
  background: #f4eee4;
  object-fit: contain;
}
.brand > span:last-child {
  display: grid;
}
.brand strong {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}
.brand small {
  margin-top: 4px;
  color: #b8ccca;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav {
  display: grid;
  gap: 6px;
  margin-top: 46px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  color: #c7d8d6;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.nav a:hover,
.nav a.active {
  background: var(--sidebar-soft);
  color: #fff;
}
.nav-icon {
  width: 20px;
  display: grid;
  place-items: center;
  color: #9eb9b5;
}
.account-menu {
  position: relative;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgb(255 255 255 / 12%);
}
.account-trigger {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-width: 0;
  padding: 8px;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  list-style: none;
  transition: background .15s;
}
.account-trigger::-webkit-details-marker,
.mobile-account-menu > summary::-webkit-details-marker {
  display: none;
}
.account-trigger:hover,
.account-trigger:focus-visible,
.account-menu[open] .account-trigger,
.account-menu.current .account-trigger {
  background: rgb(255 255 255 / 7%);
  outline: 0;
}
.account-chevron {
  color: #a9c0bd;
  transition: transform .15s;
}
.account-chevron .ui-icon {
  width: 14px;
  height: 14px;
}
.account-menu[open] .account-chevron {
  transform: rotate(-90deg);
}
.account-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 20;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 14px 34px rgb(10 35 36 / 25%);
}
.account-popover a,
.account-popover button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 10px;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.account-popover a:hover,
.account-popover a:focus-visible,
.account-popover button:hover,
.account-popover button:focus-visible {
  background: var(--surface-sage);
  color: var(--green-dark);
  outline: 0;
}
.account-popover .ui-icon {
  width: 15px;
  height: 15px;
  color: var(--green);
}
.account-popover form {
  margin: 4px 0 0;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d9e5db;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}
.account-copy {
  display: grid;
  min-width: 0;
}
.account-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-copy small {
  overflow: hidden;
  color: #b8ccca;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.inline {
  display: inline;
}
.inline button {
  padding: 3px;
  border: 0;
  background: transparent;
  color: #afc4c1;
  font-size: 10px;
  cursor: pointer;
}
.main {
  min-height: 100vh;
  margin-left: 250px;
  padding: 47px clamp(28px, 5vw, 72px) 80px;
}
.mobile-bar {
  display: none;
}
.page-head,
.detail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1250px;
  margin: 0 auto 52px;
}
.lede {
  margin-top: 9px;
  color: var(--muted);
  font-size: 16px;
}
.eyebrow {
  margin-bottom: 7px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
section {
  max-width: 1250px;
  margin: 0 auto;
}
section + section {
  margin-top: 58px;
}
.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.section-title > p {
  max-width: 460px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.metric-card {
  position: relative;
  min-height: 167px;
  padding: 21px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 2px 8px rgb(30 62 61 / 3%);
}
.metric-card::after {
  content: "";
  position: absolute;
  width: 95px;
  height: 95px;
  right: -44px;
  bottom: -49px;
  border-radius: 50%;
  background: var(--surface-soft);
}
.metric-card.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.metric-card.primary::after {
  background: rgb(255 255 255 / 7%);
}
.metric-card.sage {
  border-color: #d7e5db;
  background: #f1f6f2;
}
.metric-card.warm {
  border-color: #ecd3c7;
  background: #fbf1ec;
}
.metric-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--muted);
}
.metric-icon .ui-icon {
  width: 16px;
  height: 16px;
}
.primary .metric-icon {
  background: rgb(255 255 255 / 13%);
  color: #fff;
}
.sage .metric-icon {
  background: #dce9df;
  color: var(--green);
}
.warm .metric-icon {
  background: var(--warm-soft);
  color: var(--warm);
}
.metric-card > strong {
  display: block;
  font: 500 42px / 1 var(--display);
  letter-spacing: -.03em;
}
.metric-card h3 {
  margin-top: 14px;
  font-size: 13px;
}
.metric-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}
.metric-card.primary p {
  color: #cde2d8;
}
.context-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 13px;
  padding: 14px 17px;
  border: 1px solid var(--border-green);
  border-radius: 12px;
  background: #f3f7f4;
}
.context-strip > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.context-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #dcebe1;
  color: var(--green);
}
.context-icon .ui-icon {
  width: 14px;
  height: 14px;
}
.context-strip p {
  font-size: 11px;
  line-height: 1.5;
}
.context-strip p span {
  color: var(--muted);
}
.context-strip a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.context-strip a .ui-icon {
  width: 13px;
  height: 13px;
}

.attention-list {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 2px 10px rgb(30 62 61 / 3%);
}
.attention-row {
  display: grid;
  grid-template-columns: auto minmax(160px, .8fr) minmax(240px, 1.2fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
}
.attention-row:last-child {
  border-bottom: 0;
}
.attention-row:hover {
  background: #fbfcfa;
}
.attention-person,
.attention-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.attention-person strong,
.attention-copy strong {
  font-size: 11px;
}
.attention-person small,
.attention-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attention-warm {
  color: #9a5137;
}
.attention-neutral {
  color: var(--green-dark);
}
.attention-row > .ui-icon {
  width: 15px;
  color: var(--green);
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 13px;
  color: var(--green);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}
.section-link .ui-icon {
  width: 14px;
}

.user-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(190px, .65fr) auto auto;
  align-items: end;
  gap: 10px;
  margin-bottom: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
}
.user-filters label {
  display: grid;
  gap: 5px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 750;
}
.user-filters input,
.user-filters select {
  min-width: 0;
  height: 39px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 11px;
}
.user-filters button {
  height: 39px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}
.user-filters > a {
  align-self: center;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}
.filter-result {
  margin: 0 0 10px 2px;
  color: var(--muted);
  font-size: 10px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 2px 10px rgb(30 62 61 / 3%);
}
.table-wrap.flat {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}
th,
td {
  padding: 14px 13px;
  border-bottom: 1px solid #eee9e1;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}
th {
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
tbody tr {
  transition: background .12s;
}
tbody tr:hover {
  background: #fbfcfa;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.user-cell > span:last-child {
  display: grid;
}
.user-cell strong {
  font-size: 11px;
}
.user-cell small {
  color: var(--muted);
  font-size: 9px;
}
.avatar.small {
  width: 31px;
  height: 31px;
  font-size: 11px;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 750;
  white-space: nowrap;
}
.pill-admin {
  background: #e8e1ef;
  color: #665078;
}
.pill-user {
  background: #e2eee7;
  color: var(--green-dark);
}
.pill-done {
  background: #e0eee5;
  color: var(--green-dark);
}
.pill-neutral {
  background: #eee9e1;
  color: #6c6962;
}
.pill-warm {
  background: var(--warm-soft);
  color: #965136;
}
.pill-retired {
  margin-left: 5px;
  border: 1px dashed #c9c1b5;
  background: transparent;
  color: var(--muted);
  font-weight: 550;
}
.state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
}
.state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9ba5a4;
}
.state-ok {
  color: var(--green);
}
.state-ok::before {
  background: #4d9870;
}
.state-warn {
  color: #a35c40;
}
.state-warn::before {
  background: #d17a57;
}
.state-muted {
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.row-arrow {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  text-decoration: none;
}
.row-arrow .ui-icon {
  width: 15px;
  height: 15px;
}
.row-arrow:hover {
  background: var(--surface-sage);
}

.secondary-section {
  padding-top: 44px;
  border-top: 1px solid var(--border);
}
.empty-state {
  padding: 30px;
  border: 1px dashed #d8d0c4;
  border-radius: 13px;
  background: rgb(255 255 255 / 48%);
  color: var(--muted);
  font-size: 12px;
}
.empty-state.compact {
  padding: 18px;
}
.product-empty {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f9f8f4;
}
.product-empty h3 {
  color: var(--ink);
}
.product-empty p {
  max-width: 680px;
  margin-top: 4px;
}
.empty-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--surface-sage);
  color: var(--green);
}
.empty-mark .ui-icon {
  width: 19px;
  height: 19px;
}
.funnel-card,
.panel,
.journey-block {
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
}
.funnel-card {
  padding: 20px;
}
.funnel-head,
.panel-head,
.journey-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.funnel-head span,
.journey-head > span,
.journey-head p {
  color: var(--muted);
  font-size: 10px;
}
.funnel {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--border);
}
.funnel-step {
  position: relative;
  min-height: 105px;
  display: grid;
  align-content: center;
  padding: 13px;
  background: var(--surface-soft);
}
.funnel-step strong {
  font: 500 28px / 1 var(--display);
}
.funnel-step span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
}
.funnel-step small {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}
.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr .9fr;
  gap: 13px;
  margin-top: 13px;
}
.panel {
  min-height: 185px;
  padding: 19px;
}
.bars {
  display: grid;
  gap: 13px;
  margin-top: 21px;
}
.bar-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: 10px;
}
.bar-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--sand);
}
.bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}
.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 25px;
}
.mini-metrics > div {
  display: grid;
  gap: 3px;
  padding: 3px 13px;
  border-right: 1px solid var(--border);
}
.mini-metrics > div:first-child {
  padding-left: 0;
}
.mini-metrics > div:last-child {
  border: 0;
}
.mini-metrics strong {
  font: 500 29px / 1 var(--display);
}
.mini-metrics span {
  color: var(--muted);
  font-size: 9px;
}
.read-only-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--border-green);
  border-radius: 999px;
  background: var(--surface-sage);
  color: var(--green-dark);
  font-size: 9px;
  font-weight: 750;
  white-space: nowrap;
}
.page-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.primary-link {
  padding: 9px 12px;
  background: var(--green);
  color: #fff;
}
.primary-link:hover {
  background: var(--green-dark);
}
.primary-link .ui-icon {
  width: 14px;
  height: 14px;
}
.secondary-link {
  padding: 8px 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--green-dark);
}
.flow-context {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-sage);
  color: var(--muted);
  font-size: 8px;
  white-space: nowrap;
}
.flow-context strong {
  color: var(--green-dark);
}
.flow-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}
.flow-map article {
  position: relative;
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 2px 10px rgb(30 62 61 / 3%);
}
.flow-map article > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--surface-sage);
  color: var(--green);
  font: 700 10px / 1 var(--body);
}
.flow-map article small {
  display: block;
  color: var(--green);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.flow-map article strong {
  display: block;
  margin-top: 3px;
  font-size: 12px;
}
.flow-map article p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
}
.flow-detail-list {
  display: grid;
  gap: 15px;
}
.flow-detail-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 2px 10px rgb(30 62 61 / 3%);
}
.flow-detail-card > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
}
.flow-detail-card header h3 {
  font: 480 24px / 1.1 var(--display);
  letter-spacing: -.02em;
}
.flow-detail-card header .eyebrow {
  margin-bottom: 4px;
}
.flow-number {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-sage);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}
.version-chip {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eee9e1;
  color: #6c6962;
  font-size: 8px;
  font-weight: 750;
  white-space: nowrap;
}
.flow-summary {
  max-width: 780px;
  margin: 20px 0 24px 58px;
  color: var(--muted);
  font-size: 11px;
}
.branch-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--border);
}
.branch-map > div {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 118px;
  padding: 16px;
  background: var(--surface-soft);
}
.branch-map .branch-split {
  background: var(--surface-sage);
}
.branch-map span {
  color: var(--green);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.branch-map strong {
  font: 500 19px / 1.15 var(--display);
}
.branch-map small {
  color: var(--muted);
  font-size: 9px;
}
.flow-disclosures {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.flow-disclosures details {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
}
.flow-disclosures summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}
.flow-disclosures summary::-webkit-details-marker {
  display: none;
}
.flow-disclosures summary span {
  min-width: 23px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--surface-sage);
  color: var(--green);
  font-size: 8px;
  text-align: center;
}
.question-list {
  display: grid;
  margin: 0;
  padding: 0 16px 10px 42px;
  border-top: 1px solid var(--border);
}
.question-list li {
  padding: 10px 0 10px 5px;
  border-bottom: 1px solid var(--border);
  color: var(--green);
  font-size: 9px;
}
.question-list li:last-child {
  border-bottom: 0;
}
.question-list li::marker {
  font-size: 8px;
  font-weight: 800;
}
.question-list li span {
  display: block;
  color: var(--ink);
  font-size: 10px;
}
.question-list li small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 1250px;
  margin: 0 auto 24px;
  color: var(--green);
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
}
.back-link .ui-icon {
  width: 14px;
  height: 14px;
}
.simulator-head {
  margin-bottom: 25px;
}
.simulation-banner {
  max-width: 1250px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 22px;
  padding: 11px 14px;
  border: 1px solid var(--border-green);
  border-radius: 10px;
  background: var(--surface-sage);
  color: var(--green-dark);
  font-size: 10px;
}
.simulation-banner .ui-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.simulator-layout {
  max-width: 1250px;
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(280px, 360px);
  align-items: start;
  gap: 22px;
  margin: 0 auto;
}
.sr-only {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.simulation-setup {
  overflow: hidden;
  border: 1px solid var(--border-green);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 28px rgb(30 62 61 / 6%);
}
.simulation-setup-form {
  display: grid;
  gap: 22px;
  padding: 30px;
}
.setup-intro {
  display: grid;
  gap: 7px;
}
.setup-intro h2 {
  font-size: 2rem;
}
.setup-intro > p:last-child {
  max-width: 620px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}
.form-error {
  padding: 11px 13px;
  border-radius: 10px;
  background: #fbe5e1;
  color: #b9564c;
  font-size: 10px;
}
.simulation-flow-picker {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
}
.simulation-flow-option {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-soft);
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}
.simulation-flow-option:hover {
  border-color: var(--sage);
}
.simulation-flow-option:has(input:checked) {
  border-color: var(--green);
  background: var(--surface-sage);
}
.simulation-flow-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.flow-option-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--warm-soft);
  color: var(--green-dark);
  font: 600 13px / 1 var(--display);
}
.simulation-flow-option > span:nth-of-type(2) {
  display: grid;
  gap: 4px;
}
.simulation-flow-option strong {
  color: var(--ink);
  font-size: 11px;
}
.simulation-flow-option small {
  color: var(--muted);
  font-size: 9px;
}
.simulation-flow-option i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  color: transparent;
  font-style: normal;
}
.simulation-flow-option:has(input:checked) i {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.simulation-persona {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(230px, .8fr);
  align-items: center;
  gap: 20px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--warm-soft);
  transition: opacity 140ms ease;
}
.simulation-persona[aria-disabled="true"] {
  opacity: 0.5;
}
.simulation-persona label {
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}
.simulation-persona p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}
.simulation-persona select {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 10px;
}
.setup-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 4px;
}
.setup-actions p {
  color: var(--muted);
  font-size: 9px;
}
.setup-actions .primary-link {
  min-height: 42px;
  border: 0;
  cursor: pointer;
}
.phone-preview {
  width: 100%;
  display: grid;
  place-items: start center;
  padding: 28px;
  border: 1px solid var(--border-green);
  border-radius: 18px;
  background: #e8f0eb;
}
.phone-frame {
  width: min(100%, 430px);
  height: clamp(560px, 72dvh, 740px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  border: 8px solid #183a3c;
  border-radius: 32px;
  background: #fbfaf7;
  box-shadow: 0 18px 45px rgb(20 55 55 / 18%);
}
.phone-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 17px 19px 13px;
  color: var(--ink);
}
.phone-topbar strong {
  font: 520 18px / 1 var(--display);
}
.phone-topbar small {
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--surface-sage);
  color: var(--green);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.phone-logo {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8d8c7;
  color: var(--sidebar);
  font: 600 14px / 1 var(--display);
}
.phone-progress {
  height: 4px;
  background: var(--sand);
}
.phone-progress span {
  display: block;
  height: 100%;
  background: var(--green);
  transition: width .2s;
}
.phone-content {
  min-height: 0;
  overflow: hidden;
}
.simulator-step,
.simulator-step > form {
  height: 100%;
  min-height: 0;
}
.simulator-step > form {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}
.simulator-scroll {
  min-height: 0;
  overflow-y: scroll;
  padding: 29px 20px 25px 25px;
  scrollbar-color: var(--sage) transparent;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
}
.simulator-scroll::-webkit-scrollbar {
  width: 7px;
}
.simulator-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.simulator-scroll::-webkit-scrollbar-thumb {
  border: 2px solid #fbfaf7;
  border-radius: 999px;
  background: var(--sage);
}
.phone-step-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 17px;
  color: var(--green);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.simulator-step h2,
.simulator-complete h2 {
  font-size: 1.75rem;
}
.step-description {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
}
.simulator-choices {
  display: grid;
  gap: 8px;
  margin-top: 23px;
}
.simulator-choices label {
  position: relative;
  cursor: pointer;
}
.simulator-choices input {
  position: absolute;
  opacity: 0;
}
.simulator-choices span {
  display: block;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-size: 10px;
  font-weight: 650;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.simulator-choices input:checked + span {
  border-color: var(--green);
  background: var(--surface-sage);
  box-shadow: 0 0 0 2px rgb(38 115 90 / 9%);
}
.simulator-choices input:focus-visible + span,
.scale-options input:focus-visible + span {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.simulator-scale {
  margin-top: 28px;
}
.scale-options {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 3px;
}
.scale-options label {
  position: relative;
}
.scale-options input {
  position: absolute;
  opacity: 0;
}
.scale-options span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}
.scale-options input:checked + span {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.scale-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--muted);
  font-size: 8px;
}
.simulator-text {
  width: 100%;
  margin-top: 23px;
  padding: 12px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: 0;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 11px;
}
.simulator-text:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgb(38 115 90 / 10%);
}
.phone-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 12px;
  padding: 13px 25px 17px;
  border-top: 1px solid var(--border);
  background: #fbfaf7;
  box-shadow: 0 -10px 24px rgb(23 63 66 / 6%);
}
.phone-primary,
.phone-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.phone-primary {
  background: var(--green);
  color: #fff;
}
.phone-primary:hover {
  background: var(--green-dark);
}
.phone-primary .ui-icon {
  width: 14px;
  height: 14px;
}
.phone-back {
  background: transparent;
  color: var(--muted);
}
.simulator-error {
  margin-bottom: 17px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--warm-soft);
  color: #914b31;
  font-size: 9px;
}
.simulator-complete {
  height: 100%;
  overflow-y: auto;
  padding: 34px 29px 25px;
  text-align: center;
}
.simulator-fatal-error {
  margin: 25px;
}
.complete-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #dcebe1;
  color: var(--green);
}
.simulator-complete > p:not(.eyebrow) {
  margin: 16px auto 23px;
  color: var(--muted);
  font-size: 11px;
  text-align: left;
}
.simulation-inspector {
  display: grid;
  gap: 12px;
}
.inspector-card {
  overflow: hidden;
  padding: 19px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 2px 10px rgb(30 62 61 / 3%);
}
.inspector-card h2 {
  font-size: 1.35rem;
}
.safety-card {
  border-color: var(--border-green);
  background: var(--surface-sage);
}
.safety-card ul {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  padding-left: 17px;
  color: var(--green-dark);
  font-size: 9px;
}
.simulation-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  margin-top: 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--border);
}
.simulation-facts div {
  display: grid;
  gap: 3px;
  padding: 11px;
  background: var(--surface-soft);
}
.simulation-facts dt {
  color: var(--muted);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.simulation-facts dd {
  margin: 0;
  font-size: 9px;
  font-weight: 750;
}
.answer-inspector {
  padding: 0;
  overflow: hidden;
}
.answer-inspector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 17px;
}
.answer-inspector-head .eyebrow {
  margin-bottom: 3px;
}
.answer-inspector-head h3 {
  font-size: 11px;
}
.answer-inspector-head > span {
  min-width: 23px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--surface-sage);
  color: var(--green);
  font-size: 8px;
  text-align: center;
}
.answer-sections {
  max-height: 500px;
  overflow-y: auto;
  border-top: 1px solid var(--border);
  scrollbar-color: var(--sage) transparent;
  scrollbar-width: thin;
}
.answer-section {
  margin: 0;
  border-bottom: 1px solid var(--border);
}
.answer-section:last-child {
  border-bottom: 0;
}
.answer-section > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 17px;
  background: var(--surface-soft);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.answer-section > summary::-webkit-details-marker {
  display: none;
}
.answer-section > summary span {
  font-size: 10px;
  font-weight: 800;
}
.answer-section > summary small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
}
.answer-section[open] > summary {
  background: var(--surface-sage);
  color: var(--green-dark);
}
.answer-section ol {
  margin: 0;
  padding: 0 17px;
  list-style: none;
}
.answer-section li {
  display: grid;
  gap: 4px;
  padding: 11px 0;
  border-top: 1px solid var(--border);
}
.answer-section li:first-child {
  border-top: 0;
}
.answer-section li small {
  color: var(--muted);
  font-size: 8px;
}
.answer-section li strong {
  font-size: 9px;
}
.answer-section li em {
  width: fit-content;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--surface-sage);
  color: var(--green-dark);
  font-size: 7px;
  font-style: normal;
  font-weight: 750;
}
.answer-section .inspector-empty {
  padding: 13px 17px;
}
.inspector-empty {
  padding: 0 17px 16px;
  color: var(--muted);
  font-size: 9px;
}

/* Mobile product simulator. These values mirror apps/mobile/theme. */
.phone-frame {
  position: relative;
  grid-template-rows: auto minmax(0, 1fr);
  background: #f6f1e8;
  font-family: var(--body);
}
.mobile-statusbar {
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 18px 3px;
  background: #f6f1e8;
  color: #1e4958;
  font-size: 7px;
  font-weight: 800;
}
.phone-content {
  height: 100%;
  color: #1e4958;
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--flow-step-duration, 220ms)
    var(--flow-ease-out, ease-out), transform var(--flow-step-duration, 220ms)
    var(--flow-ease-out, ease-out);
}
.phone-preview.is-loading .phone-content {
  pointer-events: none;
}
.phone-content.is-entering {
  opacity: 0;
  transform: translateY(var(--flow-step-offset, 8px));
}
@keyframes flow-loading-spin {
  to {
    transform: rotate(360deg);
  }
}
.simulator-request-error {
  position: absolute;
  z-index: 9;
  right: 14px;
  bottom: 82px;
  left: 14px;
  padding: 10px 12px;
  border: 1px solid #e7b8ad;
  border-radius: 10px;
  background: #fbe5e1;
  color: #873f38;
  font-size: 9px;
  line-height: 1.4;
  box-shadow: 0 4px 14px rgb(30 73 88 / 10%);
}
.phone-preview.is-loading button.is-committed::after {
  width: 13px;
  height: 13px;
  content: "";
  border: 2px solid rgb(255 255 255 / 45%);
  border-top-color: currentcolor;
  border-radius: 50%;
  animation: flow-loading-spin 700ms linear infinite;
}
.phone-content h1,
.phone-content h2,
.phone-content h3 {
  font-family: var(--body);
  color: #1e4958;
  letter-spacing: -.02em;
}
.phone-content h1 {
  font-size: 25px;
  line-height: 1.22;
}
.phone-content h2 {
  font-size: 22px;
  line-height: 1.28;
}
.phone-content h3 {
  font-size: 16px;
}
.phone-content p {
  color: #687c84;
  font-size: 11px;
  line-height: 1.55;
}
.mobile-screen {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}
.mobile-scroll {
  min-height: 0;
  overflow-y: auto;
  padding: 22px;
  scrollbar-color: #8faf9a transparent;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}
.mobile-scroll::-webkit-scrollbar {
  width: 6px;
}
.mobile-scroll::-webkit-scrollbar-thumb {
  border: 2px solid #f6f1e8;
  border-radius: 999px;
  background: #8faf9a;
}
.mobile-footer {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 22px 15px;
  border-top: 1px solid #ddd2c5;
  background: #f6f1e8;
  box-shadow: 0 -9px 20px rgb(30 73 88 / 6%);
}
.mobile-footer form {
  min-width: 0;
}
.mobile-primary,
.mobile-secondary,
.mobile-ghost,
.mobile-back {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 15px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: transform var(--flow-press-duration, 120ms)
    var(--flow-ease-out, ease-out), opacity var(--flow-press-duration, 120ms)
    ease-out;
}
.mobile-primary:active,
.mobile-secondary:active,
.mobile-ghost:active,
.mobile-back:active,
.focus-list label > span:active,
.mobile-options label > span:active,
.mobile-scale label span:active {
  transform: scale(0.97);
}
.mobile-primary {
  background: #247156;
  color: #fff;
}
.mobile-primary .ui-icon,
.mobile-back .ui-icon {
  width: 13px;
  height: 13px;
}
.mobile-secondary {
  width: 100%;
  border-radius: 12px;
  background: #e9ddce;
  color: #1e4958;
}
.mobile-ghost {
  width: 100%;
  background: transparent;
  color: #1e4958;
}
.mobile-back {
  padding-left: 2px;
  background: transparent;
  color: #1e4958;
}
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.mobile-brand > img {
  width: 32px;
  height: 34px;
  object-fit: contain;
}
.mobile-brand > div {
  display: grid;
}
.mobile-brand strong {
  font: 800 18px / 1.05 var(--body);
  letter-spacing: .01em;
}
.mobile-brand small {
  margin-top: 4px;
  color: #687c84;
  font-size: 9px;
  font-weight: 600;
}
.mobile-auth {
  gap: 22px;
}
.mobile-auth.mobile-scroll,
.mobile-auth .mobile-scroll {
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.mobile-auth > div:not(.mobile-brand) {
  display: grid;
  gap: 8px;
}
.mobile-fields {
  display: grid;
  gap: 10px;
}
.mobile-fields input,
.mobile-textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #ddd2c5;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: #1e4958;
  font: inherit;
  font-size: 10px;
}
.mobile-sign-up {
  display: block;
}
.mobile-sign-up .mobile-scroll {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 24px;
}
.mobile-sign-up-content {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding: 32px 0;
}
.mobile-sign-up .mobile-brand {
  align-self: flex-start;
  gap: 8px;
}
.mobile-sign-up .mobile-brand > img {
  width: 48px;
  height: 50px;
}
.mobile-sign-up .mobile-brand strong {
  font-size: 24px;
  line-height: 32px;
}
.mobile-sign-up .mobile-brand small {
  font-size: 14px;
  line-height: 21px;
}
.mobile-auth-header {
  display: grid;
  gap: 8px;
}
.phone-content .mobile-auth-header h1 {
  font-size: 30px;
  line-height: 38px;
}
.phone-content .mobile-auth-header p {
  font-size: 18px;
  line-height: 28px;
}
.mobile-sign-up .mobile-fields {
  gap: 16px;
}
.mobile-sign-up .mobile-fields input,
.mobile-sign-up .mobile-faux-input {
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid #ddd2c5;
  border-radius: 16px;
  outline: 0;
  background: #fff;
  color: #1e4958;
  font-size: 16px;
  line-height: 24px;
}
.mobile-sign-up .mobile-faux-input {
  display: flex;
  align-items: center;
  cursor: text;
}
.mobile-sign-up .mobile-faux-input:empty::before {
  color: #819097;
  content: attr(data-placeholder);
}
.mobile-sign-up .mobile-fields input:focus,
.mobile-sign-up .mobile-faux-input:focus {
  border-color: #8faf9a;
  box-shadow: 0 0 0 2px rgb(143 175 154 / 18%);
}
.mobile-sign-up .mobile-password-input:not(:empty) {
  -webkit-text-security: disc;
}
.mobile-sign-up .mobile-primary {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
  line-height: 22px;
}
.mobile-auth-link {
  align-self: center;
  margin-top: 24px;
  padding: 8px 0;
  color: #1e4958;
  font-size: 16px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}
.mobile-textarea {
  min-height: 82px;
  resize: vertical;
}
.simulation-data-note {
  padding: 9px 11px;
  border-radius: 10px;
  background: #eff4f0;
  color: #687c84;
  font-size: 8px !important;
}
.mobile-error {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fbe5e1;
  color: #b9564c;
  font-size: 9px;
}
.mobile-fatal {
  margin: 22px;
}
.mobile-onboarding {
  grid-template-rows: auto minmax(0, 1fr);
}
.mobile-onboarding > form:first-of-type {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}
.mobile-scroll-cue {
  position: absolute;
  z-index: 3;
  right: 10px;
  bottom: 74px;
  left: 10px;
  min-height: 43px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 7px;
  padding: 17px 12px 7px;
  background: linear-gradient(to bottom, rgb(246 241 232 / 0%), #f6f1e8 42%);
  color: #247156;
  font-size: 9px;
  font-weight: 800;
  pointer-events: none;
  transition: opacity 160ms ease;
}
.mobile-scroll-cue[hidden] {
  display: none;
}
.mobile-scroll-cue strong {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #247156;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  animation: scroll-cue-bounce 1.7s ease-in-out infinite;
}
@keyframes scroll-cue-bounce {
  0%,
  100% {
    transform: translateY(-1px);
  }
  50% {
    transform: translateY(3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-scroll-cue strong {
    animation: none;
  }
}
#mobile-onboarding-back,
#planning-motive-back,
#habit-frequency-back {
  display: none;
}
.mobile-progress-head {
  display: grid;
  gap: 7px;
  padding: 13px 22px 8px;
}
.mobile-progress-head > span {
  color: #687c84;
  font-size: 8px;
  font-weight: 800;
}
.mobile-progress-head > div {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9ddce;
}
.mobile-progress-head i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #8faf9a;
}
.mobile-onboarding .mobile-scroll {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 12px;
}
.mobile-onboarding .mobile-scroll > div:not(.mobile-error) {
  display: grid;
  gap: 7px;
}
.mobile-options {
  display: grid;
  gap: 8px;
}
.mobile-options label {
  position: relative;
}
.mobile-options label > input {
  position: absolute;
  opacity: 0;
}
.mobile-options label > span,
.instant-options button {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid #ddd2c5;
  border-radius: 15px;
  background: #fff;
  color: #1e4958;
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: transform var(--flow-press-duration, 120ms)
    var(--flow-ease-out, ease-out), border-color
    var(--flow-press-duration, 120ms) ease-out, background
    var(--flow-press-duration, 120ms) ease-out;
}
.mobile-options i {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  border: 1.5px solid #687c84;
  border-radius: 50%;
}
.mobile-options input[type="checkbox"] + span i {
  border-radius: 4px;
}
.mobile-options input:checked + span {
  border: 2px solid #247156;
}
.mobile-options input:checked + span i {
  border: 5px solid #247156;
}
.mobile-scale {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1.5px solid #ddd2c5;
  border-radius: 15px;
  background: #fff;
}
.mobile-scale > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.mobile-scale label {
  position: relative;
}
.mobile-scale input {
  position: absolute;
  opacity: 0;
}
.mobile-scale label span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1.5px solid #ddd2c5;
  border-radius: 50%;
  font-size: 10px;
  cursor: pointer;
}
.mobile-scale input:checked + span {
  border: 2px solid #247156;
}
.mobile-scale small {
  display: flex;
  justify-content: space-between;
  color: #687c84;
  font-size: 8px;
}
.mobile-welcome .mobile-scroll {
  padding: 17px 0 0;
  text-align: center;
}
.mobile-welcome .mobile-brand {
  justify-content: center;
}
.welcome-claim {
  margin-top: 6px;
  text-align: center;
}
.welcome-landscape {
  min-height: 390px;
  display: flex;
  align-items: flex-end;
  margin-top: 16px;
  padding-top: 100px;
  background: linear-gradient(
    155deg,
    #c9dfd2 0 40%,
    #8faf9a 40% 62%,
    #e9ddce 62%
  );
}
.welcome-card {
  width: 100%;
  display: grid;
  gap: 13px;
  padding: 27px 22px 30px;
  border-radius: 50% 50% 0 0 / 18px 18px 0 0;
  background: #fff;
}
.welcome-card > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: -51px auto 0;
  border-radius: 50%;
  background: #e9ddce;
  font-size: 23px;
}
.welcome-card p {
  color: #1e4958;
  text-align: center;
}
.mobile-with-tabs {
  position: relative;
  display: block;
  padding-bottom: 72px;
}
.mobile-with-tabs > .mobile-scroll {
  height: 100%;
}
.mobile-home {
  display: grid;
  align-content: start;
  gap: 18px;
}
.mobile-home > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-home-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.mobile-home-actions form {
  display: grid;
}
.mobile-header-action {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  border: 1px solid #ddd2c5;
  border-radius: 999px;
  background: #fff;
  color: #1e4958;
  font: inherit;
  cursor: pointer;
  transition: border-color 120ms ease-out, background 120ms ease-out, transform
    120ms ease-out;
}
.mobile-header-action:hover {
  border-color: #8faf9a;
  background: #eff4f0;
}
.mobile-header-action:active {
  transform: scale(0.96);
}
.mobile-header-action > span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #247156;
}
.mobile-header-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-header-action strong {
  font-size: 9px;
  font-weight: 800;
}
.mobile-icon-action {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #247156;
  cursor: pointer;
  transition: background 120ms ease-out, transform 120ms ease-out;
}
.mobile-icon-action:hover {
  background: #e6efe9;
}
.mobile-icon-action:active {
  transform: scale(0.94);
}
.mobile-icon-action svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-hero {
  display: grid;
  gap: 3px;
  padding: 3px 1px 1px;
}
.home-hero small {
  color: #247156;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .09em;
}
.home-hero h2 {
  font-size: 25px;
  line-height: 1.15;
}
.mobile-card {
  display: grid;
  gap: 9px;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 3px 10px rgb(30 73 88 / 8%);
}
.objective-card {
  position: relative;
  padding-top: 30px;
  text-align: center;
}
.objective-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  position: absolute;
  top: -21px;
  left: calc(50% - 21px);
  border: 2px solid #fff;
  border-radius: 50%;
  background: #eff4f0;
  color: #247156;
}
.objective-card p {
  white-space: pre-line;
}
.objective-card form,
.checkin-actions form,
.mobile-card > form {
  width: 100%;
}
.objective-card .mobile-primary {
  width: 100%;
  margin-top: 4px;
}
.checkin-actions {
  display: grid;
  gap: 9px;
}
.checkin-actions .mobile-primary,
.checkin-actions .mobile-secondary,
.checkin-actions .mobile-ghost {
  width: 100%;
  min-height: 48px;
  font-size: 11px;
}
.checkin-secondary-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.checkin-secondary-actions form {
  min-width: 0;
}
.checkin-secondary-actions .mobile-ghost {
  padding-inline: 6px;
  font-size: 9px;
}
.mobile-card.rescue,
.checkin-card.rescue {
  background: #f4e1d9;
}
.progress-card {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  border-radius: 16px;
  background: #dfece3;
}
.progress-card > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
}
.progress-card > p {
  display: grid;
  gap: 2px;
  margin: 0;
}
.progress-card strong {
  color: #1e4958;
  font-size: 12px;
}
.progress-card small {
  color: #687c84;
  font-size: 9px;
}
.guided-week-card {
  gap: 12px;
  border: 1px solid #cfe0d6;
  background: linear-gradient(145deg, #fff 48%, #eff4f0);
}
.guided-week-intro-card {
  gap: 12px;
  border: 1px solid #cfe0d6;
  background: linear-gradient(145deg, #fff 48%, #eff4f0);
}
.guided-week-intro-card > small {
  color: #247156;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.guided-week-intro-card > h3 {
  color: #1e4958;
  font-size: 20px;
  line-height: 1.1;
}
.guided-week-intro-card .mobile-primary {
  width: 100%;
  min-height: 48px;
  font-size: 11px;
}
.today-card {
  gap: 14px;
  border: 1px solid #ddd2c5;
}
.today-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.today-card-head small {
  color: #247156;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .09em;
}
.today-card-head span {
  color: #687c84;
  font-size: 8px;
  font-weight: 700;
}
.today-card > h2 {
  color: #1e4958;
  font-size: 24px;
  line-height: 1.1;
}
.today-card > h3 {
  margin-top: 2px;
  color: #1e4958;
  font-size: 15px;
}
.today-anchor {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #dfece3;
  color: #1e4958;
}
.today-anchor svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #247156;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.today-anchor strong {
  font-size: 12px;
}
.mobile-learn-link {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #247156;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.mobile-learn-link:hover {
  background: #eff4f0;
}
.mobile-today-support {
  display: grid;
  align-content: start;
  gap: 17px;
  padding-top: 18px;
}
.mobile-today-support > form:first-child {
  justify-self: start;
}
.mobile-today-support > header {
  display: grid;
  gap: 7px;
}
.mobile-today-support > header > small,
.today-support-preparation small,
.today-support-step-head small {
  color: #247156;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .09em;
}
.mobile-today-support > header h1 {
  color: #1e4958;
  font-size: 27px;
  line-height: 1.05;
}
.mobile-today-support > header p {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #dfece3;
  color: #1e4958;
}
.mobile-today-support > header svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #247156;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.today-support-ready {
  display: grid;
  gap: 10px;
}
.today-support-ready > form,
.today-support-guide > form,
.today-support-result > form {
  width: 100%;
}
.today-support-ready button,
.today-support-guide button,
.today-support-result button {
  width: 100%;
  min-height: 48px;
}
.today-support-preparation {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 2px;
}
.today-support-preparation > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #dfece3;
  color: #247156;
}
.today-support-preparation svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.today-support-preparation p {
  display: grid;
  gap: 5px;
  margin: 0;
}
.today-support-preparation strong {
  color: #1e4958;
  font-size: 13px;
  line-height: 1.35;
}
.today-support-guide {
  min-height: 365px;
  align-content: space-between;
  gap: 18px;
}
.today-support-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.today-support-step-head span {
  color: #687c84;
  font-size: 8px;
  font-weight: 700;
}
.today-support-guide > i {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background: #dfece3;
  color: #247156;
  font-size: 25px;
  font-style: normal;
  font-weight: 800;
}
.today-support-guide > h2 {
  color: #1e4958;
  font-size: 22px;
  line-height: 1.2;
  text-align: center;
}
.today-support-result {
  gap: 12px;
}
.today-support-result h2 {
  color: #1e4958;
  font-size: 22px;
}
.today-support-result > p {
  color: #687c84;
  font-size: 10px;
  line-height: 1.45;
}
.guided-week-intro-card > p {
  color: #687c84;
  font-size: 9px;
  line-height: 1.5;
}
.guided-week-moments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.guided-week-moments > span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #1e4958;
  font-size: 8px;
  font-weight: 700;
}
.guided-week-moments i {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dfece3;
  color: #247156;
  font-size: 8px;
  font-style: normal;
}
.guided-week-head,
.guided-week-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.guided-week-head > p {
  display: grid;
  gap: 2px;
  margin: 0;
}
.guided-week-head small,
.mobile-guided-week header > small,
.guided-week-education > small,
.guided-week-practice > small,
.guided-week-summary > small {
  color: #247156;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.guided-week-head strong {
  color: #1e4958;
  font-size: 15px;
}
.guided-week-head > span {
  min-width: 34px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #dfece3;
  color: #247156;
  font-size: 8px;
  font-weight: 800;
  text-align: center;
}
.guided-week-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9ddce;
}
.guided-week-progress > i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #8faf9a;
}
.guided-week-card h3 {
  color: #1e4958;
  font-size: 17px;
  line-height: 1.15;
}
.guided-week-card > p,
.guided-week-lesson > p,
.mobile-guided-week header > p,
.guided-week-education > p,
.guided-week-practice > p,
.guided-week-summary > p {
  color: #687c84;
  font-size: 9px;
  line-height: 1.5;
}
.guided-week-preview {
  display: grid;
  gap: 3px;
  padding: 11px;
  border-radius: 13px;
  background: #eff4f0;
}
.guided-week-preview small {
  color: #247156;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.guided-week-preview strong {
  color: #1e4958;
  font-size: 10px;
}
.mobile-guided-week {
  display: grid;
  align-content: start;
  gap: 16px;
  padding-top: 18px;
}
.mobile-guided-week > form:first-child {
  justify-self: start;
}
.mobile-guided-week header {
  display: grid;
  gap: 5px;
}
.mobile-guided-week header > h1 {
  color: #1e4958;
  font-size: 27px;
  line-height: 1.05;
}
.guided-week-step {
  color: #687c84;
  font-size: 8px;
}
.guided-week-step strong {
  color: #1e4958;
}
.guided-week-lesson {
  gap: 15px;
  border: 1px solid #ddd2c5;
}
.guided-week-lesson > h2 {
  color: #1e4958;
  font-size: 20px;
  line-height: 1.1;
}
.guided-week-education,
.guided-week-practice {
  display: grid;
  gap: 7px;
  padding: 14px;
  border-radius: 15px;
}
.guided-week-education {
  background: #dfece3;
}
.guided-week-practice {
  border: 1px solid #ddd2c5;
  background: #f8f3eb;
}
.guided-week-education h3,
.guided-week-practice h3 {
  color: #1e4958;
  font-size: 14px;
  line-height: 1.25;
}
.guided-week-practice h2 {
  color: #1e4958;
  font-size: 21px;
  line-height: 1.15;
}
.guided-week-more {
  display: grid;
  gap: 9px;
}
.guided-week-more summary {
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 10px 13px;
  border-radius: 12px;
  background: #dfece3;
  color: #1e4958;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.guided-week-more summary::-webkit-details-marker {
  display: none;
}
.guided-week-more[open] .guided-week-education {
  margin-top: 9px;
}
.guided-week-summary {
  display: grid;
  gap: 10px;
  padding: 15px;
  border-radius: 17px;
  background: #dfece3;
}
.guided-week-summary > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.guided-week-summary > div p {
  display: grid;
  gap: 2px;
  margin: 0;
}
.guided-week-summary strong {
  color: #1e4958;
  font-size: 18px;
}
.guided-week-summary span {
  color: #687c84;
  font-size: 7px;
}
.mobile-tabs {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  padding: 7px 8px 9px;
  border-top: 1px solid #ddd2c5;
  background: #fff;
  box-shadow: 0 -8px 20px rgb(30 73 88 / 5%);
}
.mobile-tabs form {
  height: 54px;
  display: block;
  min-width: 0;
}
.mobile-tabs button,
.mobile-tabs > span {
  width: 100%;
  height: 54px;
  min-width: 0;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 1px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #687c84;
  font: inherit;
  cursor: pointer;
}
.mobile-tabs .active {
  color: #247156;
  font-weight: 800;
}
.mobile-tabs .disabled {
  opacity: 0.42;
}
.mobile-tab-icon {
  width: 38px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
}
.mobile-tabs .active .mobile-tab-icon {
  background: #e6efe9;
}
.mobile-tab-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-tab-label {
  max-width: 100%;
  overflow: hidden;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mobile-care {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-top: 22px;
}
.mobile-care-header {
  display: grid;
  gap: 5px;
}
.mobile-care-header > small {
  color: #247156;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mobile-care-header > h1 {
  font-size: 25px;
  line-height: 1.05;
}
.mobile-care-header > p,
.mobile-care-card > div:first-child > p {
  color: #687c84;
  font-size: 10px;
  line-height: 1.45;
}
.mobile-care-card {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid #ddd2c5;
  border-radius: 17px;
  background: #fff;
}
.mobile-care-card > div:first-child {
  display: grid;
  gap: 4px;
}
.mobile-care-card h2 {
  color: #1e4958;
  font-size: 17px;
}
.mobile-care-card > form,
.mobile-care-card .mobile-primary,
.mobile-care > form,
.mobile-care > form .mobile-secondary {
  width: 100%;
}
.mobile-care-rows {
  display: grid;
}
.mobile-care-row {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 0;
}
.mobile-care-row + .mobile-care-row {
  border-top: 1px solid #e9ddce;
}
.mobile-care-row > span,
.mobile-care-link > span,
.mobile-care-empty > svg {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eff4f0;
  color: #247156;
}
.mobile-care-row svg,
.mobile-care-link > span svg,
.mobile-care-notice > svg,
.mobile-care-empty > svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-care-row > p {
  min-width: 0;
  display: grid;
  gap: 2px;
  margin: 0;
}
.mobile-care-row small {
  color: #687c84;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.mobile-care-row strong {
  color: #1e4958;
  font-size: 9px;
  line-height: 1.4;
}
.mobile-care-empty {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border-radius: 13px;
  background: #eff4f0;
  color: #1e4958;
  font-size: 9px;
}
.mobile-care-steps {
  display: grid;
  gap: 9px;
}
.mobile-care-steps > p {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #1e4958;
  font-size: 9px;
}
.mobile-care-steps > p > span {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #247156;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}
.mobile-care-steps.detailed > p {
  align-items: flex-start;
}
.mobile-care-steps.detailed strong {
  display: grid;
  gap: 3px;
}
.mobile-care-steps.detailed small {
  color: #687c84;
  font-size: 8px;
  font-weight: 400;
  line-height: 1.4;
}
.mobile-care-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px;
  border-radius: 13px;
  background: #eff4f0;
  color: #1e4958;
}
.mobile-care-notice.warning {
  background: #f4e1d9;
  color: #824d3a;
}
.mobile-care-notice > svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}
.mobile-care-notice > p {
  margin: 0;
  font-size: 8px;
  line-height: 1.5;
}
.mobile-care-links {
  display: grid;
  gap: 9px;
}
.mobile-care-link-form {
  width: 100%;
}
.mobile-care-link {
  width: 100%;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid #ddd2c5;
  border-radius: 16px;
  background: #fff;
  color: #1e4958;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.mobile-care-link.disabled {
  opacity: 0.52;
}
.mobile-care-link > p {
  min-width: 0;
  display: grid;
  flex: 1;
  gap: 3px;
  margin: 0;
}
.mobile-care-link strong {
  font-size: 11px;
}
.mobile-care-link small {
  color: #687c84;
  font-size: 8px;
  line-height: 1.4;
}
.mobile-care-link em {
  color: #247156;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}
.mobile-care-link > .ui-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
.mobile-profile {
  display: grid;
  align-content: start;
  gap: 18px;
}
.mobile-profile-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-profile-head .mobile-icon-action {
  font-size: 24px;
}
.mobile-profile .mobile-card small {
  color: #687c84;
  font-size: 8px;
  font-weight: 800;
}
.mobile-profile .mobile-card p {
  margin-bottom: 9px;
  color: #1e4958;
}
.profile-simulation-note {
  padding: 11px;
  border-radius: 12px;
  background: #eff4f0;
  color: #687c84;
  font-size: 8px;
}
.mobile-complete {
  display: grid;
  align-content: center;
  gap: 18px;
  text-align: center;
}
.mobile-complete .complete-mark {
  margin-bottom: 0;
}
.mobile-complete .mobile-card {
  text-align: left;
}
.mobile-complete .mobile-card small {
  color: #687c84;
  font-size: 8px;
  font-weight: 800;
}
.mobile-complete .mobile-card p {
  color: #1e4958;
}
.mobile-complete form,
.mobile-complete .mobile-primary {
  width: 100%;
}
.mobile-flow-header {
  display: grid;
  gap: 7px;
}
.mobile-flow-header .mobile-back {
  width: 42px;
  height: 42px;
  padding: 0;
}
.mobile-flow-header .mobile-back span {
  display: none;
}
.mobile-segments {
  display: flex;
  gap: 4px;
}
.mobile-segments span {
  height: 7px;
  flex: 1;
  border-radius: 999px;
  background: #e9ddce;
}
.mobile-segments .active {
  background: #8faf9a;
}
.mobile-label {
  color: #687c84;
  font-size: 9px;
  font-weight: 800;
}
.focus-list {
  display: grid;
  gap: 10px;
}
.focus-list label {
  position: relative;
  cursor: pointer;
}
.focus-list input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.focus-list label > span {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 0;
  border-radius: 17px;
  background: #fff;
  color: #1e4958;
  font: inherit;
  text-align: left;
  box-shadow: 0 3px 10px rgb(30 73 88 / 8%);
  cursor: pointer;
  transition: transform var(--flow-press-duration, 120ms)
    var(--flow-ease-out, ease-out), background var(--flow-press-duration, 120ms)
    ease-out, box-shadow var(--flow-press-duration, 120ms) ease-out;
}
.focus-list input:checked + span {
  background: #eff4f0;
  box-shadow: 0 0 0 2px rgb(36 113 86 / 16%);
}
.focus-list input:focus-visible + span {
  outline: 2px solid #247156;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .phone-content {
    transform: none;
  }
  .phone-content.is-entering {
    transform: none;
  }
  .phone-transition-status > span {
    animation: none;
  }
}
.focus-list label > span > i {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eff4f0;
  color: #247156;
}
.focus-list label > span > i::after {
  width: 15px;
  height: 15px;
  content: "";
  border: 1px solid #8faf9a;
  border-radius: 50%;
}
.focus-list input:checked + span > i::after {
  border: 4px solid #247156;
  background: #fff;
}
.focus-list label > span > strong {
  font-size: 13px;
}
.focus-list .ui-icon {
  width: 14px;
  height: 14px;
}
.privacy-note {
  padding: 11px;
  border-radius: 14px;
  background: #eff4f0;
  color: #687c84;
  font-size: 8px;
}
.phone-content em {
  color: #c9785c;
  font-style: normal;
}
.planning-ready {
  display: grid;
  align-content: start;
  gap: 16px;
}
.planning-ready-copy {
  display: grid;
  gap: 6px;
}
.planning-ready-copy > small,
.planning-ready-focus small,
.planning-ready-preview > small {
  color: #247156;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.planning-ready-copy h2,
.planning-ready-copy p {
  margin: 0;
}
.planning-ready-focus {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 15px;
  background: #e9ddce;
}
.planning-ready-focus small {
  color: #687c84;
}
.planning-ready-focus strong {
  font-size: 16px;
}
.planning-ready-preview {
  display: grid;
  gap: 9px;
}
.planning-ready-preview > small {
  color: #1e4958;
}
.preview-rows {
  display: grid;
  gap: 8px;
}
.preview-rows > div {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px;
  border: 1px solid #ddd2c5;
  border-radius: 14px;
  background: #fff;
}
.preview-rows > div > span {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eff4f0;
  color: #247156;
}
.preview-rows svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.preview-rows p {
  display: grid;
  gap: 2px;
  margin: 0;
}
.preview-rows p strong {
  color: #1e4958;
  font-size: 10px;
}
.preview-rows p small {
  color: #687c84;
  font-size: 8px;
  line-height: 1.35;
}
.instant-options form {
  display: grid;
}
.plan-sentence {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 20px;
  background: #e9ddce;
}
.plan-sentence small {
  color: #687c84;
  font-size: 8px;
  font-weight: 800;
}
.plan-sentence h3 em {
  color: #247156;
}
.catalog-columns {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 12px;
}
.catalog-columns > div,
.action-groups,
.barrier-list {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-soft);
}
.catalog-columns h4,
.action-groups h4,
.barrier-list h4 {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.catalog-columns ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 17px;
}
.catalog-columns li {
  color: var(--muted);
  font-size: 10px;
}
.flow-count-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--border);
}
.flow-count-grid > div {
  display: grid;
  gap: 5px;
  padding: 17px;
  background: var(--surface-soft);
}
.flow-count-grid strong {
  font: 500 25px / 1 var(--display);
}
.flow-count-grid span {
  color: var(--muted);
  font-size: 9px;
}
.action-groups {
  display: grid;
  gap: 14px;
}
.action-groups > div + div {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.action-groups h4 {
  margin-bottom: 4px;
}
.action-groups p,
.barrier-list p {
  color: var(--muted);
  font-size: 10px;
}
.rule-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-left: 3px solid var(--sage);
  border-radius: 0 9px 9px 0;
  background: var(--surface-sage);
  color: var(--green-dark);
  font-size: 9px;
}
.checkin-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.checkin-paths > div {
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.checkin-paths span {
  font-size: 11px;
  font-weight: 800;
}
.checkin-paths p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}
.path-done {
  background: var(--surface-sage);
}
.path-could-not {
  background: var(--warm-soft);
}
.barrier-list {
  margin-top: 0;
}
.future-flow-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 17px;
  padding: 24px;
  border: 1px solid var(--border-green);
  border-radius: 15px;
  background: var(--surface-sage);
}
.future-flow-note > div:first-child {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #dcebe1;
  color: var(--green);
}
.future-flow-note h2 {
  font-size: 1.45rem;
}
.future-flow-note p:last-child {
  max-width: 760px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
}
.system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--border);
}
.system-row {
  display: grid;
  gap: 4px;
  padding: 17px;
  background: var(--surface);
}
.system-row span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}
.system-row strong {
  font-size: 12px;
}
.system-row small {
  color: var(--muted);
  font-size: 9px;
}
.ok-dot::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: #4f9b72;
}

.team-page-head {
  margin-bottom: 24px;
}
.team-layout {
  container-type: inline-size;
  max-width: 1250px;
  display: grid;
  gap: 20px;
  margin: 0 auto;
}
.team-layout > section,
.team-layout > section + section {
  width: 100%;
  max-width: none;
  margin: 0;
}
.team-link-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 28px 48px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.team-link-card .team-card-copy {
  padding-top: 2px;
}
.team-link-card .team-card-copy h2 {
  margin-top: 4px;
  font-size: 1.8rem;
}
.team-link-card .team-card-copy > p:last-child {
  max-width: 420px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}
.team-link-controls {
  min-width: 0;
  display: grid;
  gap: 14px;
}
.team-link-controls > label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 750;
}
.team-link-warning {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #ead9b8;
  border-radius: 10px;
  background: #fff8e9;
  color: #72572d;
  font-size: 9px;
  line-height: 1.55;
}
.team-link-warning .ui-icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.team-link-warning strong {
  color: #543d1c;
}
.team-link-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.team-link-actions button,
.team-link-create button {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 9px;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.team-link-actions .secondary-button {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--green-dark);
}
.team-link-actions .danger-button {
  border: 0;
  background: transparent;
  color: #914b31;
}
.team-link-create {
  align-self: center;
  justify-self: end;
}
.team-link-create button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: var(--green);
  color: #fff;
}
.team-link-create .ui-icon {
  width: 14px;
  height: 14px;
}
.team-invite-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 24px 40px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.team-card-copy h2 {
  font-size: 1.7rem;
}
.team-card-copy > p:last-child {
  max-width: 430px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}
.team-invite-card > .notice,
.invite-link-result {
  grid-column: 1 / -1;
}
.team-invite-card > .notice {
  width: 100%;
  max-width: none;
  margin: 0;
}
.team-invite-form {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
  align-items: end;
  gap: 10px;
}
.team-invite-form label {
  display: grid;
  gap: 7px;
  font-size: 10px;
  font-weight: 750;
}
.team-invite-form input[type="email"],
.copy-field input {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  outline: 0;
  background: var(--surface);
  color: var(--ink);
}
.team-invite-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgb(38 115 90 / 10%);
}
.invite-email-option {
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: start;
  gap: 9px !important;
  color: var(--ink);
  cursor: pointer;
}
.invite-email-option input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--green);
}
.invite-email-option > span {
  display: grid;
  gap: 2px;
}
.invite-email-option strong {
  font-size: 10px;
}
.invite-email-option small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.4;
}
.team-invite-form button,
.copy-field button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 15px;
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.team-invite-form button {
  white-space: nowrap;
}
.team-invite-form button .ui-icon {
  width: 14px;
  height: 14px;
}
.invite-link-result {
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-green);
}
.invite-link-result > div:first-child {
  display: grid;
  gap: 3px;
}
.invite-link-result strong {
  font-size: 11px;
}
.invite-link-result p {
  color: var(--muted);
  font-size: 9px;
}
.copy-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
}
.copy-field input {
  color: var(--muted);
  font-size: 9px;
}
.team-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}
.team-access-grid > section,
.team-access-grid > section + section {
  max-width: none;
  margin: 0;
}
.team-panel {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.team-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.team-panel-head h2 {
  font-size: 1.45rem;
}
.team-panel-head > span {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--surface-sage);
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 800;
}
.team-member-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.team-member-card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 11px;
  background: var(--surface-soft);
}
.team-member-card > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.team-member-card > div strong,
.team-member-card > div small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-member-card > div strong {
  font-size: 10px;
}
.team-member-card > div small {
  color: var(--muted);
  font-size: 8px;
}
.team-member-card > .pill {
  grid-column: 2;
  justify-self: start;
}
.team-empty {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 15px;
  border-radius: 11px;
  background: var(--surface-soft);
}
.team-empty > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-sage);
  color: var(--green);
}
.team-empty .ui-icon {
  width: 17px;
  height: 17px;
}
.team-empty > div {
  display: grid;
  gap: 3px;
}
.team-empty strong {
  font-size: 10px;
}
.team-empty p {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}
.invitation-list {
  overflow: hidden;
  border-radius: 11px;
  background: var(--surface-soft);
}
.invitation-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
}
.invitation-row:last-child {
  border-bottom: 0;
}
.invitation-row > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.invitation-row strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.invitation-row small {
  color: var(--muted);
  font-size: 8px;
}
.invitation-row form button {
  padding: 6px 9px;
  border: 0;
  background: transparent;
  color: #914b31;
  font: inherit;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}

@container (max-width: 820px) {
  .team-link-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .team-link-create {
    justify-self: start;
  }
  .team-invite-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .team-card-copy > p:last-child {
    max-width: 560px;
  }
  .team-access-grid {
    grid-template-columns: 1fr;
  }
}

@container (max-width: 520px) {
  .team-link-card,
  .team-invite-card,
  .team-panel {
    padding: 19px;
  }
  .team-member-list {
    grid-template-columns: 1fr;
  }
  .team-link-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .team-link-actions form,
  .team-link-actions button,
  .team-link-create,
  .team-link-create button {
    width: 100%;
  }
  .team-invite-form,
  .copy-field {
    grid-template-columns: 1fr;
  }
  .team-invite-form button,
  .copy-field button {
    width: 100%;
  }
}
.join-card .join-expiry,
.join-card .join-existing {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}
.join-card .join-expiry {
  margin: -4px 0 0;
}
.join-card .join-existing {
  margin-top: 16px;
  text-align: center;
}
.join-primary-link,
.join-signin-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 13px 16px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}
.join-primary-link {
  background: var(--green);
  color: #fff;
}
.join-signin-link {
  border: 1px solid var(--border);
  color: var(--green);
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 1250px;
  margin: 0 auto 30px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.back .ui-icon {
  width: 14px;
  height: 14px;
}
.detail-head {
  align-items: center;
  margin-bottom: 30px;
}
.detail-identity {
  display: flex;
  align-items: center;
  gap: 17px;
}
.detail-identity h1 {
  font-size: clamp(2rem, 3vw, 2.7rem);
}
.detail-identity p:last-child {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.avatar.hero {
  width: 62px;
  height: 62px;
  font: 500 26px / 1 var(--display);
}
.detail-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}
.notice {
  max-width: 1250px;
  margin: -12px auto 24px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 650;
}
.notice-success {
  border: 1px solid var(--border-green);
  background: var(--surface-sage);
  color: var(--green-dark);
}
.notice-error {
  margin: 0;
  border: 1px solid #ecd3c7;
  background: var(--warm-soft);
  color: #914b31;
}
.edit-page-head {
  margin-bottom: 30px;
}
.profile-form {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.profile-form > .notice {
  margin: 24px 24px 0;
}
.form-section {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(320px, 1.28fr);
  gap: clamp(30px, 6vw, 90px);
  padding: 34px;
}
.form-section + .form-section {
  border-top: 1px solid var(--border);
}
.form-section-copy h2 {
  font-size: 1.55rem;
}
.form-section-copy,
.form-fields {
  min-width: 0;
}
.form-section-copy > p:last-child {
  max-width: 350px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
}
.form-fields {
  display: grid;
  gap: 16px;
}
.form-fields label {
  display: grid;
  gap: 7px;
  font-size: 10px;
  font-weight: 750;
}
.form-fields input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  outline: 0;
  background: var(--surface-soft);
  color: var(--ink);
}
.form-fields input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgb(38 115 90 / 10%);
}
.form-fields input[readonly] {
  color: var(--muted);
  cursor: not-allowed;
}
.field-note {
  margin-top: -10px;
  color: var(--muted);
  font-size: 9px;
}
.readonly-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--border);
}
.readonly-grid > div {
  display: grid;
  gap: 4px;
  padding: 13px;
  background: var(--surface-soft);
}
.readonly-grid span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.readonly-grid strong {
  font-size: 11px;
}
.security-section {
  background: #fcfbf8;
}
.security-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px;
  border-radius: 10px;
  background: var(--surface-sage);
  color: var(--green-dark);
  font-size: 10px;
}
.security-note .ui-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 1px;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 18px 34px;
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
}
.form-actions a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
.form-actions button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}
.form-actions button:hover {
  background: var(--green-dark);
}
.form-actions .ui-icon {
  width: 14px;
  height: 14px;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--border);
}
.facts-grid > div {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: var(--surface);
}
.facts-grid span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}
.facts-grid strong {
  font-size: 12px;
}
.accompaniment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
}
.accompaniment-grid > div {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 17px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.accompaniment-grid > div:nth-child(3n) {
  border-right: 0;
}
.accompaniment-grid > div:nth-last-child(-n + 3) {
  border-bottom: 0;
}
.accompaniment-grid .accompaniment-wide {
  grid-column: 1 / -1;
  border-right: 0;
  border-top: 1px solid var(--border);
  border-bottom: 0;
}
.accompaniment-grid span:first-child {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.accompaniment-grid strong {
  overflow-wrap: anywhere;
  font-size: 11px;
}
.auth-facts {
  margin-bottom: 12px;
}
.session-list {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
}
.session-row {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) minmax(150px, auto) minmax(
      130px,
      auto
    );
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.session-row:last-child {
  border-bottom: 0;
}
.device-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-sage);
  color: var(--green);
}
.device-icon .ui-icon {
  width: 18px;
  height: 18px;
}
.session-main,
.session-meta,
.session-ip {
  display: grid;
  gap: 2px;
}
.session-main strong,
.session-ip strong {
  font-size: 11px;
}
.session-main span,
.session-meta small,
.session-ip span {
  color: var(--muted);
  font-size: 9px;
}
.timeline {
  padding: 5px 20px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
}
.timeline-event {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-event:last-child {
  border-bottom: 0;
}
.timeline-event::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 28px;
  bottom: -7px;
  width: 1px;
  background: var(--border);
}
.timeline-event:last-child::before {
  display: none;
}
.timeline-dot {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  margin-top: 4px;
  border: 3px solid #d7e5db;
  border-radius: 50%;
  background: var(--green);
}
.timeline-dot.auth {
  border-color: #e8e1ef;
  background: #7b668b;
}
.timeline-dot.plan,
.timeline-dot.checkin {
  border-color: #f0ded4;
  background: var(--warm);
}
.timeline-event strong {
  font-size: 11px;
}
.timeline-event p,
.timeline-event time {
  color: var(--muted);
  font-size: 9px;
}
.journey-block {
  margin-top: 11px;
  padding: 19px;
}
.journey-block:first-of-type {
  margin-top: 0;
}
.journey-head {
  padding-bottom: 12px;
}
.result-card {
  display: grid;
  gap: 5px;
  margin: 5px 0 14px;
  padding: 14px;
  border-radius: 10px;
  background: var(--surface-sage);
}
.result-card span,
.key-values span {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}
.result-card p {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--display);
  font-style: italic;
}
details {
  margin-top: 7px;
}
summary {
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.qa {
  display: grid;
  gap: 11px;
  margin-top: 14px;
}
.qa-item {
  padding-bottom: 11px;
  border-bottom: 1px solid var(--border);
}
.qa-item:last-child {
  border: 0;
}
.qa-q {
  color: var(--muted);
  font-size: 9px;
}
.qa-a {
  margin-top: 3px;
  font-size: 11px;
}
.key-values {
  display: grid;
  gap: 11px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.key-values p {
  margin-top: 3px;
  font-size: 11px;
}
.quote {
  font-family: var(--display);
  font-style: italic;
}
.plan-list > div {
  padding: 13px 0;
  border-top: 1px solid var(--border);
}
.plan-list > div > span {
  margin-right: 7px;
  color: var(--muted);
  font-size: 9px;
}
.plan-sentence {
  font: 450 18px / 1.35 var(--display);
}
.wrap {
  white-space: normal;
}

.signin-shell {
  min-height: 100vh;
  display: grid;
  place-content: center;
  padding: 30px;
  background: radial-gradient(
    circle at 50% 16%,
    #faf8f3 0,
    var(--cream) 45%,
    #ece7de 100%
  );
}
.signin-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  margin-bottom: 23px;
}
.brand-mark.large {
  width: 48px;
  height: 48px;
}
.signin-brand h1 {
  font-size: 34px;
}
.signin-brand p {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.signin-card {
  width: min(410px, calc(100vw - 40px));
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.signin-card h2 {
  font-size: 28px;
}
.signin-card > .muted {
  margin-top: 7px;
  font-size: 12px;
}
.access-denied-card {
  text-align: left;
}
.access-denied-card h2 {
  max-width: 320px;
}
.access-denied-card strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}
.access-denied-note {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--border-green);
  border-radius: 10px;
  background: var(--surface-sage);
  color: var(--green-dark);
  font-size: 10px;
  line-height: 1.6;
}
.signin-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  min-height: 44px;
  margin-top: 24px;
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}
.signin-google:hover {
  border-color: var(--sage);
  background: var(--surface-soft);
}
.signin-google-mark {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: #4285f4;
  font: 800 12px / 1 system-ui, sans-serif;
}
.signin-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}
.signin-divider::before,
.signin-divider::after {
  height: 1px;
  flex: 1;
  background: var(--border);
  content: "";
}
.signin-card form {
  display: grid;
  gap: 15px;
  margin-top: 20px;
}
.signin-card label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 750;
}
.signin-card input {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 9px;
  outline: 0;
  background: var(--surface-soft);
  color: var(--ink);
}
.signin-card input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgb(38 115 90 / 10%);
}
.signin-card button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3px;
  padding: 13px 16px;
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}
.signin-card button:hover {
  background: var(--green-dark);
}
.signin-card button .ui-icon {
  width: 15px;
  height: 15px;
}
.error {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--warm-soft);
  color: #914b31;
  font-size: 10px;
}
.signin-notice {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface-sage);
  color: var(--green-dark);
  font-size: 10px;
}
.signin-foot {
  margin-top: 18px;
  color: #879492;
  font-size: 9px;
  text-align: center;
}

@media (max-width: 1100px) {
  .simulator-layout {
    grid-template-columns: 1fr;
  }
  .simulation-inspector {
    grid-template-columns: 1fr 1fr;
  }
  .answer-inspector {
    grid-column: 1 / -1;
  }
  .form-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .flow-map,
  .branch-map {
    grid-template-columns: 1fr 1fr;
  }
  .flow-map article:last-child {
    grid-column: 1 / -1;
  }
  .users-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .users-table,
  .users-table tbody {
    display: block;
  }
  .users-table thead {
    display: none;
  }
  .users-table tbody {
    display: grid;
    gap: 12px;
  }
  .users-table tbody tr {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface);
    box-shadow: 0 2px 10px rgb(30 62 61 / 3%);
  }
  .users-table tbody tr:hover {
    background: var(--surface);
  }
  .users-table td {
    display: grid;
    gap: 3px;
    padding: 9px 0;
    border: 0;
    white-space: normal;
  }
  .users-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
  }
  .users-table td:first-child {
    grid-column: 1 / -1;
    display: block;
    padding: 0 44px 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .users-table td:first-child::before,
  .users-table .row-action::before {
    display: none;
  }
  .users-table .row-action {
    position: absolute;
    top: 18px;
    right: 14px;
    display: block;
    padding: 0;
  }
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .analytics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .checkin-panel {
    grid-column: 1 / -1;
  }
  .system-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .funnel {
    grid-template-columns: repeat(3, 1fr);
  }
  .user-filters {
    grid-template-columns: 1fr 1fr auto;
  }
  .user-filters > a {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .sidebar {
    display: none;
  }
  .main {
    margin-left: 0;
    padding: 0 18px 55px;
  }
  .mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 -18px 34px;
    padding: 14px 18px;
    background: var(--sidebar);
    color: #fff;
  }
  .mobile-bar .brand-mark {
    width: 29px;
    height: 29px;
  }
  .mobile-bar .brand strong {
    font-size: 19px;
  }
  .mobile-account-menu {
    position: relative;
  }
  .mobile-account-menu > summary {
    cursor: pointer;
    list-style: none;
  }
  .mobile-account-menu > summary:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    border-radius: 50%;
  }
  .mobile-account-menu .avatar {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }
  .mobile-account-menu.current .avatar {
    box-shadow: 0 0 0 2px var(--sidebar), 0 0 0 3px #d9e5db;
  }
  .mobile-account-menu .account-popover {
    top: calc(100% + 8px);
    right: 0;
    bottom: auto;
    left: auto;
    width: 220px;
  }
  .mobile-account-nav {
    display: grid;
    margin-bottom: 4px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border);
  }
  .mobile-account-nav a.active {
    background: var(--surface-sage);
    color: var(--green-dark);
  }
  .page-head,
  .detail-head,
  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-actions {
    flex-wrap: wrap;
  }
  .simulation-inspector {
    grid-template-columns: 1fr;
  }
  .simulation-setup-form {
    padding: 22px;
  }
  .simulation-persona {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .setup-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .setup-actions .primary-link {
    width: 100%;
  }
  .answer-inspector {
    grid-column: auto;
  }
  .detail-pills {
    justify-content: flex-start;
  }
  .read-only-badge {
    align-self: flex-start;
  }
  .flow-map,
  .branch-map,
  .catalog-columns {
    grid-template-columns: 1fr;
  }
  .flow-map article:last-child {
    grid-column: auto;
  }
  .flow-map article > span {
    margin-bottom: 14px;
  }
  .flow-summary {
    margin-left: 0;
  }
  .form-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 25px;
  }
  .page-head {
    margin-bottom: 38px;
  }
  .section-title {
    gap: 7px;
  }
  .section-title > p {
    text-align: left;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metric-card {
    min-height: 150px;
  }
  .context-strip {
    align-items: flex-start;
    flex-direction: column;
  }
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  .checkin-panel {
    grid-column: auto;
  }
  .facts-grid,
  .system-grid {
    grid-template-columns: 1fr 1fr;
  }
  .session-row {
    grid-template-columns: auto 1fr;
  }
  .session-meta,
  .session-ip {
    grid-column: 2;
  }
  .timeline-event {
    grid-template-columns: 18px 1fr;
  }
  .timeline-event time {
    grid-column: 2;
  }
  .attention-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .attention-copy {
    grid-column: 2;
  }
  .attention-row > .ui-icon {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
  .user-filters {
    grid-template-columns: 1fr 1fr;
  }
  .user-filters button {
    grid-column: 1 / -1;
  }
  .accompaniment-grid {
    grid-template-columns: 1fr 1fr;
  }
  .accompaniment-grid > div,
  .accompaniment-grid > div:nth-child(3n) {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .accompaniment-grid > div:nth-child(2n) {
    border-right: 0;
  }
  .accompaniment-grid .accompaniment-wide {
    border-right: 0;
    border-bottom: 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.25rem;
  }
  .metric-grid,
  .facts-grid,
  .system-grid,
  .readonly-grid,
  .flow-count-grid,
  .checkin-paths {
    grid-template-columns: 1fr;
  }
  .user-filters,
  .accompaniment-grid {
    grid-template-columns: 1fr;
  }
  .team-invite-form,
  .copy-field {
    grid-template-columns: 1fr;
  }
  .team-invite-form button,
  .copy-field button {
    width: 100%;
  }
  .invitation-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .invitation-row form {
    grid-column: 1 / -1;
  }
  .invitation-row form button {
    padding-left: 0;
  }
  .user-filters button,
  .user-filters > a,
  .accompaniment-grid .accompaniment-wide {
    grid-column: auto;
  }
  .accompaniment-grid > div,
  .accompaniment-grid > div:nth-child(2n),
  .accompaniment-grid > div:nth-child(3n) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .accompaniment-grid .accompaniment-wide {
    border-bottom: 0;
  }
  .flow-detail-card > header {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .flow-detail-card .version-chip {
    grid-column: 2;
    justify-self: start;
  }
  .future-flow-note {
    grid-template-columns: 1fr;
  }
  .phone-preview {
    padding: 0;
    border: 0;
    background: transparent;
  }
  .phone-frame {
    height: clamp(520px, 72dvh, 680px);
    border-width: 4px;
    border-radius: 22px;
  }
  .phone-content {
    padding: 0;
  }
  .simulator-scroll {
    padding: 24px 12px 20px 17px;
  }
  .phone-actions {
    min-height: 67px;
    padding: 11px 17px 14px;
  }
  .scale-options {
    gap: 2px;
  }
  .scale-options span {
    border-radius: 5px;
    font-size: 8px;
  }
  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
    padding: 18px 25px;
    text-align: center;
  }
  .form-actions button {
    justify-content: center;
  }
  .metric-card {
    min-height: 135px;
  }
  .users-table tbody tr {
    grid-template-columns: 1fr;
  }
  .funnel {
    grid-template-columns: 1fr 1fr;
  }
  .product-empty {
    align-items: flex-start;
  }
  .detail-identity {
    align-items: flex-start;
  }
  .avatar.hero {
    width: 50px;
    height: 50px;
  }
  .signin-card {
    padding: 25px;
  }
}
