@font-face {
  font-family: Archivo;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(fonts/archivo-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Archivo;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* VOICE: calm, exact, quiet. A tool that gets out of the way of the day.
   IDEA: the tear-off desk calendar. One sheet per day, a big numeral, flip to the next.
   PICTURE: numerals that roll like a counter (the date, the timer), the task list as the sheet itself.
   COLOUR and TYPE: white, true black, one grey, signal red only for today. Archivo, expanded 800 for numerals.
   LAYOUT: one column, strict left edge, a thick top rule that fills as the day gets done. */
:root {
  color-scheme: light dark;
  --bg: light-dark(#fff, #0e0e0e);
  --ink: light-dark(#000, #f2f2f2);
  --mute: light-dark(#6e6e6e, #8e8e8e);
  --red: light-dark(#e4002b, #ff3d50);
  --line: light-dark(rgb(0 0 0/0.085), rgb(255 255 255/0.1));
  --line2: light-dark(rgb(0 0 0/0.44), rgb(255 255 255/0.4));
  --hover: light-dark(rgb(0 0 0/0.045), rgb(255 255 255/0.07));
  --shadow: light-dark(rgb(0 0 0/0.22), rgb(0 0 0/0.7));
  --page: var(--bg);
  --edge: light-dark(rgb(0 0 0/0.06), rgb(255 255 255/0.09));
  --r: 28px;
  --pad: clamp(18px, 5vw, 40px);
  --c-def:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5 3.5 19.5 11l-6.6 1.9-2.9 6.6z' fill='%23000' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E")
      5 4,
    default;
  --c-ptr:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='5' fill='%23000' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E")
      12 12,
    pointer;
  --c-txt:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M8.5 5c1.7 0 2.8.4 3.5 1.2.7-.8 1.8-1.2 3.5-1.2M8.5 19c1.7 0 2.8-.4 3.5-1.2.7.8 1.8 1.2 3.5 1.2M12 6.2v11.6' stroke='%23fff' stroke-width='4'/%3E%3Cpath d='M8.5 5c1.7 0 2.8.4 3.5 1.2.7-.8 1.8-1.2 3.5-1.2M8.5 19c1.7 0 2.8-.4 3.5-1.2.7.8 1.8 1.2 3.5 1.2M12 6.2v11.6' stroke='%23000' stroke-width='1.6'/%3E%3C/g%3E%3C/svg%3E")
      12 12,
    text;
  --c-grab:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='7' fill='none' stroke='%23fff' stroke-width='4'/%3E%3Ccircle cx='12' cy='12' r='7' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E")
      12 12,
    grabbing;
}
:root[data-theme='light'] {
  color-scheme: light;
}
:root[data-theme='dark'] {
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --c-def:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5 3.5 19.5 11l-6.6 1.9-2.9 6.6z' fill='%23fff' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E")
        5 4,
      default;
    --c-ptr:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='5' fill='%23fff' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E")
        12 12,
      pointer;
    --c-txt:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M8.5 5c1.7 0 2.8.4 3.5 1.2.7-.8 1.8-1.2 3.5-1.2M8.5 19c1.7 0 2.8-.4 3.5-1.2.7.8 1.8 1.2 3.5 1.2M12 6.2v11.6' stroke='%23000' stroke-width='4'/%3E%3Cpath d='M8.5 5c1.7 0 2.8.4 3.5 1.2.7-.8 1.8-1.2 3.5-1.2M8.5 19c1.7 0 2.8-.4 3.5-1.2.7.8 1.8 1.2 3.5 1.2M12 6.2v11.6' stroke='%23fff' stroke-width='1.6'/%3E%3C/g%3E%3C/svg%3E")
        12 12,
      text;
    --c-grab:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='7' fill='none' stroke='%23000' stroke-width='4'/%3E%3Ccircle cx='12' cy='12' r='7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E")
        12 12,
      grabbing;
  }
}
:root[data-theme='dark'] {
  --c-def:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M5 3.5 19.5 11l-6.6 1.9-2.9 6.6z' fill='%23fff' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E")
      5 4,
    default;
  --c-ptr:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='5' fill='%23fff' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E")
      12 12,
    pointer;
  --c-txt:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M8.5 5c1.7 0 2.8.4 3.5 1.2.7-.8 1.8-1.2 3.5-1.2M8.5 19c1.7 0 2.8-.4 3.5-1.2.7.8 1.8 1.2 3.5 1.2M12 6.2v11.6' stroke='%23000' stroke-width='4'/%3E%3Cpath d='M8.5 5c1.7 0 2.8.4 3.5 1.2.7-.8 1.8-1.2 3.5-1.2M8.5 19c1.7 0 2.8-.4 3.5-1.2.7.8 1.8 1.2 3.5 1.2M12 6.2v11.6' stroke='%23fff' stroke-width='1.6'/%3E%3C/g%3E%3C/svg%3E")
      12 12,
    text;
  --c-grab:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='7' fill='none' stroke='%23000' stroke-width='4'/%3E%3Ccircle cx='12' cy='12' r='7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E")
      12 12,
    grabbing;
}
* {
  box-sizing: border-box;
  min-width: 0;
}
[hidden] {
  display: none !important;
}
html,
body {
  height: 100%;
}
html {
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font:
    16px/1.45 Archivo,
    'Helvetica Neue',
    Arial,
    system-ui,
    sans-serif;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
  cursor: var(--c-def);
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: var(--c-ptr);
  -webkit-tap-highlight-color: transparent;
}
a {
  cursor: var(--c-ptr);
}
input {
  cursor: var(--c-txt);
}
svg {
  display: block;
}
::selection {
  background: color-mix(in srgb, var(--red) 26%, transparent);
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 6px;
}
#home {
  height: 100%;
}
#app {
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --sp-d: 0.52s;
  --snap: cubic-bezier(0.25, 1, 0.5, 1);
  --sn-d: 0.38s;
  --pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --pop-d: 0.52s;
  /* the page's height, not 100dvh: an installed app on Android can keep a 100dvh from before its system buttons
     showed (taller than the window) until the keyboard comes and goes, which hid the bottom bar under them */
  height: 100%;
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
}
#app.pre {
  opacity: 0;
}

/* header */
header {
  position: relative;
  padding: calc(16px + env(safe-area-inset-top)) var(--pad) 0;
  flex: none;
  z-index: 5;
}
.rule {
  position: relative;
  height: 5px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
  transform-origin: left;
}
/* a day sealed: a light runs along the full rule */
.rule .sheen {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.75), transparent);
  pointer-events: none;
}
/* the fill is a pill too: it slides in from the left, so its round end marks how far the day has come */
.rule i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--ink);
  transform: translateX(-100%);
  transition:
    transform var(--sp-d) var(--spring),
    background-color 0.4s;
}
.is-today .rule i {
  background: var(--red);
}
.bar {
  display: flex;
  align-items: center;
  height: 56px;
  margin: 0 -10px;
}
/* the middle of the bar: the days done, and the time when it sits there, one over the other. Its width says how much
   of the count fits. */
.sp {
  flex: 1;
  display: grid;
  place-items: center;
  min-width: 0;
  container-type: inline-size;
}
.sp > * {
  grid-area: 1 / 1;
}
/* the time, in plain words: above the card on a large screen, in the middle of the bar otherwise */
.clock {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  color: light-dark(#3d4555, #a3adbf);
}
.cdg {
  display: flex;
}
.cdg .dg {
  padding: 0.05em 0.04em 0;
  margin: 0 -0.04em;
}
.cdg .dg .out {
  left: 0.04em;
}
/* the lock's two faces */
#lockb .lk-shut,
#lockb.on .lk-open {
  display: none;
}
#lockb.on .lk-shut {
  display: block;
}
/* In the bar, the time sits in the middle of the room between the chevrons and the buttons. "Today" keeps its place
   while it is hidden, so on today the time moves back by half of it; when it shows, the time glides over. */
.sp .clock {
  transition: transform var(--sn-d) var(--snap);
}
.bar.today .sp .clock {
  transform: translateX(calc(var(--tw, 0px) / -2));
}
/* Days done: the days that saw every task ticked. A tick like a done task's, the number set like the date, the words
   like the time. Where the time sits in the bar, the count waits out of sight and rolls into its place for a moment
   (.alt); each clips what rolls in and out of it. */
.dd {
  display: inline-flex;
  align-items: center;
  padding: 4px 6px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: light-dark(#3d4555, #a3adbf);
  transition:
    color 0.9s,
    transform var(--sn-d) var(--snap);
}
.ddv {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ddi {
  flex: none;
  width: 14px;
  height: 14px;
}
.ddi circle {
  fill: currentColor;
}
.ddi path {
  fill: none;
  stroke: var(--bg);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ddn {
  display: flex;
  font-size: 14px;
  font-weight: 800;
  font-variation-settings: 'wdth' 112;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  transition: color 0.9s;
}
.ddn .dg {
  padding: 0.05em 0.04em 0;
  margin: 0 -0.04em;
}
.ddn .dg .out {
  left: 0.04em;
}
/* one more: said in red for a moment (in black for a day before: red is today's) */
.dd.hot,
.dd.hot .ddn {
  color: var(--red);
  transition-duration: 0.15s;
}
.dd.hot.ink,
.dd.hot.ink .ddn {
  color: var(--ink);
}
/* while the big check folds into it, the count waits out of sight */
.ddv {
  transition: opacity 0.16s;
}
.dd.landing .ddv {
  opacity: 0;
  transition: none;
}
/* A day sealed: the big check over the day, the count under it, then all of it folding into the count in the bar.
   Nothing in it takes a click: the day stays at hand underneath. */
.sl {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  color: var(--ink);
}
.sl.red {
  color: var(--red);
}
.sl-s {
  position: absolute;
  left: 0;
  right: 0;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}
.sl-p {
  position: absolute;
}
.sl-n,
.sl-w {
  left: 0;
  right: 0;
}
.sl-y {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
}
.sl-d svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
/* a soft shadow of its own colour under it, like the red button on a phone */
.sl-d .sl-y {
  border-radius: 50%;
  box-shadow: 0 18px 40px -14px color-mix(in srgb, currentColor 70%, transparent);
}
.sl-d .b {
  fill: var(--ink);
}
.sl-d .r {
  fill: var(--red);
  opacity: 0;
}
.sl-d path {
  fill: none;
  stroke: var(--bg);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.sl.still.red .sl-d .r {
  opacity: 1;
}
.sl.still .sl-d path {
  stroke-dashoffset: 0;
}
.sl-ring {
  position: absolute;
  border-radius: 50%;
  border: 2.5px solid currentColor;
  opacity: 0;
}
.sl-rays {
  position: absolute;
}
.sl-rays b {
  position: absolute;
}
.sl-rays i {
  position: absolute;
  left: -2px;
  top: 0;
  width: 4px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0;
}
/* the count under it, set like the one in the bar: the number like the date, the words like the time */
.sl-num {
  display: flex;
  font-weight: 800;
  font-variation-settings: 'wdth' 112;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--ink);
}
.sl-num .dg {
  padding: 0.05em 0.04em 0;
  margin: 0 -0.04em;
}
.sl-num .dg .out {
  left: 0.04em;
}
.sl-w span {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: light-dark(#3d4555, #a3adbf);
}
.sp .clock {
  overflow: hidden;
  padding-block: 4px;
}
.sp.wclock .dd,
.sp.wclock.alt .clock {
  visibility: hidden;
}
.sp.wclock.alt .dd {
  visibility: visible;
}
/* the count sits in the middle of the room between the chevrons and the buttons, like the time: "Today" keeps its
   place while it is hidden, so on today the count moves back by half of it */
.bar.today .sp .dd {
  transform: translateX(calc(var(--tw, 0px) / -2));
}
/* short of room: the tick and the number; shorter still, nothing */
@container (max-width: 119.98px) {
  .ddw {
    display: none;
  }
}
@container (max-width: 55px) {
  .dd {
    display: none;
  }
}
/* measured with what fits in the least room: the tick and the number */
.sp.fit .dd {
  display: inline-flex !important;
}
.sp.fit .ddw {
  display: none !important;
}
/* a phone shows the time at the top of its screen already */
@media (max-width: 719px) and (hover: none) {
  .bar .clock {
    display: none;
  }
}
.ib {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition:
    background-color 0.2s,
    transform 0.25s var(--pop),
    opacity 0.15s;
}
.ib:hover {
  background: var(--hover);
}
.ib:active {
  transform: scale(0.88);
}
.ib svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.todayb {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 13px 0 11px;
  margin-left: 6px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1.25px var(--line2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px) scale(0.9);
  transition:
    opacity 0.2s,
    transform var(--pop-d) var(--pop),
    visibility 0s 0.2s,
    background-color 0.2s;
}
.todayb::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.todayb.on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.todayb:hover {
  background: var(--hover);
}
#float[aria-pressed='true'] {
  background: var(--ink);
  color: var(--bg);
}
.tmb {
  width: auto;
  min-width: 40px;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  white-space: nowrap;
}
.tmb .tpl {
  display: none;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 650;
}
.tmb.on {
  padding: 0 13px 0 11px;
  background: var(--hover);
}
.tmb.on .tic {
  display: none;
}
.tmb.on .tpl {
  display: flex;
}
.tmr {
  width: 15px !important;
  height: 15px !important;
}
.tmr circle {
  fill: none;
  stroke-width: 2.2 !important;
}
.tmr .bg {
  stroke: var(--line2);
}
.tmr .fg {
  stroke: var(--ink);
  stroke-dasharray: 37.7;
  stroke-dashoffset: 37.7;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  animation: ring 60s linear infinite;
}
.tm-live .tmr {
  display: none;
}
.tmb.done {
  background: var(--ink);
  color: var(--bg);
  animation: pulse 1.8s ease-out infinite;
}
.tmb.done .tmr {
  display: none;
}
@keyframes ring {
  0% {
    stroke-dashoffset: 37.7;
    opacity: 1;
  }
  96% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--ink) 40%, transparent);
  }
  100% {
    box-shadow: 0 0 0 12px transparent;
  }
}
.tv {
  display: flex;
  font-variant-numeric: tabular-nums;
}

/* short of room (a narrow floating window), the filter goes to a line of its own under the date */
.date {
  container: date / inline-size;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px clamp(12px, 3vw, 20px);
  padding: 4px 0 22px;
}
.num {
  display: flex;
  font-weight: 800;
  font-variation-settings: 'wdth' 112;
  font-size: clamp(68px, min(20vw, 17vh), 132px);
  line-height: 0.84;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  margin: 0 0 -0.07em -0.04em;
  transition: color 0.45s;
}
.is-today .num {
  color: var(--red);
}
.dg {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 0.05em 0.09em 0;
  margin: 0 -0.09em;
}
.dg i {
  display: block;
  font-style: normal;
}
.dg .out {
  position: absolute;
  left: 0.09em;
  top: 0.05em;
}
.meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 5px 8px 3px;
  margin: 0 -8px -3px;
  border-radius: 10px;
  transition: background-color 0.2s;
}
.meta:hover {
  background: var(--hover);
}
.wd {
  font-size: 22px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.012em;
  white-space: nowrap;
}
.mo {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-size: 15px;
  color: var(--mute);
  line-height: 1.35;
}
.mo svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--sn-d) var(--snap);
}
.meta[aria-expanded='true'] .mo svg {
  transform: rotate(180deg);
}
/* filter by tag: a quiet button at the right of the date, just above the first task; a black pill once on */
.fx {
  display: flex;
  align-items: center;
  align-self: flex-end;
  min-width: 0;
  max-width: 100%;
  margin: 0 -8px -6px auto;
  border-radius: 16px;
  transition:
    background-color 0.25s,
    color 0.25s;
}
.fbtn,
.fclr {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 8px;
  border-radius: 16px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--mute);
  transition:
    background-color 0.2s,
    color 0.2s,
    transform 0.25s var(--pop);
}
.fbtn svg,
.fclr svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.fbtn:hover,
.fbtn[aria-expanded='true'] {
  background: var(--hover);
  color: var(--ink);
}
.fbtn:active,
.fclr:active {
  transform: scale(0.95);
}
/* a tag too long for the line ends in an ellipsis */
.fbtn {
  min-width: 0;
}
#fname {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#fname:empty {
  display: none;
}
.fx.on {
  margin-right: 0;
  background: var(--ink);
  color: var(--bg);
}
.fx.on .fbtn,
.fx.on .fclr {
  background: transparent;
  color: inherit;
}
.fx.on .fbtn:hover,
.fx.on .fclr:hover,
.fx.on .fbtn[aria-expanded='true'] {
  background: color-mix(in srgb, var(--bg) 16%, transparent);
}
.fx.on .fbtn {
  padding: 0 4px 0 10px;
}
.fx.on .fclr {
  padding: 0 7px 0 3px;
}
.fx.on .fclr svg {
  width: 16px;
  height: 16px;
}
/* narrower still, while no filter is on, its quiet button waits at the end of the weekday's line, where there is
   room, instead of taking a line for itself (below 230px even "Wednesday" leaves none) */
@container date (230px <= width <= 280px) {
  .fx:not(.on) {
    position: absolute;
    top: 4px;
    right: 0;
    margin: 0 -8px 0 0;
  }
}
.pop.fpop {
  left: auto;
  right: var(--pad);
  width: min(260px, calc(100% - 2 * var(--pad)));
  transform-origin: 90% 0;
  display: flex;
  flex-direction: column;
}
.fpop > .fh,
.fpop > .fq {
  flex: none;
}
.fh {
  margin: 2px 6px 8px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--mute);
}
@property --ft {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}
@property --fb {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}
.ftags {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 0;
  margin: 0 -10px -12px;
  padding: 0 10px 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding: 6px 0 14px;
  -webkit-mask-image: linear-gradient(#0000, #000 var(--ft), #000 calc(100% - var(--fb)), #0000);
  mask-image: linear-gradient(#0000, #000 var(--ft), #000 calc(100% - var(--fb)), #0000);
  transition:
    --ft 0.2s,
    --fb 0.2s;
}
.ftags > * {
  flex: none;
}
.ftags.st {
  --ft: 18px;
}
.ftags.sb {
  --fb: 26px;
}
.fpop:focus {
  outline: none;
}
/* finding a tag, when there are more than the list shows */
.fq {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  margin: 0 0 6px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--hover);
  transition: box-shadow 0.2s;
}
.fq:focus-within {
  box-shadow: inset 0 0 0 1.5px var(--line2);
}
.fq svg {
  flex: none;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--mute);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.fq input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.fq input::placeholder {
  color: var(--mute);
}
.fq[hidden] {
  display: none;
}
/* in the list, the keyboard's place shows like a hover; the chosen tag keeps its black, with a soft ring */
.ftag:focus-visible {
  outline: none;
}
.ftag:focus-visible:not([aria-pressed='true']) {
  background: var(--hover);
}
.ftag[aria-pressed='true']:focus-visible {
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--bg) 45%, transparent);
}
.spicks {
  margin: 4px 0 14px;
}
.spicks[hidden] {
  display: none;
}
.ftag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 550;
  text-align: left;
}
.ftag:hover {
  background: var(--hover);
}
.ftag span {
  font-size: 13px;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.ftag[aria-pressed='true'] {
  background: var(--ink);
  color: var(--bg);
}
.ftag[aria-pressed='true'] span {
  color: inherit;
  opacity: 0.7;
}
/* Tag colours: eight of Apple's, a little brighter in the dark, none too close to another. A tag wears a tint of its colour, its words in a
   deeper shade of it (a lighter one in the dark), so they stay as readable as the grey ones. */
[data-c='red'] {
  --c: light-dark(#ff3b30, #ff453a);
}
[data-c='orange'] {
  --c: light-dark(#ff9500, #ff9f0a);
}
[data-c='yellow'] {
  --c: light-dark(#ffcc00, #ffd60a);
}
[data-c='green'] {
  --c: light-dark(#34c759, #30d158);
}
[data-c='teal'] {
  --c: light-dark(#30b0c7, #40c8e0);
}
[data-c='blue'] {
  --c: light-dark(#007aff, #0a84ff);
}
[data-c='purple'] {
  --c: light-dark(#af52de, #bf5af2);
}
[data-c='brown'] {
  --c: light-dark(#a2845e, #ac8e68);
}
.tag[data-c] {
  color: light-dark(color-mix(in oklab, var(--c) 50%, #000), color-mix(in oklab, var(--c) 62%, #fff));
  background: color-mix(in srgb, var(--c) 16%, transparent);
}
.tag[data-c]:hover {
  color: light-dark(color-mix(in oklab, var(--c) 42%, #000), color-mix(in oklab, var(--c) 52%, #fff));
  background: color-mix(in srgb, var(--c) 26%, transparent);
}
.tdot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
}
/* in the filter, a dot beside each tag: a ring with no colour, filled with one */
.frow {
  display: flex;
  align-items: center;
}
.frow .ftag {
  flex: 1;
  min-width: 0;
}
.fdot {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 38px;
  margin-left: -6px;
  border-radius: 10px;
  transition: transform 0.25s var(--pop);
}
.fdot::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c, transparent);
  box-shadow: inset 0 0 0 1.5px var(--c, var(--line2));
  transition:
    background-color 0.2s,
    box-shadow 0.2s,
    transform 0.25s var(--pop);
}
span.fdot::before {
  content: none;
}
button.fdot:hover::before,
.fdot[aria-expanded='true']::before {
  transform: scale(1.2);
}
.fdot:focus-visible {
  outline-offset: -4px;
}
/* the colours, under the tag, across the row: eight and none, the one worn ringed, each a 24-pixel target; room
   around them for the ring and the hover, so neither is cut at the ends */
.fsw {
  display: flex;
  justify-content: space-between;
  padding: 3px 3px 8px;
  overflow: hidden;
}
.fsw button {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  transition: transform 0.25s var(--pop);
}
.fsw button::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c);
  transition: box-shadow 0.2s;
}
.fsw button:not([data-c])::before {
  background: linear-gradient(135deg, transparent calc(50% - 0.75px), var(--mute) calc(50% - 0.75px) calc(50% + 0.75px), transparent calc(50% + 0.75px));
  box-shadow: inset 0 0 0 1.5px var(--line2);
}
.fsw button[aria-pressed='true']::before {
  box-shadow:
    0 0 0 2px var(--bg),
    0 0 0 3.5px var(--c, var(--mute));
}
.fsw button:hover {
  transform: scale(1.12);
}
.fsw button:active {
  transform: scale(0.9);
}
.fsw button:focus-visible {
  outline-offset: 1px;
}
.fsw.out {
  pointer-events: none;
}
.fempty {
  margin: 0 6px 4px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--mute);
}
.fnone {
  margin: 0;
  padding: 22px 0 8px;
  font-size: 15px;
  color: var(--mute);
}
.rel {
  font-size: 13px;
  color: var(--mute);
  margin-top: 7px;
  white-space: nowrap;
}
.ghost {
  position: absolute;
  pointer-events: none;
}

/* popovers */
.pop {
  position: absolute;
  z-index: 10;
  overflow: hidden;
  top: calc(100% - 12px);
  left: var(--pad);
  width: min(304px, calc(100% - 2 * var(--pad)));
  padding: 10px 10px 12px;
  background: var(--bg);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px var(--line),
    0 24px 60px -18px var(--shadow);
  transform-origin: 20% 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition:
    opacity 0.16s,
    transform var(--sn-d) var(--snap),
    visibility 0s 0.16s;
}
.pop.on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.ph {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 0 0 4px 8px;
  font-weight: 650;
  font-size: 15px;
}
.ph > div {
  display: flex;
}
.ph .ib {
  width: 36px;
  height: 36px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
  touch-action: pan-y;
}
.grid b {
  font-size: 11px;
  font-weight: 500;
  color: var(--mute);
  padding: 6px 0 4px;
}
.grid button {
  position: relative;
  height: 38px;
  border-radius: 50%;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.15s;
}
.grid button:hover {
  background: var(--hover);
}
.grid .o {
  color: var(--mute);
}
.grid .t {
  color: var(--red);
  font-weight: 700;
}
.grid .s,
.grid .s:hover {
  background: var(--ink);
  color: var(--bg);
}
.grid .has::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}
.tpop {
  left: auto;
  right: var(--pad);
  top: 70px;
  transform-origin: 85% 0;
  overflow: hidden;
  padding: 10px 12px 14px;
}
.seg {
  position: relative;
  display: flex;
  padding: 2px;
  border-radius: 10px;
  background: var(--hover);
}
.seg button {
  position: relative;
  z-index: 1;
  height: 28px;
  padding: 0 11px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mute);
  transition: color 0.2s;
}
.seg button[aria-checked='true'] {
  color: var(--ink);
}
.seg i {
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  border-radius: 8px;
  background: var(--bg);
  box-shadow:
    0 0 0 1px var(--line),
    0 2px 6px -2px var(--shadow);
  transition:
    transform var(--sn-d) var(--snap),
    width var(--sn-d) var(--snap);
}
.tpick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 18px 0 14px;
}
.tbig {
  display: flex;
  font-weight: 800;
  font-variation-settings: 'wdth' 112;
  font-size: 64px;
  line-height: 0.84;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.tunit {
  font-size: 13px;
  color: var(--mute);
  align-self: flex-end;
  margin: 0 0 3px 8px;
  white-space: nowrap;
}
.tpick .tunit {
  margin-right: 8px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 550;
  box-shadow: inset 0 0 0 1.25px var(--line);
  transition:
    background-color 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.25s var(--pop);
}
.chip:hover {
  background: var(--hover);
}
.chip:active {
  transform: scale(0.94);
}
.chip span {
  color: var(--mute);
  font-weight: 500;
}
.chip svg {
  width: 15px;
  height: 15px;
  margin-left: -2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chip.on {
  background: var(--ink);
  color: var(--bg);
  box-shadow: none;
}
#tpre {
  justify-content: center;
  margin-bottom: 14px;
}
.cta {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 650;
  font-size: 15px;
  transition: transform 0.25s var(--pop);
}
.cta:active {
  transform: scale(0.97);
}
.tdisp {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 20px 0 16px;
}
.tline {
  height: 3px;
  margin: 0 4px 16px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.tline i {
  display: block;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
}
#tsec {
  animation: sweep 60s linear infinite;
}
#tprog {
  transition: transform 1s linear;
}
@keyframes sweep {
  0% {
    transform: scaleX(0);
    opacity: 1;
  }
  96% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}
.tm-paused #tsec,
.tm-paused .tmr .fg {
  animation-play-state: paused;
}
.tm-live .l-calm,
#app:not(.tm-live) .l-live {
  display: none;
}
.tacts {
  display: flex;
  gap: 8px;
}
.tacts button {
  flex: 1;
  height: 40px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1.25px var(--line2);
  transition:
    background-color 0.2s,
    transform 0.25s var(--pop);
}
.tacts button:hover {
  background: var(--hover);
}
.tacts button:active {
  transform: scale(0.95);
}
.tacts button:first-child {
  background: var(--ink);
  color: var(--bg);
  box-shadow: none;
}

/* list */
.vp {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sc {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 var(--pad);
  touch-action: pan-y;
  scroll-padding-bottom: 84px;
}
.sc > * {
  flex: none;
}
/* Where the scrollbar takes room (styled, on a computer), its place is kept: nothing shifts when it
   comes and goes, and the right margin stays what it was. */
@supports selector(::-webkit-scrollbar) {
  @media (hover: hover) {
    .sc,
    .sres {
      scrollbar-gutter: stable;
      padding-right: calc(var(--pad) - 10px);
    }
  }
}
.resizing .sc,
.calm .sc {
  overflow-y: hidden;
}
.stage {
  position: relative;
  padding-bottom: 2px;
}
.ghost.stage {
  position: absolute;
  z-index: 0;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.row {
  position: relative;
  -webkit-user-select: none;
  user-select: none;
  transition: margin var(--sp-d) var(--spring);
}
.row.open {
  margin: 6px 0 10px;
}
.card {
  position: relative;
  z-index: 0;
  transition: transform var(--pop-d) var(--pop);
}
.card::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 -14px;
  border-radius: 14px;
  background: var(--bg);
  box-shadow:
    0 0 0 1px var(--line),
    0 12px 32px -16px var(--shadow);
  opacity: 0;
  transform: scale(0.97);
  transition:
    opacity 0.2s,
    transform var(--pop-d) var(--pop),
    box-shadow 0.25s;
  pointer-events: none;
}
.open .card::before {
  opacity: 1;
  transform: none;
}
.lift {
  z-index: 3;
}
.lift .card {
  transform: scale(1.03) rotate(var(--tilt, 0deg));
}
.lift .card::before {
  opacity: 1;
  transform: none;
  box-shadow:
    0 0 0 1px var(--line),
    0 18px 40px -14px var(--shadow),
    0 2px 6px -2px var(--shadow);
}
.in {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  cursor: var(--c-ptr);
  transition: border-color 0.2s;
}
/* In an open card the title is easy to hit: a little above, below and after the words, not the whole line.
   The strike-through stays on the words. */
.row.open .t {
  padding: 9px 32px 9px 0;
  margin-right: -32px;
  background-origin: content-box;
  background-clip: content-box;
  cursor: var(--c-txt);
}
.row.open .in,
.row.open + .row .in,
.row.lift .in {
  border-top-color: transparent;
}
.in button,
.sub button {
  cursor: var(--c-ptr);
}
.ck {
  flex: none;
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.ck::after {
  content: '';
  position: absolute;
  inset: -11px;
}
.ck i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ink);
  transform: scale(0);
  transition: transform var(--pop-d) var(--pop);
}
.ck svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  overflow: visible;
}
.ck .rg {
  stroke: var(--line2);
  stroke-width: 1.5;
  stroke-dasharray: 64.4;
  transition: stroke 0.2s;
}
.ck:hover .rg {
  stroke: var(--ink);
}
.ck .pr {
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-dasharray: 64.4;
  stroke-dashoffset: var(--off, 64.4);
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset var(--sp-d) var(--spring);
}
.ck path {
  stroke: var(--bg);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 15;
  stroke-dashoffset: 15;
  transition: stroke-dashoffset 0.2s ease;
}
.row.done .in .ck i,
.sub.done .sck i {
  transform: scale(1);
}
.row.done .in .ck path,
.sub.done .sck path {
  stroke-dashoffset: 0;
  transition-delay: 0.12s;
}
.tx {
  flex: 1;
  padding-top: 1px;
  font-size: 16px;
  line-height: 1.3125rem;
  overflow-wrap: anywhere;
}
.open .tx {
  padding-right: 34px;
}
.t,
.st {
  outline: 0;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 58%/0 1.5px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition:
    color 0.35s,
    background-size 0.4s cubic-bezier(0.65, 0, 0.25, 1);
}
.row.done .t,
.sub.done .st {
  color: var(--mute);
  background-size: 100% 1.5px;
}
.row.editing .t,
.sub.editing .st {
  background-size: 0 1.5px;
  color: var(--ink);
  -webkit-user-select: text;
  user-select: text;
}
.tag {
  font-size: 0.84em;
  font-weight: 550;
  color: light-dark(#5c5c5c, #a3a3a3);
  background: var(--hover);
  padding: 1px 6px 2px;
  margin: 0 1px;
  border-radius: 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  white-space: nowrap;
  cursor: var(--c-ptr);
  transition:
    color 0.2s,
    background-color 0.2s;
}
.tag:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 10%, transparent);
}
.mt {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  margin: 4px 0 0 -5px;
  padding: 2px 5px;
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--mute);
  transition:
    background-color 0.2s,
    color 0.2s;
}
.mt:hover {
  background: var(--hover);
  color: var(--ink);
}
.mt span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.mt svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.acts {
  position: absolute;
  top: 2px;
  right: -10px;
  display: flex;
  padding-left: 26px;
  pointer-events: none;
}
.acts::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--bg) 24px);
  opacity: 0;
  transition: opacity 0.15s;
}
.acts .ib {
  position: relative;
  color: var(--mute);
  opacity: 0;
}
.acts .ib:hover {
  color: var(--ink);
}
.acts .ib svg {
  width: 18px;
  height: 18px;
}
.row:hover .acts,
.row:focus-within .acts {
  pointer-events: auto;
}
.row:hover .acts::before,
.row:focus-within .acts::before,
.row:hover .acts .ib,
.row:focus-within .acts .ib {
  opacity: 1;
}
.open .acts .ex {
  opacity: 1;
  pointer-events: auto;
}
.ex svg {
  transition: transform var(--sn-d) var(--snap);
}
.open .ex svg {
  transform: rotate(180deg);
}
.row.done .in .mv {
  display: none;
}
.row.editing .acts,
.dragging .acts {
  opacity: 0 !important;
  pointer-events: none !important;
}
.row.shift {
  transition: transform var(--sp-d) var(--spring);
}
.dragging,
.dragging * {
  cursor: var(--c-grab) !important;
}
.flash {
  position: absolute;
  inset: 0 -14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
  pointer-events: none;
  z-index: -1;
}

/* details panel */
.more {
  position: relative;
}
.mi {
  padding: 0 0 12px 36px;
}
.note {
  position: relative;
  font-size: 15px;
  line-height: 1.55;
  outline: 0;
  padding: 0 0 8px;
  min-height: 1.55em;
  overflow-wrap: anywhere;
  cursor: var(--c-txt);
  -webkit-user-select: text;
  user-select: text;
}
.note.is-empty::before {
  content: attr(data-ph);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--mute);
  pointer-events: none;
}
.note:focus-visible {
  outline: 0;
}
.note div {
  min-height: 1.55em;
}
.note a {
  color: inherit;
  text-decoration: underline 1.5px var(--line2);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.note a:hover {
  text-decoration-color: var(--ink);
}
.note:not(.editing) a::after {
  content: '↗';
  display: inline-block;
  margin-left: 2px;
  font-size: 0.78em;
  color: var(--mute);
  transition: transform 0.25s var(--pop);
}
.note a:hover::after {
  transform: translate(1px, -1px);
}
.note.editing a {
  cursor: var(--c-txt);
}
.note b {
  font-weight: 650;
}
.note code {
  font:
    0.86em/1.4 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--hover);
  box-shadow: inset 0 0 0 1px var(--line);
}
.note ul,
.note ol {
  margin: 2px 0;
  padding-left: 1.3em;
}
.note li::marker {
  color: var(--mute);
}
.sub {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
  cursor: var(--c-txt);
}
.sck {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}
.sck::after {
  inset: -9px;
}
.sck .rg {
  stroke-dasharray: 51.9;
}
.sx {
  flex: 1;
  font-size: 15px;
  line-height: 1.25rem;
  overflow-wrap: anywhere;
  padding-right: 24px;
}
.srm {
  position: absolute !important;
  right: -10px;
  top: -2px;
  width: 36px !important;
  height: 36px !important;
  color: var(--mute);
  opacity: 0;
}
.srm svg {
  width: 16px !important;
  height: 16px !important;
}
.sub:hover .srm,
.sub:focus-within .srm {
  opacity: 1;
}
.sub.editing .srm {
  opacity: 0;
}
.sadd {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 36px;
}
.plus {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--mute);
  transition:
    color 0.2s,
    transform var(--pop-d) var(--pop);
}
.plus svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
}
.sadd .plus {
  width: 18px;
  height: 18px;
}
.sadd .plus svg {
  width: 15px;
  height: 15px;
}
.sadd:focus-within .plus,
.add:focus-within .plus {
  color: var(--ink);
  transform: rotate(90deg);
}
/* Archivo sets its capitals about a pixel high in a line: in the small round buttons the words come down one pixel,
   so their capitals sit in the middle, level with the icon beside them */
.ins-go span,
#dlabel {
  position: relative;
  top: 1px;
}
/* the composer's plus is a button that adds what is typed: a round target, red while there are words to add */
.add .plus {
  width: 36px;
  height: 36px;
  margin: 0 -7px;
  border-radius: 50%;
  transition:
    color 0.2s,
    background-color 0.2s,
    transform var(--pop-d) var(--pop);
}
.add.typing .plus {
  color: #fff;
  background: var(--red);
}
.add.typing .plus:active {
  transform: rotate(90deg) scale(0.88);
}
.sadd input,
.add input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0;
  background: none;
  font: inherit;
  color: var(--ink);
}
.sadd input {
  height: 36px;
  font-size: 15px;
}
input::placeholder {
  color: var(--mute);
  opacity: 1;
}
.empty {
  margin: 0;
  padding: 14px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 15px;
}
.carry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--mute);
}
.carry button {
  flex: none;
  height: 32px;
  padding: 0 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.25px var(--line2);
  transition:
    background-color 0.2s,
    transform 0.25s var(--pop);
}
.carry button:hover {
  background: var(--hover);
}
.carry button:active {
  transform: scale(0.94);
}
.add {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0 max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg);
  transition: border-color 0.25s;
}
.add:focus-within {
  border-top-color: var(--ink);
}
.add input {
  height: 48px;
  font-size: 16px;
}
.kbd {
  flex: none;
  font:
    500 12px/1 Archivo,
    system-ui,
    sans-serif;
  color: var(--mute);
  padding: 5px 7px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--line2);
  opacity: 0;
  transform: translateX(6px);
  transition:
    opacity 0.2s,
    transform var(--sn-d) var(--snap);
}
.add.typing .kbd {
  opacity: 1;
  transform: none;
}

/* composer: the day a new task goes to */
.dchip {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  margin-left: -6px;
  padding: 0 11px 0 9px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mute);
  white-space: nowrap;
  box-shadow: inset 0 0 0 1.25px var(--line);
  transition:
    background-color 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.25s var(--pop);
}
.dchip::after {
  content: '';
  position: absolute;
  inset: -8px -4px;
}
.dchip svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.add:focus-within .dchip,
.dchip:hover,
.dchip[aria-expanded='true'] {
  color: var(--ink);
  box-shadow: inset 0 0 0 1.25px var(--line2);
}
.dchip:hover,
.dchip[aria-expanded='true'] {
  background: var(--hover);
}
.dchip:active {
  transform: scale(0.94);
}
.dchip.set,
.dchip.set:hover,
.add:focus-within .dchip.set,
.dchip.set[aria-expanded='true'] {
  background: var(--ink);
  color: var(--bg);
  box-shadow: none;
}
.dpop {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 48;
  overflow: hidden;
  width: 304px;
  padding: 10px 10px 12px;
  background: var(--bg);
  border-radius: 16px;
  box-shadow:
    0 0 0 1px var(--line),
    0 24px 60px -18px var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(0.96);
  transition:
    opacity 0.16s,
    transform var(--sn-d) var(--snap),
    visibility 0s 0.16s;
}
.dpop.on {
  opacity: 1;
  visibility: visible;
  transform: translate3d(var(--x, 0), var(--y, 0), 0);
  transition-delay: 0s;
}
.dq {
  display: flex;
  gap: 6px;
  padding: 2px 0 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.dq .chip {
  flex: 1;
  justify-content: center;
  padding: 0 6px;
}

/* the composer chip shows a repeat mark when new tasks repeat */
.dchip .i-rep {
  display: none;
}
.dchip.rep .i-cal {
  display: none;
}
.dchip.rep .i-rep {
  display: block;
  animation: rep-in var(--pop-d) var(--pop);
}
@keyframes rep-in {
  from {
    transform: rotate(-200deg) scale(0.5);
  }
}
.drep {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  margin-top: 8px;
  padding: 0 8px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  transition: background-color 0.15s;
}
.drep:hover {
  background: var(--hover);
}
.drep svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.drep .v {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--mute);
}
.drep .chev {
  width: 14px;
  height: 14px;
  color: var(--mute);
}

/* the repeat editor */
.rpop {
  width: 312px;
  overflow: hidden;
}
.rseg {
  margin: 2px 0 0;
}
.rseg button {
  flex: 1;
}
.rstep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 0 14px;
  font-size: 14px;
  color: var(--mute);
}
.rstep .ib {
  width: 34px;
  height: 34px;
  box-shadow: inset 0 0 0 1.25px var(--line);
}
.rstep .ib svg {
  width: 16px;
  height: 16px;
}
.rnum {
  display: flex;
  justify-content: center;
  min-width: 1.4em;
  font-weight: 800;
  font-variation-settings: 'wdth' 112;
  font-size: 36px;
  line-height: 0.84;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.runit {
  min-width: 4.4em;
}
.rdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  padding: 0 0 12px;
}
.rdays button {
  height: 36px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 650;
  color: var(--mute);
  box-shadow: inset 0 0 0 1.25px var(--line);
  transition:
    background-color 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.rdays button:hover {
  color: var(--ink);
  box-shadow: inset 0 0 0 1.25px var(--line2);
}
.rdays button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--bg);
  box-shadow: none;
}
.rmon {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 0 12px;
}
.rmon .chip {
  justify-content: center;
  height: 36px;
  border-radius: 18px;
}
.rsum {
  margin: 0;
  padding: 12px 4px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 650;
}
.rsum span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mute);
}
.racts {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 12px;
}
.pbtn,
.tbtn {
  height: 34px;
  padding: 0 16px;
  border-radius: 17px;
  font-size: 14px;
  font-weight: 650;
  transition:
    background-color 0.2s,
    color 0.2s,
    transform 0.25s var(--pop);
}
.pbtn {
  background: var(--ink);
  color: var(--bg);
}
.tbtn {
  color: var(--mute);
}
.tbtn:hover {
  background: var(--hover);
  color: var(--ink);
}
.pbtn:active,
.tbtn:active {
  transform: scale(0.95);
}

/* the open card's footer: Repeat and Send */
.cfoot {
  display: flex;
  gap: 2px;
  margin: 4px 0 0 -8px;
}
.cb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 10px 0 8px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--mute);
  transition:
    background-color 0.2s,
    color 0.2s;
}
.cb:hover,
.cb[aria-expanded='true'] {
  background: var(--hover);
  color: var(--ink);
}
.cb.on {
  color: var(--ink);
}
.cb svg {
  flex: none;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mt .rp svg {
  transform-origin: 50% 50%;
}
/* on a phone, Repeat and Send are buttons like the others there: side by side, half the width each, their words the
   same size; a long rule ("Every Monday and Thursday") ends in an ellipsis */
@media (max-width: 719px) and (hover: none) {
  .cfoot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0 2px;
  }
  .cb {
    justify-content: center;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    color: var(--ink);
    box-shadow: inset 0 0 0 1.25px var(--line2);
    transition:
      background-color 0.15s,
      transform 0.25s var(--pop);
  }
  .cb > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cb:active {
    background: var(--hover);
    transform: scale(0.97);
  }
}

/* a task someone sent you, over a veil: the day behind dims and holds still until it is answered. Above the bottom
   bar and the drawers, and its day picker above it. */
.inveil {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: light-dark(rgb(0 0 0 / 0.24), rgb(0 0 0 / 0.5));
  touch-action: none;
}
.inveil[data-out] {
  pointer-events: none;
}
#app.inboxing .dpop {
  z-index: 51;
}
.inbox {
  position: absolute;
  z-index: 50;
  left: calc(var(--pad) - 14px);
  right: calc(var(--pad) - 14px);
  padding: 14px 14px 12px 16px;
  background: var(--bg);
  border-radius: 18px;
  box-shadow:
    0 0 0 1px var(--line),
    0 28px 60px -20px var(--shadow);
}
.inT {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--red);
}
.incard {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.incard .mini {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line2);
}
.inti {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.inme {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--mute);
}
.inacts {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}
.inacts .dchip {
  margin-left: 0;
}

/* floating layers: tooltip, format bar, link bubble, tag suggestions, toast */
.tip,
.fmt,
.lb,
.sug {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  transform: translate3d(var(--x, 0), var(--y, 0), 0) scale(0.94);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.14s,
    transform var(--sn-d) var(--snap),
    visibility 0s 0.14s;
}
.tip.on,
.fmt.on,
.lb.on,
.sug.on {
  opacity: 1;
  visibility: visible;
  transform: translate3d(var(--x, 0), var(--y, 0), 0);
  transition-delay: 0s;
}
.tip {
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12.5px;
  font-weight: 550;
  white-space: nowrap;
  box-shadow: 0 8px 24px -8px var(--shadow);
  z-index: 70;
}
.tip kbd {
  font: inherit;
  font-size: 11.5px;
  font-weight: 500;
  padding: 1px 5px;
  border-radius: 4px;
  color: color-mix(in srgb, var(--bg) 70%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bg) 28%, transparent);
}
.fmt,
.lb {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 14px 34px -12px var(--shadow);
}
.fmt button,
.lb button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--bg);
  opacity: 0.78;
  transition:
    background-color 0.15s,
    opacity 0.15s,
    width var(--sn-d) var(--snap);
}
.fmt button:hover,
.lb button:hover {
  opacity: 1;
  background: color-mix(in srgb, var(--bg) 14%, transparent);
}
.fmt button.act {
  opacity: 1;
  background: color-mix(in srgb, var(--bg) 22%, transparent);
}
.fmt button:focus-visible,
.lb a:focus-visible,
.lb button:focus-visible {
  outline-color: var(--bg);
}
.fmt svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fmt .it {
  font-family: Georgia, 'Times New Roman', serif;
}
.fmt .sep {
  width: 1px;
  height: 18px;
  margin: 0 3px;
  background: color-mix(in srgb, var(--bg) 22%, transparent);
  transition: opacity 0.15s;
}
.fmt input {
  width: 0;
  height: 32px;
  padding: 0;
  opacity: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--bg);
  font: inherit;
  font-size: 14px;
  transition:
    width var(--sn-d) var(--snap),
    opacity 0.2s,
    padding var(--sn-d) var(--snap);
}
.fmt input::placeholder {
  color: color-mix(in srgb, var(--bg) 55%, transparent);
}
.fmt.linking button:not([data-c='link']) {
  width: 0;
  opacity: 0;
  pointer-events: none;
}
.fmt.linking .sep {
  opacity: 0;
}
.fmt.linking input {
  width: 210px;
  opacity: 1;
  padding: 0 8px;
}
.lb {
  padding: 4px 4px 4px 12px;
  gap: 6px;
  font-size: 13px;
}
.lb a {
  color: var(--bg);
  text-decoration: none;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 6px 0;
}
.lb a::after {
  content: ' ↗';
  opacity: 0.6;
}
.lb button {
  width: auto;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
}
.sug {
  display: flex;
  flex-direction: column;
  min-width: 160px;
  max-width: 260px;
  padding: 5px;
  border-radius: 12px;
  background: var(--bg);
  box-shadow:
    0 0 0 1px var(--line),
    0 18px 44px -16px var(--shadow);
}
.sug button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 550;
  text-align: left;
  transition: background-color 0.12s;
}
.sug button span {
  font-size: 12px;
  color: var(--mute);
  font-weight: 500;
}
.sug button.sel {
  background: var(--hover);
}
.toast {
  position: absolute;
  left: 50%;
  bottom: 78px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 44px;
  max-width: calc(100% - 32px);
  padding: 0 5px 0 18px;
  border-radius: 22px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 14px 34px -12px var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 16px) scale(0.96);
  transition:
    opacity 0.2s,
    transform var(--sp-d) var(--spring),
    visibility 0s 0.2s;
}
.toast.on {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.toast.plain {
  padding-right: 18px;
}
.toast span {
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 10px;
}
.toast.plain span {
  padding-right: 0;
}
.toast button {
  flex: none;
  height: 34px;
  padding: 0 13px;
  border-radius: 17px;
  font-weight: 650;
  color: var(--bg);
  transition: background-color 0.2s;
}
.toast button:hover {
  background: color-mix(in srgb, var(--bg) 16%, transparent);
}
.toast button:focus-visible {
  outline-color: var(--bg);
}

/* search */
.srch {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.18s,
    visibility 0s 0.18s;
}
.srch.on {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.sbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 62px;
  margin: 16px var(--pad) 0;
}
.sbar > i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--ink);
  transform-origin: left;
}
.sbar > svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}
.sbar input {
  flex: 1;
  height: 100%;
  font-size: 20px;
  font-weight: 600;
  border: 0;
  outline: 0;
  padding: 0;
  background: none;
  color: var(--ink);
  font-family: inherit;
}
.sbar .ib {
  margin-right: -10px;
}
.sres {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 12px var(--pad) 28px;
}
/* Scrollbars in the app's style: a slim pill without arrows, clear of the rounded corners, and in the
   list it stops above the composer; the same in the list of incoming tasks, and in the drawer, where it starts
   under the handle, below the rounded top. Firefox gets the standard thin scrollbar. */
.sc::-webkit-scrollbar,
.sres::-webkit-scrollbar,
.ftags::-webkit-scrollbar,
.inlist::-webkit-scrollbar,
.sheet::-webkit-scrollbar {
  width: 10px;
}
.sc::-webkit-scrollbar-button,
.sres::-webkit-scrollbar-button,
.ftags::-webkit-scrollbar-button,
.inlist::-webkit-scrollbar-button,
.sheet::-webkit-scrollbar-button {
  display: none;
}
.sc::-webkit-scrollbar-track,
.sres::-webkit-scrollbar-track,
.ftags::-webkit-scrollbar-track,
.inlist::-webkit-scrollbar-track,
.sheet::-webkit-scrollbar-track {
  margin: 12px 0;
  background: transparent;
}
.inlist::-webkit-scrollbar-track {
  margin: 2px 0;
}
.sc::-webkit-scrollbar-track {
  margin-bottom: 74px;
}
.sheet::-webkit-scrollbar-track {
  margin: 28px 0 10px;
}
.sc::-webkit-scrollbar-thumb,
.sres::-webkit-scrollbar-thumb,
.ftags::-webkit-scrollbar-thumb,
.inlist::-webkit-scrollbar-thumb,
.sheet::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 8px;
  background: color-mix(in srgb, var(--ink) 22%, transparent) padding-box;
}
.sc::-webkit-scrollbar-thumb:hover,
.sres::-webkit-scrollbar-thumb:hover,
.ftags::-webkit-scrollbar-thumb:hover,
.inlist::-webkit-scrollbar-thumb:hover,
.sheet::-webkit-scrollbar-thumb:hover {
  background-color: color-mix(in srgb, var(--ink) 40%, transparent);
}
@supports not selector(::-webkit-scrollbar) {
  .sc,
  .sres,
  .ftags,
  .inlist,
  .sheet {
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--ink) 22%, transparent) transparent;
  }
}
.hl {
  position: absolute;
  left: calc(var(--pad) - 10px);
  right: calc(var(--pad) - 10px);
  top: 0;
  height: 0;
  border-radius: 12px;
  background: var(--hover);
  transform: translateY(var(--y, 0));
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--sn-d) var(--snap),
    height var(--sn-d) var(--snap),
    opacity 0.15s;
}
.hl.on {
  opacity: 1;
}
.sr {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 10px 0;
  text-align: left;
}
.sr .mini {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line2);
}
.sr.done .mini {
  background: var(--ink);
  box-shadow: none;
}
.sr .tt {
  flex: 1;
  font-size: 15px;
  line-height: 1.4;
}
.sr .ti {
  margin-right: 4px;
}
.sr.done .ti {
  color: var(--mute);
  text-decoration: line-through;
  text-decoration-color: var(--line2);
}
.sr .sn {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--mute);
  line-height: 1.4;
}
.sr .dd {
  flex: none;
  padding-top: 2px;
  font-size: 12.5px;
  color: var(--mute);
  white-space: nowrap;
}
mark {
  background: color-mix(in srgb, var(--ink) 13%, transparent);
  color: inherit;
  border-radius: 3px;
  padding: 0 1px;
}
.shint {
  margin: 6px 0 14px;
  font-size: 14px;
  color: var(--mute);
}
.sdata {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.fl {
  display: none;
  height: 100%;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.floating #home {
  display: none;
}
.floating .fl {
  display: grid;
}
.fl p {
  margin: 0 0 16px;
  font-size: 17px;
  color: var(--mute);
}
.fl button,
.fl a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 22px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  box-shadow: inset 0 0 0 1.25px var(--line2);
}
.fl button:hover,
.fl a:hover {
  background: var(--hover);
}
@media (hover: none) {
  .acts {
    pointer-events: auto;
  }
  .acts .ib {
    opacity: 0.6;
  }
  .acts::before {
    opacity: 1;
  }
  .acts .mv,
  .acts .rm {
    display: none;
  }
  .row.open .acts .rm,
  .row.open:not(.done) .acts .mv {
    display: grid;
  }
  .row.open .acts .ib {
    opacity: 0.8;
  }
  .tx,
  .open .tx {
    padding-right: 40px;
  }
  .row.open .tx {
    padding-right: 112px;
  }
  .row.open.done .tx {
    padding-right: 76px;
  }
  .srm {
    opacity: 0.6;
  }
  .kbd {
    display: none;
  }
}
/* light or dark: the sun's rays turn away and the disc grows into a crescent */
.sm .core {
  transition: r var(--sp-d) var(--spring);
}
.sm .mm {
  transition:
    cx var(--sp-d) var(--spring),
    cy var(--sp-d) var(--spring);
}
.sm .rays {
  transform-origin: 10px 10px;
  transition:
    transform var(--pop-d) var(--pop),
    opacity 0.25s;
}
:root[data-theme='dark'] .sm .core {
  r: 6.75px;
}
:root[data-theme='dark'] .sm .mm {
  cx: 14.25px;
  cy: 5.75px;
}
:root[data-theme='dark'] .sm .rays {
  transform: rotate(-70deg) scale(0.4);
  opacity: 0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .sm .core {
    r: 6.75px;
  }
  :root:not([data-theme='light']) .sm .mm {
    cx: 14.25px;
    cy: 5.75px;
  }
  :root:not([data-theme='light']) .sm .rays {
    transform: rotate(-70deg) scale(0.4);
    opacity: 0;
  }
}

/* phones: bottom bar, sheets */
.mbar {
  display: none;
}
.scrim {
  position: fixed;
  inset: 0;
  z-index: 44;
  background: rgb(0 0 0 / 0.32);
}
.scrim[data-out] {
  pointer-events: none;
}
.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--mbar, 0px);
  z-index: 47;
  max-height: calc(100% - var(--mbar, 0px) - 70px);
  overflow: auto;
  padding: 4px 12px 14px;
  background: var(--bg);
  border-radius: 24px 24px 0 0;
  box-shadow:
    0 0 0 1px var(--line),
    0 -16px 44px -16px var(--shadow);
  touch-action: none;
}
.grab {
  width: 38px;
  height: 5px;
  margin: 6px auto 12px;
  border-radius: 3px;
  background: var(--line2);
  opacity: 0.6;
}
.sgrab {
  display: none;
}
/* narrower, while One Day is not installed: the sun and the lock wait behind one button, with the offer */
.bar.grouped #theme,
.bar.grouped #lockb {
  display: none;
}
/* in the floating window: its own close button brings the card back, so no button for that. And when the bar runs
   out of room (that window, a browser's side panel, a page zoomed in), the timer stays and the rest waits behind ⋮,
   in the drawer; still short of room in the middle, the time steps out too. */
#app.inpip #float,
.bar.folded #sb,
.bar.folded #sendd,
.bar.folded #float,
.bar.folded #theme,
.bar.folded #syncb,
.bar.folded #lockb {
  display: none;
}
.sp.nomid .clock {
  visibility: hidden;
}
.pop.kpop {
  left: auto;
  width: min(250px, calc(100% - 2 * var(--pad)));
  padding: 6px;
  transform-origin: 92% 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.kit {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 42px;
  padding: 0 12px;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 550;
  text-align: left;
  transition: background-color 0.15s;
}
.kit:hover,
.kit:focus-visible {
  background: var(--hover);
}
.kit:focus-visible {
  outline-offset: -2px;
}
.kit svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.kit.red {
  color: var(--red);
  font-weight: 650;
}
/* in More, while One Day is not installed: the offer first, in the app's red (a deeper one in the dark, for the
   white words to read) */
.sins {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  border-radius: 16px;
  background: light-dark(#e4002b, #d70022);
  color: #fff;
  font-size: 15px;
  font-weight: 650;
  transition:
    transform 0.25s var(--pop),
    filter 0.15s;
}
.sins:active {
  transform: scale(0.97);
  filter: brightness(0.92);
}
.sins svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#moreList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 2px 2px 0;
}
.sbk {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
/* sync, on a row of its own above the backups */
.ssy {
  display: grid;
}
/* the promos follow the app's own buttons after a little more room */
#moreList > a:first-of-type {
  margin-top: 8px;
}
/* the guide: a button of its own, the width of the drawer, under the backups and the lock */
.sgd {
  display: grid;
}
.sgd .sbk-b {
  color: inherit;
  text-decoration: none;
}
.sbk-b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1.25px var(--line2);
  transition:
    background-color 0.15s,
    transform 0.25s var(--pop);
}
.sbk-b:active {
  background: var(--hover);
  transform: scale(0.97);
}
.sbk-b span {
  text-align: center;
  text-wrap: balance;
  line-height: 1.2;
}
/* Undo on the left, Redo on the right, first in the drawer: each says, under its word, what it would do (two lines
   at most), and waits greyed while there is nothing for it */
.sun {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.sud {
  min-width: 0;
  height: auto;
  min-height: 52px;
  padding: 8px 12px;
}
.sbk-b.sud span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  text-align: left;
}
.sud small {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  max-width: 100%;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--mute);
}
.sud:disabled {
  opacity: 0.4;
  cursor: default;
}
.sud:disabled:active {
  background: none;
  transform: none;
}
/* the lock's actions under the backups: one is a button like theirs; several share one outline, a hairline between
   them, and a press lights the row instead of shrinking it */
.slk {
  position: relative;
  display: flex;
  flex-direction: column;
}
/* away with the lock on: nothing of the tasks in the picture the system keeps of the app */
#home.veil {
  visibility: hidden;
}
.slk .sbk-b {
  padding: 0 16px;
}
.slk.grp::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1.25px var(--line2);
  pointer-events: none;
}
.slk.grp .sbk-b {
  border-radius: 0;
  box-shadow: none;
}
.slk.grp .sbk-b + .sbk-b {
  box-shadow: inset 0 1px var(--line);
}
.slk.grp .sbk-b:first-child {
  border-radius: 16px 16px 0 0;
}
.slk.grp .sbk-b:last-child {
  border-radius: 0 0 16px 16px;
}
.slk.grp .sbk-b:active {
  transform: none;
}
.slk.grp .sbk-b:focus-visible {
  outline-offset: -3px;
}
.sbk-b svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.spromo {
  display: block;
  padding: 15px 16px;
  border-radius: 16px;
  text-align: center;
  text-wrap: balance;
  font-size: 15px;
  line-height: 22px;
  color: var(--mute);
  text-decoration: none;
  box-shadow: inset 0 0 0 1.25px var(--line2);
  transition:
    background-color 0.15s,
    transform 0.25s var(--pop);
}
.spromo:active {
  background: var(--hover);
  transform: scale(0.97);
}
.spromo b {
  font-weight: 700;
  color: var(--ink);
}
.spromo::after {
  content: ' \2197';
  font-size: 0.9em;
  color: var(--mute);
}
.spromo.kofi::after {
  content: none;
}
.about .kofi b {
  font-weight: 650;
  color: var(--ink);
}
.srow {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 550;
  color: var(--ink);
  text-decoration: none;
  text-align: left;
  transition: background-color 0.15s;
}
.srow:active {
  background: var(--hover);
}
.srow svg {
  flex: none;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--mute);
}
.srow b {
  font-weight: 700;
}
.slinks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin: 6px 0 4px;
  font-size: 14px;
  color: var(--mute);
}
.slinks a {
  color: inherit;
  text-decoration: none;
}
.slinks .ico svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}
/* several tasks in one link: a list that scrolls when it is long */
.inbox.multi .incard {
  display: none;
}
.inlist {
  margin: 0;
  padding: 0 2px;
  list-style: none;
  max-height: min(46vh, 360px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.inlist.fade {
  -webkit-mask-image: linear-gradient(#000 calc(100% - 36px), #0000);
  mask-image: linear-gradient(#000 calc(100% - 36px), #0000);
}
/* each task a box, ticked to go in; one left out reads struck through */
.inl label {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
  cursor: pointer;
}
.inck {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.inbx {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1.5px var(--line2);
  pointer-events: none;
  transition:
    background-color 0.15s,
    box-shadow 0.15s,
    transform 0.25s var(--pop);
}
.inbx svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--bg);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}
.inck:checked + .inbx {
  background: var(--ink);
  box-shadow: none;
}
.inck:checked + .inbx svg {
  opacity: 1;
}
.inck:focus-visible + .inbx {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.inl label:active .inbx {
  transform: scale(0.88);
}
.intx {
  display: block;
  min-width: 0;
}
.inlt {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.inlm {
  display: block;
  margin-top: 1px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--mute);
}
.inl.off .inlt {
  color: var(--mute);
  text-decoration: line-through;
}
.inacts .pbtn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}
@media (max-width: 719px) and (hover: none) {
  #sb,
  #tmb,
  #sendd,
  #float {
    display: none !important;
  }
  /* no stacking context: the timer sheet can rise above the scrim */
  header {
    z-index: auto;
  }
  #app {
    --mbar: calc(66px + env(safe-area-inset-bottom));
  }
  /* above the scrim and above the drawers it opens, which slide out from behind it */
  .mbar {
    position: relative;
    z-index: 48;
    flex: none;
    display: grid;
    grid-template-columns: 1fr 1fr 88px 1fr 1fr;
    align-items: center;
    height: var(--mbar);
    padding: 0 6px env(safe-area-inset-bottom);
    background: var(--bg);
    border-top: 1px solid var(--line);
  }
  .mb {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 54px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--mute);
    font-variant-numeric: tabular-nums;
    transition:
      color 0.2s,
      background-color 0.15s;
  }
  .mb svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .mb:active,
  .mb[aria-expanded='true'] {
    background: var(--hover);
    color: var(--ink);
  }
  .mb.on {
    color: var(--red);
  }
  .mplus {
    justify-self: center;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-top: -30px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    box-shadow:
      0 0 0 6px var(--bg),
      0 14px 30px -10px color-mix(in srgb, var(--red) 75%, transparent);
    transition: transform 0.3s var(--pop);
  }
  .mplus svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
    transition: transform var(--sn-d) var(--snap);
  }
  .mplus:active {
    transform: scale(0.9);
  }
  #app.composing .mplus svg {
    transform: rotate(45deg);
  }
  /* the composer becomes a sheet, opened by the + and lifted above the keyboard */
  .add {
    display: none;
  }
  #app.composing .add {
    position: fixed;
    z-index: 46;
    left: 0;
    right: 0;
    bottom: var(--kb, 0px);
    display: flex;
    margin: 0;
    padding: 8px var(--pad) calc(10px + env(safe-area-inset-bottom));
    border-top: 0;
    border-radius: 22px 22px 0 0;
    background: var(--bg);
    box-shadow:
      0 0 0 1px var(--line),
      0 -16px 40px -16px var(--shadow);
  }
  #app.composing .mbar,
  #app.kbgoing .mbar {
    visibility: hidden;
  }
  .tpop {
    position: fixed;
    z-index: 48;
    top: auto;
    left: 12px;
    right: 12px;
    bottom: calc(80px + env(safe-area-inset-bottom));
    width: auto;
    touch-action: none;
    transform-origin: 50% 100%;
    transform: translateY(10px) scale(0.97);
  }
  #slist .about {
    display: none;
  }
  /* search is a drawer like More: the top row of the day stays above it, dimmed; a tap there, a drag down from
     its top or the × goes back. It ends above the keyboard; its results scroll inside it. */
  .srch {
    position: fixed;
    z-index: 46;
    top: calc(env(safe-area-inset-top) + 70px);
    bottom: max(var(--kb, 0px), var(--mbar));
    border-radius: 24px 24px 0 0;
    box-shadow:
      0 0 0 1px var(--line),
      0 -16px 44px -16px var(--shadow);
    opacity: 1;
    transform: translateY(calc(100% + 24px));
    transition: none;
  }
  /* open, or on its way out (the spring moves it, from script) */
  .srch.on,
  .srch.out {
    transform: none;
    visibility: visible;
  }
  .srch.out {
    pointer-events: none;
  }
  .sgrab {
    display: block;
    flex: none;
    margin-bottom: 0;
  }
  .sgrab,
  .sbar {
    touch-action: none;
  }
  .sbar {
    margin-top: 0;
  }
  #tpop .tgrab {
    display: block;
    margin: -2px auto 8px;
  }
  .sc::-webkit-scrollbar-track {
    margin-bottom: 12px;
  }
  .toast {
    bottom: calc(84px + env(safe-area-inset-bottom));
  }
}

/* the lock: an unlock screen over everything, and a dialog for its settings */
.lock,
.modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  overflow: auto;
  background: var(--page);
}
/* the dialog's scrim dims the page and softens it, so the card is the one thing in focus */
.modal {
  z-index: 96;
  background: light-dark(rgb(0 0 0 / 0.3), rgb(0 0 0 / 0.55));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal.out {
  pointer-events: none;
}
@media (prefers-reduced-transparency: reduce) {
  .modal {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
.lcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(380px, 100%);
  margin-block: auto;
  padding: 30px 24px 22px;
  border-radius: var(--r);
  background: var(--bg);
  text-align: center;
  box-shadow:
    0 0 0 1px var(--edge),
    0 32px 72px -32px var(--shadow);
}
.lico {
  width: 64px;
  height: 64px;
  margin: 0 auto 6px;
}
.lcard h2 {
  margin: 0;
  font-weight: 800;
  font-variation-settings: 'wdth' 112;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lsub {
  margin: 0 0 4px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--mute);
  text-wrap: pretty;
}
.lcard input[type='password'] {
  height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  box-shadow: inset 0 0 0 1.25px var(--line2);
  transition: box-shadow 0.2s;
}
.lcard input[type='password']:focus {
  outline: 0;
  box-shadow: inset 0 0 0 2px var(--ink);
}
/* the field that is wrong keeps a red ring until it is typed in again */
.lcard input[type='password'][aria-invalid='true'] {
  box-shadow: inset 0 0 0 2px var(--red);
}
.lcard .wide {
  width: 100%;
  height: 46px;
  border-radius: 23px;
  font-size: 15px;
}
.lcard .tbtn.wide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.lcard .tbtn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.lcard .pbtn:disabled {
  opacity: 0.6;
}
/* at work (the key takes a moment to draw): a light sweeps across the button */
.lcard .pbtn.busy {
  opacity: 1;
  background-image: linear-gradient(
    100deg,
    transparent 30%,
    color-mix(in srgb, var(--bg) 26%, transparent) 50%,
    transparent 70%
  );
  background-size: 250% 100%;
  animation: lbusy 1.15s linear infinite;
}
@keyframes lbusy {
  from {
    background-position: 130% 0;
  }
  to {
    background-position: -130% 0;
  }
}
.lcard .pbtn.danger {
  background: var(--red);
  color: light-dark(#fff, #0e0e0e);
}
.lerr {
  margin: -2px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red);
  text-wrap: pretty;
}
.lerr:empty {
  display: none;
}
.lwarn {
  --warn: light-dark(#e4002b, #e0102f);
  display: block;
  margin: 2px 0 0;
  border-radius: 16px;
  background: var(--warn);
  color: #fff;
  text-align: left;
  cursor: var(--c-ptr);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.2),
    0 14px 30px -18px color-mix(in srgb, var(--warn) 90%, transparent);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lwarn:active {
  transform: scale(0.985);
}
.lwt {
  display: block;
  padding: 13px 15px 12px;
  font-size: 13.5px;
  line-height: 1.45;
  text-wrap: pretty;
}
.lwt b {
  font-weight: 700;
}
.lok {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px 12px;
  border-top: 1px solid rgb(255 255 255 / 0.24);
  font-size: 14px;
  font-weight: 650;
}
.lwt[hidden] + .lok {
  border-top: 0;
}
.lchk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  text-wrap: pretty;
  cursor: var(--c-ptr);
  -webkit-tap-highlight-color: transparent;
}
/* a box that fills, and a tick that draws itself in */
.ckb {
  position: relative;
  flex: none;
  display: grid;
  width: 20px;
  height: 20px;
}
.ckb input {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--line2);
  cursor: inherit;
  transition:
    background-color 0.18s,
    box-shadow 0.18s,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ckb input:checked {
  background: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.lchk:active .ckb input,
.lwarn:active .ckb input {
  transform: scale(0.88);
}
.ckb input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.ckb svg {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--bg);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1;
  pointer-events: none;
  transition: stroke-dashoffset 0.1s ease-in;
}
.ckb input:checked + svg {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.26s cubic-bezier(0.65, 0, 0.35, 1) 0.05s;
}
.lwarn .ckb input {
  box-shadow: inset 0 0 0 1.75px rgb(255 255 255 / 0.85);
}
.lwarn .ckb input:checked {
  background: #fff;
  box-shadow: inset 0 0 0 1.75px #fff;
}
.lwarn .ckb input:focus-visible {
  outline-color: #fff;
}
.lwarn .ckb svg {
  stroke: var(--warn);
}
.lhint {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--mute);
  text-wrap: pretty;
}
.lnk {
  padding: 0;
  font: inherit;
  font-weight: 650;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lcard .racts {
  margin-top: 4px;
}
.lcard [hidden] {
  display: none !important;
}
.sdata .chips + .chips {
  margin-top: 8px;
}

/* sync with your cloud: the three clouds as one group of rows, then where it stands once it is on */
.sych {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 4px;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1.25px var(--line2);
}
/* each cloud: its logo, then its name over where One Day keeps its file there */
.syc {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 2px 14px;
  padding: 12px 16px 13px;
  text-align: left;
  transition: background-color 0.15s;
}
.syl {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
}
.syl img {
  display: block;
  width: 28px;
  height: 28px;
}
/* Dropbox's glyph sits in a wide margin of its own artwork: drawn larger, it matches the others */
.syl-dropbox img {
  width: 44px;
  height: 44px;
  margin: -8px;
}
.syc b,
.syc span {
  grid-column: 2;
}
.syc:disabled .syl {
  opacity: 0.4;
}
.syc + .syc {
  box-shadow: inset 0 1px var(--line);
}
.syc:first-child {
  border-radius: 16px 16px 0 0;
}
.syc:last-child {
  border-radius: 0 0 16px 16px;
}
.syc:hover:not(:disabled),
.syc:active:not(:disabled) {
  background: var(--hover);
}
.syc:focus-visible {
  outline-offset: -3px;
}
.syc b {
  font-size: 15.5px;
  font-weight: 650;
}
.syc span {
  font-size: 13px;
  color: var(--mute);
}
.syc:disabled {
  cursor: default;
}
.syc:disabled b {
  color: var(--mute);
}
.syon {
  text-align: left;
}
.syst {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--hover);
  font-size: 14px;
  line-height: 1.45;
  text-wrap: pretty;
}
.syst span:not(.syd) {
  flex: 1 1 200px;
}
.syd {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: light-dark(#1f9d55, #3ecf7a);
  transform: translateY(-1px);
}
.syd[data-s='busy'] {
  background: var(--mute);
  animation: sybreath 0.9s ease-in-out infinite alternate;
}
.syd[data-s='offline'] {
  background: var(--mute);
}
.syd[data-s='auth'],
.syd[data-s='pass'],
.syd[data-s='error'] {
  background: var(--red);
}
.syli {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--mute);
  text-wrap: pretty;
}
.syli li + li {
  margin-top: 6px;
}
.syli b {
  font-weight: 650;
  color: var(--ink);
}
@keyframes sybreath {
  to {
    opacity: 0.35;
  }
}
@media (prefers-reduced-motion: reduce) {
  .syd[data-s='busy'] {
    animation: none;
  }
}
/* sync waits on you: a red dot where you find it (behind ⋮, sync's button in the drawer) */
.sbk-b.att {
  position: relative;
}
.sbk-b.att::after {
  content: '';
  position: absolute;
  top: 5px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px var(--bg);
}
/* Sync's cloud, beside the lock (a pill above the card on a large screen, a button in the card's bar otherwise): off,
   just the cloud; on, a tick when all is in, a slash offline, a red dot when it waits on you; at work, its outline
   breathes. */
.syb {
  position: relative;
}
.syb .sc-k,
.syb .sc-x {
  display: none;
}
.syb[data-s='idle'] .sc-k,
.syb[data-s='offline'] .sc-x {
  display: inline;
}
.syb[data-s='offline'] {
  color: var(--mute);
}
.syb .sc-d {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px var(--bg);
  transform: scale(0);
  transition: transform 0.3s var(--pop);
}
.syb[data-s='auth'] .sc-d,
.syb[data-s='pass'] .sc-d,
.syb[data-s='error'] .sc-d {
  transform: none;
}
.syb[data-s='busy'] .sc-c {
  animation: sybreath 1.2s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
  .syb[data-s='busy'] .sc-c {
    animation: none;
    opacity: 0.6;
  }
}
/* where the bar is folded, sync's button waits behind ⋮: the dot shows there too */
.bar.folded #kb.att {
  position: relative;
}
.bar.folded #kb.att::after {
  content: '';
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px var(--bg);
}
@media (max-width: 719px) {
  .lock .lcard {
    padding-inline: 4px;
    box-shadow: none;
  }
}
@media (max-width: 719px) and (hover: none) {
  .modal {
    align-items: stretch;
    padding: 0 0 var(--kb, 0px);
  }
  .modal .lcard {
    width: 100%;
    margin-block: auto 0;
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
    border-radius: var(--r) var(--r) 0 0;
    box-shadow:
      0 0 0 1px var(--edge),
      0 -24px 60px -28px var(--shadow);
  }
  /* two buttons the thumb finds: side by side, the width of the sheet */
  .modal .racts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
  }
  .modal .racts button {
    height: 48px;
    border-radius: 24px;
    font-size: 15px;
  }
  .modal .racts .tbtn {
    background: var(--hover);
    color: var(--ink);
  }
  /* one button left (sync's Cancel, while it signs in): the width of the sheet */
  .modal .racts:has(> button[hidden]) {
    grid-template-columns: 1fr;
  }
}

/* moving to getone.day: what the step says, as a list read from the left; at day.bemorin.com, nothing of One Day
   behind the card that clears the old copy */
.mvli {
  margin-top: 0;
  text-align: left;
}
.mvli:empty {
  display: none;
}
html.gone #home {
  visibility: hidden;
}

/* importing from another app: what comes in, day by day, before it is added */
.icard {
  width: min(440px, 100%);
  text-align: left;
}
.icard h2 {
  font-size: 23px;
}
.icard .lsub {
  margin: 0;
}
.imlist {
  max-height: min(46vh, 400px);
  margin: 0 -24px;
  padding: 0 24px 6px;
  overflow: auto;
  overscroll-behavior: contain;
  border-block: 1px solid var(--line);
}
.imlist:focus-visible {
  outline-offset: -2px;
  border-radius: 0;
}
/* while more is below, the list fades at its foot */
.imlist.more {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 32px), transparent);
}
.imh {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0;
  padding: 12px 0 4px;
  background: var(--bg);
  font-size: 12.5px;
  font-weight: 650;
  color: var(--mute);
}
.imd {
  margin: 0;
  padding: 0;
  list-style: none;
}
.imd li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1px 12px;
  padding: 7px 0;
}
.imd li + li {
  border-top: 1px solid var(--line);
}
.imk {
  font-size: 14.5px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.imc {
  font-size: 13px;
  color: var(--mute);
  white-space: nowrap;
}
.imx {
  grid-column: 1 / -1;
  overflow: hidden;
  font-size: 13px;
  color: var(--mute);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.imm,
.imnote p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--mute);
}
.imnote p:first-child {
  margin-top: 0;
}

/* footer: under the card on large screens; small screens show the same links in search */
#app.pre ~ .foot {
  opacity: 0;
}
/* the guide's link is here for search and More, where they show the footer's links; under the card the row is full,
   so on a large screen the guide has its pill above it instead, before the sun */
#foot .gd {
  display: none;
}
.tgrab {
  display: none;
}
.foot {
  display: none;
  width: min(640px, calc(100% - 48px));
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  padding: 16px calc(var(--pad) - 4px) 0;
  font-size: 12.5px;
  color: light-dark(#5f5f5f, #8e8e8e);
}
.foot nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.foot .ico,
.about .ico {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: -6px -6px;
  border-radius: 8px;
}
.foot .ico + .ico,
.about .ico + .ico {
  margin-left: -10px;
}
.foot .ico svg,
.about .ico svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.foot .ico:hover,
.about .ico:hover {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}
.foot a,
.about a {
  color: inherit;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s;
}
.foot a:hover,
.about a:hover {
  color: var(--ink);
}
/* a generous hit area that only shows itself on hover */
.foot a:not(.ico),
.about a:not(.ico) {
  padding: 6px 8px;
  margin: -6px -8px;
  border-radius: 8px;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.foot a:not(.ico):hover,
.about a:not(.ico):hover {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}
.foot .promo b,
.about .promo b {
  font-weight: 650;
  color: var(--ink);
}
.foot .promo::after,
.about .promo::after {
  content: ' \2197';
  font-size: 0.9em;
}
/* Under the card, three pills of glass. A link lights up inside its pill, five pixels in from the edge,
   like the selected part of a segmented control. */
#home {
  --glass: linear-gradient(
    161deg,
    light-dark(rgb(255 255 255 / 0.5), rgb(255 255 255 / 0.11)),
    light-dark(rgb(255 255 255 / 0.18), rgb(255 255 255 / 0.04))
  );
  --lit: light-dark(#fff, rgb(255 255 255 / 0.16));
  --pill:
    inset 0 1px 0 light-dark(rgb(255 255 255 / 0.95), rgb(255 255 255 / 0.15)),
    inset 0 0 0 1px light-dark(rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.06)),
    0 0 0 0.5px light-dark(rgb(0 0 0 / 0.08), rgb(255 255 255 / 0.09)),
    0 6px 16px -8px light-dark(rgb(0 0 0 / 0.16), rgb(0 0 0 / 0.6));
}
#foot .promo,
#foot .kofi {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--glass);
  box-shadow: var(--pill);
}
#foot .promo:hover,
#foot .kofi:hover {
  background: var(--glass);
}
#foot .promo::before,
#foot .kofi::before {
  content: '';
  position: absolute;
  inset: 5px;
  z-index: -1;
  border-radius: inherit;
  background: var(--lit);
  box-shadow:
    0 0 0 0.5px light-dark(rgb(0 0 0 / 0.06), transparent),
    0 1px 3px light-dark(rgb(0 0 0 / 0.12), rgb(0 0 0 / 0.4));
  opacity: 0;
  transition: opacity 0.2s;
}
#foot .promo:hover::before,
#foot .kofi:hover::before {
  opacity: 1;
}
#foot nav {
  gap: 0;
  padding: 5px;
  border-radius: 999px;
  background: var(--glass);
  box-shadow: var(--pill);
}
#foot nav a,
#foot nav .ico {
  width: auto;
  height: auto;
  margin: 0;
  padding: 6px 11px;
  border-radius: 999px;
  transition:
    color 0.2s,
    background-color 0.2s,
    box-shadow 0.2s;
}
#foot nav .ico {
  display: inline-grid;
  padding: 6px 9px;
}
#foot nav a:hover {
  background: var(--lit);
  box-shadow:
    0 0 0 0.5px light-dark(rgb(0 0 0 / 0.06), transparent),
    0 1px 3px light-dark(rgb(0 0 0 / 0.12), rgb(0 0 0 / 0.4));
}
@media (prefers-contrast: more), (forced-colors: active) {
  #foot .promo,
  #foot .kofi,
  #foot nav {
    background: none;
    box-shadow: inset 0 0 0 1px currentColor;
  }
}
/* the results fill what search leaves them (so the about links can sit at the bottom), never less than they hold */
#slist {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: auto 0 0;
  padding: 36px 0 4px;
  font-size: 13px;
  color: var(--mute);
}
.about .promo {
  margin: 0;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--hover);
  color: var(--ink);
  font-size: 14px;
}
.about .links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
}

@media (prefers-contrast: more), (forced-colors: active) {
  #app::before,
  #app::after {
    display: none !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  #app::before {
    background: light-dark(rgb(255 255 255 / 0.72), rgb(44 44 48 / 0.92)) !important;
  }
}
.topbar {
  display: none;
}
/* the sheet: on a large screen the app is a card on the page, as tall as its content */
@media (min-width: 720px) and (min-height: 560px) {
  :root {
    --page: light-dark(#f5f5f7, #000);
    --bg: light-dark(#fff, #141414);
    --top: clamp(12px, 3vh, 36px);
  }
  /* in whole pixels: what sits above the card (the time, the offer, the pills) lands on the pixel grid, so the height
     of the window cannot set its icons and words half a pixel apart */
  @supports (top: round(1px, 1px)) {
    :root {
      --top: round(clamp(12px, 3vh, 36px), 1px);
    }
  }
  /* the page: the time and the pills, the card, the footer; the card takes what the others leave, never more
     than its tasks need, with the same room above the pills and below the footer */
  #home {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: var(--top) 0;
  }
  #home > * {
    flex: none;
  }
  #home > #app {
    flex: 0 1 auto;
    min-height: 0;
  }
  #app {
    width: min(640px, calc(100% - 48px));
    max-width: none;
    height: auto;
    margin: 0;
    background: var(--bg);
    border-radius: var(--r);
    box-shadow:
      0 0 0 1px var(--edge),
      0 1px 3px light-dark(rgb(0 0 0/0.05), rgb(0 0 0/0.5)),
      0 32px 72px -32px light-dark(rgb(0 0 0/0.24), rgb(0 0 0/0.9));
  }
  /* the card rests in a thin frame of glass, brighter on the side of the light (the top, a little to the left).
     It stays above the footer, so its popovers do too. */
  #app {
    isolation: isolate;
    z-index: 1;
  }
  #app::before,
  #app::after {
    content: '';
    position: absolute;
    inset: -9px;
    border-radius: calc(var(--r) + 9px);
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
      linear-gradient(#000 0 0) content-box exclude,
      linear-gradient(#000 0 0);
    pointer-events: none;
  }
  #app::before {
    z-index: -1;
    padding: 9px;
    background: linear-gradient(
      161deg,
      light-dark(rgb(255 255 255 / 0.42), rgb(255 255 255 / 0.1)),
      light-dark(rgb(255 255 255 / 0.16), rgb(255 255 255 / 0.03))
    );
    box-shadow:
      inset 0 1px 0 light-dark(rgb(255 255 255 / 0.7), rgb(255 255 255 / 0.06)),
      inset 0 -1px 0 light-dark(rgb(0 0 0 / 0.035), rgb(0 0 0 / 0.3)),
      inset 0 0 0 1px light-dark(rgb(255 255 255 / 0.3), rgb(255 255 255 / 0.03));
  }
  /* and its outer edge catches the light */
  #app::after {
    padding: 1.25px;
    background: linear-gradient(161deg, light-dark(rgb(255 255 255 / 0.95), rgb(255 255 255 / 0.1)), transparent 46%)
      border-box;
  }
  #foot {
    padding-top: 27px;
  }
  /* Above the card: the time on the left, on the line where the pills end; the sun and the lock on the right,
     two pills of glass the height of the footer's, lit five pixels in like them. They leave the card's bar. */
  .topbar {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    width: min(640px, calc(100% - 48px));
    margin: 0 0 16px;
    padding: 0 calc(var(--pad) - 4px);
    transition: opacity 0.5s ease 0.3s;
  }
  .topbar .clock {
    margin-right: auto;
    padding-bottom: 1px;
  }
  #syncb,
  #lockb {
    display: none !important;
  }
  .lpill,
  .ipill,
  .gpill,
  .spill,
  .topbar #theme {
    position: relative;
    isolation: isolate;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--glass);
    box-shadow: var(--pill);
    color: light-dark(#3d4555, #c9c9ce);
    transition:
      color 0.2s,
      transform 0.25s var(--pop);
  }
  .lpill::before,
  .ipill::before,
  .gpill::before,
  .spill::before,
  .topbar #theme::before {
    content: '';
    position: absolute;
    inset: 5px;
    z-index: -1;
    border-radius: inherit;
    background: var(--lit);
    box-shadow:
      0 0 0 0.5px light-dark(rgb(0 0 0 / 0.06), transparent),
      0 1px 3px light-dark(rgb(0 0 0 / 0.12), rgb(0 0 0 / 0.4));
    opacity: 0;
    transition: opacity 0.2s;
  }
  .lpill:hover,
  .ipill:hover,
  .gpill:hover,
  .spill:hover,
  .topbar #theme:hover {
    color: var(--ink);
    background: var(--glass);
  }
  .lpill:hover::before,
  .ipill:hover::before,
  .gpill:hover::before,
  .spill:hover::before,
  .topbar #theme:hover::before {
    opacity: 1;
  }
  .lpill:active,
  .ipill:active,
  .gpill:active,
  .spill:active,
  .topbar #theme:active {
    transform: scale(0.94);
  }
  /* the guide: a question mark before the sun, and the lock after it (the footer under the card has no room left) */
  .gpill {
    text-decoration: none;
  }
  .lpill svg,
  .gpill svg,
  .spill svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
  }
  .topbar #theme svg {
    width: 19px;
    height: 19px;
  }
  .lpill .lk-shut,
  .lpill.on .lk-open {
    display: none;
  }
  .lpill.on .lk-shut {
    display: block;
  }
  /* Not installed yet: the offer in the middle of the line, between the time and the pills; put off, a small pill
     before the sun. Glass like the pills, and what lights up on hover sits five pixels in, like theirs. */
  .topbar.offer .clock {
    margin-right: 0;
  }
  .ins {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 40px;
    margin: 0 auto;
    padding: 5px;
    border-radius: 999px;
    background: var(--glass);
    box-shadow: var(--pill);
  }
  .ins-go,
  .ins-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    border-radius: 999px;
    transition:
      background-color 0.2s,
      box-shadow 0.2s,
      transform 0.25s var(--pop);
  }
  .ins-go {
    gap: 7px;
    padding: 0 12px 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
  }
  .ins-x {
    width: 30px;
    color: light-dark(#3d4555, #c9c9ce);
  }
  .ins-go:hover,
  .ins-x:hover {
    background: var(--lit);
    box-shadow:
      0 0 0 0.5px light-dark(rgb(0 0 0 / 0.06), transparent),
      0 1px 3px light-dark(rgb(0 0 0 / 0.12), rgb(0 0 0 / 0.4));
  }
  .ins-go:active,
  .ins-x:active {
    transform: scale(0.95);
  }
  .ins svg,
  .ipill svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .ins-go svg {
    width: 16px;
    height: 16px;
    color: var(--red);
    stroke-width: 1.8;
  }
  .ins-x svg {
    width: 14px;
    height: 14px;
  }
  /* the words come down a pixel; the icon and the cross half of one, to sit level with them */
  .ins-go svg,
  .ins-x svg {
    translate: 0 0.5px;
  }
  .ipill svg {
    width: 18px;
    height: 18px;
  }
  /* it comes in with the card */
  #home:not(.shown) .topbar {
    opacity: 0;
  }
  .vp,
  .sl-s {
    border-radius: 0 0 var(--r) var(--r);
  }
  .srch {
    border-radius: var(--r);
  }
  /* on a large screen the card is as tall as search needs: the results are as tall as what they hold */
  #slist {
    flex-grow: 0;
  }
  .toast {
    position: fixed;
    bottom: 28px;
  }
  .foot {
    display: flex;
  }
  .about {
    display: none;
  }
}
/* The floating window is a window of its own, not a page: however wide it is pulled, the day keeps its column, centred
   on the app's own background and as tall as the window (its list scrolls), with no card or frame around it. */
body:has(> #app.inpip) {
  background: var(--bg);
}
@media (min-width: 720px) and (min-height: 560px) {
  #app.inpip {
    width: 100%;
    max-width: 660px;
    height: 100%;
    margin: 0 auto;
    background: none;
    border-radius: 0;
    box-shadow: none;
  }
  #app.inpip::before,
  #app.inpip::after {
    display: none;
  }
  #app.inpip .vp,
  #app.inpip .sl-s,
  #app.inpip .srch {
    border-radius: 0;
  }
  #app.inpip #slist {
    flex-grow: 1;
  }
  #app.inpip .about {
    display: flex;
  }
}
@supports (corner-shape: squircle) {
  :root {
    --r: 46px;
  }
  #app,
  #app::before,
  #app::after,
  .vp,
  .sl-s,
  .srch {
    corner-shape: squircle;
  }
}

@media (max-width: 380px) {
  .wd {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  /* Popovers and search appear at once, and so does what is inside them: a transition of their visibility,
     however short, would keep the button or field they focus from taking the focus. */
  .pop,
  .pop *,
  .dpop,
  .dpop *,
  .srch,
  .srch * {
    transition: none !important;
  }
}

/* Between One Day and its guide on the same page (on a phone, or the guide's way back to the day): the guide comes
   up like a drawer and goes back down, the day underneath. Chrome, Edge and Safari animate it; elsewhere it changes. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  /* back to the day: the guide goes down over it */
  ::view-transition-old(root) {
    z-index: 1;
    animation: vt-down 0.34s cubic-bezier(0.4, 0, 1, 1) both;
  }
  ::view-transition-new(root) {
    animation: none;
  }
}
@keyframes vt-down {
  to {
    transform: translateY(100%);
  }
}
