@font-face {
  font-family: Fraunces;
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Outfit;
  src: url("../fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #fbf6ef;
  --ink: #492824;
  --ink-soft: rgba(73, 40, 36, 0.72);
  --button: #5c3a3e;
  --peach: #f6c7aa;
  --sage: #a9b999;
  --rose: #e3b7b6;
  --gold: #f6d56a;
  --terra: #d3785e;
  --nav: #e07a52;
  --nav-off: #c3b4aa;
  --studio: #e7d3c2;
  --line: rgba(73, 40, 36, 0.12);
  --card: rgba(255, 252, 247, 0.72);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--ivory);
  color: var(--ink);
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button, input, textarea { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid var(--nav);
  outline-offset: 3px;
}

html:not(.is-desktop) #app {
  position: fixed;
  inset: 0;
}

#app {
  height: 100%;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}

.ear { display: none; }

html.is-desktop {
  background: var(--studio);
}

html.is-desktop body {
  min-height: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
  padding: 28px;
  background:
    radial-gradient(900px 480px at 12% 0%, rgba(255, 248, 240, 0.7), transparent 60%),
    var(--studio);
}

html.is-desktop #stage {
  width: 390px;
  height: min(844px, calc(100dvh - 48px));
  flex: none;
}

html.is-desktop #app {
  height: 100%;
  border-radius: 36px;
  box-shadow:
    0 0 0 12px #241816,
    0 28px 70px rgba(50, 24, 18, 0.28);
}

html.is-desktop .ear {
  display: block;
  position: absolute;
  z-index: 6;
  top: 10px;
  left: 50%;
  width: 108px;
  height: 22px;
  transform: translateX(-50%);
  background: #241816;
  border-radius: 20px;
}

html.is-desktop .screen-scroll,
html.is-desktop .welcome {
  padding-top: 56px;
}

.studio { display: none; }

html.is-desktop .studio {
  display: block;
  width: min(420px, 100%);
  color: var(--ink);
}

.studio h2 {
  margin: 18px 0 0;
  font-family: Fraunces, Palatino, Georgia, serif;
  font-weight: 520;
  font-size: clamp(46px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.studio .rule {
  width: 56px;
  height: 1px;
  margin: 18px 0;
  background: var(--ink);
}

.studio-quote {
  margin: 0;
  font-family: Fraunces, Palatino, Georgia, serif;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
}

.studio-note {
  margin-top: 28px;
  padding: 18px 18px 8px;
  background: rgba(251, 246, 239, 0.72);
  border-radius: 22px;
}

.studio-note p { margin: 0 0 12px; line-height: 1.45; }
.studio-tag { margin: 10px 0 0; font-weight: 560; }

@media (max-width: 1180px) {
  html.is-desktop body {
    flex-direction: column;
    gap: 28px;
    align-items: center;
  }
  html.is-desktop .studio h2 { font-size: 42px; }
}

.screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.screen-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: calc(48px + env(safe-area-inset-top)) 22px 28px;
}

.welcome {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: calc(48px + env(safe-area-inset-top)) 28px calc(28px + env(safe-area-inset-bottom));
}
.welcome-form { overflow: auto; }

.welcome-mark { margin-top: 7vh; }
.wordmark {
  margin: 10px 0 0;
  font-family: Fraunces, Palatino, Georgia, serif;
  font-weight: 560;
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.tagline { margin: 10px 0 0; font-size: 15px; font-weight: 520; }

.greeting {
  font-family: Fraunces, Palatino, Georgia, serif;
  font-weight: 520;
  font-size: 34px;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin: 26px 0 8px;
}

.welcome-bottom {
  margin-top: auto;
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.welcome .greeting {
  margin: 0 0 20px;
  width: 100%;
  background: linear-gradient(var(--ivory) 72%, transparent);
}

.welcome-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 132px;
  z-index: 0;
  pointer-events: none;
}
.welcome-ground svg { width: 100%; height: 100%; display: block; }

.welcome .btn { position: relative; z-index: 1; width: min(100%, 300px); margin: 0 0 22px; }

.welcome-form .stack {
  width: min(100%, 340px);
  margin-top: 28px;
  text-align: left;
}

h1, h2, .title {
  font-family: Fraunces, Palatino, Georgia, serif;
  font-weight: 540;
  letter-spacing: -0.03em;
}

.title { font-size: 36px; line-height: 1.1; margin: 14px 0 8px; }
.lede { margin: 0 0 18px; color: var(--ink-soft); line-height: 1.45; font-size: 16px; }
.fine { color: var(--ink-soft); font-size: 14px; line-height: 1.45; margin: 8px 0 0; }
.today { margin: 0 0 14px; font-size: 15px; }

.home-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Fraunces, Palatino, Georgia, serif;
  font-size: 28px;
  letter-spacing: -0.03em;
  font-weight: 560;
}
.icon-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
}

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tile {
  aspect-ratio: 1;
  border: 0;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  font-weight: 620;
  font-size: 15.5px;
  line-height: 1.15;
  text-align: center;
}
.tile span { max-width: 8.5em; }
.tile:active { transform: scale(0.985); }
.tile-peach { background: var(--peach); }
.tile-sage { background: var(--sage); }
.tile-rose { background: var(--rose); }
.tile-gold { background: var(--gold); }

button.end-audit {
  position: absolute;
  z-index: 40;
  left: 8px;
  bottom: calc(8px + env(safe-area-inset-bottom));
  width: auto;
  min-height: 0;
  border: 0;
  border-radius: 999px;
  background: #2f6fed;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 5px 7px;
}
#app:has(.screen.has-tab) button.end-audit {
  bottom: calc(72px + env(safe-area-inset-bottom));
}
#app:has(.screen.has-composer) button.end-audit {
  bottom: calc(148px + env(safe-area-inset-bottom));
}
.end-audit-tip {
  display: none;
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  width: max-content;
  max-width: 220px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #24324a;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(36, 24, 18, 0.18);
}
button.end-audit:hover .end-audit-tip,
button.end-audit:focus-visible .end-audit-tip {
  display: block;
}
.audit-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.audit-scale button {
  min-height: 36px;
  border: 0;
  border-radius: 12px;
  background: rgba(73, 40, 36, 0.06);
  font-weight: 700;
}
.audit-scale button.is-on {
  background: #2f6fed;
  color: #fff;
}
.audit-note { margin: 0 0 12px; }
.audit-note textarea { min-height: 72px; }

.tabbar {
  display: grid;
  flex-shrink: 0;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(73, 40, 36, 0.06);
  background: rgba(251, 246, 239, 0.94);
  padding: 6px 8px calc(8px + env(safe-area-inset-bottom));
}
.tab {
  border: 0;
  background: transparent;
  color: var(--nav-off);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 1px 0;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.15;
}
.tab span { max-width: 74px; }
.tab.is-on { color: var(--nav); }

.back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 0;
  background: transparent;
  padding: 4px 4px 4px 0;
  font-weight: 600;
  font-size: 15px;
}

.btn {
  appearance: none;
  border: 0;
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
  background: var(--button);
  color: var(--ivory);
  font-weight: 620;
  font-size: 17px;
  padding: 0 22px;
}
.btn:active { transform: scale(0.99); }
.btn:disabled { opacity: 0.38; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  margin-top: 10px;
}
.btn-text {
  width: auto;
  min-height: 44px;
  background: transparent;
  color: var(--ink-soft);
  padding: 0 8px;
}

.stack { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
input[type="text"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffaf4;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
}
textarea { min-height: 120px; resize: vertical; }

.choice, .panel, .quiet-card, .device-card {
  background: var(--card);
  border-radius: 22px;
  padding: 16px 16px 14px;
  margin: 0 0 12px;
  border: 1px solid rgba(73, 40, 36, 0.04);
}
.choice h2, .panel h2, .quiet-card h2, .device-card h2 {
  margin: 0 0 6px;
  font-size: 22px;
}
.choice p, .panel p { margin: 0; line-height: 1.4; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill {
  border-radius: 999px;
  border: 1px solid rgba(73, 40, 36, 0.18);
  background: transparent;
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 650;
}
.pill:active, .mood.is-on, .scale button.is-on {
  background: var(--button);
  color: var(--ivory);
  border-color: var(--button);
}

.poster {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 196px;
  border: 0;
  border-radius: 28px;
  padding: 26px 22px;
  margin: 0 0 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.poster h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 520;
}
.poster .rule {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 1px;
  margin-top: 16px;
  background: currentColor;
}
.poster-terra { background: var(--terra); color: #fbf3e8; }
.poster-cream { background: #f3e4d2; color: var(--ink); }
.notruf-home {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 18px auto 8px;
  border: 0;
  border-radius: 50%;
  background: #c62828;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.06em;
}
.notruf-home:active { transform: scale(0.98); }
.notruf-call { margin: 8px 0 4px; background: #c62828; }
.notruf-phone {
  display: inline-block;
  margin-top: 8px;
  font-size: 22px;
  font-weight: 700;
  color: #2f6fed;
  text-decoration: none;
}
.poster-terra::before,
.poster-terra::after,
.poster-cream::before {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.poster-terra::before {
  width: 130px;
  height: 130px;
  left: -46px;
  bottom: -36px;
  background: #e39a84;
}
.poster-terra::after {
  width: 170px;
  height: 170px;
  right: -58px;
  bottom: -78px;
  background: #c9d0b4;
}
.poster-cream::before {
  width: 120px;
  height: 120px;
  right: -40px;
  top: -46px;
  background: #ead3c0;
}

.link-row {
  width: 100%;
  text-align: left;
  border: 0;
  background: var(--card);
  border-radius: 18px;
  min-height: 58px;
  padding: 0 16px;
  margin: 0 0 10px;
  font-family: Fraunces, Palatino, Georgia, serif;
  font-size: 20px;
}

.prose p { font-size: 17.5px; line-height: 1.55; margin: 0 0 14px; }
.prose .pull {
  font-family: Fraunces, Palatino, Georgia, serif;
  font-size: 26px;
  line-height: 1.25;
}

.session, .done {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.screen-scroll:has(.session),
.screen-scroll:has(.done) { display: flex; flex-direction: column; }
.session { flex: 1; width: 100%; }
.breath-stage { margin: auto; display: grid; place-items: center; }
.breath-orb { width: 180px; height: 180px; display: grid; place-items: center; transform: scale(0.74); }
.phase {
  font-family: Fraunces, Palatino, Georgia, serif;
  font-size: 44px;
  margin: 8px 0 0;
  font-weight: 520;
}
.session-time { font-variant-numeric: tabular-nums; font-size: 18px; margin: 8px 0; letter-spacing: 0.04em; }
.title.city-name { font-size: 32px; margin: 0; line-height: 1.15; }
.city-kicker {
  margin: 18px 0 8px;
  font-size: 22px;
}
.online { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.chip {
  background: var(--sage);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
}
.chip.is-self { background: var(--rose); }
.city-log { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 4px; }
.bubble {
  max-width: 88%;
  background: #fffaf4;
  border-radius: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(73, 40, 36, 0.05);
}
.bubble.mine { align-self: flex-end; background: #f6c7aa; }
.bubble .who { margin: 0; font-size: 12px; font-weight: 700; }
.bubble p { margin: 2px 0 0; line-height: 1.35; }
.picks { display: flex; flex-direction: column; gap: 6px; }
.welcome-form .picks { max-height: 188px; overflow: auto; }
.pick {
  text-align: left;
  border: 0;
  background: var(--card);
  border-radius: 14px;
  min-height: 44px;
  padding: 8px 12px;
  font-weight: 650;
}
.pick .fine { font-weight: 500; }
.composer {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
  align-items: center;
  padding: 8px 12px 10px;
  border-top: 1px solid rgba(73, 40, 36, 0.08);
  background: var(--ivory);
}
.composer input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 16px;
}
.composer .btn { width: auto; min-height: 48px; padding: 0 16px; }
.has-composer .screen-scroll { padding-bottom: 12px; }

.prompt {
  font-family: Fraunces, Palatino, Georgia, serif;
  font-size: 32px;
  line-height: 1.2;
  margin: auto 0;
  font-weight: 520;
}
.kicker { margin: 8px 0 0; font-size: 14px; font-weight: 650; letter-spacing: 0; text-transform: none; color: var(--ink-soft); }
.meter {
  width: 100%;
  height: 3px;
  border-radius: 99px;
  background: rgba(73, 40, 36, 0.1);
  overflow: hidden;
  margin: 8px 0 18px;
}
.meter span { display: block; height: 100%; background: var(--terra); }
.pose { width: min(180px, 46vw); height: auto; margin: 8px auto 12px; }

.moods, .scale { display: grid; gap: 8px; }
.moods { grid-template-columns: 1fr 1fr; }
.mood, .scale button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 16px;
  min-height: 48px;
  text-align: left;
  padding: 0 14px;
  font-weight: 620;
}
.scale button { width: 100%; }

.sheet-backdrop {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(48, 28, 24, 0.28);
  display: flex;
  align-items: flex-end;
}
.sheet {
  width: 100%;
  background: var(--ivory);
  border-radius: 24px 24px 0 0;
  padding: 10px 18px calc(18px + env(safe-area-inset-bottom));
}
.sheet-handle {
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: rgba(73, 40, 36, 0.18);
  margin: 4px auto 12px;
}
.sheet h2 { margin: 0 0 8px; font-size: 28px; }
.sheet button.row {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  min-height: 52px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
  padding: 0;
}

.ua {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.reduce-motion .breath-orb,
.reduce-motion .breath-ring { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .breath-orb, .breath-ring { transition: none !important; }
  .tile:active, .btn:active { transform: none; }
}

.hello { font-size: 34px; line-height: 1.05; margin: 8px 0 6px; }
.hello-sub { margin: 0 0 16px; color: var(--ink-soft); }
.home-cards { display: flex; flex-direction: column; gap: 12px; }
.home-card, .practice-row, .mood-row, .menu-row, .load-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 1px 0 rgba(73, 40, 36, 0.04);
  padding: 14px;
}
.home-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.home-copy strong { font-family: Fraunces, Palatino, Georgia, serif; font-size: 20px; font-weight: 540; letter-spacing: -0.03em; }
.home-copy span, .menu-row small { color: var(--ink-soft); font-size: 14px; line-height: 1.35; font-weight: 500; }
.home-copy em { color: var(--nav); font-style: normal; font-weight: 700; font-size: 14px; margin-top: 4px; }
.home-actions, .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.pair .btn, .home-actions .btn { margin-top: 0; }
.btn-line {
  background: transparent;
  color: #c45b4a;
  border: 1.5px solid #e07a52;
}
.btn-warm { background: #e07a52; }
.btn-alarm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #e07a52;
  color: #fffaf4;
  text-decoration: none;
  margin-bottom: 8px;
}
.practice-list, .mood-list, .load-list { display: flex; flex-direction: column; gap: 10px; }
.tone, .mood-row .badge-svg { flex: none; }
.tone {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.tone-peach { background: #f6c7aa; color: #8a4b32; }
.tone-sage { background: #d5e3cf; color: #3f5c45; }
.tone-gold { background: #f6e3a4; color: #7a5a18; }
.tone-rose { background: #f0d0cf; color: #8a4548; }
.chev { margin-left: auto; color: var(--nav-off); font-size: 22px; }
.mood-row.is-dark {
  background: #5c3a3e;
  color: #fbf6ef;
}
.mood-row.is-dark span { color: #fbf6ef; }
.load-row .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(73, 40, 36, 0.28);
  flex: none;
}
.load-row.is-on { outline: 2px solid #e07a52; }
.load-row.is-on .tick { background: #e07a52; box-shadow: inset 0 0 0 4px #fffaf4; }
.menu-row { min-height: 64px; margin: 0 0 10px; }
.menu-row > span:not(.mark) { display: flex; flex-direction: column; gap: 2px; }
.menu-row.warm { background: #f8e7cf; }
.privacy { margin: 4px 0 16px; }
.sister {
  border-radius: 26px;
  padding: 18px 16px 16px;
  margin: 8px 0 14px;
}
.sister h2 { margin: 0 0 10px; font-size: 32px; }
.sister h2 span { display: block; font-family: Outfit, "Avenir Next", sans-serif; font-size: 14px; font-weight: 560; letter-spacing: 0; color: var(--ink-soft); }
.sister-sage { background: #e4efe3; }
.sister-peach { background: #f8e4d4; }
.sister-rose { background: #f6e4e2; }
.sister-gold { background: #f8efd0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tag {
  background: rgba(255, 252, 247, 0.72);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 650;
}
.sister p { margin: 0; font-size: 16px; line-height: 1.4; }
.check-line { display: flex; gap: 8px; align-items: center; margin: 14px 0; font-size: 14px; }
.radios { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 16px; }
.radio-line { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; }
.suggests { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.suggest {
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.92);
  min-height: 48px;
  padding: 0 16px;
  font-weight: 620;
}
.thanks { align-items: stretch; text-align: left; }
.thanks .logo, .thanks .title, .thanks .lede { text-align: center; }
.thanks .title { font-size: 30px; }
.thanks h2 { margin: 8px 0; font-size: 18px; }
.breath-session { align-items: stretch; text-align: left; }
.breath-session .kicker, .breath-session .title { text-align: left; }
.breath-ring {
  width: 196px;
  height: 196px;
  margin: 8px auto 12px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 45%, #fffaf4 0 54px, #f6c7aa 55px 78px, #f3d3bc 79px 100%);
  box-shadow: 0 0 0 12px rgba(246, 199, 170, 0.28);
}
.breath-count {
  font-family: Fraunces, Palatino, Georgia, serif;
  font-size: 64px;
  line-height: 0.9;
  font-weight: 540;
}
.breath-cue { max-width: 8.2em; text-align: center; font-size: 13px; line-height: 1.25; color: var(--ink-soft); }
.breath-text { text-align: left; }
.safety { margin: 8px 0 14px; }
.limit-mark {
  width: 54px;
  height: 54px;
  margin: 8px auto 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #5c3a3e 0 8px, transparent 9px),
    radial-gradient(circle at 50% 50%, transparent 0 16px, #5c3a3e 17px 19px, transparent 20px);
}
.limit-panel a { color: #8a3030; font-weight: 750; }
.emergency-form { margin-bottom: 12px; }
.prose a { color: #8a3030; font-weight: 700; }

.mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex: none;
  background: #f3e6d8;
  color: #5c3a3e;
}
.mark svg { width: 22px; height: 22px; }
.mark-plain { background: #f3ece4; }
.mark-peach { background: #f6c7aa; }
.mark-gold { background: #f6e3a4; }
.mark-sage { background: #d5e3cf; }
.mark-rose { background: #f0d0cf; }
.mood-row .mark { border-radius: 50%; }
.neu {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #e07a52;
  color: #fffaf4;
  font-family: Outfit, "Avenir Next", sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.04em;
  vertical-align: 2px;
}
.file-btn { display: flex; align-items: center; justify-content: center; margin-top: 8px; }
.day-card, .quiet-card, .money-card, .sum-card, .note-box {
  border-radius: 22px;
  background: #f8e7cf;
  padding: 14px;
  margin: 0 0 12px;
}
.note-box.note-green { background: #e4efe3; }
.day-card h2, .block-title { margin: 16px 0 8px; font-size: 22px; }
.ideas { display: flex; flex-wrap: wrap; gap: 8px; }
.idea {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.8);
  min-height: 36px;
  padding: 6px 12px;
  font-weight: 650;
}
.idea.is-on { background: #5c3a3e; color: #fffaf4; }
.load-count { display: flex; align-items: center; gap: 8px; margin: 4px 0 14px; font-weight: 650; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #e07a52; }
.dots i:nth-child(2) { background: #d7a6ae; }
.dots i:nth-child(3) { background: #9bb59a; }
.btn-quiet {
  width: 100%;
  margin-top: 14px;
  background: transparent;
  border: 1.5px solid #5c3a3e;
  color: #5c3a3e;
}
.quiet-card {
  width: 100%;
  display: block;
  text-align: left;
  border: 0;
  color: inherit;
}
.quiet-card strong { display: block; font-family: Fraunces, Palatino, Georgia, serif; font-size: 20px; font-weight: 540; }
.quiet-card span, .quiet-card p { color: var(--ink-soft); }
.quiet-rose { background: #f6e4e2; }
.quiet-sage { background: #e4efe3; }
.quiet-gold { background: #f8efd0; }
.wears { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.wear {
  border-radius: 999px;
  padding: 8px 12px;
  background: #f6e4e8;
  font-weight: 700;
}
.wear-termine { background: #f6e4e8; }
.wear-geld { background: #f8e7cf; }
.wear-schlaf { background: #eee6f2; }
.wear-allein { background: #f8efd0; }
.wear-sorge { background: #e4efe3; }
.plain-list { margin: 0; padding-left: 18px; }
.plain-list li { margin: 0 0 6px; }
.advice {
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.92);
  padding: 14px 14px 14px 16px;
  border-left: 4px solid #e3b7b6;
  margin: 0 0 10px;
}
.advice h2 { margin: 0 0 6px; font-size: 20px; }
.advice p { margin: 0; }
.advice-zeit { border-color: #e3b7b6; }
.advice-wille { border-color: #e07a52; }
.advice-fuer { border-color: #a9b999; }
.guilt-row.is-on { background: #f8e4d4; }
.money-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 252, 247, 0.92);
}
.money-card h2 { margin: 0 0 4px; font-size: 18px; }
.money-card p { margin: 0 0 8px; }
.pill {
  display: inline-block;
  background: #f3e6da;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 750;
}
.mother-table { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.mother-row, .result-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: rgba(255, 252, 247, 0.92);
  border-radius: 16px;
  padding: 12px;
}
.mother-row > span, .result-line > span:not(.dot) { display: flex; flex-direction: column; gap: 2px; }
.mother-row small, .result-line small { color: var(--ink-soft); font-weight: 500; }
.mother-row b, .result-line b { white-space: nowrap; }
.note-box { background: #f8e7cf; }
.note-box p { margin: 0; }
.grade-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.grade-tile {
  border: 0;
  border-radius: 18px;
  min-height: 84px;
  padding: 12px 8px;
  background: #fffaf4;
  color: var(--ink);
}
.grade-tile strong { display: block; font-family: Fraunces, Palatino, Georgia, serif; font-size: 16px; font-weight: 560; }
.grade-tile small { display: block; color: var(--ink-soft); font-size: 12px; }
.grade-tile.is-wide { grid-column: 1 / -1; min-height: 52px; }
.grade-tile.tone-peach { background: #f8e4d4; }
.grade-tile.tone-rose { background: #f6e4e2; }
.grade-tile.tone-gold { background: #f8efd0; }
.grade-tile.tone-sage { background: #e4efe3; }
.grade-tile.is-on { outline: 2px solid #e07a52; }
.sum-card p { margin: 0; }
.sum {
  font-family: Fraunces, Palatino, Georgia, serif;
  font-size: 40px;
  line-height: 1.1;
  margin: 4px 0 10px;
}
.split { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: #efe4d8; }
.split .geld { background: #d3785e; }
.split .nutz { background: #7d9a78; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-geld { background: #d3785e; }
.dot-nutz { background: #7d9a78; }
.result-line { margin-bottom: 8px; }
.letter {
  white-space: pre-wrap;
  font-family: Outfit, "Avenir Next", sans-serif;
  background: rgba(255, 252, 247, 0.92);
  border-radius: 18px;
  padding: 14px;
  margin: 0 0 12px;
}
.orient { text-align: center; }

.limit-pill {
  border: 0;
  background: #f6e4e2;
  color: #8a3030;
  border-radius: 999px;
  min-height: 34px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 750;
}
.day-hint { margin: 0 0 10px; }
.wait-card {
  background: #f8e7cf;
  border-radius: 22px;
  padding: 14px;
  margin: 0 0 12px;
}
.wait-card strong { display: block; font-family: Fraunces, Palatino, Georgia, serif; font-size: 22px; font-weight: 540; }
.wait-card span { color: var(--ink-soft); }
.wait-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 750;
}
.wait-actions { display: flex; gap: 8px; margin-top: 12px; }
.wait-actions button {
  flex: 1;
  border: 0;
  border-radius: 999px;
  min-height: 36px;
  background: #fffaf4;
  font-size: 13px;
  font-weight: 750;
  padding: 0 6px;
}
.wait-actions button.yes { background: #5c3a3e; color: #fffaf4; }
.week-card {
  background: #e4efe3;
  border-radius: 22px;
  padding: 14px;
  margin: 0 0 12px;
}
.week-card strong { display: block; font-family: Fraunces, Palatino, Georgia, serif; font-size: 20px; font-weight: 540; }
.week-card span, .week-card p { color: var(--ink-soft); }
.idea.is-hand { background: #e4efe3; }
.idea.is-wait { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(73, 40, 36, 0.28); }
.idea .hand { vertical-align: -2px; margin-right: 4px; }
.tones { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 12px; }
.tone-chip {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.92);
  min-height: 36px;
  padding: 6px 12px;
  font-weight: 750;
}
.tone-chip.is-on { background: #5c3a3e; color: #fffaf4; }
.vaca-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 14px; }
.vaca-tile {
  min-height: 108px;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 252, 247, 0.92);
  text-align: left;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.vaca-tile strong { font-size: 14px; line-height: 1.25; }
.vaca-tile span { color: var(--ink-soft); font-size: 12px; font-weight: 500; line-height: 1.3; }
.sheet .menu-row { background: transparent; box-shadow: none; border-radius: 0; padding: 8px 0; }

.lang-dock {
  position: absolute;
  z-index: 60;
  top: calc(8px + env(safe-area-inset-top));
  right: 10px;
}
.lang-btn {
  border: 0;
  background: rgba(255, 252, 247, 0.94);
  color: var(--ink);
  border-radius: 999px;
  min-height: 32px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(73, 40, 36, 0.16);
}
.lang-menu {
  position: absolute;
  top: 38px;
  right: 0;
  min-width: 148px;
  padding: 6px;
  background: #fffaf4;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(50, 24, 18, 0.16);
}
.lang-menu button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  min-height: 36px;
  border-radius: 10px;
  padding: 0 10px;
  font-weight: 650;
}
.lang-menu button[aria-selected="true"] { background: #f3e4d4; }
.invite-code {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
}
#code { letter-spacing: 0.28em; text-transform: uppercase; text-align: center; font-weight: 700; }

@media print {
  .tabbar, .end-audit, .studio, .back, .no-print, .ear, .lang-dock { display: none !important; }
  html.is-desktop #app { box-shadow: none; border-radius: 0; height: auto; }
  #app, .screen, .screen-scroll { position: static; height: auto; overflow: visible; }
}
