/* Warm look: white ground, deep teal ink, each person a soft gradient. One theme on purpose. */
@font-face { font-family: 'Fet'; src: url(fonts/Fet-Regular.ttf) format('truetype'); font-display: swap; }
@font-face { font-family: 'Fredoka'; font-weight: 500; src: url(fonts/fredoka-500.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Fredoka'; font-weight: 600; src: url(fonts/fredoka-600.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Nunito'; font-weight: 400; src: url(fonts/nunito-400.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Nunito'; font-weight: 600; src: url(fonts/nunito-600.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Nunito'; font-weight: 700; src: url(fonts/nunito-700.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Nunito'; font-weight: 800; src: url(fonts/nunito-800.woff2) format('woff2'); font-display: swap; }

:root {
  --ink: #07414D;
  --ink2: #3A6069;
  --bg: #FFFFFF;
  --page: #FFF6EF;
  --peach: #FFEDE1;
  --peach2: #FFF6EF;
  --mint1: #DDF4EA;
  --mint2: #BFE9DD;
  --aqua: #E6F4EF;
  --salmon: #FBA99B;
  --warn: #FFE1DA;
  --danger: #9C2B1B;
  --white: #FFFFFF;
  --focus: #0B5F6E;
  --display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  color-scheme: light;
}

html { box-sizing: border-box; height: 100%; }
*, *::before, *::after { box-sizing: inherit; }
body { height: 100%; margin: 0; background: var(--page); color: var(--ink); font-family: 'Nunito', system-ui, sans-serif; font-size: 16px; line-height: 1.35; -webkit-tap-highlight-color: transparent; }
#app { height: 100%; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
h1 { font-size: 28px; line-height: 34px; }
h2 { font-size: 18px; line-height: 24px; }
button, input, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--focus); }
button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.shell { position: relative; height: 100%; max-width: 430px; margin: 0 auto; background: var(--bg); display: flex; flex-direction: column; overflow: hidden; }
.view { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 20px 28px; display: flex; flex-direction: column; gap: 16px; }
.view > *, .sheet-body > * { flex: none; }

.wordmark { font-family: 'Fet', 'Fredoka', cursive; font-size: 40px; line-height: 48px; color: var(--ink); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top-date { font-size: 19px; line-height: 24px; }
.top-sub { font-size: 15px; font-weight: 600; color: var(--ink2); }
.top-btns { display: flex; gap: 8px; }
.test-badge { flex: none; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 800; text-align: center; padding: 3px 8px; letter-spacing: 0.04em; }

.btn { width: 100%; min-height: 56px; border: 0; border-radius: 28px; background: var(--ink); color: var(--white); font-family: var(--display); font-size: 18px; font-weight: 600; padding: 8px 20px; }
.btn-quiet { background: var(--peach); color: var(--ink); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-ghost { min-height: 48px; border: 0; border-radius: 16px; background: var(--peach2); box-shadow: inset 0 0 0 2px var(--peach); color: var(--ink); font-size: 15px; font-weight: 800; padding: 8px 14px; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; text-align: center; }
.btn-ghost.danger { color: var(--danger); }
.icon-btn { width: 44px; height: 44px; flex: none; border: 0; border-radius: 22px; background: var(--peach); color: var(--ink); padding: 0; display: flex; align-items: center; justify-content: center; }
.icon-btn.white { background: var(--white); }
.icon-btn.small { width: 36px; height: 36px; background: var(--white); }
.mini { min-height: 36px; border: 0; border-radius: 12px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 800; padding: 4px 12px; flex: none; }
.mini-ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }

.group { display: flex; flex-direction: column; gap: 8px; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.stack.tight { gap: 6px; }
.hint { font-size: 14px; font-weight: 600; color: var(--ink2); }
.empty { font-size: 15px; font-weight: 600; color: var(--ink2); padding: 4px 0; }
.sub-l { font-size: 13px; font-weight: 800; color: var(--ink2); margin-top: 2px; }

.bubble { background: linear-gradient(180deg, var(--mint1) 0%, var(--mint2) 100%); border-radius: 22px; padding: 14px 16px; font-size: 16px; line-height: 22px; font-weight: 700; }
.bubble.small { border-radius: 18px; padding: 12px 14px; font-size: 15px; line-height: 20px; }
.note-box { background: var(--aqua); border-radius: 18px; padding: 12px 14px; font-size: 14px; line-height: 19px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.note-box span { flex: 1; min-width: 0; }
.flag { background: var(--warn); border-radius: 18px; padding: 10px 12px 10px 14px; font-size: 14.5px; line-height: 19px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.flag svg { flex: none; }
.flag-text { flex: 1; min-width: 0; }

.chips { display: grid; gap: 8px; }
.chips.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chips.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chips.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chips.c7 { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.chips.wrap { display: flex; flex-wrap: wrap; }
.chips.wrap > .chip { flex: 1 1 96px; }
.chips.scroll { display: flex; overflow-x: auto; margin: 0 -20px; padding: 0 20px 2px; scrollbar-width: none; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chips.scroll > .chip { flex: none; padding: 0 16px; }
.chips.grow { flex: 1; min-width: 0; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chip { min-height: 44px; min-width: 0; border: 0; border-radius: 14px; background: var(--peach); color: var(--ink); font-size: 15px; font-weight: 800; padding: 4px 8px; display: flex; align-items: center; justify-content: center; gap: 5px; text-align: center; line-height: 1.15; overflow-wrap: anywhere; }
.chip.on { background: var(--ink); color: var(--white); }
.chip.outline { background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); }
.chip.tiny { padding: 4px 0; font-size: 14px; }
.chip.pchip.on { color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); }
.dot { width: 12px; height: 12px; border-radius: 6px; flex: none; }

.tile { width: 100%; border: 0; border-radius: 22px; padding: 12px 14px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; text-align: left; color: var(--ink); }
.tile.mine { box-shadow: inset 0 0 0 3px var(--ink); }
.avatar { width: 40px; height: 40px; flex: none; border-radius: 20px; background: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--ink); }
.avatar.big { width: 52px; height: 52px; border-radius: 26px; font-size: 24px; }
.avatar.white { background: var(--white); }
.tile-text { display: flex; flex-direction: column; min-width: 0; align-items: flex-start; }
.tile-title { font-size: 17px; line-height: 22px; font-weight: 800; }
.tile-sub { font-size: 14px; line-height: 20px; font-weight: 600; }
.tile-right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.tile-time { font-family: var(--display); font-size: 17px; line-height: 22px; font-weight: 600; white-space: nowrap; }
.pill { display: flex; align-items: center; gap: 4px; background: var(--white); border-radius: 999px; padding: 2px 8px; font-size: 12px; line-height: 18px; font-weight: 800; white-space: nowrap; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.pill svg { flex: none; }
.pill-on { background: var(--ink); color: var(--white); }
.pill-alert { background: var(--white); box-shadow: inset 0 0 0 2px var(--danger); color: var(--danger); }
.ex-tag { display: inline-block; font-family: 'Nunito', system-ui, sans-serif; font-size: 11px; line-height: 16px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; background: var(--white); color: var(--ink2); border-radius: 6px; padding: 0 6px; margin-top: 3px; }

.row { width: 100%; border: 0; border-radius: 18px; background: var(--peach); padding: 9px 12px 9px 14px; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; text-align: left; color: var(--ink); }
.row.is-done { opacity: 0.62; }
.row-wait { grid-template-columns: minmax(0, 1fr); background: var(--aqua); }
.date-block { border-radius: 12px; padding: 3px 0; display: flex; flex-direction: column; align-items: center; align-self: start; }
.date-block.db-plain { background: var(--white); }
.kind-badge { width: 34px; height: 34px; border-radius: 17px; background: var(--white); color: var(--ink); display: flex; align-items: center; justify-content: center; align-self: start; }
.kind-badge.dark { background: var(--ink); color: var(--white); }
.db-day { font-family: var(--display); font-size: 15px; line-height: 18px; font-weight: 600; }
.db-md { font-size: 11.5px; line-height: 14px; font-weight: 800; }
.row-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.row-title { font-size: 16px; line-height: 22px; font-weight: 800; }
.row-sub { font-size: 13.5px; line-height: 18px; font-weight: 600; color: var(--ink2); }
.row-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.st-line { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.st { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 2px 9px; font-size: 12px; line-height: 18px; font-weight: 800; }
.st-ok { background: var(--mint2); }
.st-need { background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); }
.st-plain { background: var(--white); }

.wk { display: flex; flex-direction: column; gap: 6px; }
.wk-day { display: flex; flex-direction: column; gap: 4px; }
.wk-day.is-today { margin: 0 -6px; padding: 6px; border-radius: 20px; box-shadow: inset 0 0 0 3px var(--ink); }
.wk-row { display: grid; gap: 8px; align-items: start; }
.wk-kid { min-height: 36px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 16px; font-weight: 600; padding: 2px 8px; text-align: center; overflow-wrap: anywhere; }
.wk-label { display: flex; flex-direction: column; align-items: center; padding-top: 5px; }
.wk-dn { font-family: var(--display); font-size: 15px; line-height: 18px; font-weight: 600; }
.wk-dd { font-size: 12px; line-height: 14px; font-weight: 800; color: var(--ink2); }
.wk-cell { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wk-span, .wk-empty { grid-column: 2 / -1; }
.wk-blank { height: 46px; border-radius: 14px; background: var(--peach2); }
.wk-empty { min-height: 46px; border-radius: 14px; background: var(--peach2); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--ink2); }
.mini-tile { width: 100%; min-height: 46px; border: 0; border-radius: 14px; padding: 5px 10px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; color: var(--ink); min-width: 0; }
.mini-tile.is-task { background: var(--white); box-shadow: inset 0 0 0 2px var(--salmon); }
.mini-tile.is-done { opacity: 0.6; }
.mt-title { font-size: 14px; line-height: 18px; font-weight: 800; overflow-wrap: anywhere; }
.mt-sub { font-size: 12.5px; line-height: 18px; font-weight: 600; }

.person-card { width: 100%; border: 0; border-radius: 20px; background: var(--peach); padding: 12px 14px; display: flex; align-items: center; gap: 12px; text-align: left; color: var(--ink); }
.band { flex: none; padding: 16px 16px 20px; border-radius: 0 0 28px 28px; display: flex; align-items: center; gap: 12px; }
.band-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.band-text h1 { font-size: 28px; line-height: 32px; overflow-wrap: anywhere; }
.band-sub { font-size: 15px; font-weight: 700; }
.slim { width: 100%; min-height: 44px; border: 0; border-radius: 16px; padding: 4px 12px 4px 6px; display: flex; align-items: center; gap: 12px; text-align: left; color: var(--ink); }
.slim-day { min-width: 48px; min-height: 32px; border-radius: 12px; padding: 0 8px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 14px; font-weight: 600; }
.slim-title { flex: 1; min-width: 0; font-size: 16px; font-weight: 800; padding-left: 6px; }
.slim-time { font-family: var(--display); font-size: 15px; font-weight: 500; white-space: nowrap; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fact { background: var(--peach); border-radius: 16px; padding: 8px 12px; display: flex; flex-direction: column; min-width: 0; }
.fact-l { font-size: 12px; line-height: 16px; font-weight: 800; color: var(--ink2); overflow-wrap: anywhere; }
.fact-v { font-size: 15px; line-height: 21px; font-weight: 700; overflow-wrap: anywhere; }
.contact, .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.contact > *, .actions > * { flex: 1 1 150px; }
.actions.col { flex-direction: column; }
.actions.col > * { flex: none; }
.sel { white-space: nowrap; user-select: all; -webkit-user-select: all; font-weight: 600; }

.sheet { position: absolute; inset: 0; z-index: 20; background: var(--bg); display: flex; flex-direction: column; animation: rise 0.22s ease-out; }
.sheet-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 14px 20px 10px; }
.sheet-head h1 { flex: 1; min-width: 0; font-size: 24px; line-height: 30px; overflow-wrap: anywhere; }
.sheet-right { display: flex; gap: 8px; }
.sheet-body { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.sheet-foot { flex: none; padding: 12px 20px 16px; background: var(--bg); box-shadow: 0 -2px 0 var(--peach); }
.foot-row { display: flex; gap: 10px; }
.foot-row > .btn { flex: 1; }
.item-title { font-size: 26px; line-height: 32px; overflow-wrap: anywhere; }
.info-list { display: flex; flex-direction: column; gap: 10px; background: var(--peach2); border-radius: 20px; padding: 14px; }
.info { display: flex; gap: 10px; align-items: flex-start; }
.info-ic { width: 32px; height: 32px; flex: none; border-radius: 16px; background: var(--peach); display: flex; align-items: center; justify-content: center; }
.info-text { display: flex; flex-direction: column; min-width: 0; }
.info-l { font-size: 12px; line-height: 16px; font-weight: 800; color: var(--ink2); }
.info-v { font-size: 16px; line-height: 22px; font-weight: 700; overflow-wrap: anywhere; }

.fl { display: flex; flex-direction: column; gap: 6px; }
.fl-l { font-size: 13px; line-height: 18px; font-weight: 800; color: var(--ink2); }
.field { width: 100%; min-width: 0; min-height: 48px; border: 2px solid var(--peach); border-radius: 14px; background: var(--peach2); padding: 8px 12px; font-size: 16px; font-weight: 700; color: var(--ink); }
.field::placeholder { color: var(--ink2); opacity: 0.75; font-weight: 600; }
.field.strong { border-color: var(--ink); background: var(--white); font-size: 17px; }
.field.center { text-align: center; padding: 8px 4px; font-family: var(--display); font-size: 18px; }
.field.area { min-height: 96px; resize: vertical; line-height: 1.4; font-weight: 600; }
.field.area.tall { min-height: 220px; height: auto; }
.inline { display: flex; gap: 8px; align-items: center; }
.inline > .field { flex: 1; }
.inline > .field.strong { flex: 0 0 96px; }
.inline > .chip { flex: none; padding: 4px 16px; }
.every { display: grid; grid-template-columns: auto 64px repeat(3, minmax(0, 1fr)); gap: 8px; align-items: center; font-size: 15px; font-weight: 800; }
.every.two { grid-template-columns: 72px auto; justify-content: start; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 700; }
.check input { width: 22px; height: 22px; accent-color: var(--ink); }
.detail-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 8px; align-items: center; }
.card { background: var(--peach2); border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.card-h { font-family: var(--display); font-size: 16px; font-weight: 600; }
.swatches { display: grid; grid-template-columns: repeat(7, minmax(0, 44px)); gap: 6px; }
.swatch { width: 100%; aspect-ratio: 1; border: 0; border-radius: 50%; padding: 0; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.color-row { display: flex; flex-direction: column; gap: 6px; }
.color-name { font-size: 14px; font-weight: 800; }
.swatch.on { box-shadow: inset 0 0 0 3px var(--ink); }

.setup { padding-top: 28px; }
.setup-step { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink2); }
.setup-title { font-size: 30px; line-height: 36px; }

.guide-card { background: var(--peach2); border-radius: 20px; padding: 14px; display: flex; gap: 12px; align-items: flex-start; }
.guide-ic { width: 40px; height: 40px; flex: none; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, var(--mint1) 0%, var(--mint2) 100%); }
.guide-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.guide-t { font-family: var(--display); font-size: 17px; line-height: 22px; font-weight: 600; }
.guide-b { font-size: 15px; line-height: 21px; font-weight: 600; color: var(--ink2); }

.faq { background: var(--peach2); border-radius: 18px; box-shadow: inset 0 0 0 2px var(--peach); }
.faq summary { list-style: none; cursor: pointer; min-height: 48px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--display); font-size: 16px; line-height: 21px; font-weight: 600; border-radius: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform 0.2s ease; }
.faq[open] summary svg { transform: rotate(90deg); }
.faq-body { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 22px; font-weight: 600; }
.faq-body ol, .faq-body ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legend { display: flex; flex-direction: column; gap: 10px; background: var(--peach2); border-radius: 18px; padding: 14px; }
.legend-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 15px; line-height: 21px; font-weight: 600; }
.legend-row > :first-child { justify-self: start; }
.legend-row .kind-badge { background: var(--peach); align-self: center; }
.legend-row .kind-badge.dark { background: var(--ink); }
.legend-sw { width: 52px; height: 36px; border-radius: 12px; }
.legend-sw.plain { background: var(--white); box-shadow: inset 0 0 0 2px var(--peach); }
.legend-sw.ring { box-shadow: inset 0 0 0 3px var(--ink); }
.center-screen { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; }
.auth { padding-top: 32px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.btn:disabled { opacity: 0.6; }
.sync-bar { flex: none; background: var(--warn); padding: 8px 12px 8px 16px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; }
.sync-bar span { flex: 1; min-width: 0; }
.tell-bar { width: 100%; border: 0; border-radius: 22px; padding: 12px 14px; background: linear-gradient(180deg, var(--mint1) 0%, var(--mint2) 100%); color: var(--ink); text-align: left; display: flex; align-items: center; gap: 12px; }
.tell-mic { width: 48px; height: 48px; flex: none; border-radius: 24px; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; }
.tell-text { display: flex; flex-direction: column; min-width: 0; }
.tell-t { font-family: var(--display); font-size: 18px; line-height: 23px; font-weight: 600; }
.tell-s { font-size: 13.5px; line-height: 18px; font-weight: 700; color: var(--ink2); }
.tell-lead { font-size: 15px; line-height: 21px; }
.tell-box { min-height: 240px; border-color: var(--ink); background: var(--white); font-size: 17px; line-height: 26px; font-weight: 700; }
.tell-hint { display: flex; gap: 10px; align-items: flex-start; }
.tell-hint svg { flex: none; }
.tell-foot { display: flex; flex-direction: column; gap: 8px; }
.tell-card { border-radius: 22px; padding: 12px; background: var(--peach); display: flex; flex-direction: column; gap: 10px; }
.tell-card.off { opacity: 0.5; }
.tc-top { display: flex; gap: 10px; align-items: flex-start; }
.tc-body { flex: 1; min-width: 0; border: 0; background: none; padding: 2px; text-align: left; color: var(--ink); display: flex; flex-direction: column; gap: 1px; }
.tc-kind { font-size: 11.5px; line-height: 16px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.tc-title { font-family: var(--display); font-size: 19px; line-height: 24px; font-weight: 600; overflow-wrap: anywhere; }
.tc-sub { font-size: 14px; line-height: 20px; font-weight: 700; }
.tc-edit { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12.5px; font-weight: 800; text-decoration: underline; }
.tc-check { width: 44px; height: 44px; flex: none; border: 0; border-radius: 22px; background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); color: transparent; display: flex; align-items: center; justify-content: center; }
.tc-check.on { background: var(--ink); color: var(--white); box-shadow: none; }
.tc-ask { background: var(--white); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 800; }
.tc-ask .chip { min-height: 40px; }
.np-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; align-items: center; background: var(--peach2); border-radius: 18px; padding: 10px 12px; }
.np-name { font-size: 16px; font-weight: 800; }
.np-roles { grid-column: 1 / -1; }
.still { background: var(--peach2); box-shadow: inset 0 0 0 2px var(--peach); border-radius: 20px; padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.still-text { border: 0; background: none; padding: 2px; text-align: left; color: var(--ink); display: flex; flex-direction: column; }
.chip.outline-soft { background: var(--white); box-shadow: inset 0 0 0 2px var(--peach); color: var(--ink2); }
.g-card { width: 100%; border: 0; border-radius: 20px; background: var(--peach); padding: 12px 14px; display: flex; align-items: center; gap: 12px; text-align: left; color: var(--ink); }
.g-ic { width: 40px; height: 40px; flex: none; border-radius: 20px; background: var(--white); display: flex; align-items: center; justify-content: center; }
.g-aisle { display: flex; flex-direction: column; }
.g-h { font-family: 'Nunito', system-ui, sans-serif; font-size: 12.5px; line-height: 18px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink2); margin-bottom: 2px; }
.g-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; min-height: 48px; border-top: 1px solid var(--peach); }
.g-tick { width: 44px; height: 44px; border: 0; background: none; padding: 0; display: flex; align-items: center; justify-content: center; }
.g-tick::before { content: ''; width: 24px; height: 24px; box-sizing: border-box; border: 2.5px solid var(--ink); border-radius: 12px; }
.g-tick.on::before { display: none; }
.g-tick.on { color: var(--white); }
.g-tick.on svg { width: 24px; height: 24px; padding: 5px; box-sizing: border-box; border-radius: 12px; background: var(--ink); }
.g-name { border: 0; background: none; padding: 8px 0; text-align: left; color: var(--ink); font-size: 17px; line-height: 22px; font-weight: 700; overflow-wrap: anywhere; }
.g-row.done .g-name { text-decoration: line-through; color: var(--ink2); }
.g-qty { font-size: 13px; font-weight: 700; color: var(--ink2); }
.g-add > .field.strong { flex: 1 1 auto; }
.icon-btn.big { width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: var(--white); }
.icon-btn:disabled { opacity: 0.35; }
.link-btn { border: 0; background: none; min-height: 44px; color: var(--ink); font-size: 15px; font-weight: 800; text-decoration: underline; align-self: center; }
.a-list { display: flex; flex-direction: column; }
.a-row { display: flex; align-items: center; gap: 8px; min-height: 52px; border-top: 1px solid var(--peach); padding: 4px 0; }
.a-name { flex: 1; min-width: 0; border: 0; background: none; padding: 8px 0; text-align: left; color: var(--ink); font-size: 16.5px; font-weight: 800; text-decoration: underline; text-decoration-color: var(--peach); text-underline-offset: 4px; }
.a-edit { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.a-row .icon-btn.small { background: var(--peach); }
.done-line { display: flex; flex-direction: column; }
.done-day { min-height: 48px; border: 0; border-radius: 16px; background: var(--mint2); color: var(--ink); padding: 8px 14px; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; text-align: left; }
.done-fix { margin-left: auto; font-size: 13px; font-weight: 800; text-decoration: underline; }
.hist { display: flex; flex-direction: column; background: var(--peach2); border-radius: 18px; padding: 4px 14px; }
.hist-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 40px; border-top: 1px solid var(--peach); font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hist-row:first-child { border-top: 0; }
.hist-mid { color: var(--ink2); }
.nav { flex: none; min-height: 76px; border-top: 2px solid var(--peach); display: flex; align-items: center; background: var(--bg); }
.nav-btn { flex: 1; min-height: 72px; border: 0; background: none; padding: 0; font-size: 12px; font-weight: 700; color: var(--ink2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-btn.on { color: var(--ink); font-weight: 800; }
.nav-mid { flex: 1; display: flex; justify-content: center; }
.fab { width: 56px; height: 56px; border: 0; border-radius: 28px; background: var(--ink); color: var(--white); padding: 0; display: flex; align-items: center; justify-content: center; }

.toast { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: var(--white); border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 800; white-space: nowrap; }
.scrim { position: absolute; inset: 0; z-index: 50; background: rgba(7, 65, 77, 0.45); display: flex; align-items: flex-end; padding: 16px; }
.ask { width: 100%; background: var(--bg); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.ask p { font-family: var(--display); font-size: 19px; line-height: 25px; font-weight: 600; }

/* The present */
.gift { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 28px 24px; text-align: center; background: linear-gradient(180deg, var(--peach2) 0%, var(--peach) 100%); }
.gift > * { flex: none; }
.gift-for { font-size: 46px; line-height: 56px; }
.gift-from { font-size: 16px; font-weight: 700; color: var(--ink2); }
.gift-hint { font-size: 15px; font-weight: 800; min-height: 21px; }
.present { position: relative; width: 220px; height: 220px; border: 0; background: none; padding: 0; transition: transform 0.5s ease, margin 0.5s ease; }
.present:disabled { cursor: default; }
.present.closed { animation: wiggle 2.6s ease-in-out infinite; }
.present.card { transform: scale(0.66); margin: -34px 0; }
.p-box { position: absolute; left: 20px; right: 20px; bottom: 0; height: 132px; border-radius: 16px; background: linear-gradient(180deg, #FFCFC4 0%, #FBA99B 100%); overflow: hidden; }
.p-lid { position: absolute; left: 6px; right: 6px; bottom: 124px; height: 46px; border-radius: 14px; background: linear-gradient(180deg, #FBA99B 0%, #F2907F 100%); transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.7s ease 0.15s; }
.p-rib { position: absolute; left: 50%; top: 0; bottom: 0; width: 30px; margin-left: -15px; background: linear-gradient(180deg, #F0E7AE 0%, #E0D47F 100%); }
.p-bow { position: absolute; left: 50%; bottom: 100%; width: 0; height: 0; }
.p-bow i { position: absolute; bottom: -4px; width: 58px; height: 42px; border: 12px solid #E0D47F; border-radius: 50%; }
.p-bow i:first-child { right: -4px; transform: rotate(-22deg); transform-origin: bottom right; }
.p-bow i:nth-child(2) { left: -4px; transform: rotate(22deg); transform-origin: bottom left; }
.p-bow b { position: absolute; left: -13px; bottom: -8px; width: 26px; height: 20px; border-radius: 9px; background: #D2C55F; }
.present.opening .p-lid, .present.card .p-lid { transform: translate(34px, -130px) rotate(20deg); opacity: 0; }
.confetti { position: absolute; left: 50%; top: 42%; border-radius: 2px; opacity: 0; animation: burst 1.35s cubic-bezier(0.15, 0.7, 0.3, 1) forwards; pointer-events: none; }
.gift-card { width: 100%; max-width: 340px; background: var(--bg); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 12px; animation: rise 0.4s ease-out; }
.gift-note { font-size: 17px; line-height: 25px; font-weight: 600; white-space: pre-line; }
.gift-sign { font-family: 'Fet', 'Fredoka', cursive; font-size: 30px; line-height: 38px; }

@keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wiggle { 0%, 72%, 100% { transform: rotate(0); } 78% { transform: rotate(-4deg); } 86% { transform: rotate(4deg); } 93% { transform: rotate(-2deg); } }
@keyframes burst {
  from { transform: translate(-50%, -50%) scale(0.4); opacity: 1; }
  70% { opacity: 1; }
  to { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sheet, .gift-card { animation: none; }
  .present.closed { animation: none; }
  .confetti { display: none; }
  .p-lid, .present { transition: none; }
}

/* Tomorrow line */
.tmr { display: flex; flex-direction: column; gap: 6px; width: 100%; text-align: left; border: 0; border-radius: 20px; padding: 12px 14px; background: var(--white); box-shadow: inset 0 0 0 2px var(--peach); color: var(--ink); font: inherit; cursor: pointer; }
.tmr-head { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 600; font-size: 16px; }
.tmr-row { display: block; font-size: 14.5px; line-height: 20px; }
.tmr-t { font-weight: 800; }
.tmr-s { font-weight: 600; color: var(--ink2); }
.tmr-bring { display: flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; color: var(--ink2); margin-top: 1px; }
.tmr-more { font-size: 13px; font-weight: 800; color: var(--ink2); }
.tile-bring { display: flex; align-items: center; gap: 5px; }
.row.is-canceled .row-title { text-decoration: line-through; }

/* Reminders in Settings */
.rem-on { display: flex; flex-direction: column; gap: 8px; }
.rem-on .fl-l { margin-top: 6px; }
.note-steps { border-radius: 18px; padding: 12px 14px; background: var(--peach2); box-shadow: inset 0 0 0 2px var(--peach); font-weight: 600; font-size: 15px; line-height: 21px; }
.note-steps p { margin: 0 0 6px; font-weight: 800; }
.note-steps ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
#rem-on { display: flex; align-items: center; justify-content: center; gap: 8px; }

/* ---------- Build 03: little moments ---------- */
.greet { font-size: 14px; line-height: 18px; font-weight: 800; color: var(--ink2); margin-bottom: -4px; }
.top-btns { align-items: center; }
.name-row { display: flex; align-items: center; gap: 10px; }
.nest-btn { position: relative; width: 80px; height: 56px; flex: none; border: 0; border-radius: 22px; background: var(--peach2); box-shadow: inset 0 0 0 2px var(--peach); padding: 0; display: flex; align-items: center; justify-content: center; }
.nest-btn svg { margin-top: 0; overflow: visible; }
.nest-btn.got .nest-bird, .nest-btn:active .nest-bird { animation: hop .45s ease-out 1; transform-origin: 50% 100%; }
.nest-n { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: var(--white); font-size: 11.5px; font-weight: 900; display: flex; align-items: center; justify-content: center; padding: 0 5px; box-sizing: border-box; }
.nest-btn.got { animation: nestGot .45s ease-out; }
.bubble.nap { display: flex; align-items: center; gap: 12px; }
.tmr-box { display: flex; flex-direction: column; border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 2px var(--peach); }
.tmr-box .tmr { background: transparent; box-shadow: none; padding-bottom: 6px; }
.tmr-box.is-ready { box-shadow: inset 0 0 0 2px var(--mint2); background: linear-gradient(180deg, #FFFFFF 0%, var(--mint1) 100%); }
.tmr-ready { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; background: var(--mint2); border-radius: 999px; padding: 2px 9px; font-family: 'Nunito', system-ui, sans-serif; font-size: 12.5px; font-weight: 900; }
.tmr-pack { display: flex; align-items: center; gap: 6px; min-height: 44px; border: 0; border-top: 2px solid var(--peach); background: transparent; padding: 0 12px 2px 4px; font: inherit; font-size: 14.5px; font-weight: 800; color: var(--ink); text-align: left; cursor: pointer; }
.tmr-pack .g-tick { pointer-events: none; }
.g-row.yay .g-tick svg { animation: yay .45s cubic-bezier(.3, 1.6, .5, 1); }
.g-row.yay .g-name { animation: nudge .45s ease-out; }
.bow { display: inline-flex; animation: bow .5s cubic-bezier(.3, 1.6, .5, 1); }
.tell-bird { display: flex; align-items: center; gap: 12px; }
.tell-bird .tell-lead { font-size: 15.5px; line-height: 21px; font-weight: 700; }
.tell-myself { align-self: center; }
.np-row.np-maybe { display: flex; flex-direction: column; align-items: stretch; gap: 8px; background: var(--peach2); border-radius: 16px; padding: 10px 12px; }
.np-q { font-size: 15px; font-weight: 800; }
.toast.with-bird { display: flex; align-items: center; gap: 8px; padding: 6px 16px 6px 8px; white-space: normal; max-width: calc(100% - 32px); box-sizing: border-box; width: max-content; }
.bird .bird-eyes { transform-box: fill-box; transform-origin: center; animation: blink 4s infinite; }
.bird.listen { transform-origin: 50% 90%; animation: lean 1.3s ease-in-out infinite; }
.bird .bird-ear { transform-box: view-box; transform-origin: 46px 33px; animation: ear .45s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes lean { 0%, 100% { transform: rotate(5deg); } 50% { transform: rotate(11deg); } }
@keyframes ear { 0% { transform: rotate(120deg); } 100% { transform: none; } }
.bird { overflow: visible; }
.bird.nod { transform-origin: 50% 90%; animation: nod2 1.3s ease-in-out both; }
.bird .bird-open { animation: eyeOpen 1.3s linear both; }
.bird .bird-shut { animation: eyeShut 1.3s linear both; }
.bird .bird-wave { animation: wave 1.2s ease-out infinite; }
.bird .bird-wave { animation-delay: .3s; }
.bird .bird-wave.w2 { animation-delay: 0s; }
@keyframes nod2 { 0%, 18% { transform: none; } 38% { transform: translateY(5px) rotate(2deg); } 52% { transform: translateY(-1px); } 68% { transform: translateY(4px) rotate(2deg); } 84%, 100% { transform: none; } }
@keyframes eyeOpen { 0%, 12% { opacity: 1; } 16%, 88% { opacity: 0; } 94%, 100% { opacity: 1; } }
@keyframes eyeShut { 0%, 12% { opacity: 0; } 16%, 88% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes wave { 0% { opacity: 0; transform: translateX(6px); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateX(-5px); } }
.bird.hop { transform-origin: 50% 100%; animation: hop .45s ease-out 2; }
.bird.sleep { transform-origin: 50% 100%; animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1, .96); } 50% { transform: scale(1.03, .99); } }
.bird-z { font-family: var(--display); font-weight: 600; fill: var(--ink2); animation: zz 2.4s infinite; }
.fx-conf { position: fixed; z-index: 200; width: 10px; height: 6px; border-radius: 2px; pointer-events: none; animation: fxConf 1.1s ease-out forwards; }
.fx-fly { position: fixed; z-index: 200; pointer-events: none; transition: transform .7s cubic-bezier(.5, -.3, .4, 1), opacity .7s; }
.fx-plane { position: fixed; z-index: 200; pointer-events: none; will-change: opacity; animation: fxFade 2s linear forwards; }
.fx-px { display: block; will-change: transform; animation: fxPx 2s cubic-bezier(.25, .6, .5, 1) forwards; }
.fx-py { display: block; will-change: transform; animation: fxPy 2s cubic-bezier(.55, 0, .8, .6) forwards; }
@keyframes fxConf { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--x), calc(var(--y) + 120px)) rotate(var(--r)); opacity: 0; } }
@keyframes fxPx { from { transform: translateX(0); } to { transform: translateX(190px); } }
@keyframes fxPy { from { transform: translateY(0) rotate(-10deg); } to { transform: translateY(-470px) rotate(-28deg) scale(.7); } }
@keyframes fxFade { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes nestGot { 40% { transform: scale(1.15) rotate(-4deg); } 100% { transform: none; } }
@keyframes yay { 0% { transform: scale(.3); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes nudge { 50% { transform: translateX(6px); } }
@keyframes bow { 0% { transform: scale(.3) rotate(-25deg); } 100% { transform: none; } }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes tilt { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
@keyframes nod { 50% { transform: translateY(3px) rotate(4deg); } }
@keyframes hop { 40% { transform: translateY(-10px); } 100% { transform: none; } }
@keyframes zz { 0% { opacity: 0; transform: translate(0, 4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(8px, -10px); } }
.shell.still *, .shell.still *::before, .shell.still *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .bird, .bird *, .nest-btn, .g-row *, .bow { animation: none !important; } }

/* ---------- Build 04: parties, prizes, passing on, pages, kids' corner, reminders, looking back ---------- */
.tile-box { border-radius: 22px; display: flex; flex-direction: column; }
.tile-box.mine { box-shadow: inset 0 0 0 3px var(--ink); }
.tile-in { background: transparent; }
.party-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 12px 12px; }
.pchk { min-height: 40px; border: 0; border-radius: 14px; background: rgba(255,255,255,.75); color: var(--ink); font-size: 13.5px; font-weight: 800; padding: 4px 10px; display: flex; align-items: center; gap: 8px; text-align: left; line-height: 1.15; }
.pchk-box { width: 22px; height: 22px; flex: none; border-radius: 7px; box-shadow: inset 0 0 0 2px var(--ink); display: flex; align-items: center; justify-content: center; background: var(--white); }
.pchk.on { background: var(--white); }
.pchk.on .pchk-box { background: var(--mint2); box-shadow: none; }
.party-soon { background: var(--warn); border-radius: 20px; display: flex; flex-direction: column; }
.party-soon .party-chips { padding-top: 2px; }
.party-soon-t { border: 0; background: transparent; color: var(--ink); text-align: left; padding: 12px 14px 8px; display: flex; gap: 10px; align-items: center; }
.ps-ic { width: 34px; height: 34px; flex: none; border-radius: 17px; background: var(--white); display: flex; align-items: center; justify-content: center; }
.won-card { border-radius: 20px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; background: var(--mint1); }
.won-card.small { background: var(--peach); }
.won-star { flex: none; animation: wonwiggle 2.6s ease-in-out infinite; }
@keyframes wonwiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-12deg) scale(1.1); } 92% { transform: rotate(10deg) scale(1.1); } }
.row-sub.dark { color: var(--ink); opacity: .8; }

.how-list { display: flex; flex-direction: column; gap: 8px; }
.how { width: 100%; border: 0; border-radius: 18px; background: var(--peach2); box-shadow: inset 0 0 0 2px var(--peach); color: var(--ink); padding: 12px 14px; display: flex; gap: 12px; align-items: center; text-align: left; }
.how.on { background: var(--mint1); box-shadow: inset 0 0 0 3px var(--ink); }
.how-dot { width: 24px; height: 24px; flex: none; border-radius: 12px; box-shadow: inset 0 0 0 2px var(--ink); display: flex; align-items: center; justify-content: center; }
.how.on .how-dot { background: var(--ink); color: var(--white); box-shadow: none; }
.sug-tag { display: inline-block; vertical-align: 2px; font-size: 11px; line-height: 16px; font-weight: 800; background: #FFD84D; border-radius: 8px; padding: 0 7px; margin-left: 4px; }

.corner-card { width: 100%; border: 0; border-radius: 22px; background: var(--peach); color: var(--ink); padding: 12px 14px; display: flex; gap: 12px; align-items: center; text-align: left; }
.corner-ic { width: 52px; height: 52px; flex: none; border-radius: 16px; background: var(--white); display: flex; align-items: center; justify-content: center; }
.chore-edit, .prize-edit { display: flex; flex-direction: column; gap: 8px; }
.prize-edit { background: var(--peach2); border-radius: 18px; padding: 10px; }
.chore-row { display: flex; gap: 8px; align-items: center; }
.chore-row .field { flex: 1; }
.chore-pic { width: 52px; height: 52px; flex: none; border: 0; border-radius: 16px; background: var(--peach); display: flex; align-items: center; justify-content: center; padding: 0; }
.chore-pic.sm { width: 44px; height: 44px; border-radius: 14px; }
.chore-pic.on { box-shadow: inset 0 0 0 3px var(--ink); }
.icon-pick { display: grid; grid-template-columns: repeat(5, 44px); gap: 8px; justify-content: start; padding: 4px 0 4px 2px; }
.prize-lid { width: 34px; height: 22px; flex: none; border-radius: 8px; border: 3px solid #2B4A52; }
.chips.c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.page-link .field { font-size: 13px; color: var(--ink2); }

.search { position: relative; display: block; }
.search svg { position: absolute; left: 14px; top: 15px; color: var(--ink2); }
.search .field { padding-left: 40px; }

.rem-rows { display: flex; flex-direction: column; gap: 8px; }
.rem-row { background: var(--peach2); box-shadow: inset 0 0 0 2px var(--peach); border-radius: 18px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.rem-row.on { background: var(--white); }
.rem-top { display: flex; gap: 10px; align-items: center; }
.rem-opts { display: flex; flex-direction: column; gap: 6px; }
.switch { width: 52px; height: 32px; flex: none; border: 0; border-radius: 16px; background: #E5D6CC; padding: 0; position: relative; transition: background .2s; }
.switch span { position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 13px; background: var(--white); box-shadow: 0 1px 3px rgba(7,65,77,.3); transition: left .2s; }
.switch.on { background: var(--ink); }
.switch.on span { left: 23px; }

/* the kids' corner screens sit above everything */
.kid-screen { position: absolute; inset: 0; z-index: 30; background: #FFFFFF; display: flex; flex-direction: column; animation: rise .22s ease-out; }
.kid-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding-bottom: 28px; }
.ms-wrap { position: relative; width: 100%; overflow: hidden; }
.ms-scene { position: absolute; left: 50%; top: 0; width: 390px; height: 392px; margin-left: -195px; transform-origin: 50% 0; color: #07414D; }
.ms-dots { position: absolute; left: -200px; right: -200px; top: 0; height: 382px; background-color: #FFF6EF; background-image: radial-gradient(#FFE3D3 1.6px, transparent 1.8px); background-size: 22px 22px; }
.ms-head { position: absolute; left: 0; top: 0; width: 390px; height: 64px; padding: 10px 20px; display: flex; align-items: center; gap: 10px; z-index: 5; }
.ms-head h1 { margin: 0; flex: 1; min-width: 0; font-size: 26px; line-height: 32px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-round { width: 44px; height: 44px; flex: none; border: 0; border-radius: 22px; background: #FFFFFF; color: #07414D; display: flex; align-items: center; justify-content: center; }
.ms-pill { height: 40px; padding: 0 12px; border: 0; border-radius: 20px; background: #FFFFFF; color: #07414D; font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.ms-backstrip { position: absolute; left: 10px; top: 291px; width: 370px; height: 14px; border-radius: 6px; background: #F2C79B; border: 3px solid #7A4A26; z-index: 1; }
.ms-plant { position: absolute; left: 0; top: 0; width: 72px; height: 300px; z-index: 2; transform-origin: 38px 296px; }
.ms-stem { position: absolute; left: 36px; width: 5px; border-radius: 3px; background: #3E8E5E; transition: top .5s ease, height .5s ease; }
.ms-leafbox { position: absolute; width: 24px; height: 15px; }
.ms-leaf { display: block; width: 24px; height: 15px; border: 2.5px solid #2B5E3F; }
.ms-flower { position: absolute; left: 25px; width: 28px; height: 28px; animation: ms-grow .6s ease both; }
.ms-pot { position: absolute; left: 12px; top: 248px; width: 54px; height: 48px; }
.ms-burst { position: absolute; left: 30px; width: 16px; height: 16px; animation: ms-burst .9s ease-out both; }
.ms-bubble { position: absolute; left: 4px; z-index: 7; background: #3E8E5E; color: #FFFFFF; border-radius: 14px; padding: 4px 10px; font-family: var(--display); font-size: 15px; font-weight: 600; white-space: nowrap; animation: ms-bubble 2.2s ease both; }
.ms-jar { position: absolute; top: 132px; width: 88px; height: 166px; border: 0; padding: 0; background: none; transform-origin: 50% 100%; z-index: 3; }
.ms-jar:active { transform: scale(.97); }
.ms-lid { position: absolute; left: 10px; top: 0; width: 68px; height: 22px; border-radius: 9px; border: 3px solid #2B4A52; transform-origin: 50% 100%; z-index: 2; }
.ms-lid > span { position: absolute; left: 6px; right: 6px; top: 4px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.6); }
.ms-neck { position: absolute; left: 14px; top: 19px; width: 60px; height: 9px; background: rgba(255,255,255,.75); border-left: 3px solid rgba(43,74,82,.6); border-right: 3px solid rgba(43,74,82,.6); }
.ms-glass { position: absolute; left: 0; top: 26px; width: 88px; height: 140px; border-radius: 22px 22px 28px 28px; background: linear-gradient(160deg, rgba(255,255,255,.95) 0%, rgba(221,244,234,.75) 100%); border: 3px solid rgba(43,74,82,.55); overflow: hidden; display: block; }
.ms-fill { position: absolute; left: 0; bottom: 0; width: 100%; background: linear-gradient(180deg, rgba(255,229,138,0) 0%, rgba(255,229,138,.75) 35%, #FFE58A 100%); transition: height .6s ease; }
.ms-star { position: absolute; }
.ms-glint { position: absolute; left: 8px; width: 8px; border-radius: 4px; background: rgba(255,255,255,.9); }
.ms-glint.a { top: 12px; height: 52px; }
.ms-glint.b { top: 70px; height: 10px; }
.ms-shine { position: absolute; left: -50px; top: -30px; width: 22px; height: 210px; background: rgba(255,255,255,.55); animation: ms-shine 5s linear infinite; }
.ms-plank { position: absolute; left: 6px; top: 300px; width: 378px; height: 24px; border-radius: 7px; border: 3px solid #7A4A26; background: repeating-linear-gradient(90deg, rgba(122,74,38,.10) 0 2px, transparent 2px 27px), linear-gradient(180deg, #E3AC7A 0%, #C8874F 100%); box-shadow: 0 10px 14px -8px rgba(90,50,20,.5); z-index: 4; }
.ms-plank .k1 { position: absolute; left: 70px; top: 6px; width: 16px; height: 6px; border-radius: 50%; border: 2px solid rgba(122,74,38,.35); }
.ms-plank .k2 { position: absolute; left: 250px; top: 8px; width: 12px; height: 5px; border-radius: 50%; border: 2px solid rgba(122,74,38,.35); }
.ms-plank .hl { position: absolute; left: 0; right: 0; top: 2px; height: 3px; background: rgba(255,255,255,.3); }
.ms-leg { position: absolute; top: 320px; width: 14px; height: 20px; border: 3px solid #7A4A26; border-top: 0; border-radius: 0 0 7px 7px; background: #B5743F; }
.ms-leg.l { left: 44px; } .ms-leg.r { left: 332px; }
.ms-birdpos { position: absolute; top: 78px; width: 56px; height: 56px; z-index: 6; transition: left .7s ease-in-out; }
.ms-note { position: absolute; left: 44px; top: -4px; animation: ms-note .9s ease-out both; }
.ms-label { position: absolute; top: 334px; width: 92px; display: flex; flex-direction: column; align-items: center; text-align: center; z-index: 4; }
.ms-label.plant { left: 2px; width: 66px; }
.ms-label .n { font-family: var(--display); font-size: 13px; line-height: 15px; font-weight: 600; text-wrap: balance; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; }
.ms-label .v { font-size: 12px; line-height: 16px; font-weight: 800; white-space: nowrap; }
.ms-hint { margin: 4px 20px 14px; text-align: center; font-size: 15px; line-height: 20px; font-weight: 800; }
.ms-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0 22px; }
.ms-tile { position: relative; min-height: 116px; border: 3px solid #F3D9C8; border-radius: 26px; background: #FFFFFF; box-shadow: 0 6px 0 #F3D9C8; color: #07414D; font-family: var(--display); font-size: 19px; font-weight: 600; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px; text-align: center; transition: transform .1s; }
.ms-tile.done { background: linear-gradient(180deg, #DDF4EA 0%, #BFE9DD 100%); border-color: #8FD3C1; box-shadow: 0 6px 0 #8FD3C1; }
.ms-tile:active { transform: translateY(4px); }
.ms-check { position: absolute; top: 8px; right: 10px; width: 30px; height: 30px; border-radius: 15px; background: #067647; color: #FFFFFF; display: flex; align-items: center; justify-content: center; animation: ms-grow .4s ease both; }
.ms-mom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 22px 22px 0; }
.ms-mom .ms-tile { min-height: 54px; flex-direction: row; font-size: 17px; gap: 8px; }
.ms-bonus { border-color: #E0B520 !important; background: #FFD84D !important; box-shadow: 0 5px 0 #E0B520 !important; }
.ms-edit { font-family: 'Nunito', system-ui, sans-serif !important; font-size: 15px !important; font-weight: 800 !important; color: #3A6069 !important; }
.ms-note-mom { margin: 14px 22px 0; text-align: center; font-size: 13px; line-height: 18px; font-weight: 700; color: #3A6069; }
.ms-won { margin: 20px 22px 0; background: #FFF6EF; border-radius: 20px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.ms-won-h { font-family: var(--display); font-size: 16px; font-weight: 600; }
.ms-won-row { display: flex; align-items: center; gap: 10px; }
.ms-won-t { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; font-weight: 700; color: #3A6069; }
.ms-won-t b { font-size: 16px; color: #07414D; }
.ms-flylayer { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 80; pointer-events: none; }
.ms-trail { position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; animation: ms-fly .85s cubic-bezier(.45,.05,.4,1) both; }
.ms-flystar { position: absolute; left: 0; top: 0; width: 48px; height: 48px; animation: ms-fly .85s cubic-bezier(.45,.05,.4,1) forwards; filter: drop-shadow(0 0 8px #FFE58A); }
.ms-party { position: absolute; inset: 0; z-index: 40; background: rgba(7,65,77,.55); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ms-confetti { position: absolute; top: 0; height: 14px; border-radius: 3px; opacity: 0; }
.ms-prize { width: 310px; max-width: calc(100% - 40px); border-radius: 30px; background: #FFFFFF; border: 3px solid #FFD84D; padding: 24px 22px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; animation: ms-pop .5s ease forwards; }
.ms-prize svg { width: 100px; height: 100px; }
.ms-prize h2 { font-size: 30px; line-height: 36px; }
.ms-prize .big { font-size: 18px; line-height: 24px; font-weight: 800; }
.ms-prize .small { font-size: 13.5px; line-height: 18px; font-weight: 700; color: #3A6069; }
.ms-blink { transform-box: fill-box; transform-origin: center; animation: ms-blink 4.6s infinite; }
.ms-bob { animation: ms-bob 2.4s ease-in-out infinite; }
@keyframes ms-fly { 0% { transform: translate(var(--x0), var(--y0)) scale(.7) rotate(0deg); } 45% { transform: translate(var(--xm), var(--ym)) scale(1.5) rotate(160deg); } 100% { transform: translate(var(--x1), var(--y1)) scale(.6) rotate(340deg); } }
@keyframes ms-fade { 0% { opacity: .95; } 100% { opacity: 0; } }
@keyframes ms-drop { 0% { transform: translateY(var(--from)) scale(1); } 62% { transform: translateY(0) scale(1); } 74% { transform: translateY(0) scale(1.25,.75); } 86% { transform: translateY(-6px) scale(.92,1.08); } 100% { transform: translateY(0) scale(1); } }
@keyframes ms-jiggle { 0% { transform: rotate(0deg); } 20% { transform: rotate(-6deg) scale(1.03,.97); } 45% { transform: rotate(5deg); } 70% { transform: rotate(-2deg); } 100% { transform: rotate(0deg); } }
@keyframes ms-lidtap { 0% { transform: translateY(0) rotate(0deg); } 40% { transform: translateY(-10px) rotate(-8deg); } 100% { transform: translateY(0) rotate(0deg); } }
@keyframes ms-lidpop { 0% { transform: translateY(0) rotate(0deg); } 35% { transform: translateY(-70px) rotate(-200deg); } 70% { transform: translateY(-20px) rotate(-340deg); } 100% { transform: translateY(0) rotate(-360deg); } }
@keyframes ms-glow { 0%, 100% { box-shadow: 0 0 0 4px rgba(255,216,77,.9); } 50% { box-shadow: 0 0 0 9px rgba(255,216,77,.45); } }
@keyframes ms-shine { 0% { transform: translateX(0) rotate(20deg); } 28%, 100% { transform: translateX(200px) rotate(20deg); } }
@keyframes ms-blink { 0%, 91%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.1); } }
@keyframes ms-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes ms-hopA { 0% { transform: translateY(0); } 45% { transform: translateY(-38px); } 80% { transform: translateY(0) scale(1.12,.88); } 100% { transform: translateY(0) scale(1); } }
@keyframes ms-hopB { 0% { transform: translateY(0); } 45% { transform: translateY(-38px); } 80% { transform: translateY(0) scale(1.12,.88); } 100% { transform: translateY(0) scale(1); } }
@keyframes ms-smallA { 0% { transform: translateY(0); } 30% { transform: translateY(0) scale(1.1,.9); } 60% { transform: translateY(-14px) scale(.95,1.05); } 85% { transform: translateY(0) scale(1.08,.92); } 100% { transform: translateY(0) scale(1); } }
@keyframes ms-smallB { 0% { transform: translateY(0); } 30% { transform: translateY(0) scale(1.1,.9); } 60% { transform: translateY(-14px) scale(.95,1.05); } 85% { transform: translateY(0) scale(1.08,.92); } 100% { transform: translateY(0) scale(1); } }
@keyframes ms-arcA { 0% { transform: translateY(0); } 50% { transform: translateY(-36px); } 100% { transform: translateY(0); } }
@keyframes ms-arcB { 0% { transform: translateY(0); } 50% { transform: translateY(-36px); } 100% { transform: translateY(0); } }
@keyframes ms-wingflap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(-.75); } }
@keyframes ms-jump { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
@keyframes ms-flapL { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(38deg); } }
@keyframes ms-flapR { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-38deg); } }
@keyframes ms-note { 0% { transform: translate(0,0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(14px,-40px); opacity: 0; } }
@keyframes ms-grow { 0% { transform: scale(0); } 70% { transform: scale(1.3); } 100% { transform: scale(1); } }
@keyframes ms-leaf { 0% { transform: scale(0); filter: drop-shadow(0 0 0 #FFE58A); } 45% { transform: scale(1.9); filter: drop-shadow(0 0 8px #FFE58A); } 70% { transform: scale(1.9); filter: drop-shadow(0 0 10px #FFE58A); } 100% { transform: scale(1); filter: drop-shadow(0 0 0 #FFE58A); } }
@keyframes ms-wiggle { 0%, 100% { transform: rotate(0deg); } 15% { transform: rotate(-7deg); } 35% { transform: rotate(6deg); } 55% { transform: rotate(-4deg); } 75% { transform: rotate(2deg); } }
@keyframes ms-burst { 0% { transform: translate(0,0) scale(.3); opacity: 1; } 100% { transform: translate(var(--dx),var(--dy)) scale(1); opacity: 0; } }
@keyframes ms-bubble { 0% { transform: translateY(10px) scale(.4); opacity: 0; } 20% { transform: translateY(0) scale(1.1); opacity: 1; } 75% { transform: translateY(-8px) scale(1); opacity: 1; } 100% { transform: translateY(-22px) scale(.9); opacity: 0; } }
@keyframes ms-fall { 0% { transform: translateY(-30px) rotate(0deg); opacity: 1; } 100% { transform: translateY(880px) rotate(720deg); opacity: .9; } }
@keyframes ms-pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }

/* teen page */
.teen { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg); }
.teen-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 16px 20px 18px; border-radius: 0 0 28px 28px; }
.teen-hi { font-size: 15px; font-weight: 800; }
.teen-body { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 20px 28px; display: flex; flex-direction: column; gap: 18px; }
.teen-list { display: flex; flex-direction: column; gap: 8px; }
.teen-row { position: relative; width: 100%; min-height: 56px; border: 0; border-radius: 18px; background: var(--peach2); box-shadow: inset 0 0 0 2px var(--peach); color: var(--ink); padding: 8px 14px; display: flex; align-items: center; gap: 12px; text-align: left; font-size: 16px; font-weight: 800; }
.teen-row.done { background: var(--mint1); box-shadow: none; }
.teen-row.done .teen-t { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .7; }
.teen-box { width: 26px; height: 26px; flex: none; border-radius: 8px; box-shadow: inset 0 0 0 2.5px var(--ink); display: flex; align-items: center; justify-content: center; }
.teen-row.done .teen-box { background: var(--ink); color: var(--white); box-shadow: none; }
.teen-t { flex: 1; min-width: 0; }
.teen-pop { position: absolute; right: 14px; top: 8px; background: #FFD84D; border-radius: 10px; padding: 2px 8px; font-size: 13px; animation: ms-bubble 1s ease both; }
.teen-goal { width: 100%; border: 0; border-radius: 18px; background: var(--peach2); box-shadow: inset 0 0 0 2px var(--peach); color: var(--ink); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.teen-goal.on { background: var(--white); box-shadow: inset 0 0 0 3px var(--ink); }
.teen-goal-top { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 800; }
.teen-goal-top b { font-size: 16px; }
.teen-bar { height: 12px; border-radius: 6px; background: var(--peach); overflow: hidden; }
.teen-bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #FFE58A, #FFD84D); transition: width .5s ease; }
.teen-pick { font-size: 13px; font-weight: 800; color: var(--ink2); }
.teen-won { background: var(--mint1); border-radius: 16px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.teen-won b { font-size: 15px; flex: 1; }
.teen-day { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--peach); border-radius: 14px; padding: 9px 12px; font-weight: 800; }
.teen-d { font-family: var(--display); font-weight: 600; }
.teen-tm { font-size: 14px; color: var(--ink2); }
.teen-party .ms-prize h2 { font-size: 26px; line-height: 32px; }

/* personal pages */
.pv-kid { position: absolute; inset: 0; display: flex; flex-direction: column; }
.pv-kid > .kid-screen, .pv-kid > .teen { position: relative; flex: 1; min-height: 0; }
.pv { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg); }
.pv-shell { max-width: 520px; }
.pv-head { flex: none; padding: 20px 20px 18px; border-radius: 0 0 28px 28px; }
.pv-from { font-size: 14px; font-weight: 800; opacity: .8; }
.pv-body { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 20px 28px; display: flex; flex-direction: column; gap: 18px; }
.pv-card { border-radius: 20px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.pv-card.grabs { background: var(--warn); }
.pv-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pv-text .row-sub { color: var(--ink); opacity: .8; }
.pv-previewbar { flex: none; position: relative; z-index: 50; background: var(--ink); color: var(--white); padding: 8px 12px 8px 16px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; }
.pv-previewbar span { flex: 1; }
.pv-previewbar .mini { background: var(--white); color: var(--ink); }
.pv-sheet { z-index: 35; }
.pv-push { text-align: center; }

.toast.with-bird { animation: toastIn .35s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes toastIn { 0% { transform: translate(-50%, 24px) scale(.8); opacity: 0; } 100% { transform: translate(-50%, 0) scale(1); opacity: 1; } }

/* ---------- Build 05: bell, month, reminders help, teen later ---------- */
.bell-btn { position: relative; }
.bell-dot { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; border-radius: 10px; padding: 0 5px; background: #E8604C; color: #FFFFFF; font-size: 11px; font-weight: 800; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px var(--white); animation: bellpop .4s cubic-bezier(.3,1.6,.5,1) both; }
.bell-btn.has-news svg { transform-origin: 50% 10%; animation: ring 2.6s ease-in-out 1; }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 66% { transform: rotate(14deg); } 72% { transform: rotate(-12deg); } 78% { transform: rotate(8deg); } 84% { transform: rotate(-5deg); } }
@keyframes bellpop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.news-row { width: 100%; border: 0; border-radius: 18px; background: var(--peach2); box-shadow: inset 0 0 0 2px var(--peach); color: var(--ink); padding: 10px 12px; display: flex; align-items: center; gap: 12px; text-align: left; }
.news-row.is-new { background: var(--mint1); box-shadow: none; }
.news-ic { width: 38px; height: 38px; flex: none; border-radius: 19px; background: var(--white); display: flex; align-items: center; justify-content: center; }
.mo { display: flex; flex-direction: column; gap: 4px; }
.mo-row, .mo-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.mo-head span { text-align: center; font-size: 12px; font-weight: 800; color: var(--ink2); }
.mo-day { min-height: 54px; border: 0; border-radius: 12px; background: var(--peach2); color: var(--ink); padding: 4px 2px 3px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.mo-day.out { opacity: .4; }
.mo-day.today { box-shadow: inset 0 0 0 2.5px var(--ink); }
.mo-day.sel { background: var(--ink); color: var(--white); }
.mo-day.sel .mo-ics { color: var(--white); }
.mo-n { font-family: var(--display); font-size: 15px; line-height: 17px; font-weight: 600; }
.mo-dots { display: flex; gap: 2px; min-height: 8px; align-items: center; }
.mo-dots i { width: 8px; height: 8px; border-radius: 4px; display: block; box-shadow: 0 0 0 1px rgba(7,65,77,.25); }
.mo-dots b { font-size: 10px; line-height: 8px; }
.mo-ics { display: flex; gap: 1px; color: var(--ink2); min-height: 11px; }
.rem-help { background: var(--aqua); border-radius: 18px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 19px; font-weight: 700; }
.rem-help b { font-family: var(--display); font-size: 17px; font-weight: 600; }
.rem-help ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 3px; }
.ms-footer { margin: 20px 22px 0; }
.teen-day { grid-template-columns: 64px minmax(0, 1fr) auto; }
.teen-day.is-done { opacity: .6; }
.teen-dt { display: flex; flex-direction: column; min-width: 0; }
.teen-from { font-size: 11px; font-weight: 800; color: var(--ink2); text-transform: uppercase; letter-spacing: .03em; }
.teen-ok { width: 36px; text-align: center; font-weight: 800; color: #067647; }

/* Build 07: Oops / take a star back */
.ms-oops { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 45; width: min(358px, calc(100% - 32px)); box-shadow: 0 8px 24px rgba(7,65,77,.22); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 12px 14px; border-radius: 18px; background: #FFF3D6; color: #07414D; font-weight: 800; font-size: 15px; text-align: center; }
.teen-oops { }

/* Build 07: a thin stripe that shows how close something is */
[data-near] { box-shadow: inset 6px 0 0 var(--near); }
[data-near=today] { --near: #E0455A; }
[data-near=soon] { --near: #F2A93B; }
[data-near=week] { --near: #6C8EE0; }
[data-near=later] { --near: #C9CED3; }
/* Build 07: add on a day (Week and Month) */
.add-day { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 12px; padding: 14px 16px; border-radius: 18px; border: 2px dashed rgba(7,65,77,.25); background: #FFFFFF; color: var(--ink, #07414D); font: inherit; font-weight: 800; font-size: 16px; text-align: left; cursor: pointer; }
.add-day span { flex: 1; }
.wk-add { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; padding: 0; position: relative; }
.wk-plus { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgba(7,65,77,.08); }

/* Family page: week strip, month, color key */
.pv-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.pv-sday { border: 0; border-radius: 14px; background: var(--peach2); color: var(--ink); padding: 7px 2px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; font: inherit; cursor: pointer; }
.pv-sday .d { font-size: 11px; font-weight: 800; color: var(--ink2); text-transform: capitalize; }
.pv-sday .n { font-family: var(--display); font-size: 17px; line-height: 19px; font-weight: 600; }
.pv-sday.today { box-shadow: inset 0 0 0 2.5px var(--ink); }
.pv-sday.sel { background: var(--ink); color: var(--white); }
.pv-sday.sel .d { color: var(--white); }
.pv-all { align-self: flex-start; margin-top: -8px; }
.pv-key { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; font-weight: 800; color: var(--ink2); }
.pv-key span { display: flex; align-items: center; gap: 6px; }
.pv-key i { width: 14px; height: 14px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(7,65,77,.2); display: block; }
.pv-mhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: -6px; }
.pv-mhead h2 { margin: 0; }
.pv-mhead .icon-btn { font-size: 26px; line-height: 1; font-weight: 700; margin-left: 6px; }
.pv-mhead > span { display: flex; gap: 6px; }
.pv-mhead .icon-btn { margin-left: 0; }

/* Build 11: nudges in the bell, settings sub-heading, Can't do it */
.nudge-row { align-items: flex-start; background: var(--warn); }
.nudge-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rem-sub { margin-top: 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.pv-btns { display: flex; flex-direction: column; gap: 6px; align-items: stretch; flex: none; }
.mini.mini-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px rgba(7,65,77,.25); }
