* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
}

:root {
  --paper: #fff9f0;
  --sand: #f3ede4;
  --line: #d6c2c4;
  --line-soft: #eadde0;
  --ink: #1d1b16;
  --ink-mid: #514345;
  --muted: #6f6260;
  --soft: #837375;
  --clay: #864e5a;
  --clay-dark: #6b3743;
  --clay-soft: #ffd9df;
  --sage: #37647b;
  --sage-soft: #c2e8ff;
  --gold: #6b5d35;
  --gold-soft: #f5e1ae;
  --pink: #ffb7c5;
  --blue: #a4d0eb;
  --yellow: #f2deab;
  --cream-card: #fffdf8;
  --card-shadow: 0 10px 0 rgba(134, 78, 90, .05), 0 18px 38px rgba(81, 67, 69, .10);
}

.rukun-wp-app {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--sand);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

html:has(.rukun-wp-app) {
  margin-top: 0 !important;
}

body:has(.rukun-wp-app) {
  padding-top: 0 !important;
}

body:has(.rukun-wp-app) #wpadminbar {
  display: none !important;
}

button {
  border: 0;
  font: inherit;
}

input {
  font: inherit;
}

.msr {
  display: inline-block;
  font-family: "Material Symbols Rounded";
  font-size: 21px;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.sym {
  display: inline-block;
  font-family: "Segoe UI Symbol", "Arial Unicode MS", system-ui, sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.fill {
  font-variation-settings: "FILL" 1;
}

.stage {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #94897c;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  color: #fff;
  background: var(--clay);
  display: grid;
  place-items: center;
}

.brand-mark .msr,
.brand-mark .sym {
  font-size: 15px;
}

.phone {
  width: 390px;
  height: 858px;
  flex: none;
  border-radius: 46px;
  background: #15110d;
  padding: 11px;
  box-shadow: 0 40px 90px rgba(43, 37, 32, .34), 0 8px 24px rgba(43, 37, 32, .18);
}

.screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}

.status-bar {
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 28px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  z-index: 5;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-icons .msr,
.status-icons .sym {
  font-size: 17px;
}

.app-root {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.scroll {
  min-height: 0;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}

.scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.welcome {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px 22px 30px;
}

.hero-card {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 28px;
  padding: 38px 28px;
  background: radial-gradient(circle at 82% 18%, rgba(182, 106, 60, .18), transparent 34%), linear-gradient(150deg, #faf7f2, #efe4d8);
  border: 1px solid rgba(182, 106, 60, .22);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.garwa-watermark {
  position: absolute;
  top: 26px;
  right: 18px;
  color: rgba(31, 31, 31, .045);
  font-family: "Lora", Georgia, serif;
  font-size: 94px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: .78;
}

.garwa-seal {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  border: 2px solid var(--ink);
  border-right-color: transparent;
  border-radius: 50%;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: "Lora", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: .86;
  letter-spacing: .03em;
}

.garwa-seal span {
  display: block;
}

.garwa-seal i {
  position: absolute;
  right: -8px;
  top: 30px;
  width: 24px;
  height: 14px;
}

.garwa-seal i::before,
.garwa-seal i::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border: 3px solid var(--clay);
  border-radius: 50%;
  transform: rotate(45deg);
}

.garwa-seal i::before {
  left: 0;
}

.garwa-seal i::after {
  right: 0;
}

.hero-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.hero-icon .msr,
.hero-icon .sym {
  font-size: 30px;
}

.serif {
  font-family: "Lora", serif;
}

.hero-title {
  color: var(--ink);
  font-family: "Lora", serif;
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .06em;
}

.hero-copy {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.ritual-card {
  overflow: hidden;
}

.ritual-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--clay);
}

.ritual-head > div {
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}

.ritual-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f2e1d7;
}

.ritual-reminder,
.ritual-swap {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

.ritual-reminder span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ritual-swap {
  min-height: 38px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  justify-content: center;
  white-space: nowrap;
}

.shopping-list {
  padding: 4px 16px;
}

.shopping-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid #f4efe6;
}

.shopping-row:last-child {
  border-bottom: 0;
}

.shopping-check {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--clay);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.shopping-row b,
.shopping-row span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shopping-row b {
  color: var(--ink);
  font-size: 14px;
}

.shopping-row span {
  margin-top: 2px;
  color: var(--soft);
  font-size: 11.5px;
  font-weight: 700;
}

.shopping-row.done b {
  color: var(--soft);
  text-decoration: line-through;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 16px;
  padding: 13px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: transform .12s ease, background .15s ease;
}

.btn:active,
.tap:active {
  transform: scale(.985);
}

.btn-dark {
  margin-top: 22px;
  color: #fff;
  background: var(--ink);
}

.btn-primary {
  color: #fff;
  background: var(--clay);
}

.btn-outline {
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
}

.link-row {
  margin-top: 11px;
  padding: 6px;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.link-row span {
  color: var(--clay);
}

.page-pad {
  padding: 6px 24px 30px;
}

.back {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: #f2ece2;
  color: var(--ink-mid);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.title {
  color: var(--ink);
  font-family: "Lora", serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.2;
}

.sub {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.field-stack {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 26px;
}

.label {
  margin-bottom: 7px;
  color: var(--ink-mid);
  font-size: 12.5px;
  font-weight: 700;
}

.field {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px 15px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}

.field .msr,
.field .sym {
  color: #b5aa9b;
  font-size: 20px;
}

.input-field {
  padding: 0 15px;
  min-height: 51px;
}

.input-field input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}

.input-field input::placeholder {
  color: #b5aa9b;
}

.field-icon-btn {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 9px;
  background: transparent;
  color: #b5aa9b;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.divider span {
  color: #b5aa9b;
  font-size: 12px;
  font-weight: 600;
}

.onboarding {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 4px 22px 24px;
}

.onb-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.progress {
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 4px;
  background: #f2ece2;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--clay);
  transition: width .3s ease;
}

.skip {
  color: var(--soft);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.option-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 22px;
}

.option {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.option.active {
  border-color: var(--clay);
  background: var(--clay-soft);
}

.option-icon {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 13px;
  background: #f2ece2;
  color: var(--muted);
  display: grid;
  place-items: center;
}

.option.active .option-icon {
  background: var(--clay);
  color: #fff;
}

.option-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.option-sub {
  margin-top: 2px;
  color: var(--soft);
  font-size: 12.5px;
  font-weight: 500;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.chip {
  border: 2px solid var(--line);
  border-radius: 30px;
  background: #fff;
  color: var(--ink-mid);
  cursor: pointer;
  padding: 11px 17px;
  font-size: 14px;
  font-weight: 700;
}

.chip.active {
  border-color: var(--clay);
  background: var(--clay);
  color: #fff;
}

.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  border: 1px solid #efe3c9;
  border-radius: 16px;
  background: #f8f2e4;
  padding: 15px;
  color: #8a6a2e;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.invite-banner {
  margin-top: 14px;
  margin-bottom: 14px;
  border-color: #dcebe2;
  background: #eef5f0;
  color: #3f6b55;
}

.invite-box {
  align-items: flex-start;
}

.invite-link-input {
  width: 100%;
  margin-top: 9px;
  border: 1px solid #dcebe2;
  border-radius: 10px;
  background: #fff;
  color: var(--ink-mid);
  padding: 9px 10px;
  font-size: 11.5px;
  font-weight: 700;
}

.mini-action {
  min-width: 72px;
  border-radius: 12px;
  background: var(--sage);
  color: #fff;
  cursor: pointer;
  padding: 9px 11px;
  font-size: 12px;
  font-weight: 800;
}

.income-card {
  margin-top: 24px;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
  padding: 24px 22px;
  text-align: center;
}

.income-card .amount {
  margin-top: 6px;
  font-size: 36px;
  font-weight: 800;
}

.round {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.pill-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.pill {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-mid);
  cursor: pointer;
  padding: 11px 4px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
}

.pill.active {
  border-color: var(--clay);
  background: var(--clay);
  color: #fff;
}

.section-label {
  margin: 22px 2px 11px;
  color: var(--ink-mid);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .02em;
}

.app-scroll-pad {
  padding: 6px 18px 110px;
}

.app-head {
  padding: 10px 4px 18px;
}

.eyebrow {
  color: #b0a597;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stage-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  background: var(--clay-soft);
  color: var(--clay-dark);
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
}

.round-lite {
  width: 34px;
  height: 34px;
  flex: none;
  border: 0;
  border-radius: 11px;
  background: #f2ece2;
  color: var(--ink-mid);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.round-lite .sym {
  font-size: 16px;
}

.greeting {
  margin-top: 11px;
  color: var(--ink);
  font-family: "Lora", serif;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.2;
}

.checkline {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}

.card {
  margin-bottom: 14px;
  border-radius: 22px;
  background: #fff;
  padding: 20px 18px;
  box-shadow: var(--card-shadow);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.icon-box {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  display: grid;
  place-items: center;
}

.card-title {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.card-sub {
  margin-top: 1px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 500;
}

.mood-row,
.quick-row {
  display: flex;
  gap: 8px;
}

.mood {
  flex: 1;
  height: 50px;
  border: 2px solid transparent;
  border-radius: 14px;
  background: var(--paper);
  color: #bcb1a2;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.mood.active {
  border-color: var(--clay);
  background: var(--clay-soft);
  color: var(--clay);
}

.note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  border-radius: 13px;
  background: var(--paper);
  padding: 11px 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.badge {
  border-radius: 20px;
  background: var(--sage-soft);
  color: var(--sage);
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 700;
}

.task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 4px;
  cursor: pointer;
}

.task .check {
  color: #cfc4b4;
  font-size: 24px;
}

.task.done .check {
  color: var(--sage);
  font-variation-settings: "FILL" 1;
}

.task-title {
  flex: 1;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
}

.task-title b {
  display: block;
  font-weight: 700;
}

.task-title small {
  display: block;
  margin-top: 3px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
}

.task.done .task-title {
  color: var(--soft);
  text-decoration: line-through;
}

.avatar {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 700;
}

.icon-mini {
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-mini .sym {
  font-size: 15px;
}

.icon-mini.danger {
  color: var(--clay);
  border-color: #f0c9bd;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}

.bar {
  height: 9px;
  flex: 1;
  overflow: hidden;
  border-radius: 6px;
  background: #f2ece2;
}

.bar span {
  display: block;
  height: 100%;
  border-radius: 6px;
  transition: width .4s;
}

.big-amount {
  color: var(--ink);
  font-size: 27px;
  font-weight: 800;
}

.quick {
  flex: 1;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink-mid);
  cursor: pointer;
  padding: 11px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
}

.menu-tint {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 16px;
  padding: 15px;
}

.meal-card {
  min-height: 132px;
}

.meal-visual {
  position: relative;
  width: 92px;
  height: 92px;
  flex: none;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 58%, #fff8eb 0 23px, transparent 24px),
    radial-gradient(circle at 50% 58%, var(--meal) 0 35px, transparent 36px),
    linear-gradient(145deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}

.meal-visual .plate {
  position: absolute;
  left: 24px;
  top: 47px;
  width: 44px;
  height: 18px;
  border-radius: 50%;
  background: #f2d3ba;
  box-shadow: 0 0 0 7px rgba(194, 103, 74, .16);
}

.meal-visual .steam {
  position: absolute;
  top: 21px;
  width: 12px;
  height: 26px;
  border: 3px solid rgba(43, 37, 32, .35);
  border-right: 0;
  border-bottom: 0;
  border-radius: 15px 0 0 0;
}

.meal-visual .s1 {
  left: 31px;
}

.meal-visual .s2 {
  left: 49px;
  transform: scale(.85);
}

.meal-visual .garnish {
  position: absolute;
  right: 24px;
  bottom: 25px;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: var(--sage);
  transform: rotate(-28deg);
}

.menu-tint .msr,
.menu-tint .sym {
  font-size: 32px;
}

.soft-card {
  margin-bottom: 14px;
  border: 1px solid #f2e1d7;
  border-radius: 22px;
  background: #fbf3ee;
  padding: 20px 18px;
}

.quote {
  color: #5a4a40;
  font-family: "Lora", serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
}

.agenda-line {
  display: flex;
  align-items: center;
  gap: 13px;
}

.agenda-tap {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.agenda-tap:active {
  opacity: .72;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 5px;
}

.segmented button {
  min-height: 36px;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.segmented button.active {
  background: var(--clay);
  color: #fff;
}

.dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
}

.tag {
  border-radius: 20px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
}

.empty-state {
  padding: 18px 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-mid);
}

.empty-state .empty-icon {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: var(--sage-soft);
  color: var(--sage);
  display: grid;
  place-items: center;
}

.empty-state b {
  color: var(--ink);
  font-size: 14px;
}

.empty-state span {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
}

.empty-state .btn {
  margin-top: 4px;
}

.checkin-history {
  margin-top: 15px;
  border-top: 1px solid #f0eadf;
  padding-top: 13px;
}

.checkin-history b {
  color: var(--ink-mid);
  font-size: 12px;
}

.checkin-history span {
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
}

.mood-days {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.mood-day {
  min-width: 0;
  border-radius: 13px;
  background: var(--paper);
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.mood-day .sym {
  color: var(--clay);
  font-size: 18px;
}

.mood-day small {
  max-width: 100%;
  overflow: hidden;
  color: var(--soft);
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.budget-row {
  position: relative;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.budget-more {
  position: absolute;
  right: 0;
  top: 16px;
  color: var(--soft);
}

.field-label {
  display: block;
  margin: 13px 0 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.text-field {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: 0;
  font-size: 14px;
  font-weight: 700;
}

.text-field:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(194, 103, 74, .12);
}

.select-wrap select {
  width: 100%;
  min-height: 47px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
  font-weight: 800;
}

.money-field {
  color: var(--clay);
  font-size: 22px;
  font-weight: 800;
}

.area-field {
  min-height: 76px;
  resize: vertical;
}

.inline-form {
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 8px;
}

.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.seg-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.task-agenda-toggle {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: #fff;
}

.agenda-detail-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.detail-item {
  border: 1px solid var(--line-soft);
  border-radius: 15px;
  background: #fff;
  padding: 12px;
}

.detail-item span {
  display: block;
  color: var(--soft);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 5px;
}

.detail-item b {
  color: var(--ink);
  font-size: 13px;
}

.btn.danger {
  border-color: #f0c9bd;
  color: var(--clay);
}

.bottom-nav {
  flex: none;
  border-top: 1px solid #eee7db;
  background: rgba(251, 247, 241, .94);
  backdrop-filter: blur(12px);
  padding: 9px 8px 10px;
  display: flex;
}

.nav-item {
  flex: 1;
  color: #b5aa9b;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  font-size: 10.5px;
  font-weight: 600;
}

.nav-item.active {
  color: var(--clay);
  font-weight: 700;
}

.nav-item.active .msr {
  font-variation-settings: "FILL" 1;
}

.dark-panel {
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
  padding: 22px 20px;
}

.chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 9px;
  height: 130px;
}

.chart-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.chart-bars {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
}

.vbar {
  width: 11px;
  min-height: 4px;
  border-radius: 4px 4px 0 0;
}

.donut {
  position: relative;
  width: 118px;
  height: 118px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(#c2674a 0deg 144deg, #5e9379 144deg 250deg, #d89a6a 250deg 294deg, #b98d49 294deg 342deg, #8fb3a0 342deg 360deg);
}

.donut-core {
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.list-card {
  margin-bottom: 18px;
  border-radius: 20px;
  background: #fff;
  padding: 6px 18px;
  box-shadow: var(--card-shadow);
}

.row-border {
  border-bottom: 1px solid #f4efe6;
  padding: 14px 0;
}

.goal {
  border-radius: 18px;
  background: #fff;
  padding: 16px 17px;
  box-shadow: var(--card-shadow);
}

.library-item {
  width: 100%;
  color: inherit;
  cursor: pointer;
}

.library-item:active {
  transform: scale(.99);
}

.article-sheet {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #fff;
  padding: 17px;
}

.article-sheet p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.article-steps {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid #f4efe6;
}

.article-steps div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.article-steps b {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 9px;
  background: var(--clay-soft);
  color: var(--clay);
  display: grid;
  place-items: center;
  font-size: 12px;
}

.article-steps span {
  color: var(--ink-mid);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.timeline-panel {
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--card-shadow);
}

.timeline-head {
  align-items: flex-start;
  margin-bottom: 14px;
}

.timeline-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.timeline-composer {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--paper);
  padding: 10px;
  margin-bottom: 14px;
}

.timeline-composer > button:not(.mini-action) {
  min-width: 0;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: var(--soft);
  padding: 11px 12px;
  text-align: left;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-item {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.timeline-main {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  text-align: left;
  cursor: pointer;
}

.timeline-icon {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 14px;
  background: var(--clay-soft);
  color: var(--clay);
  display: grid;
  place-items: center;
}

.timeline-item.sage .timeline-icon {
  background: var(--sage-soft);
  color: var(--sage);
}

.timeline-item.gold .timeline-icon {
  background: var(--gold-soft);
  color: var(--gold);
}

.timeline-content {
  min-width: 0;
  flex: 1;
}

.timeline-content b,
.timeline-content small,
.timeline-content em {
  display: block;
}

.timeline-content b {
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.35;
}

.timeline-content small {
  margin-top: 3px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 800;
}

.timeline-content em {
  margin-top: 7px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.timeline-actions {
  display: flex;
  gap: 7px;
  padding: 0 14px 14px 63px;
  flex-wrap: wrap;
}

.timeline-actions button {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-mid);
  padding: 7px 10px;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.brand-tap-card {
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f8f2ea);
  border: 1px solid var(--line-soft);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--card-shadow);
}

.brand-tap-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: #8f5f78;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
}

.brand-tap-head b,
.brand-tap-head span {
  display: block;
}

.brand-tap-head b {
  color: var(--ink);
  font-size: 14px;
}

.brand-tap-head span {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
}

.brand-tap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.brand-tap-item {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: #fff;
  padding: 13px;
  text-align: left;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 3px 10px;
  cursor: pointer;
}

.brand-tap-item > span {
  width: 34px;
  height: 34px;
  grid-row: span 3;
  border-radius: 12px;
  background: #f3e8ef;
  color: #8f5f78;
  display: grid;
  place-items: center;
}

.brand-tap-item b,
.brand-tap-item small,
.brand-tap-item em {
  display: block;
}

.brand-tap-item b {
  color: var(--ink);
  font-size: 12.5px;
}

.brand-tap-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.brand-tap-item em {
  margin-top: 4px;
  color: #8f5f78;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--card-shadow);
}

.profile-bio {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
}

.partner-status-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 4px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: #fff;
  padding: 14px;
  box-shadow: var(--card-shadow);
}

.invite-link-input.compact {
  margin-top: 8px;
  min-height: 34px;
  font-size: 11px;
}

.profile-avatar {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 19px;
  background: linear-gradient(145deg, var(--clay), var(--clay-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
}

.couple-profile-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 12px 0 4px;
}

.profile-snapshot {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: #fff;
  padding: 14px;
  box-shadow: var(--card-shadow);
  cursor: pointer;
}

.profile-snapshot-top {
  display: flex;
  align-items: center;
  gap: 11px;
}

.profile-snapshot-top b {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.profile-snapshot-top span,
.profile-snapshot p {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.profile-snapshot p {
  margin: 10px 0 0;
  line-height: 1.45;
}

.profile-mini-avatar {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 14px;
  background: var(--clay);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.profile-mini-avatar.sage {
  background: var(--sage);
}

.profile-facts {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.profile-facts div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-mid);
  font-size: 11.5px;
  font-weight: 700;
}

.profile-facts .material-symbols-rounded {
  color: var(--clay);
  font-size: 18px;
}

.mini-pill {
  border-radius: 20px;
  background: var(--clay-soft);
  color: var(--clay-dark);
  padding: 5px 9px;
  font-size: 10.5px;
  font-weight: 800;
}

.mini-pill.sage {
  background: var(--sage-soft);
  color: #3f6b55;
}

.mini-pill.gold {
  background: var(--gold-soft);
  color: #7f5d25;
}

.profile-sheet-section {
  margin: 18px 0 10px;
  color: var(--ink-mid);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.settings-card {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.setting-row {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid #f4efe6;
  cursor: pointer;
}

.setting-row:last-child {
  border-bottom: 0;
}

.setting-icon {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 12px;
  background: #f2ece2;
  color: var(--muted);
  display: grid;
  place-items: center;
}

.setting-title {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 800;
}

.setting-sub {
  overflow: hidden;
  margin-top: 2px;
  color: var(--soft);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.switch {
  position: relative;
  width: 45px;
  height: 26px;
  flex: none;
  border: 0;
  border-radius: 20px;
  background: #ddd4c8;
  cursor: pointer;
  padding: 3px;
}

.switch span {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(43, 37, 32, .2);
  transition: transform .16s ease;
}

.switch.on {
  background: var(--clay);
}

.switch.on span {
  transform: translateX(19px);
}

.week-load {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  height: 110px;
  padding: 0 4px;
}

.week-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.stack-bars {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
}

.week-strip {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 6px;
}

.date-cell {
  flex: 1;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  color: var(--soft);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.date-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ink-mid);
  display: grid;
  place-items: center;
  font-size: 14px;
}

.date-cell.active {
  color: var(--clay);
}

.date-cell.active .date-num {
  color: #fff;
  background: var(--clay);
}

.date-cell.today:not(.active) .date-num {
  box-shadow: inset 0 0 0 2px var(--clay-soft);
}

.date-cell i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}

.calendar-head b {
  color: var(--ink-mid);
  font-size: 13px;
  text-align: center;
}

.round-lite.mini {
  width: 38px;
  height: 38px;
  min-height: 38px;
  border-radius: 13px;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 18px;
}

.month-day {
  min-height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #fff;
  color: var(--ink-mid);
  display: grid;
  place-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.month-day.muted {
  color: var(--soft);
  background: rgba(255, 255, 255, .55);
}

.month-day.active {
  color: #fff;
  border-color: var(--clay);
  background: var(--clay);
}

.month-day.today:not(.active) {
  border-color: #efcfc4;
}

.month-day i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.prayer-row {
  display: flex;
  justify-content: space-between;
}

.prayer {
  flex: 1;
  border-radius: 12px;
  padding: 9px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #b0995f;
}

.prayer.active {
  background: #efe3c9;
  color: #8a6a2e;
}

.sheet-layer {
  position: absolute;
  inset: 0;
  z-index: 20;
}

.scrim {
  position: absolute;
  inset: 0;
  background: rgba(21, 17, 13, .42);
}

.sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: calc(100% - 28px);
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 26px 26px 36px 36px;
  background: var(--paper);
  padding: 10px 22px 30px;
  animation: sheetin .26s cubic-bezier(.22, 1, .36, 1);
  scrollbar-width: none;
}

.sheet::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.grab {
  width: 42px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 3px;
  background: #e2dacd;
}

.sheet-option {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  padding: 17px;
  margin-bottom: 11px;
}

.camera {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 20px;
  background: #1b1813;
  display: flex;
  align-items: center;
  justify-content: center;
}

.receipt {
  width: 150px;
  border-radius: 6px;
  background: #f4efe6;
  padding: 16px 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .4);
}

.receipt div {
  height: 6px;
  margin-bottom: 7px;
  border-radius: 3px;
  background: #d8cfc0;
}

.corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: #fff;
  border-style: solid;
}

.c1 { top: 14px; left: 14px; border-width: 3px 0 0 3px; border-radius: 5px 0 0; }
.c2 { top: 14px; right: 14px; border-width: 3px 3px 0 0; border-radius: 0 5px 0 0; }
.c3 { bottom: 14px; left: 14px; border-width: 0 0 3px 3px; border-radius: 0 0 0 5px; }
.c4 { right: 14px; bottom: 14px; border-width: 0 3px 3px 0; border-radius: 0 0 5px; }

.shutter {
  width: 66px;
  height: 66px;
  margin: 18px auto 0;
  border: 4px solid var(--clay);
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.shutter span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clay);
}

.scan-line {
  position: absolute;
  right: 6%;
  left: 6%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #7fd0b6, transparent);
  box-shadow: 0 0 14px var(--sage);
  animation: scan 1.1s ease-in-out infinite alternate;
}

.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid var(--line);
  border-top-color: var(--clay);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

.toast {
  position: absolute;
  bottom: 96px;
  left: 50%;
  z-index: 30;
  transform: translateX(-50%);
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  animation: toastin .3s ease;
  font-size: 13px;
  font-weight: 700;
}

.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.muted {
  color: var(--soft);
}

.tiny {
  font-size: 12px;
  font-weight: 600;
}

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

@keyframes scan {
  from { top: 8%; }
  to { top: 88%; }
}

@keyframes sheetin {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes toastin {
  from { opacity: 0; transform: translate(-50%, 14px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes sheetinDesktop {
  from { transform: translate(-50%, 100%); }
  to { transform: translate(-50%, 0); }
}

@media (min-width: 900px) {
  .stage {
    justify-content: flex-start;
    padding: 28px 24px;
  }

  .phone {
    width: min(920px, calc(100vw - 48px));
    height: min(860px, calc(100vh - 92px));
    border-radius: 30px;
    background: transparent;
    padding: 0;
    box-shadow: 0 28px 80px rgba(43, 37, 32, .18), 0 1px 0 rgba(255, 255, 255, .7) inset;
  }

  .screen {
    border: 1px solid rgba(236, 229, 219, .95);
    border-radius: 30px;
    box-shadow: 0 18px 45px rgba(43, 37, 32, .08);
  }

  .welcome,
  .page-pad,
  .onboarding {
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .app-scroll-pad {
    width: min(100%, 720px);
    margin: 0 auto;
    padding-left: 26px;
    padding-right: 26px;
  }

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

  .bottom-nav {
    width: min(100%, 720px);
    margin: 0 auto;
    border-right: 1px solid #eee7db;
    border-left: 1px solid #eee7db;
    border-radius: 22px 22px 0 0;
  }

  .sheet {
    right: 50%;
    left: 50%;
    width: min(520px, calc(100% - 44px));
    transform: translateX(-50%);
    border-radius: 26px;
    animation: sheetinDesktop .26s cubic-bezier(.22, 1, .36, 1);
  }

  .toast {
    bottom: 38px;
  }
}

@media (max-width: 480px) {
  .stage {
    padding: 0;
    gap: 0;
  }

  .brand {
    display: none;
  }

  .phone {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }

  .screen {
    border-radius: 0;
  }

  .hero-copy {
    max-width: 280px;
  }
}

@media (max-width: 600px) {
  .stage {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .phone {
    width: min(390px, 100vw);
    margin: 0;
  }
}

/* Stitch-inspired GARWA Kawaii visual layer */
body {
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 183, 197, .22) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 22%, rgba(164, 208, 235, .18) 0 1px, transparent 2px),
    var(--sand);
  background-size: 28px 28px, 34px 34px, auto;
  color: var(--ink);
  font-family: "Quicksand", "Plus Jakarta Sans", system-ui, sans-serif;
}

.rukun-wp-app {
  background: linear-gradient(180deg, rgba(255, 249, 240, .97), rgba(243, 237, 228, .97));
  font-family: "Quicksand", "Plus Jakarta Sans", system-ui, sans-serif;
}

.stage {
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 217, 223, .45), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(194, 232, 255, .36), transparent 25%),
    linear-gradient(180deg, #fff9f0, #f3ede4);
}

.phone {
  background: #1d1b16;
  box-shadow: 0 28px 70px rgba(81, 67, 69, .22), 0 8px 0 rgba(134, 78, 90, .05);
}

.screen {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 183, 197, .2), transparent 24%),
    linear-gradient(180deg, #fff9f0 0%, #fff9f0 56%, #f9f3ea 100%);
}

.title,
.greeting,
.hero-title,
.serif {
  font-family: "Plus Jakarta Sans", "Quicksand", system-ui, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0;
}

.sub,
.card-sub,
.setting-sub,
.profile-bio,
.timeline-head p,
.quote {
  font-family: "Quicksand", system-ui, sans-serif;
}

.app-scroll-pad {
  padding: 10px 20px 112px;
}

.app-head {
  padding: 10px 2px 20px;
}

.eyebrow {
  color: var(--soft);
  font-size: 12px;
  letter-spacing: .08em;
}

.greeting {
  color: var(--ink);
  font-size: 28px;
}

.checkline {
  color: var(--muted);
  font-size: 13px;
}

.stage-pill,
.badge,
.mini-pill,
.tag {
  border: 1px solid rgba(134, 78, 90, .1);
  background: var(--clay-soft);
  color: var(--clay-dark);
  box-shadow: 0 4px 0 rgba(134, 78, 90, .06);
}

.round-lite,
.back,
.setting-icon,
.icon-mini {
  border: 1px solid rgba(131, 115, 117, .15);
  border-radius: 16px;
  background: #f3ede4;
  color: var(--ink-mid);
  box-shadow: 0 4px 0 rgba(81, 67, 69, .05);
}

.card,
.list-card,
.goal,
.timeline-panel,
.brand-tap-card,
.profile-card,
.partner-status-card,
.profile-snapshot,
.settings-card {
  border: 1px solid rgba(214, 194, 196, .74);
  border-radius: 28px;
  background: rgba(255, 253, 248, .96);
  box-shadow: var(--card-shadow);
}

.card {
  padding: 21px 18px 22px;
}

.card-head {
  gap: 13px;
}

.icon-box,
.timeline-icon,
.empty-icon {
  border-radius: 18px;
  box-shadow: inset 0 -3px 0 rgba(81, 67, 69, .06);
}

.card-title {
  font-family: "Plus Jakarta Sans", "Quicksand", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.card-sub {
  color: var(--soft);
  font-size: 12.5px;
  font-weight: 700;
}

.btn,
.mini-action,
.chip,
.pill,
.quick,
.mood,
.option,
.field,
.text-field,
.sheet-option {
  border-radius: 20px;
  font-family: "Quicksand", system-ui, sans-serif;
}

.btn {
  min-height: 48px;
  font-weight: 800;
  box-shadow: 0 5px 0 rgba(81, 67, 69, .08);
}

.btn-primary,
.pill.active,
.chip.active,
.segmented button.active {
  background: var(--clay);
  color: #fff;
}

.btn-outline,
.quick,
.pill,
.chip,
.field,
.input-field,
.text-field,
.sheet-option {
  border-color: rgba(214, 194, 196, .9);
  background: rgba(255, 253, 248, .92);
}

.mood {
  height: 54px;
  border-radius: 22px;
  background: #f9f3ea;
  color: #837375;
  box-shadow: inset 0 -4px 0 rgba(81, 67, 69, .04);
}

.mood.active {
  border-color: var(--clay);
  background: var(--clay-soft);
  color: var(--clay-dark);
}

.note,
.notice,
.timeline-composer {
  border: 1px solid rgba(214, 194, 196, .65);
  border-radius: 24px;
  background: #f9f3ea;
}

.quick {
  min-height: 68px;
  background: #fffdf8;
  color: var(--ink-mid);
}

.bar,
.progress {
  height: 10px;
  border-radius: 999px;
  background: #ede7df;
}

.bar span,
.progress span {
  border-radius: 999px;
}

.big-amount {
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.dark-panel {
  border: 1px solid rgba(134, 78, 90, .16);
  border-radius: 30px;
  background: linear-gradient(135deg, #ffd9df 0%, #fff9f0 54%, #c2e8ff 125%);
  color: var(--ink);
  box-shadow: var(--card-shadow);
}

.dark-panel .tiny,
.dark-panel span {
  color: var(--muted) !important;
}

.meal-card {
  border: 1px solid rgba(214, 194, 196, .48);
  border-radius: 28px;
}

.meal-visual {
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 58%, #fff9f0 0 23px, transparent 24px),
    radial-gradient(circle at 50% 58%, var(--meal) 0 35px, transparent 36px),
    linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .22));
}

.soft-card,
.ritual-card {
  border: 1px solid rgba(255, 183, 197, .42);
  border-radius: 28px;
  background: linear-gradient(180deg, #fff9f0, #fff2f4);
  box-shadow: 0 10px 0 rgba(255, 183, 197, .09), 0 16px 34px rgba(81, 67, 69, .08);
}

.quote {
  color: var(--ink-mid);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
}

.ritual-reminder {
  background: rgba(255, 255, 255, .72);
}

.ritual-swap {
  background: var(--clay);
  color: #fff;
}

.segmented {
  border-radius: 28px;
  background: #fffdf8;
  padding: 6px;
  box-shadow: inset 0 0 0 1px rgba(214, 194, 196, .74);
}

.segmented button {
  border-radius: 22px;
  font-size: 13px;
}

.week-strip,
.month-grid {
  border-radius: 28px;
  background: rgba(255, 253, 248, .7);
  padding: 8px;
}

.date-num,
.month-day span {
  border-radius: 16px;
}

.date-cell.active .date-num,
.month-day.active span {
  background: var(--clay);
}

.bottom-nav {
  margin: 0 14px 14px;
  border: 1px solid rgba(214, 194, 196, .72);
  border-radius: 28px;
  background: rgba(255, 253, 248, .93);
  box-shadow: 0 12px 28px rgba(81, 67, 69, .12);
  padding: 7px;
}

.nav-item {
  border-radius: 20px;
  color: #837375;
  padding: 7px 2px;
  font-size: 10px;
  font-weight: 800;
}

.nav-item.active {
  background: var(--clay-soft);
  color: var(--clay-dark);
}

.nav-item .msr,
.nav-item .sym {
  font-size: 20px;
}

.timeline-panel {
  background: linear-gradient(180deg, rgba(255, 253, 248, .98), rgba(249, 243, 234, .96));
}

.timeline-item {
  border-color: rgba(214, 194, 196, .7);
  border-radius: 24px;
  background: #fffdf8;
}

.timeline-actions button {
  border-radius: 999px;
  background: #f9f3ea;
}

.brand-tap-card {
  background: linear-gradient(135deg, rgba(255, 217, 223, .72), rgba(255, 249, 240, .96) 52%, rgba(194, 232, 255, .52));
}

.brand-logo,
.profile-avatar {
  border-radius: 22px;
  background: linear-gradient(145deg, var(--clay), #b66a78);
}

.setting-row {
  border-color: rgba(214, 194, 196, .46);
}

.switch {
  background: #d6c2c4;
}

.switch.on {
  background: var(--clay);
}

.sheet {
  border-radius: 30px 30px 0 0;
  background: #fff9f0;
}

.scrim {
  background: rgba(29, 27, 22, .28);
}

.empty-state {
  border-radius: 26px;
}

.between,
.stage-pill,
.mood,
.quick,
.nav-item {
  min-width: 0;
}

.stage-pill span,
.nav-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mood-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.quick-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kawaii-heart {
  color: var(--clay);
  font-family: "Quicksand", system-ui, sans-serif;
}

.kawaii-hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(214, 194, 196, .72);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 217, 223, .95), rgba(255, 249, 240, .96) 54%, rgba(194, 232, 255, .7));
  color: var(--ink);
  padding: 24px 20px;
  margin-bottom: 16px;
  box-shadow: var(--card-shadow);
}

.kawaii-hero-card .hero-watermark {
  position: absolute;
  right: 16px;
  top: 8px;
  color: rgba(134, 78, 90, .12);
  font-size: 92px;
}

@media (min-width: 768px) {
  .phone {
    width: min(100%, 760px);
    height: min(92vh, 900px);
    border-radius: 38px;
    padding: 0;
    background: transparent;
    box-shadow: 0 24px 80px rgba(81, 67, 69, .15);
  }

  .screen {
    border-radius: 34px;
    border: 1px solid rgba(214, 194, 196, .78);
  }

  .app-scroll-pad {
    padding-left: 30px;
    padding-right: 30px;
  }

  .bottom-nav {
    width: min(100%, 700px);
    margin: 0 auto 16px;
    border-radius: 28px;
  }

  .brand-tap-grid,
  .couple-profile-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  html,
  body,
  .stage,
  .phone,
  .screen {
    width: 100vw;
    max-width: 100vw;
  }

  .stage {
    align-items: stretch;
    overflow: hidden;
  }

  .phone {
    height: 100vh;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .screen {
    border: 0;
    border-radius: 0;
  }

  .app-scroll-pad {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .between {
    min-width: 0;
    gap: 8px;
  }

  .stage-pill {
    max-width: 142px;
    min-width: 0;
  }

  .stage-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mood-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .quick-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mood,
  .quick,
  .nav-item {
    min-width: 0;
  }

  .bottom-nav {
    width: calc(100vw - 28px);
    margin: 0 14px 14px;
  }

  .nav-item span {
    font-size: 10px;
  }

  .chart {
    gap: 5px;
    height: 112px;
  }

  .chart-bars {
    gap: 2px;
  }

  .vbar {
    width: 8px;
  }

  .prayer-row {
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .prayer-row::-webkit-scrollbar {
    display: none;
  }

  .prayer {
    min-width: 72px;
    flex: 0 0 auto;
  }
}
