/*
! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}::before,
::after {
  --tw-content: '';
}/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}/*
Remove the default font size and weight for headings.
*/h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}/*
Reset links to optimize for opt-in styling instead of opt-out.
*/a {
  color: inherit;
  text-decoration: inherit;
}/*
Add the correct font weight in Edge and Safari.
*/b,
strong {
  font-weight: bolder;
}/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}/*
Add the correct font size in all browsers.
*/small {
  font-size: 80%;
}/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}sub {
  bottom: -0.25em;
}sup {
  top: -0.5em;
}/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}/*
Remove the inheritance of text transform in Edge and Firefox.
*/button,
select {
  text-transform: none;
}/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}/*
Use the modern Firefox focus style for all focusable elements.
*/:-moz-focusring {
  outline: auto;
}/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/:-moz-ui-invalid {
  box-shadow: none;
}/*
Add the correct vertical alignment in Chrome and Firefox.
*/progress {
  vertical-align: baseline;
}/*
Correct the cursor style of increment and decrement buttons in Safari.
*/::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}/*
Remove the inner padding in Chrome and Safari on macOS.
*/::-webkit-search-decoration {
  -webkit-appearance: none;
}/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}/*
Add the correct display in Chrome and Safari.
*/summary {
  display: list-item;
}/*
Removes the default spacing and border for appropriate elements.
*/blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}fieldset {
  margin: 0;
  padding: 0;
}legend {
  padding: 0;
}ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}/*
Reset default styling for dialogs.
*/dialog {
  padding: 0;
}/*
Prevent resizing textareas horizontally by default.
*/textarea {
  resize: vertical;
}/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}/*
Set the default cursor for buttons.
*/button,
[role="button"] {
  cursor: pointer;
}/*
Make sure disabled buttons don't get the pointer cursor.
*/:disabled {
  cursor: default;
}/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/img,
video {
  max-width: 100%;
  height: auto;
}/* Make elements with the HTML hidden attribute stay hidden by default */[hidden] {
  display: none;
}*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}.container {
  width: 100%;
}@media (min-width: 640px) {.container {
    max-width: 640px;
  }
}@media (min-width: 768px) {.container {
    max-width: 768px;
  }
}@media (min-width: 1024px) {.container {
    max-width: 1024px;
  }
}@media (min-width: 1280px) {.container {
    max-width: 1280px;
  }
}@media (min-width: 1536px) {.container {
    max-width: 1536px;
  }
}.\!visible {
  visibility: visible !important;
}.visible {
  visibility: visible;
}.collapse {
  visibility: collapse;
}.static {
  position: static;
}.fixed {
  position: fixed;
}.absolute {
  position: absolute;
}.relative {
  position: relative;
}.sticky {
  position: sticky;
}.m-1 {
  margin: 0.25rem;
}.m-2 {
  margin: 0.5rem;
}.m-3 {
  margin: 0.75rem;
}.m-4 {
  margin: 1rem;
}.\!block {
  display: block !important;
}.block {
  display: block;
}.inline-block {
  display: inline-block;
}.inline {
  display: inline;
}.flex {
  display: flex;
}.inline-flex {
  display: inline-flex;
}.table {
  display: table;
}.grid {
  display: grid;
}.contents {
  display: contents;
}.\!hidden {
  display: none !important;
}.hidden {
  display: none;
}.h-1 {
  height: 0.25rem;
}.flex-shrink {
  flex-shrink: 1;
}.shrink {
  flex-shrink: 1;
}.flex-grow {
  flex-grow: 1;
}.border-collapse {
  border-collapse: collapse;
}.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}.resize {
  resize: both;
}.break-all {
  word-break: break-all;
}.rounded {
  border-radius: 0.25rem;
}.border {
  border-width: 1px;
}.p-1 {
  padding: 0.25rem;
}.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}.uppercase {
  text-transform: uppercase;
}.lowercase {
  text-transform: lowercase;
}.capitalize {
  text-transform: capitalize;
}.italic {
  font-style: italic;
}.ordinal {
  --tw-ordinal: ordinal;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}.tabular-nums {
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}.underline {
  text-decoration-line: underline;
}.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}.outline {
  outline-style: solid;
}.ring {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}/* ============ EasyEstate — Design System ============ *//* Three preset themes, hearth (warm), steady (navy) and daylight (a11y), plus a custom theme
   assembled from the user's choices. Each has a light palette (.theme-*) and a dark palette
   (.theme-*.dark); the classes live on <html> and are set by src/appearance before first paint. */:root {
  color-scheme: light;
  --t-base: 18px;
  --t-body: 18px;
  --t-small: 15px;
  --t-meta: 13px;
  --t-h1: 44px;
  --t-h2: 32px;
  --t-h3: 22px;
  --tap: 56px;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --space-1: 6px;
  --space-2: 10px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 36px;
  --space-6: 56px;
  --space-7: 80px;

  --serif: "Source Serif 4", "Tiempos", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --shadow-sm: 0 1px 2px rgba(20, 18, 14, 0.04), 0 1px 3px rgba(20, 18, 14, 0.06);
  --shadow-md: 0 2px 6px rgba(20, 18, 14, 0.05), 0 8px 24px rgba(20, 18, 14, 0.06);
  --shadow-lg: 0 8px 16px rgba(20, 18, 14, 0.06), 0 24px 48px rgba(20, 18, 14, 0.08);

  /* Per-person colours: oklch(L C <person hue>), see utils/personColors.ts. */
  --person-ink-l: 0.48;
  --person-ink-c: 0.09;
  --person-soft-l: 0.92;
  --person-soft-c: 0.035;

  --scrim: oklch(0.2 0.02 60 / 0.3);
}.text-large {
  --t-body: 21px;
  --t-small: 17px;
  --t-meta: 15px;
  --t-h1: 52px;
  --t-h2: 38px;
  --t-h3: 26px;
}.text-xl {
  --t-body: 24px;
  --t-small: 20px;
  --t-meta: 17px;
  --t-h1: 60px;
  --t-h2: 44px;
  --t-h3: 30px;
}.theme-hearth {
  --bg: oklch(0.97 0.012 75);
  --bg-elev: oklch(0.99 0.008 80);
  --bg-sunken: oklch(0.94 0.018 75);
  --ink: oklch(0.22 0.02 60);
  --ink-2: oklch(0.42 0.025 60);
  --ink-3: oklch(0.52 0.02 60);
  --line: oklch(0.88 0.018 75);
  --line-2: oklch(0.82 0.022 75);
  --accent: oklch(0.52 0.12 35);
  --accent-ink: oklch(0.99 0.005 80);
  --accent-soft: oklch(0.92 0.04 35);
  --good: oklch(0.55 0.09 145);
  --good-soft: oklch(0.92 0.04 145);
  --good-ink: oklch(1 0 0);
  --warn: oklch(0.65 0.13 70);
  --warn-soft: oklch(0.93 0.05 75);
  --gold: oklch(0.72 0.11 80);
}.theme-steady {
  --bg: oklch(0.96 0.01 95);
  --bg-elev: oklch(0.99 0.005 95);
  --bg-sunken: oklch(0.92 0.014 95);
  --ink: oklch(0.22 0.04 255);
  --ink-2: oklch(0.40 0.035 255);
  --ink-3: oklch(0.505 0.025 255);
  --line: oklch(0.86 0.012 250);
  --line-2: oklch(0.78 0.018 250);
  --accent: oklch(0.32 0.08 255);
  --accent-ink: oklch(0.99 0.005 95);
  --accent-soft: oklch(0.90 0.03 255);
  --good: oklch(0.50 0.08 165);
  --good-soft: oklch(0.91 0.03 165);
  --good-ink: oklch(1 0 0);
  --warn: oklch(0.62 0.13 60);
  --warn-soft: oklch(0.93 0.05 70);
  --gold: oklch(0.65 0.11 75);
}.theme-daylight {
  --bg: oklch(0.99 0.003 90);
  --bg-elev: oklch(1 0 0);
  --bg-sunken: oklch(0.95 0.005 90);
  --ink: oklch(0.16 0.01 240);
  --ink-2: oklch(0.32 0.015 240);
  --ink-3: oklch(0.48 0.015 240);
  --line: oklch(0.82 0.008 240);
  --line-2: oklch(0.70 0.012 240);
  --accent: oklch(0.42 0.10 165);
  --accent-ink: oklch(0.99 0.005 90);
  --accent-soft: oklch(0.90 0.04 165);
  --good: oklch(0.42 0.10 165);
  --good-soft: oklch(0.90 0.04 165);
  --good-ink: oklch(1 0 0);
  --warn: oklch(0.55 0.13 50);
  --warn-soft: oklch(0.92 0.05 60);
  --gold: oklch(0.65 0.11 75);
}/* Dark palettes. Accents are lifted in lightness (same hue) so they stay readable on dark
   surfaces, which flips their on-color (--accent-ink / --good-ink) to dark. */.dark {
  color-scheme: dark;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.30), 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.30), 0 8px 24px rgba(0, 0, 0, 0.40);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.35), 0 24px 48px rgba(0, 0, 0, 0.50);
  --person-ink-l: 0.82;
  --person-ink-c: 0.08;
  --person-soft-l: 0.34;
  --person-soft-c: 0.05;
  --scrim: oklch(0.05 0.01 60 / 0.55);
}.theme-hearth.dark {
  --bg: oklch(0.19 0.012 60);
  --bg-elev: oklch(0.23 0.014 60);
  --bg-sunken: oklch(0.16 0.01 60);
  --ink: oklch(0.95 0.012 75);
  --ink-2: oklch(0.83 0.018 70);
  --ink-3: oklch(0.72 0.018 70);
  --line: oklch(0.32 0.016 60);
  --line-2: oklch(0.42 0.02 60);
  --accent: oklch(0.76 0.11 40);
  --accent-ink: oklch(0.18 0.02 40);
  --accent-soft: oklch(0.31 0.05 35);
  --good: oklch(0.78 0.10 145);
  --good-soft: oklch(0.30 0.045 145);
  --good-ink: oklch(0.18 0.02 145);
  --warn: oklch(0.82 0.12 75);
  --warn-soft: oklch(0.32 0.05 70);
  --gold: oklch(0.80 0.11 80);
}.theme-steady.dark {
  --bg: oklch(0.19 0.022 255);
  --bg-elev: oklch(0.23 0.025 255);
  --bg-sunken: oklch(0.16 0.02 255);
  --ink: oklch(0.95 0.008 95);
  --ink-2: oklch(0.83 0.02 250);
  --ink-3: oklch(0.72 0.022 250);
  --line: oklch(0.32 0.025 255);
  --line-2: oklch(0.42 0.03 255);
  --accent: oklch(0.78 0.09 250);
  --accent-ink: oklch(0.18 0.03 255);
  --accent-soft: oklch(0.32 0.06 255);
  --good: oklch(0.78 0.09 165);
  --good-soft: oklch(0.30 0.04 165);
  --good-ink: oklch(0.18 0.02 165);
  --warn: oklch(0.82 0.12 65);
  --warn-soft: oklch(0.32 0.05 60);
  --gold: oklch(0.80 0.11 75);
}.theme-daylight.dark {
  --bg: oklch(0.14 0.004 240);
  --bg-elev: oklch(0.18 0.006 240);
  --bg-sunken: oklch(0.11 0.004 240);
  --ink: oklch(0.98 0.002 90);
  --ink-2: oklch(0.88 0.008 240);
  --ink-3: oklch(0.77 0.01 240);
  --line: oklch(0.34 0.008 240);
  --line-2: oklch(0.50 0.01 240);
  --accent: oklch(0.80 0.12 165);
  --accent-ink: oklch(0.14 0.02 165);
  --accent-soft: oklch(0.28 0.05 165);
  --good: oklch(0.80 0.12 165);
  --good-soft: oklch(0.28 0.05 165);
  --good-ink: oklch(0.14 0.02 165);
  --warn: oklch(0.84 0.12 65);
  --warn-soft: oklch(0.30 0.05 60);
  --gold: oklch(0.82 0.11 75);
}/* Custom theme: the user picks an accent (accent-*), a background tone (surface-*) and a
   heading style (headings-modern) from a fixed set. Accents share one lightness per mode so
   every hue keeps the same contrast against text and backgrounds. */.theme-custom {
  --good: oklch(0.55 0.09 145);
  --good-soft: oklch(0.92 0.04 145);
  --good-ink: oklch(1 0 0);
  --warn: oklch(0.65 0.13 70);
  --warn-soft: oklch(0.93 0.05 75);
  --gold: oklch(0.72 0.11 80);
}.theme-custom.dark {
  --good: oklch(0.78 0.10 145);
  --good-soft: oklch(0.30 0.045 145);
  --good-ink: oklch(0.18 0.02 145);
  --warn: oklch(0.82 0.12 75);
  --warn-soft: oklch(0.32 0.05 70);
  --gold: oklch(0.80 0.11 80);
}.theme-custom.surface-warm {
  --bg: oklch(0.97 0.012 75);
  --bg-elev: oklch(0.99 0.008 80);
  --bg-sunken: oklch(0.94 0.018 75);
  --ink: oklch(0.22 0.02 60);
  --ink-2: oklch(0.42 0.025 60);
  --ink-3: oklch(0.52 0.02 60);
  --line: oklch(0.88 0.018 75);
  --line-2: oklch(0.82 0.022 75);
}.theme-custom.surface-warm.dark {
  --bg: oklch(0.19 0.012 60);
  --bg-elev: oklch(0.23 0.014 60);
  --bg-sunken: oklch(0.16 0.01 60);
  --ink: oklch(0.95 0.012 75);
  --ink-2: oklch(0.83 0.018 70);
  --ink-3: oklch(0.72 0.018 70);
  --line: oklch(0.32 0.016 60);
  --line-2: oklch(0.42 0.02 60);
}.theme-custom.surface-neutral {
  --bg: oklch(0.975 0.003 90);
  --bg-elev: oklch(0.995 0.002 90);
  --bg-sunken: oklch(0.94 0.004 90);
  --ink: oklch(0.20 0.008 260);
  --ink-2: oklch(0.40 0.01 260);
  --ink-3: oklch(0.52 0.01 260);
  --line: oklch(0.87 0.005 90);
  --line-2: oklch(0.80 0.008 90);
}.theme-custom.surface-neutral.dark {
  --bg: oklch(0.17 0.004 260);
  --bg-elev: oklch(0.21 0.005 260);
  --bg-sunken: oklch(0.14 0.004 260);
  --ink: oklch(0.96 0.003 90);
  --ink-2: oklch(0.85 0.006 260);
  --ink-3: oklch(0.74 0.008 260);
  --line: oklch(0.32 0.006 260);
  --line-2: oklch(0.44 0.008 260);
}.theme-custom.surface-cool {
  --bg: oklch(0.965 0.01 240);
  --bg-elev: oklch(0.99 0.005 240);
  --bg-sunken: oklch(0.925 0.014 240);
  --ink: oklch(0.22 0.03 255);
  --ink-2: oklch(0.40 0.03 255);
  --ink-3: oklch(0.51 0.025 255);
  --line: oklch(0.86 0.012 245);
  --line-2: oklch(0.78 0.018 245);
}.theme-custom.surface-cool.dark {
  --bg: oklch(0.19 0.022 255);
  --bg-elev: oklch(0.23 0.025 255);
  --bg-sunken: oklch(0.16 0.02 255);
  --ink: oklch(0.95 0.008 95);
  --ink-2: oklch(0.83 0.02 250);
  --ink-3: oklch(0.72 0.022 250);
  --line: oklch(0.32 0.025 255);
  --line-2: oklch(0.42 0.03 255);
}.theme-custom.accent-clay {
  --accent: oklch(0.50 0.12 35);
  --accent-ink: oklch(0.99 0.005 35);
  --accent-soft: oklch(0.92 0.04 35);
}.theme-custom.accent-clay.dark {
  --accent: oklch(0.78 0.11 35);
  --accent-ink: oklch(0.18 0.02 35);
  --accent-soft: oklch(0.31 0.05 35);
}.theme-custom.accent-rose {
  --accent: oklch(0.50 0.12 10);
  --accent-ink: oklch(0.99 0.005 10);
  --accent-soft: oklch(0.92 0.04 10);
}.theme-custom.accent-rose.dark {
  --accent: oklch(0.78 0.11 10);
  --accent-ink: oklch(0.18 0.02 10);
  --accent-soft: oklch(0.31 0.05 10);
}.theme-custom.accent-plum {
  --accent: oklch(0.50 0.11 320);
  --accent-ink: oklch(0.99 0.005 320);
  --accent-soft: oklch(0.92 0.04 320);
}.theme-custom.accent-plum.dark {
  --accent: oklch(0.78 0.1 320);
  --accent-ink: oklch(0.18 0.02 320);
  --accent-soft: oklch(0.31 0.05 320);
}.theme-custom.accent-ocean {
  --accent: oklch(0.50 0.11 250);
  --accent-ink: oklch(0.99 0.005 250);
  --accent-soft: oklch(0.92 0.04 250);
}.theme-custom.accent-ocean.dark {
  --accent: oklch(0.78 0.1 250);
  --accent-ink: oklch(0.18 0.02 250);
  --accent-soft: oklch(0.31 0.05 250);
}.theme-custom.accent-teal {
  --accent: oklch(0.50 0.09 200);
  --accent-ink: oklch(0.99 0.005 200);
  --accent-soft: oklch(0.92 0.04 200);
}.theme-custom.accent-teal.dark {
  --accent: oklch(0.78 0.08 200);
  --accent-ink: oklch(0.18 0.02 200);
  --accent-soft: oklch(0.31 0.05 200);
}.theme-custom.accent-forest {
  --accent: oklch(0.50 0.1 150);
  --accent-ink: oklch(0.99 0.005 150);
  --accent-soft: oklch(0.92 0.04 150);
}.theme-custom.accent-forest.dark {
  --accent: oklch(0.78 0.09 150);
  --accent-ink: oklch(0.18 0.02 150);
  --accent-soft: oklch(0.31 0.05 150);
}.theme-custom.headings-modern { --serif: var(--sans); }.theme-custom.headings-modern .h1,
.theme-custom.headings-modern .h2 { font-weight: 600; letter-spacing: -0.025em; }.theme-custom.headings-modern .h3 { font-weight: 600; }html, body { margin: 0; padding: 0; }/* Nothing on a page should scroll sideways; clip (unlike hidden) keeps position: sticky working. */html, body { overflow-x: clip; overscroll-behavior-x: none; }body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }input, textarea, select { font: inherit; color: inherit; }/* iOS Safari draws date and time fields at an intrinsic width that ignores width and min-width,
   pushing them past their container, and collapses them when empty. */input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"] {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  display: block;
  max-width: 100%;
}input::-webkit-date-and-time-value { text-align: left; min-height: 1.5em; }a { color: inherit; }.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }.h1 { font-family: var(--serif); font-size: var(--t-h1); line-height: 1.05; letter-spacing: -0.02em; font-weight: 400; margin: 0; }.h2 { font-family: var(--serif); font-size: var(--t-h2); line-height: 1.1; letter-spacing: -0.015em; font-weight: 400; margin: 0; }.h3 { font-family: var(--serif); font-size: var(--t-h3); line-height: 1.2; letter-spacing: -0.01em; font-weight: 500; margin: 0; }.eyebrow { font-size: var(--t-meta); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }.meta { font-size: var(--t-meta); color: var(--ink-3); }.small { font-size: var(--t-small); color: var(--ink-2); }.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--tap);
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--t-body);
  white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }.btn-ghost {
  background: var(--bg-elev); color: var(--ink);
  border: 1.5px solid var(--line-2);
}.btn-ghost:hover { background: var(--bg-sunken); }/* Destructive: outlined in the warning colour, text stays ink so it reads in every theme. */.btn-danger { background: var(--bg-elev); color: var(--ink); border: 1.5px solid var(--warn); }.btn-danger:hover { background: var(--warn-soft); }.settings-row__confirm { flex-basis: 100%; display: flex; }.settings-danger { margin: 24px 0 16px; padding: 20px 22px; border: 1.5px solid var(--warn); border-radius: 16px; }.keys-remove { min-height: 44px; padding: 0 16px; font-size: var(--t-small); justify-self: start; align-self: flex-start; margin-top: 6px; }.btn-danger-sm { min-height: 44px; padding: 0 16px; font-size: var(--t-small); }.btn-text { color: var(--accent); padding: 0 6px; min-height: 44px; font-weight: 600; }/* Links are inline by default, which ignores min-height; buttons are already inline-block. */a.btn-text { display: inline-flex; align-items: center; }.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}.card-flat {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: var(--t-meta);
  font-weight: 500;
  background: var(--bg-sunken);
  color: var(--ink-2);
  border: 1px solid var(--line);
  white-space: nowrap;
  flex-shrink: 0;
}.chip-good { background: var(--good-soft); color: var(--good); border-color: transparent; }.label-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }.label-suggestions .chip { cursor: pointer; min-height: 36px; }.label-suggestions .chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }/* Mixed toward the text colour so the label meets AA on the soft background in every theme. */.chip-warn { background: var(--warn-soft); color: color-mix(in oklch, var(--warn) 60%, var(--ink)); border-color: transparent; }.chip-accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }.divider { height: 1px; background: var(--line); border: 0; margin: 0; }.learn {
  display: inline-flex; align-items: baseline; gap: 4px;
  color: var(--accent);
  border-bottom: 1.5px dashed var(--accent);
  text-decoration: none;
  font-weight: 500;
  cursor: help;
  padding-bottom: 1px;
  position: relative;
}button.learn {
  background: none; border: 0; border-bottom: 1.5px dashed var(--accent);
  font: inherit; font-weight: 500; padding: 0 0 1px; cursor: pointer;
}.learn-panel { display: block; margin-top: 10px; }.learn-panel[hidden] { display: none; }/* Grows the tap area to the 44px minimum without moving the surrounding text. */.learn::before {
  content: "";
  position: absolute;
  left: -4px; right: -4px;
  top: 50%; height: 44px; transform: translateY(-50%);
}.learn::after {
  content: "?"; font-size: 0.72em;
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; transform: translateY(-2px);
}.progress {
  height: 10px; background: var(--bg-sunken); border-radius: 999px; overflow: hidden;
}.progress > i {
  display: block; height: 100%; background: var(--accent); border-radius: 999px;
}.placeholder {
  background-image: repeating-linear-gradient(135deg, var(--bg-sunken) 0 12px, transparent 12px 24px);
  border: 1px dashed var(--line-2);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: var(--t-meta);
}.scroll-y { overflow-y: auto; }.numplate {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  flex-shrink: 0;
}.numplate.done { background: var(--good); color: var(--good-ink); }.tip {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 20px;
  font-size: var(--t-small);
  color: var(--ink);
}.tip strong { color: var(--accent); }/* Glossary: an unfamiliar term, underlined, with its meaning in a popover. */.gloss-term {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; letter-spacing: inherit;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--accent);
  cursor: help;
  border-radius: 4px;
}.gloss-term[aria-expanded="true"] { background: var(--accent-soft); }.gloss-term:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }.gloss-pop {
  position: fixed;
  z-index: 1000;
  background: var(--bg-elev);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: var(--t-small);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: left;
}.gloss-pop p { margin: 6px 0 0; color: var(--ink-2); }.gloss-pop-term { display: block; font-weight: 700; color: var(--ink); }.gloss-pop .gloss-pop-context { color: var(--ink); border-top: 1px solid var(--line); padding-top: 8px; margin-top: 10px; }.app-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}.brand {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 8px;
}.brand .mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}.row {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  min-height: 76px;
}.icon-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}.row .icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--bg-sunken);
}.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }.icon-lg { width: 28px; height: 28px; }.icon-sm { width: 18px; height: 18px; }.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 16px;
}.skeleton {
  display: block;
  background: var(--bg-sunken);
  border-radius: 6px;
  animation: ee-pulse 1.4s ease-in-out infinite;
}@keyframes ee-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }.warm-banner {
  background: var(--accent-soft);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}.focus-ring {
  background: var(--bg-elev);
  border: 2px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
}.topic-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}.topic-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); transform: translateY(-2px); }.tts-fab {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--bg-elev);
  border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}/* Layout shell — replaces frame-web from the design canvas with full viewport */.layout {
  display: grid;
  grid-template-columns: 1fr;
  height: 100dvh;
  overflow: hidden;
}.layout__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100dvh;
}.layout__header { flex: 0 0 auto; }.page-body { padding: 36px 40px 60px; }.app-header { gap: 12px; }.app-header__title { overflow-wrap: anywhere; }.layout__body {
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
}.public-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 40px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}@media (max-width: 899px) {
  .public-header { padding: 10px 16px; }
}.layout--full {
  height: 100dvh;
  overflow-y: auto;
  background: var(--bg);
}/* Responsive grid: set tracks with gridColumns() from utils. */.rgrid { display: grid; grid-template-columns: var(--cols, 1fr); }.holding-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-sunken);
  font-size: 14px;
}.holding-row__details { display: contents; }.holding-row__amount { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }.toolbar__action { margin-left: auto; }.chip-scroll { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 auto; min-width: 0; }.chip-scroll > * { flex-shrink: 0; }.row__trail { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }.vault-visible-to {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  min-width: 180px;
}.step-row { display: flex; align-items: center; gap: 22px; padding: 16px 24px; }/* Auth & onboarding screens */.auth-header { padding: 28px 40px; }.auth-stage { padding: 20px 40px 60px; }.auth-footer { margin: 0; padding: 0 40px 28px; text-align: center; }.auth-footer a { color: var(--ink-3); }.auth-pane .auth-footer { margin-top: auto; padding: 24px 0 0; text-align: left; }.auth-card { padding: 48px 52px; }.auth-pane { padding: 40px 56px; }.auth-aside { padding: 56px; border-left: 1px solid var(--line); }.code-digits { display: flex; gap: 12px; }.code-digit { width: 64px; height: 76px; font-size: 32px; min-width: 0; }/* Modal dialog: centered card on wide screens, bottom sheet on phones. */.modal-overlay {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(20, 18, 24, 0.42);
}.modal {
  width: min(480px, 100%);
  max-height: 90vh; max-height: 90dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 30px 32px;
  border-radius: 20px;
  background: var(--bg-elev);
  box-shadow: var(--shadow-lg);
}@media (max-width: 899px) {
  .app-header { padding: 12px 16px; }
}/* ============ Phone ============ */@media (max-width: 639px) {
  :root, .text-large, .text-xl {
    --t-h1: 32px;
    --t-h2: 26px;
    --t-h3: 20px;
  }
  .page-body { padding: 20px 16px 48px; }
  .rgrid { grid-template-columns: var(--cols-phone, 1fr); }
  .hide-phone { display: none !important; }
  .step-row { gap: 14px; padding: 14px 12px; }
  .toolbar__action { order: -1; margin-left: 0; }
  .chip-scroll {
    flex: 1 0 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -16px;
    padding: 0 16px;
    scrollbar-width: none;
  }
  .chip-scroll::-webkit-scrollbar { display: none; }
  .holding-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .holding-row__name { grid-column: 1; grid-row: 1; min-width: 0; }
  .holding-row__details {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    grid-column: 1 / -1; grid-row: 2;
  }
  .holding-row__amount { grid-column: 2; grid-row: 1; }
  .app-header__sub { display: none; }
  .auth-header { padding: 16px 20px; }
  .auth-stage { padding: 8px 12px 32px; }
  .auth-card { padding: 28px 20px; }
  .auth-pane { padding: 24px 20px 32px; }
  .auth-aside { padding: 32px 20px 40px; border-left: 0; border-top: 1px solid var(--line); }
  .code-digits { gap: 8px; }
  .code-digit { flex: 1 1 0; width: auto; height: 60px; font-size: 26px; }
  .warm-banner { padding: 24px 20px !important; }
  .focus-ring { padding: 22px 20px !important; }
  .card { border-radius: var(--r-md); }
  .row { gap: 14px; padding: 14px 16px; }
  .row .icon-wrap { width: 40px; height: 40px; }
  .row:has(> .row__trail) { flex-wrap: wrap; row-gap: 8px; }
  .row:has(> .row__trail) > .row__main { flex-basis: calc(100% - 54px); }
  .row__trail { flex-basis: 100%; padding-left: 54px; gap: 12px; justify-content: flex-end; }
  .vault-visible-to { align-items: flex-start; min-width: 0; margin-right: auto; }

  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal {
    width: 100%;
    max-height: 92dvh;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
  }
}/* "New version available" prompt, floating above page content and modals. */.update-prompt {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 16px;
  width: -moz-max-content;
  width: max-content; max-width: calc(100% - 32px);
  padding: 10px 10px 10px 18px; box-shadow: var(--shadow-lg);
}@media (max-width: 639px) {
  .update-prompt {
    left: 16px; right: 16px; bottom: 16px; transform: none; width: auto;
    flex-wrap: wrap; justify-content: space-between; row-gap: 8px;
  }
}/* First-visit notice about usage analytics: above the phone tab bar, below toasts, dialogs and the update prompt. */.analytics-notice {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 45;
  display: flex; align-items: center; gap: 16px;
  width: min(720px, calc(100% - 32px)); margin: 0;
  padding: 14px 14px 14px 18px; box-shadow: var(--shadow-lg);
}.analytics-notice__text { margin: 0; flex: 1; min-width: 0; font-size: var(--t-small); }.analytics-notice__actions { display: flex; gap: 8px; flex-shrink: 0; }.analytics-notice__actions .btn { min-height: 48px; }body:has(.analytics-notice) { padding-bottom: calc(var(--analytics-notice-h, 0px) + 32px); }@media (max-width: 639px) {
  .analytics-notice { left: 16px; right: 16px; width: auto; transform: none; flex-direction: column; align-items: stretch; gap: 12px; }
  .analytics-notice__actions { justify-content: flex-end; }
}@media (max-width: 1039px) {
  body:has(.shell-tabs) .analytics-notice { bottom: calc(86px + env(safe-area-inset-bottom)); }
}/* Read by screen readers, not shown. */.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}/* ============ UI primitives (components/ui) ============ *//* Dialog layer: Modal and Sheet portal into <body>, above the app. */.ui-layer { position: fixed; inset: 0; z-index: 50; }.ui-scrim { position: absolute; inset: 0; background: var(--scrim); animation: ui-fade .2s ease; }.ui-dialog-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px 14px 28px;
  border-bottom: 1px solid var(--line);
}.ui-dialog-title { font-family: var(--serif); font-size: var(--t-h3); font-weight: 500; margin: 0; }.ui-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 999px; color: var(--ink-2);
}.ui-icon-btn:hover { background: var(--bg-sunken); }.ui-modal {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(var(--ui-modal-width, 700px), calc(100% - 32px));
  max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  display: flex; flex-direction: column;
  background: var(--bg-elev);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  animation: ui-fade .2s ease;
}.ui-modal__body { overflow-y: auto; overscroll-behavior: contain; padding: 22px 28px 26px; display: flex; flex-direction: column; gap: 22px; }.ui-modal__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px 28px;
  border-top: 1px solid var(--line);
}.ui-sheet { position: absolute; display: flex; flex-direction: column; background: var(--bg-elev); box-shadow: var(--shadow-lg); }.ui-sheet--right {
  top: 0; right: 0; bottom: 0;
  width: min(var(--ui-sheet-width, 580px), 100%);
  animation: ui-slide-in .25s ease;
}.ui-sheet--bottom {
  left: 0; right: 0; bottom: 0;
  max-height: 92%;
  border-radius: 26px 26px 0 0;
  padding-bottom: env(safe-area-inset-bottom);
  animation: ui-rise .25s ease;
}.ui-sheet__grip { width: 40px; height: 5px; border-radius: 999px; background: var(--line-2); margin: 8px auto 0; flex-shrink: 0; }.ui-sheet__body { overflow-y: auto; overscroll-behavior: contain; flex: 1; padding: 26px 28px 48px; }.ui-sheet--bottom .ui-sheet__body { padding: 14px 18px 24px; }.ui-sheet--bottom .ui-dialog-head { border-bottom: 0; padding: 8px 10px 0 18px; }/* Toast */.ui-toast-region { position: fixed; left: 0; right: 0; bottom: 24px; z-index: 60; display: flex; justify-content: center; pointer-events: none; }.ui-toast {
  pointer-events: auto;
  width: min(580px, calc(100% - 32px));
  display: flex; align-items: center; gap: 14px;
  padding: 14px 14px 14px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  animation: ui-toast-up .3s ease;
}.ui-toast__text { flex: 1; min-width: 0; }.ui-toast__title { font-weight: 600; }@media (max-width: 1039px) {
  .ui-toast-region { bottom: calc(86px + env(safe-area-inset-bottom)); }
}/* Segmented control *//* Always one row: options tighten on phones and the row scrolls sideways rather than wrapping. */.ui-seg {
  display: inline-flex; flex-wrap: nowrap; gap: 4px;
  max-width: 100%;
  padding: 4px;
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  border-radius: 999px;
  align-self: flex-start;
}.ui-seg::-webkit-scrollbar { display: none; }.ui-seg__opt {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  flex: 0 0 auto;
  min-height: 44px; padding: 0 16px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: var(--t-meta); font-weight: 500; color: var(--ink-2);
}@media (max-width: 639px) {
  .ui-seg { gap: 2px; padding: 3px; }
  .ui-seg__opt { padding: 0 11px; }
}.ui-seg__opt[aria-checked="true"] { background: var(--bg-elev); color: var(--ink); box-shadow: var(--shadow-sm); font-weight: 600; }.ui-seg--lg { flex-wrap: nowrap; flex-shrink: 0; }.ui-seg--lg .ui-seg__opt { white-space: nowrap; min-height: 46px; padding: 0 18px; font-size: var(--t-small); }/* Selectable chip (people, filters) */.ui-toggle-chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 4px 14px 4px 4px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  font-size: var(--t-small); font-weight: 500; color: var(--ink);
}.ui-toggle-chip--plain { padding-left: 14px; }.ui-toggle-chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }/* Avatars */.ui-avatar {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  border-radius: 50%;
  font-weight: 700; line-height: 1; position: relative; overflow: hidden;
}.ui-avatar__photo { position: absolute; inset: 0; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; border-radius: inherit; }.ui-avatar--ring { box-shadow: 0 0 0 2px var(--bg-elev); }.ui-avatar--more { background: var(--bg-sunken); color: var(--ink-2); }.ui-avatar-stack { display: inline-flex; align-items: center; }.ui-avatar-stack > .ui-avatar + .ui-avatar { margin-left: -7px; }/* Year stepper */.ui-stepper {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg);
}.ui-stepper button { width: 46px; height: 46px; font-size: 22px; color: var(--ink-2); }.ui-stepper button:hover:not(:disabled) { background: var(--bg-sunken); }.ui-stepper button:disabled { opacity: .4; }.ui-stepper input {
  width: 76px; min-height: 46px;
  text-align: center;
  border: 0; background: transparent; outline: none;
  font-size: 20px; font-weight: 600; color: var(--ink);
  font-variant-numeric: tabular-nums;
}.ui-stepper:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }@keyframes ui-fade { from { opacity: 0; } }@keyframes ui-slide-in { from { transform: translateX(40px); opacity: 0; } }@keyframes ui-rise { from { transform: translateY(40px); opacity: 0; } }@keyframes ui-toast-up { from { transform: translateY(16px); opacity: 0; } }@media (prefers-reduced-motion: reduce) {
  .ui-scrim, .ui-modal, .ui-sheet--right, .ui-sheet--bottom, .ui-toast { animation: none; }
}/* ---------- Timeline: thread view ---------- */.tl-accent { color: var(--accent); }.tl-mono { font-family: var(--mono); }.tl-btn-sm { min-height: 46px; padding: 0 18px; font-size: var(--t-small); }.tl-type { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-meta); font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }.tl-thread { max-width: 860px; padding-top: 8px; }.tl-row { display: grid; grid-template-columns: 84px 48px minmax(0, 1fr); }.tl-ycol { text-align: right; }.tl-year { font-family: var(--serif); font-size: 22px; display: block; padding-top: 13px; color: var(--ink-2); font-weight: 500; }.tl-spine { position: relative; }.tl-spine::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line-2); transform: translateX(-50%); }.tl-spine-dashed::before { background: none; width: 0; border-left: 2px dashed var(--line-2); transform: translateX(-1px); }.tl-spine-fade::before { background: linear-gradient(var(--line-2), transparent); height: 60px; bottom: auto; }.tl-spine-split::before { bottom: 50%; }.tl-spine-split::after { content: ""; position: absolute; left: 50%; top: 50%; bottom: 0; border-left: 2px dashed var(--line-2); transform: translateX(-1px); }.tl-dot { position: absolute; left: 50%; top: 21px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); transform: translateX(-50%); box-shadow: 0 0 0 5px var(--bg); }.tl-dot-hollow { background: var(--bg); border: 2px solid var(--accent); }.tl-dec-dot { position: absolute; left: 50%; top: 58px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink-3); transform: translateX(-50%); box-shadow: 0 0 0 5px var(--bg); }.tl-dec { padding: 40px 0 20px; display: flex; align-items: baseline; gap: 8px 18px; flex-wrap: wrap; }.tl-dec-num { font-family: var(--serif); font-size: 60px; line-height: 1; letter-spacing: -.03em; font-weight: 400; margin: 0; }.tl-items { display: flex; flex-direction: column; gap: 14px; padding: 6px 0 26px; min-width: 0; }.tl-card { display: flex; flex-direction: column; text-align: left; width: 100%; max-width: 660px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease; }.tl-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); transform: translateY(-1px); }.tl-photo { height: 230px; width: 100%; -o-object-fit: cover; object-fit: cover; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); padding: 0 20px; text-align: center; }img.tl-photo { padding: 0; }.tl-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 16px; }.tl-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }.tl-card-title { font-family: var(--serif); font-size: 24px; line-height: 1.2; font-weight: 500; display: block; letter-spacing: -.01em; color: var(--ink); }.tl-card-text { color: var(--ink-2); font-size: var(--t-small); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }.tl-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--line); }.tl-card-by, .tl-card-persp { display: inline-flex; align-items: center; gap: 8px; }.tl-voice-row { display: flex; align-items: center; gap: 14px; padding: 4px 0; }.tl-play { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }.tl-play .icon { fill: currentColor; }.tl-wave { display: flex; align-items: center; gap: 2px; height: 30px; flex: 1 1 auto; min-width: 0; overflow: hidden; }.tl-wave-bar { width: 3px; flex-shrink: 0; border-radius: 2px; background: var(--line-2); }.tl-wave-bar--played { background: var(--accent); }.tl-milestone { display: flex; gap: 16px; align-items: center; padding: 8px 0; text-align: left; max-width: 660px; border-radius: var(--r-md); }.tl-milestone:hover .tl-ms-title { color: var(--accent); }.tl-ms-star { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }.tl-ms-star .icon { fill: currentColor; }.tl-ms-text { display: flex; flex-direction: column; min-width: 0; }.tl-ms-title { font-family: var(--serif); font-size: 28px; line-height: 1.15; letter-spacing: -.015em; transition: color .15s ease; }.tl-letter { flex-direction: row; align-items: center; gap: 18px; padding: 18px 22px; border: 1.5px dashed var(--line-2); box-shadow: none; background: transparent; }.tl-letter-seal { width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }.tl-letter-text { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; min-width: 0; }.tl-letter-gate { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }.tl-letter-pages { display: flex; flex-direction: column; gap: 12px; }.tl-letter-page { width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--line-2); }.tl-letter-picker { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }.tl-letter-picker h3 { margin: 8px 0 0; }.tl-letter-picker-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); }.my-letters { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }.my-letters-head { display: flex; flex-direction: column; gap: 10px; }.my-letters-head .h1 { margin: 0; }.my-letters-head .small { margin: 0; }.my-letters-section { display: flex; flex-direction: column; gap: 8px; }.my-letters-section h2 { margin: 0; }.my-letters-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }.my-letter { flex-wrap: wrap; }/* Rows aren't links, and a touch leaves :hover stuck on phones. */.list-row.my-letter:hover { background: none; }/* Wraps the actions onto their own line before the title gets squeezed. */.my-letter > .list-row__text { flex: 1 1 260px; }/* Undoing or deleting sits on its own line, apart from the everyday actions. */.my-letter-danger { flex: 1 1 100%; display: flex; justify-content: flex-end; border-top: 1px dashed var(--line); margin-top: 2px; }.my-letter-actions { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }.cal { display: flex; flex-direction: column; gap: 28px; max-width: 760px; }.cal-head { display: flex; flex-direction: column; gap: 12px; }.cal-head p { margin: 0; color: var(--ink-2); }.cal-month { display: flex; flex-direction: column; gap: 12px; }.cal-month h2 { margin: 0; }.cal-day { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; }.cal-day-label { margin: 0; padding-top: 14px; font-size: var(--t-small); font-weight: 600; color: var(--ink-2); }.cal-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); }.cal-row-link { display: flex; flex: 1; color: inherit; text-decoration: none; min-height: 44px; align-items: center; }.cal-row-link:hover .list-row__title { text-decoration: underline; }.cal-only-you { margin-left: 8px; }button.cal-row-link { background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; }.cal-reminder { margin-right: 8px; }@media (max-width: 560px) {
    .cal-day { grid-template-columns: 1fr; gap: 4px; }
    .cal-day-label { padding-top: 0; }
}.tl-gap { margin: 6px 0 30px; padding: 20px 24px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); max-width: 660px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); }.tl-gap p { margin: 0; }.tl-gap-span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }.tl-gap-title { font-family: var(--serif); font-size: 22px; color: var(--ink); }.tl-gap-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }.tl-addhere { display: inline-flex; gap: 6px; align-items: center; align-self: flex-start; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--ink-3); font-size: var(--t-meta); font-weight: 600; opacity: 0; transition: opacity .15s ease; }.tl-yeargroup:hover .tl-addhere, .tl-yeargroup:focus-within .tl-addhere, .tl-addhere:focus-visible, .tl-addhere-on { opacity: 1; }.tl-addhere:hover { background: var(--bg-sunken); color: var(--accent); }.tl-today { margin: 18px 0 30px; padding: 22px 26px; border-radius: var(--r-lg); background: var(--accent-soft); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }.tl-today p { margin: 0; }.tl-today-title { font-family: var(--serif); font-size: 28px; line-height: 1.2; font-weight: 400; margin: 0; }.tl-now { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); box-shadow: 0 0 0 5px var(--bg); }.tl-now::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--accent); animation: tl-ring 2s ease-out infinite; }@keyframes tl-ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }.tl-fresh { box-shadow: 0 0 0 3px var(--accent), var(--shadow-md) !important; animation: tl-lift .6s ease; }.tl-milestone.tl-fresh { box-shadow: 0 0 0 3px var(--accent) !important; padding-left: 10px; }@keyframes tl-lift { from { transform: translateY(8px); opacity: .4; } }.tl-empty { padding: 40px 0; margin: 0; }@media (max-width: 640px) {
  .tl-row { grid-template-columns: 46px 30px minmax(0, 1fr); }
  .tl-year { font-size: 17px; }
  .tl-dec-num { font-size: 44px; }
  .tl-photo { height: 170px; }
}@media (prefers-reduced-motion: reduce) {
  .tl-now::after, .tl-fresh { animation: none; }
  .tl-card, .tl-card:hover { transition: none; transform: none; }
}/* ---------- Timeline: memory drawer ---------- */.tl-drawer { display: flex; flex-direction: column; gap: 22px; }.tl-drawer p { margin: 0; }.tl-drawer-intro { display: flex; flex-direction: column; gap: 6px; }.tl-drawer-photo { height: 260px; width: 100%; -o-object-fit: cover; object-fit: cover; border-radius: var(--r-lg); }.tl-story { font-family: var(--serif); font-size: 21px; line-height: 1.55; color: var(--ink); white-space: pre-line; }.tl-player { display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: var(--bg-sunken); border-radius: var(--r-lg); }.tl-play-lg { width: 56px; height: 56px; }.tl-play:disabled { opacity: .5; cursor: default; }.tl-player-track { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; min-width: 0; }.tl-player-times { display: flex; justify-content: space-between; }.tl-sealed { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 24px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); color: var(--ink-2); }.tl-sealed .icon { color: var(--accent); }.tl-drawer-section { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }.tl-drawer-section h3 { margin: 0; }.tl-person-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }.tl-person-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 6px; border-radius: 999px; background: var(--bg-sunken); font-size: var(--t-small); font-weight: 500; }.tl-inline-link { min-height: 0; padding: 0; font-size: inherit; }.tl-persp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }.tl-persp-row { display: flex; gap: 10px; align-items: flex-start; }.tl-persp { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; background: var(--bg-sunken); border-radius: 4px 16px 16px 16px; font-size: var(--t-small); line-height: 1.5; min-width: 0; }.tl-persp-name { font-size: var(--t-meta); font-weight: 600; }.tl-persp-form { display: flex; align-items: center; gap: 10px; }.tl-persp-form input { flex: 1 1 auto; min-width: 0; min-height: 46px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-elev); color: var(--ink); font-size: max(16px, var(--t-small)); }.tl-persp-form input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }.tl-persp-form .btn:disabled { opacity: .5; transform: none; box-shadow: none; cursor: default; }.tl-error { color: var(--warn); }.tl-gallery-single { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }.tl-gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }.tl-gallery-grid li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }.tl-gallery-thumb { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; background: var(--bg-sunken); cursor: zoom-in; }.tl-gallery-img { display: block; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }.tl-gallery-by { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.tl-gallery-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }.tl-gallery-actions:empty { display: none; }.tl-gallery-uploads { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }.tl-gallery-upload { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }.tl-photo-view { display: flex; flex-direction: column; gap: 14px; }.tl-photo-view-frame { display: flex; justify-content: center; background: var(--bg-sunken); border-radius: var(--r-lg); overflow: hidden; }.tl-photo-view-img { display: block; max-width: 100%; max-height: 70vh; -o-object-fit: contain; object-fit: contain; }.tl-photo-view-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.tl-persp-photo { flex-shrink: 0; width: 48px; height: 48px; padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; cursor: zoom-in; }.tl-persp-photo img { display: block; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }@media (max-width: 640px) {
  .tl-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}/* ---------- Timeline: composer ---------- */.tl-composer { display: flex; flex-direction: column; gap: 22px; }.tl-composer p { margin: 0; }.tl-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }.tl-kind { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-elev); font-weight: 600; color: var(--ink-2); }.tl-kind:hover { border-color: var(--line-2); }.tl-kind.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }.tl-field { display: flex; flex-direction: column; gap: 10px; }.tl-label { font-weight: 600; font-size: var(--t-small); color: var(--ink); }.tl-title-input { font-family: var(--serif); font-size: 28px; line-height: 1.2; padding: 6px 0 10px; border: 0; border-bottom: 2px solid var(--line-2); background: transparent; color: var(--ink); width: 100%; }.tl-title-input:focus-visible { outline: none; border-bottom-color: var(--accent); }.tl-textarea { width: 100%; min-height: 96px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--bg-elev); color: var(--ink); font: inherit; font-size: max(16px, var(--t-small)); resize: vertical; }.tl-input { min-height: 46px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--bg-elev); color: var(--ink); font-size: max(16px, var(--t-small)); }.tl-input-day { width: 84px; }.tl-textarea:focus-visible, .tl-input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }.tl-when-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }.tl-dropzone { min-height: 140px; padding: 16px; text-align: center; cursor: pointer; }.tl-pick { border: 1px solid transparent; cursor: pointer; }.tl-pick.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }.tl-composer-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }.tl-composer-actions { display: flex; gap: 10px; margin-left: auto; }.tl-composer .btn:disabled { opacity: .5; transform: none; box-shadow: none; cursor: default; }@media (max-width: 640px) {
  .tl-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}/* ---------- Timeline: phone thread ---------- */.mt-thread { position: relative; --mt-sticky-top: 0px; }.mt-thread-body { padding-right: 44px; }.mt-stick { position: sticky; top: var(--mt-sticky-top); z-index: 4; background: var(--bg); }.mt-dec { display: flex; align-items: baseline; gap: 10px; padding: 8px 0 6px; }.mt-dec-n { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -.02em; font-weight: 400; margin: 0; }.mt-year { scroll-margin-top: calc(var(--mt-sticky-top) + 48px); }.mt-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; }.mt-gut { position: relative; }.mt-gut::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line-2); transform: translateX(-50%); }.mt-gut.dashed::before { background: none; width: 0; border-left: 2px dashed var(--line-2); transform: translateX(-1px); }.mt-yr { position: relative; z-index: 1; display: block; text-align: center; background: var(--bg); font-family: var(--serif); font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 14px 0 4px; }.mt-dot { position: absolute; left: 50%; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); transform: translateX(-50%); }.mt-cell { padding: 6px 0 8px; min-width: 0; }.mt-chapter { margin: 0; padding: 14px 0 2px; color: var(--accent); }.mt-trow { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 16px; padding: 8px 14px 8px 8px; min-height: 68px; }.mt-thumb { width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0; font-size: 10px; -o-object-fit: cover; object-fit: cover; }.mt-thumb-ic { background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }.mt-trow-text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }.mt-trow-t { font-weight: 600; font-size: 16px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }.mt-card { display: flex; flex-direction: column; width: 100%; text-align: left; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); }.mt-card-new { border-color: var(--accent); }.mt-card-photo { height: 150px; width: 100%; -o-object-fit: cover; object-fit: cover; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }.mt-card-b { display: flex; flex-direction: column; gap: 9px; padding: 14px 16px; }.mt-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }.mt-type { font-size: 12px; }.mt-card-t { font-family: var(--serif); font-size: 21px; line-height: 1.2; font-weight: 500; color: var(--ink); }.mt-voice-row { display: flex; align-items: center; gap: 12px; }.mt-play { width: 44px; height: 44px; }.mt-card-by { display: inline-flex; align-items: center; gap: 8px; }.mt-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; }.mt-new { flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent); padding: 3px 9px; border-radius: 999px; }.mt-ms { display: flex; gap: 12px; align-items: center; width: 100%; padding: 6px 0; text-align: left; border-radius: var(--r-md); }.mt-ms-star { width: 38px; height: 38px; }.mt-ms-text { display: flex; flex-direction: column; min-width: 0; }.mt-ms-t { font-family: var(--serif); font-size: 21px; line-height: 1.2; color: var(--ink); }.mt-today { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin: 8px 0 2px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); scroll-margin-bottom: 120px; }.mt-today b { font-weight: 700; }.mt-today .meta { color: var(--ink-2); }.mt-now { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }.mt-now::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); animation: tl-ring 2s ease-out infinite; }.mt-future { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; min-height: 56px; border: 1.5px dashed var(--line-2); border-radius: 14px; }.mt-future-text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }.mt-future-t { font-weight: 600; color: var(--ink); }.mt-future-one { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.mt-future { max-height: 75px; }.mt-future-arrow { color: var(--ink-3); transform: rotate(90deg); }.mt-scrub { position: fixed; right: max(4px, env(safe-area-inset-right, 0px)); top: var(--mt-scrub-top, 140px); bottom: calc(var(--mt-scrub-bottom, 110px) + env(safe-area-inset-bottom, 0px)); width: 34px; z-index: 6; border-radius: 999px; touch-action: none; cursor: ns-resize; }.mt-scrub:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }.mt-scrub.is-on { width: 44px; background: var(--bg-elev); box-shadow: var(--shadow-md); }.mt-scrub-mark { position: absolute; left: 50%; transform: translate(-50%, -50%); font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); white-space: nowrap; pointer-events: none; padding: 2px 4px; }.mt-scrub-mark:first-child { transform: translate(-50%, 0); }.mt-scrub-mark:last-child { transform: translate(-50%, -100%); }.mt-scrub-mark.is-cur { color: var(--accent); font-weight: 600; }.mt-scrub.is-on .mt-scrub-mark { font-size: 12px; color: var(--ink-2); }.mt-scrub.is-on .mt-scrub-mark.is-cur { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 3px 6px; }.mt-bubble { position: fixed; right: 62px; top: 40%; z-index: 8; min-width: 170px; padding: 14px 20px; background: var(--bg-elev); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: var(--shadow-lg); }.mt-bubble-y { font-family: var(--serif); font-size: 48px; line-height: 1; letter-spacing: -.03em; color: var(--accent); }.mt-bubble-sub { color: var(--ink); }.mt-bubble-ch { color: var(--accent); font-weight: 500; margin-top: 4px; }@media (prefers-reduced-motion: reduce) {
  .mt-now::after { animation: none; }
}/* ============ App shell (components/layout/AppShell) ============ */.shell { min-height: 100vh; min-height: 100dvh; background: var(--bg); }.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--accent); color: var(--accent-ink); font-weight: 600;
}.skip-link:focus { top: 12px; }.shell-top {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklch, var(--bg-elev) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}.shell-top__in {
  max-width: 1200px; margin: 0 auto;
  min-height: 72px;
  padding: 14px 32px;
  display: flex; align-items: center; gap: 24px;
}.shell-top__logo { display: inline-flex; color: inherit; text-decoration: none; }.shell-top__end { display: flex; align-items: center; gap: 16px; margin-left: auto; }.shell-add { min-height: 46px; padding: 0 20px; font-size: var(--t-small); }.shell-nav { display: flex; align-items: center; gap: 4px; flex: 1; }.shell-nav__link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: var(--t-small); font-weight: 500;
  color: var(--ink-2); text-decoration: none;
}.shell-nav__link:hover { background: var(--bg-sunken); color: var(--ink); }.shell-nav__link[aria-current="page"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }.shell-nav__link--quiet { color: var(--ink-3); }.shell-nav__link--push { margin-left: auto; }.account-menu { position: relative; }.account-menu__button { display: inline-flex; padding: 2px; border-radius: 50%; }.account-menu__panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40;
  min-width: 230px;
  padding: 6px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}.account-menu__name {
  padding: 10px 12px 12px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  overflow-wrap: anywhere;
}.account-menu__item {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 12px;
  border-radius: 10px;
  color: var(--ink); text-decoration: none;
}.account-menu__item:hover { background: var(--bg-sunken); }.shell-avatar {
  position: relative; overflow: hidden; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 600;
}.shell-avatar img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: opacity .2s ease;
}.shell-subnav {
  max-width: 1200px; margin: 0 auto;
  padding: 16px 32px 0;
  display: flex; gap: 6px;
  overflow-x: auto; scrollbar-width: none;
}.shell-subnav::-webkit-scrollbar { display: none; }.shell-subnav__link {
  display: inline-flex; align-items: center; flex-shrink: 0;
  min-height: 44px; padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  white-space: nowrap;
  font-size: var(--t-small); font-weight: 500;
  color: var(--ink-2); text-decoration: none;
}.shell-subnav__link:hover { background: var(--bg-sunken); }.shell-subnav__link[aria-current="page"] { background: var(--accent-soft); border-color: transparent; color: var(--accent); font-weight: 600; }.shell-main { display: block; outline: none; }.shell .app-header {
  max-width: 1200px; margin: 0 auto;
  padding: 28px 32px 0;
  background: transparent; border-bottom: 0;
}.shell .page-body { max-width: 1200px; margin: 0 auto; padding: 24px 32px 60px; }.shell-tabs { display: none; }.shell-tab {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px;
  min-height: 52px; padding: 4px 2px;
  font-size: 12px; font-weight: 500;
  color: var(--ink-3); text-decoration: none;
}.shell-tab[aria-current="page"] { color: var(--accent); font-weight: 600; }.shell-tab__add {
  width: 56px; height: 56px; margin-top: -26px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 5px var(--bg-elev), var(--shadow-md);
}@media (max-width: 1039px) {
  .shell-nav { display: none; }
  .shell-tabs {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: var(--bg-elev);
    border-top: 1px solid var(--line);
  }
  .shell-tab--phone { display: none; }
  .shell-main { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}@media (max-width: 899px) {
  .shell-top__in { padding: 12px 20px; }
  .shell-subnav { padding: 12px 20px 0; }
  .shell .app-header { padding: 20px 20px 0; }
  .shell .page-body { padding: 20px 20px 48px; }
}@media (max-width: 639px) {
  .shell-top { display: none; }
  .shell-tabs { grid-template-columns: repeat(5, 1fr); }
  .shell-tab--phone { display: flex; }
  .shell-tab--tablet { display: none; }
  .shell-subnav { padding: 12px 16px 0; }
  .shell .app-header {
    position: sticky; top: 0; z-index: 20;
    padding: 12px 16px;
    background: color-mix(in oklch, var(--bg-elev) 92%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .shell .page-body { padding: 20px 16px 48px; }
}/* Grouped link lists (More) */.list-stack { display: grid; gap: 22px; max-width: 640px; }.list-section__label { margin: 0 0 8px 4px; }.list-group {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}.list-row {
  display: flex; align-items: center; gap: 12px;
  box-sizing: border-box; width: 100%; min-height: 60px; padding: 8px 14px;
  border: 0; border-bottom: 1px solid var(--line);
  background: none;
  color: var(--ink); text-align: left; text-decoration: none;
  font: inherit;
}.list-row:last-child { border-bottom: 0; }.list-row:hover { background: var(--bg-sunken); }.list-row__icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--bg-sunken); color: var(--ink-2);
}.list-row__icon--accent { background: var(--accent); color: var(--accent-ink); }.list-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }.list-row__title { font-weight: 600; font-size: 17px; }.list-row__chevron { color: var(--ink-3); }/* ---------- Timeline: page ---------- */.tl-page { --mt-scrub-top: 120px; --mt-scrub-bottom: 96px; }.tl-page--phone { padding: 8px 18px 24px; }.tl-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }.tl-hero__text { min-width: 0; }.tl-hero__eyebrow { color: var(--accent); }.tl-switch { display: flex; align-items: center; margin: -10px 0 -6px -10px; }.tl-switch__item { position: relative; min-height: 44px; min-width: 44px; padding: 0 10px; border: 0; background: none; cursor: pointer; color: var(--ink-3); -webkit-text-decoration: underline 2px transparent; text-decoration: underline 2px transparent; text-underline-offset: 6px; }.tl-switch__item[aria-current] { color: var(--accent); text-decoration-color: currentColor; }.tl-switch__item:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: var(--r-sm); }.tl-switch__item + .tl-switch__item::before { content: ""; position: absolute; left: 0; top: 15px; bottom: 15px; width: 1px; background: var(--ink-3); opacity: .5; }.tl-hero__sub { max-width: 640px; margin: 10px 0 0; }.tl-page--phone .tl-hero { margin-bottom: 10px; }.mt-title { font-family: var(--serif); font-size: 28px; line-height: 1.1; letter-spacing: -.015em; font-weight: 400; margin: 0; }.tl-sample-note { margin: 0 0 18px; padding: 10px 14px; border-radius: var(--r-md); background: var(--bg-sunken); color: var(--ink-2); }.tl-toolbar { position: sticky; top: 73px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 0; margin-bottom: 8px; background: var(--bg); border-bottom: 1px solid var(--line); }.tl-toolbar__people { display: flex; flex-wrap: wrap; gap: 8px; }.tl-select { min-height: 44px; padding: 0 12px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--bg-elev); color: var(--ink); font: inherit; }.tl-future-list { display: flex; flex-direction: column; gap: 12px; padding-bottom: 8px; }.tl-start { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; margin-bottom: 18px; border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); }.tl-start p { margin: 0; }.tl-drawer-by { margin: 0; }/* ---------- Timeline: add sheet and voice flow ---------- */.circ { width: 44px; height: 44px; border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); flex-shrink: 0; }.mic { width: 96px; height: 96px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px var(--accent-soft); flex-shrink: 0; }.ribbon { display: flex; gap: 5px; }.ribbon i { height: 5px; flex: 1; border-radius: 99px; background: var(--line-2); }.ribbon i.done { background: var(--good); }.ribbon i.now { background: var(--accent); }.wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 74px; }.wave i { width: 5px; border-radius: 99px; background: var(--accent); display: block; transition: height .12s ease; }.mt-h { font-family: var(--serif); font-size: 30px; line-height: 1.12; letter-spacing: -.015em; font-weight: 400; margin: 6px 0 0; }.mt-guess { padding: 14px 16px; border-radius: 18px; background: var(--accent-soft); }.mt-chips { display: grid; gap: 8px; }.mt-chip { min-height: 44px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg-elev); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 16px; color: var(--ink-2); }.mt-chip.on { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }.mt-faces { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.mt-face { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px 10px; min-height: 132px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--bg-elev); }.mt-face.on { border-color: var(--accent); background: var(--accent-soft); }.mt-face-check { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; }.as { display: flex; flex-direction: column; gap: 10px; padding-bottom: 8px; }.as-say { display: flex; align-items: center; gap: 18px; width: 100%; padding: 18px; border-radius: 22px; background: var(--accent); color: var(--accent-ink); text-align: left; }.as-mic { width: 72px; height: 72px; background: oklch(1 0 0 / .16); box-shadow: 0 0 0 8px oklch(1 0 0 / .18); }.as-say-text { display: flex; flex-direction: column; }.as-say-t { font-weight: 700; font-size: 20px; }.as-say-s { font-size: 15px; opacity: .9; }.as-alts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.as-alt { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; border-radius: 18px; border: 1.5px solid var(--line-2); background: var(--bg-elev); font-weight: 600; font-size: 17px; color: var(--ink); }.as-letter { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; }.tl-say-instead { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; }.vf { display: flex; flex-direction: column; gap: 14px; min-height: min(640px, calc(100dvh - 120px)); }.vf-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.vf-ribbon { width: 120px; }.vf-skip { width: 44px; text-align: right; }.vf-center { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 8px 0; }.vf-body { flex: 1; display: flex; flex-direction: column; gap: 10px; }.vf-h { margin: 0; }.vf-eyebrow { color: var(--accent); }.vf-clock { font-family: var(--mono); font-size: 54px; font-weight: 500; letter-spacing: -.02em; line-height: 1; }.vf-wave { height: 80px; margin-top: 8px; }.vf-note { max-width: 300px; margin: 0; }.vf-foot { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }.vf-alt { align-self: center; min-height: 44px; }.vf-rec-controls { display: flex; flex-direction: column; align-items: center; gap: 14px; }.vf-rec { width: 88px; height: 88px; }.vf-row { display: flex; justify-content: space-between; gap: 12px; width: 100%; }.vf-row .btn { min-height: 52px; flex: 1; }.vf-label { margin-top: 6px; }.vf-transcript { font-family: var(--serif); font-size: 19px; line-height: 1.45; }.vf-kept { margin: 0; }.vf-guess { display: flex; flex-direction: column; gap: 8px; }.vf-guess-k { color: var(--accent); font-weight: 600; }.vf-guess-q { font-size: 17px; }.vf-sub { margin-top: 8px; }.vf-chips-3 { grid-template-columns: repeat(3, 1fr); }.vf-chips-5 { grid-template-columns: repeat(5, 1fr); }.vf-faces { margin-top: 6px; }.vf-face-name { font-weight: 600; font-size: 17px; color: var(--ink); }.vf-mic-off { background: var(--bg-sunken); color: var(--ink-3); box-shadow: none; }.vf-working { transform: scale(1.8); margin: 16px 0; }.vf-error { color: var(--warn, var(--accent)); margin: 0; }.tl-rec-btn.on { animation: tl-rec-pulse 1.2s ease-in-out infinite; }@keyframes tl-rec-pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--accent-soft); } 50% { box-shadow: 0 0 0 12px var(--accent-soft); } }.tl-typing { display: inline-flex; gap: 3px; }.tl-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); animation: tl-typing-dot 1s infinite; }.tl-typing i:nth-child(2) { animation-delay: .15s; }.tl-typing i:nth-child(3) { animation-delay: .3s; }@keyframes tl-typing-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }@media (prefers-reduced-motion: reduce) {
  .tl-rec-btn.on, .tl-typing i, .wave i { animation: none; transition: none; }
}/* ---------- Timeline: side by side (lanes) and chapters ---------- */.tl-toolbar .ui-seg { flex-shrink: 0; }.tl-zoom { display: flex; align-items: center; gap: 10px; }.tl-zoom input { accent-color: var(--accent); width: 160px; }.tl-rangechip { display: inline-flex; align-items: center; gap: 6px; padding: 0 6px 0 14px; min-height: 40px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: var(--t-meta); }.tl-rangechip-x { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: inherit; }.tl-rangechip-x:hover { background: color-mix(in oklch, var(--accent) 14%, transparent); }.tl-showing { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 12px; padding: 0 4px 0 14px; }.tl-showing__what { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.tl-showing__clear { flex-shrink: 0; color: inherit; font-size: inherit; }.tl-lanes-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-elev); box-shadow: var(--shadow-sm); margin-top: 16px; }.tl-lanes-inner { display: flex; }.tl-lane-names { position: sticky; left: 0; z-index: 12; background: var(--bg-elev); border-right: 1px solid var(--line); flex-shrink: 0; }.tl-lane-name { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-top: 1px solid var(--line); }.tl-lane-name-text { display: flex; flex-direction: column; min-width: 0; }.tl-lane-name-n { font-weight: 600; font-size: var(--t-small); }.tl-lane-name-y { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.tl-lane-track { position: relative; flex-shrink: 0; }.tl-lane-bg { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); }.tl-lane-bg--alt { background: color-mix(in oklch, var(--bg-sunken) 55%, transparent); }.tl-dec-line { position: absolute; top: 0; width: 1px; background: var(--line); }.tl-dec-label { position: absolute; top: 10px; transform: translateX(7px); font-family: var(--serif); font-size: 18px; color: var(--ink-2); }.tl-ytick { position: absolute; top: 30px; height: 10px; border-left: 1px solid var(--line-2); font-family: var(--mono); font-size: 10px; color: var(--ink-3); padding-left: 3px; line-height: 10px; }.tl-future-shade { position: absolute; top: 0; background: repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in oklch, var(--bg-sunken) 70%, transparent) 10px 20px); }.tl-life { position: absolute; height: 6px; border-radius: 3px; border: 1.5px solid; }.tl-life-future { position: absolute; height: 0; border-top: 2px dashed; opacity: .45; }.tl-conn { position: absolute; width: 2px; transform: translateX(-1px); background: var(--ink-3); opacity: .28; transition: opacity .15s; }.tl-conn.is-on { background: var(--accent); opacity: 1; }.tl-today-line { position: absolute; top: 0; width: 2px; background: var(--accent); z-index: 3; }.tl-today-line span { position: absolute; top: 8px; left: 6px; font-size: var(--t-meta); font-weight: 700; color: var(--accent); background: var(--bg-elev); padding: 0 6px; border-radius: 6px; }.tl-ldot { position: absolute; z-index: 2; width: 30px; height: 30px; border-radius: 50%; border: 2px solid; display: flex; align-items: center; justify-content: center; transform: translate(-50%, -50%); transition: transform .12s; box-shadow: var(--shadow-sm); }.tl-ldot.is-on { transform: translate(-50%, -50%) scale(1.18); z-index: 5; }.tl-ldot:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }.tl-ldot-ic { width: 14px !important; height: 14px !important; }.tl-ldot-future { border-style: dashed; }.tl-fresh-dot { box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-md); }.tl-tip { position: absolute; z-index: 20; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 12px; width: -moz-max-content; width: max-content; max-width: 280px; font-size: var(--t-small); pointer-events: none; box-shadow: var(--shadow-lg); }.tl-tip .meta { color: color-mix(in oklch, var(--bg) 80%, var(--ink)); }.tl-tip-t { font-weight: 600; margin-top: 2px; }.tl-chapters-view { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }.tl-chapters-view > .meta { margin: 0; }.tl-chapters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 20px; }.tl-chapter { display: flex; flex-direction: column; text-align: left; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .15s, transform .15s; min-height: 380px; color: var(--ink); }.tl-chapter:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }.tl-chapter-cover { display: block; width: 100%; height: 170px; -o-object-fit: cover; object-fit: cover; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }.tl-chapter-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; flex: 1; }.tl-chapter-body--center { justify-content: center; }.tl-chapter-title { display: block; }.tl-chapter-ages { display: block; }.tl-chapter-mark { margin: 0; padding: 24px 0 4px; color: var(--accent); }.tl-chapter-items { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }.tl-chapter-item { display: flex; align-items: center; gap: 8px; }.tl-chapter-item-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.tl-chapter-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; }.tl-chapter-future { border: 1.5px dashed var(--line-2); background: var(--accent-soft); box-shadow: none; }.tl-chapter-next { color: var(--accent); }.tl-chapters-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }.tl-chapters-bar > .meta { margin: 0; }.tl-chapters-undo { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--r-md); background: var(--bg-sunken); }.tl-chapters-error { margin: 0; color: var(--warn); }.tl-chapter--edit { border-style: dashed; border-width: 1.5px; box-shadow: none; min-height: 0; }.tl-chapter--edit:hover { box-shadow: none; transform: none; }.tl-chapter--edit .tl-chapter-cover { height: 110px; }.tl-chapter-name { font-family: var(--serif); font-size: 22px; color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--line-2); border-radius: 0; padding: 2px 0 4px; width: 100%; }.tl-chapter-name:focus { outline: none; border-bottom-color: var(--accent); }.tl-chapter-edit-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }.tl-chapters-of { align-items: center; }@media (max-width: 639px) {
  /* A phone fits a few chapters a screen: no empty cover, a shorter photo, no minimum height. */
  .tl-chapters { gap: 12px; }
  .tl-chapter { min-height: 0; }
  .tl-chapter-cover, .tl-chapter--edit .tl-chapter-cover { height: 120px; }
  .placeholder.tl-chapter-cover { display: none; }
  .tl-chapter-body { padding: 16px 18px; }
}.tl-modal-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }.tl-modal-foot > .meta { margin-right: auto; }.tl-split-years { max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }.tl-split-year { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; }.tl-split-line { display: block; width: 100%; text-align: center; padding: 6px; border: 0; border-top: 1.5px dashed var(--line-2); background: transparent; color: var(--ink-3); font: inherit; font-size: 14px; }.tl-split-line--on { border-top: 2px solid var(--accent); color: var(--accent); font-weight: 600; }.tl-split-stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }.tl-split-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }.tl-merge-options { display: flex; flex-direction: column; gap: 10px; }.tl-merge-option { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; }.tl-merge-option--on { border-color: var(--accent); background: var(--accent-soft); }@media (prefers-reduced-motion: reduce) {
  .tl-chapter, .tl-ldot, .tl-conn { transition: none; }
  .tl-chapter:hover { transform: none; }
}.tl-letter-body { font-family: var(--serif); font-size: 18px; line-height: 1.6; min-height: 220px; }/* ============================================================
   Family, Person and Invite
   ============================================================ */.fam-page { display: flex; flex-direction: column; gap: 28px; }.fam-back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600; text-decoration: none; min-height: 44px; align-self: flex-start; }.fam-back:hover { color: var(--ink); }.fam-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }.fam-head__text { min-width: 0; max-width: 680px; }.fam-head__eyebrow { color: var(--accent); margin-bottom: 8px; }.fam-head__sub { margin: 10px 0 0; }.fam-head .h1 em { font-style: italic; color: var(--ink-2); }.fam-head__actions { display: flex; gap: 10px; flex-wrap: wrap; }.fam-empty { padding: 28px; border: 1.5px dashed var(--line-2); border-radius: 20px; display: grid; gap: 12px; justify-items: start; }.fam-empty .small { margin: 0; }.fam-section { display: flex; flex-direction: column; gap: 12px; }.fam-section__label { margin: 0; }.fam-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }.fam-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; min-height: 104px;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 20px;
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm);
  transition: border-color 120ms ease;
}.fam-card:hover { border-color: var(--line-2); }.fam-card-wrap { display: grid; gap: 6px; align-content: start; }.fam-card__invite { justify-self: start; }.fam-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }.fam-card--remembered { background: transparent; border-style: dashed; border-color: var(--line-2); box-shadow: none; }.fam-card__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }.fam-card__name { font-family: var(--serif); font-size: 22px; line-height: 1.15; }.fam-card__label { color: var(--ink-2); font-size: var(--t-small); }.fam-card__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }.fam-card__status { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-meta); color: var(--ink-3); }.fam-card__count { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }.fam-card__count-n { font-family: var(--serif); font-size: 28px; line-height: 1; }.fam-invites { list-style: none; margin: 0; padding: 0; }.fam-invite { gap: 14px; flex-wrap: wrap; }/* Rows aren't links, and a touch leaves :hover stuck on phones. */.list-row.fam-invite:hover { background: none; }/* The name and status keep a readable width; the actions wrap below before they squeeze it. */.fam-invite > .list-row__text { flex: 1 1 220px; }.fam-invite__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }@media (max-width: 639px) {
  /* On a phone the actions get their own row, lined up with the name. */
  .fam-invite__actions { flex: 1 1 100%; margin-left: 58px; justify-content: flex-start; }
}.fam-invite__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  border: 1.5px dashed var(--line-2); color: var(--ink-3); font-weight: 600;
}.fam-roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }.fam-role { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 16px; background: var(--bg-sunken); }.fam-role__title { font-weight: 600; }.fam-roles__note { margin: 0; }.person-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }.person-head__text { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 6px; }.person-head__life { margin: 0; }.person-head__label { align-self: flex-start; padding: 0; min-height: 44px; font-size: var(--t-small); }.person-head__actions { display: flex; gap: 10px; flex-wrap: wrap; }.person-remembered { margin: 0; padding: 14px 18px; border-radius: 14px; background: var(--bg-sunken); color: var(--ink-2); }.person-cols { display: grid; gap: 20px; grid-template-columns: 1.3fr 1fr; align-items: start; }.person-side { display: flex; flex-direction: column; gap: 20px; }.person-panel { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 20px; }.person-panel .small { margin: 0; }.person-panel .chip { align-self: flex-start; }.person-panel__action { align-self: flex-start; }.person-danger { display: grid; gap: 10px; justify-items: start; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }.person-danger .small { margin: 0; max-width: 60ch; }@media (max-width: 560px) {
  .person-panel__action, .person-danger .btn { align-self: stretch; justify-self: stretch; }
}.person-memories { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }.person-memory {
  width: 100%; min-height: 56px; padding: 10px 4px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; color: var(--ink); cursor: pointer; font: inherit;
}.person-memories li:last-child .person-memory { border-bottom: 0; }.person-memory:hover .person-memory__title { text-decoration: underline; }.person-memory__title { font-weight: 600; }.person-questions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }.person-question { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }.person-questions li:last-child { border-bottom: 0; padding-bottom: 0; }.person-questions li:first-child { padding-top: 0; }.person-question__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }.person-question__text { margin: 0; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.4; }.person-question__head .chip { flex: 0 0 auto; }.person-question__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }.person-voice__title { align-self: flex-start; text-align: left; }.person-voice__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }.chip-scroll button.chip { cursor: pointer; text-align: left; }.person-facts { white-space: pre-line; }.invite-cols { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); align-items: start; }.invite-form { display: flex; flex-direction: column; gap: 20px; max-width: 560px; }.invite-field { display: flex; flex-direction: column; gap: 8px; }.invite-field__label { font-weight: 600; font-size: 16px; }.invite-field input {
  min-height: 54px; padding: 0 16px; font-size: 18px; color: var(--ink);
  background: var(--bg-elev); border: 1.5px solid var(--line-2); border-radius: 14px;
}.invite-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }.invite-roles { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }.invite-roles legend { margin-bottom: 8px; padding: 0; }.invite-role {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; cursor: pointer;
  border: 1.5px solid var(--line-2); border-radius: 16px; background: var(--bg-elev);
}.invite-role:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }.invite-role input { margin-top: 4px; width: 20px; height: 20px; accent-color: var(--accent); flex-shrink: 0; }.invite-role__text { display: flex; flex-direction: column; gap: 2px; }.invite-role__title { font-weight: 600; }.invite-gate { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--bg-sunken); color: var(--ink-2); }.invite-error { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--warn-soft); color: var(--ink); font-weight: 500; }.invite-submit { min-height: 54px; justify-content: center; font-size: 17px; }.invite-preview { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 20px; background: var(--bg-sunken); }.invite-preview .meta { margin: 0; }.invite-bubble { padding: 14px 16px; border-radius: 18px 18px 18px 6px; background: var(--bg-elev); box-shadow: var(--shadow-sm); }.invite-bubble p { margin: 0; line-height: 1.45; }.invite-bubble .invite-bubble__link { margin-top: 8px; color: var(--accent); text-decoration: underline; word-break: break-all; }.invite-issued { display: flex; flex-direction: column; gap: 14px; max-width: 560px; padding: 24px; border-radius: 20px; background: var(--bg-elev); border: 1px solid var(--line); }.invite-issued .small { margin: 0; }.invite-issued__link { min-height: 50px; padding: 0 14px; font-size: 16px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--bg-sunken); color: var(--ink); }.invite-issued__actions { display: flex; gap: 10px; flex-wrap: wrap; }@media (max-width: 1039px) {
  .person-cols, .invite-cols { grid-template-columns: 1fr; }
  .invite-preview { position: static; }
}@media (max-width: 639px) {
  .fam-page { gap: 22px; }
  .fam-card { min-height: 80px; padding: 14px 16px; }
  .person-head { flex-direction: column; align-items: center; text-align: center; }
  .person-head__text { align-items: center; min-width: 0; }
  .person-head__actions { justify-content: center; }
  .invite-field input { min-height: 52px; }
}.person-things { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }.fam-head__eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }.fam-head__eyebrow .eyebrow { color: var(--accent); }.fam-rename { min-height: 32px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink-2); font: inherit; font-size: var(--t-meta); font-weight: 600; cursor: pointer; }.fam-rename:hover { background: var(--bg-sunken); color: var(--ink); }.fam-nudge { margin: 0; padding: 14px 18px; border-radius: 14px; background: var(--accent-soft); color: var(--ink); line-height: 1.5; }.tl-person-link { color: inherit; text-decoration: none; }.tl-person-link:hover { border-color: var(--accent); }/* ============================================================
   Invite landing and guest accounts
   ============================================================ */.invite-landing { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; background: var(--bg-sunken); }.invite-landing__card { width: min(520px, 100%); display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 24px; background: var(--bg-elev); box-shadow: var(--shadow-lg); }.invite-landing__card .small, .invite-landing__card .meta { margin: 0; }.invite-landing__eyebrow { color: var(--accent); margin: 8px 0 0; }.invite-landing__lede { margin: 0; font-size: 18px; line-height: 1.5; color: var(--ink-2); }.invite-landing__cta { min-height: 56px; justify-content: center; font-size: 18px; }.dead-link-way-on { margin: 0; }.dead-link-way-on a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }.add-email { display: flex; flex-direction: column; gap: 14px; }.add-email__form { display: flex; flex-direction: column; gap: 14px; }.add-email__or { text-align: center; }.add-email__actions { display: flex; gap: 10px; flex-wrap: wrap; }.add-email input[autocomplete="one-time-code"] { letter-spacing: 0.4em; font-variant-numeric: tabular-nums; }.signout-anyway { color: var(--ink-3); }.guest-nudge { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 20px; padding: 14px 18px; border-radius: 16px; background: var(--accent-soft); color: var(--ink); }.guest-nudge__text { flex: 1; min-width: 220px; line-height: 1.45; }.guest-nudge__actions { display: flex; gap: 8px; flex-wrap: wrap; }/* Add to Home Screen */.install-prompt { display: grid; gap: 18px; }.install-prompt__lede { margin: 0; color: var(--ink-2); line-height: 1.5; }.install-prompt__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: install-step; }.install-prompt__steps li { display: flex; align-items: center; gap: 14px; counter-increment: install-step; line-height: 1.4; }.install-prompt__steps li::before { content: counter(install-step); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 600; }.install-prompt__step-icon { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-sunken); color: var(--accent); }.install-prompt__actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }@media (max-width: 639px) {
  .install-prompt__actions .btn { flex: 1; min-height: 52px; }
  .invite-landing__card { padding: 24px 20px; }
  .guest-nudge { margin: 8px 16px 16px; }
}.tl-date-field { display: block; min-width: 0; width: min(220px, 100%); }/* ============================================================
   Plans & papers
   ============================================================ */.plans-page { display: flex; flex-direction: column; gap: 28px; }.plans-page .fam-head__eyebrow .eyebrow { display: inline-flex; align-items: center; gap: 6px; }.plans-top { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }.plans-bottom { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }.plans-section { display: flex; flex-direction: column; gap: 12px; }.plans-section__label { margin: 0; }.plans-panel { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 20px; }.plans-panel .small { margin: 0; }.plans-panel__actions { display: flex; gap: 10px; flex-wrap: wrap; }.plans-panel .btn-text { align-self: flex-start; padding: 0; }.plans-actors, .plans-letters, .plans-papers { list-style: none; margin: 0; padding: 0; }.plans-actors { display: flex; flex-direction: column; gap: 14px; }.plans-actor { display: flex; align-items: flex-start; gap: 12px; }.plans-actor__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }.plans-actor__name { font-weight: 600; }.plans-paper { gap: 12px; flex-wrap: wrap; }.plans-paper__action { min-height: 44px; }.plans-letters { display: flex; flex-direction: column; gap: 10px; }.plans-letter { display: flex; flex-direction: column; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }.plans-letter:last-child { border-bottom: 0; padding-bottom: 0; }.plans-letter__title { font-weight: 600; }.plans-footer { margin: 0; }.cal-feed__link { display: block; width: 100%; margin-top: 10px; min-height: 48px; padding: 0 14px; font-size: 15px; color: var(--ink); background: var(--bg-sunken); border: 1px solid var(--line-2); border-radius: 12px; }.cal-feed__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }/* Vault: Yours */.vault-mine { display: flex; flex-direction: column; gap: 28px; }.vault-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }.vault-section-head .h3 { margin: 0; }.vault-section-head .btn-text { padding: 0; min-height: 44px; }.vault-group { display: flex; flex-direction: column; gap: 8px; }.vault-rows { list-style: none; margin: 0; padding: 0; }.vault-row { gap: 12px; flex-wrap: wrap; }.vault-row__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--bg-sunken); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }.vault-row__main { flex: 1 1 160px; min-width: 0; background: none; border: 0; padding: 0; text-align: left; color: inherit; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 2px; min-height: 44px; justify-content: center; }.vault-row__secret { display: inline-flex; align-items: center; gap: 2px; }.vault-secret { font-family: var(--mono); font-size: 15px; letter-spacing: 0.04em; overflow-wrap: anywhere; max-width: 22ch; }.vault-icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); cursor: pointer; }.vault-icon-btn:hover { background: var(--bg-sunken); }.vault-icon-btn[aria-pressed="true"] { color: var(--accent); }.vault-secret-input { display: flex; align-items: center; gap: 4px; }.vault-secret-input input { flex: 1; min-width: 0; font-family: var(--mono); }.vault-add, .vault-heir { max-width: none; }.vault-add select {
  min-height: 54px; padding: 0 12px; font-size: 18px; color: var(--ink);
  background: var(--bg-elev); border: 1.5px solid var(--line-2); border-radius: 14px;
}.vault-grid { display: grid; gap: 14px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }.vault-people { display: flex; flex-wrap: wrap; gap: 8px; }.vault-person-choice { align-items: center; }.vault-avatar-blank { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-sunken); color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 600; }.vault-modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 4px; }.vault-modal-foot__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-left: auto; }.vault-modal-foot__confirm { display: grid; gap: 10px; justify-items: start; }.vault-modal-foot__confirm-actions { display: flex; gap: 10px; flex-wrap: wrap; }.vault-note { display: inline-flex; align-items: center; gap: 6px; margin: 0; }.vault-flow { list-style: none; margin: 0; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; border-radius: 16px; background: var(--bg-sunken); }.vault-step { display: flex; align-items: flex-start; gap: 12px; }.vault-step > span:last-child { display: flex; flex-direction: column; gap: 2px; }.vault-step__n { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-elev); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }.vault-step__n--done { background: var(--good); border-color: var(--good); color: #fff; }.vault-step__title { font-weight: 600; }.vault-preview { display: flex; flex-direction: column; gap: 14px; }.vault-preview .h3, .vault-preview .small, .vault-preview .meta { margin: 0; }.vault-preview__question { margin: 4px 0 0; font-family: var(--serif); font-size: 26px; line-height: 1.2; }.vault-preview__answers { display: flex; flex-direction: column; gap: 10px; }.vault-preview .btn-text { align-self: flex-start; padding: 0; }@media (max-width: 639px) {
    .vault-grid { grid-template-columns: minmax(0, 1fr); }
    /* Phone rows: icon and title share the first line; status, controls and actions go underneath. */
    .list-row.plans-paper, .list-row.vault-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); -moz-column-gap: 12px; column-gap: 12px; row-gap: 8px; align-items: center; padding-top: 12px; padding-bottom: 12px; }
    .plans-paper > .list-row__icon, .vault-row > .vault-row__icon { grid-column: 1; }
    .plans-paper > .list-row__text, .vault-row > .vault-row__main { grid-column: 2; }
    .plans-paper > .chip, .vault-row > :not(.vault-row__icon):not(.vault-row__main) { grid-column: 2; justify-self: start; }
    .plans-paper > .plans-paper__action { grid-column: 1 / -1; justify-self: stretch; justify-content: center; }
    .plan-draft__action { flex: 1 1 100%; }
}.ecard { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px; border-radius: 22px; background: var(--accent); color: var(--accent-ink); min-height: 220px; }.ecard--loading { opacity: 0.6; }.ecard__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }.ecard__name { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.1; }.ecard__sub { margin: 0; opacity: 0.9; }.ecard__rule { width: 100%; margin: 6px 0; border: 0; border-top: 1px solid color-mix(in oklch, var(--accent-ink) 30%, transparent); }.ecard__facts { margin: 0; display: grid; gap: 12px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }.ecard__fact { min-width: 0; }.ecard__fact dt { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }.ecard__fact dd { margin: 2px 0 0; font-size: 15px; overflow-wrap: anywhere; }.ecard__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }.ecard__btn { min-height: 44px; background: color-mix(in oklch, var(--accent-ink) 14%, transparent); color: var(--accent-ink); border: 1px solid color-mix(in oklch, var(--accent-ink) 35%, transparent); }.ecard__btn:hover { background: color-mix(in oklch, var(--accent-ink) 24%, transparent); }.ecard__btn--solid { background: var(--accent-ink); color: var(--accent); }.card-editor { display: flex; flex-direction: column; gap: 16px; }.card-editor .small { margin: 0; }.card-editor__row { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }.card-editor__select, .card-editor__notes, .card-editor__contact input {
  min-height: 54px; padding: 0 14px; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--bg-elev); border: 1.5px solid var(--line-2); border-radius: 14px;
}.card-editor__notes { padding: 12px 14px; min-height: 96px; resize: vertical; }.card-editor__contacts { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }.card-editor__contacts legend { margin-bottom: 8px; padding: 0; }.card-editor__contact { display: grid; gap: 8px; grid-template-columns: 1.2fr 1fr 1.2fr; }.card-editor__contacts > .btn { align-self: flex-start; }@media (max-width: 1039px) {
  .plans-top, .plans-bottom { grid-template-columns: 1fr; }
}@media (max-width: 639px) {
  .ecard { padding: 22px 20px; }
  .ecard__facts, .card-editor__row, .card-editor__contact { grid-template-columns: 1fr; }
}@media print {
  body * { visibility: hidden; }
  .ecard, .ecard * { visibility: visible; }
  .ecard { position: absolute; left: 0; top: 0; width: 3.37in; min-height: 0; padding: 0.15in; border-radius: 0.12in; font-size: 8pt; color: #000; background: #fff; border: 1px solid #000; }
  .ecard__name { font-size: 14pt; }
  .ecard__fact dd { font-size: 8pt; }
  .ecard__rule { border-top-color: #999; }
  .ecard__actions { display: none; }
}.recovery-print { display: none; }@media print {
  body.printing-recovery .recovery-print { display: block; position: absolute; left: 0; top: 0; width: 100%; padding: 0.5in; color: #000; background: #fff; font-size: 12pt; }
  body.printing-recovery .recovery-print, body.printing-recovery .recovery-print * { visibility: visible; }
  .recovery-print h1 { margin: 0 0 8pt; font-size: 18pt; }
  .recovery-print__key { margin: 16pt 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20pt; font-weight: 700; letter-spacing: 0.08em; }
}.keys-label-chips { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 4px 0 8px; }/* ---------- Public emergency card (/card/:token) ---------- */.card-page { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 16px 40px; background: var(--bg-sunken); }.card-page__card { width: min(560px, 100%); display: flex; flex-direction: column; gap: 16px; padding: 26px 24px; border-radius: 22px; background: var(--accent); color: var(--accent-ink); }.card-page__card--empty { background: var(--bg-elev); color: var(--ink); }.card-page__card--empty .small { margin: 0; }.card-page__name { margin: 0; font-family: var(--serif); font-size: 34px; font-weight: 400; line-height: 1.1; }.card-page__sub { margin: 0; font-size: 18px; opacity: 0.92; }.card-page__facts { margin: 0; display: flex; flex-direction: column; gap: 12px; }.card-page__fact dt, .card-page__section { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }.card-page__fact dd { margin: 2px 0 0; font-size: 19px; line-height: 1.35; }.card-page__contacts { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }.card-page__call { display: flex; flex-direction: column; gap: 2px; min-height: 64px; justify-content: center; padding: 10px 16px; border-radius: 16px; background: var(--accent-ink); color: var(--accent); text-decoration: none; }.card-page__call-name { font-weight: 600; font-size: 18px; }.card-page__call-phone { font-size: 17px; font-variant-numeric: tabular-nums; }.card-page__notes { margin: 0; font-size: 17px; line-height: 1.45; white-space: pre-line; }.card-page__meta { margin: 0; max-width: 560px; text-align: center; font-size: var(--t-meta); color: var(--ink-3); }.tl-thumbs { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }.tl-thumb { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg-sunken); }.tl-thumb img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; display: block; }.tl-thumb-x { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklch, var(--ink) 70%, transparent); color: var(--bg); }.tl-dropzone--more { min-height: 48px; }/* Newest first: the Today band starts the spine. */.tl-spine-start::before { top: 50%; }.tl-spine-none::before { display: none; }.tl-today-actions { display: flex; gap: 10px; flex-wrap: wrap; }.tl-today-future { margin-top: 4px; text-align: left; }/* Phones: the composer's actions stack, with the main action full width on top. */@media (max-width: 639px) {
  .tl-composer-foot { flex-direction: column; align-items: stretch; }
  .tl-composer-actions { display: grid; grid-template-columns: 1fr 1fr; margin-left: 0; width: 100%; }
  .tl-composer-actions > .btn-primary { grid-column: 1 / -1; order: -1; width: 100%; }
  .tl-composer-actions > * { min-width: 0; justify-content: center; white-space: nowrap; }
  .tl-composer-actions > .tl-say-instead { margin-right: 0; }
  .tl-composer-actions > .btn-ghost:first-child { grid-column: 1 / -1; }
}/* ---------- Plans & papers: who can see this ---------- */.plans-shares { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }.plans-share { display: flex; align-items: center; gap: 12px; }.plans-share .plans-actor__text { flex: 1; }.plans-switch { position: relative; flex: 0 0 auto; width: 52px; height: 32px; border-radius: 999px; background: var(--line-2); transition: background 0.15s; }.plans-switch[aria-checked="true"] { background: var(--accent); }.plans-switch__knob { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-elev); box-shadow: var(--shadow-sm); transition: transform 0.15s; }.plans-switch[aria-checked="true"] .plans-switch__knob { transform: translateX(20px); }.plans-switch:disabled { opacity: 0.6; }@media (prefers-reduced-motion: reduce) { .plans-switch, .plans-switch__knob { transition: none; } }.plans-switch::before { content: ""; position: absolute; inset: -6px; }/* Traditions */.trad-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }.trad-card { height: 100%; display: flex; flex-direction: column; overflow: hidden; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 20px; color: var(--ink); text-decoration: none; }.trad-card:hover { border-color: var(--line-2); }.trad-card--paused { opacity: .78; }.trad-card__cover { width: 100%; aspect-ratio: 16 / 9; -o-object-fit: cover; object-fit: cover; display: block; }.trad-card__cover--blank { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }.trad-card__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }.trad-card__title { display: block; }.trad-card__summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }.trad-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }.trad-card__keeper { display: inline-flex; align-items: center; gap: 8px; }.trad-upcoming { list-style: none; margin: 0; padding: 0 0 4px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }.trad-upcoming li { flex: 0 0 auto; scroll-snap-align: start; }.trad-up { min-width: 200px; max-width: 260px; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; }.trad-up:hover { border-color: var(--accent); }.trad-up__when { color: var(--accent); font-size: var(--t-meta); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }.trad-up__title { font-weight: 600; }.trad-avatars { display: flex; margin-top: 6px; }.trad-avatars > * + * { margin-left: -6px; box-shadow: 0 0 0 2px var(--bg-elev); }.trad-keepers { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }.trad-keepers__arrow { color: var(--ink-3); }.trad-keepers__years { margin-left: auto; white-space: nowrap; }.trad-paused { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 18px 22px; border-radius: 20px; background: var(--accent-soft); }.trad-paused .h3, .trad-paused .small { margin: 0; }.trad-paused .small { margin-top: 4px; }.trad-next__head, .trad-recipe__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }.trad-next__label { margin: 0; }.trad-next .eyebrow { color: var(--accent); }.trad-chips { display: flex; flex-wrap: wrap; gap: 8px; }.trad-going { color: var(--good); }.trad-bringing { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }.trad-bringing b { color: var(--ink); }.trad-recipe__scan { width: 100%; max-height: 320px; -o-object-fit: contain; object-fit: contain; border-radius: 12px; background: var(--bg-sunken); }.trad-recipe__list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }.trad-recipe__steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; line-height: 1.55; }.trad-recipe__actions { display: flex; flex-wrap: wrap; gap: 10px; }.trad-recipe .meta { margin: 0; }.trad-add-how { align-self: flex-start; }.trad-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; }.trad-check input { width: 20px; height: 20px; }/* ---------- Removing a memory (keepers) ---------- */.tl-drawer-remove { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }.tl-drawer-remove .btn { color: var(--ink-3); }/* Gatherings */.evt-times { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.evt-days { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }.evt-days legend { width: 100%; margin-bottom: 8px; }.evt-day { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 500; }.evt-day:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }.evt-panel { gap: 12px; }.evt-when { margin: 0; display: flex; flex-direction: column; gap: 2px; }.evt-answer { display: flex; flex-wrap: wrap; gap: 8px; }.evt-bring { display: flex; align-items: flex-end; gap: 10px; }.evt-bring .invite-field { flex: 1; }.evt-group { display: flex; flex-direction: column; gap: 6px; }.evt-group .eyebrow { margin: 0; }.evt-people { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }.evt-people li { display: flex; align-items: center; gap: 10px; }.evt-people b { color: var(--ink); }.keeper-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }.keeper-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }.keeper-row__remove { min-height: 44px; }@media (max-width: 639px) {
  .keeper-row { grid-template-columns: 1fr 1fr; }
  .keeper-row .invite-field:first-child { grid-column: 1 / -1; }
}.evt-scope { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 2px; }.evt-manage { display: flex; gap: 16px; }/* Public pages reached by a shared link (/m/:slug, /a/:token). */.public-page { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(48px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: var(--bg-sunken); }.public-page__brand { width: min(600px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 12px; }.public-page__brand--wide, .public-page__legal { width: min(720px, 100%); }.public-page__home { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }.public-page__back { min-height: 44px; padding: 0 18px; }.public-page__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }.public-page__legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--ink-2); }.public-page__card { width: min(600px, 100%); display: flex; flex-direction: column; gap: 16px; padding: 24px 20px; border-radius: 22px; background: var(--bg-elev); color: var(--ink); box-shadow: var(--shadow-sm); }.public-page__card .small { margin: 0; }.privacy-page, .legal-page { width: min(720px, 100%); }.privacy-page h2, .legal-page h2 { margin: 12px 0 0; }.privacy-page ul, .legal-page ul { margin: 0; padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 10px; line-height: 1.55; }.legal-page > p, .privacy-page__who { margin: 0; line-height: 1.55; }.privacy-page__draft, .legal-page__draft { align-self: flex-start; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-size: 14px; font-weight: 600; }.public-page__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }.public-page__title { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.15; }.public-page__photo { width: 100%; height: auto; border-radius: 14px; background: var(--bg-sunken); }.public-page__body { margin: 0; font-size: 18px; line-height: 1.55; white-space: pre-wrap; }.public-page__people { display: flex; align-items: center; gap: 10px; }.public-page__avatars { display: inline-flex; }.public-page__avatars > * + * { margin-left: -8px; }.public-page__answer { display: flex; flex-direction: column; gap: 12px; }.public-page__actions { display: flex; align-items: center; gap: 10px; }.public-page__actions .btn { flex: 1; min-height: 52px; }.public-page__record { min-height: 64px; font-size: 18px; }.public-page__clock { font-variant-numeric: tabular-nums; font-size: 20px; min-width: 64px; }.public-page__note { margin: 0; padding: 12px 16px; background: var(--bg-sunken); border-radius: 4px 16px 16px 16px; font-size: 16px; line-height: 1.5; }.public-page__big { min-height: 56px; font-size: 17px; }.public-page__call { display: inline-flex; align-items: center; gap: 6px; align-self: center; min-height: 44px; }.public-page__code { width: 100%; min-height: 56px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 28px; letter-spacing: 0.3em; font-variant-numeric: tabular-nums; text-align: center; }.public-page__code:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }.public-page__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }.public-page__steps li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }.public-page__steps li.is-done { color: var(--ink); }.public-page__step-mark { flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; border: 1px solid var(--line-2); }.public-page__steps li.is-done .public-page__step-mark { background: var(--good-soft); border-color: transparent; color: var(--good); }.public-page__textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 17px; line-height: 1.5; resize: vertical; }.tl-share { gap: 10px; }.tl-share .small { margin: 0; }.tl-share > .btn { align-self: flex-start; }.tl-share-url { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-sunken); color: var(--ink); font: inherit; font-size: var(--t-small); }.tl-share-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }.tl-share-danger { display: flex; justify-content: flex-end; margin-top: 8px; padding-top: 4px; border-top: 1px dashed var(--line); }.tl-question { margin: 0 0 16px; padding: 14px 18px; border-left: 3px solid var(--accent); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--bg-sunken); display: flex; flex-direction: column; gap: 4px; }.tl-question blockquote { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--ink); }.vf .tl-question { margin: 4px 0 12px; }.tl-asked { margin: 0 0 24px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--bg-sunken); display: flex; flex-direction: column; gap: 12px; max-width: 760px; }.tl-asked-h { display: inline-flex; align-items: center; gap: 8px; margin: 0; }.tl-asked-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }.tl-asked-item { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }.tl-asked-item + .tl-asked-item { padding-top: 14px; border-top: 1px solid var(--line); }.tl-asked-meta { margin: 0; color: var(--ink-3); }.tl-asked-text { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--ink); }.tl-page--phone .tl-asked { margin: 0 16px 20px; }/* Full-screen sealed-letter writer */.lw { position: fixed; inset: 0; z-index: 55; background: var(--bg); display: flex; flex-direction: column; color: var(--ink); }.lw-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 28px; padding-top: max(12px, env(safe-area-inset-top)); border-bottom: 1px solid var(--line); background: var(--bg-elev); }.lw-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }.lw-privacy { display: inline-flex; align-items: center; gap: 6px; }.lw-top-spacer { width: 110px; }.lw-body { flex: 1; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 40px; max-width: 1160px; width: 100%; margin: 0 auto; padding: 32px 32px 60px; }.lw-write { display: flex; flex-direction: column; gap: 14px; min-width: 0; }.lw-write .meta { margin: 0; }.lw-title { font-family: var(--serif); font-size: 30px; border: 0; border-bottom: 1.5px solid var(--line-2); padding: 8px 0; background: transparent; color: var(--ink); outline: none; width: 100%; }.lw-title:focus { border-color: var(--accent); }.lw-paper { min-height: 440px; width: 100%; resize: vertical; padding: 28px 32px; border: 1px solid var(--line); border-radius: 6px; background: repeating-linear-gradient(transparent 0 35px, var(--line) 35px 36px) var(--bg-elev); background-position: 0 26px; background-attachment: local; color: var(--ink); font-family: var(--serif); font-size: 20px; line-height: 36px; outline: none; box-shadow: var(--shadow-md); }.lw-paper:focus { border-color: var(--accent); }.lw-side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 0; align-self: start; }.lw-picks { display: flex; flex-direction: column; gap: 8px; }.lw-pick { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--bg-elev); text-align: left; color: var(--ink); }.lw-pick.is-on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }.lw-pick:disabled { opacity: .6; }.lw-pick-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }.lw-radio { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }.lw-pick.is-on .lw-radio { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }.lw-ages { grid-template-columns: repeat(4, 1fr); padding-left: 4px; }.lw-when { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; padding: 12px 16px; border-radius: var(--r-md); background: var(--accent-soft); }.lw-sent-note { margin: 0; padding: 10px 14px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--ink); font-size: 14px; }.lw-when b { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--accent); }.lw-seal { flex: 1; overflow-y: auto; padding: 56px 24px; }.lw-env { max-width: 560px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 44px 32px; border: 1.5px dashed var(--line-2); border-radius: var(--r-xl); background: var(--bg-elev); }.lw-seal-mark { width: 84px; height: 84px; }.lw-env-eyebrow { margin-top: 14px; color: var(--accent); }.lw-env-title { font-size: 34px; line-height: 1.15; margin: 2px 0 6px; }.lw-promises { max-width: 520px; margin: 26px auto 0; }.lw-error { max-width: 520px; margin: 12px auto 0; }.lw-seal-actions { display: flex; justify-content: center; gap: 8px; margin-top: 24px; flex-wrap: wrap; }.lw-backup-candidates { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 8px; }.lw-backup-candidates .btn { width: 100%; height: auto; white-space: normal; text-align: left; }.lw-foot { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-elev); }.lw-foot .btn-block { width: 100%; min-height: 56px; }.lw-foot .meta { margin: 0; text-align: center; }.lw-eyebrow { color: var(--accent); }@media (max-width: 860px) { .lw-body { grid-template-columns: 1fr; } .lw-side { position: static; } }.lw--stepped .lw-top { padding: 8px 12px; padding-top: max(8px, env(safe-area-inset-top)); }.lw--stepped .lw-top-spacer { width: 44px; }.lw--stepped .lw-body { padding: 16px 16px 24px; gap: 16px; }.lw--stepped .lw-paper { min-height: 320px; padding: 18px 18px; font-size: 18px; line-height: 32px; background: repeating-linear-gradient(transparent 0 31px, var(--line) 31px 32px) var(--bg-elev); background-position: 0 17px; background-attachment: local; }.lw--stepped .lw-title { font-size: 24px; }.lw--stepped .lw-seal { padding: 24px 16px; }.lw--stepped .lw-env { padding: 28px 20px; }.lw--stepped .lw-seal-mark { width: 72px; height: 72px; }.lw--stepped .lw-env-title { font-size: 26px; }.pg-list { margin: 10px 0 8px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: var(--t-small); color: var(--ink-2); line-height: 1.45; }.tl-card-journal { display: inline-flex; align-items: center; gap: 6px; }/* Journal */.jr-page { display: flex; flex-direction: column; gap: 24px; }.jr-page--phone { padding: 12px 16px 96px; gap: 16px; }.jr-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; }.jr-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }.jr-sub { max-width: 560px; margin-top: 8px; }.jr-private { display: inline-flex; align-items: center; gap: 6px; }.jr-wrap { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 28px; align-items: start; }.jr-list { display: flex; flex-direction: column; gap: 12px; min-width: 0; }.jr-items { display: flex; flex-direction: column; gap: 10px; }.jr-item { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg-elev); color: var(--ink); transition: border-color .15s; min-width: 0; }.jr-item:hover { border-color: var(--line-2); }.jr-item.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }.jr-item-draft { border-style: dashed; cursor: default; }.jr-item-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }.jr-item-kind { display: inline-flex; align-items: center; gap: 4px; }.jr-item-t { font-family: var(--serif); font-size: 20px; line-height: 1.2; }.jr-item-status { margin-top: 4px; }.jr-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }.jr-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; max-width: 100%; }.jr-none { color: var(--ink-3); }.jr-read { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; padding: 28px 32px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); min-width: 0; }.jr-read-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }.jr-read-title { margin: 0; }.jr-voice { display: flex; flex-direction: column; gap: 10px; }.jr-paragraphs { display: flex; flex-direction: column; gap: 2px; }.jr-p { font-family: var(--serif); font-size: 20px; line-height: 1.6; margin: 0 0 0 -12px; padding: 8px 12px; border-radius: 12px; white-space: pre-wrap; }.jr-p.pub { background: var(--accent-soft); }.jr-pub-tag { display: flex; align-items: center; gap: 6px; font-family: var(--sans, inherit); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }.jr-actions { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--line); }.jr-actions-text { flex: 1 1 220px; min-width: 0; }.jr-actions-danger { flex: 1 1 100%; display: flex; justify-content: flex-end; border-top: 1px dashed var(--line); }.jr-strong { font-weight: 600; }.jr-hint { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-radius: var(--r-md); background: var(--bg-sunken); }.jr-hint-icon { color: var(--accent); }.jr-hint-text { flex: 1 1 200px; min-width: 0; }.jr-scan { display: flex; align-items: center; gap: 16px; padding: 14px; border-radius: var(--r-md); background: var(--bg-sunken); }.jr-page-thumb { flex-shrink: 0; width: 64px; height: 84px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }.jr-page-thumb img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; display: block; }.jr-modes { align-self: flex-start; }.jr-modes .ui-seg__opt { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }.jr-textarea { min-height: 240px; font-family: var(--serif); font-size: 19px; line-height: 1.55; }.jr-editor-foot { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }.jr-empty { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }.jr-say { display: flex; align-items: center; gap: 18px; width: 100%; padding: 18px; border-radius: 22px; background: var(--accent); color: var(--accent-ink); text-align: left; }.jr-say .mic { width: 64px; height: 64px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: oklch(1 0 0 / .16); flex-shrink: 0; }.jr-say-text { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }.jr-say-text b { font-size: 20px; }.jr-alt { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; border-radius: 18px; border: 1.5px solid var(--line-2); background: var(--bg-elev); color: var(--ink); font-weight: 600; font-size: 17px; }.jr-phone-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }.jr-top-spacer { width: 44px; }.jr-share { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }.jr-share-form { display: flex; flex-direction: column; gap: 20px; min-width: 0; }.jr-preview { position: sticky; top: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }.jr-preview-card { pointer-events: none; }.jr-paras { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }.jr-para { display: flex; gap: 12px; align-items: flex-start; text-align: left; width: 100%; padding: 12px 14px; border-radius: var(--r-md); border: 1.5px dashed var(--line-2); background: transparent; color: var(--ink-3); font-family: var(--serif); font-size: 17px; line-height: 1.5; transition: all .15s; }.jr-para.on { border-style: solid; border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }.jr-tick { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-sunken); color: var(--ink-3); margin-top: 1px; }.jr-para.on .jr-tick { background: var(--accent); color: var(--accent-ink); }.jr-title-input { font-family: var(--serif); font-size: 19px; }.jr-year { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }.jr-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; width: 100%; }.jr-foot-actions { display: flex; gap: 10px; }.jr-step { display: flex; flex-direction: column; gap: 14px; }.jr-q { margin: 0; }@media (max-width: 900px) {
  .jr-wrap, .jr-share { grid-template-columns: 1fr; }
  .jr-read, .jr-preview { position: static; }
  .jr-read { padding: 20px; }
}.jr-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-elev); overflow: hidden; }.jr-stepper button { width: 44px; height: 44px; font-size: 20px; color: var(--ink-2); background: transparent; border: 0; }.jr-stepper button:disabled { opacity: .4; }.jr-stepper input { width: 72px; text-align: center; border: 0; background: transparent; color: var(--ink); font-size: 18px; font-weight: 600; -moz-appearance: textfield; }.jr-stepper input::-webkit-outer-spin-button, .jr-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }.jr-capture { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: var(--r-md); background: var(--bg-sunken); }.jr-capture-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: 100%; }.jr-addpage { width: 64px; height: 84px; border-radius: 8px; border: 1.5px dashed var(--line-2); background: transparent; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink-2); }img.jr-page-thumb { -o-object-fit: cover; object-fit: cover; }.jr-rec-dot { width: 10px; height: 10px; border-radius: 999px; background: currentColor; animation: jr-pulse 1.2s ease-in-out infinite; }@keyframes jr-pulse { 50% { opacity: .35; } }@media (prefers-reduced-motion: reduce) { .jr-rec-dot { animation: none; } }.jr-alts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.jr-center { text-align: center; }/* Live presence */.tl-live { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); display: inline-block; flex-shrink: 0; }.here-now { min-width: 270px; display: flex; flex-direction: column; gap: 8px; padding: 14px 18px; border-radius: 20px; background: var(--bg-elev); border: 1px solid var(--line); }.here-now__top { display: flex; align-items: center; gap: 8px; }.here-now__who { display: flex; align-items: center; gap: 10px; }.here-now__adding { display: flex; align-items: center; gap: 8px; }.here-now-line { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; }.mt-livepill-wrap { position: fixed; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 64px); z-index: 40; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }.mt-livepill { pointer-events: auto; display: flex; align-items: center; gap: 8px; max-width: 100%; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: var(--shadow-lg); border: 0; min-height: 40px; }.mt-livepill .tl-typing i { background: var(--bg); }.tl-hero__side { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }.claim-me { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 18px; border-radius: 16px; background: var(--accent-soft); }.claim-me p { margin: 0; }.claim-me-wrap { padding-bottom: 0; }.claim-me__choice { align-items: center; }.lw-remind { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: var(--t-small); }.lw-remind input { width: 20px; height: 20px; accent-color: var(--accent); }.keys-unlock { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 460px; margin: 24px auto; padding: 28px 20px; text-align: center; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 20px; }.keys-unlock__title { margin: 0; font-size: var(--t-h3, 22px); font-weight: 700; }.keys-unlock__form { display: flex; flex-direction: column; gap: 12px; width: 100%; text-align: left; }.keys-unlock .btn-primary { min-height: 52px; min-width: 200px; }.keys-setup { display: flex; flex-direction: column; gap: 14px; }.keys-setup p { margin: 0; }.keys-setup .vault-modal-foot__actions { justify-content: flex-end; }.keys-recovery { display: flex; flex-wrap: wrap; gap: 8px 12px; padding: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; font-weight: 600; letter-spacing: 0.08em; background: var(--bg-sunken); border-radius: 14px; -webkit-user-select: all; -moz-user-select: all; user-select: all; }.keys-reset { display: flex; flex-direction: column; gap: 14px; }.keys-reset p { margin: 0; }.keys-reset__points { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }.keys-reset-banner, .keys-reset-check { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0 0 12px; padding: 16px; background: var(--bg-sunken); border: 1px solid var(--line); border-radius: 14px; }.keys-reset-banner p, .keys-reset-check p { margin: 0; }.keys-reset-check__fingerprint { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; font-weight: 600; letter-spacing: 0.06em; overflow-wrap: anywhere; }.keys-security-code { display: grid; gap: 6px; justify-items: start; margin-top: 8px; grid-column: 1 / -1; -moz-user-select: text; user-select: text; -webkit-user-select: text; }/* Settings cards on phones: icon and title on one line, the description full width beneath, and
   the actions full width on their own line, so text isn't squeezed into a narrow column. */@media (max-width: 639px) {
  .row.settings-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); -moz-column-gap: 12px; column-gap: 12px; row-gap: 8px; align-items: center; }
  .settings-row > .row__main { display: contents; }
  .settings-row > .row__main > * { grid-column: 1 / -1; }
  .settings-row > .row__main > :first-child { grid-column: 2; }
  .settings-row > :not(.icon-wrap):not(.row__main) { grid-column: 1 / -1; padding-left: 0; }
  .settings-row > .row__trail, .settings-row > .cal-feed__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: stretch; }
  .settings-row > .row__trail > .btn, .settings-row > .row__trail > a.btn, .settings-row > .cal-feed__actions > .btn { flex: 1 1 100%; justify-content: center; }
  .settings-row > .cal-feed__actions > .btn-text, .settings-row > .btn-text { justify-self: start; }
}.vault-drop { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 18px; margin-bottom: 12px; border: 1.5px dashed var(--line-2); border-radius: 16px; color: var(--ink-2, var(--ink)); text-align: center; }.vault-drop--over { border-color: var(--accent); background: var(--accent-soft); }.vault-drop__choose { min-height: 44px; }.vault-file, .vault-file-chosen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }.invite-role--disabled { opacity: 0.55; cursor: default; }.keys-hint { font-size: 0.8125rem; }.tl-after-actions { display: flex; flex-wrap: wrap; gap: 8px; }.copy-details { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }.copy-details__text { margin: 0; max-width: 100%; white-space: pre-wrap; word-break: break-word; font-size: 12px; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; }.report-problem__shown { padding: 10px 16px; display: flex; flex-direction: column; gap: 6px; }.delete-person__choices { display: grid; gap: 6px; margin: 12px 0; }.delete-person__choices .meta { margin: 0 0 10px; }.delete-person__picks { list-style: none; margin: 8px 0; padding: 0; max-height: 280px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; }.delete-person__pick { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; min-height: 48px; padding: 10px 14px; background: none; border: 0; border-bottom: 1px solid var(--line); font: inherit; color: inherit; text-align: left; cursor: pointer; }.delete-person__pick:hover, .delete-person__pick:focus-visible { background: var(--bg-sunken); }.plans-list__row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }.plans-list__text { display: flex; flex-direction: column; gap: 2px; }.plans-chosen { display: grid; gap: 4px; justify-items: start; margin: 16px 0 8px; }.delete-account { display: grid; gap: 8px; }.delete-account ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }.delete-account__families li { display: grid; gap: 8px; }.delete-account__fix, .delete-account__picker { display: grid; gap: 8px; justify-items: start; margin: 4px 0 8px; }

