/* Penny Jar: warm cream + copper by day, dim amber by night. */

:root {
  --bg: #FBF5EC;
  --bg-2: #F5EBDC;
  --card: #FFFFFF;
  --ink: #23324A;
  --ink-2: #66707F;
  --ink-3: #9AA0A8;
  --line: #EFE3D1;
  --copper: #C9743F;
  --copper-soft: #F8E5D6;
  --teal: #4E9C94;
  --teal-soft: #DDF0EC;
  --gold: #C8951E;
  --gold-soft: #FBF0D2;
  --plum: #7D6AA8;
  --plum-soft: #ECE7F6;
  --indigo: #4F63A8;
  --indigo-soft: #E2E7F6;
  --rose: #C2463F;
  --rose-soft: #FBE3E0;
  --jar-glass: rgba(255, 255, 255, .55);
  --jar-line: #23324A;
  --jar-lid: #23324A;
  --jar-neck: #3A4A63;
  --shadow: 0 1px 2px rgba(35, 50, 74, .05), 0 6px 20px rgba(35, 50, 74, .06);
  --radius: 22px;
  --tabs-h: 64px;
  color-scheme: light;
}

:root[data-theme="night"] {
  --bg: #120E0B;
  --bg-2: #1A1410;
  --card: #1E1813;
  --ink: #F0C892;
  --ink-2: #B08F69;
  --ink-3: #7A6450;
  --line: #2F251C;
  --copper: #D98549;
  --copper-soft: #3A2516;
  --teal: #6FB3A9;
  --teal-soft: #17302C;
  --gold: #D7A63A;
  --gold-soft: #332811;
  --plum: #A794D0;
  --plum-soft: #2A2338;
  --indigo: #8E9FDB;
  --indigo-soft: #1C2136;
  --rose: #E0766D;
  --rose-soft: #3A1B18;
  --jar-glass: rgba(255, 220, 170, .06);
  --jar-line: #B08F69;
  --jar-lid: #7A5A3A;
  --jar-neck: #5E4630;
  --shadow: none;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body { margin: 0; background: var(--bg); }

body {
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  transition: background-color .4s;
}
body.noscroll { overflow: hidden; }

#app {
  max-width: 560px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 12px) 16px 24px;
}
body.has-tabs #app { padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom) + 28px); }

button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; -webkit-user-select: none; user-select: none; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); }

h1, h2, h3, p { margin: 0; }
h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 15px; font-weight: 800; }

.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ─── header ─── */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 2px 16px; }
.top p { color: var(--ink-2); font-size: 14px; font-weight: 600; margin-top: 2px; }
.brand { display: flex; align-items: center; gap: 12px; }
.coinmark { width: 46px; height: 46px; filter: drop-shadow(0 3px 6px rgba(201, 116, 63, .35)); }
.me {
  width: 40px; height: 40px; border-radius: 50%; padding: 0; overflow: hidden;
  background: var(--card); box-shadow: var(--shadow); border: 1px solid var(--line);
  font-weight: 800; color: var(--copper);
}
.me img, .face img, .avatar-btn > img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.babyface {
  width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex: none;
  border: 3px solid var(--card); box-shadow: 0 0 0 2.5px var(--copper), 0 4px 10px rgba(201, 116, 63, .3);
}
.mini { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; vertical-align: -3px; margin-right: 4px; }

/* profile picture pickers */
.avatar-pick { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.avatar-pick b { display: block; }
.avatar-pick .meta { margin-top: 2px; }
.avatar-pick .linklike { padding: 6px 0 0; }
.avatar-btn { position: relative; width: 72px; height: 72px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.avatar-btn .coinmark, .avatar-btn .babyface { width: 72px; height: 72px; }
.avatar-btn .face { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--copper-soft); color: var(--copper); font-size: 30px; font-weight: 800; overflow: hidden; }
.avatar-btn .cam {
  position: absolute; right: -2px; bottom: -2px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--bg); border: 2px solid var(--card);
}
.avatar-btn .cam .i { width: 15px; height: 15px; }

/* ─── cards ─── */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 18px;
  margin-bottom: 14px;
}
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.meta { color: var(--ink-2); font-size: 14px; margin-top: 6px; }
.sub { font-weight: 700; color: var(--copper); margin-top: 2px; }

/* next feed */
.next { display: flex; align-items: center; gap: 16px; }
.ring { width: 76px; height: 76px; flex: none; }
.ring .track { fill: none; stroke: var(--copper-soft); stroke-width: 7; }
.ring .fill { fill: none; stroke: var(--copper); stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset .6s; }
.ring .i { color: var(--copper); }
.next[data-action] { cursor: pointer; transition: transform .12s; }
.next[data-action]:active { transform: scale(.985); }
.every { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.every span { color: var(--copper); margin-left: 6px; }
.bigstep { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 10px; margin: 16px 0 14px; }
.bigstep button { height: 64px; border-radius: 20px; background: var(--card); border: 1.5px solid var(--line); font-size: 30px; font-weight: 700; color: var(--copper); }
.bigstep output { text-align: center; font-size: 40px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.chips.center { justify-content: center; }
.preview { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--copper-soft); font-size: 14px; color: var(--ink-2); }
.preview b { color: var(--ink); }
.next.over { border-color: color-mix(in srgb, var(--rose) 40%, var(--line)); background: linear-gradient(180deg, var(--rose-soft), var(--card) 70%); }
.next.over .sub { color: var(--rose); }
.ring.over .fill { stroke: var(--rose); }
.ring.over .i { color: var(--rose); }

/* live feed timer */
.live { background: linear-gradient(160deg, var(--copper-soft), var(--card) 75%); border-color: color-mix(in srgb, var(--copper) 35%, var(--line)); text-align: center; }
.live-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--copper); font-size: 14px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--copper); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--copper) 55%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.bigclock { font-size: 56px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin: 6px 0 10px; }
.sides { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.side { border-radius: 16px; padding: 10px; background: var(--bg-2); color: var(--ink-2); border: 2px solid transparent; }
.side span { display: block; font-size: 13px; font-weight: 700; }
.side b { font-size: 22px; font-variant-numeric: tabular-nums; color: var(--ink); }
.side.on { border-color: var(--copper); background: var(--card); color: var(--copper); }
.live-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 6px; }

/* quick log buttons */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.qb {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 86px; border-radius: 20px; font-weight: 800; font-size: 15px; padding: 0 2px;
  box-shadow: var(--shadow); transition: transform .12s;
}
.qb .i { width: 28px; height: 28px; stroke-width: 1.8; }
.q-sleep { background: var(--indigo-soft); color: var(--indigo); }
.q-sleep.on { background: var(--indigo); color: #fff; }
.t-sleep .ico { background: var(--indigo-soft); color: var(--indigo); }
.d-sleep { background: #7C8DCB; }
.tally.sleep b { font-size: 22px; }

/* sleeping now */
.sleeplive { text-align: center; background: linear-gradient(160deg, var(--indigo-soft), var(--card) 75%); border-color: color-mix(in srgb, var(--indigo) 35%, var(--line)); }
.sleeplive .live-top { color: var(--indigo); }
.sleeplive .live-top .i { width: 18px; height: 18px; }
.sleeplive .btn.primary { background: var(--indigo); border-color: var(--indigo); margin-top: 4px; }
.sheet[data-smode="now"] .sleep-past, .sheet[data-smode="past"] .sleep-now { display: none; }
.sleepstart {
  width: 100%; min-height: 150px; border-radius: var(--radius); background: var(--indigo-soft); color: var(--indigo);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 2px solid color-mix(in srgb, var(--indigo) 30%, transparent);
}
.sleepstart .i { width: 36px; height: 36px; }
.sleepstart b { font-size: 22px; font-weight: 800; }
.sleepstart span { color: var(--ink-2); font-size: 14px; font-weight: 600; }
.sleepstart em { font-style: normal; font-weight: 800; }
.sleepstart:active { transform: scale(.98); }
.qb:active { transform: scale(.96); }
.q-feed { background: var(--copper-soft); color: var(--copper); }
.q-diaper { background: var(--teal-soft); color: var(--teal); }
.q-note { background: var(--plum-soft); color: var(--plum); }

/* jar */
.jarcard { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; }
.jar svg { display: block; }
.tallies { display: flex; flex-direction: column; gap: 4px; }
.tally { display: flex; align-items: baseline; gap: 8px; }
.tally b { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; min-width: 1.2ch; }
.tally span { color: var(--ink-2); font-weight: 700; }
.tsub { font-size: 13px; color: var(--ink-3); font-weight: 600; margin: -4px 0 2px 18px; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; transform: translateY(-3px); }
.d-feed { background: #D98A55; }
.d-wet { background: #6DB3AB; }
.d-dirty { background: #E2B23E; }
.typical { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); background: var(--bg-2); border-radius: 14px; padding: 10px 12px; margin-top: 8px; }
.drop { animation: coin-drop .7s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes coin-drop { from { transform: translateY(-110px); opacity: 0; } 40% { opacity: 1; } to { transform: none; } }

/* list rows */
.list-head { display: flex; align-items: center; justify-content: space-between; margin: 18px 4px 8px; }
.row {
  width: 100%; display: flex; align-items: center; gap: 12px; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 12px 14px; margin-bottom: 8px; box-shadow: var(--shadow);
}
.row:active { transform: scale(.99); }
.ico { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.t-feed .ico { background: var(--copper-soft); color: var(--copper); }
.t-wet .ico { background: var(--teal-soft); color: var(--teal); }
.t-dirty .ico { background: var(--gold-soft); color: var(--gold); }
.t-dry .ico { background: var(--bg-2); color: var(--ink-2); }
.t-note .ico { background: var(--plum-soft); color: var(--plum); }
.swatch { width: 22px; height: 22px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .12); }
.txt { flex: 1; min-width: 0; }
.txt b { display: flex; align-items: center; gap: 6px; font-size: 16px; }
.txt small { display: block; color: var(--ink-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.flag { color: var(--rose); display: inline-flex; }
.flag .i { width: 16px; height: 16px; }
.flagged { border-color: color-mix(in srgb, var(--rose) 45%, var(--line)); }
.thumb { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: none; }
.when { text-align: right; font-weight: 700; font-size: 14px; white-space: nowrap; }
.when small { display: block; color: var(--ink-3); font-weight: 600; font-size: 12px; }
.empty { color: var(--ink-3); text-align: center; padding: 28px 0; font-weight: 600; }

/* history */
.day { margin-top: 18px; }
.dayhead { margin: 0 4px 8px; }
.dayhead p { font-size: 13px; color: var(--ink-2); font-weight: 600; }

/* chips + segmented */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips > button {
  padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line);
  font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 7px;
}
.chips > button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter { margin-bottom: 4px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
.filter::-webkit-scrollbar { display: none; }
.filter > button { flex: none; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--bg-2); border-radius: 14px; padding: 4px; gap: 4px; margin: 10px 0; }
.seg > button { padding: 10px; border-radius: 11px; font-weight: 800; color: var(--ink-2); display: flex; align-items: center; justify-content: center; gap: 6px; }
.seg > button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.seg .i { width: 18px; height: 18px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 18px; border-radius: 16px; font-weight: 800;
  background: var(--bg-2); border: 1.5px solid var(--line);
}
.btn.primary { background: var(--copper); color: #FFF8F0; border-color: var(--copper); }
.btn.danger { background: transparent; color: var(--rose); border-color: transparent; margin-top: 4px; }
.btn.wide { width: 100%; margin-top: 12px; }
.btn:active { transform: scale(.98); }
.linklike { color: var(--copper); font-weight: 800; font-size: 15px; padding: 10px 4px; }
.linklike.muted { color: var(--ink-3); font-size: 14px; }
.iconbtn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--ink-2); }
.iconbtn .i { width: 18px; height: 18px; }

/* form fields */
.field { display: block; margin-top: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 0 2px 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); background: var(--bg); border-radius: 14px;
  padding: 12px 14px; min-height: 48px; outline: none; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--copper); }
.form h3 { margin-bottom: 2px; }
.form .seg { margin-top: 12px; }

.stepper { display: grid; grid-template-columns: 1fr 48px 92px auto 48px; align-items: center; gap: 8px; margin-top: 12px; }
.stepper .slabel { font-weight: 800; }
.stepper button { height: 48px; border-radius: 14px; background: var(--bg-2); border: 1.5px solid var(--line); font-size: 24px; font-weight: 700; }
.stepper input { height: 48px; text-align: center; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); font-weight: 800; font-size: 20px; width: 100%; min-width: 0; outline: none; }
.stepper .unit { color: var(--ink-2); font-weight: 700; font-size: 14px; }

.switch { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); cursor: pointer; transition: background .2s, border-color .2s; }
.switch:has(input:checked) { background: var(--rose-soft); border-color: color-mix(in srgb, var(--rose) 35%, var(--line)); }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track { width: 50px; height: 30px; border-radius: 99px; background: color-mix(in srgb, var(--ink-3) 45%, transparent); position: relative; flex: none; transition: background .2s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.switch input:checked + .track { background: var(--rose); }
.switch input:checked + .track::after { transform: translateX(20px); }
.stxt b { display: block; }
.switch:has(input:checked) .stxt b { color: var(--rose); }
.stxt small { color: var(--ink-2); font-size: 13px; }

/* ─── sheet ─── */
#sheet {
  position: fixed; inset: 0; z-index: 50; background: rgba(20, 16, 12, 0);
  display: flex; align-items: flex-end; justify-content: center; transition: background .25s;
}
#sheet[hidden] { display: none; }
#sheet.open { background: rgba(20, 16, 12, .42); }
.sheet {
  width: 100%; max-width: 560px; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-radius: 26px 26px 0 0;
  padding: 6px 16px calc(env(safe-area-inset-bottom) + 20px);
  transform: translateY(100%); transition: transform .28s cubic-bezier(.2, .9, .3, 1);
}
#sheet.open .sheet { transform: none; }
.grab { width: 40px; height: 5px; border-radius: 9px; background: var(--line); margin: 4px auto 8px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.hint { color: var(--ink-2); font-size: 14px; margin: 8px 2px; }
.label { font-weight: 800; margin: 16px 2px 8px; font-size: 15px; }
.label small { display: block; font-weight: 600; color: var(--ink-2); font-size: 13px; margin-top: 2px; }

.sheet[data-method="breast"] .m-bottle, .sheet[data-method="bottle"] .m-breast { display: none; }
.sheet[data-nmode="timer"] .past, .sheet[data-nmode="past"] .timer-area { display: none; }
.seg.mode { margin-top: 0; }
.starts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.start {
  position: relative; min-height: 112px; border-radius: var(--radius); background: var(--card);
  border: 2px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.start span { color: var(--ink-2); font-weight: 700; font-size: 14px; }
.start b { font-size: 26px; font-weight: 800; }
.start em { position: absolute; top: 8px; right: 10px; font-style: normal; font-size: 11px; font-weight: 800; color: var(--copper); text-transform: uppercase; letter-spacing: .06em; }
.start.suggest { border-color: var(--copper); background: var(--copper-soft); }
.start:active { transform: scale(.97); }

.amounts > button { min-width: 58px; justify-content: center; }

.big4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.big4 > button { flex-direction: column; border-radius: 18px; padding: 14px 4px; gap: 4px; font-size: 14px; }
.big4 > button .i { width: 26px; height: 26px; }
.big4 > button.t-wet[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.big4 > button.t-dirty[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #fff; }
.big4 > button.t-dry[aria-pressed="true"] { background: var(--ink-2); border-color: var(--ink-2); color: var(--bg); }
.sheet[data-dtype="wet"] .stool, .sheet[data-dtype="dry"] .stool { display: none; }
.swatches > button { padding: 7px 12px 7px 7px; font-size: 14px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .15); }
.swatches > button[aria-pressed="true"] i { box-shadow: 0 0 0 2px var(--bg); }

.alert { display: flex; gap: 10px; align-items: flex-start; background: var(--rose-soft); color: var(--rose); border-radius: 14px; padding: 12px; margin-top: 12px; font-weight: 700; font-size: 14px; }
.alert .i { width: 20px; height: 20px; margin-top: 1px; }

.photo { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
#photoPrev { position: relative; }
#photoPrev:empty { display: none; }
#photoPrev img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; display: block; }
#photoPrev .iconbtn { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; background: var(--ink); color: var(--bg); }

/* ─── tabs ─── */
#tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none;
  height: calc(var(--tabs-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-top: 1px solid var(--line);
}
body.has-tabs #tabs { display: flex; justify-content: center; }
#tabs button { flex: 1; max-width: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ink-3); font-size: 12px; font-weight: 800; }
#tabs svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
#tabs button[aria-current="page"] { color: var(--copper); }

/* ─── toast ─── */
#toast {
  position: fixed; left: 50%; bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom) + 16px); z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2); transition: all .25s; max-width: calc(100% - 32px); text-align: center;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ─── welcome ─── */
.welcome { min-height: 88dvh; display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 20px 4px; }
.welcome-jar { display: flex; justify-content: center; margin-bottom: 14px; }
.welcome h1 { font-size: 38px; }
.lede { color: var(--ink-2); font-size: 17px; margin: 8px auto 18px; max-width: 320px; }
.welcome .field { text-align: left; }
.welcome .chips { justify-content: center; margin-top: 12px; }

.foot { text-align: center; color: var(--ink-3); font-size: 12px; margin: 20px 10px 0; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
