/* Brain Dump — warm off-white, nude pinks, soft pastels, sleek black accents */
:root {
  --bg: #F6F1EC; --card: #FFFFFF; --ink: #1F1B1A; --ink2: #3A3331; --muted: #9A8E88; --line: #EDE5DF;
  --nude: #E7BDB3; --blush: #F3D9D2; --rose: #C98B82; --sand: #EADBC8; --butter: #F3DE9C;
  --sage: #BFCDA9; --olive: #8E9E73; --sky: #C7D7E8; --slate: #7F98B8; --lilac: #D9D0EC;
  --work: #7F98B8; --life: #D99A8E; --danger: #D46A5E; --bar: #1F1B1A; --fab: #E7BDB3;
  --r: 22px; --r-s: 14px;
  --shadow: 0 1px 2px rgba(60, 40, 30, .04), 0 8px 24px rgba(60, 40, 30, .06);
  --font: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; -webkit-font-smoothing: antialiased; }
body.noscroll { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-size: 32px; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; }
h1 .light { color: var(--muted); font-weight: 500; }
h2 { font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 15px; font-weight: 650; }
small { font-size: 12.5px; }
.ic { display: block; flex: none; }
.muted { color: var(--muted); } .small { font-size: 13px; } .center { text-align: center; }
.row { display: flex; align-items: center; } .wrap { flex-wrap: wrap; } .grow { flex: 1; }
.gap { gap: 10px; } .gap-s { gap: 6px; }
.mt { margin-top: 16px; } .mt-s { margin-top: 8px; } .pad { padding: 20px; } .pad-s { padding: 4px 4px 8px; }

.view { max-width: 680px; margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 18px) 18px calc(var(--safe-b) + 110px); }
.top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 8px 2px 18px; }
.eyebrow { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .02em; margin-bottom: 4px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--nude), var(--rose)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 19px; box-shadow: var(--shadow); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 650; font-size: 15px; transition: transform .12s; }
.btn:active, .icon-btn:active, .chip:active { transform: scale(.96); }
.btn.primary { background: var(--ink); color: #fff; }
.btn.soft { background: var(--blush); color: var(--ink); }
.btn.ghost { background: transparent; border: 1.5px solid var(--line); }
.btn.danger { background: var(--danger); color: #fff; }
.btn.danger-t { color: var(--danger); padding: 0 16px; }
.btn.small { height: 36px; padding: 0 14px; font-size: 14px; }
.btn.block { display: flex; width: 100%; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--card); display: grid; place-items: center; box-shadow: var(--shadow); flex: none; }
.icon-btn.s { width: 34px; height: 34px; box-shadow: none; background: transparent; }
.link { color: var(--rose); font-weight: 600; font-size: 14px; }

/* ---------- cards & sections ---------- */
.card { background: var(--card); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); margin-bottom: 14px; }
.card.soft-pink { background: var(--blush); box-shadow: none; }
.card.list { padding: 4px 14px; }
.sec { margin: 22px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; min-height: 34px; }
.empty { text-align: center; padding: 44px 24px; color: var(--muted); }
.empty .em { font-size: 44px; margin-bottom: 10px; }
.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--card); font-size: 13px; font-weight: 600; }
.pill.sky { background: var(--sky); } .pill.butter { background: var(--butter); }
.tag { display: inline-block; font-size: 12px; font-weight: 650; padding: 4px 10px; border-radius: 999px; }
.tag.work { background: var(--sky); color: #3D5677; }
.bar { height: 8px; border-radius: 999px; background: rgba(31, 27, 26, .08); overflow: hidden; width: 100%; }
.bar span { display: block; height: 100%; border-radius: 999px; transition: width .4s; }

/* ---------- chips & segmented ---------- */
.chips { display: flex; gap: 8px; margin-bottom: 14px; }
.chips.scroll { overflow-x: auto; scrollbar-width: none; margin: 0 -18px 14px; padding: 0 18px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow); flex: none; }
.chip.on { background: var(--ink); color: #fff; }
.chip.layer.on { background: var(--card); color: var(--ink); outline: 2px solid var(--ink); }
.chip.layer:not(.on) { opacity: .45; }
.chip.back { margin: -6px 0 12px; }
.seg { display: flex; background: rgba(31, 27, 26, .06); border-radius: 999px; padding: 4px; margin-bottom: 12px; }
.seg button { flex: 1; height: 38px; border-radius: 999px; font-weight: 650; font-size: 14px; color: var(--ink2); text-align: center; }
.seg button.on { background: var(--card); box-shadow: var(--shadow); color: var(--ink); }
.period { display: flex; justify-content: space-between; align-items: center; font-weight: 650; margin-bottom: 12px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot.work { background: var(--work); } .dot.life { background: var(--life); } .dot.note { background: var(--olive); }

/* ---------- week strip ---------- */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 18px; }
.wd { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 0; border-radius: 999px; background: var(--card); position: relative; }
.wd small { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.wd b { font-size: 17px; }
.wd.now b { color: var(--rose); }
.wd.sel { background: var(--ink); color: #fff; } .wd.sel small { color: rgba(255, 255, 255, .6); } .wd.sel b { color: #fff; }
.wd.clash::after { content: ''; position: absolute; top: 6px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); }

/* ---------- lists / tasks ---------- */
.li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.li:last-child { border-bottom: 0; }
.soft-pink .li { border-color: rgba(201, 139, 130, .2); }
.li-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.li-main b { font-weight: 550; font-size: 15.5px; }
.li-main small { color: var(--muted); }
.li.done .li-main b { text-decoration: line-through; color: var(--muted); }
.tick { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #D8CBC4; display: grid; place-items: center; color: transparent; flex: none; transition: all .15s; }
.tick.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.star { color: #DCCFC8; } .star.on { color: #D9A441; } .star.on svg { fill: #F3DE9C; }
.late { color: var(--danger); font-weight: 600; }

/* ---------- events ---------- */
.evs { display: flex; flex-direction: column; gap: 8px; }
.ev { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: var(--r-s); padding: 12px 14px 12px 0; box-shadow: var(--shadow); width: 100%; overflow: hidden; }
.ev-bar { width: 5px; align-self: stretch; border-radius: 0 4px 4px 0; }
.ev.work .ev-bar { background: var(--work); } .ev.life .ev-bar { background: var(--life); }
.ev.work { background: #EEF3F9; } .ev.life { background: #FBEDEA; }
.ev-time { width: 58px; font-size: 13.5px; font-weight: 650; display: flex; flex-direction: column; }
.ev-time small { color: var(--muted); font-weight: 500; }
.ev-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ev-main b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-main small { color: var(--muted); }
.ev.clash { outline: 2px solid var(--danger); }
.clash-ic { color: var(--danger); }
.alert { display: flex; gap: 10px; align-items: flex-start; background: #FBE3DF; color: #9C3F35; border-radius: var(--r-s); padding: 12px 14px; margin-bottom: 10px; }
.alert div { display: flex; flex-direction: column; gap: 2px; }

/* ---------- calendar ---------- */
.cal { padding: 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-grid.head span { text-align: center; font-size: 12px; color: var(--muted); font-weight: 650; padding: 4px 0 8px; }
.cd { height: 50px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-weight: 600; font-size: 15px; position: relative; }
.cd .dots { display: flex; gap: 3px; height: 7px; }
.cd .dot { width: 5px; height: 5px; }
.cd.out { color: #CFC4BE; }
.cd.now span { color: var(--rose); font-weight: 800; }
.cd.sel { background: var(--ink); color: #fff; } .cd.sel span { color: #fff; }
.cd.has-clash::after { content: ''; position: absolute; top: 5px; right: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--danger); }

/* ---------- habits ---------- */
.habits { display: flex; flex-direction: column; gap: 10px; }
.habit { background: var(--card); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.h-head { display: flex; align-items: center; gap: 12px; width: 100%; }
.h-emo { width: 42px; height: 42px; border-radius: 14px; background: var(--hc); display: grid; place-items: center; font-size: 21px; }
.h-name { flex: 1; display: flex; flex-direction: column; } .h-name small { color: var(--muted); }
.h-stage { font-size: 24px; }
.h-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.hd { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hd small { color: var(--muted); font-size: 11px; font-weight: 600; }
.hd i { width: 100%; max-width: 40px; height: 34px; border-radius: 999px; background: #F3EDE8; display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--ink); transition: all .15s; }
.hd.on i { background: var(--hc); }
.hd.now i { box-shadow: inset 0 0 0 2px var(--ink); }
.hd:disabled i { opacity: .4; }
.plant { display: flex; align-items: center; gap: 16px; border-radius: var(--r); padding: 18px; }
.plant-e { font-size: 54px; }
.plant div { display: flex; flex-direction: column; gap: 2px; } .plant b { font-size: 20px; }
.why { font-style: italic; color: var(--ink2); margin-top: 14px; }
.heat { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: column; grid-template-rows: repeat(7, 1fr); gap: 4px; margin-top: 8px; }
.heat i { aspect-ratio: 1; border-radius: 5px; background: #F1EAE5; }
.heat i.fut { opacity: .35; }

/* ---------- money ---------- */
.hero { background: var(--card); border-radius: 28px; padding: 20px; box-shadow: var(--shadow); }
.hero small { color: var(--muted); font-weight: 600; }
.big { font-size: 48px; font-weight: 750; letter-spacing: -.03em; line-height: 1.1; margin: 2px 0 12px; }
.big .cur { font-size: 16px; color: var(--muted); font-weight: 600; margin-left: 6px; letter-spacing: 0; }
.chart { display: flex; gap: 6px; align-items: flex-end; height: 150px; margin-top: 18px; }
.chart.month { gap: 2px; }
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; }
.chart .track { flex: 1; width: 100%; max-width: 38px; background: #F4EEEA; border-radius: 999px; display: flex; align-items: flex-end; overflow: hidden; }
.chart.month .track { max-width: 10px; }
.chart .track span { display: block; width: 100%; background: var(--nude); border-radius: 999px; }
.chart .col.on .track span { background: var(--rose); }
.chart em { font-style: normal; font-size: 10.5px; color: var(--muted); font-weight: 600; height: 13px; }
.chart i { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 650; height: 14px; }
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bk { border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 6px; min-height: 140px; }
.bk-top { display: flex; justify-content: space-between; align-items: center; }
.emo { width: 36px; height: 36px; border-radius: 12px; background: rgba(255, 255, 255, .55); display: grid; place-items: center; font-size: 18px; }
.badge { background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.bk b { font-size: 15px; margin-top: auto; } .bk .amt { font-size: 22px; font-weight: 750; letter-spacing: -.02em; }
.bk small { color: rgba(31, 27, 26, .6); font-weight: 600; }
.bk .bar { background: rgba(255, 255, 255, .55); }
.hero-s { border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.hero-s b { font-size: 32px; font-weight: 750; } .hero-s small { color: rgba(31, 27, 26, .65); font-weight: 600; }
.hero-s .bar { background: rgba(255, 255, 255, .5); }
.txn { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
.txn span { display: flex; flex-direction: column; } .txn small { color: var(--muted); }

/* ---------- tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0; }
.tile { border-radius: var(--r); padding: 16px; min-height: 130px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; position: relative; overflow: hidden; }
.tile b { font-size: 26px; font-weight: 750; letter-spacing: -.02em; position: relative; }
.tile small { color: rgba(31, 27, 26, .6); font-weight: 600; position: relative; }
.tile.sand { background: var(--sand); } .tile.blush { background: var(--blush); }
.tile-img { position: absolute; top: 8px; right: 8px; width: 60%; opacity: .5; }

/* ---------- annual ---------- */
.hero.annual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.stat { display: flex; flex-direction: column; align-items: center; position: relative; }
.stat b { position: absolute; top: 30px; font-size: 17px; font-weight: 750; }
.stat small { text-align: center; margin-top: 4px; }
.ring { width: 84px; height: 84px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.ring .ring-bg { stroke: #F3EDE8; }
.ann { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ann:last-child { border-bottom: 0; }
.ann > span:first-child { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ann small { color: var(--muted); }
.ann em { font-style: normal; font-weight: 750; }
.ann.win { flex-wrap: nowrap; justify-content: flex-start; }
.ann.win img, .w-emo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; display: grid; place-items: center; background: var(--butter); font-size: 22px; flex: none; }

/* ---------- fun & recipes ---------- */
.fun-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fun { background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.fun img, .fun-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--blush); display: grid; place-items: center; font-size: 40px; }
.fun:nth-child(3n+2) .fun-ph { background: var(--sky); } .fun:nth-child(3n) .fun-ph { background: var(--sand); }
.fun-b { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.fun-b small { color: var(--muted); }
.fun.is-done { opacity: .55; }
.fun-link { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; }
.recipe .r-hero img { width: 100%; max-height: 300px; object-fit: cover; display: block; border-radius: 28px 28px 0 0; }
.ing { list-style: none; padding: 0; margin: 8px 0; } .ing li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.ing input { accent-color: var(--rose); width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; }
.steps { padding-left: 22px; } .steps li { padding: 6px 0; line-height: 1.45; }

/* ---------- notes ---------- */
.search { width: 100%; height: 46px; border-radius: 999px; border: 0; background: var(--card); padding: 0 18px; margin-bottom: 14px; box-shadow: var(--shadow); outline: none; }
.note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.note-card { background: var(--card); border-radius: var(--r); padding: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; min-height: 150px; }
.note-card small { color: var(--muted); }
.nthumb { width: 100%; height: 100px; object-fit: contain; object-position: top left; background: #FDFBF9; border-radius: 10px; }
.nthumb.cover { object-fit: cover; }
.ntext { font-size: 13px; color: var(--ink2); height: 100px; overflow: hidden; }
.note-ed { display: flex; flex-direction: column; height: 100%; }
.note-top { display: flex; align-items: center; gap: 10px; padding: 4px 16px 8px; }
.note-title { flex: 1; border: 0; background: none; font-size: 20px; font-weight: 700; outline: none; min-width: 0; }
.tools { display: flex; align-items: center; gap: 6px; padding: 8px 16px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tool { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; font-size: 14px; }
.tool.on { background: var(--blush); }
.hl-ic { width: 18px; height: 10px; background: #F3DE9C; border-radius: 3px; transform: rotate(-20deg); }
.ink { width: 26px; height: 26px; border-radius: 50%; flex: none; border: 3px solid transparent; }
.ink.on { border-color: #fff; box-shadow: 0 0 0 2px var(--ink); }
.sep { width: 1px; height: 24px; background: var(--line); flex: none; margin: 0 2px; }
.note-scroll { flex: 1; overflow-y: auto; padding: 14px 16px 40px; -webkit-overflow-scrolling: touch; }
.paper { width: 100%; max-width: calc(68vh * 1000 / 1300); margin: 0 auto; aspect-ratio: 1000 / 1300; background-color: #FFFDFB; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.paper.lines { background-image: repeating-linear-gradient(transparent 0 31px, #F0E6E0 31px 32px); }
.paper.grid { background-image: linear-gradient(#F0E6E0 1px, transparent 1px), linear-gradient(90deg, #F0E6E0 1px, transparent 1px); background-size: 24px 24px; }
.paper.dots { background-image: radial-gradient(#E2D5CE 1.2px, transparent 1.3px); background-size: 22px 22px; }
.paper canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.note-text { width: 100%; min-height: 110px; margin-top: 14px; border: 0; border-radius: 16px; padding: 14px; background: var(--card); box-shadow: var(--shadow); resize: vertical; outline: none; line-height: 1.5; }

/* ---------- photos ---------- */
.photo-row { display: flex; gap: 8px; flex-wrap: wrap; }
.photo-row.big { margin-top: 14px; }
.ph { width: 74px; height: 74px; border-radius: 14px; overflow: hidden; position: relative; background: var(--blush); flex: none; }
.photo-row.big .ph { width: 96px; height: 96px; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph.add { display: grid; place-items: center; color: var(--rose); border: 2px dashed var(--nude); background: transparent; cursor: pointer; }
.ph-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(31, 27, 26, .7); color: #fff; font-size: 15px; line-height: 1; display: grid; place-items: center; }
img.missing { opacity: 0; }

/* ---------- more ---------- */
.more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.more { border-radius: var(--r); padding: 16px; min-height: 128px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; }
.m-ic { width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .6); display: grid; place-items: center; margin-bottom: auto; }
.more b { font-size: 17px; } .more small { color: rgba(31, 27, 26, .6); font-weight: 600; }
.more.sage { background: var(--sage); } .more.blush { background: var(--blush); } .more.butter { background: var(--butter); }
.more.sky { background: var(--sky); } .more.sand { background: var(--sand); } .more.lilac { background: var(--lilac); }
.soon { margin-top: 16px; border: 1.5px dashed var(--nude); box-shadow: none; background: transparent; }
.code { display: block; width: 100%; font-family: ui-monospace, Menlo, monospace; font-size: 12px; background: #F3EDE8; padding: 10px 12px; border-radius: 10px; word-break: break-all; margin-top: 6px; }

/* ---------- forms ---------- */
.form .field { margin-bottom: 12px; }
.f-label { display: block; font-size: 13px; font-weight: 650; color: var(--muted); margin: 0 0 6px 4px; }
.form input:not([type=checkbox]):not([type=range]):not([type=file]), .form select, .form textarea {
  width: 100%; border: 1.5px solid var(--line); background: #FDFBF9; border-radius: var(--r-s); padding: 13px 14px; outline: none; font-size: 16px; -webkit-appearance: none; appearance: none; }
.form input:focus, .form select, .form textarea:focus { border-color: var(--nude); }
.form input[type=date], .form input[type=time] { min-height: 50px; }
.form textarea { resize: vertical; line-height: 1.45; }
.field.check { display: flex; align-items: center; gap: 10px; font-weight: 550; padding: 4px; }
.field.check input { width: 22px; height: 22px; accent-color: var(--ink); }
input[type=range] { flex: 1; accent-color: var(--rose); }
.rangev { width: 48px; text-align: right; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.sw { width: 34px; height: 34px; border-radius: 50%; border: 3px solid transparent; }
.sw.on { border-color: #fff; box-shadow: 0 0 0 2px var(--ink); }

/* ---------- sheet ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; }
.sheet-bg { position: absolute; inset: 0; background: rgba(31, 27, 26, .35); opacity: 0; transition: opacity .25s; backdrop-filter: blur(2px); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 680px; max-height: 92vh; overflow-y: auto; background: var(--bg); border-radius: 28px 28px 0 0; transform: translateY(100%); transition: transform .28s cubic-bezier(.2, .9, .3, 1); padding-bottom: calc(var(--safe-b) + 16px); -webkit-overflow-scrolling: touch; }
.sheet.full { height: 96vh; max-height: 96vh; }
.sheet:has(.note-ed) { overflow: hidden; display: flex; flex-direction: column; }
.sheet:has(.note-ed) .note-ed { flex: 1; min-height: 0; }
.sheet-wrap.open .sheet-bg { opacity: 1; } .sheet-wrap.open .sheet { transform: none; }
.grab { width: 40px; height: 5px; border-radius: 9px; background: #DCCFC8; margin: 10px auto 6px; flex: none; }
.sheet-body { padding: 8px 20px 12px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.quick button { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.quick span { width: 60px; height: 60px; border-radius: 20px; background: var(--card); display: grid; place-items: center; font-size: 26px; box-shadow: var(--shadow); }

/* ---------- bottom nav (black pill) ---------- */
.nav { position: fixed; z-index: 40; left: 50%; transform: translateX(-50%); bottom: calc(var(--safe-b) + 14px); width: min(92vw, 420px); height: 66px; background: var(--bar); border-radius: 999px; display: flex; align-items: center; justify-content: space-around; padding: 0 10px; box-shadow: 0 12px 30px rgba(31, 27, 26, .25); }
.nav a { width: 48px; height: 48px; display: grid; place-items: center; color: rgba(255, 255, 255, .45); border-radius: 50%; }
.nav a.on { color: #fff; background: rgba(255, 255, 255, .12); }
.fab { width: 54px; height: 54px; border-radius: 50%; background: var(--fab); color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 16px rgba(201, 139, 130, .45); }

/* ---------- login & misc ---------- */
.login { max-width: 400px; margin: 0 auto; padding: 14vh 22px 40px; text-align: center; }
.login-art { font-size: 64px; width: 110px; height: 110px; margin: 0 auto 14px; border-radius: 36px; background: var(--blush); display: grid; place-items: center; }
.login .card { margin-top: 26px; text-align: left; }
.err { color: var(--danger); margin-top: 10px; min-height: 18px; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(var(--safe-b) + 96px); transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: all .25s; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.preview::before { content: 'Preview mode · data stays on this device'; position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 30; text-align: center; font-size: 11px; font-weight: 650; color: var(--rose); background: rgba(246, 241, 236, .9); padding: 3px; }

@media (min-width: 700px) {
  h1 { font-size: 38px; }
  .bk-grid, .fun-grid, .note-grid, .more-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- v1.1: recurrence, week picker, sort inbox, 7-item bar ---------- */
.nav { width: min(94vw, 460px); padding: 0 6px; }
.nav a { width: 44px; height: 44px; }
.rep { font-style: normal; color: var(--muted); font-weight: 500; }
.days { display: flex; gap: 6px; }
.dd { flex: 1; height: 40px; border-radius: 12px; background: #F3EDE8; font-weight: 700; text-align: center; }
.dd.on { background: var(--ink); color: #fff; }
.wk-nav { display: flex; align-items: center; justify-content: space-between; margin: -6px 0 8px; }
.wk-label { font-weight: 650; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); text-align: center; }
.period .wk-label { box-shadow: none; background: transparent; font-size: 16px; }
.wk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wk { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; border-radius: 14px; background: var(--card); }
.wk small { color: var(--muted); font-size: 11.5px; }
.wk.now { outline: 2px solid var(--nude); }
.wk.on { background: var(--ink); color: #fff; } .wk.on small { color: rgba(255, 255, 255, .7); }
.date-jump { border: 1.5px solid var(--line); background: #FDFBF9; border-radius: 14px; padding: 10px 12px; font-size: 16px; min-height: 44px; }
.add-card { display: flex; flex-direction: column; gap: 2px; width: 100%; border: 1.5px dashed var(--nude); box-shadow: none; background: transparent; }
.sort-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.sort-row:last-child { border-bottom: 0; }
.chips.mini { margin: 8px -14px 0; padding: 0 14px; }
.chips.mini .chip { height: 32px; font-size: 13px; box-shadow: none; }
@media (max-width: 360px) { .nav a { width: 38px; } .fab { width: 50px; height: 50px; } }
.bell.set { color: var(--olive); } .bell.set svg { fill: var(--sage); }

/* ---------- V2: health, 5K, insights ---------- */
.more.nude { background: var(--nude); }
.rings { display: block; flex: none; }
.rings-week .wd { padding: 8px 0 10px; }
.rings-week .wd.sel { background: var(--ink); }
.act { display: flex; align-items: center; gap: 16px; width: 100%; position: relative; }
.act-stats { display: flex; flex-direction: column; gap: 3px; font-weight: 700; }
.act-stats i, .hh-stats i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.act-stats small, .hh-stats small { color: var(--muted); font-weight: 500; }
.act .steps { margin-top: 4px; font-size: 18px; }
.closed { position: absolute; top: 12px; right: 14px; font-size: 20px; }
.health-hero { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.hh-stats { display: flex; flex-direction: column; gap: 6px; }
.hh-stats b { font-size: 22px; font-weight: 750; }
.steps-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.steps-row span { display: flex; flex-direction: column; } .steps-row b { font-size: 22px; font-weight: 750; }
.steps-row .btn { margin-left: auto; }
.health-hero > .muted { grid-column: 1 / -1; }
.wo { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 0; border-bottom: 1px solid var(--line); }
.wo:last-child { border-bottom: 0; }
.wo-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--blush); display: grid; place-items: center; font-size: 20px; flex: none; }
.wo-main { flex: 1; display: flex; flex-direction: column; min-width: 0; } .wo-main small { color: var(--muted); }
.wo-feel { font-size: 18px; } .src { font-style: normal; font-size: 12px; margin-left: 4px; opacity: .6; }
.plan-card { display: flex; flex-direction: column; gap: 10px; width: 100%; background: #EEF2E6; box-shadow: none; }
.plan-card.start { flex-direction: row; align-items: center; gap: 12px; }
.plan-card.start > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.pc-top { display: flex; justify-content: space-between; gap: 10px; }
.pc-top > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.pc-emo { font-size: 30px; }
.run-hero .row { align-items: flex-end; margin-bottom: 10px; }
.next-run { background: var(--bg); border-radius: var(--r-s); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.next-run b { font-size: 20px; }
.wk-card.done { opacity: .6; }
.li.is-next { background: #EEF2E6; margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 12px; }
.timer { text-align: center; display: flex; flex-direction: column; gap: 10px; padding-top: 30px; min-height: 80vh; }
.t-phase { font-size: 34px; font-weight: 800; margin-top: 20px; }
.t-clock { font-size: 96px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.timer[data-t=run] .t-phase { color: var(--rose); } .timer[data-t=walk] .t-phase, .timer[data-t=warm] .t-phase, .timer[data-t=cool] .t-phase { color: var(--olive); }
.t-bar { margin-top: 20px; } .t-bar .bar { height: 12px; }
.ins-hero small { color: var(--muted); font-weight: 600; }
.hl { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 9px; font-size: 15.5px; line-height: 1.35; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.st { background: var(--card); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.st small { color: var(--muted); font-weight: 600; }
.st b { font-size: 26px; font-weight: 750; letter-spacing: -.02em; } .st b span { font-size: 14px; color: var(--muted); font-weight: 600; }
.st b.sm { font-size: 18px; }
.delta { font-size: 12.5px; font-weight: 700; } .delta.up { color: var(--olive); } .delta.down { color: var(--danger); }
.hab-ins { display: flex; flex-direction: column; gap: 10px; }
.hab-ins .h-emo { width: 38px; height: 38px; }
.hab-ins .pct { font-size: 20px; }
.concl { font-size: 14.5px; line-height: 1.45; color: var(--ink2); }
.big-s { font-size: 30px; font-weight: 750; } .big-s span { font-size: 16px; color: var(--muted); }
.moment { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 0; border-bottom: 1px solid var(--line); }
.moment:last-child { border-bottom: 0; }
.moment span:last-child { display: flex; flex-direction: column; } .moment small { color: var(--muted); }
.moment img, .m-emo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: var(--butter); display: grid; place-items: center; font-size: 22px; flex: none; }
.moment.auto .m-emo { background: #EEF2E6; }
.refl { display: flex; flex-direction: column; gap: 12px; line-height: 1.45; }
.chart .track.goal-line { position: relative; }
.cur-tag { background: rgba(255, 255, 255, .7); font-size: 11px; font-weight: 750; padding: 2px 8px; border-radius: 999px; letter-spacing: .02em; }
.neg { color: var(--danger); }
.cur-lab { white-space: nowrap; min-width: 64px; }
.field.row input { flex: 1; }
button.link { font: inherit; color: var(--rose); font-weight: 600; }
.other-cur { font-size: 18px; font-weight: 700; color: var(--ink2); margin-top: -6px; }

/* ---------- Around the world ---------- */
.map-card { padding: 0; overflow: hidden; position: relative; }
.map-box { touch-action: none; aspect-ratio: 1000 / 560; background: #E7EEF5; cursor: grab; }
.wmap { width: 100%; height: 100%; display: block; }
.wmap .sea { fill: #E7EEF5; }
.wmap .land { fill: #EFE7E1; stroke: #fff; stroke-width: .5; vector-effect: non-scaling-stroke; }
.wmap .land.been { fill: #D99A8E; }
.pin path:first-child { stroke: #fff; stroke-width: 1.2; }
.pin.v path:first-child { fill: var(--ink); } .pin.w path:first-child { fill: #fff; stroke: var(--rose); stroke-width: 1.6; }
.pin .tick { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pin .hole { fill: var(--rose); }
.pin { cursor: pointer; }
.map-ctl { position: absolute; top: 8px; right: 8px; display: flex; flex-direction: column; gap: 4px; }
.map-ctl .icon-btn.s { width: 36px; height: 36px; font-size: 16px; }
.map-ctl .icon-btn { background: rgba(255, 255, 255, .92); font-size: 18px; font-weight: 700; box-shadow: var(--shadow); }
.map-layers { padding: 10px 12px; margin: 0 !important; }
.geo-res { display: flex; flex-direction: column; }
.geo, .city-row, .tl-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 0; border-bottom: 1px solid var(--line); }
.geo span:last-child, .tl-item span:last-child { display: flex; flex-direction: column; } .geo small, .city-row small, .tl-item small { color: var(--muted); }
.geo > span:first-child, .tl-flag { font-size: 26px; width: 34px; text-align: center; flex: none; }
.city-row .grow { display: flex; flex-direction: column; }
.vtick { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.wheart { color: var(--rose); font-size: 20px; }
.yr { display: grid; grid-template-columns: 48px 1fr; gap: 2px 10px; align-items: center; padding: 8px 0; }
.yr small { grid-column: 2; color: var(--muted); }
.yr-bar { height: 12px; border-radius: 999px; background: #F3EDE8; overflow: hidden; } .yr-bar span { display: block; height: 100%; background: var(--nude); border-radius: 999px; }
.tl-year h3 { margin: 14px 2px 6px; }
.tl-month { background: var(--card); border-radius: var(--r); padding: 6px 14px; box-shadow: var(--shadow); margin-bottom: 8px; }
.tl-month > small { display: block; color: var(--rose); font-weight: 700; padding-top: 8px; }
.tl-month .tl-item:last-child { border-bottom: 0; }
.stay { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.btn.booking { background: #003B95; color: #fff; }
.fun.is-todo { outline: 2px dashed var(--nude); }
.stat-grid + .sec, section.stat-grid { margin-top: 14px; }
/* ---------- finance lock ---------- */
.locked { display: flex; align-items: center; gap: 14px; width: 100%; background: var(--sand); box-shadow: none; }
.locked > span:first-child { font-size: 28px; } .locked > span:last-child { display: flex; flex-direction: column; }
.pinpad { text-align: center; }
.lock-ic { font-size: 36px; margin: 4px 0 6px; }
.dots-row { display: flex; gap: 12px; justify-content: center; margin: 18px 0 6px; }
.dots-row i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); }
.dots-row i.on { background: var(--ink); }
.dots-row.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.keys { display: grid; grid-template-columns: repeat(3, 72px); gap: 12px; justify-content: center; margin-top: 8px; }
.keys button { height: 64px; border-radius: 50%; background: var(--card); font-size: 26px; font-weight: 600; box-shadow: var(--shadow); text-align: center; }
.keys button:active { background: var(--blush); }
/* ---------- Vibe check ---------- */
.mood-card { display: flex; flex-direction: column; gap: 8px; }
.moods { display: flex; justify-content: space-between; }
.mood { font-size: 30px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; filter: grayscale(.6); opacity: .65; transition: all .15s; }
.mood.on { background: var(--blush); filter: none; opacity: 1; transform: scale(1.1); }
.vibe-hero { text-align: center; background: linear-gradient(160deg, var(--blush), var(--lilac)); }
.vibe-hero small { color: rgba(31, 27, 26, .6); font-weight: 650; }
.v-emo { font-size: 64px; margin: 6px 0 2px; }
.vibe-hero h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.vibe-hero p { line-height: 1.45; }
.trait { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 8px 0; }
.trait .bar { grid-column: 1 / -1; height: 10px; }
.mood-dist { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 14px 0 6px; text-align: center; }
.mood-dist i { font-style: normal; font-size: 20px; } .mood-dist small { color: var(--muted); }
.md-bar { height: 60px; background: #F4EEEA; border-radius: 999px; display: flex; align-items: flex-end; overflow: hidden; margin: 4px auto; width: 22px; }
.md-bar span { width: 100%; background: var(--nude); border-radius: 999px; }
.v-line { background: var(--bg); border-radius: 12px; padding: 10px 12px; margin-top: 8px; line-height: 1.4; font-size: 14.5px; }
.love-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.love { background: var(--card); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.love span { font-size: 24px; } .love small { color: var(--muted); }
.grow-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.grow-row:last-child { border-bottom: 0; } .grow-row > span:first-child { font-size: 22px; }
.grow-row > span:last-child { display: flex; flex-direction: column; } .grow-row small { color: var(--muted); }
.more.lilac { background: var(--lilac); }
.map-card.mini { margin: 0; aspect-ratio: 1000 / 520; }
.pin.new path { fill: var(--rose); stroke: #fff; stroke-width: 1.2; }
.pin.new .pulse { fill: var(--rose); opacity: .25; transform-origin: 0 -14px; animation: pulse 1.6s infinite; }
@keyframes pulse { from { transform: translateY(-14px) scale(.6); opacity: .45; } to { transform: translateY(-14px) scale(2.2); opacity: 0; } }
.btn { white-space: nowrap; }

/* ---------- customize ---------- */
.cust h4 small { font-weight: 500; }
.presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.preset { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); border: 2px solid transparent; }
.preset.on { border-color: var(--ink); }
.pv { display: flex; } .pv i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; margin-left: -6px; }
.pv i:nth-child(1) { background: var(--pb); margin-left: 0; box-shadow: inset 0 0 0 1px #e5ddd7; } .pv i:nth-child(2) { background: var(--pa); } .pv i:nth-child(3) { background: var(--pc); }
.preset small { font-weight: 650; font-size: 12px; }
.pickers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.pickers label { display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--card); border-radius: 16px; padding: 10px; box-shadow: var(--shadow); font-size: 13px; font-weight: 600; }
.pickers input { width: 44px; height: 44px; border: 0; padding: 0; background: none; border-radius: 50%; }
.pickers input::-webkit-color-swatch-wrapper { padding: 0; } .pickers input::-webkit-color-swatch { border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #e5ddd7; }
.nav-pv { display: flex; align-items: center; justify-content: space-around; background: var(--bar); border-radius: 999px; height: 54px; margin: 10px 0 12px; padding: 0 8px; }
.bp-i { color: rgba(255, 255, 255, .7); } .bp-fab { width: 40px; height: 40px; border-radius: 50%; background: var(--fab); display: grid; place-items: center; }
.tab-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.tab-row b { flex: 1; font-weight: 550; } .tab-row:not(.on) { opacity: .75; }
.tog { height: 32px; padding: 0 12px; border-radius: 999px; background: var(--blush); font-weight: 650; font-size: 13px; }
.tog.on { background: var(--ink); color: #fff; } .tog:disabled { opacity: .35; }
/* ---------- account & avatar ---------- */
.brand { font-weight: 800; font-size: 13px; letter-spacing: .01em; color: var(--rose); margin: 4px 2px -2px; }
.avatar-link { flex: none; }
.face-thumb { border-radius: 50%; object-fit: cover; display: grid; place-items: center; box-shadow: var(--shadow); border: 3px solid #fff; }
.face-thumb.init { background: linear-gradient(135deg, var(--nude), var(--rose)); color: #fff; font-weight: 800; font-size: 20px; }
.me-card { display: flex; align-items: center; gap: 12px; } .me-card > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; } .me-card > span:first-child { font-size: 26px; }
.acc-hero { text-align: center; } .acc-av { position: relative; display: inline-block; }
.edit-pill { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; display: flex; gap: 5px; align-items: center; white-space: nowrap; }
.acc-hero h2 { font-size: 24px; margin-top: 6px; }
.st-stage { display: grid; place-items: center; background: var(--card); border-radius: 24px; padding: 8px 0; box-shadow: var(--shadow); }
.st-tabs { margin-top: 12px; }
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opt { height: 42px; border-radius: 12px; background: var(--card); box-shadow: var(--shadow); font-weight: 600; font-size: 13.5px; text-align: center; }
.opt.on { background: var(--ink); color: #fff; }
.sw.custom { position: relative; overflow: hidden; display: grid; place-items: center; } .sw.custom::after { content: '+'; color: #fff; font-weight: 800; text-shadow: 0 0 3px rgba(0,0,0,.5); }
.sw.custom input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; }
.crop-box { position: relative; width: 240px; height: 280px; margin: 12px auto; border-radius: 20px; overflow: hidden; background: #222; touch-action: none; }
.crop-box canvas { width: 100%; height: 100%; display: block; }
.crop-oval { position: absolute; left: 4%; top: 2.5%; width: 92%; height: 95%; border-radius: 50%; box-shadow: 0 0 0 999px rgba(0,0,0,.45); border: 2px dashed #fff; pointer-events: none; }
.crop-eyes { position: absolute; left: 14%; right: 14%; top: 47%; border-top: 1.5px dashed rgba(255,255,255,.8); pointer-events: none; }
.crop-eyes span { position: absolute; right: -2px; top: -18px; color: #fff; font-size: 11px; font-weight: 700; }
.crop-zoom { width: 100%; accent-color: var(--rose); }
.v-av { position: relative; display: inline-block; margin-top: 4px; } .v-av svg { display: block; }
.v-badge { position: absolute; right: -6px; top: 14px; font-size: 30px; background: #fff; border-radius: 50%; width: 46px; height: 46px; display: grid; place-items: center; box-shadow: var(--shadow); }
/* ---------- Watch & read ---------- */
.star-input { display: flex; align-items: center; gap: 4px; }
.si { font-size: 30px; color: #DDD3CD; line-height: 1; } .si.on { color: #E2A93B; }
.si-l { margin-left: 8px; }
.stars i { font-style: normal; color: #DDD3CD; letter-spacing: 1px; } .stars i.on { color: #E2A93B; }
.mgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .mgrid { grid-template-columns: repeat(4, 1fr); } }
.mcard { position: relative; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.m-cover { aspect-ratio: 2 / 2.6; width: 100%; display: grid; place-items: center; position: relative; }
.m-cover img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.m-init { font-size: 34px; font-weight: 800; color: rgba(31, 27, 26, .55); letter-spacing: -.02em; }
.m-cover small { position: absolute; bottom: 8px; left: 10px; font-size: 18px; }
.m-rep { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .85); font-size: 18px; font-weight: 800; color: #B9ADA6; display: grid; place-items: center; box-shadow: var(--shadow); }
.m-rep.on { background: var(--ink); color: #fff; }
.m-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; text-align: left; }
.m-body small { color: var(--muted); font-size: 12px; }
.pill-s { align-self: flex-start; background: var(--blush); color: var(--ink) !important; font-weight: 650; padding: 2px 8px; border-radius: 999px; }
.sort-row { margin: 0 2px 12px; } .link-s { font-size: 13px; font-weight: 650; color: var(--muted); padding: 4px 8px; border-radius: 999px; } .link-s.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.seg button { white-space: nowrap; font-size: 13.5px; }
.cal-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cal-row .grow { display: flex; flex-direction: column; } .cal-row .dot { width: 12px; height: 12px; }
.cal-cta { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 10px; } .cal-cta > span:first-child { font-size: 26px; } .cal-cta > span:last-child { display: flex; flex-direction: column; }
