/* Taskly: shared styles for every page.

   DESIGN SYSTEM — every page uses these named values instead of raw numbers.
   Change a value here and it changes everywhere. See docs/design-system.md.

   Text      --text-xs … --text-display      (one type scale)
   Weight    --weight-regular / medium / bold / heavy
   Spacing   --space-1 … --space-20           (4 px steps: 4, 8, 12, 16, 20, 24, 32, 40, 48, 64, 80)
   Corners   --radius-sm / md / lg / xl / full
   Shadows   --shadow-card / raised / overlay
   Colours   --ink, --paper, --card, --rule, --margin, --highlight, --accent … (light and dark below)
*/

:root {
  /* type scale */
  --text-xs: 0.75rem;     /* 12px: badges, tiny meta */
  --text-sm: 0.875rem;    /* 14px: help text, meta, chips */
  --text-base: 1rem;      /* 16px: body */
  --text-md: 1.125rem;    /* 18px: task text, list titles */
  --text-lg: 1.25rem;     /* 20px: section titles */
  --text-xl: 1.5rem;      /* 24px: dialog titles, big numbers */
  --text-2xl: 2rem;       /* 32px: profile name, auth titles */
  --text-3xl: clamp(2rem, 5vw, 2.6rem);           /* page titles */
  --text-display: clamp(2.75rem, 6.4vw, 5rem);    /* landing headline */

  --weight-regular: 400;
  --weight-medium: 600;
  --weight-bold: 700;
  --weight-heavy: 800;

  --leading-tight: 1.1;
  --leading-body: 1.5;
  --tracking-tight: -0.03em;

  /* spacing scale (4px steps) */
  --space-0-5: 2px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* corners */
  --radius-sm: 8px;       /* small chips, checkboxes, icon buttons */
  --radius-md: 12px;      /* inputs, buttons, tiles */
  --radius-lg: 16px;      /* cards and boxes */
  --radius-xl: 20px;      /* sheets, big photos */
  --radius-full: 999px;   /* pills and circles */

  /* page widths */
  --width-narrow: 620px;
  --width-page: 760px;
  --width-wide: 1160px;

  /* motion */
  --duration-fast: 0.15s;

  /* fixed brand colours (the same in light and dark) */
  --navy: #1b2a6b;
  --white: #ffffff;
  --success: #30a46c;
  --success-bg: rgba(48, 164, 108, 0.12);
  --scrim: rgba(14, 19, 48, 0.55);      /* dimmed backgrounds, buttons over photos */
  --scrim-strong: rgba(14, 19, 48, 0.8);
  --photo-bg: #000000;


  --ink: #24479a;        /* royal blue: text, icons, links */
  --ink-dark: #1a3478;
  --ink-soft: #5d6c8f;   /* secondary text */
  --paper: #f4f5f8;      /* page background (light grey) */
  --card: #ffffff;       /* notebook pages */
  --rule: #e1e5ee;       /* lines between rows */
  --margin: #e5484d;     /* notebook margin line, delete actions */
  --highlight: #ffe14d;  /* highlighter: done tasks */
  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;

  --accent: #ffe14d;     /* Taskly yellow: main buttons, switches that are on, ticked boxes */
  --accent-hover: #ffd21a;
  --on-accent: #1a3478;  /* dark blue writing on yellow */
  --field: #ffffff;      /* inputs */
  --placeholder: #6b7594;   /* readable at 4.5:1 on white */
  --alert-text: #c42d32;    /* red words (overdue, Sign out) that pass 4.5:1 on white */
  --badge-bg: #d0343a;      /* red unread badge behind white numbers */
  --tint-shade: 28%;
  --skeleton: #e6eaf3;          /* photo placeholders while loading */
  --skeleton-strong: #d8deec;        /* journal counters: tint darkened so small words read on their pale box */
  --danger-bg: #fdecec;
  --danger-text: #8f1d21;
  --on-highlight: #3a4570; /* text on the yellow highlighter */
  --done-bg: #ffe14d;      /* ticked boxes: yellow, navy tick */
  --done-fg: #1a3478;
  --shadow: rgba(36, 71, 154, 0.35);
  --tabbar-height: 64px;

  /* light mode only (dark mode sets these back to its own look below) */
  --brand: #2f55ad;                  /* the blue top bar */
  --on-brand: #ffffff;               /* writing on the top bar */
  --on-brand-soft: rgba(255, 255, 255, 0.78);
  --brand-mark: #1d3a85;             /* the logo square */
  --btn-radius: var(--radius-full);  /* pill buttons */
  --tile-size: 36px;                 /* blue icon tiles in menus */
  --tile-bg: #2f55ad;
  --tile-fg: #ffffff;
  --tile-soft: rgba(47, 85, 173, 0.1); /* pale tile behind emoji */
  --tile-danger: var(--danger-bg);   /* Sign out tile */
  --notebook-line: transparent;      /* plain white cards */
  --notebook-pad: var(--space-8);

  /* shadows */
  --shadow-card: 0 1px 0 var(--rule), 0 16px 32px -26px var(--shadow);     /* cards on the page */
  --shadow-raised: 0 14px 30px -16px var(--shadow);                       /* photos, avatars, buttons that float */
  --shadow-overlay: 0 30px 60px -20px var(--shadow);                      /* dialogs and sheets */

  color-scheme: light;
}

/* Dark mode: chosen in Profile, or following the phone's setting ("system") */
:root[data-theme="dark"] {
  --ink: #e7ebf8;
  --ink-dark: #ffffff;
  --ink-soft: #a7b0cf;
  --paper: #0e1330;
  --card: #182046;
  --rule: #2b3566;
  --margin: #ff6b70;
  --accent: #ffe14d;
  --accent-hover: #ffd21a;
  --on-accent: #121d4d;
  --field: #10173a;
  --placeholder: #7a84a8;
  --danger-bg: #3a1622;
  --danger-text: #ffb3b6;
  --shadow: rgba(0, 0, 0, 0.6);
  --done-bg: #ffe14d;
  --done-fg: #1b2a6b;
  --brand: transparent;
  --on-brand: var(--ink);
  --on-brand-soft: var(--ink-soft);
  --brand-mark: #1b2a6b;
  --btn-radius: var(--radius-md);
  --tile-size: 20px;
  --tile-bg: transparent;
  --tile-fg: var(--ink-soft);
  --tile-soft: transparent;
  --tile-danger: transparent;
  --notebook-line: var(--margin);
  --notebook-pad: var(--space-20);
  --alert-text: var(--margin);
  --badge-bg: #d0343a;
  --tint-shade: 0%;
  --skeleton: #1e2853;
  --skeleton-strong: #26315f;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    --ink: #e7ebf8;
    --ink-dark: #ffffff;
    --ink-soft: #a7b0cf;
    --paper: #0e1330;
    --card: #182046;
    --rule: #2b3566;
    --margin: #ff6b70;
    --accent: #ffe14d;
    --accent-hover: #ffd21a;
    --on-accent: #121d4d;
    --field: #10173a;
    --placeholder: #7a84a8;
    --danger-bg: #3a1622;
    --danger-text: #ffb3b6;
    --shadow: rgba(0, 0, 0, 0.6);
    --done-bg: #ffe14d;
    --done-fg: #1b2a6b;
    --brand: transparent;
    --on-brand: var(--ink);
    --on-brand-soft: var(--ink-soft);
    --brand-mark: #1b2a6b;
    --btn-radius: var(--radius-md);
    --tile-size: 20px;
    --tile-bg: transparent;
    --tile-fg: var(--ink-soft);
    --tile-soft: transparent;
    --tile-danger: transparent;
    --notebook-line: var(--margin);
    --notebook-pad: var(--space-20);
    --alert-text: var(--margin);
    --badge-bg: #d0343a;
    --tint-shade: 0%;
    --skeleton: #1e2853;
    --skeleton-strong: #26315f;
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  line-height: var(--leading-body);
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* "‹" in a round button: its point pulls the eye left, so it sits 1px right of the true centre */
.round-btn .fa-chevron-left {
  transform: translateX(1px);
}

/* Numbers that change or sit in a column use equal-width digits,
   so "11 days" and "18 days" line up and counters don't wobble */
.due-chip, .entry-days, .entry-date, .upcoming-when, .badge, .notes time,
.viewer-count, .comment-meta, .memory-meta, .row-value, .profile-version {
  font-variant-numeric: tabular-nums;
}

/* Line breaks: headings and short labels split into even lines;
   paragraphs never end on one lonely word */
h1, h2, h3,
.entry-title, .memory-title, .upcoming-name, .row-label, .person-sheet-name,
.menu-help, .setting-help, .notes-empty-sub, .feature p, .hero-sub {
  text-wrap: balance;
}

p, li, .empty-state {
  text-wrap: pretty;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Top bar */

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  max-width: var(--width-wide);
  margin: 0 auto;
  padding: 20px clamp(20px, 5vw, 48px);
  /* the blue band reaches both edges of the screen */
  background: var(--brand);
  box-shadow: 0 0 0 100vmax var(--brand);
  clip-path: inset(0 -100vmax);
  color: var(--on-brand);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xl);
  font-weight: var(--weight-heavy);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--brand-mark);
  color: var(--highlight);
  font-size: var(--text-base);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav-links a:not(.btn) {
  font-weight: var(--weight-medium);
  text-decoration: none;
}

.nav-links a:not(.btn):hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-hello {
  color: var(--on-brand-soft);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border: 2px solid var(--accent);
  border-radius: var(--btn-radius);
  font: inherit;
  font-weight: var(--weight-bold);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration-fast), color var(--duration-fast);
}

.btn-ink {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-ink:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--highlight);
  color: var(--navy);
}

.btn-danger {
  background: transparent;
  color: var(--margin);
  border-color: var(--margin);
}

.btn-danger:hover {
  background: var(--danger-bg);
}

.btn:disabled {
  opacity: 0.55;
  cursor: default;
}

/* A notebook page: white sheet with a red margin line on the left */

.notebook {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-8) var(--space-8) var(--space-8) var(--notebook-pad);
}

.notebook::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 48px;
  width: 2px;
  background: var(--notebook-line);
  opacity: 0.55;
}

/* Logged-in navigation: links in the top bar on laptops, a tab bar at the bottom on phones */

.app-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.app-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-weight: var(--weight-medium);
  text-decoration: none;
  color: var(--on-brand-soft);
}

.app-link:hover {
  color: var(--ink);
  background: var(--card);
}

/* the page you're on: a white pill in the blue top bar */
.app-link[aria-current="page"] {
  color: var(--ink);
  background: var(--card);
}

.badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 var(--space-2);
  border-radius: var(--radius-md);
  background: var(--badge-bg);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: var(--weight-heavy);
  line-height: 1;
}

.nav-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--rule);
}

.avatar-fallback {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-mark);
  color: var(--highlight);
  font-weight: var(--weight-heavy);
  font-size: var(--text-sm);
}

.tab-bar {
  display: none;
}

@media (max-width: 760px) {
  .app-links {
    display: none;
  }

  body.has-tabs {
    padding-bottom: calc(var(--tabbar-height) + env(safe-area-inset-bottom));
  }

  .tab-bar {
    position: fixed;
    z-index: 20;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: calc(var(--tabbar-height) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--card);
    border-top: 1px solid var(--rule);
  }

  /* icons only, like a phone app; the names are still read out by screen readers */
  .tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--ink-soft);
  }

  .tab i {
    font-size: var(--text-xl);
  }

  /* same size on paper, but these two look smaller by eye */
  .tab .fa-check-square,
  .tab .fa-bell {
    font-size: calc(var(--text-xl) * 1.1);
  }

  /* the page you're on: its icon is solid and dark; the others are fainter */
  .tab:not([aria-current="page"]) > i,
  .tab:not([aria-current="page"]) > .nav-avatar,
  .tab:not([aria-current="page"]) > .avatar-fallback {
    opacity: 0.55; /* the unread badge stays bright */
  }

  .tab[aria-current="page"] {
    color: var(--ink);
  }


  .tab .badge {
    position: absolute;
    top: 10px;
    left: calc(50% + 6px);
    min-width: 18px;
    height: 18px;
    font-size: var(--text-xs);
  }

  .tab .nav-avatar,
  .tab .avatar-fallback {
    width: 28px;
    height: 28px;
    font-size: var(--text-xs);
  }

  .tab[aria-current="page"] .nav-avatar,
  .tab[aria-current="page"] .avatar-fallback {
    box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ink);
  }
}

/* Full-screen pages on phones (edit screen, memory page): no top bar, no tab bar */

@media (max-width: 760px) {
  body.focus-page .site-nav {
    display: none;
  }
}

/* Journal colours: a task's colour tints its box and its counter */

[data-color] { --tint: var(--margin); }
[data-color="red"] { --tint: #e5484d; }
[data-color="pink"] { --tint: #e93d82; }
[data-color="purple"] { --tint: #8e4ec6; }
[data-color="blue"] { --tint: #3e63dd; }
[data-color="green"] { --tint: #30a46c; }
[data-color="teal"] { --tint: #12a594; }
[data-color="orange"] { --tint: #f76b15; }

:root[data-theme="dark"] [data-color="blue"] { --tint: #7b93ff; }
:root[data-theme="dark"] [data-color="purple"] { --tint: #b98cf0; }
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] [data-color="blue"] { --tint: #7b93ff; }
  :root[data-theme="system"] [data-color="purple"] { --tint: #b98cf0; }
}

/* Round icon buttons used on full-screen pages */

.round-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  font-size: var(--text-md);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-raised);
}

.round-btn:hover {
  background: var(--highlight);
  color: var(--navy);
}

.round-btn.danger:hover {
  background: var(--danger-bg);
  color: var(--margin);
}

/* Bottom sheet (the ⋯ menu) */

dialog.bottom-sheet {
  width: 100%;
  max-width: 560px;
  margin: auto auto 0;
  padding: 10px 8px calc(16px + env(safe-area-inset-bottom));
  border: none;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--card);
  color: var(--ink);
}

dialog.bottom-sheet::backdrop {
  background: var(--scrim);
}

dialog.bottom-sheet::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin: 0 auto var(--space-3);
  border-radius: 2px;
  background: var(--rule);
}

.sheet-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-4) var(--space-5);
  border: none;
  border-radius: var(--radius-md);
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: var(--weight-medium);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.sheet-item i {
  width: 20px;
  text-align: center;
}

.sheet-item:hover {
  background: var(--paper);
}

.sheet-item.danger {
  color: var(--margin);
}

/* overlapping faces on shared tasks */
.people-stack {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.people-stack .nav-avatar,
.people-stack .avatar-fallback {
  width: 26px;
  height: 26px;
  font-size: var(--text-xs);
  border: 2px solid var(--card);
}

.people-stack > * + * {
  margin-left: -9px;
}

.stack-more {
  margin-left: var(--space-1);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--ink-soft);
}

/* Dialogs (edit task, confirmations) */

dialog.sheet {
  width: min(480px, calc(100% - 32px));
  margin: auto;
  padding: var(--space-8);
  border: none;
  border-radius: var(--radius-lg);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-overlay);
}

dialog.sheet::backdrop {
  background: var(--scrim);
}

dialog.sheet h2 {
  font-size: var(--text-xl);
  font-weight: var(--weight-heavy);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-4);
}

.field-label {
  display: block;
  margin: var(--space-4) 0 var(--space-2);
  font-weight: var(--weight-bold);
}

.field {
  display: block;
  width: 100%;
  padding: 11px 13px;
  border: 2px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--field);
  font: inherit;
  color: var(--ink);
}

.field:focus {
  outline: none;
  border-color: var(--ink);
}

.field::placeholder {
  color: var(--placeholder);
}

.sheet-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.emoji-picker {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.emoji-picker button {
  width: 40px;
  height: 40px;
  border: 2px solid var(--rule);
  border-radius: var(--radius-md);
  background: var(--field);
  font-size: var(--text-md);
  cursor: pointer;
  color: var(--ink-soft);
}

.emoji-picker button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--highlight);
}

.toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  background: var(--navy);
  color: var(--white);
  font-weight: var(--weight-medium);
  box-shadow: var(--shadow-raised);
}

@media (max-width: 760px) {
  body.has-tabs .toast {
    bottom: calc(var(--tabbar-height) + 16px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 560px) {
  .site-nav {
    padding: var(--space-4) var(--space-5);
  }

  .nav-links {
    gap: var(--space-3);
  }

  .nav-hello {
    display: none;
  }

  .notebook {
    padding: var(--space-6) var(--space-5) var(--space-6) max(var(--space-5), calc(var(--notebook-pad) - var(--space-8)));
  }

  .notebook::before {
    left: 28px;
  }
}

/* Loading states */

/* spinner inside a busy button */
.spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -0.15em;
  animation: spin 0.7s linear infinite;
}

.is-busy,
.is-busy:disabled {
  cursor: progress;
  pointer-events: none;
  opacity: 1; /* busy is not "can't press": keep the full colour */
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* a thin yellow bar along the top while the next page loads */
.page-loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  background: var(--highlight);
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0;
  pointer-events: none;
}

.page-loading.on {
  opacity: 1;
  transform: scaleX(0.85);
  transition: transform 6s cubic-bezier(0.1, 0.7, 0.2, 1), opacity 0.2s;
}

/* photos: a soft placeholder shows until the picture arrives */
.entry-cover,
.memory-hero.has-photo,
.photo-stack img,
.viewer-img {
  background-color: var(--skeleton);
}

@media (prefers-reduced-motion: no-preference) {
  .entry-cover,
  .memory-hero.has-photo,
  .photo-stack img {
    animation: skeleton-pulse 1.4s ease-in-out infinite;
  }
}

@keyframes skeleton-pulse {
  50% { background-color: var(--skeleton-strong); }
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation-duration: 2s;
  }

  .page-loading.on {
    transition: opacity 0.2s;
    transform: scaleX(1);
  }
}

/* Motion that answers what you just did (nothing moves on its own).
   Phones set to "reduce motion" skip all of it. */
@media (prefers-reduced-motion: no-preference) {
  /* a task you just added rises into place; a new comment fades in */
  .todo.just-added,
  .comment.just-added {
    animation: rise-in 0.3s ease-out;
  }

  /* a task you just ticked: the box pops and the highlighter sweeps across the name */
  .todo.just-done .complete-btn {
    animation: tick-pop 0.35s ease-out;
  }

  .todo.just-done .todo-text {
    background-repeat: no-repeat;
    animation: highlight-sweep 0.45s ease-out;
  }

  /* a task you delete slides away */
  .todo.leaving {
    animation: slide-away 0.22s ease-in forwards;
  }

  /* toasts and sheets slide in */
  .toast {
    animation: toast-in 0.22s ease-out;
  }

  .toast.toast-out {
    animation: toast-out 0.2s ease-in forwards;
  }

  dialog.sheet[open] {
    animation: sheet-in 0.22s ease-out;
  }

  dialog.sheet[open]::backdrop {
    animation: fade-in 0.22s ease-out;
  }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(8px); }
}

@keyframes tick-pop {
  0% { transform: scale(0.8); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@keyframes highlight-sweep {
  from { background-size: 0% 100%; }
  to { background-size: 100% 100%; }
}

@keyframes slide-away {
  to { opacity: 0; transform: translateX(24px); }
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
}

@keyframes toast-out {
  to { opacity: 0; transform: translate(-50%, 12px); }
}

@keyframes sheet-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
}

@keyframes fade-in {
  from { opacity: 0; }
}
