:root {
  --ink: #382c28;
  --muted: #7e6f68;
  --paper: #fffaf4;
  --paper-deep: #f3eadf;
  --plum: #8a4750;
  --plum-soft: #a6605d;
  --lilac: #e8ddca;
  --rose: #efb39e;
  --peach: #f5d3c3;
  --cream: #fffaf4;
  --line: rgba(82, 60, 50, 0.13);
  --shadow: 0 24px 70px rgba(86, 61, 49, 0.13);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --safe-bottom: max(18px, env(safe-area-inset-bottom));
  --user-accent: #a6605d;
  color-scheme: light;
  font-family: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #eee8df; }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--ink); background: radial-gradient(circle at 8% 6%, #f7d5c7 0, transparent 26rem), radial-gradient(circle at 94% 30%, #dce9df 0, transparent 28rem), #eee8df; }
body[data-theme="beige"] { --ink:#382c28; --paper:#fffaf4; --paper-deep:#f3eadf; --plum:#8a4750; --plum-soft:#a6605d; --lilac:#e8ddca; --rose:#efb39e; --peach:#f5d3c3; --line:rgba(82,60,50,.13); }
body[data-theme="peach"] { --ink:#422d29; --paper:#fff8f3; --paper-deep:#fae7dc; --plum:#9e514d; --plum-soft:#b66f61; --lilac:#f2d8cd; --rose:#efaa94; --peach:#ffd9c8; --line:rgba(112,63,52,.13); }
body[data-theme="mint"] { --ink:#29362f; --paper:#f8fcf8; --paper-deep:#e4eee7; --plum:#527362; --plum-soft:#6f8f7d; --lilac:#d8e7dd; --rose:#e9c8b8; --peach:#f3ddcb; --line:rgba(52,83,66,.14); }
body[data-theme="marsala"] { --ink:#3b2528; --paper:#fff8f6; --paper-deep:#f3e3df; --plum:#783b45; --plum-soft:#98515a; --lilac:#ead4d1; --rose:#d99594; --peach:#efc8b6; --line:rgba(107,50,59,.15); }
body[data-theme="custom"] { --plum:var(--user-accent); --plum-soft:var(--user-accent); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 3px solid rgba(123, 78, 133, 0.35); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; }

.ambient { position: fixed; border-radius: 50%; filter: blur(3px); pointer-events: none; opacity: .72; }
.ambient-one { width: 420px; height: 420px; left: -240px; top: 35vh; background: rgba(239, 179, 158, .34); }
.ambient-two { width: 320px; height: 320px; right: -170px; top: 7vh; background: rgba(169, 200, 183, .38); }

.app-shell { position: relative; width: min(100%, 760px); min-height: 100vh; margin: 0 auto; background: color-mix(in srgb, var(--paper) 94%, transparent); box-shadow: 0 0 100px rgba(78, 56, 46, .12); overflow: clip; }
.app-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: max(16px, env(safe-area-inset-top)) 22px 13px; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; border: 0; background: none; letter-spacing: .16em; font-size: 12px; font-weight: 700; cursor: pointer; }
.brand-symbol { display: grid; place-items: center; width: 30px; height: 30px; color: var(--cream); background: var(--plum); border-radius: 50%; font-size: 14px; box-shadow: 0 8px 22px rgba(62,33,71,.2); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.locale-button { min-width: 33px; height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff9; color: var(--plum); font-size: 9px; font-weight: 800; letter-spacing: .08em; cursor: pointer; }
.streak-pill { border: 1px solid var(--line); padding: 7px 10px; border-radius: 999px; background: #fff9; font-size: 11px; font-weight: 600; }
.streak-pill span { color: #c5778a; }
.avatar-button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: linear-gradient(145deg, #d9bfd3, #b98aaf); color: white; font-size: 11px; font-weight: 700; cursor: pointer; }

.screen-stack { padding-bottom: 106px; }
.screen { display: none; min-height: calc(100vh - 68px); padding: 28px 22px 34px; animation: screenIn .38s ease both; }
.screen.active { display: block; }
@keyframes screenIn { from { opacity: 0; transform: translateY(8px); } }
.eyebrow, .micro-label { margin: 0 0 9px; color: var(--plum-soft); letter-spacing: .16em; font-size: 10px; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); }
h1, h2 { font-family: "Fraunces", Georgia, serif; font-weight: 500; letter-spacing: -.025em; }

.home-hero { display: flex; justify-content: space-between; min-height: 215px; padding: 12px 0 24px; }
.date-label { margin-bottom: 16px; color: var(--plum-soft); font-size: 10px; letter-spacing: .14em; font-weight: 700; }
.home-hero h1 { margin-bottom: 13px; font-size: clamp(38px, 9vw, 58px); line-height: .98; }
.home-hero h1 em { color: var(--plum-soft); font-weight: 500; }
.hero-copy { max-width: 380px; margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.moon-illustration { position: relative; flex: 0 0 105px; height: 155px; margin-top: 6px; }
.moon { position: absolute; top: 26px; right: 4px; width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, #efb39e 0%, #a6605d 70%); box-shadow: -15px 18px 40px rgba(142,73,75,.22); }
.moon::after { content: ""; position: absolute; width: 76px; height: 76px; left: -18px; top: -12px; border-radius: 50%; background: var(--paper); }
.moon-illustration i { position: absolute; color: var(--plum-soft); font-style: normal; }
.moon-illustration i:nth-child(2) { top: 11px; right: 6px; font-size: 19px; }
.moon-illustration i:nth-child(3) { top: 106px; right: 59px; }
.moon-illustration i:nth-child(4) { top: 72px; right: 0; font-size: 22px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; margin: 7px 0 16px; }
.section-heading h2 { margin: 0; font-size: 24px; }
.ritual-count { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid rgba(72,42,77,.18); border-radius: 50%; font-size: 12px; font-weight: 700; }
.ritual-list { display: grid; gap: 13px; }
.ritual-card { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 14px; min-height: 164px; padding: 23px 20px; border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s ease, opacity .2s ease; }
.ritual-card.done { opacity: .62; }
.ritual-card.done .ritual-check { background: var(--plum); color: #fff; }
.tone-lilac { background: linear-gradient(145deg, #edf3ee, #dce9df); }
.tone-peach { background: linear-gradient(145deg, #fbede4, #f5ddd2); }
.tone-indigo { background: linear-gradient(145deg, #95545c, #6f3540); color: #fff; }
.tone-indigo h3, .tone-indigo .micro-label { color: #fff; }
.tone-indigo p { color: rgba(255,255,255,.68) !important; }
.ritual-icon { display: grid; place-items: center; align-self: start; width: 46px; height: 46px; border-radius: 16px; background: rgba(255,255,255,.55); color: var(--plum); font-size: 22px; }
.tone-indigo .ritual-icon { background: rgba(255,255,255,.12); color: #fff; }
.ritual-body h3 { margin-bottom: 7px; font-family: "Fraunces", serif; font-size: 20px; font-weight: 500; }
.ritual-body p { margin-bottom: 12px; color: #756a76; font-size: 13px; line-height: 1.45; }
.ritual-check { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(53,32,58,.18); border-radius: 50%; color: transparent; background: rgba(255,255,255,.35); cursor: pointer; }
.tone-indigo .ritual-check { border-color: rgba(255,255,255,.28); }
.mood-row { display: flex; flex-wrap: wrap; gap: 6px; }
.mood-row button { padding: 5px 9px; border: 1px solid rgba(57,34,62,.12); border-radius: 999px; background: rgba(255,255,255,.42); font-size: 10px; cursor: pointer; }
.mood-row button.selected { background: var(--plum); color: white; }
.inline-link { padding: 0; border: 0; background: transparent; color: var(--plum); font-size: 12px; font-weight: 700; cursor: pointer; }
.inline-link.light { color: #f9d9e6; }
.balance-prompt-card { display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 13px; width: 100%; margin-top: 14px; padding: 15px; border: 1px solid rgba(62,33,71,.08); border-radius: 20px; text-align: left; background: rgba(255,255,255,.72); box-shadow: 0 13px 30px rgba(70,39,70,.07); cursor: pointer; }
.small-balance { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: white; background: radial-gradient(circle at 35% 25%, #a9c8b7, #527362 70%); font-family: "Fraunces", serif; font-size: 19px; }
.balance-prompt-card b, .balance-prompt-card small { display: block; }
.balance-prompt-card b { font-size: 13px; }
.balance-prompt-card small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.prompt-arrow { color: var(--plum-soft); }
.cycle-home-card { position:relative; display:grid; grid-template-columns:58px 1fr auto; align-items:center; gap:13px; width:100%; margin-top:12px; padding:15px; overflow:hidden; border:1px solid rgba(134,73,78,.12); border-radius:22px; text-align:left; background:linear-gradient(135deg,#fff8f2 0%,#f7ddd2 58%,#dbe9df 140%); box-shadow:0 14px 35px rgba(113,73,59,.08); cursor:pointer; }
.cycle-home-card::after { content:""; position:absolute; width:100px; height:100px; right:-45px; bottom:-70px; border:22px solid rgba(255,255,255,.42); border-radius:50%; }
.cycle-home-orbit { position:relative; display:grid; place-items:center; width:55px; height:55px; border:1px solid rgba(134,73,78,.18); border-radius:50%; background:rgba(255,255,255,.56); }
.cycle-home-orbit::before { content:""; position:absolute; inset:5px; border:4px solid #c97e77; border-right-color:#e7d2c6; border-radius:50%; transform:rotate(-24deg); }
.cycle-home-orbit i { position:relative; font-family:"Fraunces",serif; font-size:18px; font-style:normal; }
.cycle-home-copy small,.cycle-home-copy b,.cycle-home-copy em { display:block; }
.cycle-home-copy small { color:var(--plum-soft); font-size:7px; letter-spacing:.14em; font-weight:800; }
.cycle-home-copy b { margin:4px 0 3px; font-family:"Fraunces",serif; font-size:16px; font-weight:500; }
.cycle-home-copy em { color:var(--muted); font-size:9px; line-height:1.35; font-style:normal; }
.cycle-home-arrow { position:relative; z-index:1; color:var(--plum); }
.daily-whisper { margin: 24px 0 0; text-align: center; color: #9f909d; font-family: "Fraunces", serif; font-size: 14px; font-style: italic; }

.page-intro { margin-bottom: 24px; padding-top: 7px; }
.page-intro h1 { margin-bottom: 9px; font-size: clamp(34px, 8vw, 50px); line-height: 1.05; }
.page-intro > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.55; }
.centered { text-align: center; }

.balance-intro { margin-bottom: 17px; }
.balance-progress-card { display:grid; gap:12px; margin-bottom:14px; padding:18px; border:1px solid var(--line); border-radius:22px; background:linear-gradient(145deg,#edf3ee,#dce9df); }
.balance-progress-card span { display:flex; align-items:end; justify-content:space-between; }
.balance-progress-card small { color:var(--plum-soft); font-size:8px; font-weight:800; letter-spacing:.14em; }
.balance-progress-card b { font-family:"Fraunces",serif; font-size:18px; font-weight:500; }.balance-progress-card em { font-style:normal; }
.balance-progress-track { height:7px; overflow:hidden; border-radius:99px; background:rgba(255,255,255,.66); }.balance-progress-track i { display:block; width:0; height:100%; border-radius:inherit; background:var(--plum); transition:width .35s ease; }
.balance-action-list { display:grid; gap:10px; }
.balance-action-list button { display:grid; grid-template-columns:44px 1fr 26px; align-items:center; gap:12px; width:100%; padding:16px; border:1px solid var(--line); border-radius:20px; text-align:left; background:rgba(255,255,255,.82); cursor:pointer; }
.balance-action-list button > i { display:grid; place-items:center; width:42px; height:42px; border-radius:14px; color:var(--plum); background:var(--paper-deep); font-size:20px; font-style:normal; }
.balance-action-list button small,.balance-action-list button b,.balance-action-list button em { display:block; }.balance-action-list button small { color:var(--plum-soft); font-size:8px; letter-spacing:.13em; font-weight:800; }.balance-action-list button b { margin:4px 0; font-family:"Fraunces",serif; font-size:17px; font-weight:500; }.balance-action-list button em { color:var(--muted); font-size:10px; line-height:1.4; font-style:normal; }
.balance-action-list button strong { display:grid; place-items:center; width:25px; height:25px; border:1px solid var(--line); border-radius:50%; color:transparent; }.balance-action-list button.done { opacity:.67; }.balance-action-list button.done strong { color:#fff; background:var(--plum); }

.tarot-stage { padding: 12px 0 27px; text-align: center; perspective: 1200px; }
.tarot-card { position: relative; width: min(58vw, 235px); aspect-ratio: .62; padding: 0; border: 0; border-radius: 20px; background: transparent; transform-style: preserve-3d; transition: transform .85s cubic-bezier(.2,.7,.2,1); cursor: pointer; }
.tarot-card.revealed { transform: rotateY(180deg); }
.tarot-face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border-radius: 20px; backface-visibility: hidden; box-shadow: 0 24px 55px rgba(53,29,57,.2); }
.tarot-back { color: #fcefe5; background: radial-gradient(circle at 50% 37%, rgba(210,157,200,.42), transparent 18%), repeating-radial-gradient(circle at 50% 50%, transparent 0 23px, rgba(255,255,255,.07) 24px 25px), linear-gradient(145deg, #6f4375, #291a30); border: 7px solid #f2d4c3; outline: 1px solid #5c3862; outline-offset: -12px; }
.tarot-back i { margin-bottom: 34px; font-size: 58px; font-style: normal; text-shadow: 0 0 28px rgba(255,238,225,.55); }
.tarot-back b { letter-spacing: .2em; font-size: 12px; }
.tarot-back small { margin-top: 10px; opacity: .7; font-size: 8px; letter-spacing: .14em; }
.tarot-front { color: #39233f; background: linear-gradient(170deg, #f5ded3, #fffaf0 54%, #d7c2df); border: 7px solid #5a3560; outline: 1px solid rgba(90,53,96,.3); outline-offset: -12px; transform: rotateY(180deg); }
.tarot-front small { position: absolute; top: 25px; letter-spacing: .1em; }
.tarot-front i { font-size: 75px; font-style: normal; color: #8b5b83; }
.tarot-front b { margin-top: 31px; font-family: "Fraunces", serif; font-size: 22px; }
.tarot-front em { margin-top: 7px; font-size: 10px; }
.tarot-copy { min-height: 44px; margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.tarot-copy strong { display: block; margin-bottom: 4px; color: var(--ink); font-family: "Fraunces", serif; font-size: 18px; font-weight: 500; }
.magic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.magic-grid article { min-height: 174px; padding: 19px; border-radius: 21px; background: #fff; border: 1px solid var(--line); }
.magic-grid article > span { display: block; margin-bottom: 20px; color: #8d5d86; font-size: 24px; }
.magic-grid small { color: var(--plum-soft); letter-spacing: .12em; font-size: 8px; font-weight: 700; }
.magic-grid h3 { margin: 8px 0; font-family: "Fraunces", serif; font-size: 17px; font-weight: 500; }
.magic-grid p { margin-bottom: 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.magic-personalization-card { display:grid; grid-template-columns:38px 1fr auto; align-items:center; gap:11px; width:100%; margin:-8px 0 18px; padding:13px; border:1px solid var(--line); border-radius:18px; text-align:left; background:rgba(255,255,255,.72); cursor:pointer; }
.magic-personalization-card small, .magic-personalization-card b, .magic-personalization-card em { display:block; }
.magic-personalization-card small { color:var(--plum-soft); font-size:8px; letter-spacing:.13em; font-weight:800; }
.magic-personalization-card b { margin-top:4px; font-family:"Fraunces",serif; font-size:15px; }
.magic-personalization-card em { margin-top:4px; color:var(--muted); font-size:9px; line-height:1.4; font-style:normal; }
.disclaimer { display: flex; gap: 10px; margin-top: 14px; padding: 13px; border-radius: 15px; background: rgba(229,218,233,.6); color: var(--muted); }
.disclaimer p { margin: 0; font-size: 10px; line-height: 1.45; }

.style-builder { padding: 21px; border-radius: 24px; background: #eee5ef; }
.style-builder label { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 700; }
.occasion-row { display: flex; gap: 7px; margin-bottom: 20px; overflow-x: auto; }
.occasion-row button { flex: 0 0 auto; padding: 8px 11px; border: 1px solid rgba(60,34,66,.12); border-radius: 999px; background: rgba(255,255,255,.65); font-size: 10px; cursor: pointer; }
.occasion-row button.selected { background: var(--plum); color: white; }
.input-wrap { display: flex; align-items: center; margin-bottom: 14px; border-radius: 13px; background: white; }
.input-wrap input { width: 100%; padding: 13px 6px 13px 13px; border: 0; outline: 0; background: transparent; font-size: 12px; }
.input-wrap span { padding-right: 13px; color: #a06f98; }
.primary-button, .secondary-button { min-height: 48px; padding: 0 19px; border-radius: 15px; font-weight: 700; cursor: pointer; }
.primary-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; width: 100%; border: 0; color: white; background: var(--plum); box-shadow: 0 12px 24px rgba(62,33,71,.18); }
.secondary-button { border: 1px solid var(--line); background: transparent; }
.look-card { margin-top: 14px; border-radius: 24px; overflow: hidden; background: white; border: 1px solid var(--line); }
.look-visual { position: relative; height: 185px; overflow: hidden; background: linear-gradient(145deg, #ddc6b9, #eedfd7); }
.shape { position: absolute; border-radius: 48% 52% 55% 45%; }
.shape-one { width: 160px; height: 260px; left: 17%; top: -40px; background: linear-gradient(150deg, #f7f0e8, #cab7ac); transform: rotate(13deg); box-shadow: 22px 27px 40px rgba(91,60,68,.16); }
.shape-two { width: 95px; height: 170px; right: 12%; bottom: -43px; background: linear-gradient(150deg, #5e3d43, #2e2228); transform: rotate(-18deg); }
.look-number, .look-visual small { position: absolute; z-index: 2; }
.look-number { top: 16px; left: 17px; font-family: "Fraunces", serif; font-size: 18px; }
.look-visual small { right: 15px; bottom: 14px; padding: 6px 8px; border-radius: 999px; background: rgba(255,255,255,.7); font-size: 8px; letter-spacing: .12em; font-weight: 700; }
.look-copy { padding: 21px; }
.look-copy h2 { margin-bottom: 9px; font-size: 25px; }
.look-copy p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.look-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 15px 0; }
.look-tags span { padding: 6px 9px; border-radius: 999px; background: #f5edf1; font-size: 9px; }
.care-note { display: flex; gap: 14px; margin-top: 14px; padding: 18px; border-radius: 20px; background: #f6e6df; }
.care-icon { flex: 0 0 42px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.6); }
.care-note small { color: #8d655b; font-size: 8px; letter-spacing: .13em; font-weight: 700; }

/* Cycle module */
.cycle-screen { background:radial-gradient(circle at 95% 2%,rgba(245,211,195,.55),transparent 22rem); }
.cycle-intro { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.cycle-intro > div { min-width:0; }
.cycle-intro h1 { max-width:430px; }
.local-data-badge { flex:0 0 auto; padding:7px 9px; border:1px solid rgba(86,119,99,.18); border-radius:999px; color:#597562; background:#e5efe8; font-size:7px; letter-spacing:.1em; font-weight:800; }
.cycle-empty { padding:33px 23px 25px; border:1px solid var(--line); border-radius:30px; text-align:center; background:linear-gradient(155deg,rgba(255,255,255,.88),rgba(246,229,219,.76)); box-shadow:var(--shadow); }
.cycle-empty-visual { position:relative; width:154px; height:154px; margin:0 auto 25px; }
.cycle-empty-visual span { position:absolute; inset:0; border:1px dashed rgba(138,71,80,.28); border-radius:50%; }
.cycle-empty-visual span::before { content:""; position:absolute; inset:19px; border:14px solid var(--peach); border-right-color:var(--plum-soft); border-radius:50%; transform:rotate(-32deg); }
.cycle-empty-visual i { position:absolute; top:15px; right:10px; color:var(--plum); font-size:28px; font-style:normal; }
.cycle-empty-visual b { position:absolute; inset:0; display:grid; place-items:center; font-family:"Fraunces",serif; font-size:35px; font-weight:500; }
.cycle-empty h2 { margin-bottom:10px; font-size:30px; }
.cycle-empty > p:not(.eyebrow) { max-width:380px; margin:0 auto 22px; color:var(--muted); font-size:12px; line-height:1.55; }
.cycle-empty .primary-button { max-width:310px; margin:0 auto; }
.cycle-empty > small { display:block; margin-top:14px; color:#9c8d85; font-size:8px; }
.cycle-dashboard { display:grid; gap:13px; }
.cycle-status-card { display:grid; grid-template-columns:112px 1fr; align-items:center; gap:19px; padding:20px; border-radius:28px; color:#fff; background:linear-gradient(140deg,#a6605d,#793c46); box-shadow:0 21px 46px rgba(117,57,67,.22); }
.cycle-progress { display:grid; place-items:center; width:108px; height:108px; border-radius:50%; background:conic-gradient(#f7d5c4 var(--cycle-progress),rgba(255,255,255,.14) 0); }
.cycle-progress::before { content:""; grid-area:1/1; width:83px; height:83px; border-radius:50%; background:#8b4951; }
.cycle-progress span { z-index:1; grid-area:1/1; text-align:center; }
.cycle-progress small,.cycle-progress b { display:block; color:#fff; }
.cycle-progress small { font-size:7px; letter-spacing:.16em; opacity:.72; }
.cycle-progress b { font-family:"Fraunces",serif; font-size:34px; font-weight:500; }
.confidence-pill { display:inline-flex; margin-bottom:8px; padding:5px 7px; border:1px solid rgba(255,255,255,.18); border-radius:999px; color:#fae6db; background:rgba(255,255,255,.1); font-size:7px; letter-spacing:.13em; font-weight:800; }
.cycle-status-copy h2 { margin-bottom:6px; color:#fff; font-size:23px; }
.cycle-status-copy p { margin:0; color:rgba(255,255,255,.7); font-size:10px; line-height:1.5; }
.cycle-actions { display:grid; grid-template-columns:1fr auto; gap:8px; }
.cycle-actions .primary-button { justify-content:center; }
.cycle-actions .secondary-button { background:rgba(255,255,255,.6); }
.cycle-calendar-card,.today-checkin-card { padding:19px; border:1px solid var(--line); border-radius:25px; background:rgba(255,255,255,.76); box-shadow:0 13px 34px rgba(87,58,47,.06); }
.cycle-section-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.cycle-section-heading h2 { margin:0; font-size:22px; }
.cycle-today-button { padding:6px 9px; border:1px solid var(--line); border-radius:999px; color:var(--plum); background:var(--paper); font-size:8px; font-weight:700; cursor:pointer; }
.cycle-weekdays,.cycle-calendar { display:grid; grid-template-columns:repeat(7,1fr); gap:3px; }
.cycle-weekdays { margin:18px 0 5px; color:#a39189; text-align:center; font-size:6px; font-weight:800; }
.cycle-calendar button { position:relative; aspect-ratio:1; padding:0; border:0; border-radius:12px; background:transparent; font-size:9px; cursor:pointer; }
.cycle-calendar button.outside { opacity:.28; }
.cycle-calendar button.today { box-shadow:inset 0 0 0 1px var(--plum); font-weight:800; }
.cycle-calendar button.actual { color:#fff; background:var(--plum); }
.cycle-calendar button.predicted { box-shadow:inset 0 0 0 1px #d9907e; background:#fae4da; }
.cycle-calendar button.has-log::after { content:""; position:absolute; left:50%; bottom:3px; width:4px; height:4px; border-radius:50%; background:#79a18a; transform:translateX(-50%); box-shadow:0 0 0 2px rgba(255,255,255,.7); }
.cycle-legend { display:flex; flex-wrap:wrap; gap:10px; margin-top:13px; color:var(--muted); font-size:7px; }
.cycle-legend span { display:flex; align-items:center; gap:5px; }
.cycle-legend i { width:9px; height:9px; border-radius:4px; }
.cycle-legend .actual { background:var(--plum); }.cycle-legend .predicted { border:1px solid #d9907e; background:#fae4da; }.cycle-legend .symptom { border-radius:50%; background:#79a18a; }
#cycleTodayMark { padding:5px 7px; border-radius:999px; color:#9a8981; background:var(--paper-deep); font-size:7px; letter-spacing:.1em; font-weight:800; }
.today-checkin-empty { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:15px; padding:13px; border-radius:16px; background:var(--paper-deep); }
.today-checkin-empty p { margin:0; color:var(--muted); font-size:10px; }
.today-checkin-empty button { padding:7px 9px; border:0; border-radius:999px; color:#fff; background:var(--plum); font-size:8px; font-weight:700; cursor:pointer; }
.today-checkin-summary { display:flex; flex-wrap:wrap; gap:7px; margin-top:15px; }
.today-checkin-summary span { padding:7px 9px; border-radius:999px; color:var(--plum); background:#f7e2d9; font-size:9px; }
.cycle-insights { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.cycle-insights article { padding:16px; border-radius:20px; background:linear-gradient(145deg,#f9ede5,#fffaf4); border:1px solid var(--line); }
.cycle-insights article > span { display:grid; place-items:center; width:30px; height:30px; margin-bottom:14px; border-radius:10px; color:#fff; background:var(--plum); }
.cycle-insights small,.cycle-insights b { display:block; }.cycle-insights small { color:var(--plum-soft); font-size:6px; letter-spacing:.12em; font-weight:800; }.cycle-insights b { margin:5px 0; font-family:"Fraunces",serif; font-size:16px; }.cycle-insights p { margin:0; color:var(--muted); font-size:8px; line-height:1.45; }
.cycle-safety-note { display:flex; gap:10px; padding:13px; border-radius:16px; background:#e5efe8; color:#597562; }
.cycle-safety-note p { margin:0; font-size:8px; line-height:1.5; }
.cycle-setting-icon { color:#fff!important; background:var(--plum)!important; }
.cycle-modal { max-height:calc(100dvh - 24px); overflow-y:auto; }
.cycle-privacy-card { display:flex; gap:11px; align-items:center; margin-bottom:14px; padding:12px; border-radius:15px; color:#56725f; background:#e4eee7; }
.cycle-privacy-card > span { display:grid; place-items:center; width:33px; height:33px; border-radius:50%; background:rgba(255,255,255,.55); }
.cycle-privacy-card p { margin:0; }.cycle-privacy-card b,.cycle-privacy-card small { display:block; }.cycle-privacy-card b { font-size:10px; }.cycle-privacy-card small { margin-top:3px; font-size:8px; opacity:.78; }
.cycle-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.cycle-form-grid label,.cycle-log-date,.cycle-note-field { color:var(--muted); font-size:9px; font-weight:700; }
.cycle-form-grid label > span,.cycle-log-date > span,.cycle-note-field > span { display:block; margin:0 0 6px 2px; }
.cycle-form-grid .wide { grid-column:1/-1; }
.cycle-form-grid input,.cycle-form-grid select,.cycle-log-date input,.cycle-note-field textarea { width:100%; min-height:44px; padding:10px 11px; border:1px solid var(--line); border-radius:13px; outline:0; color:var(--ink); background:#fff; }
.input-with-unit { display:flex; align-items:center; border:1px solid var(--line); border-radius:13px; background:#fff; }
.input-with-unit input { min-width:0; border:0; background:transparent; }
.input-with-unit em { padding-right:10px; color:#a39189; font-size:8px; font-style:normal; }
.cycle-consent { margin:14px 0 0; }
.cycle-choice-group { margin:14px 0 0; padding:0; border:0; }
.cycle-choice-group legend { margin-bottom:7px; color:var(--plum-soft); font-size:8px; letter-spacing:.12em; font-weight:800; text-transform:uppercase; }
.cycle-choice-row { display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; }
.cycle-choice-row button,.cycle-symptom-grid button { padding:8px 10px; border:1px solid var(--line); border-radius:999px; white-space:nowrap; background:#fff; font-size:9px; cursor:pointer; }
.cycle-choice-row button.selected,.cycle-symptom-grid button.selected { color:#fff; border-color:var(--plum); background:var(--plum); }
.cycle-symptom-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
.cycle-symptom-grid button { white-space:normal; }
.cycle-log-date { display:block; }
.cycle-note-field { display:block; margin-top:14px; }
.cycle-note-field textarea { min-height:67px; resize:vertical; }
.care-note h3 { margin: 5px 0; font-size: 13px; }
.care-note p { margin: 0; color: #7d6b66; font-size: 10px; line-height: 1.45; }

.profile-hero { display: flex; align-items: center; gap: 15px; padding: 13px 0 26px; }
.profile-avatar { flex: 0 0 66px; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; color: white; background: linear-gradient(145deg, #efb39e, #874952); font-family: "Fraunces", serif; font-size: 20px; }
.profile-hero h1 { margin: 0 0 3px; font-size: 32px; }
.profile-hero span { color: var(--muted); font-size: 10px; }
.settings-section { margin-bottom: 22px; }
.settings-section h2 { margin: 0 0 8px 4px; font-family: inherit; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; color: var(--plum-soft); }
.settings-row { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; width: 100%; min-height: 63px; padding: 10px 13px; border: 0; border-bottom: 1px solid var(--line); text-align: left; background: rgba(255,255,255,.68); }
.settings-row:first-of-type { border-radius: 17px 17px 0 0; }
.settings-row:last-child { border-bottom: 0; border-radius: 0 0 17px 17px; }
button.settings-row { cursor: pointer; }
.settings-row > span:nth-child(2) b, .settings-row > span:nth-child(2) small { display: block; }
.settings-row b { font-size: 12px; }
.settings-row small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.setting-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--paper-deep); color: var(--plum); }
.danger b { color: #9f405e; }
.premium-card { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 20px; border-radius: 23px; color: white; background: linear-gradient(135deg, #99535b, #68313b); }
.premium-card h2 { margin: 5px 0; color: white; font-size: 22px; }
.premium-card p { margin: 0; color: rgba(255,255,255,.68); font-size: 10px; line-height: 1.45; }
.premium-card small { color: #eecddd; font-size: 8px; letter-spacing: .13em; }
.premium-card button { grid-column: 2; justify-self: start; margin-top: 6px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,255,255,.7); background: transparent; font-size: 9px; }
.premium-star { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #f0ccda; background: rgba(255,255,255,.1); }
.version-label { margin: 18px 0 0; text-align: center; color: #9d919c; font-size: 9px; }
.switch { position: relative; display: inline-block; width: 42px; height: 24px; }
.switch input { width: 0; height: 0; opacity: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #d7cfd6; cursor: pointer; transition: .2s; }
.switch span::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: white; box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: .2s; }
.switch input:checked + span { background: #76507d; }
.switch input:checked + span::before { transform: translateX(18px); }

.auth-gate { position: fixed; z-index: 130; inset: 0; display: grid; place-items: center; min-height: 100dvh; padding: 16px; overflow-y: auto; background: radial-gradient(circle at 80% 10%, rgba(239,179,158,.55), transparent 30rem), linear-gradient(150deg, #f8efe4, #e4eee7); }
.auth-card { width: min(100%, 470px); min-height: min(700px, calc(100dvh - 32px)); padding: 26px; border: 1px solid rgba(255,255,255,.68); border-radius: 32px; background: rgba(255,252,250,.83); box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.auth-card h1 { margin-bottom: 12px; font-size: clamp(34px, 9vw, 47px); line-height: 1.03; text-align: center; }
.auth-step { padding-top: 22px; text-align: center; animation: screenIn .35s ease; }
.auth-loading { display: grid; place-items: center; min-height: 430px; color: var(--muted); font-size: 12px; }
.auth-spinner { display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 14px; border-radius: 50%; color: white; background: var(--plum); font-size: 25px; animation: spin 3.2s linear infinite; box-shadow: 0 18px 36px rgba(62,33,71,.22); }
.captcha-frame { position: relative; display: grid; place-items: center; margin: 10px 0 16px; padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.captcha-frame img { width: 220px; max-width: 100%; height: 96px; }
.captcha-frame button { position: absolute; right: 10px; bottom: 8px; padding: 6px 9px; border: 0; border-radius: 999px; color: var(--plum-soft); background: rgba(255,255,255,.92); font-size: 9px; font-weight: 700; cursor: pointer; }
.auth-label { display: block; margin: 0 0 7px 2px; text-align: left; color: var(--muted); font-size: 10px; font-weight: 700; }
.auth-input { width: 100%; margin-bottom: 13px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; outline: 0; background: #fff; color: var(--ink); text-align: center; letter-spacing: .34em; font-family: "Fraunces", serif; font-size: 25px; }
.auth-input:focus { border-color: #7b4f81; box-shadow: 0 0 0 3px rgba(123,79,129,.12); }
.auth-footnote { margin: 13px 10px 0; color: #968b95; font-size: 9px; line-height: 1.45; }
.auth-error { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; color: #8e3552; background: #f6dfe6; font-size: 10px; text-align: center; }
.privacy-list { display: grid; gap: 8px; margin: 4px 0 18px; padding: 0; list-style: none; text-align: left; }
.privacy-list li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 13px; background: rgba(255,255,255,.66); color: var(--muted); font-size: 10px; }
.privacy-list li span { color: #725076; font-weight: 800; }
.privacy-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: left; cursor: pointer; }
.privacy-check input { margin-top: 2px; accent-color: var(--plum); }
.privacy-check span { color: var(--muted); font-size: 10px; line-height: 1.5; }
.transfer-panel { margin-top: 1px; padding: 18px; text-align: center; background: rgba(255,255,255,.72); border-radius: 0 0 17px 17px; }
.transfer-panel img { display: block; width: 190px; max-width: 100%; margin: 0 auto 12px; border-radius: 14px; }
.transfer-panel small { display: block; color: var(--plum-soft); font-size: 8px; letter-spacing: .14em; font-weight: 700; }
.transfer-panel strong { display: block; margin: 7px 0; font-family: "Fraunces", serif; font-size: 25px; letter-spacing: .14em; }
.transfer-panel p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.transfer-apply { display: flex; gap: 7px; margin-top: 8px; }
.transfer-apply input { flex: 1; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 13px; outline: 0; background: #fff; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
.transfer-apply button { padding: 0 15px; border: 0; border-radius: 13px; color: #fff; background: var(--plum); font-size: 10px; font-weight: 700; cursor: pointer; }

.bottom-nav { position: fixed; z-index: 50; left: 50%; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); width: min(100%, 760px); padding: 10px 10px var(--safe-bottom); transform: translateX(-50%); background: rgba(253,250,249,.93); border-top: 1px solid rgba(57,33,62,.08); backdrop-filter: blur(20px); }
.bottom-nav button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 5px 2px; border: 0; background: transparent; color: #998e98; cursor: pointer; }
.bottom-nav button span { display: grid; place-items: center; width: 30px; height: 25px; border-radius: 10px; font-size: 17px; }
.bottom-nav button small { font-size: 8px; font-weight: 600; }
.bottom-nav button.active { color: var(--plum); }
.bottom-nav button.active span { background: var(--paper-deep); }
.bottom-nav button.disabled { opacity: .35; }

.onboarding { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; min-height: 100dvh; padding: max(10px, env(safe-area-inset-top)) 12px max(10px, env(safe-area-inset-bottom)); overflow: hidden; background: radial-gradient(circle at 80% 10%, rgba(239,179,158,.5), transparent 30rem), linear-gradient(150deg, #f8efe4, #e4eee7); }
.onboarding-card { display: flex; flex-direction: column; width: min(100%, 470px); height: min(820px, calc(100dvh - max(20px, env(safe-area-inset-top)) - max(20px, env(safe-area-inset-bottom)))); min-height: 0; padding: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.65); border-radius: 32px; background: rgba(255,252,250,.77); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.brand-onboarding { justify-content: center; margin-bottom: 19px; }
.locale-control { display: flex; align-self: center; margin: -5px 0 13px; padding: 3px; border-radius: 999px; background: rgba(68,38,73,.07); }
.locale-control button { width: 42px; height: 27px; border: 0; border-radius: 999px; background: transparent; color: #8d818c; font-size: 9px; font-weight: 800; cursor: pointer; }
.locale-control button.active { color: #fff; background: var(--plum); box-shadow: 0 4px 12px rgba(62,33,71,.18); }
.onboarding-progress { display: flex; gap: 5px; justify-content: center; }
.onboarding-progress span { width: 23px; height: 3px; border-radius: 99px; background: rgba(68,38,73,.12); transition: .3s; }
.onboarding-progress span.active { background: var(--plum); }
.onboarding-step { display: none; flex: 1; min-height: 0; padding: 23px 2px 10px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; text-align: center; animation: screenIn .35s ease; }
.onboarding-step.active { display: flex; flex-direction: column; justify-content: flex-start; }
.onboarding-step[data-onboarding-step="0"].active { justify-content: center; }
.onboarding-step h1, .onboarding-step h2 { max-width: 390px; margin: 0 auto 12px; font-size: clamp(35px, 10vw, 49px); line-height: 1.03; }
.onboarding-step h2 { font-size: clamp(31px, 8vw, 43px); }
.lead { max-width: 370px; margin: 0 auto; color: var(--muted); font-size: 14px; line-height: 1.6; }
.lead.compact { margin-bottom: 22px; }
.verse-orbit { position: relative; width: 210px; height: 210px; margin: 4px auto 26px; }
.verse-core { position: absolute; z-index: 2; inset: 48px; display: grid; place-items: center; border-radius: 50%; color: white; background: radial-gradient(circle at 35% 25%, #f2c1aa, #a6605d 68%, #743841); box-shadow: 0 24px 50px rgba(129,66,69,.25); font-family: "Fraunces", serif; font-size: 50px; }
.orbit { position: absolute; inset: 20px; border: 1px solid rgba(101,61,109,.23); border-radius: 50%; }
.orbit-b { inset: 0; border-style: dashed; animation: spin 28s linear infinite; }
.verse-orbit .star { position: absolute; z-index: 3; color: #86567f; font-style: normal; }
.star-a { top: 14px; right: 27px; font-size: 23px; }.star-b { bottom: 14px; left: 25px; font-size: 25px; }.star-c { right: 5px; bottom: 63px; font-size: 32px; }
@keyframes spin { to { transform: rotate(360deg); } }
.interest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.interest-chip { display: flex; align-items: center; gap: 10px; min-height: 57px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.65); font-size: 12px; font-weight: 600; cursor: pointer; }
.interest-chip span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--paper-deep); }
.interest-chip.selected { border-color: var(--plum); background: color-mix(in srgb, var(--peach) 42%, white); box-shadow: inset 0 0 0 1px var(--plum); }
.module-picker .interest-chip { display:grid; grid-template-columns:30px 1fr; grid-template-rows:auto auto; text-align:left; }
.module-picker .interest-chip span { grid-row:1 / span 2; }.module-picker .interest-chip small { color:var(--muted); font-size:8px; font-weight:500; }.module-picker .health-module span { color:#527362; background:#e4eee7; }
.onboarding-review { display:grid; gap:8px; margin-bottom:12px; }.onboarding-review div { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px; border:1px solid var(--line); border-radius:14px; text-align:left; background:rgba(255,255,255,.7); }.onboarding-review span { color:var(--plum-soft); font-size:8px; letter-spacing:.13em; font-weight:800; }.onboarding-review strong { font-size:10px; text-align:right; }
.profile-label { display:block; margin:0 0 7px 2px; text-align:left; color:var(--muted); font-size:10px; font-weight:700; }
.profile-input, .profile-form-grid input, .profile-form-grid textarea { width:100%; padding:12px 13px; border:1px solid var(--line); border-radius:13px; outline:0; background:#fff; color:var(--ink); }
.profile-input:focus, .profile-form-grid input:focus, .profile-form-grid textarea:focus { border-color:var(--plum-soft); box-shadow:0 0 0 3px rgba(112,72,119,.1); }
.choice-cloud { display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; }
.choice-cloud button { padding:8px 10px; border:1px solid var(--line); border-radius:999px; background:rgba(255,255,255,.72); font-size:10px; cursor:pointer; }
.choice-cloud button.selected { border-color:var(--plum); color:#fff; background:var(--plum); }
.optional-note { margin:12px 0 0; color:#968b95; font-size:9px; line-height:1.5; }
.theme-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; }
.theme-grid button { display:grid; place-items:center; gap:5px; min-height:64px; padding:7px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.7); font-size:9px; cursor:pointer; }
.theme-grid button.selected { border-color:var(--plum); box-shadow:inset 0 0 0 1px var(--plum); }
.theme-swatch { width:31px; height:31px; border-radius:50%; box-shadow:inset 0 0 0 3px rgba(255,255,255,.55); }
.theme-beige { background:linear-gradient(135deg,#b69b7b,#eadfcd); }.theme-peach { background:linear-gradient(135deg,#c77d68,#ffd2bf); }.theme-mint { background:linear-gradient(135deg,#648675,#c9dfd2); }.theme-marsala { background:linear-gradient(135deg,#773b45,#c98280); }
.color-field { display:flex; align-items:center; justify-content:space-between; margin:9px 0; padding:8px 11px; border:1px solid var(--line); border-radius:13px; background:rgba(255,255,255,.7); color:var(--muted); font-size:10px; font-weight:700; }
.color-field input { width:40px; height:28px; padding:0; border:0; border-radius:9px; background:transparent; cursor:pointer; }
.color-cloud { display:flex; justify-content:center; gap:9px; margin-top:12px; }
.color-cloud button { width:27px; height:27px; padding:0; border:3px solid rgba(255,255,255,.8); border-radius:50%; background:var(--chip); box-shadow:0 0 0 1px var(--line); cursor:pointer; }
.color-cloud button.selected { box-shadow:0 0 0 2px var(--plum); transform:scale(1.08); }
.style-example-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:12px; }
.style-example-grid > button { display:grid; grid-template-columns:54px 1fr; grid-template-rows:auto auto; column-gap:8px; align-items:center; min-height:72px; padding:8px; border:1px solid var(--line); border-radius:15px; background:rgba(255,255,255,.72); text-align:left; cursor:pointer; }
.style-example-grid > button.selected { border-color:var(--plum); background:color-mix(in srgb,var(--peach) 30%,white); box-shadow:inset 0 0 0 1px var(--plum); }
.style-example-grid b { align-self:end; font-size:10px; }.style-example-grid small { align-self:start; color:var(--muted); font-size:7px; line-height:1.25; }
.outfit { position:relative; grid-row:1 / 3; width:52px; height:52px; overflow:hidden; border-radius:12px; background:#f0e5d8; }
.outfit i { position:absolute; display:block; background:#a6605d; }
.outfit i:nth-child(1) { top:7px; left:18px; width:16px; height:18px; border-radius:5px 5px 2px 2px; }
.outfit i:nth-child(2) { top:25px; left:14px; width:24px; height:22px; clip-path:polygon(18% 0,82% 0,100% 100%,0 100%); }
.outfit i:nth-child(3) { top:12px; right:7px; width:7px; height:22px; border-radius:5px; background:#dfcfb8; }
.outfit-romantic { background:#fae0d6; }.outfit-romantic i:nth-child(1),.outfit-romantic i:nth-child(2){background:#d98582}.outfit-romantic i:nth-child(2){border-radius:50% 50% 5px 5px}
.outfit-natural { background:#e4eee7; }.outfit-natural i:nth-child(1),.outfit-natural i:nth-child(2){background:#7f947d}.outfit-natural i:nth-child(3){background:#c6aa7e}
.outfit-bold { background:#f1d1c7; }.outfit-bold i:nth-child(1){left:10px;width:31px;background:#874952}.outfit-bold i:nth-child(2){background:#d97963;clip-path:polygon(0 0,100% 12%,76% 100%,12% 86%)}
.outfit-classic { background:#e8ddca; }.outfit-classic i:nth-child(1),.outfit-classic i:nth-child(2){background:#584a42}.outfit-classic i:nth-child(3){background:#a6605d}
.outfit-bohemian { background:#f1dfca; }.outfit-bohemian i:nth-child(1),.outfit-bohemian i:nth-child(2){background:#b87558}.outfit-bohemian i:nth-child(2){clip-path:polygon(30% 0,70% 0,100% 100%,0 100%)}
.preference-block { margin:0 0 10px; padding:11px; border:1px solid var(--line); border-radius:15px; background:rgba(255,255,255,.58); text-align:left; }
.preference-block h3 { display:flex; align-items:center; gap:7px; margin:0; font-family:inherit; font-size:10px; }.preference-block .choice-cloud { margin-top:8px; }
.profile-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; text-align:left; }
.profile-form-grid label { color:var(--muted); font-size:9px; font-weight:700; }
.profile-form-grid label span { display:block; margin:0 0 5px 2px; }
.profile-form-grid .wide { grid-column:1 / -1; }
.profile-form-grid textarea { min-height:65px; resize:vertical; }
.balance-preview { margin-top:28px; }.balance-heading h2 { font-size:24px; }.balance-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.balance-grid article { min-width:0; padding:15px 12px; border:1px solid var(--line); border-radius:18px; background:linear-gradient(145deg,rgba(255,255,255,.82),var(--paper-deep)); }
.balance-grid article > span { display:grid; place-items:center; width:31px; height:31px; margin-bottom:12px; border-radius:10px; color:white; background:var(--plum); }
.balance-grid small,.balance-grid b { display:block; }.balance-grid small { color:var(--plum-soft); font-size:7px; letter-spacing:.12em; font-weight:800; }.balance-grid b { margin:6px 0; font-family:"Fraunces",serif; font-size:13px; }.balance-grid p { margin:0; color:var(--muted); font-size:8px; line-height:1.4; }
.consent-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 9px; padding: 15px; text-align: left; border-radius: 16px; background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.consent-card strong, .consent-card span { display: block; }
.consent-card strong { font-size: 12px; }.consent-card div span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.safety-note { display: flex; gap: 11px; margin-top: 8px; padding: 13px; border-radius: 15px; background: var(--paper-deep); text-align: left; }
.safety-note p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.onboarding-actions { flex: 0 0 auto; display: flex; gap: 9px; padding-top: 10px; }
.grow { flex: 1; }

.install-banner { position: fixed; z-index: 120; top: 12px; left: 50%; display: grid; grid-template-columns: 38px 1fr auto auto; align-items: center; gap: 10px; width: min(calc(100% - 24px), 500px); padding: 10px; border-radius: 17px; background: rgba(255,255,255,.94); box-shadow: 0 18px 50px rgba(45,24,49,.2); transform: translateX(-50%); backdrop-filter: blur(14px); }
.install-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: white; background: var(--plum); }
.install-banner strong, .install-banner span { display: block; }.install-banner strong { font-size: 11px; }.install-banner span { color: var(--muted); font-size: 9px; }
.text-button, .icon-button { border: 0; background: none; cursor: pointer; }.text-button { color: var(--plum-soft); font-size: 11px; font-weight: 700; }.icon-button.mini { font-size: 18px; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 105px; max-width: calc(100% - 40px); padding: 10px 14px; border-radius: 999px; background: #2e1c33; color: white; font-size: 11px; opacity: 0; transform: translate(-50%, 12px); transition: .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.preview-dock { position:fixed; z-index:260; left:50%; top:max(8px,env(safe-area-inset-top)); display:flex; align-items:center; gap:5px; padding:5px; transform:translateX(-50%); border:1px solid rgba(255,255,255,.65); border-radius:999px; background:rgba(59,44,40,.9); box-shadow:0 10px 35px rgba(59,44,40,.2); backdrop-filter:blur(16px); }
.preview-dock b { padding:0 7px; color:#f5d3c3; font-size:7px; letter-spacing:.12em; white-space:nowrap; }
.preview-dock button { padding:7px 9px; border:0; border-radius:999px; color:#3b2d29; background:#fffaf4; font-size:8px; font-weight:700; cursor:pointer; }
.modal-backdrop { position: fixed; z-index: 150; inset: 0; display: grid; place-items: end center; padding: 16px; background: rgba(31,20,34,.38); backdrop-filter: blur(6px); }
.data-modal { position: relative; width: min(100%, 520px); padding: 25px; border-radius: 28px; background: #fffaf8; box-shadow: var(--shadow); animation: sheetIn .3s ease; }
@keyframes sheetIn { from { transform: translateY(25px); opacity: 0; } }
.data-modal h2 { font-size: 26px; }.data-modal > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 10px; }
.data-modal pre { max-height: 260px; padding: 14px; overflow: auto; border-radius: 14px; color: #e9dce9; background: #2e1c33; font-size: 9px; white-space: pre-wrap; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #eee5ef; cursor: pointer; }
.personalization-modal { max-height:calc(100dvh - 32px); overflow-y:auto; }
.modal-lead { margin:-4px 30px 17px 0; color:var(--muted); font-size:10px; line-height:1.5; }
.form-section-title { margin:20px 0 9px; font-family:inherit; color:var(--plum-soft); font-size:9px; letter-spacing:.13em; text-transform:uppercase; }
.personalization-modal .primary-button { width:100%; margin-top:18px; }
.modal-actions { display:flex; gap:8px; margin-top:17px; }
.modal-actions > * { flex:1; }
.magic-setup-modal { max-height:calc(100dvh - 32px); overflow-y:auto; }

@media (min-width: 760px) {
  body { padding: 28px 0; }
  .app-shell { min-height: calc(100vh - 56px); border-radius: 38px; }
  .app-header { top: 28px; border-radius: 38px 38px 0 0; }
  .bottom-nav { bottom: 28px; border-radius: 0 0 38px 38px; }
  .screen { padding-left: 46px; padding-right: 46px; }
}

@media (max-width: 430px) {
  .screen { padding-left: 17px; padding-right: 17px; }
  .home-hero { min-height: 190px; }.home-hero h1 { font-size: 36px; }.moon-illustration { flex-basis: 82px; transform: scale(.85); transform-origin: top right; }
  .ritual-card { grid-template-columns: 43px 1fr; padding: 20px 17px; }.ritual-icon { width: 40px; height: 40px; }
  .magic-grid { grid-template-columns: 1fr; }
  .balance-grid { grid-template-columns:1fr; }
  .theme-grid { grid-template-columns:repeat(2,1fr); }
  .profile-form-grid { grid-template-columns:1fr; }.profile-form-grid .wide { grid-column:auto; }
  .modal-actions { flex-direction:column-reverse; }
  .cycle-intro { display:block; }.local-data-badge { display:inline-flex; margin-top:9px; }
  .cycle-status-card { grid-template-columns:91px 1fr; gap:13px; padding:16px; }.cycle-progress { width:88px; height:88px; }.cycle-progress::before { width:68px; height:68px; }.cycle-progress b { font-size:28px; }
  .cycle-status-copy h2 { font-size:19px; }.cycle-actions { grid-template-columns:1fr; }.cycle-actions .secondary-button { min-height:42px; }
  .cycle-calendar-card,.today-checkin-card { padding:15px; }.cycle-insights { gap:7px; }.cycle-insights article { padding:13px; }
  .cycle-form-grid { grid-template-columns:1fr 1fr; }.cycle-symptom-grid { grid-template-columns:repeat(2,1fr); }
  .onboarding { padding-left: 8px; padding-right: 8px; }
  .onboarding-card { height: calc(100dvh - max(16px, env(safe-area-inset-top)) - max(16px, env(safe-area-inset-bottom))); padding: 18px; border-radius: 25px; }
  .brand-onboarding { margin-bottom: 11px; }
  .onboarding-step { padding: 15px 2px 8px; }
  .onboarding-step h1, .onboarding-step h2 { font-size: clamp(29px, 8.2vw, 37px); }
  .onboarding-step h2 { font-size: clamp(27px, 7.6vw, 34px); }
  .lead.compact { margin-bottom: 15px; }
  .style-example-grid > button { grid-template-columns:46px 1fr; min-height:64px; }.outfit { width:44px; height:48px; }
  .verse-orbit { transform: scale(.78); margin-top: -22px; margin-bottom: -8px; }
  .auth-card { min-height: calc(100dvh - 24px); padding: 21px; border-radius: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
