/* Listo, the product. It sits on the shared base (app.css: type, colours, buttons) and dresses it
   the way the website does: squircle corners, grey grounds instead of rules, a bar that blurs what
   passes under it. Small and dense, so a month of posts fits on a screen.
   Everything here is scoped to .product, so the website's own picture of the schedule never moves. */

.product {
  --pad: clamp(16px, 3vw, 40px);
  --r-l: 14px;
  --r-m: 10px;
  --r-s: 6px;
  --bar-h: 56px;
  --cols: 40px minmax(200px, 1fr) 52px repeat(4, minmax(96px, 128px));
  --alert: #e04200;
  /* Tags: each state has its own ground, ink and dot. */
  --t-posted-bg: rgba(159, 228, 0, 0.24);
  --t-posted-ink: #2f5200;
  --t-posted-dot: #6cb000;
  --t-sched-bg: var(--wash);
  --t-sched-ink: var(--ink-2);
  --t-move-bg: rgba(72, 0, 241, 0.08);
  --t-move-ink: #4800f1;
  --t-fail-bg: rgba(224, 66, 0, 0.1);
  --t-fail-ink: #b83600;
  --violet-wash: rgba(72, 0, 241, 0.06);
  --shade: 0 1px 2px rgba(10, 10, 10, 0.05), 0 24px 70px -18px rgba(10, 10, 10, 0.22);
  --pop: 0 1px 2px rgba(10, 10, 10, 0.06), 0 12px 32px -8px rgba(10, 10, 10, 0.2);
  --pill: var(--paper);
  font-size: 14px;
}
@media (prefers-color-scheme: dark) {
  .product {
    --alert: #ff6a33;
    --wash: #171717;
    --t-posted-bg: rgba(159, 228, 0, 0.14);
    --t-posted-ink: #b9ef4a;
    --t-posted-dot: #9fe400;
    --t-move-bg: rgba(141, 107, 255, 0.16);
    --t-move-ink: #ab92ff;
    --t-fail-bg: rgba(255, 106, 51, 0.14);
    --t-fail-ink: #ff875a;
    --violet-wash: rgba(141, 107, 255, 0.1);
    --shade: 0 0 0 1px #242424, 0 30px 80px -20px rgba(0, 0, 0, 0.8);
    --pop: 0 0 0 1px #2a2a2a, 0 16px 40px -10px rgba(0, 0, 0, 0.8);
    --pill: #2a2a2a;
  }
}
@supports (corner-shape: squircle) {
  .product {
    --r-l: 22px;
    --r-m: 15px;
    --r-s: 9px;
  }
  .product *,
  .product *::before,
  .product *::after {
    corner-shape: squircle;
  }
  .product .dot,
  .product .wordmark::after,
  .product .button::before,
  .product .close,
  .product .me,
  .product .step,
  .product .more i {
    corner-shape: round;
  }
}
.product a {
  text-decoration: none;
}
.product [hidden] {
  display: none !important;
}

/* ───────── The bar ───────── */

.product .app {
  max-width: none;
  padding: 0 0 96px;
}
.product main,
.bar-row {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 5;
  height: var(--bar-h);
  display: flex;
  align-items: center;
}
.bar::before {
  content: '';
  position: absolute;
  inset: 0 0 -18px 0;
  z-index: -1;
  background: linear-gradient(var(--paper) 35%, color-mix(in srgb, var(--paper) 0%, transparent));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
  mask-image: linear-gradient(#000 55%, transparent);
  pointer-events: none;
}
.bar-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}
.product .wordmark {
  font-size: 18px;
}

/* Two-way switches: the bar's Schedule / Accounts and the page's List / Calendar. */
.tabs,
.seg {
  position: relative;
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--wash);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.tabs {
  margin-left: clamp(4px, 1.4vw, 20px);
  animation: fade-in 0.6s var(--ease) backwards;
}
.tab,
.seg button {
  appearance: none;
  position: relative;
  z-index: 1;
  border: 0;
  background: none;
  padding: 5px 13px 6px;
  border-radius: 999px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: color 0.45s var(--ease);
}
.tab:hover,
.tab.is-on,
.seg button:hover,
.seg button.is-on {
  color: var(--ink);
}
.tabs-pill,
.seg-pill {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: var(--w, 0);
  transform: translateX(var(--x, 3px));
  border-radius: 999px;
  background: var(--pill);
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.07);
  transition: transform 0.55s var(--ease), width 0.55s var(--ease);
}
.product .seg i {
  padding: 0;
}

/* The person: their initial, which opens their menu. */
.me {
  appearance: none;
  margin-left: auto;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  animation: fade-in 0.6s var(--ease) backwards;
}
.me:hover,
.me.is-active {
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.5px var(--ink);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

/* ───────── Menus ───────── */

.menu {
  position: fixed;
  z-index: 30;
  min-width: 188px;
  padding: 5px;
  border-radius: var(--r-m);
  background: var(--paper);
  box-shadow: var(--pop);
  font-size: 13.5px;
  opacity: 0;
  transform: translateY(-4px) scale(0.97);
  filter: blur(4px);
  transition: opacity 0.22s var(--ease), transform 0.26s var(--ease), filter 0.26s var(--ease);
}
.menu.is-open {
  opacity: 1;
  transform: none;
  filter: none;
  transition-duration: 0.32s;
}
.menu-item {
  appearance: none;
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  font: inherit;
  color: var(--ink);
  padding: 8px 11px 9px;
  border-radius: var(--r-s);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.3s var(--ease);
}
.menu-item:hover,
.menu-item:focus-visible {
  background: var(--wash);
  outline: none;
}
.menu-item.is-armed {
  color: var(--alert);
  font-weight: 500;
}
.menu-item[disabled] {
  opacity: 0.5;
}
.menu-note {
  padding: 8px 11px 6px;
  font-weight: 500;
  color: var(--ink);
}
.menu hr {
  border: 0;
  height: 1px;
  margin: 5px 6px;
  background: var(--rule);
}

/* ───────── The head of the page ───────── */

.page {
  padding-top: calc(var(--bar-h) + 28px);
  animation: page-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(8px);
  }
}
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.title {
  margin: 0;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.008em;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 6px;
  margin-top: 10px;
  min-height: 22px;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.stats.is-changing {
  opacity: 0;
  transform: translateY(4px);
}
.stats .next {
  margin-left: 6px;
  font-size: 13px;
  color: var(--ink-2);
}
.stats .next:first-child {
  margin-left: 0;
}
.stats .next b {
  font-weight: 500;
  color: var(--ink);
}
button.stat {
  cursor: pointer;
  transition: box-shadow 0.3s var(--ease);
}
button.stat:hover {
  box-shadow: inset 0 0 0 1px currentColor;
}

/* ───────── Tags ───────── */

.tag {
  appearance: none;
  border: 0;
  font: inherit;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  background: var(--t-sched-bg);
  color: var(--t-sched-ink);
  transition: opacity 0.3s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.tag.is-swapping {
  opacity: 0;
}
.tag .dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}
.tag.is-none {
  background: none;
  width: 14px;
  padding: 0;
}
.tag.is-none::before {
  content: '';
  width: 10px;
  height: 1px;
  background: var(--rule);
}
.tag.is-posted {
  background: var(--t-posted-bg);
  color: var(--t-posted-ink);
}
.tag.is-posted .dot {
  background: var(--t-posted-dot);
  opacity: 1;
}
.tag.is-uploading,
.tag.is-processing,
.tag.is-waiting {
  background: var(--t-move-bg);
  color: var(--t-move-ink);
}
.tag.is-uploading .dot,
.tag.is-processing .dot {
  opacity: 1;
  animation: breathe 1.3s var(--ease) infinite alternate;
}
.tag.is-waiting .dot {
  opacity: 1;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
  box-shadow: inset 0 0 0 1px currentColor;
}
.tag.is-failed {
  background: var(--t-fail-bg);
  color: var(--t-fail-ink);
}
.tag.is-failed .dot {
  opacity: 1;
  border-radius: 1.5px;
}
.tag.is-cancelled {
  background: none;
  color: var(--ink-3);
  text-decoration: line-through;
}
.tag .arrow {
  margin-left: -2px;
  font-size: 11px;
  opacity: 0.7;
  transition: transform var(--quick) var(--ease);
}
.lrow:hover .tag .arrow {
  transform: translate(1px, -1px);
}
.tag .meter {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 3px;
  height: 1.5px;
  border-radius: 1px;
  background: color-mix(in srgb, currentColor 20%, transparent);
  overflow: hidden;
}
.tag .meter i {
  display: block;
  height: 100%;
  background: currentColor;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  transition: transform 0.8s var(--ease);
}
.tag .pm {
  display: none;
}
.tag .pmark {
  width: 11px;
  height: 11px;
  fill: currentColor;
  display: block;
}
@keyframes breathe {
  from {
    opacity: 0.25;
  }
}

/* ───────── List ───────── */

.views {
  position: relative;
}
.view {
  transition: opacity 0.28s var(--ease), transform 0.4s var(--ease), filter 0.4s var(--ease);
}
.view.is-leaving {
  opacity: 0;
  transform: translateY(6px);
  filter: blur(6px);
}

.list-head,
.lrow {
  display: grid;
  grid-template-columns: var(--cols);
  column-gap: 16px;
  align-items: center;
}
.list-head {
  position: sticky;
  top: var(--bar-h);
  z-index: 3;
  padding: 6px 10px 10px;
  font-size: 12px;
  color: var(--ink-2);
  transition: opacity 0.4s var(--ease);
}
.list-head.is-hidden {
  opacity: 0;
}
.list-head::before {
  content: '';
  position: absolute;
  inset: -2px calc(var(--pad) * -1) -10px;
  z-index: -1;
  background: linear-gradient(var(--paper) 70%, color-mix(in srgb, var(--paper) 0%, transparent));
}
.list-head [data-p] {
  display: flex;
  align-items: center;
  gap: 6px;
}
.list-head .pmark {
  width: 12px;
  height: 12px;
  fill: currentColor;
  animation: fade-in 0.6s var(--ease);
}

.lday + .lday {
  margin-top: 14px;
}
.lday-name {
  margin: 0;
  padding: 10px 10px 6px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 4px;
}
.lday-name b {
  font-weight: 500;
  color: var(--ink);
}
.lday.is-past .lday-name b {
  color: var(--ink-2);
}
.lday-name .today {
  margin-left: 6px;
  padding: 1px 7px 2px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}

.lrow {
  appearance: none;
  width: 100%;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  padding: 7px 10px;
  border-radius: var(--r-m);
  cursor: pointer;
  transition: background var(--quick) var(--ease), opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.lrow:hover,
.lrow.is-open {
  background: var(--wash);
}
.lrow:focus-visible {
  outline-offset: -2px;
}
.lrow.is-entering {
  opacity: 0;
  transform: translateY(6px);
}
.lrow.is-past .lrow-title,
.lrow.is-past .lrow-time {
  color: var(--ink-2);
}

/* The picture leads. A video gets a small play mark. */
.product .cover {
  position: relative;
  width: 40px;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-s);
  overflow: hidden;
  background: var(--wash);
}
.product .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity var(--slow) var(--ease), transform 1s var(--ease);
}
.product .cover img.is-loaded {
  opacity: 1;
}
.lrow:hover .cover img {
  transform: scale(1.06);
}
.product .cover.is-empty::after {
  content: attr(data-letter);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 500;
  color: var(--ink-3);
}
.cover.is-video::before,
.panel-cover.is-video::before {
  content: '';
  position: absolute;
  z-index: 1;
  left: 4px;
  bottom: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) no-repeat 55% 50% / 5px 6px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 6'%3E%3Cpath d='M0 0l5 3-5 3z' fill='%230a0a0a'/%3E%3C/svg%3E");
}

.lrow-piece {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.lrow-title {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lrow-label {
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lrow-time {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.lrow-tags {
  display: contents;
}

/* Now, between two posts: a violet hairline. */
.nowline {
  position: relative;
  height: 0;
  margin: 1px 10px;
}
.nowline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -0.5px;
  height: 1px;
  background: var(--brand);
}
.nowline span {
  position: absolute;
  z-index: 1;
  left: 0;
  top: -8px;
  padding: 0 6px 1px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 15px;
}

.product .earlier {
  position: static;
  padding: 18px 10px 0;
}

/* ───────── Calendar ───────── */

.cal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cal-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cal-month {
  margin: 0;
  min-width: 9.5em;
  text-align: center;
  font-weight: 500;
  font-size: 15px;
}
.step {
  appearance: none;
  position: relative;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: var(--wash);
  color: var(--ink);
  cursor: pointer;
  transition: background var(--quick) var(--ease), color var(--quick) var(--ease);
}
.step i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -2px;
  border: solid currentColor;
  border-width: 0 0 1.4px 1.4px;
  transform: rotate(45deg);
}
.step.is-next i {
  margin-left: -4px;
  transform: rotate(-135deg);
}
.step:hover {
  background: var(--ink);
  color: var(--paper);
}
#cal-today {
  transition: opacity 0.4s var(--ease), background-size var(--quick) var(--ease);
}
#cal-today.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.cal-week,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.cal-week {
  padding: 0 0 6px;
  font-size: 12px;
  color: var(--ink-2);
}
.cal-week span {
  padding-left: 9px;
}
.cal-grid {
  transition: opacity 0.22s var(--ease), transform 0.3s var(--ease), filter 0.3s var(--ease);
}
.cal-grid.is-turning {
  opacity: 0;
  filter: blur(6px);
  transform: translateX(-12px);
}
.cal-grid.is-turning[data-dir='prev'] {
  transform: translateX(12px);
}
.cal-day {
  min-height: 116px;
  padding: 7px 5px 6px;
  border-radius: var(--r-m);
  background: var(--wash);
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  animation: fade-in 0.5s var(--ease) backwards;
}
.cal-day.is-out {
  background: none;
  box-shadow: inset 0 0 0 1px var(--rule);
}
.cal-day.is-out .cal-date {
  color: var(--ink-3);
}
.cal-date {
  padding: 0 4px 3px;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cal-day.is-past .cal-date {
  color: var(--ink-2);
}
.cal-day.is-today {
  box-shadow: inset 0 0 0 1.5px var(--brand);
}
.cal-day.is-today .cal-date::after {
  content: 'Today';
  padding: 0 6px 1px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 10.5px;
  line-height: 15px;
}
.cal-post {
  appearance: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 6px;
  align-items: center;
  gap: 7px;
  padding: 4px 6px 4px 4px;
  border-radius: var(--r-s);
  background: var(--paper);
  cursor: pointer;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.cal-post:hover {
  box-shadow: var(--pop);
  transform: translateY(-1px);
}
.product .cal-cover {
  width: 24px;
  border-radius: 4px;
}
.product .cal-cover.is-video::before {
  display: none;
}
.cal-text {
  min-width: 0;
  display: grid;
  line-height: 1.25;
}
.cal-text b {
  font-weight: 500;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.cal-text span {
  font-size: 11.5px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-post .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
}
.cal-post.is-posted .dot {
  background: var(--t-posted-dot);
}
.cal-post.is-uploading .dot,
.cal-post.is-waiting .dot {
  background: var(--t-move-ink);
  animation: breathe 1.3s var(--ease) infinite alternate;
}
.cal-post.is-failed .dot {
  background: var(--alert);
  border-radius: 1.5px;
}
.cal-post.is-failed {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--alert) 35%, transparent);
}

/* ───────── Panel ───────── */

.product .scrim {
  background: rgba(10, 10, 10, 0.12);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
@media (prefers-color-scheme: dark) {
  .product .scrim {
    background: rgba(0, 0, 0, 0.45);
  }
}
.product .panel {
  top: 8px;
  right: 8px;
  bottom: 8px;
  width: min(520px, calc(100vw - 16px));
  border-radius: var(--r-l);
  box-shadow: var(--shade);
  overflow: hidden;
  transform: translateX(48px);
  filter: blur(12px);
  transition: transform var(--slow) var(--ease), opacity 0.45s var(--ease), filter var(--slow) var(--ease), visibility 0s linear var(--slow);
}
.product .panel.is-open {
  transform: none;
  filter: none;
  transition-delay: 0s;
}
.product .panel-bar {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 12px;
}
.close {
  appearance: none;
  position: relative;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--wash) 86%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  cursor: pointer;
  transition: background var(--quick) var(--ease), color var(--quick) var(--ease), transform 0.5s var(--ease);
}
.close i {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 1.4px;
  margin-top: -0.7px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg);
}
.close i + i {
  transform: rotate(-45deg);
}
.close:hover {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(90deg);
}
.product .panel-body {
  padding: 20px 22px 40px;
}

/* The picture or video first, whole. */
.product .panel-cover {
  position: relative;
  width: fit-content;
  max-width: calc(100% - 40px);
  height: 240px;
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--wash);
}
.product .panel-cover img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity var(--slow) var(--ease);
}
.product .panel-cover img.is-loaded {
  opacity: 1;
}
.panel-cover.is-video::before {
  left: 10px;
  bottom: 10px;
  width: 26px;
  height: 26px;
  background-size: 9px 11px;
}
.product .panel-title {
  margin: 18px 0 0;
  padding-right: 40px;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.product .panel-cover + .panel-title {
  padding-right: 0;
}
.product .panel-when {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--ink-2);
}

.product .target {
  margin-top: 8px;
  padding: 14px 16px 14px;
  border-top: 0;
  border-radius: var(--r-l);
  background: var(--wash);
}
.product .panel-when + .target {
  margin-top: 20px;
}
.product .target-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}
.product .target-head .pmark {
  width: 15px;
  height: 15px;
  fill: currentColor;
  display: block;
}
.product .target-name {
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 6px;
  letter-spacing: 0;
}
.product .target-name span {
  margin: 0;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-2);
}
.product .target-head .tag {
  background: var(--paper);
}
.product .target-head .tag.is-posted {
  background: var(--t-posted-bg);
}
.product .target-head .tag.is-failed {
  background: var(--t-fail-bg);
}
.product .target-head .tag.is-uploading,
.product .target-head .tag.is-processing,
.product .target-head .tag.is-waiting {
  background: var(--t-move-bg);
}
.product .words {
  margin-top: 10px;
}
.product .words-title {
  margin: 0 0 4px;
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.35;
}
.product .words-caption {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: none;
}
.product .words-caption.is-folded {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product .fold {
  margin-top: 6px;
  font-size: 13px;
}
.target-foot {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.format {
  color: var(--ink);
}
.file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}
.file span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file i {
  flex: none;
  width: 9px;
  height: 11px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1.2px currentColor;
}
.file em {
  font-style: normal;
}
.product .target-link {
  margin: 0 0 0 auto;
  font-weight: 500;
  font-size: 12.5px;
  color: var(--ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 1px;
  transition: background-size var(--quick) var(--ease);
}
.product .target-link:hover {
  background-size: 100% 1px;
}

/* Why it did not go out: one sentence on the paper, then Try again. */
.product .trouble {
  margin: 10px 0 0;
  padding: 12px 14px 14px;
  border-left: 0;
  border-radius: var(--r-m);
  background: var(--paper);
}
.product .trouble-why {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
}
.trouble-do {
  margin-top: 10px;
}
.product .button {
  font-size: 13px;
  padding: 7px 13px 8px;
}

.product .actions {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}
.product .button.ghost.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.product .text-button {
  font-size: 13px;
}
.product .cancel {
  transition: color 0.4s var(--ease), background-size var(--quick) var(--ease);
}
.product .cancel.is-armed {
  color: var(--alert);
  font-weight: 500;
}
.product .move {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  width: 100%;
  transition: grid-template-rows 0.5s var(--ease), opacity 0.4s var(--ease);
}
.product .move.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}
.product .move > div {
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.product .move input {
  appearance: none;
  border: 0;
  background: var(--wash);
  border-radius: 999px;
  padding: 7px 14px 8px;
  font: inherit;
  font-size: 13.5px;
  color: var(--ink);
  color-scheme: light dark;
  margin: 4px 0;
  transition: box-shadow var(--quick) var(--ease);
}
.product .move input:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.product .says {
  font-size: 13px;
  color: var(--ink-2);
  width: 100%;
  margin: 0;
  min-height: 0;
}
.product .says.alert {
  color: var(--alert);
}
.product .says:not(:empty) {
  margin-top: 6px;
  animation: says-in 0.5s var(--ease);
}
@keyframes says-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}

/* Contents follow the panel in, one after another. */
.product .rise {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.product .panel.is-settled .rise {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 45ms);
}
.product .panel-body {
  transition: opacity 0.25s var(--ease);
}
.product .panel-body.is-swapping {
  opacity: 0;
}

/* ───────── Accounts ───────── */

.product .panel-note {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 44ch;
}
.panel-note.is-message {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
}
.panel-note .dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--t-posted-dot);
  transform: translateY(-1px);
}
.panel-note.is-alert .dot {
  background: var(--alert);
  border-radius: 1.5px;
}
.accounts {
  margin-top: 18px;
  display: grid;
  gap: 6px;
}
.product .account,
.product .account:first-of-type {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 10px 12px 14px;
  border: 0;
  border-radius: var(--r-m);
  background: var(--wash);
  min-height: 0;
}
.account-mark {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}
.account-text {
  min-width: 0;
}
.product .account h3 {
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
}
.product .account p {
  margin: 1px 0 0;
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: none;
}
.product .account p b {
  font-weight: 400;
  color: var(--ink);
}
.product .account .side {
  grid-column: auto;
  grid-row: auto;
  align-self: center;
  display: flex;
  justify-content: flex-end;
  min-width: 32px;
}
.product .account .quiet {
  font-size: 12.5px;
  color: var(--ink-3);
}

/* The ⋯ button that opens an account's menu. */
.more {
  appearance: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--r-s);
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--quick) var(--ease);
}
.more i {
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: currentColor;
}
.more:hover,
.more.is-active {
  background: var(--paper);
}

/* ───────── Signed out: the field on the left, a picture on the right ───────── */

.product .lede {
  padding: 0;
  max-width: none;
}
.product .headline {
  margin: 0;
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.011em;
}
.product .subline {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 40ch;
}
.product .headline,
.product .subline {
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.product .is-changing {
  opacity: 0;
  transform: translateY(4px);
}
.is-signed-out main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  min-height: 100svh;
  padding-top: var(--bar-h);
  padding-bottom: 40px;
}
.is-signed-out.product .app {
  padding-bottom: 0;
}
.product .start {
  margin-top: 26px;
  max-width: 28em;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.product .start.is-leaving {
  opacity: 0;
  transform: translateY(6px);
}
.product .start-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: var(--wash);
  transition: box-shadow var(--quick) var(--ease);
}
.product .start-row:focus-within {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.product .start input {
  appearance: none;
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  padding: 7px 12px 8px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.product .start input::placeholder {
  color: var(--ink-3);
}
.product .start .says {
  padding-left: 16px;
}
.product .start-done {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 500;
}
.door {
  margin: 0;
  height: min(72svh, 720px);
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--wash);
}
.door img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
  display: block;
  opacity: 0;
  transform: scale(1.06);
  filter: blur(14px);
  transition: opacity 1s var(--ease), transform 1.6s var(--ease), filter 1.2s var(--ease);
}
.door img.is-loaded {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Logging out: the page eases away before it goes. */
.is-leaving-app .app {
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease);
}

/* ───────── The empty list: a fortnight in outline, a picture coming down into its day ───────── */

.still {
  margin: 12px 0 64px;
  width: min(460px, 100%);
  aspect-ratio: 16 / 9;
  position: relative;
  animation: fade-in 1s var(--ease) backwards;
}
.still-says {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 18px 0 0;
  max-width: 30em;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
  animation: fade-in 1s 0.4s var(--ease) backwards;
}
.still-says b {
  font-weight: 500;
  color: var(--ink);
}
.still.is-leaving {
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.still svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.still .iso-face,
.still .iso-line,
.still .iso-slot {
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
}
.still .iso-face {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 0.5;
}
.still .iso-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 0.5;
}
.still .iso-shade {
  fill: var(--ink);
  fill-opacity: 0.08;
}
.still .iso-slot {
  fill: var(--violet-wash);
  stroke: var(--brand);
  stroke-width: 0.8;
}

/* The roll on the buttons' words, the same as the website's. */
.product .roll {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.2em 0.06em 0.3em;
  margin: -0.2em -0.06em -0.3em;
}
.product .roll > span {
  display: inline-block;
  position: relative;
  transition: transform 0.55s var(--ease);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.product .roll > span::after {
  content: attr(data-w);
  position: absolute;
  left: 0;
  top: 170%;
}
.product .button:hover .roll > span,
.product .button:focus-visible .roll > span {
  transform: translateY(-170%);
}

/* ───────── Smaller screens ───────── */

@media (max-width: 900px) {
  .list-head {
    display: none;
  }
  /* Each post: the picture, its words and time; the four platforms below as tags with their marks. */
  .lrow {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    row-gap: 8px;
    align-items: start;
  }
  .lrow-tags {
    grid-column: 2 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .lrow-tags .tag.is-none {
    display: none;
  }
  .tag.with-mark .pm {
    display: block;
  }
  .lrow-time {
    padding-top: 1px;
  }
  .cal-day {
    min-height: 84px;
    padding: 5px 3px;
  }
  .cal-post {
    grid-template-columns: minmax(0, 1fr);
    padding: 2px;
    background: none;
  }
  .cal-post:hover {
    box-shadow: none;
  }
  .cal-text,
  .cal-post .dot {
    display: none;
  }
  .product .cal-cover {
    width: 100%;
    max-width: 44px;
  }
  .cal-day.is-today .cal-date::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .product {
    --bar-h: 52px;
  }
  .tabs {
    margin-left: auto;
  }
  .me {
    margin-left: 0;
  }
  .page-head {
    align-items: flex-start;
  }
  .stats .next {
    flex-basis: 100%;
    margin: 4px 0 0;
  }
  .cal-week span {
    padding-left: 4px;
  }
  .cal-day {
    min-height: 64px;
  }
  .product .panel {
    top: auto;
    left: 6px;
    right: 6px;
    bottom: 6px;
    width: auto;
    height: calc(100svh - 40px);
    transform: translateY(56px);
  }
  .product .panel.is-open {
    transform: none;
  }
  .product .panel-body {
    padding: 16px 16px 36px;
  }
  .product .panel-cover {
    height: 200px;
  }
  .is-signed-out main {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 32px;
    padding-top: calc(var(--bar-h) + 20px);
  }
  .door {
    order: -1;
    height: 34svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product .panel,
  .menu,
  .view,
  .cal-grid {
    filter: none !important;
  }
}

/* Tags keep their own width inside the list's columns. */
.lrow-tags > .tag {
  justify-self: start;
}
.nowline {
  margin: 9px 10px;
}

/* Calendar, picture-led: each post fills its share of the day with its cover, time and title over it. */
@media (min-width: 901px) {
  .cal-day {
    min-height: 132px;
  }
  .cal-post {
    position: relative;
    flex: 1;
    min-height: 52px;
    display: block;
    padding: 0;
    overflow: hidden;
    background: var(--paper);
  }
  .product .cal-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
  }
  .cal-post:hover .cal-cover img {
    transform: scale(1.05);
  }
  .cal-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 8px 6px;
    background: linear-gradient(rgba(10, 10, 10, 0), rgba(10, 10, 10, 0.62));
    color: #fff;
  }
  .cal-text span {
    color: rgba(255, 255, 255, 0.86);
  }
  .cal-post .dot {
    position: absolute;
    top: 6px;
    right: 6px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
  }
  .cal-post.is-scheduled .dot {
    background: #fff;
    box-shadow: 0 0 0 1.5px rgba(10, 10, 10, 0.35);
  }
  .cal-post.is-failed {
    box-shadow: inset 0 0 0 2px var(--alert);
  }
  .cal-post.is-failed .cal-cover {
    inset: 2px;
    width: auto;
    height: auto;
    border-radius: 7px;
  }
}
.cal-day.is-out {
  background: none;
  box-shadow: none;
}
.cal-day.is-past .cal-post .cal-cover img.is-loaded {
  opacity: 0.7;
}
/* On a phone the platform's mark says which tag is which; its colour says the state. */
@media (max-width: 900px) {
  .tag.with-mark .dot {
    display: none;
  }
  .tag.with-mark {
    gap: 5px;
  }
}
/* Words over a picture: a deeper shade at the foot so they always read. */
@media (min-width: 901px) {
  .cal-text {
    padding-top: 26px;
    background: linear-gradient(rgba(10, 10, 10, 0), rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.78));
  }
}

/* The bar's right side: Accounts, then the person. */
.bar-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fade-in 0.6s var(--ease) backwards;
}
.bar-tools .me {
  margin-left: 0;
}
.product .accounts-button {
  padding: 6px 13px 7px;
}

/* The bar and the list's column heads sit on solid paper; only a short blurred fade at their foot,
   so nothing shows through between them. */
.bar::before {
  inset: 0;
  background: var(--paper);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.bar::after,
.list-head::after {
  content: '';
  position: absolute;
  top: 100%;
  height: 22px;
  z-index: -1;
  background: linear-gradient(var(--paper), color-mix(in srgb, var(--paper) 0%, transparent));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(#000, transparent);
  mask-image: linear-gradient(#000, transparent);
  pointer-events: none;
}
.bar::after {
  left: 0;
  right: 0;
}
.list-head {
  padding-top: 14px;
  margin-top: -8px;
}
.list-head::before {
  inset: 0 calc(var(--pad) * -1);
  background: var(--paper);
}
.list-head::after {
  left: calc(var(--pad) * -1);
  right: calc(var(--pad) * -1);
}

/* ───────── Upload: the composer ───────── */

.product .upload-button {
  padding: 6px 14px 7px;
}
.c-scrim {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(10, 10, 10, 0.16);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.c-scrim.is-open {
  opacity: 1;
}
.composer {
  position: fixed;
  z-index: 21;
  left: 50%;
  top: 50%;
  width: min(1120px, calc(100vw - 32px));
  height: min(840px, calc(100svh - 32px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-radius: var(--r-l);
  background: var(--paper);
  box-shadow: var(--shade);
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 24px)) scale(0.985);
  filter: blur(10px);
  transition: opacity 0.4s var(--ease), transform 0.55s var(--ease), filter 0.5s var(--ease);
}
.composer.is-open {
  opacity: 1;
  transform: translate(-50%, -50%);
  filter: none;
}
.c-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 4px 24px;
}
.c-head h2 {
  margin: 0;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.005em;
}
.c-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 0;
}
.c-media,
.c-form {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 24px 24px;
}
.c-media {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.c-form {
  padding-left: 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* The drop zone: a soft grey well that lights up violet when a file is held over it. */
.c-drop {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  min-height: 300px;
  padding: 28px;
  border-radius: var(--r-l);
  background: var(--wash);
  text-align: center;
  cursor: pointer;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), min-height 0.5s var(--ease);
}
.c-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.c-drop b {
  font-weight: 500;
  font-size: 15px;
}
.c-drop > span:not(.c-drop-art) {
  max-width: 26em;
  font-size: 13px;
  color: var(--ink-2);
}
.c-drop:hover,
.c-drop:focus-within {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.c-drop.is-over {
  background: var(--violet-wash);
  box-shadow: inset 0 0 0 1.5px var(--brand);
}
.c-drop.is-small {
  min-height: 64px;
  padding: 14px;
  grid-auto-flow: column;
  gap: 10px;
}
.c-drop.is-small > span:not(.c-drop-art) {
  display: none;
}
.c-drop.is-done {
  display: none;
}
/* Three cards fanned out, the same outline drawings as the website. */
.c-drop-art {
  position: relative;
  width: 64px;
  height: 52px;
  margin-bottom: 8px;
}
.c-drop-art i {
  position: absolute;
  left: 18px;
  top: 4px;
  width: 30px;
  height: 38px;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--ink);
  transition: transform 0.6s var(--ease);
}
.c-drop-art i:nth-child(1) {
  transform: rotate(-12deg) translateX(-12px);
}
.c-drop-art i:nth-child(3) {
  transform: rotate(12deg) translateX(12px);
  background: var(--brand);
  box-shadow: none;
}
.c-drop:hover .c-drop-art i:nth-child(1),
.c-drop.is-over .c-drop-art i:nth-child(1) {
  transform: rotate(-18deg) translateX(-18px) translateY(2px);
}
.c-drop:hover .c-drop-art i:nth-child(3),
.c-drop.is-over .c-drop-art i:nth-child(3) {
  transform: rotate(18deg) translateX(18px) translateY(2px);
}
.c-drop.is-small .c-drop-art {
  width: 34px;
  height: 28px;
  margin: 0;
  transform: scale(0.6);
  transform-origin: center;
}

/* The preview: the video with its cover frame, the pictures, or the PDF. */
.c-preview:empty {
  display: none;
}
.c-preview {
  animation: says-in 0.6s var(--ease);
}
.c-frame {
  display: grid;
  place-items: center;
  border-radius: var(--r-l);
  background: #0a0a0a;
  overflow: hidden;
  height: min(46svh, 420px);
}
.c-frame video {
  max-width: 100%;
  max-height: 100%;
  display: block;
}
.c-scrub {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 3em;
  align-items: center;
  gap: 12px;
  padding: 12px 4px 2px;
  font-size: 13px;
}
.c-scrub > span:first-child {
  color: var(--ink-2);
}
.c-frame-time {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.c-scrub input[type='range'] {
  appearance: none;
  -webkit-appearance: none;
  height: 22px;
  background: none;
  margin: 0;
}
.c-scrub input[type='range']::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: var(--wash);
}
.c-scrub input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 1.5px var(--ink), 0 2px 6px rgba(10, 10, 10, 0.18);
}
.c-scrub input[type='range']::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: var(--wash);
}
.c-scrub input[type='range']::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 1.5px var(--ink);
}
.c-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.c-pic {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--wash);
}
.c-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.c-pic img.is-loaded {
  opacity: 1;
}
.c-pic span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 10, 0.5);
  color: #fff;
  font-weight: 500;
}
.c-doc {
  display: grid;
  place-items: center;
  gap: 14px;
  height: 260px;
  border-radius: var(--r-l);
  background: var(--wash);
  font-size: 13px;
}
.c-doc i {
  width: 70px;
  height: 90px;
  border-radius: 8px;
  background: var(--paper) linear-gradient(var(--rule), var(--rule)) no-repeat 14px 22px / 42px 1px;
  box-shadow: inset 0 0 0 1px var(--ink), 6px 6px 0 -1px var(--paper), 6px 6px 0 0 var(--ink);
}

/* The files going up: name, how far along, a thin violet bar, remove. */
.c-files {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.c-file {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 10px;
  padding: 9px 6px 11px 12px;
  border-radius: var(--r-m);
  background: var(--wash);
  font-size: 13px;
  overflow: hidden;
  animation: says-in 0.45s var(--ease);
}
.c-file.is-cover {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-right: 12px;
}
.c-file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.c-file-state {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.c-file.is-failed .c-file-state {
  color: var(--alert);
  white-space: normal;
}
.c-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 1px;
  overflow: hidden;
  background: var(--violet-wash);
  transition: opacity 0.6s var(--ease) 0.3s;
}
.c-bar i {
  display: block;
  height: 100%;
  background: var(--brand);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  transition: transform 0.4s var(--ease);
}
.c-file.is-ready .c-bar {
  opacity: 0;
}
.c-remove {
  appearance: none;
  position: relative;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink-2);
  cursor: pointer;
  transition: background var(--quick) var(--ease), color var(--quick) var(--ease);
}
.c-remove i {
  position: absolute;
  left: 9px;
  right: 9px;
  top: 50%;
  height: 1.3px;
  background: currentColor;
  transform: rotate(45deg);
}
.c-remove i + i {
  transform: rotate(-45deg);
}
.c-remove:hover {
  background: var(--paper);
  color: var(--ink);
}
.c-cover:empty {
  display: none;
}
.c-cover {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.c-cover-add {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: var(--r-m);
  box-shadow: inset 0 0 0 1px var(--rule);
  font-size: 13px;
  cursor: pointer;
  transition: box-shadow var(--quick) var(--ease);
}
.c-cover-add:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.c-cover-add input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.c-cover-add b {
  font-weight: 500;
}
.c-cover-add span {
  color: var(--ink-2);
}
.c-cover-pic {
  width: 56px;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-s);
  overflow: hidden;
  background: var(--wash);
}
.c-cover-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-cover-text {
  display: flex;
  align-items: center;
  gap: 10px;
}
.c-cover-text .c-file {
  flex: 1;
}

/* The form: fields with a plain label, inputs on grey. */
.c-field {
  display: grid;
  gap: 7px;
  position: relative;
}
.c-field > label {
  font-size: 13px;
  font-weight: 500;
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.c-field > label span {
  font-weight: 400;
  color: var(--ink-2);
}
.c-input {
  appearance: none;
  width: 100%;
  border: 0;
  border-radius: var(--r-m);
  background: var(--wash);
  padding: 10px 12px 11px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  color-scheme: light dark;
  transition: box-shadow var(--quick) var(--ease), background var(--quick) var(--ease);
}
.c-input::placeholder {
  color: var(--ink-3);
}
.c-input:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.c-text {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}
.c-when-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.c-when {
  display: flex;
  gap: 6px;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.c-when.is-hidden {
  opacity: 0;
  transform: translateX(-6px);
  pointer-events: none;
}
.c-when .c-input {
  width: auto;
  padding: 7px 12px 8px;
  border-radius: 999px;
}
.c-seg {
  width: fit-content;
}
.c-seg.is-wrap {
  flex-wrap: wrap;
  border-radius: var(--r-m);
}
.c-seg.is-wrap .seg-pill {
  display: none;
}
.c-seg.is-wrap button.is-on {
  background: var(--pill);
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.07);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.c-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 44ch;
}

/* Where it goes: one chip per platform, ticked when chosen. */
.c-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.c-chip {
  appearance: none;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--r-m);
  background: var(--wash);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.35s var(--ease);
}
.c-chip .pmark {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}
.c-chip-text {
  display: grid;
  min-width: 0;
  line-height: 1.3;
}
.c-chip-text b {
  font-weight: 500;
  font-size: 13.5px;
}
.c-chip-text span {
  font-size: 12px;
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.c-tick {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--ink-3);
  position: relative;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.c-tick::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3.5px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg) scale(0.4);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.c-chip.is-on {
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.c-chip.is-on .c-tick {
  background: var(--ink);
  box-shadow: none;
}
.c-chip.is-on .c-tick::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
  border-color: var(--paper);
}
.c-chip:disabled {
  cursor: default;
  opacity: 0.45;
}
.c-chip:not(:disabled):not(.is-on):hover {
  box-shadow: inset 0 0 0 1px var(--ink-3);
}

/* One tab per chosen platform; the panel below holds its words and settings. */
.c-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: -8px;
  transition: opacity 0.3s var(--ease);
}
.c-tabs.is-hidden {
  display: none;
}
.c-tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 8px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.c-tab .pmark {
  width: 13px;
  height: 13px;
  fill: currentColor;
  display: block;
}
.c-tab .dot {
  width: 6px;
  height: 6px;
  border-radius: 1.5px;
  background: var(--alert);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.c-tab.has-error .dot {
  opacity: 1;
  transform: none;
}
.c-tab:hover {
  color: var(--ink);
}
.c-tab.is-on {
  background: var(--wash);
  color: var(--ink);
}
.c-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border-radius: var(--r-l);
  box-shadow: inset 0 0 0 1px var(--rule);
  transition: opacity 0.18s var(--ease), transform 0.25s var(--ease);
}
.c-panel.is-swapping {
  opacity: 0;
  transform: translateY(4px);
}
.c-empty {
  margin: 0;
  color: var(--ink-2);
  font-size: 13.5px;
}
.c-under {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 18px;
}
.c-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s var(--ease);
}
.c-field > .c-count {
  position: absolute;
  right: 0;
  top: 0;
}
.c-count.is-over {
  color: var(--alert);
}
.c-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.c-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
}
.c-toggle input {
  position: absolute;
  opacity: 0;
}
.c-toggle i {
  position: relative;
  width: 30px;
  height: 18px;
  border-radius: 999px;
  background: var(--rule);
  transition: background 0.3s var(--ease);
}
.c-toggle i::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.2);
  transition: transform 0.35s var(--ease);
}
.c-toggle input:checked + i {
  background: var(--ink);
}
.c-toggle input:checked + i::after {
  transform: translateX(12px);
}
.c-toggle input:focus-visible + i {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* What the check found: orange for what stops it, grey for what is only worth a look. */
.c-issues {
  list-style: none;
  margin: -4px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.c-issues:empty {
  display: none;
}
.c-issues li {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr);
  align-items: baseline;
  gap: 9px;
  font-size: 13px;
  line-height: 1.45;
  animation: says-in 0.4s var(--ease);
}
.c-issues .dot {
  width: 6px;
  height: 6px;
  border-radius: 1.5px;
  background: var(--alert);
  transform: translateY(-1px);
}
.c-issues .is-warning {
  color: var(--ink-2);
}
.c-issues .is-warning .dot {
  border-radius: 50%;
  background: var(--ink-3);
}

/* The foot: what will happen, and the button. */
.c-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 14px 16px 16px 24px;
  box-shadow: 0 -1px 0 var(--rule);
}
.c-foot-text {
  min-width: 0;
}
.c-summary {
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
}
.c-foot .says {
  margin: 2px 0 0;
  min-height: 1.3em;
}
.c-foot .says:not(:empty) {
  margin-top: 2px;
}
.c-foot-do {
  display: flex;
  gap: 8px;
  flex: none;
}
.product .c-go[disabled] {
  opacity: 0.35;
  pointer-events: auto;
  cursor: not-allowed;
}

@media (max-width: 860px) {
  .composer {
    left: 6px;
    right: 6px;
    top: auto;
    bottom: 6px;
    width: auto;
    height: calc(100svh - 24px);
    transform: translateY(48px);
  }
  .composer.is-open {
    transform: none;
  }
  .c-body {
    grid-template-columns: minmax(0, 1fr);
    overflow-y: auto;
  }
  .c-media,
  .c-form {
    overflow: visible;
    padding: 10px 16px 16px;
  }
  .c-drop {
    min-height: 200px;
  }
  .c-frame {
    height: 38svh;
  }
  .c-foot {
    padding: 12px 12px 14px 16px;
  }
  .product .upload-button {
    padding: 6px 12px 7px;
  }
}
@media (max-width: 420px) {
  .c-chips {
    grid-template-columns: minmax(0, 1fr);
  }
  .bar-tools {
    gap: 6px;
  }
}
/* Refinements: quieter chosen chips, the issues first in a panel, the video kept whole. */
.c-chip.is-on {
  box-shadow: inset 0 0 0 1px var(--ink-3);
}
.c-issues {
  margin: 0;
}
.c-frame video {
  width: auto;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 860px) {
  .c-body {
    display: block;
  }
}
/* The video sits whole inside its frame, whatever its shape. */
.c-frame {
  position: relative;
}
.c-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

/* ───────── Claude or ChatGPT ───────── */

/* Connected: one quiet line in the bar, a lime dot and the agent's name. */
.agent-on {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 6px;
  font-size: 12.5px;
  color: var(--ink-2);
  animation: fade-in 0.6s var(--ease) backwards;
}
.agent-on .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--t-posted-dot);
}
.menu-note.is-quiet {
  padding-top: 0;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ink-2);
}

/* Not connected: a calm card above the schedule. */
.agent {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 20px 40px;
  margin: 0 0 26px;
  padding: 22px 24px 24px;
  border-radius: var(--r-l);
  background: var(--wash);
  animation: says-in 0.6s var(--ease) backwards;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), filter 0.3s var(--ease);
}
.agent.is-leaving {
  opacity: 0;
  transform: translateY(-4px);
  filter: blur(4px);
}
.agent.is-tucked {
  display: block;
  padding: 0;
  background: none;
}
.agent-marks {
  display: inline-flex;
}
.agent-marks .pm {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px var(--wash);
}
.agent-marks .pm + .pm {
  margin-left: -7px;
}
.agent-marks .pmark {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.agent-marks .pm:first-child .pmark {
  fill: #d97757;
}
.agent-intro h2 {
  margin: 14px 0 0;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.004em;
}
.agent-intro p {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 36ch;
}
.agent-address {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 4px 4px 4px 14px;
  border-radius: 999px;
  background: var(--paper);
  max-width: 460px;
}
.agent-address code,
.agent-code code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: inherit;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.product .button.copy {
  flex: none;
  padding: 6px 12px 7px;
  font-size: 12.5px;
  background: var(--wash);
  border-color: var(--wash);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.product .button.copy.is-done {
  background: var(--t-posted-bg);
  border-color: transparent;
  color: var(--t-posted-ink);
}
.agent-how-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.agent-tabs {
  background: var(--paper);
}
.agent-tabs .seg-pill {
  background: var(--wash);
  box-shadow: none;
}
.agent-steps {
  margin-top: 14px;
  transition: opacity 0.18s var(--ease), transform 0.25s var(--ease);
}
.agent-steps.is-swapping {
  opacity: 0;
  transform: translateY(3px);
}
.agent-steps ol {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.agent-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 13.5px;
  line-height: 1.45;
}
.agent-steps li::before {
  content: counter(step);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  font-size: 11.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  transform: translateY(4px);
}
.agent-steps b {
  font-weight: 500;
}
.agent-steps > p {
  margin: 0 0 8px;
  font-size: 13.5px;
}
.agent-code {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 6px 8px 14px;
  border-radius: var(--r-m);
  background: var(--paper);
}
.agent-code code {
  white-space: normal;
  overflow-wrap: anywhere;
}
/* Tucked away: one line that opens it again. */
.agent-line {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 14px 8px 8px;
  border: 0;
  border-radius: 999px;
  background: var(--wash);
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  animation: says-in 0.5s var(--ease) backwards;
  transition: box-shadow 0.3s var(--ease);
}
.agent-line b {
  font-weight: 500;
  color: var(--ink);
}
.agent-line .agent-marks .pm {
  width: 24px;
  height: 24px;
}
.agent-line .agent-marks .pmark {
  width: 12px;
  height: 12px;
}
.agent-open {
  margin-left: auto;
  color: var(--ink);
  font-weight: 500;
}
.agent-line:hover {
  box-shadow: inset 0 0 0 1px var(--ink-3);
}
@media (max-width: 900px) {
  .agent {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }
  .agent-on {
    display: none;
  }
}
@media (max-width: 560px) {
  .agent-line > span:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .agent-how-head {
    flex-wrap: wrap;
  }
}
.agent-open {
  white-space: nowrap;
}
.agent-line > span:nth-child(2) {
  min-width: 0;
}

/* ───────── Sign in with Google ───────── */

.product .button.google {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 20px 8px 7px;
  font-size: 15px;
}
.google-g {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff no-repeat center / 16px 16px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E");
  box-shadow: 0 0 0 1px rgba(10, 10, 10, 0.08);
  flex: none;
}
.signin-says {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.45;
  max-width: 34em;
  animation: says-in 0.6s var(--ease) 0.2s backwards;
}
.signin-says:empty {
  display: none;
}
.signin-says .dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 1.5px;
  background: var(--alert);
  transform: translateY(-1px);
}
.signin-says.is-waiting .dot {
  border-radius: 50%;
  background: var(--brand);
}
.waitlist-wrap {
  margin-top: 28px;
}
.waitlist {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.5s var(--ease), opacity 0.4s var(--ease);
}
.waitlist > div {
  min-height: 0;
  overflow: hidden;
}
.waitlist.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}
.waitlist .start-row {
  margin-top: 12px;
  max-width: 28em;
}
.waitlist.is-leaving > div {
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.waitlist .start-done {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 400;
}

/* ───────── Composer: recent uploads and files from a link ───────── */

.c-extras {
  display: grid;
  gap: 8px;
  transition: opacity 0.3s var(--ease);
}
.c-extras.is-hidden {
  display: none;
}
.c-extras-row {
  display: flex;
  gap: 6px;
}
.c-more {
  appearance: none;
  border: 0;
  padding: 6px 12px 7px;
  border-radius: 999px;
  background: none;
  box-shadow: inset 0 0 0 1px var(--rule);
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.c-more:hover {
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink-3);
}
.c-more.is-on {
  background: var(--wash);
  box-shadow: none;
  color: var(--ink);
}
.c-tray {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.45s var(--ease), opacity 0.3s var(--ease);
}
.c-tray.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}
.c-tray-body {
  min-height: 0;
  overflow: hidden;
}
.c-recent {
  list-style: none;
  margin: 0;
  padding: 4px;
  display: grid;
  gap: 2px;
  max-height: 240px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: var(--r-m);
  background: var(--wash);
}
.c-recent-wait {
  padding: 10px 10px 11px;
  font-size: 13px;
  color: var(--ink-2);
}
.c-recent-item {
  appearance: none;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 6px 10px 6px 6px;
  border: 0;
  border-radius: var(--r-s);
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  animation: says-in 0.4s var(--ease) backwards;
  transition: background 0.25s var(--ease);
}
.c-recent-item:hover {
  background: var(--paper);
}
.c-recent-item img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}
.c-recent-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.c-recent-meta {
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
}
/* The kind of file, drawn small: a frame with a play mark, a picture, a page. */
.c-kind {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.c-kind::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
}
.c-kind.is-video::after {
  margin: -4px 0 0 -2px;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent var(--ink);
}
.c-kind.is-images::after {
  width: 12px;
  height: 9px;
  margin: -4.5px 0 0 -6px;
  border-radius: 2px;
  background: var(--brand);
}
.c-kind.is-pdf::after {
  width: 9px;
  height: 12px;
  margin: -6px 0 0 -4.5px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1.2px var(--ink);
}
.c-link {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: var(--r-m);
  background: var(--wash);
  transition: opacity 0.3s var(--ease);
}
.c-link .c-input {
  background: var(--paper);
}
.c-link-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.c-link .button {
  flex: none;
}
.c-link.is-busy .c-link-row {
  opacity: 0.6;
}
.c-link .says {
  margin: 0;
}
.c-doc em {
  font-style: normal;
  font-size: 12px;
  color: var(--ink-2);
  margin-top: -8px;
}
.c-doc.is-video i {
  width: 96px;
  height: 64px;
  background: var(--paper) no-repeat center / 14px 16px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 6'%3E%3Cpath d='M0 0l5 3-5 3z' fill='%230a0a0a'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1px var(--ink);
}
.c-pic.is-named {
  display: grid;
  place-items: center;
  padding: 8px;
}
.c-pic.is-named b {
  font-weight: 400;
  font-size: 11.5px;
  color: var(--ink-2);
  text-align: center;
  overflow-wrap: anywhere;
}
.c-drop:focus-within {
  box-shadow: none;
}
.c-drop:hover,
.c-drop:has(input:focus-visible) {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.c-drop.is-small {
  justify-content: center;
}
.c-drop.is-small .c-drop-art {
  margin-right: 14px;
}

/* The connect card's three entries, worded and marked as on the website. */
.agent-intro-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.agent-marks .pm:first-child .pmark {
  fill: currentColor;
}
.agent-entries {
  display: grid;
  gap: 8px;
}
.agent-entries article {
  padding: 14px 16px 16px;
  border-radius: var(--r-m);
  background: var(--paper);
}
.agent-entries h3 {
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
}
.agent-entries h3 .pmark {
  width: 14px;
  height: 14px;
  fill: currentColor;
  display: block;
}
.agent-entries p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.agent-entries .agent-code {
  margin-top: 10px;
  background: var(--wash);
}
.agent-entries .agent-code code {
  font-size: 12.5px;
}
.agent-entries .button.copy {
  background: var(--paper);
  border-color: var(--paper);
}

/* ───────── Connect: a small chip, the details in a small window ───────── */

.agent {
  display: block;
  margin: 0 0 18px;
  padding: 0;
  background: none;
  border-radius: 0;
}
.agent-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 7px 14px 7px 8px;
  border: 0;
  border-radius: var(--r-m);
  background: var(--wash);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  animation: says-in 0.5s var(--ease) backwards;
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.agent-chip:hover {
  box-shadow: inset 0 0 0 1px var(--ink-3);
}
.agent-chip-text {
  display: grid;
  min-width: 0;
  line-height: 1.3;
}
.agent-chip-text b {
  font-weight: 500;
  font-size: 13.5px;
}
.agent-chip-text span {
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* A small chevron that turns to point at the window it opens. */
.agent-chip-more {
  flex: none;
  width: 6px;
  height: 6px;
  margin-left: 4px;
  border: solid var(--ink-2);
  border-width: 0 1.3px 1.3px 0;
  transform: rotate(-45deg);
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.agent-chip:hover .agent-chip-more {
  transform: translateX(2px) rotate(-45deg);
  border-color: var(--ink);
}

/* The agents' marks, overlapping like on the website, stepping apart on hover. */
.agent-stack {
  display: flex;
  align-items: center;
  flex: none;
}
.agent-stack i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--rule);
  display: grid;
  place-items: center;
  margin-left: -9px;
  transition: margin 0.55s var(--ease);
}
.agent-stack i:first-child {
  margin-left: 0;
}
.agent-stack i:nth-child(2) {
  transition-delay: 40ms;
}
.agent-stack i:nth-child(3) {
  transition-delay: 80ms;
}
.agent-stack i:nth-child(4) {
  transition-delay: 120ms;
}
.agent-chip:hover .agent-stack i:not(:first-child) {
  margin-left: -2px;
}
.agent-stack .pmark {
  width: 12px;
  height: 12px;
  fill: currentColor;
  display: block;
}

.agent-modal {
  position: fixed;
  z-index: 21;
  left: 50%;
  top: 50%;
  width: min(480px, calc(100vw - 24px));
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 20px 20px;
  border-radius: var(--r-l);
  background: var(--paper);
  box-shadow: var(--shade);
  opacity: 0;
  transform: translate(-50%, calc(-50% + 16px)) scale(0.98);
  filter: blur(8px);
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease), filter 0.45s var(--ease);
}
.agent-modal.is-open {
  opacity: 1;
  transform: translate(-50%, -50%);
  filter: none;
}
.agent-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.agent-modal h2 {
  margin: 14px 0 0;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.004em;
}
.agent-modal-sub {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.agent-modal .agent-address {
  margin-top: 14px;
  max-width: none;
  background: var(--wash);
}
.agent-modal .agent-address .button.copy {
  background: var(--paper);
  border-color: var(--paper);
}
.agent-modal .agent-entries {
  margin-top: 12px;
  gap: 6px;
}
.agent-modal .agent-entries article {
  padding: 12px 14px 14px;
  background: var(--wash);
}
.agent-modal .agent-entries .agent-code {
  background: var(--paper);
}
.agent-modal .agent-entries .button.copy {
  background: var(--wash);
  border-color: var(--wash);
}
@media (max-width: 560px) {
  .agent-modal {
    left: 6px;
    right: 6px;
    top: auto;
    bottom: 6px;
    width: auto;
    transform: translateY(40px);
  }
  .agent-modal.is-open {
    transform: none;
  }
}

/* ───────── The empty list: centred, quieter, following the mouse ───────── */

.still {
  margin: clamp(24px, 6vh, 64px) auto 64px;
  width: min(520px, 100%);
  aspect-ratio: auto;
  display: grid;
  justify-items: center;
}
.still-art {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.still-art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.still .iso-face {
  stroke: var(--ink-3);
}
.still .iso-line {
  stroke: var(--ink-3);
}
.still .iso-shade {
  fill-opacity: 0.06;
}
.still-says {
  position: static;
  margin: 22px 0 0;
  max-width: 30em;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* No page scrollbar: switching between a long list and a short month never shifts the width.
   The page still scrolls with a trackpad, wheel or keys; inner panels keep a thin one. */
html:has(body.product) {
  scrollbar-width: none;
}
html:has(body.product)::-webkit-scrollbar {
  display: none;
}
.product .panel-body,
.composer .c-media,
.composer .c-form,
.agent-modal,
.c-recent {
  scrollbar-width: thin;
}

/* ───────── The date and time picker ───────── */

.when {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 9px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--wash);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.when:hover,
.when.is-active {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
/* A small calendar page, drawn. */
.when-icon {
  position: relative;
  width: 14px;
  height: 13px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1.3px currentColor;
}
.when-icon::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 3px;
  height: 1.3px;
  background: currentColor;
}
.when-icon::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  width: 3px;
  height: 3px;
  border-radius: 1px;
  background: var(--brand);
}
.picker {
  min-width: 0;
  width: min(440px, calc(100vw - 16px));
  padding: 14px;
  z-index: 40;
}
.picker-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
}
.picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.picker-head b {
  font-weight: 500;
  font-size: 13.5px;
}
.picker .step {
  width: 26px;
  height: 26px;
}
.picker .step[disabled] {
  opacity: 0.3;
  pointer-events: none;
}
.picker-week,
.picker-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
}
.picker-week span {
  text-align: center;
  font-size: 11px;
  color: var(--ink-3);
  padding-bottom: 4px;
}
.picker-grid {
  transition: opacity 0.16s var(--ease), transform 0.22s var(--ease);
}
.picker-grid.is-turning {
  opacity: 0;
  transform: translateX(-8px);
}
.picker-grid.is-turning[data-dir='prev'] {
  transform: translateX(8px);
}
.picker-day {
  appearance: none;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.picker-day:hover {
  background: var(--wash);
}
.picker-day.is-today {
  box-shadow: inset 0 0 0 1.3px var(--brand);
}
.picker-day.is-on {
  background: var(--ink);
  color: var(--paper);
}
.picker-day[disabled] {
  color: var(--ink-3);
  cursor: default;
  background: none;
}
.picker-time {
  display: flex;
  align-items: stretch;
  gap: 2px;
  padding-left: 14px;
  box-shadow: -1px 0 0 var(--rule);
}
.picker-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 232px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px;
  scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}
.picker-opt {
  appearance: none;
  flex: none;
  width: 42px;
  padding: 6px 0 7px;
  border: 0;
  border-radius: var(--r-s);
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.picker-opt:hover {
  background: var(--wash);
  color: var(--ink);
}
.picker-opt.is-on {
  background: var(--ink);
  color: var(--paper);
}
.picker-colon {
  align-self: center;
  color: var(--ink-3);
}
.picker-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  box-shadow: 0 -1px 0 var(--rule);
}
.picker-says {
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s var(--ease);
}
.picker-says.is-alert {
  color: var(--alert);
}
.product .picker-done {
  padding: 6px 14px 7px;
}
@media (max-width: 480px) {
  .picker-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .picker-time {
    padding: 10px 0 0;
    box-shadow: 0 -1px 0 var(--rule);
    justify-content: center;
  }
  .picker-col {
    flex-direction: row;
    height: auto;
    width: 100%;
    overflow-x: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  }
  .picker-time {
    flex-direction: column;
  }
  .picker-colon {
    display: none;
  }
}
.c-when .when {
  padding-top: 7px;
  padding-bottom: 8px;
}

/* ───────── Previews ───────── */

.product .cover video,
.tile-cover video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity var(--slow) var(--ease), transform 1s var(--ease);
}
.product .cover video.is-loaded {
  opacity: 1;
}
.lrow:hover .cover video,
.cal-post:hover .cal-cover video {
  transform: scale(1.05);
}
.panel-media {
  position: relative;
  margin-right: 44px;
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--wash);
  animation: says-in 0.6s var(--ease);
}
.panel-media.is-video {
  width: fit-content;
  max-width: calc(100% - 44px);
  height: 340px;
  background: #0a0a0a;
}
.panel-media.is-video video {
  height: 100%;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--slow) var(--ease);
}
.panel-media.is-video video.is-loaded {
  opacity: 1;
}
/* Quiet controls: a round play button, sound, and a thin line that fills. */
.pm-play {
  appearance: none;
  position: absolute;
  left: 12px;
  bottom: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.pm-play i {
  position: absolute;
  left: 14px;
  top: 11px;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #0a0a0a;
  transition: border-width 0.25s var(--ease);
}
.is-playing .pm-play i {
  left: 12px;
  width: 12px;
  height: 14px;
  border: 0;
  border-left: 4px solid #0a0a0a;
  border-right: 4px solid #0a0a0a;
}
.is-playing .pm-play {
  opacity: 0;
}
.panel-media.is-video:hover .pm-play {
  opacity: 1;
}
.pm-play:hover {
  transform: scale(1.06);
}
.pm-sound {
  appearance: none;
  position: absolute;
  right: 10px;
  bottom: 14px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.45) no-repeat center / 14px 14px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.4' stroke-linejoin='round'%3E%3Cpath d='M2 6h3l4-3v10l-4-3H2z'/%3E%3Cpath d='M11.5 5.5a3.5 3.5 0 0 1 0 5M13.5 3.5a6.3 6.3 0 0 1 0 9' stroke-linecap='round'/%3E%3C/svg%3E");
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.panel-media.is-video:hover .pm-sound,
.is-muted .pm-sound {
  opacity: 1;
}
.is-muted .pm-sound {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.4' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M2 6h3l4-3v10l-4-3H2z'/%3E%3Cpath d='M11 6l4 4M15 6l-4 4'/%3E%3C/svg%3E");
}
.pm-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.pm-bar i {
  display: block;
  height: 100%;
  background: #fff;
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  transition: transform 0.25s linear;
}
.panel-media.is-pictures {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  background: none;
  margin-right: 44px;
}
.pm-pic {
  position: relative;
  flex: none;
  height: 300px;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--wash);
  scroll-snap-align: start;
}
.pm-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--slow) var(--ease);
}
.pm-pic img.is-loaded {
  opacity: 1;
}
.pm-pic span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 8px 3px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.5);
  color: #fff;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}
.panel-media.is-doc {
  display: grid;
  place-items: center;
  gap: 12px;
  height: 200px;
  font-size: 13px;
}
.panel-media.is-doc i {
  width: 56px;
  height: 72px;
  border-radius: 7px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.panel-media + .panel-title {
  padding-right: 0;
}
@media (max-width: 560px) {
  .panel-media.is-video {
    height: 280px;
  }
  .pm-pic {
    height: 240px;
  }
}

/* Platforms already going out, shown in Edit but not changeable. */
.c-chip.is-locked {
  opacity: 0.55;
}

/* ───────── No scrollbars anywhere in the app ───────── */
/* Every list, panel and window still scrolls; none of them takes width for a bar. */
.product,
.product * {
  scrollbar-width: none !important;
}
.product *::-webkit-scrollbar,
html:has(body.product)::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
/* After a disconnection: the same chip, with a small orange mark on the stack. */
.agent-chip.is-lost .agent-stack {
  position: relative;
}
.agent-chip.is-lost .agent-stack::after {
  content: '';
  position: absolute;
  left: 18px;
  top: -1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--alert);
  box-shadow: 0 0 0 2px var(--wash);
}
@media (max-width: 480px) {
  .picker-col {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Agents, under the accounts. */
.agents-block {
  margin-top: 26px;
}
.agents-title {
  margin: 0 0 10px;
  font-weight: 500;
  font-size: 14px;
}
.agents-block .accounts {
  margin-top: 0;
}
.product .agent-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
}
.agent-row > .pm .pmark {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}
.agent-row .agent-stack i {
  width: 22px;
  height: 22px;
  margin-left: -7px;
}
.agent-row .agent-stack i:first-child {
  margin-left: 0;
}
.agent-row .agent-stack .pmark {
  width: 11px;
  height: 11px;
}
.agent-any {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.4px currentColor;
}

/* ───────── Tag colours, revised: Scheduled is purple ─────────
   Scheduled takes the identity's violet. What is moving (uploading to Listo, checking, sending,
   processing) goes neutral with a breathing dot and a thin fill, so the two never look alike.
   Posted stays green, failed and stopped stay orange. */
.product {
  --t-sched-bg: rgba(72, 0, 241, 0.09);
  --t-sched-ink: #4800f1;
  --t-move-bg: var(--wash);
  --t-move-ink: var(--ink);
}
@media (prefers-color-scheme: dark) {
  .product {
    --t-sched-bg: rgba(141, 107, 255, 0.16);
    --t-sched-ink: #ab92ff;
    --t-move-bg: #222;
    --t-move-ink: var(--ink);
  }
}
.tag.is-scheduled .dot {
  opacity: 1;
  background: var(--t-sched-ink);
}
.tag.is-preparing,
.tag.is-checking {
  background: var(--t-move-bg);
  color: var(--t-move-ink);
}
.tag.is-preparing .dot,
.tag.is-checking .dot {
  opacity: 1;
  animation: breathe 1.1s var(--ease) infinite alternate;
}
.tag.is-checking .dot {
  border-radius: 1.5px;
  animation: breathe 0.7s var(--ease) infinite alternate;
}
.tag.is-stopped {
  background: var(--t-fail-bg);
  color: var(--t-fail-ink);
}
.tag.is-stopped .dot {
  opacity: 1;
  border-radius: 1.5px;
}
.tag.is-preparing .meter,
.tag.is-uploading .meter {
  background: color-mix(in srgb, currentColor 14%, transparent);
}
.tag .meter i {
  transition: none;
}
.product .target-head .tag.is-scheduled {
  background: var(--t-sched-bg);
}
.product .target-head .tag.is-preparing,
.product .target-head .tag.is-checking {
  background: var(--paper);
}
.product .target-head .tag.is-stopped {
  background: var(--t-fail-bg);
}
/* Calendar: a scheduled post's dot is purple; one still getting its files breathes. */
@media (min-width: 901px) {
  .cal-post.is-scheduled .dot {
    background: var(--t-sched-ink);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
  }
}
.cal-post.is-scheduled .dot {
  background: var(--t-sched-ink);
}
.cal-post.is-preparing .dot {
  background: #fff;
  animation: breathe 1.1s var(--ease) infinite alternate;
}
/* A row that has just arrived eases in from a blur. */
.lrow.is-new {
  transition: background var(--quick) var(--ease), opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.lrow.is-new.is-entering {
  filter: blur(6px);
  transform: translateY(10px);
}
.tag {
  background: var(--wash);
  color: var(--ink-2);
}
.tag.is-scheduled {
  background: var(--t-sched-bg);
  color: var(--t-sched-ink);
}
.tag.is-none {
  background: none;
}
.tag.is-cancelled {
  background: none;
}
.tag.is-quiet {
  background: var(--paper);
  color: var(--ink-2);
}
