@import url(https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500&display=swap);
@import url(https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;1,400;1,500&family=IBM+Plex+Sans+Condensed:wght@600&display=swap);
@import url(https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700&display=swap);
.qtr-pbtn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 13px;
  border-radius: 7px;
  border: 1px solid var(--pill-line, #b8b4a8);
  background: transparent;
  color: var(--ink, #2a2a26);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.qtr-pbtn:hover { border-color: rgba(200, 85, 61, 0.75); background: rgba(200, 85, 61, 0.08); }
.qtr-pbtn:focus-visible { outline: 1.5px solid var(--ink, #2a2a26); outline-offset: 2px; }
.qtr-pbtn:disabled { cursor: progress; opacity: 0.7; }
.qtr-pbtn-caret {
  margin-right: 7px;
  color: #c8553d;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.qtr-pbtn.is-primary {
  border-color: #c8553d;
  background: #c8553d;
  color: #fff8f2;
  font-weight: 500;
}
/* On the filled chip the caret takes the chip's own paper colour, so it still reads. */
.qtr-pbtn.is-primary .qtr-pbtn-caret { color: inherit; }
.qtr-pbtn.is-primary:hover:not(:disabled) { border-color: #d6664d; background: #d6664d; }
.qtr-pbtn.is-primary:active:not(:disabled) { border-color: #b24a33; background: #b24a33; }

.qtr-pbtn.is-lg { min-height: 42px; padding: 9px 17px; font-size: 16px; }
.qtr-pbtn.is-lg.is-primary { padding: 9px 20px; }

@media (prefers-reduced-motion: reduce) {
  .qtr-pbtn { transition: none; }
}

.qtr-cookie {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  max-width: 340px;
  padding: 16px 18px 14px;
  border-radius: 10px;
  background: #fafaf7;
  color: #2a2a26;
  box-shadow: 0 18px 44px rgba(31, 27, 18, 0.35), 0 2px 8px rgba(31, 27, 18, 0.18);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  animation: qtr-cookie-in 0.5s cubic-bezier(0.3, 0.8, 0.3, 1) both;
}

.qtr-cookie-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #2a2a26;
}

.qtr-cookie-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.qtr-cookie-more:focus-visible {
  outline: 2px solid #2a2a26;
  outline-offset: 2px;
}

.qtr-cookie-more {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: #8c877a;
  text-decoration: underline;
  text-decoration-color: #d6d3c8;
  text-underline-offset: 3px;
}
.qtr-cookie-more:hover {
  color: #2a2a26;
  text-decoration-color: #2a2a26;
}

@keyframes qtr-cookie-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .qtr-cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .qtr-cookie { animation: none; }
}

/* The desk's dialog (DESIGN.md: papers, the front card's shadow, chips). Portaled to <body>, so it carries the
   Settings desk skin's paper values itself rather than borrowing --an-* from a card. */

.qtr-pdlg-overlay {
  -webkit-app-region: no-drag;
  position: fixed;
  inset: 0;
  z-index: 2147483645;
  background: rgba(26, 27, 18, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: qtr-pdlg-veil 0.4s cubic-bezier(0.3, 0.8, 0.3, 1);
}

.qtr-pdlg-pos {
  -webkit-app-region: no-drag;
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}

.qtr-pdlg {
  --paper: #f5f0e4;
  --ink: #2e2a22;
  --muted: #6f675a;
  --rule: rgba(46, 42, 34, 0.22);
  --pill-line: rgba(46, 42, 34, 0.22);

  pointer-events: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 24px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(46, 42, 34, 0.07);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  text-align: left;
  animation: qtr-pdlg-in 0.42s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.qtr-pdlg:focus { outline: none; }

.qtr-pdlg-title {
  flex: none;
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}

.qtr-pdlg-lead,
.qtr-pdlg-foot { flex: none; }

.qtr-pdlg-scroll {
  flex: 0 1 auto;
  min-height: 0;
  margin: -2px -24px;
  padding: 0 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    linear-gradient(var(--paper) 30%, transparent) center top / 100% 28px no-repeat local,
    linear-gradient(transparent, var(--paper) 70%) center bottom / 100% 28px no-repeat local,
    radial-gradient(farthest-side at 50% 0, rgba(46, 42, 34, 0.18), transparent) center top / 100% 10px no-repeat scroll,
    radial-gradient(farthest-side at 50% 100%, rgba(46, 42, 34, 0.18), transparent) center bottom / 100% 10px no-repeat scroll;
}
.qtr-pdlg-scroll:not(.is-fit) { margin-top: 12px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.qtr-pdlg-scroll:not(.is-fit) + .qtr-pdlg-actions { margin-top: 16px; }
.qtr-pdlg-scroll.is-fit { overflow: visible; }
.qtr-pdlg-flow { display: flow-root; padding: 2px 0; }

.qtr-pdlg-body {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.qtr-pdlg-body strong { font-weight: 500; color: var(--ink); }

.qtr-pdlg-fields { margin-top: 18px; display: grid; gap: 14px; }

.qtr-pdlg-label {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
}

/* Settings-on-desk's input: 34px, hairline border, radius 8, Plex Sans 13px. */
.qtr-pdlg-input,
.qtr-pdlg-select {
  display: block;
  width: 100%;
  height: 34px;
  margin-top: 6px;
  padding: 0 10px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  outline: none;
}
.qtr-pdlg-input:focus-visible,
.qtr-pdlg-select:focus-visible { border-color: var(--ink); }
.qtr-pdlg-select:disabled { opacity: 0.6; }

.qtr-pdlg-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px -10px 0;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 120ms ease;
}
.qtr-pdlg-check:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.qtr-pdlg-check:has(input:disabled) { cursor: default; }
.qtr-pdlg-check:has(input:disabled):hover { background: transparent; }
.qtr-pdlg-check input {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  flex: none;
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  border: 1.5px solid color-mix(in srgb, var(--ink) 45%, transparent);
  border-radius: 50%;
  background: transparent center / 10px 10px no-repeat;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.qtr-pdlg-check:hover .qtr-pdlg-box:not(:disabled) { border-color: var(--ink); }
.qtr-pdlg-check input:checked {
  border-color: var(--ink);
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23fbf8f1%27 stroke-width=%273.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%2720 6 9 17 4 12%27/%3E%3C/svg%3E");
}
.qtr-pdlg-check input:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; }
.qtr-pdlg-check input:disabled { opacity: 0.5; cursor: default; }
.qtr-pdlg-check small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

.qtr-pdlg-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.qtr-pdlg-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.qtr-pdlg-list li::before {
  content: "·";
  display: inline-block;
  width: 14px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.qtr-pdlg-actions {
  flex: none;
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.qtr-pdlg-actions-start {
  margin-right: auto;
  align-self: center;
}

@keyframes qtr-pdlg-veil { from { opacity: 0; } to { opacity: 1; } }
@keyframes qtr-pdlg-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .qtr-pdlg, .qtr-pdlg-overlay { animation: none; }
}

.qtr-pdlg { position: relative; }
/* The film grain Settings and the desk wear, so every desk dialog reads as the same card stock. */
.qtr-pdlg::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 width=%27180%27 height=%27180%27><filter id=%27n%27><feTurbulence type=%27fractalNoise%27 baseFrequency=%270.85%27 numOctaves=%272%27 stitchTiles=%27stitch%27/><feColorMatrix type=%27saturate%27 values=%270%27/></filter><rect width=%27180%27 height=%27180%27 filter=%27url%28%23n%29%27 opacity=%270.5%27/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.09;
  z-index: 3;
}
.qtr-pdlg.is-sheet { max-width: 520px; }
.qtr-pdlg.is-wide { max-width: 460px; }
/* The share sheet reuses Settings' people pieces, which theme through CSS vars; remap them to the dialog's paper, ink
   and Plex Sans (mono only for labels) so the sheet reads as a desk dialog, not Settings. Settings' own skin is untouched. */
.qtr-pdlg.is-sheet {
  --font-mono: "IBM Plex Sans", system-ui, sans-serif;
  --settings-label-font: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --settings-surface: var(--paper);
  --settings-border: var(--rule);
  --settings-border-strong: var(--rule);
  --settings-hover-bg: color-mix(in srgb, var(--ink) 6%, transparent);
  --settings-dropdown-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  --settings-danger: #c8553d;
  --settings-danger-wash: rgba(200, 85, 61, 0.10);
  --grey-900: var(--ink);
  --grey-700: var(--muted);
  --grey-600: var(--muted);
}
/* Settings-on-desk's close: the paper tuck-chip, the desk's corner control. */
.qtr-pdlg-x { position: absolute; top: 12px; right: 14px; z-index: 4; width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(46, 42, 34, 0.20); border-radius: 50%; background: #efe7d6; color: var(--muted); cursor: pointer; transition: background 150ms ease, color 150ms ease; }
.qtr-pdlg-x:hover { color: var(--ink); background: #e7ddc8; }
.qtr-pdlg-x:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; }

.qtr-pdlg.qtr-pdlg-wide { max-width: 560px; }

.qtr-update-slip {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 10000;
  padding: 11px 16px;
  border-radius: 3px;
  background: #fbfaf3;
  color: #2a2a26;
  box-shadow: 0 10px 28px rgba(31, 27, 18, 0.28), 0 1px 4px rgba(31, 27, 18, 0.16);
  transform: rotate(1.5deg);
  animation: qtr-update-slip-in 0.5s ease-out both;
}

.qtr-update-slip p { margin: 0; }

.qtr-update-slip-title {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 15px;
  color: #2a2a26;
}

.qtr-update-slip-version {
  margin-top: 2px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  color: #57574a;
}

.qtr-update-slip-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

@keyframes qtr-update-slip-in {
  from { opacity: 0; transform: translateY(-14px) rotate(1.5deg); }
  to { opacity: 1; transform: translateY(0) rotate(1.5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .qtr-update-slip { animation: none; }
}

.qtr-update-slip-link {
  align-self: center;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.qtr-update-slip-link:hover { text-decoration: underline; }

/* The OS decides drags from the region before the page sees the event, so pointer-events can't
   pass clicks through: anything under the strip would start a window drag instead. So the page
   starts below the strip (clear of the window buttons too), and whatever still lands in the band
   (a fixed overlay, a dialog) is marked no-drag. */
.qtr-window-drag {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  z-index: 1;
  pointer-events: none;
  -webkit-app-region: drag;
}

body.qtr-drag-off .qtr-window-drag {
  -webkit-app-region: no-drag;
}

body.has-window-strip #root {
  padding-top: 36px;
  box-sizing: border-box;
}

/* Full-window layouts size themselves off the viewport, not #root; take the strip off them so
   they still fit the window instead of scrolling by 36px. */
body.has-window-strip #root .h-screen {
  height: calc(100vh - 36px);
}
body.has-window-strip #root .min-h-screen,
body.has-window-strip .qtr-pdesk {
  min-height: calc(100vh - 36px);
}

/* The band shows the body, so the dark paper-desk pages (login, apps, welcome) get their edge
   colour there rather than a light stripe. */
body.has-window-strip.has-pdesk {
  background: #33352a;
}

body.has-window-strip :is(button, a, input, select, textarea, [role="button"], [role="menu"], [role="dialog"]) {
  -webkit-app-region: no-drag;
}

.qtr-pdesk {
  --pd-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pd-sans: "IBM Plex Sans", system-ui, sans-serif;
  --pd-ease: cubic-bezier(0.3, 0.8, 0.3, 1);

  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(640px circle at var(--lx, 62%) var(--ly, 38%), rgba(255, 228, 184, 0.06), transparent 62%),
    radial-gradient(ellipse at 50% 40%, rgba(66, 69, 54, 0), #2e3025 130%),
    #3a3c2f;
  font-family: var(--pd-sans);
  isolation: isolate;
}

.qtr-pdesk::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 width=%27180%27 height=%27180%27><filter id=%27n%27><feTurbulence type=%27fractalNoise%27 baseFrequency=%270.85%27 numOctaves=%272%27 stitchTiles=%27stitch%27/><feColorMatrix type=%27saturate%27 values=%270%27/></filter><rect width=%27180%27 height=%27180%27 filter=%27url%28%23n%29%27 opacity=%270.5%27/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.14;
  z-index: 1;
}

.qtr-pdesk-brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 34px 0;
}
.qtr-pdesk-home {
  display: block;
  border-radius: 4px;
}
.qtr-pdesk-home:focus-visible {
  outline: 2px solid rgba(243, 241, 232, 0.7);
  outline-offset: 4px;
}
.qtr-pdesk-logo {
  display: block;
  height: 28px;
  width: auto;
}
.qtr-pdesk-rule {
  width: 1px;
  height: 16px;
  background: rgba(243, 241, 232, 0.18);
}
.qtr-pdesk-line {
  font-family: var(--pd-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #a9a690;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .qtr-pdesk-brand { padding: 20px 20px 0; }
  .qtr-pdesk-rule,
  .qtr-pdesk-line { display: none; }
}

.qtr-pdesk.is-inset {
  min-height: 60vh;
  height: 100%;
}

.qtr-dn-stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 72px;
}

.qtr-dn-card {
  --paper: #fafaf7;
  --ink: #2a2a26;
  --muted: #8c877a;
  --rule: #d6d3c8;
  --pill-line: #b8b4a8;

  width: 100%;
  max-width: 420px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(-0.8deg);
  animation: qtr-dn-deal 0.6s var(--pd-ease) both;
}

@keyframes qtr-dn-deal {
  from { opacity: 0; transform: translateY(48px) rotate(-1.8deg); }
  to { opacity: 1; transform: translateY(0) rotate(-0.8deg); }
}

.qtr-dn-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 22px 26px 0;
  font-family: var(--pd-mono);
}
.qtr-dn-label {
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qtr-dn-name {
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
}

.qtr-dn-body {
  padding: 48px 26px 30px;
}
.qtr-dn-mark {
  display: flex;
  margin-bottom: 16px;
}
.qtr-dn-title {
  margin: 0;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.qtr-dn-body p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}
.qtr-dn-body a:not(.qtr-pbtn) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--pill-line);
  text-underline-offset: 3px;
}

.qtr-dn-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
}
.qtr-dn-body a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .qtr-dn-stage { align-items: flex-start; padding: 28px 16px 40px; }
  .qtr-dn-card { transform: none; animation-name: qtr-dn-deal-flat; }
}

@keyframes qtr-dn-deal-flat {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .qtr-dn-card { animation: none; }
}

.qtr-dn-body p.qtr-dn-muted { color: var(--muted); }

.qtr-select-pop > .qtr-select-menu {
  scrollbar-color: auto;
  scrollbar-width: auto;
}
.qtr-select-menu::-webkit-scrollbar {
  width: 10px;
}
.qtr-select-menu::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
.qtr-select-menu::-webkit-scrollbar-track {
  background: transparent;
}
.qtr-select-menu::-webkit-scrollbar-thumb {
  background: rgba(46, 42, 34, 0.22);
  border: 3px solid transparent;
  border-radius: 10px;
  background-clip: padding-box;
}
.qtr-select-menu::-webkit-scrollbar-thumb:hover {
  background-color: rgba(46, 42, 34, 0.36);
}
@supports not selector(::-webkit-scrollbar) {
  .qtr-select-pop > .qtr-select-menu {
    scrollbar-width: thin;
    scrollbar-color: rgba(46, 42, 34, 0.28) transparent;
  }
}

.qtr-select-pop.is-rich {
  padding-left: 4px;
  padding-right: 4px;
}

.dropdown-menu-item.qtr-select-row {
  justify-content: space-between;
  gap: 12px;
  min-height: 32px;
  padding: 0 8px 0 10px;
  margin: 0;
  white-space: nowrap;
  line-height: 1.2;
}

.qtr-select-row-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}
.qtr-select-row-label {
  flex-shrink: 0;
}
.qtr-select-row-detail {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11.5px;
  opacity: 0.58;
}

.qtr-select-row-end {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.qtr-select-row-hint {
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  opacity: 0.6;
}
.qtr-select-row-check {
  display: inline-flex;
  width: 14px;
  justify-content: center;
}

.qtr-select-heading {
  padding: 8px 10px 4px;
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  opacity: 0.55;
}

.qtr-ro {
  --ro-ink: var(--ink, var(--grey-900));
  --ro-muted: var(--muted, var(--grey-700));
  --ro-rule: var(--rule, var(--settings-border));
  margin-top: 16px;
  display: grid;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ro-muted);
}

.qtr-ro-label {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ro-ink);
}

.qtr-ro-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.qtr-ro-offer {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 10px 12px;
  border: 1px solid var(--ro-rule);
  border-radius: 8px;
}

.qtr-ro-text {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.qtr-ro-title {
  font-weight: 500;
  color: var(--ro-ink);
}

.qtr-ro-terms { font-size: 12px; text-wrap: pretty; }

.qtr-ro-take.qtr-pbtn {
  flex: none;
  min-height: 30px;
  padding: 0 12px;
  font-size: 13px;
  white-space: nowrap;
}

.qtr-ro-problem {
  margin: 0;
  font-size: 12px;
}

.qtr-ro-help-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  color: var(--ink, var(--grey-900));
  text-decoration: underline;
  text-underline-offset: 2px;
}
.qtr-ro-problem { color: #b3402a; }
.qtr-ro-reason { margin-top: 18px; }

@media (max-width: 420px) {
  .qtr-ro-offer { flex-direction: column; }
}

.qtr-ro-reason-label {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink, var(--grey-900));
}

.qtr-ro-select { max-width: 300px; }

.qtr-bill {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-family: var(--font-mono);
  color: var(--grey-900);
}

.qtr-bill-plan {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.qtr-bill-mark {
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--settings-border);
  border-radius: 10px;
  box-sizing: border-box;
}

.qtr-bill-plan-name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--grey-900);
}

.qtr-bill-plan-detail,
.qtr-bill-plan-status {
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--grey-700);
}

.qtr-bill-plan-status { font-size: 12px; }
.qtr-bill-plan-status.is-alert { color: var(--settings-danger); }

.qtr-bill-plan-action { align-self: center; }

.qtr-bill-block {
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--settings-border);
}

.qtr-bill-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.qtr-bill-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-900);
}

.qtr-bill-sub {
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--grey-700);
}

.qtr-bill-card,
.qtr-bill-cancel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qtr-bill-cancel {
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--settings-border);
}


.qtr-bill-card-name {
  font-size: 13px;
  color: var(--grey-900);
}

.qtr-bill-card-exp {
  margin-top: 2px;
  font-size: 12px;
  color: var(--grey-700);
}

.qtr-bill-table {
  display: grid;
  font-size: 13px;
}

.qtr-bill-row {
  display: grid;
  grid-template-columns: minmax(96px, 1.3fr) minmax(70px, 0.9fr) minmax(70px, 1fr) minmax(96px, 1fr);
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid var(--settings-border);
  color: var(--grey-900);
}

.qtr-bill-row.is-head {
  padding-top: 0;
  border-top: none;
  font-size: 12px;
  color: var(--grey-700);
}

.qtr-bill-row .is-alert { color: var(--settings-danger); }

.qtr-bill-row a {
  color: var(--grey-900);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.qtr-bill-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.qtr-bill-danger {
  flex: none;
  height: 30px;
  padding: 0 14px;
  border: none;
  border-radius: 8px;
  background: var(--settings-danger-wash);
  color: var(--settings-danger);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

.qtr-bill-danger:hover:not(:disabled) { filter: brightness(0.96); }
.qtr-bill-danger:focus-visible { outline: 1.5px solid var(--settings-danger); outline-offset: 2px; }
.qtr-bill-danger:disabled { opacity: 0.55; cursor: not-allowed; }

.qtr-usage {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-family: var(--font-mono);
  color: var(--grey-900);
}

.qtr-usage-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qtr-usage-heading {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.qtr-usage-summary {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--settings-border);
  font-size: 13px;
  line-height: 1.5;
}

.qtr-usage-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--settings-border);
  font-size: 13px;
  color: var(--grey-700);
}

@media (max-width: 560px) {
  .qtr-bill-plan { grid-template-columns: 44px minmax(0, 1fr); }
  .qtr-bill-plan-action { grid-column: 2; }
}

.qtr-rt-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.qtr-rt-tabs { display: flex; gap: 4px; }
.qtr-rt-tab {
  height: 30px;
  padding: 0 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--grey-700);
  font-family: var(--font-mono);
  font-size: 13px;
  cursor: pointer;
}
.qtr-rt-tab:hover { color: var(--grey-900); }
.qtr-rt-tab[aria-selected="true"] { background: var(--settings-hover-bg); color: var(--grey-900); }

.qtr-rt-pop { position: relative; display: inline-flex; }
.qtr-rt-menu {
  position: absolute;
  top: calc(100% + 6px);
  z-index: 20;
  min-width: 200px;
  padding: 5px;
  border: 1px solid var(--settings-border);
  border-radius: 10px;
  background: var(--settings-surface);
  box-shadow: 0 12px 30px rgba(46, 42, 34, 0.16);
}
.qtr-rt-menu.is-right { right: 0; }
.qtr-rt-menu.is-left { left: 0; }
.qtr-rt-menu button {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--grey-900);
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.qtr-rt-menu button:hover, .qtr-rt-menu button:focus-visible { background: var(--settings-hover-bg); outline: none; }
.qtr-rt-menu button.is-danger { color: var(--settings-danger); }
.qtr-rt-menu button > svg { flex: none; margin-top: 1px; color: var(--grey-700); }
.qtr-rt-menu button.is-danger > svg { color: var(--settings-danger); }
.qtr-rt-menu small { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.45; color: var(--grey-700); }
.qtr-rt-menu hr { margin: 4px 2px; border: none; border-top: 1px solid var(--settings-border); }

.qtr-rt-list { display: grid; gap: 10px; }
.qtr-rt-card {
  position: relative;
  padding: 14px 48px 14px 16px;
  border: 1px solid var(--settings-border);
  border-radius: 12px;
  cursor: pointer;
  transition: background 150ms ease;
}
.qtr-rt-card:hover { background: var(--settings-hover-bg); }
.qtr-rt-card-name {
  padding: 0;
  border: none;
  background: none;
  color: var(--grey-900);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.qtr-rt-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.qtr-rt-card .qtr-rt-pop { position: absolute; top: 10px; right: 10px; }
.qtr-rt-more {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--grey-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 120ms ease, background 120ms ease;
}
.qtr-rt-card:hover .qtr-rt-more,
.qtr-rt-card:focus-within .qtr-rt-more,
.qtr-rt-more[aria-expanded="true"] { opacity: 1; }
.qtr-rt-more:hover, .qtr-rt-more[aria-expanded="true"] { background: var(--settings-surface); color: var(--grey-900); }

.qtr-rt-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 0 8px; text-align: center; }
.qtr-rt-wave { display: block; width: 100%; height: 10px; margin: 26px 0 18px; color: var(--settings-border-strong); }

.qtr-rt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 4px 12px; }
.qtr-rt-tpl {
  position: relative;
  display: flex;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  container-type: inline-size;
  transition: background 150ms ease;
}
.qtr-rt-tpl:hover, .qtr-rt-tpl:focus-visible { background: var(--settings-hover-bg); outline: none; }
.qtr-rt-icon {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--settings-hover-bg);
  color: var(--grey-700);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qtr-rt-tpl:hover .qtr-rt-icon, .qtr-rt-tpl:focus-visible .qtr-rt-icon { background: var(--settings-surface); color: var(--grey-900); }
.qtr-rt-icon .is-plus { display: none; }
.qtr-rt-tpl:hover .qtr-rt-icon .is-plus, .qtr-rt-tpl:focus-visible .qtr-rt-icon .is-plus { display: block; }
.qtr-rt-tpl:hover .qtr-rt-icon .is-glyph, .qtr-rt-tpl:focus-visible .qtr-rt-icon .is-glyph { display: none; }
.qtr-rt-tpl-text { min-width: 0; padding-bottom: 2px; }
.qtr-rt-peek { display: none; }
@container (min-width: 400px) {
  .qtr-rt-tpl-text.has-peek { padding-right: 150px; }
  .qtr-rt-peek { display: block; }
}
.qtr-rt-peek {
  position: absolute;
  right: 12px;
  bottom: -22px;
  width: 140px;
  padding: 8px 10px 26px;
  border: 1px solid var(--settings-border);
  border-radius: 8px;
  background: var(--settings-surface);
  box-shadow: 0 8px 20px rgba(46, 42, 34, 0.14);
  color: var(--grey-900);
  font-family: var(--font-mono);
  font-size: 10.5px;
  opacity: 0;
  transform: translateY(14px) rotate(-2deg);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}
.qtr-rt-tpl:hover .qtr-rt-peek, .qtr-rt-tpl:focus-visible .qtr-rt-peek { opacity: 1; transform: translateY(0) rotate(-2deg); }
.qtr-rt-peek b { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 600; }
.qtr-rt-peek i { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-style: normal; color: var(--grey-700); }
.qtr-rt-peek i > span { flex: 1; height: 5px; border-radius: 3px; background: var(--settings-border-strong); }
.qtr-rt-peek i > em { flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1.2px solid var(--grey-700); }
.qtr-rt-peek i > em.is-done { background: var(--settings-accent); border-color: var(--settings-accent); }

.qtr-rt-box { border: 1px solid var(--settings-border); border-radius: 10px; background: var(--settings-surface); overflow: hidden; }
.qtr-rt-box textarea {
  display: block;
  width: 100%;
  min-height: 110px;
  padding: 10px 12px;
  border: none;
  outline: none;
  resize: vertical;
  background: transparent;
  color: var(--grey-900);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
}
.qtr-rt-box-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; border-top: 1px solid var(--settings-border); background: var(--settings-hover-bg); }
.qtr-rt-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--grey-900);
  font-family: var(--font-mono);
  font-size: 12.5px;
  cursor: pointer;
}
.qtr-rt-ghost:hover, .qtr-rt-ghost[aria-expanded="true"] { background: var(--settings-surface); }

.qtr-rt-days { display: flex; gap: 6px; flex-wrap: wrap; }
.qtr-rt-day {
  width: 34px;
  height: 34px;
  border: 1px solid var(--settings-border-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--grey-900);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
}
.qtr-rt-day:hover { background: var(--settings-hover-bg); }
.qtr-rt-day[aria-pressed="true"] { border-color: var(--settings-accent); background: var(--settings-accent); color: #fbf8f1; }

.qtr-rt-note { padding: 10px 12px; border: 1px solid var(--settings-border); border-radius: 10px; color: var(--grey-700); font-family: var(--font-mono); font-size: 12.5px; line-height: 1.55; }

@media (prefers-reduced-motion: reduce) {
  .qtr-rt-peek, .qtr-rt-card, .qtr-rt-tpl, .qtr-rt-more { transition: none; }
}

.an-slipcal { padding: 4px 6px 8px; min-width: 232px; }
.an-slipcal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--an-mono);
  font-size: 11.5px;
  color: var(--ink);
  padding: 2px 2px 8px;
}
.an-slipcal-head button {
  border: none;
  background: none;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  padding: 0 8px;
}
.an-slipcal-head button:hover { color: var(--ink); }
.an-slipcal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.an-slipcal-grid i {
  font-style: normal;
  font-family: var(--an-mono);
  font-size: 9px;
  color: var(--muted);
  text-align: center;
  padding-bottom: 3px;
}
.an-slipcal-grid button {
  border: none;
  background: none;
  font-family: var(--an-mono);
  font-size: 11px;
  color: var(--ink);
  width: 28px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
}
.an-slipcal-grid button:hover { background: rgba(38, 39, 31, 0.08); }
.an-slipcal-grid button.is-out { color: var(--muted); opacity: 0.45; }
.an-slipcal-grid button.is-disabled { opacity: 0.2; cursor: default; }
.an-slipcal-grid button.is-today { box-shadow: inset 0 0 0 1.5px var(--an-accent); color: var(--an-accent); }
.an-slipcal-grid button { position: relative; }
.an-slipcal-grid button.has-dot::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%;
  background: var(--muted);
}
.an-slipcal-grid button.is-selected:not(.is-today) { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* PeopleInput (FE-PRD-018 A1, A10, A16–A18). Imported by the component so it holds where analog.css isn't loaded. */
.pi-field { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-width: 0; }
.pi-input { flex: 1 0 120px; min-width: 0; }

.pi-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 2px 4px 2px 3px; border: 1px solid var(--rule, var(--settings-border, rgba(46, 42, 34, 0.18))); border-radius: 99px; font: 11px/1.3 var(--font-mono, "IBM Plex Mono"), monospace; color: var(--ink, var(--grey-900, #2e2a22)); white-space: nowrap; }
.pi-chip-label { overflow: hidden; text-overflow: ellipsis; }
.pi-chip:not(:has(.pi-face)) { padding-left: 8px; }
.pi-chip-x { display: inline-grid; place-items: center; width: 16px; height: 16px; flex: none; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted, var(--grey-700, #6f675a)); cursor: pointer; }
.pi-chip-x:hover { color: var(--ink, var(--grey-900, #2e2a22)); background: color-mix(in srgb, var(--ink, var(--grey-900, #2e2a22)) 6%, transparent); }
.pi-chip-x:focus-visible { outline: 1px solid var(--ink, var(--grey-900, #2e2a22)); outline-offset: 1px; }

.pi-field .an-person, .pi-list .an-person { display: inline-grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; font-family: var(--font-mono, "IBM Plex Mono"), monospace; line-height: 1; }
.pi-field .an-person.is-solid, .pi-list .an-person.is-solid { background: var(--ink, var(--grey-900, #2e2a22)); color: var(--paper, var(--settings-surface, #fbf8f1)); }
.pi-field .an-person img, .pi-list .an-person img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pi-chip .pi-face { width: 20px; height: 20px; font-size: 10px; }
.pi-list .an-person { width: 24px; height: 24px; font-size: 11px; }

.pi-list { position: absolute; z-index: 5; top: calc(100% + 4px); left: 0; right: 0; padding: 4px; border: 1px solid var(--rule, var(--settings-border, rgba(46, 42, 34, 0.18))); border-radius: 8px; background: var(--paper, var(--settings-surface, #fbf8f1)); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); }
.pi-list[hidden] { display: none; }
.pi-option { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; font: 13px/1.3 var(--font-mono, "IBM Plex Mono"), monospace; color: var(--ink, var(--grey-900, #2e2a22)); cursor: pointer; }
.pi-option:hover { background: color-mix(in srgb, var(--ink, var(--grey-900, #2e2a22)) 6%, transparent); }
.pi-option.is-active { color: var(--ink, var(--grey-900, #2e2a22)); box-shadow: inset 2px 0 0 var(--ink, var(--grey-900, #2e2a22)); border-radius: 0 6px 6px 0; }
.pi-option-text { display: flex; flex-direction: column; min-width: 0; }
.pi-option-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pi-option-email { font-size: 11px; color: var(--muted, var(--grey-700, #6f675a)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* The Google contacts offer (FE-PRD-018 B5–B7, B11): a quiet last row with the same box as a person row. */
.pi-offer { color: var(--muted, var(--grey-700, #6f675a)); }
.pi-offer.is-active { color: var(--muted, var(--grey-700, #6f675a)); box-shadow: inset 2px 0 0 var(--ink, var(--grey-900, #2e2a22)); }
.pi-offer-face { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; }
.pi-offer .pi-option-text { flex: 1 1 auto; }
.pi-offer-action { flex: none; margin-left: auto; padding: 2px 6px; border: 0; border-radius: 4px; background: transparent; font: 11px/1.3 var(--font-mono, "IBM Plex Mono"), monospace; color: var(--muted, var(--grey-700, #6f675a)); cursor: pointer; }
.pi-offer-action:hover { color: var(--ink, var(--grey-900, #2e2a22)); background: color-mix(in srgb, var(--ink, var(--grey-900, #2e2a22)) 6%, transparent); }
.pi-offer-snooze { visibility: hidden; }
.pi-offer:hover .pi-offer-snooze, .pi-offer.is-active .pi-offer-snooze { visibility: visible; }
/* Touch has no hover, and a hidden button can't be tapped. */
@media (hover: none) { .pi-offer-snooze { visibility: visible; } }

@media (max-width: 600px) {
  .pi-option { min-height: 44px; }
}

.an-answer-item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  margin: 1px -6px;
  padding: 3px 6px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.55;
  color: rgba(var(--console-ink-rgb), 0.92);
}
.an-answer-item > .an-trow {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  row-gap: 0;
  height: auto;
  min-height: 0;
  margin: -3px -6px;
  padding: 3px 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  font: inherit;
  color: inherit;
}
.an-answer-item > .an-trow::before,
.an-answer-item > .an-trow::after { display: none; }
.an-answer-item > .an-trow.is-openable { cursor: pointer; }
.an-answer-item > .an-trow.is-draggable { cursor: grab; }
.an-answer-item:hover,
.an-answer-item > .an-trow.is-picked { background: rgba(var(--console-ink-rgb), 0.05); }
.an-answer-item > .an-trow.is-picked { outline: 1px solid rgba(var(--console-accent-rgb), 0.45); }

.an-answer-item .an-check,
.an-answer-tick {
  box-sizing: border-box;
  position: relative;
  top: 2px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  margin: 0;
  padding: 0;
  border: 1.5px solid rgba(var(--console-ink-rgb), 0.45);
  border-radius: 50%;
  background: transparent;
  color: var(--console-bg, #26271f);
  font: 600 9px/1 var(--font-mono);
  cursor: pointer;
}
.an-answer-item .an-check:hover { border-color: rgba(var(--console-ink-rgb), 0.85); background: rgba(var(--console-ink-rgb), 0.12); }
.an-answer-item .an-check.is-heart:hover { background: transparent; color: rgb(var(--console-accent-rgb)); }
.an-answer-item .an-check.is-event:hover { background: transparent; }
.an-answer-item .an-check:focus-visible { outline: 1.5px solid rgb(var(--console-accent-rgb)); outline-offset: 2px; }
.an-answer-item > .an-trow > .an-check { align-self: flex-start; top: 4px; }
.an-answer-item .an-check.is-done:not(.is-heart):not(.is-event) {
  border-color: rgba(var(--console-ink-rgb), 0.8);
  color: transparent;
  background: rgba(var(--console-ink-rgb), 0.8) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%2326271f%27 stroke-width=%273.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%2720 6 9 17 4 12%27/%3E%3C/svg%3E") center / 9px 9px no-repeat;
}
.an-answer-item .an-check.is-done.is-urgent:not(.is-heart):not(.is-event) { background-color: var(--an-urgent, #d97a2e); border-color: var(--an-urgent, #d97a2e); }
.an-answer-item .an-check.is-heart.is-done { background: transparent; color: rgb(var(--console-accent-rgb)); }
.an-answer-item .an-check.is-urgent { border-color: var(--an-urgent, #d97a2e); }
.an-answer-item .an-check.is-heart { border: none; color: rgba(var(--console-accent-rgb), 0.9); }
.an-answer-item .an-check.is-heart svg { width: 15px; height: 14px; }
.an-answer-item .an-check.is-event { border: none; cursor: default; color: rgba(var(--console-ink-rgb), 0.6); }
.an-answer-item .an-check.is-event svg { width: 14px; height: 14px; }
.an-answer-item .an-check:disabled { cursor: default; opacity: 0.6; }
.an-answer-tick { cursor: default; opacity: 0.45; }

.an-answer-item .an-trow-title,
.an-answer-title {
  flex: 1 1 12ch;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  font: inherit;
  color: inherit;
}
.an-answer-item > .an-trow.is-done .an-trow-title { text-decoration: line-through; opacity: 0.55; }
.an-answer-item .an-trow-title:empty::before { content: "Untitled"; opacity: 0.5; }
.an-nudge-task-chosen { flex: none; margin-left: auto; align-self: baseline; font: 11px/1.4 var(--font-mono); letter-spacing: 0.05em; color: rgba(var(--console-ink-rgb), 0.55); }
.an-answer-item.is-gone .an-answer-title { opacity: 0.5; }
.an-answer-item.is-gone .an-answer-tick { border-style: dashed; }
.an-answer-item.is-pending .an-answer-title { opacity: 0.85; }

.an-answer-item > .an-trow > :is(.an-nudge-task-move, .an-nudge-task-chosen, .an-answer-tag, .an-draft-tagwrap) { order: 1; }
.an-answer-item > .an-trow > .an-answer-note { order: 2; }
.an-answer-note {
  flex: 1 1 100%;
  min-width: 0;
  padding-left: 23px;
  font-size: 0.92em;
  color: rgba(var(--console-ink-rgb), 0.62);
  overflow-wrap: anywhere;
}
.an-answer-item.is-goal > .an-answer-note { margin-top: -7px; padding-left: 25px; }
.an-answer-item.is-goal .qtr-console-goal-line:hover { background: transparent !important; }
.an-answer-item .an-trow-list,
.an-answer-item .an-trow-when {
  flex: none;
  margin: 0;
  max-width: 40%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 0;
  background: none;
  padding: 0;
  font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: rgba(var(--console-ink-rgb), 0.5);
}
.an-answer-item .an-trow-when { align-self: baseline; max-width: none; }
.an-answer-item .an-trow-who,
.an-answer-item .an-target,
.an-answer-item .an-provider { align-self: center; flex: none; }
.an-answer-item > .an-trow > .an-provider { align-self: flex-start; position: relative; top: 4.5px; }
.an-answer-item.is-goal,
.an-answer-item.is-list,
.an-answer-item.is-note,
.an-answer-item.is-app,
.an-answer-item.is-challenge { align-items: center; }
.an-answer-glyph.is-app,
.an-answer-glyph.is-challenge { display: inline-flex; align-self: center; align-items: center; justify-content: center; }
.an-answer-glyph.is-challenge { color: rgba(var(--console-ink-rgb), 0.75); }
.an-answer-glyph.is-challenge svg { width: 15px; height: 15px; }
.an-inline-mark .an-answer-glyph.is-challenge svg { width: 13px; height: 13px; }
.an-answer-item.is-challenge .an-answer-link { flex: 1 1 12ch; min-width: 0; }
.an-answer-app-icon { width: 15px; height: 15px; }
.an-inline-mark .an-answer-app-icon { width: 13px; height: 13px; }

.an-answer-link,
.an-inline-ref {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.an-answer-link:hover .an-answer-title { text-decoration: underline; text-decoration-color: rgba(var(--console-accent-rgb), 0.7); text-underline-offset: 3px; }
.an-answer-glyph { flex: none; width: 15px; text-align: center; color: rgba(var(--console-accent-rgb), 0.85); }
.an-answer-glyph.is-goal { display: inline-flex; align-self: center; align-items: center; justify-content: center; color: rgba(var(--console-ink-rgb), 0.85); }
.an-answer-glyph.is-goal i { box-sizing: border-box; position: relative; display: flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid currentColor; }
.an-answer-glyph.is-goal i::before { content: ""; box-sizing: border-box; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.an-answer-glyph.is-goal i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2px; height: 2px; margin: -1px 0 0 -1px; border-radius: 50%; background: currentColor; }
.an-answer-glyph.is-list,
.an-answer-glyph.is-note { display: inline-flex; align-self: center; align-items: center; justify-content: center; }
.an-answer-glyph.is-note { color: rgba(var(--console-ink-rgb), 0.7); }
.an-answer-swatch { display: block; width: 11px; height: 14px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); }
.an-answer-swatch.is-inline { position: relative; top: -0.1em; width: 8px; height: 11px; }
.an-answer-item.is-list .an-answer-link,
.an-answer-item.is-note .an-answer-link { flex: 1 1 12ch; min-width: 0; }
.an-inline-mark { display: inline-flex; align-items: center; margin-right: 0.3em; vertical-align: -0.12em; color: rgba(var(--console-ink-rgb), 0.7); }
.an-inline-ref { display: inline; gap: 0; white-space: nowrap; }
.an-inline-label { white-space: normal; }
.an-inline-task.is-live,
.an-inline-ref {
  padding: 0 0.3em 0 0.2em;
  background: rgba(var(--console-ink-rgb), 0.05);
  border: 1px solid rgba(var(--console-ink-rgb), 0.16);
  border-radius: 5px;
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.28);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.an-inline-task.is-live:hover,
.an-inline-ref:hover {
  border-color: rgba(var(--console-ink-rgb), 0.34);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.38), 0 1px 1.5px rgba(0, 0, 0, 0.28);
}
.an-inline-task.is-live.is-done { background: transparent; box-shadow: none; }
.an-inline-mark .an-answer-glyph.is-goal { width: auto; position: relative; top: -0.27em; }
.an-inline-mark .an-answer-glyph.is-goal i { width: 12px; height: 12px; border-width: 1.3px; }
.an-inline-mark .an-answer-glyph.is-goal i::before { width: 6px; height: 6px; border-width: 1.3px; }

.an-inline-task { white-space: nowrap; }
.an-inline-task .an-inline-words { white-space: normal; }
.an-inline-task[draggable="true"] { cursor: grab; }
.an-inline-tick {
  box-sizing: border-box;
  display: inline-block;
  width: 15px;
  height: 15px;
  position: relative;
  top: -0.1em;
  margin: 0 0.3em 0 0.05em;
  padding: 0;
  vertical-align: middle;
  border: 1.5px solid rgba(var(--console-ink-rgb), 0.45);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.an-inline-tick:hover { border-color: rgba(var(--console-ink-rgb), 0.85); background: rgba(var(--console-ink-rgb), 0.12); }
.an-inline-tick.is-done {
  border-color: rgba(var(--console-ink-rgb), 0.8);
  background: rgba(var(--console-ink-rgb), 0.8) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%2326271f%27 stroke-width=%273.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%2720 6 9 17 4 12%27/%3E%3C/svg%3E") center / 9px 9px no-repeat;
}
.an-inline-tick:disabled { cursor: default; opacity: 0.6; }
.an-inline-tick.is-idle { cursor: default; opacity: 0.45; }
.an-inline-tick.is-idle:hover { background: transparent; }
.an-inline-words { cursor: pointer; }
.an-inline-task.is-done .an-inline-words { text-decoration: line-through; opacity: 0.6; }
.an-inline-words.is-gone { opacity: 0.6; cursor: default; }
.an-inline-tick.is-gone { border-style: dashed; }
.an-inline-gone { margin-left: 0.45em; font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: rgba(var(--console-ink-rgb), 0.5); }

.an-native-items .an-answer-item { font-family: inherit; font-size: 15px; }

.an-receipt-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  max-width: 65ch;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(var(--console-ink-rgb), 0.82);
  transition: opacity 150ms ease;
}
.an-receipt-line.is-undone { opacity: 0.45; }
.an-receipt-mark { flex: none; font-size: 12px; color: rgb(var(--console-accent-rgb)); }
.an-receipt-words { min-width: 0; overflow-wrap: anywhere; }
.an-receipt-tail {
  display: inline-flex;
  flex: none;
  align-items: baseline;
  align-self: center;
  gap: 10px;
  font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: rgba(var(--console-ink-rgb), 0.5);
  white-space: nowrap;
}
.an-receipt-undo {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: rgba(var(--console-ink-rgb), 0.62);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(var(--console-accent-rgb), 0.35);
  text-underline-offset: 3px;
}
.an-receipt-undo:hover { color: rgba(var(--console-ink-rgb), 0.92); }

.an-answer-more {
  display: inline-block;
  margin: 2px 0 2px 23px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  color: rgba(var(--console-ink-rgb), 0.62);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(var(--console-ink-rgb), 0.25);
  text-underline-offset: 3px;
}
.an-answer-more:hover { color: rgba(var(--console-ink-rgb), 0.92); text-decoration-color: rgba(var(--console-accent-rgb), 0.7); }
.an-answer-more + .an-answer-more { margin-left: 14px; }

.an-answer-tag {
  flex: none;
  align-self: baseline;
  font: 11px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: rgb(var(--console-accent-rgb));
  white-space: nowrap;
}
.an-answer-tag.is-out { color: rgba(var(--console-ink-rgb), 0.45); text-decoration: line-through; }
.an-answer-tag.is-stale { color: rgba(var(--console-ink-rgb), 0.55); }
.an-answer-item.is-left-out > .an-trow,
.an-answer-item.is-left-out .an-answer-title { opacity: 0.45; }

@media (prefers-reduced-motion: no-preference) {
  .an-answer-item { transition: background 120ms ease; }
}

.an-answer-tag.is-button {
  margin: 0;
  padding: 0 3px;
  border: 0;
  border-radius: 4px;
  background: none;
  cursor: pointer;
}
.an-answer-tag.is-button:hover,
.an-answer-tag.is-button[aria-expanded="true"] { background: rgba(var(--console-accent-rgb), 0.14); }
.an-answer-tag.is-button:focus-visible { outline: 1.5px solid rgb(var(--console-accent-rgb)); outline-offset: 1px; }

.an-draft-tagwrap { position: relative; display: inline-flex; flex: none; align-self: baseline; }
.an-draft-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 40;
  min-width: 170px;
  padding: 4px;
  border: 1px solid rgba(var(--console-ink-rgb), 0.14);
  border-radius: 8px;
  background: var(--console-bg, #26271f);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  font: 13px/1.4 var(--font-mono);
  text-align: left;
}
.an-answer-runacts .an-draft-menu { left: 0; right: auto; }
.an-draft-menu button {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  font: inherit;
  color: rgba(var(--console-ink-rgb), 0.9);
  text-align: left;
  cursor: pointer;
}
.an-draft-menu button:hover,
.an-draft-menu button:focus-visible { background: rgba(var(--console-accent-rgb), 0.14); outline: none; }
.an-draft-menu hr { margin: 4px 2px; border: 0; border-top: 1px solid rgba(var(--console-ink-rgb), 0.1); }

.an-answer-run { position: relative; border-radius: 6px; }
.an-answer-run.is-drop { background: rgba(var(--console-accent-rgb), 0.08); outline: 1px dashed rgba(var(--console-accent-rgb), 0.5); }
.an-answer-runacts,
.an-answer-receipt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 2px 0 2px 23px;
  font-size: 14px;
  color: rgba(var(--console-ink-rgb), 0.62);
}
.an-answer-runacts .an-answer-more,
.an-answer-receipt .an-answer-more { margin: 0; }
@media (hover: hover) {
  .an-answer-run .an-answer-runacts { opacity: 0; }
  .an-answer-run:hover .an-answer-runacts,
  .an-answer-run:focus-within .an-answer-runacts,
  .an-answer-runacts.is-open { opacity: 1; }
}

.an-draft-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 10px;
  font: 13px/1.4 var(--font-mono);
}
.an-draft-apply {
  padding: 5px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgb(var(--console-accent-rgb));
  color: var(--console-accent-ink);
  font: 500 12.5px/1.4 var(--font-mono);
  cursor: pointer;
}
.an-draft-apply:hover { filter: brightness(1.06); }
.an-draft-apply:disabled { opacity: 0.45; cursor: default; filter: none; }
.an-draft-quiet {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: 11.5px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: rgba(var(--console-ink-rgb), 0.55);
  text-decoration: underline;
  text-decoration-color: rgba(var(--console-accent-rgb), 0.35);
  text-underline-offset: 3px;
  cursor: pointer;
}
.an-draft-quiet:hover { color: rgba(var(--console-ink-rgb), 0.9); }
.an-draft-state { font: 11.5px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: rgba(var(--console-ink-rgb), 0.55); }
.an-draft-state.is-done { color: rgb(var(--console-accent-rgb)); }
.an-draft-note { margin-top: 4px; font-size: 13px; color: rgba(var(--console-ink-rgb), 0.55); overflow-wrap: anywhere; }

.connect-modal-overlay {
    -webkit-app-region: no-drag;
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(1px);
}

.connect-modal {
    background: var(--dropdown-menu-bg-color);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--dropdown-menu-shadow);
    border: 1px solid var(--dropdown-menu-separator-color);
}

.connect-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.connect-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.connect-modal-icon svg {
    width: 24px;
    height: 24px;
}

.connect-modal-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.connect-modal-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 24px 0;
}

.connect-modal-actions {
    display: flex;
    gap: 12px;
}

.connect-modal-btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.connect-modal-btn.primary {
    background: #7f8ac7;
    /* Matching var(--purple-700) roughly but better to use variable if possible, however button colors are often specific */
    background: var(--purple-700);
    color: white;
}

.connect-modal-btn.primary:hover {
    background: var(--purple-600);
}

.connect-modal-btn.secondary {
    background: var(--grey-300);
    color: var(--text-primary);
}

.connect-modal-btn.secondary:hover {
    background: var(--grey-400);
}
.lg-desk {
  --lg-bright: #f3f1e8;
  --lg-ink: #b7b4a0;
  --lg-dim: #acad97;
  --lg-line: #565948;
}

.lg-stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 96px;
}

.lg-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(360px, 100%);
  text-align: center;
}

.lg-mark {
  width: 64px;
  height: auto;
  animation: lg-settle 300ms var(--pd-ease) both;
}

@keyframes lg-settle {
  from { opacity: 0.45; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.lg-name {
  margin: 20px 0 0;
  font-family: "Courier Prime", "Courier New", Courier, monospace;
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lg-bright);
  -webkit-text-stroke: 0.014em currentColor;
}

.lg-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lg-line {
  margin: 10px 0 0;
  font-family: var(--pd-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--lg-ink);
}

.lg-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

.lg-actions .qtr-pbtn.lg-google {
  gap: 12px;
  padding-left: 8px;
}
.lg-actions .qtr-pbtn.is-primary:focus-visible {
  outline: 1.5px solid var(--lg-bright);
  outline-offset: 3px;
}
.lg-google-g {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lg-below {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(340px, calc(100vw - 48px));
  transform: translateX(-50%);
}

.lg-error.is-alone { margin-top: 0; }

.lg-note {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--lg-ink);
  text-wrap: balance;
}

.lg-error {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #eab4a3;
  text-wrap: balance;
}

/* TEMP-WAITLIST */
.lg-error-link {
  display: block;
  margin-top: 6px;
  font-weight: 500;
  color: var(--lg-bright);
  text-decoration: underline;
  text-decoration-color: rgba(243, 241, 232, 0.4);
  text-underline-offset: 3px;
}

.lg-terms {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 24px;
  margin: 0;
  padding: 0 24px;
  font-family: var(--pd-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--lg-dim);
}
.lg-terms a,
.lg-note-link {
  color: var(--lg-ink);
  text-decoration: underline;
  text-decoration-color: var(--lg-line);
  text-underline-offset: 3px;
}
.lg-terms a:hover,
.lg-note-link:hover { text-decoration-color: var(--lg-ink); }
.lg-terms a:focus-visible,
.lg-note-link:focus-visible,
.lg-error-link:focus-visible {
  outline: 1.5px solid var(--lg-bright);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (max-height: 640px) {
  .lg-stage {
    align-items: flex-start;
    padding: 32px 24px 24px;
  }
  .lg-below {
    position: static;
    transform: none;
  }
  .lg-terms {
    position: relative;
    inset: auto;
    padding: 0 24px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lg-mark { animation: none; }
}

/* The QTR mark breathing, with its one line: the loading screen (PageSkeleton) and the desk's own
   loading (DeskSwitchLoading). Kept in step with the inline copy in public/index.html. */
.qtr-boot-mark {
  width: 44px;
  height: auto;
  animation: qtr-boot-breathe 2.4s ease-in-out infinite;
}

.qtr-boot-line {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + 36px);
  margin: 0;
  padding: 0 24px;
  font-family: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-align: center;
  color: rgba(243, 241, 232, 0.62);
}

@keyframes qtr-boot-breathe {
  0%, 100% { opacity: 0.45; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .qtr-boot-mark { animation: none; opacity: 0.8; }
}

/* Kept in step with the inline copy in public/index.html; the mark and its line are in shared/ui/breathingMark.css. */
.qtr-boot {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, rgba(66, 69, 54, 0), #2e3025 130%), #3a3c2f;
}

.qtr-boot-message {
  margin: 0;
  color: rgba(243, 241, 232, 0.7);
}

.qtr-boot-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.qtr-boot-retry {
  padding: 4px 10px;
  border: 1px solid rgba(243, 241, 232, 0.22);
  border-radius: 3px;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  color: rgba(243, 241, 232, 0.6);
  cursor: pointer;
  transition: color 120ms ease, border-color 120ms ease;
}

.qtr-boot-retry[aria-disabled="true"] {
  cursor: progress;
}

.qtr-boot-retry:hover:not([aria-disabled="true"]) {
  color: rgba(243, 241, 232, 0.9);
  border-color: rgba(243, 241, 232, 0.45);
}

.qtr-boot-retry:focus-visible {
  outline: 1px solid rgba(243, 241, 232, 0.7);
  outline-offset: 2px;
}

/* The cookie notice's paper slip (src/shared/ui/cookieBanner.css), so the reminder sits on the desk like the rest of QTR. */
.qtr-trial {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  max-width: 300px;
  padding: 16px 40px 14px 18px;
  border-radius: 10px;
  background: #fafaf7;
  color: #2a2a26;
  box-shadow: 0 18px 44px rgba(31, 27, 18, 0.35), 0 2px 8px rgba(31, 27, 18, 0.18);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  animation: qtr-trial-in 0.5s cubic-bezier(0.3, 0.8, 0.3, 1) both;
}
/* On the desk, Ansel's coin lives in the bottom-right corner while his card is away; sit above it, never over it. */
:root.has-an-coin .qtr-trial { bottom: 100px; }
.qtr-trial-text {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.55;
  text-wrap: pretty;
}
.qtr-trial-text strong { font-weight: 600; }
.qtr-trial-x {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  padding: 4px;
  border-radius: 6px;
  color: #8c877a;
  transition: color 0.15s, background 0.15s;
}
.qtr-trial-x:hover { color: #2a2a26; background: rgba(42, 42, 38, 0.06); }
.qtr-trial-x:focus-visible { outline: 1.5px solid #2a2a26; outline-offset: 1px; }

@keyframes qtr-trial-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .qtr-trial { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .qtr-trial { animation: none; }
}

.qtr-plans-top {
  position: absolute;
  top: 26px;
  right: 34px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 28px;
}

.qtr-plans-signout {
  height: 28px;
  padding: 0 4px;
  border: none;
  border-radius: 4px;
  background: transparent;
  font-family: var(--pd-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #b7b4a0;
  cursor: pointer;
  transition: color 0.2s;
}
.qtr-plans-signout:hover { color: #f3f1e8; }
.qtr-plans-signout:focus-visible {
  outline: 2px solid rgba(243, 241, 232, 0.7);
  outline-offset: 3px;
}

.qtr-plans-stage {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 24px 88px;
}

.qtr-plans-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 13px 0 11px;
  border: 1px solid rgba(243, 241, 232, 0.18);
  border-radius: 999px;
  background: transparent;
  font-family: var(--pd-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #b7b4a0;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.qtr-plans-back:hover {
  color: #f3f1e8;
  border-color: rgba(243, 241, 232, 0.36);
}
.qtr-plans-back:focus-visible {
  outline: 2px solid rgba(243, 241, 232, 0.7);
  outline-offset: 2px;
}
.qtr-plans-back-caret {
  color: #c8553d;
  font-size: 14px;
  line-height: 1;
}

.qtr-plans-intro {
  text-align: center;
  animation: qtr-plans-rise 0.6s var(--pd-ease) both;
}
.qtr-plans-title {
  margin: 0;
  font-family: var(--pd-sans);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #f3f1e8;
}
.qtr-plans-line {
  margin: 12px 0 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: #b7b4a0;
  text-wrap: balance;
}
.qtr-plans-line strong {
  font-weight: 500;
  color: #f3f1e8;
}

.qtr-plans-toggle {
  display: inline-flex;
  margin-top: 26px;
  padding: 3px;
  border: 1px solid rgba(243, 241, 232, 0.18);
  border-radius: 999px;
}
.qtr-plans-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 15px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-family: var(--pd-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #b7b4a0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.qtr-plans-toggle button:hover { color: #f3f1e8; }
.qtr-plans-toggle button[aria-pressed="true"] {
  background: #f3f1e8;
  color: #2e3025;
  cursor: default;
}
.qtr-plans-toggle button:focus-visible {
  outline: 2px solid rgba(243, 241, 232, 0.7);
  outline-offset: 2px;
}
.qtr-plans-save { color: #8f8d76; }
.qtr-plans-toggle button[aria-pressed="true"] .qtr-plans-save { color: #7a7766; }

.qtr-plans-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
  margin-top: 52px;
}

.qtr-plan {
  --paper: #efeae0;
  --ink: #2a2a26;
  --muted: #8c877a;
  --rule: #cfc9b9;
  --pill-line: #b8b4a8;

  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34), 0 2px 6px rgba(0, 0, 0, 0.16);
  transform: rotate(var(--tilt, 0deg));
  animation: qtr-plan-deal 0.6s var(--pd-ease) both;
  animation-delay: var(--deal-delay, 0ms);
}
.qtr-plan[data-paper="today"] {
  --paper: #fafaf7;
  --rule: #d6d3c8;
}
.qtr-plan[data-paper="quarter"] {
  --paper: #c9b99a;
  --ink: #3a3527;
  --muted: #6f644c;
  --rule: #ad9e80;
  --pill-line: #8c7e62;
}
.qtr-plan.is-front {
  position: relative;
  z-index: 1;
  margin-top: -12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

@keyframes qtr-plan-deal {
  from { opacity: 0; transform: translateY(48px) rotate(calc(var(--tilt, 0deg) * 2)); }
  to { opacity: 1; transform: rotate(var(--tilt, 0deg)); }
}
@keyframes qtr-plans-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.qtr-plan-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 22px 26px 0;
  font-family: var(--pd-mono);
}
.qtr-plan-label {
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qtr-plan-name {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
}

.qtr-plan-body {
  display: flex;
  flex-direction: column;
  padding: 34px 26px 26px;
}
.qtr-plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 10px;
  row-gap: 2px;
}
.qtr-plan-amount {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.qtr-plan-note {
  font-family: var(--pd-mono);
  font-size: 12px;
  color: var(--muted);
}
.qtr-plan-tagline {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.qtr-plan-actions {
  margin-top: 22px;
  min-height: 36px;
}
.qtr-plan-actions .qtr-pbtn.is-still,
.qtr-plan-actions .qtr-pbtn.is-still:hover {
  cursor: default;
  opacity: 0.6;
  border-color: var(--pill-line);
  background: transparent;
}
.qtr-plan-actions .qtr-pbtn:focus-visible { outline-offset: 3px; }

.qtr-plan-manage {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.qtr-plan-link {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--pill-line);
  text-underline-offset: 3px;
  cursor: pointer;
}
.qtr-plan-link:hover:not(:disabled) { text-decoration-color: var(--ink); }
.qtr-plan-link:disabled { cursor: default; opacity: 0.6; }
.qtr-plan-link:focus-visible {
  outline: 1.5px solid var(--ink);
  outline-offset: 2px;
  border-radius: 2px;
}
.qtr-plan-link.is-quiet { color: var(--muted); }
.qtr-plan-error { color: #9c3b26; }

.qtr-plan-features {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.qtr-plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14.5px;
  line-height: 1.45;
}
.qtr-plan-features li.is-limit { color: var(--muted); }

@media (max-width: 980px) {
  .qtr-plans-cards {
    grid-template-columns: minmax(0, 440px);
    justify-content: center;
    gap: 24px;
  }
  .qtr-plan { --tilt: 0deg !important; }
  .qtr-plan.is-front { margin-top: 0; }
}

@media (max-width: 640px) {
  .qtr-plans-top { top: 20px; right: 16px; gap: 12px; }
  .qtr-plans-stage { padding: 32px 16px 56px; }
  .qtr-plans-title { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .qtr-plans-intro,
  .qtr-plan { animation: none; }
}

.lgl-stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 40px 24px 80px;
}

.lgl-sheet {
  --paper: #fafaf7;
  --ink: #2a2a26;
  --muted: #8c877a;
  --rule: #d6d3c8;

  width: 100%;
  max-width: 760px;
  align-self: flex-start;
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  animation: lgl-deal 0.6s var(--pd-ease) both;
}

@keyframes lgl-deal {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.lgl-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 22px 32px 0;
  font-family: var(--pd-mono);
}
.lgl-docs {
  display: flex;
  gap: 16px;
  font-size: 12px;
}
.lgl-docs a {
  color: var(--muted);
  text-decoration: none;
  border-radius: 2px;
}
.lgl-docs a:hover { color: var(--ink); }
.lgl-docs a[aria-current="page"] { color: var(--ink); }
.lgl-name {
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
}

.lgl-body {
  padding: 52px 56px 48px;
  font-size: 15.5px;
  line-height: 1.7;
}
.lgl-title {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.lgl-lede {
  margin: 14px 0 0;
  color: var(--muted);
}
.lgl-h2 {
  margin: 40px 0 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}
.lgl-body p { margin: 10px 0 0; }
.lgl-body strong { font-weight: 500; }
.lgl-body ul {
  margin: 10px 0 0;
  padding-left: 20px;
  list-style: disc;
}
.lgl-body li { margin-top: 6px; }
.lgl-body li::marker { color: var(--muted); }

.lgl-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--pill-line, #b8b4a8);
  text-underline-offset: 3px;
}
.lgl-body a:hover { text-decoration-color: var(--ink); }
.lgl-sheet a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.lgl-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
}
.lgl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.55;
}
.lgl-table th {
  padding: 0 16px 8px 0;
  text-align: left;
  font-family: var(--pd-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
.lgl-table td {
  padding: 12px 16px 12px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}
.lgl-table th:last-child,
.lgl-table td:last-child { padding-right: 0; }
.lgl-key {
  font-family: var(--pd-mono);
  font-size: 12.5px;
}

@media (max-width: 640px) {
  .lgl-stage { padding: 24px 12px 48px; }
  .lgl-head { flex-direction: column-reverse; gap: 10px; padding: 20px 22px 0; }
  .lgl-body { padding: 32px 22px 36px; }
  .lgl-title { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .lgl-sheet { animation: none; }
}

/* The public page in the desk's vocabulary (DESIGN.md): desk tokens on the felt, a paper's tokens on the card. */
.qtr-pub-stage {
  --an-desk-ink: #b7b4a0;
  --an-desk-bright: #f3f1e8;
  --an-desk-dim: #6b6e5a;

  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 48px 20px 80px;
}

.qtr-pub-header {
  /* The quiet chip reads its ink and border from these, so on the felt it wears the desk's light ink. */
  --ink: var(--an-desk-bright);
  --pill-line: var(--an-desk-dim);

  width: 100%;
  max-width: 420px;
  color: var(--an-desk-bright);
}
.qtr-pub-by { margin: 0; font: 500 12px/1.4 var(--pd-mono); letter-spacing: 0.04em; color: var(--an-desk-ink); }
.qtr-pub-prompt { margin: 6px 0 14px; font-size: 15px; line-height: 1.5; }
.qtr-pub-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.qtr-pub-muted { margin: 10px 0 0; font-size: 13px; color: var(--an-desk-ink); }

.qtr-pub-card {
  --paper: #fafaf7;
  --ink: #2a2a26;
  --muted: #8c877a;
  --rule: #d6d3c8;
  --pill-line: #b8b4a8;

  width: 100%;
  max-width: 420px;
  padding: 22px 26px 26px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.qtr-pub-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--pd-mono); }
.qtr-pub-label { min-width: 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qtr-pub-name { font-size: 15px; color: var(--ink); }

.qtr-pub-tasks { list-style: none; margin: 10px 0 0; padding: 0; }
.qtr-pub-task { display: flex; align-items: center; gap: 12px; min-height: 44px; border-bottom: 1px solid var(--rule); font-size: 16px; }
.qtr-pub-check { width: 18px; height: 18px; flex: none; box-sizing: border-box; border: 1.5px solid var(--muted); border-radius: 50%; }
.qtr-pub-task.is-done .qtr-pub-check { background: var(--ink); border-color: var(--ink); }
.qtr-pub-task.is-done .qtr-pub-title { opacity: 0.45; text-decoration: line-through; }
.qtr-pub-title { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.qtr-pub-when { flex: none; font: 11px var(--pd-mono); color: var(--muted); }

.qtr-pub-fold {
  margin: 8px 0 0 -8px;
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font: 11px var(--pd-mono);
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.qtr-pub-fold:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); }
.qtr-pub-fold:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; }


.qtr-pub-desk { width: 100%; display: flex; justify-content: center; }
.qtr-pub-deskbox { position: relative; }
.qtr-pub-deskcard { position: absolute; transform-origin: 0 0; }
.qtr-pub-deskcard > .qtr-pub-card { max-width: none; height: 100%; box-sizing: border-box; overflow: auto; }
.an-desk.qtr-pub-goal { width: auto; height: auto; min-height: 0; overflow: visible; background: none; display: block; isolation: auto; }
.qtr-pub-goal .an-card { position: relative; max-width: 100%; }
.qtr-pub-deskcard > .qtr-pub-goal, .qtr-pub-deskcard > .qtr-pub-goal .an-card { height: 100%; }
.qtr-pub-facedown { width: 100%; height: 100%; background: #f4efe1; border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 18px rgba(0,0,0,.10); }

@media (max-width: 640px) {
  .qtr-pub-stage { padding: 28px 16px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .qtr-pub-fold { transition: none; }
}

/* ── The desk ─────────────────────────────────────────────────────────────
   Ugmonk-Analog-inspired card system, consolidated with the "Analog Stack v5"
   design handoff: paper cards on a dark olive desk, IBM Plex type, circular
   pills, fold-out leaves, a standing ink card for Ansel. */

.an-desk {
  --an-desk-bg: #3a3c2f;
  --an-desk-ink: #b7b4a0;
  --an-desk-bright: #f3f1e8;
  --an-desk-dim: #6b6e5a;
  --an-desk-line: #565948;
  /* The dark drop-ups' ground (tray menus, account menu). */
  --an-desk-pop: #26271f;
  --an-accent: #c8553d;
  --jot-ground: #d9dac8;
  --an-overdue: #9c3b26;
  --an-urgent: #d97a2e;
  --an-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --an-sans: "IBM Plex Sans", system-ui, sans-serif;
  /* Serif belongs to the contemplative register (verse cards, seals) —
     never working text. */
  --an-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(66, 69, 54, 0), #2e3025 130%),
    var(--an-desk-bg);
  display: flex;
  flex-direction: column;
  font-family: var(--an-sans);
  isolation: isolate;
}

.an-desk-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(640px circle at var(--lx, 70%) var(--ly, 40%), rgba(255, 228, 184, 0.06), transparent 62%);
}

.an-desk::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 width=%27180%27 height=%27180%27><filter id=%27n%27><feTurbulence type=%27fractalNoise%27 baseFrequency=%270.85%27 numOctaves=%272%27 stitchTiles=%27stitch%27/><feColorMatrix type=%27saturate%27 values=%270%27/></filter><rect width=%27180%27 height=%27180%27 filter=%27url%28%23n%29%27 opacity=%270.5%27/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.14;
  z-index: 1;
}

/* ── Top bar: a whisper of context floating over the desk ──────────────── */


/* ── Account: the avatar disc, top-right chrome over the desk ──────────── */

.an-account {
  position: absolute;
  top: 14px;
  right: 22px;
  z-index: 45;
}
.an-account-btn {
  width: 34px;
  height: 34px;
  flex: none;
  padding: 0;
  border: 1px solid rgba(243, 241, 232, 0.22);
  border-radius: 50%;
  background: #26271f;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.an-account-btn:hover {
  border-color: rgba(243, 241, 232, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.42);
}
.an-account-btn.is-open { border-color: rgba(200, 85, 61, 0.6); }
.an-account-btn:focus-visible { outline: 1.5px solid var(--an-desk-bright); outline-offset: 2px; }
.an-account-btn img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.an-account-initial {
  font-family: var(--an-mono);
  font-size: 14px;
  font-weight: 500;
  color: #e8e4d6;
  letter-spacing: 0.02em;
}

/* Drops down from the avatar; right-aligned. Wears the desk's ink-menu skin. */
.an-account-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 212px;
  max-height: calc(100vh - 68px);
  max-height: calc(100dvh - 68px);
  overflow-y: auto;
  overscroll-behavior: contain;
  overflow-anchor: none;
  background: var(--an-desk-pop);
  border: 1px solid rgba(200, 85, 61, 0.28);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  padding: 6px;
  z-index: 70;
  animation: an-account-in 0.14s cubic-bezier(0.3, 0.8, 0.3, 1);
}
@keyframes an-account-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.an-account-pop .an-tray-pop-row.is-danger,
.an-account-pop .an-tray-pop-row.is-danger .an-tray-pop-glyph { color: var(--an-accent); }
.an-account-pop .an-tray-pop-row.is-danger:hover { background: rgba(200, 85, 61, 0.12); }
.an-account-pop .an-tray-pop-row > span.an-account-tag {
  flex: none;
  overflow: visible;
  font-size: 10px;
  letter-spacing: 0.07em;
  color: #8c8f7a;
}

/* ── Settings, reskinned as a paper card ────────────────────────────────────
   The Settings modal is production code reused verbatim; it themes entirely
   through CSS vars, so we only remap them (paper surfaces, ink text, terracotta
   accent, mono type, an olive backdrop, a desk-weight shadow). Portaled to
   <body>, so this scope carries concrete values — it can't borrow --an-*. */

.an-settingsskin {
  /* Working text is Sans (like a card's task titles); labels, eyebrows, meta
     and keycaps keep Mono — the desk's two-face type system, not a code panel. */
  --font-mono: "IBM Plex Sans", system-ui, sans-serif;
  --settings-label-font: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Two warm papers: bone content, kraft-greige sidebar. */
  --settings-surface: #f5f0e4;
  --settings-sidebar-bg: #e8e0ce;
  --settings-content-overlay: transparent;

  /* Ink-tinted hairlines and washes (never gray — grays break on paper). */
  --settings-border: rgba(46, 42, 34, 0.12);
  --settings-border-strong: rgba(46, 42, 34, 0.22);
  --settings-hover-bg: rgba(46, 42, 34, 0.06);
  --settings-disabled-bg: rgba(46, 42, 34, 0.05);
  --settings-track-bg: rgba(46, 42, 34, 0.12);

  /* Active section speaks the desk's accent grammar: a terracotta label/icon
     over a faint wash (no edge-rule — kept as transparent). */
  --settings-selected-bg: rgba(46, 42, 34, 0.07);
  --settings-active-color: #c8553d;

  /* Card stock, not a web modal: tighter radius, one-light-source shadow
     (set above), a settle rather than a snap. */
  --settings-radius: 12px;
  --settings-ease: cubic-bezier(0.3, 0.8, 0.3, 1);
  --settings-dur: 0.42s;

  /* The close is a paper tuck-chip, the desk's corner control. */
  --settings-close-bg: #efe7d6;
  --settings-close-border: 1px solid rgba(46, 42, 34, 0.20);
  --settings-close-radius: 50%;
  --settings-close-color: #6f675a;
  --settings-close-bg-hover: #e7ddc8;
  --settings-close-color-hover: #2e2a22;

  /* Reading text sits a touch larger, closer to the cards' working scale. */
  --settings-body-size: 14px;
  --settings-row-pad: 12px 0;

  /* Three text colors on paper, ink → muted → faint. */
  --grey-900: #2e2a22;
  --grey-700: #6f675a;
  --grey-600: #938a76;
  --grey-500: #8c8272;
  --grey-300: #d3cbb8;

  /* Terracotta is the one accent — toggles, progress, highlight, CTAs, and
     the lone primary button (Manage Subscription). */
  --settings-accent: #c8553d;
  --qtr-btn-primary-bg: #c8553d;
  --qtr-btn-primary-bg-hover: #b5492f;

  /* Set directly, not via --settings-accent: the theme resolves this at :root
     and children inherit the already-computed color, so the accent override
     alone wouldn't reach it. */
  --settings-toggle-active-bg: #c8553d;
  --settings-toggle-thumb-bg: #f7f3ea;
  --settings-toggle-thumb-shadow: 0 1px 2px rgba(46, 42, 34, 0.35);

  /* A card lifted off the dark desk: one light source, no decorative glow. */
  --settings-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(46, 42, 34, 0.07);
  --settings-dropdown-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  --settings-btn-shadow: 0 1px 3px rgba(46, 42, 34, 0.18);

  /* The desk showing through: a dark olive wash, not the app's violet. */
  --settings-backdrop: rgba(26, 27, 18, 0.52);

  /* Destructive actions take the terracotta accent, as they do on the desk. */
  --settings-danger: #c8553d;
  --settings-danger-wash: rgba(200, 85, 61, 0.10);
  --qtr-btn-danger-bg: #c8553d;
  --qtr-btn-danger-bg-hover: #b5492f;

  /* People (PersonAvatar) read the desk's ink, paper and rule; portaled here, the panel names them itself. */
  --ink: #2e2a22;
  --paper: #f5f0e4;
  --rule: rgba(46, 42, 34, 0.22);
  --an-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* The same film grain the desk wears, so the panel reads as card stock.
   Clipped by the surface's own overflow:hidden; pointer-events off. */
.an-settingsskin .qtr-settings-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 width=%27180%27 height=%27180%27><filter id=%27n%27><feTurbulence type=%27fractalNoise%27 baseFrequency=%270.85%27 numOctaves=%272%27 stitchTiles=%27stitch%27/><feColorMatrix type=%27saturate%27 values=%270%27/></filter><rect width=%27180%27 height=%27180%27 filter=%27url%28%23n%29%27 opacity=%270.5%27/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.09;
  z-index: 3;
}

/* ── Stage ──────────────────────────────────────────────────────────────── */

.an-stage-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}
.an-stage-wrap.is-panning { cursor: grabbing; }
.an-stage-wrap.is-holding-selection,
.an-stage-wrap.is-holding-selection * { user-select: none; -webkit-user-select: none; }
.an-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
}
.an-stage.is-view-ease { transition: transform 0.4s cubic-bezier(0.3, 0.8, 0.3, 1); }
.an-stage .an-card,
.an-stage .an-cardwrap { cursor: auto; }

.an-stack {
  position: relative;
  width: 100%;
  height: 100%;
  transition: opacity 0.2s cubic-bezier(0.3, 0.8, 0.3, 1), filter 0.2s cubic-bezier(0.3, 0.8, 0.3, 1);
}
/* the desk being left, while the next one opens: still there, still clickable, just quieter */
.an-stack.is-switching { opacity: 0.6; filter: saturate(0.7); }

/* ── Cards ──────────────────────────────────────────────────────────────── */

.an-card {
  position: absolute;
  top: 0;
  left: 0;
  height: calc(100vh - 118px);
  transition: transform 0.55s cubic-bezier(0.3, 0.8, 0.3, 1), opacity 0.5s ease;
  perspective: 2400px;
  touch-action: none;
}
.an-card.is-dragging { transition: none; will-change: transform; }
.an-card.is-undealt { opacity: 0; }

.an-card.is-size-ease,
.an-cardwrap.is-size-ease {
  transition: transform 0.4s cubic-bezier(0.3, 0.8, 0.3, 1), width 0.4s cubic-bezier(0.3, 0.8, 0.3, 1),
    height 0.4s cubic-bezier(0.3, 0.8, 0.3, 1), opacity 0.5s ease;
}
.an-card.is-resizing,
.an-cardwrap.is-resizing { transition: none; }
.an-cardwrap.is-ansel-touched,
.an-card.is-ansel-touched {
  outline: 3px solid rgba(var(--console-accent-rgb), 0.45);
  outline-offset: 4px;
  border-radius: 6px;
}
.an-card.is-pushed,
.an-cardwrap.is-pushed { transition: none; }

.an-card-flip {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.an-card.is-flipped .an-card-flip { transform: rotateY(180deg); }
/* The averted front face still hit-tests in Chrome — its (mirrored) tab strip
   was swallowing clicks meant for the back's ‹ button. */
.an-card.is-flipped .an-card-paper:not(.is-back) { pointer-events: none; }
.an-card:not(.is-flipped) .an-card-paper.is-back { pointer-events: none; }

/* The digital flip: named back faces, picked from this quiet strip */
.an-faces {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 8px 26px 0;
  flex-shrink: 0;
}
.an-faces button {
  font-family: var(--an-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  background: none;
  border: none;
  padding: 2px 0;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid transparent;
}
.an-faces button:hover { color: var(--ink); }
.an-faces button.is-active { color: var(--ink); border-bottom-color: var(--an-accent); }
.an-edgetab {
  position: absolute;
  top: 58px;
  left: calc(100% - 2px);
  width: 26px;
  height: 120px;
  padding: 0 0 0 2px;
  border: none;
  border-radius: 0 5px 5px 0;
  background: var(--an-tab-paper, var(--paper));
  box-shadow: 2px 1px 4px rgba(0, 0, 0, 0.25);
  writing-mode: vertical-rl;
  display: grid;
  place-items: center;
  font-family: var(--an-mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  transform: translateX(-26px);
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.6, 1), opacity 0.6s ease;
}
.an-edgetab[data-page="quarter"] { --an-tab-paper: #d3c5a4; }
.an-edgetab[data-page="week"] { --an-tab-paper: #e4ddcd; }
.an-edgetab[data-page="today"] { --an-tab-paper: #efeee8; }
.an-card.has-edgetab:is(:hover, :focus-visible, .has-focus-in, .is-tab-out) > .an-edgetab {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: transform 0.22s cubic-bezier(0.3, 0.8, 0.3, 1), opacity 0.16s ease;
}
.an-edgetab:focus-visible { outline: 2px solid var(--an-desk-bright); outline-offset: 2px; }
.an-card.has-edgetab:is(:hover, :focus-visible, .has-focus-in, .is-tab-out) {
  z-index: 9000 !important;
}
@media (prefers-reduced-motion: reduce) {
  .an-edgetab,
  .an-card.has-edgetab:is(:hover, :focus-visible, .has-focus-in, .is-tab-out) > .an-edgetab { transform: none; transition: opacity 0.12s ease; }
}
/* The shy rest belongs to the spread page only (it swings over a
   neighbor); the card-over flip turns in place and always lands flat. */
/* Sections leaf: a period's subdivision as one scrolling ledger */
.an-sleaf-sec {
  border-radius: 6px;
  margin: 0 -8px;
  padding: 0 8px 6px;
}
/* Sections breathe like Today's 'On the schedule' gap */
.an-sleaf-sec + .an-sleaf-sec { margin-top: 30px; }
.an-sleaf-sec.is-hot {
  outline: 1.5px dashed var(--an-accent);
  outline-offset: -2px;
  background: rgba(200, 85, 61, 0.05);
}
/* A day is a period, not a label: its head wears the same anatomy as
   the weeks sheet's cells — name in ink, meta muted beside it. */
/* Period heads everywhere share one format, the Horizons period card's:
   dates left in the date-label voice, the name right in the card-name
   voice (15px, regular, ink). */
.an-sleaf-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: none;
  background: none;
  padding: 12px 0 5px;
  cursor: pointer;
  font-family: var(--an-mono);
}
.an-sleaf-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 3px 8px;
  margin: -3px -8px;
  border-radius: 6px;
  transition: background 0.12s ease;
}
.an-sleaf-title {
  white-space: nowrap;
  font-size: 15px;
  color: var(--ink);
}
.an-sleaf-sub {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.an-card-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  font-family: var(--an-mono);
  font-size: 11.5px;
  color: var(--ink);
  background: none;
  border: 1px solid var(--pill-line, var(--rule));
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  flex: none;
}
.an-card-back-btn:hover { border-color: var(--ink); }
.an-card-back-btn .an-back-chev { color: var(--an-accent); }
.an-card-paper.is-back > .an-card-head { align-items: center; }

/* Goal face title block: mark, name, due, map — the goal card from the left */
.an-goalhead {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 6px;
}
.an-goalhead-name {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.an-goalhead .an-card-date.is-overdue { color: var(--an-overdue); }
.an-goalhead-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  padding: 4px 0 8px;
}

.an-card-paper {
  position: absolute;
  inset: 0;
  background: var(--paper);
  color: var(--ink);
  border-radius: 10px;
  transition: border-radius 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.an-card-paper.is-back { transform: rotateY(180deg); }
.an-card.is-front .an-card-paper { box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); cursor: grab; }
.an-card.is-dragging .an-card-paper { cursor: grabbing; }

/* ── The spread page: hinged at the card's right edge, it flips out like
   a book page — card front and spread stay side by side for
   cross-dragging. Closed, it lies face-down over the card (backface
   hidden = invisible); open, it lies flat to the right — or rests a few
   degrees shy when a board column stands behind it. ── */
.an-page {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  transform-origin: left center;
  transform: rotateY(-180deg);
  backface-visibility: hidden;
  pointer-events: none;
  background: var(--paper);
  color: var(--ink);
  border-radius: 0 10px 10px 0;
  transition: transform 0.55s cubic-bezier(0.3, 0.8, 0.3, 1), opacity 0.4s ease;
}
.an-page::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  border-left: 1px solid rgba(58, 53, 39, 0.16);
  background: linear-gradient(to right, rgba(0, 0, 0, 0.025), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 1;
}
.an-card.has-spread::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: calc(0px - var(--an-pagew, 0px));
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), 0 8px 22px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: right 0.55s cubic-bezier(0.3, 0.8, 0.3, 1), opacity 0.3s ease;
}
.an-card.has-page-open::before { opacity: 1; }
.an-card.has-page-open .an-card-paper { box-shadow: none; }
.an-pin-col > .an-card-slot > .an-card-host > .an-card::before { content: none; }
:where(.an-card, .an-cardwrap, .an-fullwrap) :where(button:not(:disabled), a[href], [role="button"], [role="menuitem"], [role="tab"], [role="switch"], select, summary, label) { cursor: pointer; }
:where(.an-card, .an-cardwrap, .an-fullwrap) :where(input:not([type="checkbox"], [type="radio"], [type="range"], [type="button"], [type="submit"]), textarea, [contenteditable="true"]) { cursor: text; }
:where(.an-card, .an-cardwrap, .an-fullwrap) :is(.an-check, .an-pill, .an-card-back-btn, .an-who-target, .an-stamp-add, .an-gf-views button, .an-corner .an-tuck) { position: relative; }
.an-corner .an-tuck { top: auto; right: auto; }
:where(.an-card, .an-cardwrap, .an-fullwrap) :is(.an-check, .an-pill, .an-card-back-btn, .an-who-target, .an-stamp-add, .an-gf-views button, .an-tuck, .an-spinechip, .an-edgetab)::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 0;
}
.an-gf-views button::after { inset: 0; }
.an-spinechip {
  position: absolute;
  top: 50%;
  left: calc(100% - 14px);
  z-index: 3;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  padding: 0;
  border: 1px solid var(--pill-line, var(--rule));
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  display: grid;
  place-items: center;
  font-family: var(--an-mono);
  font-size: 14px;
  line-height: 1;
  color: var(--an-accent);
  cursor: pointer;
}
.an-spinechip[data-page="quarter"] { background: #d3c5a4; }
.an-spinechip:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; }

/* A closed page wider than its card (the week's 380px days on a narrow
   card) would show its mirrored back past the card's edge where the
   backface isn't culled: hide it once it has finished folding shut. */
.an-page:not(.is-open) {
  visibility: hidden;
  transition: transform 0.55s cubic-bezier(0.3, 0.8, 0.3, 1), opacity 0.4s ease, visibility 0s 0.55s;
}
.an-page.is-open { transform: rotateY(0deg); pointer-events: auto; }
.an-card.has-page-open .an-card-paper { border-radius: 10px 0 0 10px; }
.an-page-body {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 20px 18px 18px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
/* A page carrying a full-bleed layout (columns, the weeks sheet) hands
   it the whole sheet — the layout is the page. */
.an-page-body.is-bleed {
  padding: 0;
  overflow: hidden;
  display: flex;
  border-radius: 0 10px 10px 0;
}
.an-page-body > .an-casc-cols { flex: 1; min-width: 0; }
.an-page-body > .an-casc-cols > .an-casc-col:last-child { border-right: none; }

/* ── The quarter's weeks sheet ──────────────────────────────────────────
   A printed quarter-at-a-glance grid on a lighter kin of the quarter's
   kraft. Structure is grid rules, not boxes — cards float, paper doesn't.
   Names wear ink always; past dims the content, never the name. No
   counts: the visible ink is the count, `+N more` covers the fold. */
.an-qgrid {
  flex: 1;
  min-width: 0;
  min-height: 0;
  background: #d3c5a4;
  --ink: #3a3527;
  --muted: #7a6e55;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  padding: 16px 18px 16px 20px;
}
.an-qgrid-cell {
  min-width: 0;
  min-height: 0;
  padding: 9px 12px 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  border-top: 1px solid rgba(58, 53, 39, 0.22);
  border-left: 1px solid rgba(58, 53, 39, 0.22);
  transition: background 0.12s ease;
}
/* the sheet's outer edges carry no rules — the paper simply ends */
.an-qgrid-cell:nth-child(-n + 3) { border-top: none; }
.an-qgrid-cell:nth-child(3n + 1) { border-left: none; }
.an-qgrid-cell:hover { background: rgba(38, 39, 31, 0.04); }
.an-qgrid-cell.is-hot { box-shadow: inset 0 0 0 1.5px var(--an-accent); background: rgba(200, 85, 61, 0.1); }
/* The same period head as the Horizons card: dates left, name right, on
   one line. In a cell too narrow for both, the dates give way first. */
.an-qgrid-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
  flex: none;
  font-family: var(--an-mono);
  min-width: 0;
}
.an-qgrid-head b {
  flex: none;
  margin-left: auto;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
}
.an-qgrid-head span {
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.an-qgrid-t {
  flex: none;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 -5px;
  padding: 0 5px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.12s ease;
}
.an-qgrid-t:hover { background: rgba(38, 39, 31, 0.07); }
.an-qgrid-t.is-selected { background: rgba(38, 39, 31, 0.09); }
.an-qgrid-t.is-picked,
.an-qgrid-t.is-picked:hover {
  background: rgba(38, 39, 31, 0.11);
  box-shadow: inset 2px 0 0 var(--ink);
}
.an-qgrid-t.is-done { color: var(--muted); text-decoration: line-through; }
.an-qgrid-more {
  flex: none;
  font-family: var(--an-mono);
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

/* Generic positioned wrapper for non-DeskCard cards (Ansel, the clock) */
.an-cardwrap {
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.55s cubic-bezier(0.3, 0.8, 0.3, 1), opacity 0.5s ease;
  touch-action: none;
}
.an-cardwrap.is-dragging { transition: none; will-change: transform; }
.an-cardwrap.is-undealt { opacity: 0; }
.an-cardwrap .an-ansel { margin-bottom: 0; width: 100%; height: 100%; }

/* Put away: a round × chip overlapping the card's top-right corner, on hover */
.an-tuck {
  position: absolute;
  top: -9px;
  right: -9px;
  transition: right 0.45s cubic-bezier(0.3, 0.8, 0.3, 1);
  width: 24px;
  height: 24px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  background: var(--paper, #efeae0);
  color: var(--muted, #8c877a);
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.15s ease, transform 0.15s ease, color 0.15s ease;
  z-index: 20;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.an-card:hover > .an-tuck,
.an-cardwrap:hover > .an-tuck { opacity: 1; transform: scale(1); }
.an-tuck:focus-visible { opacity: 1; transform: scale(1); outline: 1.5px solid var(--ink, #2a2a26); outline-offset: 2px; }

/* ── The corner menu: the × grown into a quiet ⋯ — straighten, snap,
   back to the dock. One corner object; dismissal last. ── */
.an-corner {
  position: absolute;
  top: -9px;
  right: -9px;
  z-index: 6;
  transition: right 0.45s cubic-bezier(0.3, 0.8, 0.3, 1);
}
/* the chip rides out to the open page's corner — pages lie flat now,
   so the card's one corner object belongs to its outermost edge */
.an-card.has-page-open > .an-corner,
.an-card.has-page-open > .an-tuck { right: calc(-9px - var(--an-pagew, 0px)); }
.an-corner .an-tuck {
  position: static;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.an-card:hover > .an-corner .an-tuck,
.an-cardwrap:hover > .an-corner .an-tuck,
.an-fullwrap:hover > .an-corner .an-tuck,
.an-corner.is-open .an-tuck,
.an-card > .an-corner.has-focus-in .an-tuck,
.an-cardwrap > .an-corner.has-focus-in .an-tuck,
.an-fullwrap > .an-corner.has-focus-in .an-tuck,
.an-card:focus-visible > .an-corner .an-tuck { opacity: 1; transform: scale(1); }
.an-tuck.is-ink {
  background: #26271f;
  border-color: rgba(232, 228, 214, 0.25);
  color: #b7b4a0;
}
.an-tuck.is-ink:hover { color: #f3f1e8; }
.an-tuck.is-ink:focus-visible { outline-color: #f3f1e8; }

.an-corner-pop {
  position: absolute;
  top: 28px;
  right: 0;
  min-width: 168px;
  background: var(--paper, #f4efe1);
  color: var(--ink, #2e2a22);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.14);
  padding: 5px;
  z-index: 80;
}
.an-corner-pop.is-up { top: auto; bottom: calc(100% + 4px); }
.an-corner-pop .an-slipmenu-row:disabled { opacity: 0.45; cursor: default; }
.an-corner-rule { height: 1px; margin: 4px 8px; background: var(--rule, rgba(46, 42, 34, 0.16)); }
.an-rz { position: absolute; z-index: 5; touch-action: none; }
.an-rz.is-side { top: 0; bottom: 8px; width: 8px; cursor: ew-resize; }
.an-rz.is-side.is-right { right: -8px; }
.an-rz.is-side.is-left { left: -8px; }
.an-rz.is-bottom { bottom: -8px; height: 8px; cursor: ns-resize; }
.an-rz.is-bottom.is-right { left: 0; right: 8px; }
.an-rz.is-bottom.is-left { left: 8px; right: 0; }
.an-rz.is-corner { bottom: -8px; width: 16px; height: 16px; }
.an-rz.is-corner.is-right { right: -8px; cursor: nwse-resize; }
.an-rz.is-corner.is-left { left: -8px; cursor: nesw-resize; }

.an-tuck:hover { color: var(--ink, #2a2a26); }
.an-card:focus-visible { outline: none; }
.an-card:focus-visible .an-card-paper { outline: 2px solid var(--an-desk-bright); outline-offset: 3px; }
.an-card.is-drop-target .an-card-paper { outline: 1.5px dashed var(--an-accent); outline-offset: -3px; }

/* While a task hovers over a drop card, the whole front becomes the zone:
   solid paper veil, one message, nothing else to aim at. */
.an-drop-veil {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.an-drop-veil::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1.5px dashed var(--an-accent);
  border-radius: 8px;
}
.an-drop-veil span {
  font-family: var(--an-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--an-accent);
}

.an-card[data-paper="today"], .an-shelf [data-paper="today"] { --paper: #fafaf7; --ink: #2a2a26; --muted: #8c877a; --rule: #d6d3c8; --pill-line: #b8b4a8; }
.an-card[data-paper="week"], .an-shelf [data-paper="week"] { --paper: #efeae0; --ink: #2a2a26; --muted: #8c877a; --rule: #cfc9b9; --pill-line: #b8b4a8; }
.an-card[data-paper="quarter"], .an-shelf [data-paper="quarter"] { --paper: #c9b99a; --ink: #3a3527; --muted: #7a6e55; --rule: #a99a7b; --pill-line: #8c7e62; }
.an-card[data-paper="sheet"], .an-shelf [data-paper="sheet"] { --paper: #d3c4a6; --ink: #3a3527; --muted: #7a6e55; --rule: #a99a7b; --pill-line: #8c7e62; }
.an-card[data-paper="tray"], .an-fullwrap [data-paper="tray"], .an-shelf [data-paper="tray"] {
  --jot-ink: #2a2a26; --jot-muted: #57574a; --jot-tertiary: #6e6e5f; --jot-kraft: #d9cbaa;
  --paper: var(--jot-ground); --ink: var(--jot-ink); --muted: var(--jot-muted);
  --rule: #c2c3ae;
  --pill-line: color-mix(in srgb, var(--ink) 28%, var(--jot-ground));
  --jot-ring: rgba(42, 42, 38, 0.16);
  --jot-hover: color-mix(in srgb, var(--ink) 7%, transparent);
  --jot-focus: color-mix(in srgb, var(--ink) 70%, var(--jot-ground));
  --jot-slip-shadow: 0 1px 1.5px rgba(40, 38, 28, 0.16), 0 8px 20px -9px rgba(40, 38, 28, 0.38);
  --jot-slip-lift: 0 2px 3px rgba(40, 38, 28, 0.16), 0 14px 28px -10px rgba(40, 38, 28, 0.44);
}
.an-shelf [data-paper="ink"] { --paper: #16170f; --ink: #ece8da; --muted: #8e8b78; --rule: #34352b; }
.an-page-body [data-paper="today"] { --paper: #fafaf7; --ink: #2a2a26; --muted: #8c877a; --rule: #d6d3c8; --pill-line: #b8b4a8; }
.an-page-body [data-paper="week"],
.an-fullwrap [data-paper="week"] { --paper: #efeae0; --ink: #2a2a26; --muted: #8c877a; --rule: #cfc9b9; --pill-line: #b8b4a8; }

/* Header: date left, card name top-right (the corner that peeks out) */
.an-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 22px 26px 0;
  font-family: var(--an-mono);
  flex-shrink: 0;
}
/* A covered face: the cover art owns the paper's top edge, and the head
   floats on its sky instead of sitting above it. */
.an-card.is-covfront .an-card-paper:not(.is-back) > .an-card-head,
.an-card.is-covback .an-card-paper.is-back > .an-card-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  pointer-events: none;
}
.an-card.is-covfront .an-card-paper:not(.is-back) > .an-card-head > *,
.an-card.is-covback .an-card-paper.is-back > .an-card-head > * {
  pointer-events: auto;
}
.an-card-date { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The calendar seats its controls here (‹ › today month week): they keep
   their own type, and the today pill's ring mustn't clip. */
.an-card-date.has-controls { overflow: visible; font-size: inherit; color: inherit; }
.an-cal-namenav { display: inline-flex; align-items: baseline; gap: 10px; }
.an-cal-namenav .an-cal-mast-controls { align-self: center; }
.an-card-name {
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
  max-width: 62%;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 62%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* The person filter in a shared workspace's Today/Week/quarter: a slim row right above the list,
   right-aligned so it sits over the assignee circles it filters. */
.an-who-row { display: flex; justify-content: flex-start; margin: 0 0 4px; }
.an-who-row + .an-section-label { padding-top: 0; }
.an-who-filter { position: relative; flex-shrink: 0; }
.an-who-btn { font-family: var(--an-mono); font-size: 11px; color: var(--muted); background: none; border: 0; cursor: pointer; padding: 0; }
.an-who-btn:hover, .an-who-btn[aria-expanded="true"] { color: var(--ink); }

/* Pills */
/* The head, tabs and pills ride above the drop veil — only the body veils */
.an-card-head,
.an-faces {
  position: relative;
  z-index: 7;
}
.an-pills {
  position: relative;
  z-index: 7;
  display: flex;
  gap: 6px;
  /* bottom air keeps scrolled rows from grazing the pills */
  padding: 14px 26px 10px;
  align-items: center;
  flex-shrink: 0;
}
.an-pill {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--an-mono);
  font-size: 11px;
  font-weight: 500;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--pill-line);
  cursor: pointer;
  padding: 0;
  flex: none;
}
.an-pill.is-sm { font-size: 10px; }
.an-pill.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.an-pill.is-now:not(.is-active) { color: var(--an-accent); border-color: var(--an-accent); }
.an-pill:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; }
.an-pill-arrow {
  width: 22px;
  height: 32px;
  border: none;
  background: none;
  padding: 0;
  font-family: var(--an-mono);
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  flex: none;
}
.an-pill-arrow:hover { color: var(--ink); }
.an-pill-arrow:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.an-pills-side {
  margin-left: auto;
  font-family: var(--an-mono);
  font-size: 11px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 2px;
  white-space: nowrap;
}
.an-pills-side:hover { color: var(--ink); }
.an-pills-side:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; }

/* Loading marks: a period that hasn't arrived (DESIGN.md, Motion). Ink only,
   never the accent; both wait 150ms (LoadingMarks.tsx) so cached periods
   never flicker. */
.an-loading-hairline {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 3px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}
.an-loading-hairline.is-page {
  position: sticky;
  top: 0;
  z-index: 6;
  display: block;
  left: auto;
  right: auto;
  bottom: auto;
  margin-bottom: -1px;
}
.an-loading-hairline > i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 32%;
  background: var(--ink);
  opacity: 0.35;
  animation: an-hairline-sweep 1.4s cubic-bezier(0.3, 0.8, 0.3, 1) infinite;
}
/* the bar is 32% of the line, so 312% of itself carries it off the far end */
@keyframes an-hairline-sweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(312%); }
}
.an-loading-line {
  display: flex;
  align-items: center;
  height: 52px;
  border-bottom: 1px solid var(--rule);
  margin: 0 -12px;
  /* the title column: past the check (20px) and the row gap (12px) */
  padding: 0 12px 0 44px;
}
.an-loading-line > span {
  height: 7px;
  border-radius: 4px;
  background: var(--ink);
  opacity: 0.07;
  animation: an-loading-breathe 1.6s ease-in-out infinite;
}
@keyframes an-loading-breathe {
  0%, 100% { opacity: 0.05; }
  50% { opacity: 0.11; }
}
/* z-index 3: above cards (1-2), below dock/header/menus (4+) */
.an-desk-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.an-desk-loading.is-on { opacity: 1; }
.an-desk-loading .qtr-boot-line { color: var(--an-desk-bright); opacity: 0.45; }
.an-desk-loading-ref { margin-left: 8px; opacity: 0.6; }
.an-desk-hairline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}
/* a browser load bar: it can't know how far along the desk is, so it slows toward 80% and waits there */
.an-desk-hairline > i {
  position: absolute;
  inset: 0;
  background: var(--an-accent);
  opacity: 0.85;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 4s cubic-bezier(0.08, 0.7, 0.2, 1);
}
.an-desk-hairline.is-going > i { transform: scaleX(0.8); }
.an-desk-hairline.is-done > i {
  transform: scaleX(1);
  opacity: 0;
  transition: transform 0.18s ease-out, opacity 0.25s ease-in 0.12s;
}
@media (prefers-reduced-motion: reduce) {
  .an-loading-hairline > i { animation: none; width: 100%; opacity: 0.18; }
  .an-desk-loading { transition: opacity 0.2s linear; }
  .an-desk-hairline > i { transition: none; transform: scaleX(0.6); }
  .an-stack { transition: none; }
  .an-stack.is-switching { opacity: 0.8; filter: none; }
  .an-loading-line > span { animation: none; opacity: 0.08; }
}

/* Body */
.an-card-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 26px 26px;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
  display: flex;
  flex-direction: column;
}
.an-card-body > * { flex-shrink: 0; }

/* Empty ruled paper below the content, so the card never reads as bare void */
.an-fill {
  flex: 1;
  min-height: 0;
  margin: 0 -12px;
  background: repeating-linear-gradient(to bottom, transparent 0 51px, var(--rule) 51px 52px);
}

.an-section-label {
  font-family: var(--an-mono);
  font-size: 11px;
  color: var(--muted);
  margin: 0 -12px;
  padding: 10px 12px 6px;
  border-bottom: 1px solid var(--ink);
}
.an-section-label:first-child { padding-top: 0; }

/* Task rows */
.an-trow {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  border-bottom: 1px solid var(--rule);
  /* Ruled lines bleed a little past the text (as do .an-blank/.an-add/
     .an-fill/.an-section-label) so the hover wash isn't flush with it.
     One row size on every paper — a task reads the same on the day card,
     the week card, a column, or a spread; is-sm is layout-only now. */
  margin: 0 -12px;
  padding: 0 12px;
  transition: background 0.12s ease;
}
.an-trow:hover { background: rgba(38, 39, 31, 0.05); }
/* The row whose slip is open stays lit */
.an-trow.is-selected,
.an-trow.is-selected:hover { background: rgba(38, 39, 31, 0.09); }
.an-trow.is-arrived { animation: an-row-arrive 1.6s ease-out; }
@keyframes an-row-arrive {
  0%, 35% { background: rgba(38, 39, 31, 0.18); }
  100% { background: rgba(38, 39, 31, 0.09); }
}
@media (prefers-reduced-motion: reduce) { .an-trow.is-arrived { animation: none; } }
.an-trow.is-openable { cursor: pointer; }
/* Draggable wins: the hand says "you can pick this up" (click still opens) */
.an-trow.is-draggable { cursor: grab; }

.an-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #6e6b60;
  flex: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-family: var(--an-sans);
}
.an-check:hover { border-color: var(--ink); background: rgba(38, 39, 31, 0.12); }
/* Events can't be completed: the calendar mark stands in the checkbox
   column at the same weight, and it isn't a button. */
.an-check.is-event {
  border: none;
  background: transparent;
  color: #6e6b60;
  cursor: default;
}
.an-check.is-event:hover { border: none; background: transparent; }
.an-check.is-routine { font-size: 15px; line-height: 1; font-family: inherit; }
/* Sized to the circle it stands beside (optically, not just in pixels) */
.an-check.is-event svg { width: 17px; height: 17px; }
.an-provider { display: inline-flex; flex: none; margin-left: -6px; }
.an-check.is-done { background: var(--ink); border-color: var(--ink); }
.an-check.is-done:hover { opacity: 0.8; }
/* Urgent tints the ring orange; important redraws it as a drawn heart. */
.an-check.is-urgent { border-color: var(--an-urgent); }
.an-check.is-urgent:hover { border-color: var(--an-urgent); background: rgba(217, 122, 46, 0.16); }
.an-check.is-urgent.is-done { background: var(--an-urgent); border-color: var(--an-urgent); }
.an-check.is-heart { border: none; background: transparent; color: #6e6b60; }
.an-check.is-heart svg { width: 20px; height: 18.5px; }
.an-minirow .an-check.is-heart svg { width: 14px; height: 13px; }
.an-check.is-heart:hover { background: transparent; color: var(--ink); }
.an-check.is-heart.is-done { background: transparent; color: var(--ink); }
.an-check.is-heart.is-urgent { color: var(--an-urgent); }
.an-check:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; }
.an-check:disabled { cursor: default; }

.an-trow-title {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.an-trow.is-done .an-trow-title { opacity: 0.45; text-decoration: line-through; }
.an-trow-when {
  font-family: var(--an-mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

/* Time-blocked tasks sink here — still on the card, out of the way.
   The gap above makes it read as its own section on the paper. */
.an-today-blocked { margin-top: 30px; }
.an-today-blocked .an-trow-title { color: var(--muted); }

/* Add row: lives on a ruled line exactly like a task row */
.an-add {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid var(--rule);
  margin: 0 -12px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 16px;
  cursor: text;
}
/* The last line of a section or box doesn't rule beneath itself — the
   paper simply ends. Two shapes of "last": the true end of a scroll
   body, and a line whose next sibling is a section break (the break
   does the separating). Bodies that flow into the ruled fill keep
   their line — the fill carries the ruling. */
.an-casc-colbody > .an-add:last-child,
.an-casc-colbody > .an-trow:last-child,
.an-casc-face > .an-add:last-child,
.an-casc-face > .an-trow:last-child,
.an-casc-facebody > .an-add:last-child,
.an-casc-facebody > .an-trow:last-child,
.an-casc-pane > .an-add:last-child,
.an-casc-pane > .an-trow:last-child,
.an-quarter-loose > .an-add:last-child,
.an-quarter-loose > .an-trow:last-child,
.an-add.is-before-break,
.an-trow.is-before-break,
.an-gcluster > .an-add:last-child,
.an-gcluster > .an-trow:last-child { border-bottom-color: transparent; }
/* …unless the box flows straight into the ruled fill — the fill
   carries the ruling, so the line stays. */
.an-gcluster.is-into-fill > .an-add:last-child,
.an-gcluster.is-into-fill > .an-trow:last-child { border-bottom-color: var(--rule); }
.an-qsleeve {
  --paper: #d3c4a6;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 0 0 10px 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 -2px 3px rgba(40, 30, 10, 0.12), 0 -10px 24px rgba(40, 30, 10, 0.18);
  transform: translateY(calc(100% - 46px));
  transition: transform 0.5s cubic-bezier(0.3, 0.7, 0.2, 1);
}
.an-qsleeve.is-open { transform: none; }
.an-qsleeve-head {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  height: 46px;
  padding: 0 26px;
  border: none;
  border-radius: 0;
  background: none;
  font-family: var(--an-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}
.an-qsleeve-grip {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 28px;
  height: 3px;
  margin-left: -14px;
  border-radius: 2px;
  background: rgba(58, 53, 39, 0.22);
}
.an-qsleeve-chev { margin-left: auto; font-size: 13px; transition: transform 0.25s ease; }
.an-qsleeve.is-open .an-qsleeve-chev { transform: rotate(180deg); }
.an-qsleeve-head:hover { color: var(--ink); }
.an-qsleeve-head:focus { outline: none; }
.an-qsleeve-head:focus-visible { outline: 1.5px solid var(--ink); outline-offset: -4px; }
.an-qsleeve-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 26px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
@media (prefers-reduced-motion: reduce) { .an-qsleeve, .an-qsleeve-chev { transition: none; } }
.an-add i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px dashed var(--pill-line); flex: none; align-self: flex-start; margin-top: 16px; }
.an-add input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  font: inherit;
  color: var(--ink);
  padding: 0;
}
.an-add input::placeholder { color: var(--muted); }
.an-card-body > .an-add.is-pinned {
  position: sticky;
  bottom: 0;
  z-index: 1;
  background: var(--paper);
  box-shadow: 0 26px 0 var(--paper);
}
.an-card-body > .an-add.is-pinned:not(:first-child) { box-shadow: 0 -1px 0 var(--rule), 0 26px 0 var(--paper); }

/* ── Quarter: goal rows ─────────────────────────────────────────────────── */

.an-goalrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 58px;
  cursor: pointer;
  margin: 0 -10px;
  padding: 0 10px;
  border-radius: 6px;
}

/* The goal's identity: a quiet colored tick on the row's left edge —
   identity by mark, kind by paper. */
.an-goalrow:hover { background: rgba(58, 53, 39, 0.06); }
.an-goalrow.is-selected { background: rgba(58, 53, 39, 0.1); }

.an-target {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--goal-c, var(--ink));
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: transparent;
}
.an-target.is-sm { width: 16px; height: 16px; border-width: 1.5px; align-self: center; }
.an-target.is-sm i { width: 8px; height: 8px; }
.an-target.is-xs { width: 13px; height: 13px; border-width: 1.3px; }
.an-target.is-xs i { width: 6px; height: 6px; border-width: 1.3px; }
.an-target.is-xs i::after { width: 2px; height: 2px; }
.an-target.is-none { --goal-c: var(--muted); opacity: 0.5; }
.an-slipmenu-row > span.an-target { flex: none; min-width: 0; overflow: visible; }
.an-target i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--goal-c, var(--ink));
  display: flex;
  align-items: center;
  justify-content: center;
}
.an-target i::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--goal-c, var(--ink)); }
.an-goalrow.is-selected .an-target { background: var(--ink); }
.an-goalrow.is-selected .an-target i { border-color: var(--paper); }
.an-goalrow.is-selected .an-target i::after { background: var(--paper); }

.an-goalrow-main {
  flex: 1;
  min-width: 0;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.an-goalrow-rule { position: absolute; left: 0; right: 0; bottom: 11px; height: 1px; background: var(--rule); }
.an-goalrow-progress { position: absolute; left: 0; bottom: 10px; height: 3px; background: var(--ink); }
.an-goalrow-name {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-bottom: 10px;
}
.an-goalrow-due {
  font-family: var(--an-mono);
  font-size: 11px;
  color: var(--muted);
  padding-bottom: 10px;
  white-space: nowrap;
}
.an-goalrow-due.is-overdue { color: var(--an-overdue); }
.an-goalrow-nameinput {
  border: none;
  background: none;
  outline: none;
  font-family: inherit;
  color: var(--ink);
  margin: 0;
  padding: 0 0 10px;
}
.an-goalrow-menu {
  width: 0;
  margin-left: -10px;
  padding-bottom: 10px;
  justify-content: flex-end;
  transition: width 0.15s ease, margin-left 0.15s ease;
}
.an-goalrow-menu .an-gf-menubtn { pointer-events: none; }
.an-goalrow:hover .an-goalrow-menu,
.an-goalrow-menu.is-open,
.an-goalrow-menu:focus-within { width: 28px; margin-left: 0; }
.an-goalrow:hover .an-goalrow-menu .an-gf-menubtn,
.an-goalrow-menu.is-open .an-gf-menubtn,
.an-goalrow-menu:focus-within .an-gf-menubtn { opacity: 1; pointer-events: auto; }

.an-goal-add {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 58px;
  color: #8c7e62;
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  width: 100%;
  padding: 0;
  text-align: left;
}
/* A grayed-out target, not a checkbox — this line becomes a goal, and its
   rule (the progress bar) only exists once there's a goal to measure. */
.an-goal-add .an-target { opacity: 0.75; }
.an-goal-add span:not(.an-target) {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 16px;
}
.an-goal-add.is-editing input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font-family: var(--an-sans);
  font-size: 16px;
  color: var(--ink);
  padding: 0;
  border-bottom: 1px dashed var(--muted);
}
.an-goal-add.is-sm.is-editing input { font-size: 15px; }
.an-goal-add.is-sm { height: 46px; gap: 12px; }
.an-goal-add.is-sm .an-target { width: 18px; height: 18px; }
.an-goal-add.is-sm span:not(.an-target) { font-size: 15px; }
.an-goals-ruled .an-goalrow,
.an-goals-ruled .an-goal-add {
  box-sizing: border-box;
  width: calc(100% + 24px);
  height: 58px;
  margin: 0 -12px;
  padding: 0 12px;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
}
.an-goals-ruled .an-goalrow-main { position: static; }
.an-goals-ruled .an-goalrow-rule { display: none; }
.an-goals-ruled .an-goalrow-progress { bottom: -1px; }
.an-goals-ruled .an-goalrow-name,
.an-goals-ruled .an-goalrow-due,
.an-goals-ruled .an-goalrow-nameinput,
.an-goals-ruled .an-goalrow-menu,
.an-goals-ruled .an-goalrow-status { padding-bottom: 0; }
.an-goals-ruled .an-goal-add.is-editing input { border-bottom: none; }
.an-fill.is-goal { background: repeating-linear-gradient(to bottom, transparent 0 57px, var(--rule) 57px 58px); }
/* The quarter's inbox breathes like Today's schedule section */
.an-quarter-loose { margin-top: 30px; }
.an-qsleeve-body > .an-quarter-loose { margin-top: 0; }

/* Small muted meta text used inside pills rows (due labels etc.) */
.an-leaf-meta {
  font-family: var(--an-mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.an-map-cta {
  margin-top: 14px;
  font-family: var(--an-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: none;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}
.an-map-cta:hover { border-color: var(--ink); }

/* ── Schedule (inside the today leaf) ───────────────────────────────────── */

.an-sched { position: relative; touch-action: none; user-select: none; -webkit-user-select: none; }
.an-sched-hour { position: absolute; left: 32px; right: 0; height: 1px; background: var(--rule); pointer-events: none; }
.an-sched-hlabel {
  position: absolute;
  left: 0;
  width: 26px;
  text-align: right;
  font-family: var(--an-mono);
  font-size: 10px;
  color: var(--muted);
}
.an-sched-block {
  position: absolute;
  left: 38px;
  right: 4px;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 12px;
  line-height: 1.25;
  overflow: hidden;
}
.an-sched-block.is-editable { cursor: grab; touch-action: none; }
.an-sched-block.is-openable { cursor: pointer; }
/* The block whose slip is open stays marked */
.an-sched-block.is-selected { outline: 2px solid var(--an-accent); outline-offset: 1px; }
/* Mid-drag out of the grid: the block waits home, dashed, while the card veils */
.an-sched-block.is-outbound {
  background: transparent;
  color: var(--ink);
  border: 1.5px dashed var(--an-accent);
  opacity: 0.55;
  box-shadow: none;
}
.an-sched-block.is-live {
  cursor: grabbing;
  z-index: 3;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
.an-sched-block.is-split,
.an-sched-morewrap {
  left: calc(38px + (100% - 42px) * var(--col) / var(--cols));
  right: auto;
  width: calc((100% - 42px) / var(--cols) - 2px);
}
.an-sched-morewrap { position: absolute; z-index: 4; }
.an-sched-morewrap .an-slipmenu-pop { left: auto; right: 0; min-width: 180px; }
.an-sched-more {
  width: 100%;
  height: 18px;
  padding: 0 6px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper);
  color: var(--muted);
  font-family: var(--an-mono);
  font-size: 10px;
  text-align: left;
  cursor: pointer;
}
.an-sched-more:hover { color: var(--ink); border-color: var(--muted); }
.an-sched-grip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  cursor: ns-resize;
}
.an-sched-block.is-editable:hover .an-sched-grip::after,
.an-sched-block.is-editable.is-selected .an-sched-grip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.45;
}
.an-sched-block.is-locked:hover { border-style: dashed; }
.an-sched-block.is-refused { cursor: not-allowed; }
.an-sched-block span.an-sched-lockline { opacity: 1; }
.an-sched-block.is-cal span.an-sched-lockline { color: var(--an-accent); }
/* Where a dragged task will land: a dashed one-hour ghost. The time range
   sits bottom-right — the drag chip rides near the ghost's top edge (drops
   snap to the half-hour), so the bottom corner stays visible under it. */
.an-sched-ghost {
  position: absolute;
  left: 38px;
  right: 4px;
  z-index: 2;
  border: 1.5px dashed var(--an-accent);
  border-radius: 5px;
  background: rgba(200, 85, 61, 0.07);
  color: var(--an-accent);
  font-family: var(--an-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.an-sched-block.is-cal { background: var(--paper); border: 1px solid var(--muted); color: var(--ink); }
.an-sched-block.is-task { background: var(--ink); color: var(--paper); }
/* A task being drawn straight onto the grid */
.an-sched-block.an-sched-draft {
  background: var(--paper);
  color: var(--ink);
  border: 1.5px dashed var(--an-accent);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  z-index: 3;
}
.an-sched-block.an-sched-draft input {
  width: 100%;
  border: none;
  background: none;
  outline: none;
  font-family: var(--an-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  padding: 0;
}
.an-sched-block.an-sched-draft input::placeholder { color: var(--muted); }
/* The draft's title is a mention field: it takes the input's type, and its chips must not take the block's small mono span. */
.an-sched-block.an-sched-draft .an-mention-field { width: 100%; font-family: var(--an-sans); font-size: 12px; font-weight: 500; color: var(--ink); }
.an-sched-block.an-sched-draft .an-mention-field span { font-family: inherit; font-size: inherit; opacity: 1; }
.an-sched-block b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-sched-block span { font-family: var(--an-mono); font-size: 9px; opacity: 0.75; }
/* Block anatomy: a small check (or an event mark) leading the title line */
.an-sched-block span.an-sched-bhead {
  font-family: inherit;
  font-size: inherit;
  opacity: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.an-sched-bhead b { flex: 1; min-width: 0; }
.an-sched-check {
  width: 13px;
  height: 13px;
  flex: none;
  border-radius: 50%;
  border: 1.3px solid color-mix(in srgb, currentColor 65%, transparent);
  background: transparent;
  color: inherit;
  font-size: 9px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.an-sched-check:hover { border-color: currentColor; background: rgba(255, 255, 255, 0.16); }
.an-sched-check.is-done { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.an-sched-block.is-done .an-sched-bhead b { text-decoration: line-through; opacity: 0.75; }
.an-sched-evmark { display: inline-flex; flex: none; opacity: 0.85; }
.an-sched-evmark.is-routine { font-style: normal; font-size: 12px; line-height: 1; opacity: 1; }
/* the provider badge is a span; keep it out of the block's faded meta-span rule */
.an-sched-block .an-sched-evmark > span { opacity: 1; }
/* ── Cascade: one card, four contexts — year › quarter › week › day.
   Master and drill-down, like the quarter card with its spread open: the
   master pane (left) is the level you're on, printed straight on the
   card's kraft with the card's head over it; the drill-down (right) is
   its subdivision on the spread's lighter sheet, full height, shaded
   where the master lies over it. Past columns rest collapsed to labeled
   spines. Drilling in makes the chosen period the new master. ── */
.an-casc {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  margin: 0 -26px -26px;
}
.an-card.is-headless .an-card-body { padding: 0; }
.an-card.is-headless .an-casc,
.an-casc-fullbody .an-casc { margin: 0; }
.an-casc-head { grid-column: 1; grid-row: 1; }
/* The crumbs are the card's name: they take the whole seat, and when they
   run long they lose their oldest step off the left edge, keeping the
   level you're on in view. */
.an-casc-head .an-card-name { flex: 1; min-width: 0; max-width: none; display: flex; justify-content: flex-end; text-overflow: clip; }
/* The level's panes place straight into the grid. The head and the
   drill-down's bare sheet between its cards are the card's drag handles;
   the master pane, the period cards and the schedule are data-no-drag. */
.an-casc-panes { display: contents; }
.an-casc-crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--an-mono);
  font-size: 15px;
  flex: none;
  min-width: 0;
}
.an-casc-crumbs i { font-style: normal; color: var(--rule); }
.an-casc-crumbs button {
  border: none;
  background: none;
  padding: 2px 0;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
}
.an-casc-crumbs button:hover { color: var(--ink); }
.an-casc-crumbs button.is-here { color: var(--ink); cursor: default; }
.an-casc-max {
  border: none;
  background: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  padding: 0 2px;
}
.an-casc-max:hover { color: var(--ink); }
.an-casc-pane {
  background: var(--paper);
  color: var(--ink);
  min-height: 0;
}
/* The master: no container, the level printed on the card itself */
.an-casc-pane.is-left {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  overflow-y: auto;
  padding: 14px 26px 16px;
  background: none;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
/* The drill-down: the spread's sheet, top to bottom, with the master's
   shadow falling across its near edge */
.an-casc-pane.is-right {
  grid-column: 2;
  grid-row: 1 / 3;
  min-width: 0;
  display: flex;
  position: relative;
  --paper: #d3c4a6;
  background: var(--paper);
  box-shadow: inset 14px 0 16px -12px rgba(0, 0, 0, 0.22);
}
/* The quarter pane turns over to a goal in place, like the quarter card */
.an-casc-pane.is-flippane { padding: 0; overflow: visible; perspective: 2200px; }
.an-casc-flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.an-casc-pane.is-flipped .an-casc-flip { transform: rotateY(180deg); }
.an-casc-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 14px 26px 16px;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
/* rows keep their height and the face scrolls, as in a card body */
.an-casc-face > * { flex-shrink: 0; }
.an-casc-face.is-back { transform: rotateY(180deg); }
.an-casc-face.is-sleeved { padding: 0; overflow: hidden; }
.an-casc-facebody {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 26px 16px;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.an-casc-facebody > * { flex-shrink: 0; }
.an-casc-face.is-sleeved .an-qsleeve { border-radius: 0; }
.an-casc.is-goalflip .an-casc-head { display: none; }
.an-casc.is-goalflip .an-casc-pane.is-left { grid-row: 1 / 3; }
.an-casc-pane.is-flipped .an-casc-face:not(.is-back) { pointer-events: none; }
.an-casc-pane:not(.is-flipped) .an-casc-face.is-back { pointer-events: none; }
.an-casc-backrow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 22px 26px 0;
  font-family: var(--an-mono);
  pointer-events: none;
}
.an-casc-backrow > * { pointer-events: auto; }
.an-casc-face .an-gf-cover { margin: -14px -26px 8px; }
/* the map view has no cover to float on, so the face clears the row */
.an-casc-face.is-back.is-map { padding-top: 56px; }
.an-casc-pane.is-right.is-sched {
  display: block;
  overflow-y: auto;
  padding: 16px 16px 16px 22px;
  scrollbar-width: thin;
}
.an-casc-cols {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 16px;
  padding: 16px 16px 16px 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
/* Each period is a full-height card resting on the drill-down's sheet,
   a shade lighter so it lifts off it. */
.an-casc-col {
  flex: 0 0 368px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  position: relative;
  padding: 12px 26px 10px;
  --paper: #ddd1b7;
  background: var(--paper);
  border-radius: 9px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.13);
}
.an-casc-col.is-hot {
  box-shadow: inset 0 0 0 1.5px var(--an-accent), 0 5px 14px rgba(0, 0, 0, 0.13);
  background: color-mix(in srgb, #ddd1b7 96%, #c8553d);
}
/* A collapsed column: the period resting as a labeled spine */
/* A collapsed period: the same card, folded to a spine */
.an-casc-col.is-collapsed {
  flex: 0 0 46px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  border: none;
  background: #ddd1b7;
  border-radius: 9px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.13);
}
.an-casc-col.is-collapsed:hover { background: color-mix(in srgb, #ddd1b7 95%, #26271f); }
/* A folded spine keeps the period card's two voices: its name in the
   card-name voice (ink, title size), its dates small and muted after it. */
.an-casc-colvert {
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--an-mono);
  padding: 14px 0;
  white-space: nowrap;
}
.an-casc-colvert b { font-weight: 400; font-size: 15px; color: var(--ink); }
.an-casc-colvert span { font-size: 12px; color: var(--muted); }
.an-casc-col.is-collapsed:hover .an-casc-colvert-sub { color: var(--ink); }
.an-casc-colhead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border: none;
  background: none;
  padding: 0 0 6px;
  cursor: pointer;
  text-align: left;
  flex: none;
}
.an-casc-colmain {
  font-family: var(--an-mono);
  font-size: 15px;
  letter-spacing: 0.03em;
  color: var(--ink);
  font-weight: 500;
}
.an-casc-colsub {
  font-family: var(--an-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-left: 9px;
}
.an-casc-colhead:hover .an-casc-coltitle { color: var(--ink); background: rgba(38, 39, 31, 0.06); }
.an-casc-coltitle {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 3px 8px;
  margin: -3px -8px;
  border-radius: 6px;
  transition: background 0.12s ease;
}
/* A period card wears the desk card's head in small: its dates left in the
   date-label voice, its name right in the card-name voice. */
.an-casc-col > .an-casc-colhead { width: 100%; justify-content: space-between; gap: 12px; }
.an-casc-col .an-casc-colsub { margin-left: 0; font-size: 12px; letter-spacing: 0; white-space: nowrap; }
.an-casc-col .an-casc-colmain { font-weight: 400; letter-spacing: 0; }
/* The fold is the card's corner chip (same body as the desk's tuck chip),
   there only while you hover the card. */
.an-casc-colfold {
  position: absolute;
  top: -9px;
  right: -9px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  background: var(--paper);
  color: var(--muted);
  font-family: var(--an-mono);
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 1px;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.15s ease, transform 0.15s ease, color 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 2;
}
.an-casc-col:hover .an-casc-colfold,
.an-casc-colfold:focus-visible { opacity: 1; transform: scale(1); }
.an-casc-colfold:hover { color: var(--ink); }
/* Tasks ride a slip resting on the subdivision sheet — the goal map's
   checkpoint-slip grammar. The head stays printed on the sheet; the
   slip hugs its content and leaves open kraft below. */
.an-casc-colbody {
  flex: 1;
  min-height: 0;
  margin: 0 -26px;
  padding: 0 26px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.an-casc-colbody .an-trow:last-of-type,
.an-casc-colbody > .an-add:last-child { border-bottom: none; }
.an-sleaf-head.is-openable .an-sleaf-title { cursor: pointer; }
.an-sleaf-head.is-openable:hover .an-sleaf-chip { background: rgba(38, 39, 31, 0.06); }
.an-sleaf-head.is-openable:hover .an-sleaf-title { color: var(--ink); }
/* Fullscreen: edge to edge, no centered gutter */
.an-casc-fullbody {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
/* Full screen is the card grown: the same head over the master pane only,
   the drill-down running to the top. */
.an-cal-full.is-casc { padding: 0; }

/* ── The Eisenhower matrix: four ruled quadrants; drops set the marks ── */
/* Four quadrants ruled onto one sheet — one unbroken paper, quiet
   dividing lines. (A folded-paper crease treatment was tried and
   retired: it read as shadowy tile, not paper.) */
.an-mx {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  flex: 1;
  min-height: 0;
  margin: 0 -12px;
}
.an-mx-q {
  min-width: 0;
  min-height: 0;
  padding: 14px 15px 10px 16px;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  transition: background 0.12s ease;
}
.an-mx-q > * { flex-shrink: 0; }
/* the sheet's outer edges carry no rules — the paper simply ends */
.an-mx-q:nth-child(-n + 2) { border-top: none; }
.an-mx-q:nth-child(odd) { border-left: none; }
.an-mx-q.is-hot { box-shadow: inset 0 0 0 1.5px var(--an-accent); background: rgba(200, 85, 61, 0.08); }
/* the quadrant head wears the column tier; the mark it confers sits at
   the right edge — the drop's receipt shown in advance. The verb gets
   its own quiet line so it can speak naturally. */
.an-mx-qh { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
/* the title hugs its words (tooltips anchor to the element, and an
   arrow should point at ink, not at blank paper); the mark rides the
   far edge on its own */
.an-mx-qh .an-casc-colmain { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: help; }
.an-mx-mark { align-self: center; flex: none; margin-left: auto; cursor: default; pointer-events: none; width: 18px; height: 18px; }
.an-mx-mark svg { width: 17px; height: 15.7px; }
.an-mx-verb {
  font-family: var(--an-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 3px 0 10px;
}
.an-mx-hint { font-size: 12.5px; line-height: 1.55; color: var(--muted); padding: 4px 0; max-width: 34ch; }

.an-sched-now { position: absolute; left: 32px; right: 0; height: 2px; background: var(--an-accent); pointer-events: none; }
.an-sched-now::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--an-accent);
}
.an-sched-allday {
  display: flex;
  align-items: flex-start;
  min-height: 18px;
  padding: 4px 0;
  margin-bottom: 10px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
/* Only a strip with items pins: an empty one would cover the top of the grid, where drops land. */
.an-sched-allday.is-sticky { position: sticky; top: 0; z-index: 5; }
.an-sched-allday-label {
  flex: none;
  width: 26px;
  text-align: right;
  font-family: var(--an-mono);
  font-size: 10px;
  line-height: 10px;
  color: var(--muted);
}
.an-sched-allday-items {
  flex: 1;
  min-width: 0;
  margin: 0 4px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.an-sched-block.an-sched-adblock { position: relative; left: auto; right: auto; padding: 2px 8px; }
.an-sched-allday-more {
  align-self: flex-start;
  border: none;
  background: none;
  padding: 0 2px;
  font-family: var(--an-mono);
  font-size: 10px;
  color: var(--muted);
  cursor: pointer;
}
.an-sched-allday-more:hover { color: var(--ink); }
/* Week plan prose (inside the week leaf) */
.an-plan-prose { font-size: 15px; line-height: 1.6; white-space: pre-wrap; }
.an-plan-empty { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 40ch; }

/* ── Ansel ──────────────────────────────────────────────────────────────── */

.an-ansel {
  position: relative;
  flex: none;
  margin-bottom: 72px;
  /* Indigo-black (aizome), cool against the warm olive desk, with a cream hairline and a lit top edge, so it reads as a card lying on the desk, not a hole in it. */
  background: #1f2430;
  color: #e8e4d6;
  border-radius: 10px;
  box-shadow:
    inset 0 0 0 1px rgba(243, 241, 232, 0.11),
    inset 0 1px 0 rgba(243, 241, 232, 0.16),
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 24px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.5s ease;
}
.an-ansel.is-undealt { opacity: 0; }
.an-ansel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* the desk card head's seat: the name's top 22px from the edge */
  padding: 22px 26px 12px;
  font-family: var(--an-mono);
}
.an-ansel-me {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  padding: 3px 7px;
  margin: -3px -7px;
  border-radius: 8px;
  font-family: var(--an-mono);
  font-size: 15px;
  /* Same size and weight as every card name, but cream on near-black reads
     bolder than ink on paper, so it's dimmed a step to match by eye. */
  color: #d6d2c2;
  cursor: pointer;
  transition: background 120ms ease;
}
.an-ansel-me:hover { background: rgba(243, 241, 232, 0.07); }
/* Just the mug in the card's corner, big enough to read his face; the
   negative margin keeps the head row its usual height. */
.an-ansel-me.is-face { padding: 2px 4px; margin: -25px -8px -25px 0; }
/* The mug in his card's corner: no square on hover; touching him tickles. */
.an-ansel-me.is-face:hover { background: transparent; }
.an-ansel-me.is-face { position: relative; }
.an-waiting-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--an-accent);
  color: #fbf8f1;
  border: 2px solid #26271f;
  font-family: var(--an-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  pointer-events: none;
}
.an-coin .an-waiting-count { top: 4px; right: 4px; border-color: var(--an-desk, #2e2f26); }
.an-waiting { display: flex; flex-direction: column; gap: 8px; }
.an-waiting-line { margin: 4px 0 2px; font-family: var(--font-mono); font-size: 15px; line-height: 1.55; color: rgba(232, 228, 214, 0.92); }
.an-waiting-item { display: flex; flex-direction: column; gap: 2px; }
.an-waiting-source { font-family: var(--an-mono); font-size: 11px; color: var(--console-text-dim); }
.an-waiting-undo {
  align-self: flex-start;
  margin-top: 2px;
  padding: 3px 10px;
  border: 1px solid rgba(243, 241, 232, 0.18);
  border-radius: 8px;
  background: transparent;
  color: rgba(243, 241, 232, 0.85);
  font-family: var(--an-mono);
  font-size: 11.5px;
  cursor: pointer;
}
.an-waiting-undo:hover { background: rgba(243, 241, 232, 0.07); }
.an-waiting-undo:disabled { opacity: 0.5; cursor: default; }
.an-waiting-alert { margin: 0; font-family: var(--an-mono); font-size: 12px; color: #e7a58f; }
.an-ansel-day { display: inline-flex; align-items: center; gap: 1px; font-size: 12px; color: #8c8f7a; }
.an-ansel-daylabel { margin-right: 7px; }
.an-ansel-daylabel.is-past { color: #d8d5c6; }
.an-daynav {
  width: 20px;
  height: 18px;
  border: none;
  background: transparent;
  padding: 0 0 2px;
  border-radius: 5px;
  font-family: var(--an-mono);
  font-size: 14px;
  line-height: 1;
  color: #8c8f7a;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}
.an-daynav:hover:not(:disabled) { background: rgba(243, 241, 232, 0.08); color: #f3f1e8; }
.an-daynav:disabled { opacity: 0.3; cursor: default; }
.an-ansel-blankday {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--an-mono);
  font-size: 12.5px;
  color: #8c8f7a;
}
.an-ansel-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 14px 26px 10px;
  mask-image: linear-gradient(to bottom, transparent 0, #000 16px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 15px;
  line-height: 1.55;
  color: #c9c5b4;
}
.an-ansel-body b { color: #f3f1e8; font-weight: 500; }
/* ── Console theme override: the real console machinery (ConsoleTranscript,
   ProposalCard, WhenChips, goal rows, markdown…) styles itself through
   --console-* variables. Inside the ink card they resolve to the Analog
   ink-and-terracotta register instead of the app's purple. ── */
.an-ansel {
  --console-accent: var(--an-accent);
  --console-accent-rgb: 200, 85, 61;
  --console-ink-rgb: 232, 228, 214;
  --console-shade-rgb: 0, 0, 0;
  --console-bg: #1f2430;
  --console-ac-bg: #171b25;
  --console-text: rgba(232, 228, 214, 0.9);
  --console-text-primary: rgba(232, 228, 214, 0.92);
  --console-text-body: rgba(232, 228, 214, 0.82);
  --console-text-strong: #f3f1e8;
  --console-text-emphasis: #ffffff;
  --console-text-weak: rgba(232, 228, 214, 0.7);
  --console-text-muted: rgba(232, 228, 214, 0.5);
  --console-text-dim: rgba(232, 228, 214, 0.4);
  --console-text-faint: rgba(232, 228, 214, 0.3);
  --console-divider: rgba(200, 85, 61, 0.18);
  --console-divider-strong: rgba(200, 85, 61, 0.35);
  --console-hover: rgba(255, 255, 255, 0.05);
  --console-user-bubble-bg: #313848;
  --console-user-bubble-border: rgba(232, 228, 214, 0.08);
  --console-view-row-bg: rgba(255, 255, 255, 0.04);
  --console-view-row-bg-hover: rgba(255, 255, 255, 0.08);
  --console-view-meta-bg: rgba(255, 255, 255, 0.06);
  --console-row-shadow-hover: 0 2px 6px rgba(0, 0, 0, 0.35);
  --console-sheet-bg: #282e3b;
  --console-sheet-bg-top: #2e3441;
  --console-accent-ink: #f7f2ea;
  --console-option-text: #e8e4d6;
  --console-option-text-soft: #ddd8c6;
  --console-warn: #e5b769;
  --console-font-sans: var(--an-sans);
  --font-mono: var(--an-mono);
  --danger-color: #d08a72;
}

.an-ansel-composer {
  position: relative;
  flex: none;
  border-top: 1px solid #3a3c2f;
  margin: 0 26px;
  padding: 10px 0 18px;
}
/* A pending question: a thin card rises at the foot of Ansel's card and holds
   the question, its answers and the composer as one unit. A shade lighter than
   his card, a hairline edge and a soft, shallow shadow: present, not heavy. */
.an-ansel-foot { flex: none; display: flex; flex-direction: column; min-height: 0; }
.an-ansel-foot.is-asking {
  max-height: 62%;
  margin: 0 14px 14px;
  border-radius: 10px;
  background: #282e3b;
  border: 1px solid rgba(243, 241, 232, 0.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  animation: an-ask-in 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.an-ansel-foot.is-asking .an-ansel-composer { margin: 0 16px; padding: 8px 0 10px; border-top-color: rgba(243, 241, 232, 0.09); }
.an-ansel-ask { flex: 0 1 auto; min-height: 0; margin: 0 16px; padding: 14px 0 12px; overflow-y: auto; scrollbar-width: none; }
@keyframes an-ask-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .an-ansel-foot.is-asking { animation: none; } }
/* Step pills over a multi-step question: answered steps show the answer with a
   ✓, the open one is marked in cream, the rest wait faintly. */
.an-ask-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 11px; padding: 0; }
.an-ask-step > span, .an-ask-step > button {
  display: inline-block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: top;
  padding: 2px 9px; border-radius: 999px; border: 1px solid rgba(243, 241, 232, 0.14); background: transparent;
  font-family: var(--an-mono); font-size: 11px; line-height: 1.5; color: #8c8f7a;
}
.an-ask-step.is-done > span, .an-ask-step.is-done > button { color: #a8a593; }
.an-ask-step.is-done > button { cursor: pointer; }
.an-ask-step.is-done > button:hover { border-color: rgba(243, 241, 232, 0.4); color: #f3f1e8; }
.an-ask-step.is-current > span { border-color: rgba(243, 241, 232, 0.55); background: rgba(243, 241, 232, 0.08); color: #f3f1e8; }
.an-ask-step.is-next > span { border-style: dashed; opacity: 0.7; }
/* Ansel offering to start something: his line, then Let's go / Not now as his reply chips. */
.an-offer-acts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.an-offer .ob-btn { min-height: 32px; padding: 5px 11px; font-size: 14px; }
.an-offer .ob-btn:disabled { cursor: default; opacity: 0.55; }
.an-offer .ob-btn.is-primary:disabled { opacity: 0.8; }
.an-ask-say { margin: 0 0 11px; font-family: var(--an-sans); font-size: 15px; line-height: 1.55; color: #e8e4d6; }
.an-ask-answers { display: flex; flex-wrap: wrap; gap: 7px; }
.an-ask .ob-btn { min-height: 32px; padding: 5px 11px; font-size: 14px; }
.an-ask-chip.is-picked { border-color: rgba(243, 241, 232, 0.6); background: rgba(243, 241, 232, 0.08); color: #f3f1e8; font-weight: 500; }
.an-ask-chip.is-picked .ob-btn-caret { color: #f3f1e8; }
.an-ask-chip.is-quiet { color: #a8a593; }
/* The week and day pickers: a slip-menu popover in Ansel's ink, portaled to
   <body> because his card clips its overflow. */
.an-ask-pop {
  position: fixed;
  z-index: 2147483000;
  min-width: 232px;
  overflow-y: auto;
  padding: 6px;
  border-radius: 8px;
  background: #26271f;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(243, 241, 232, 0.08);
  scrollbar-width: thin;
  scrollbar-color: #3a3c2f transparent;
  --paper: #26271f;
  --ink: #e8e4d6;
  --muted: #8c8f7a;
  --rule: #3a3c2f;
  color: #e8e4d6;
}
.an-ask-weeks { list-style: none; margin: 0; padding: 0; }
.an-ask-weeks .an-slipmenu-row { justify-content: space-between; gap: 18px; }
.an-ask-weeks-range { color: var(--muted); }
.an-ask-pop .an-slipcal-grid button:hover { background: rgba(243, 241, 232, 0.08); }
.an-ask-foot { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.an-ask-link { border: none; background: transparent; padding: 0; font-family: var(--an-mono); font-size: 12px; color: #8c8f7a; cursor: pointer; }
.an-ask-link:hover { color: #f3f1e8; }
.an-ask-next { margin-left: auto; }
/* What Ansel brings up on his own: the card's back. */
.an-ansel-back {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 30px;
}
.an-ansel-back:not(.is-list) > * { margin-block: auto; }
.an-ansel-back.is-list { align-items: stretch; justify-content: flex-start; padding: 0; cursor: default; }
/* A nudge: Ansel asking something on his own. Two answers, printed as his
   reply chips (.ob-btn): the way forward filled, "Not now" quiet. */
.an-nudge { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; text-align: center; }
/* Dev only: the stepper on a sample nudge (/nudge). */
.an-nudge-dev { position: absolute; top: 14px; right: 16px; display: flex; align-items: center; gap: 4px; font-family: var(--an-mono); font-size: 11px; color: #6f715f; }
.an-nudge-dev button { width: 24px; height: 24px; border: none; border-radius: 6px; background: transparent; color: #8c8f7a; font-family: var(--an-mono); font-size: 15px; line-height: 1; cursor: pointer; }
.an-nudge-dev button:hover { background: rgba(243, 241, 232, 0.08); color: #f3f1e8; }
.an-nudge-say { margin: 0; max-width: 34ch; font-family: var(--an-sans); font-size: 16px; line-height: 1.55; color: #e8e4d6; }
.an-nudge-answers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.an-gs { display: flex; flex-direction: column; gap: 4px; padding: 10px 2px 8px; border-bottom: 1px solid var(--rule); font-family: var(--an-sans); color: var(--ink); }
.an-gs-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.an-gs-title { flex: 1; min-width: 0; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; border: none; background: transparent; padding: 0; text-align: left; font-family: inherit; }
.an-gs-title.is-link { cursor: pointer; }
.an-gs-title.is-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.an-gs-label { font-family: var(--an-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.an-gs-label.is-risk { color: var(--an-accent); }
.an-gs-label.is-done { color: var(--ink); }
.an-gs-note { font-family: var(--an-mono); font-size: 10.5px; color: var(--muted); }
.an-gs-why { margin-left: auto; border: none; background: transparent; padding: 0; font-family: var(--an-mono); font-size: 11px; color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.an-gs-why:hover { color: var(--ink); }
.an-gs-line { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.an-gs-line.is-muted { color: var(--muted); }
.an-gs-more { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.an-gs-list { margin: 0; padding-left: 16px; font-size: 13px; line-height: 1.5; color: var(--ink); }
.an-gs-list.is-muted { color: var(--muted); }
.an-gs-focus { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.5; }
.an-gs-kicker { font-family: var(--an-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.an-gs-override { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.an-goalrow-status { flex-shrink: 0; padding-bottom: 10px; white-space: nowrap; font-family: var(--an-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.an-goalrow-status.is-risk { color: var(--an-accent); }
.an-qs-strip { display: flex; align-items: baseline; gap: 10px; padding: 6px 2px 8px; font-family: var(--an-mono); font-size: 11px; color: var(--muted); }
.an-qs-text { flex: 1; min-width: 0; }
.an-qs { display: flex; flex-direction: column; gap: 2px; padding: 4px 2px; }
.an-qs-lead { margin: 0 0 4px; font-family: var(--an-mono); font-size: 11.5px; color: var(--muted); }
.an-nudge-corner { position: absolute; right: 14px; bottom: 12px; display: flex; align-items: center; }
.an-nudge-extra { align-self: stretch; display: flex; flex-direction: column; gap: 30px; margin-top: 8px; text-align: left; }
.an-nudge-tasks { align-self: stretch; overflow-y: auto; scrollbar-width: none; text-align: left; border-top: 1px solid #3a3c2f; }
.an-nudge-tasks.is-live { border-top: 0; margin: 0 -6px; padding: 0 6px; }
.an-nudge-tasks.is-live .an-nudge-task-move { margin: -1px 0 0 auto; align-self: flex-start; }
.an-nudge-tasks.is-live .an-answer-item > .an-trow { flex-wrap: nowrap; }
:is(.an-nudge-tasks.is-live, .an-nudge-fixrows) .an-answer-item > .an-trow { min-width: 0; }
:is(.an-nudge-tasks.is-live, .an-nudge-fixrows) .an-answer-item :is(.an-trow-title, .an-answer-title) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.an-nudge-more { margin: 6px 0 0; padding: 0; border: 0; background: none; cursor: pointer; font: 11px/1.4 var(--font-mono); letter-spacing: 0.05em; color: rgba(232, 228, 214, 0.55); }
.an-nudge-more:hover { color: #f3f1e8; text-decoration: underline; }
.an-nudge-task { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 2px; border-bottom: 1px solid #3a3c2f; }
.an-nudge-task-title { flex: 1; min-width: 0; font-family: var(--an-sans); font-size: 14px; color: #d6d2c2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-nudge-task-move { flex: none; border: 1px solid rgba(243, 241, 232, 0.22); border-radius: 999px; background: transparent; padding: 3px 10px; font-family: var(--an-mono); font-size: 11px; color: #c9c5b4; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.an-nudge-task-move:hover { border-color: rgba(200, 85, 61, 0.75); color: #f3f1e8; }
.an-nudge-task-move:disabled { opacity: 0.5; cursor: default; }
.an-nudge.is-list { align-items: stretch; text-align: left; height: 100%; padding: 22px 26px 18px; gap: 10px; }
.an-nudge.is-list .an-nudge-tasks { flex: 1; max-height: none; }
.an-nudge.is-list .an-nudge-answers { justify-content: flex-start; }
.an-nudge-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--an-mono); font-size: 12px; color: #8c8f7a; }
.an-nudge-backlink { border: none; background: transparent; padding: 0; font: inherit; color: #8c8f7a; cursor: pointer; }
.an-nudge-backlink:hover { color: #f3f1e8; }
.an-nudge-title { font-family: var(--an-mono); font-size: 15px; color: #d6d2c2; }
.an-nudge-empty { margin: 8px 0; font-size: 14px; color: #8c8f7a; }
.an-nudge-head.is-replay { align-self: stretch; }
.an-nudge.is-replay { flex: 1 0 auto; margin-block: 0; }
.an-nudge.is-replay > .an-nudge-head + * { margin-top: auto; }
.an-nudge.is-replay > :last-child { margin-bottom: auto; }
.an-nudge-task-title.is-link { border: none; background: transparent; padding: 0; text-align: left; cursor: pointer; }
.an-nudge-task-title.is-link:hover { color: #f3f1e8; text-decoration: underline; text-underline-offset: 3px; }
.an-nudge-answered { margin: 0; font-family: var(--an-mono); font-size: 12px; color: #8c8f7a; }
.an-ansel-composer .an-caret {
  color: var(--an-accent);
  font-family: var(--an-mono);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 36px;
}
.an-send {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.an-send.has-text { background: var(--an-accent); color: #f7f2ea; cursor: pointer; }
.an-send:not(.has-text) { background: rgba(255, 255, 255, 0.06); color: rgba(232, 228, 214, 0.3); }
.an-send.is-stop { background: rgba(255, 255, 255, 0.12); color: rgba(243, 241, 232, 0.9); cursor: pointer; }
.an-send.is-stop:hover { background: rgba(255, 255, 255, 0.18); }
.an-ansel-input::placeholder { white-space: nowrap; overflow: hidden; }
.an-photo-btn {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: rgba(232, 228, 214, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.an-photo-btn:hover { color: rgba(243, 241, 232, 0.9); background: rgba(255, 255, 255, 0.06); }
.an-photo-pending { position: relative; display: inline-block; margin: 6px 0 10px; }
.an-photo-pending img {
  display: block;
  width: 132px;
  height: 92px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.an-photo-x {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #26271f;
  background: #f3f1e8;
  color: #2a2a26;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.15s, transform 0.15s;
}
.an-photo-pending:hover .an-photo-x,
.an-photo-x:focus-visible { opacity: 1; transform: scale(1); }
@media (hover: none) { .an-photo-x { opacity: 1; transform: none; } }

.an-weekstep { display: flex; flex-direction: column; gap: 10px; }
.an-weekstep-say { display: flex; gap: 10px; align-items: flex-start; color: var(--console-text-primary); }
.an-weekstep-say > span { flex: 1; min-width: 0; }
.an-weekstep-stop { border: none; background: transparent; color: var(--console-text-muted); cursor: pointer; font-size: 16px; line-height: 1; padding: 2px 6px; border-radius: 6px; }
.an-weekstep-stop:hover { background: var(--console-hover); color: var(--console-text-strong); }
.an-weekstep-group { border: 1px solid rgba(var(--console-ink-rgb), 0.1); border-radius: 10px; padding: 6px 4px; }
.an-weekstep-group.is-goal { border: none; border-radius: 0; padding: 0; }
.an-weekstep-group.is-goal .an-weekstep-row { padding-left: 44px; }
.an-weekstep-group.is-goal .an-weekstep-more { margin-left: 44px; }
.an-weekstep-head { display: flex; justify-content: space-between; gap: 8px; padding: 4px 10px 6px; font-weight: 500; color: var(--console-text-strong); }
.an-weekstep-meta { font-family: var(--an-mono); font-size: 11.5px; color: var(--console-text-muted); white-space: nowrap; }
.an-weekstep-meta.is-overdue { color: var(--console-warn); }
.an-weekstep-row { display: flex; align-items: center; gap: 10px; padding: 5px 10px; border-radius: 7px; transition: background 120ms ease; }
.an-weekstep:not(.is-spent) .an-weekstep-row:hover { background: var(--console-hover); }
.an-weekstep-row.is-add.is-picked,
.an-weekstep:not(.is-spent) .an-weekstep-row.is-add.is-picked:hover { background: rgba(var(--console-accent-rgb), 0.12); }
.an-weekstep-row.is-done .an-weekstep-title { text-decoration: line-through; opacity: 0.5; }
.an-weekstep-row.is-keep.is-unpicked .an-weekstep-title { opacity: 0.5; }
.an-weekstep-pick { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; border: none; background: transparent; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; border-radius: 4px; }
.an-weekstep-pick:disabled { cursor: default; }
.an-weekstep-pick:focus-visible { outline: 1.5px solid var(--console-accent); outline-offset: 3px; }
.an-weekstep-meta.is-state { color: var(--console-text-strong); }
.an-weekstep-row.is-add .an-weekstep-meta.is-state { color: var(--console-accent); }
.an-weekstep-meta.is-hint { display: none; color: var(--console-text-strong); }
.an-weekstep-row.is-add .an-weekstep-meta.is-hint { color: var(--console-accent); }
.an-weekstep-pick:focus-visible .an-weekstep-meta.is-hint { display: inline; }
.an-weekstep-pick:focus-visible .an-weekstep-meta:not(.is-hint) { display: none; }
@media (hover: hover) {
  .an-weekstep-pick:not(:disabled):hover .an-weekstep-meta.is-hint { display: inline; }
  .an-weekstep-pick:not(:disabled):hover .an-weekstep-meta:not(.is-hint) { display: none; }
}
.an-weekstep-title { flex: 1; min-width: 0; font-size: 14px; color: var(--console-text-body); }
.an-weekstep-tick { box-sizing: border-box; width: 17px; height: 17px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid rgba(var(--console-accent-rgb), 0.85); background: transparent; color: var(--console-accent-ink, #26271f); cursor: pointer; padding: 0; transition: background 120ms ease; }
.an-weekstep-tick:hover:not(:disabled) { background: rgba(var(--console-accent-rgb), 0.22); }
.an-weekstep-tick:focus-visible { outline: 1.5px solid var(--console-accent); outline-offset: 2px; }
.an-weekstep-tick.is-on { background: var(--console-accent); border-color: var(--console-accent); }
.an-weekstep-tick:disabled { cursor: default; }
.an-weekstep-more { align-self: flex-start; margin: 2px 10px 4px; border: none; background: transparent; padding: 0; font-family: var(--an-mono); font-size: 12px; color: var(--console-text-muted); cursor: pointer; }
.an-weekstep-next { align-self: flex-start; }
.an-weekstep.is-spent { opacity: 0.6; }

.an-ac {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  margin-bottom: 8px;
  background: #1d1e17;
  border: 1px solid rgba(200, 85, 61, 0.28);
  border-radius: 10px;
  overflow: hidden;
  overflow-y: auto;
  max-height: 220px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 50;
}
.an-ac-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
}
.an-ac-row.is-selected { background: rgba(200, 85, 61, 0.16); }
.an-ac-cmd {
  font-family: var(--an-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--an-accent);
  white-space: nowrap;
}
.an-ac-desc {
  font-family: var(--an-mono);
  font-size: 11.5px;
  color: rgba(232, 228, 214, 0.55);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.an-ac-pro {
  font-family: var(--an-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(232, 228, 214, 0.4);
}

/* Week card: "Scheduled" grouped by day (per the reference mock) */
.an-sched-day {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: start;
  column-gap: 10px;
  border-bottom: 1px solid var(--rule);
  padding: 8px 0;
  min-height: 40px;
}
.an-sched-day-label {
  font-family: var(--an-mono);
  font-size: 12px;
  color: var(--muted);
  padding-top: 4px;
  white-space: nowrap;
}
.an-sched-day-label.is-today { color: var(--an-accent); }
.an-minirow {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  transition: background 0.12s ease;
}
.an-minirow:hover { background: rgba(38, 39, 31, 0.05); }
.an-minirow .an-check { width: 16px; height: 16px; font-size: 10px; }
.an-minirow-title {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.an-minirow.is-done .an-minirow-title { opacity: 0.45; text-decoration: line-through; }

/* Goal detail (checkpoints as headers) */
.an-cp-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--an-mono);
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 30px;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--ink);
}
.an-cp-head:first-child { margin-top: 0; }
.an-cp-head .an-cp-check { color: var(--ink); font-weight: 600; }
.an-cp-head.is-done { opacity: 0.6; }
.an-cp-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-cp-count { margin-left: auto; color: var(--muted); opacity: 0.85; }
.an-cp-add {
  margin-top: 30px;
  padding: 6px 0;
  font-family: var(--an-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  cursor: text;
}
.an-cp-add:hover { color: var(--ink); }
.an-cp-add input {
  width: 100%;
  border: none;
  background: none;
  outline: none;
  font: inherit;
  color: var(--ink);
  padding: 0;
}
.an-cp-empty {
  height: 40px;
  display: flex;
  align-items: center;
  font-family: var(--an-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  opacity: 0.7;
  border-bottom: 1px solid var(--rule);
  margin: 0 -12px;
  padding: 0 12px;
}

@media (prefers-reduced-motion: reduce) {
  .an-card, .an-cardwrap, .an-ansel, .an-stage { transition: none !important; }
  .an-card.is-undealt, .an-cardwrap.is-undealt, .an-ansel.is-undealt { opacity: 1; }
}

/* ── The dock: three things resting on the desk's bottom edge ──────────── */

.an-save-note {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 70;
  font-size: 12px;
  color: var(--muted, #7a6e55);
  pointer-events: none;
}

.an-tray {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  /* Above the full-screen sheets (z 60): the dock stays reachable there. */
  z-index: 70;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.an-dock {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 44px;
  padding: 0 8px;
  border-radius: 12px 12px 0 0;
  background: #21231a;
  box-shadow:
    inset 0 1px 0 rgba(243, 241, 232, 0.07),
    0 -8px 28px rgba(0, 0, 0, 0.35);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.an-dock input,
.an-dock textarea { user-select: text; -webkit-user-select: text; }
.an-dock:active { cursor: grabbing; }
.an-dock-item { position: relative; height: 100%; display: flex; align-items: center; }
/* The desk's identity, first thing on the bar */
.an-dock-label {
  border: none;
  background: none;
  font-family: var(--an-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--an-desk-bright);
  padding: 0 12px;
  height: 100%;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 8px;
}
.an-dock-label:hover, .an-dock-label.is-open { color: var(--an-accent); }
.an-dock-undo { display: flex; align-items: center; gap: 1px; margin: 0 2px 0 -6px; flex: none; }
.an-dock-undo-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 7px;
  background: none;
  color: var(--an-desk-ink);
  cursor: pointer;
}
.an-dock-undo-btn:hover:not(:disabled) { color: var(--an-desk-bright); background: rgba(243, 241, 232, 0.07); }
.an-dock-undo-btn:disabled { color: var(--an-desk-dim); opacity: 0.55; cursor: default; }
.an-dock-undo-btn:focus { outline: none; }
.an-dock-undo-btn:focus-visible { outline: 1.5px solid var(--an-desk-bright); outline-offset: 1px; }
/* A quiet joint between the bar's regions */
.an-dock-sep + .an-dock-sep { display: none; }
.an-dock-sep { width: 1px; height: 18px; background: rgba(243, 241, 232, 0.12); margin: 0 6px; flex: none; }
/* Bar items, not panels on a panel: flat, mono, washed on hover */
.an-dock-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border: none;
  border-radius: 8px;
  background: none;
  color: var(--an-desk-ink);
  font-family: var(--an-mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.an-dock-tab:hover, .an-dock-tab.is-open {
  color: var(--an-desk-bright);
  background: rgba(243, 241, 232, 0.07);
}
.an-dock-tab:focus-visible { outline: 1.5px solid var(--an-desk-bright); outline-offset: 2px; }
/* Focus lives in the dock; the clock card is its own enamel panel, so the popover adds no frame */
.an-focus-chip { background: #4d573f; color: #f3f1e8; padding: 0 10px; gap: 6px; }
.an-focus-chip:hover { background: #4d573f; color: #f3f1e8; filter: brightness(1.08); }
.an-focus-chip.is-paused span { opacity: 0.55; }
.an-focus-track { stroke: #6b7a5a; }
.an-focus-arc { stroke: #f3f1e8; stroke-linecap: round; }
.an-focus-pop {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  width: 300px;
  z-index: 60;
}
.an-focus-pop.is-down { bottom: auto; top: calc(100% + 8px); }
/* Mindfulness sits at the dock's right end, so its menu hangs from the right */
.an-calm-item > .an-tray-pop:not(.is-beside) { left: auto; right: 0; min-width: 170px; }
.an-calm-item .an-tray-pop.is-beside { min-width: 230px; }
.an-calm-item .an-tray-pop-row > span.an-calm-caret { flex: none; margin-left: auto; color: var(--an-desk-dim); font-size: 10px; }
.an-calm-item .an-tray-pop-row.is-current { background: rgba(255, 255, 255, 0.06); font-weight: 500; }
.an-calm-lens { display: flex; gap: 6px; padding: 6px 8px 8px; }
.an-calm-lens button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: none;
  padding: 4px 11px;
  font: 10.5px/1 var(--an-mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #b7b4a0;
  cursor: pointer;
}
.an-calm-lens button:hover { color: #e9dfcc; border-color: rgba(255, 255, 255, 0.3); }
.an-calm-lens button.is-on { background: #e9dfcc; border-color: #e9dfcc; color: #26271f; }
.an-calm-lens button:focus-visible { outline: 1.5px solid var(--an-desk-bright); outline-offset: 2px; }
.an-dock-deskname { max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-dock-dirty { width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--an-accent); flex: none; }
.an-tray-pop-hint { margin-left: auto; padding-left: 12px; font-size: 10.5px; letter-spacing: 0.04em; color: var(--an-desk-dim); }
/* The avatar closes the bar's right end; its popover opens upward */
.an-dock .an-account { position: static; top: auto; right: auto; margin: 0 2px 0 6px; }
.an-dock .an-account-btn { width: 28px; height: 28px; }
.an-dock .an-account-pop { top: auto; bottom: 50px; }
.an-qnav {
  display: flex;
  align-items: center;
  gap: 2px;
  border-bottom: 1px solid #3a3c2f;
  margin: 0 4px 4px;
  font-family: var(--an-mono);
  font-size: 12px;
  color: #e8e4d6;
  padding: 4px 2px 8px 6px;
}
.an-qnav > span { font-weight: 500; margin-right: 4px; }
.an-qnav button {
  border: none;
  background: none;
  color: #8c8f7a;
  font-size: 14px;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 5px;
}
.an-qnav button:hover { color: #e8e4d6; background: rgba(255, 255, 255, 0.06); }

/* Drop-up panels */
.an-tray-pop {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  min-width: 250px;
  max-width: 340px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  background: var(--an-desk-pop);
  border: 1px solid rgba(200, 85, 61, 0.28);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  padding: 6px;
  z-index: 60;
  scrollbar-width: thin;
  scrollbar-color: #3a3c2f transparent;
}
.an-tray-pop-row {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 6px;
  background: none;
  cursor: pointer;
  text-align: left;
  color: #e8e4d6;
  font-family: var(--an-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
}
.an-tray-pop-row:hover, .an-tray-pop-row.is-openrow, .an-tray-pop-row.is-hot { background: rgba(255, 255, 255, 0.06); }
.an-tray-pop-row > span:not(.an-tray-pop-glyph) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.an-tray-pop-row > span.an-tray-pop-hint { flex: none; overflow: visible; }
.an-tray-pop-glyph { color: #8c8f7a; display: flex; align-items: center; justify-content: center; width: 28px; flex: none; }
.an-tray-pop-row:hover .an-tray-pop-glyph { color: var(--an-accent); }
.an-tray-pop-rule { height: 1px; background: #3a3c2f; margin: 5px 8px; }

/* quiet section labels inside the drop-ups */
.an-tray-pop-label {
  padding: 9px 10px 3px;
  font: 500 10px/1 var(--an-mono);
  letter-spacing: 0.12em;
  color: var(--an-desk-dim);
}
.an-tray-pop-label:first-child { padding-top: 5px; }
.an-tray-pop-toggle {
  display: flex; align-items: center; gap: 6px; width: 100%;
  border: 0; background: none; text-align: left; cursor: pointer;
}
.an-tray-pop-toggle:hover { color: var(--an-accent); }
.an-tray-pop-toggle .an-dock-dirty { margin-left: 0; }

/* rows are toggles: home cards sit quiet, on-desk cards glow and wear a dot */
.an-tray-pop-row .an-tray-pop-glyph { color: rgba(214, 216, 196, 0.5); }
.an-tray-pop-row.is-out .an-tray-pop-glyph,
.an-tray-pop-row:hover .an-tray-pop-glyph { color: #e6e4d4; }
.an-ondot {
  margin-left: auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--an-accent);
  flex: none;
}
/* a saved setup's quiet ⋯ */
.an-tray-pop-more {
  border: none;
  background: none;
  color: #565948;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 4px 8px;
}
.an-tray-pop-more:hover { color: #e6e4d4; }
.an-tray-pop-row.is-saved { position: relative; }
.an-saved-pop-note { margin: 4px 10px 6px; font-size: 12px; line-height: 1.45; color: var(--an-desk-dim); max-width: 200px; }
.an-tray-rename-row {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  min-width: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
  cursor: text;
}
.an-tray-rename {
  flex: 1;
  min-width: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  background: none;
  border: 0;
  outline: 0;
  color: #f3f1e8;
  caret-color: var(--an-accent);
}
.an-saved-pop {
  position: absolute;
  right: 4px;
  bottom: calc(100% + 2px);
  background: #26271f;
  border: 1px solid rgba(200, 85, 61, 0.28);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  padding: 4px;
  z-index: 5;
}
/* The quarter menu (FE-PRD-020 B1–B6); a menu dropping down from the Mac header */
.an-tray-pop.is-down { bottom: auto; top: calc(100% + 6px); }
.an-qmenu { min-width: 230px; outline: none; }
.an-qrow { gap: 0; }
.an-tray-pop-row.is-current, .an-tray-pop-row.is-current:hover,
.an-qrow.is-viewing, .an-qrow.is-viewing:hover { background: rgba(243, 241, 232, 0.13); }
.an-tray-pop .an-tray-pop-row.is-current > button:first-child,
.an-qrow.is-viewing { color: var(--an-desk-bright); font-weight: 500; }
.an-tray-pop-row.is-current .an-tray-pop-glyph,
.an-qrow.is-viewing .an-qmonths { color: var(--an-desk-bright); }
.an-qmonths { color: #8c8f7a; }
/* A row's ⋯ options, beside the row (placed by RowMenu); over the menu it came from */
/* The Desks menu's Arrange submenu, beside its row */
.an-tray-pop.is-beside { bottom: auto; z-index: 61; }
.is-beside[role="menu"]:focus { outline: none; }
.an-saved-pop.is-beside {
  right: auto;
  bottom: auto;
  width: max-content;
  min-width: 160px;
  z-index: 61;
}
.an-saved-pop .an-slipmenu-row > span.an-tray-pop-hint { flex: none; }
.an-saved-pop .an-slipmenu-row { color: #e8e4d6; }
.an-saved-pop .an-slipmenu-row:hover { background: rgba(243, 241, 232, 0.07); }
.an-saved-pop .an-slipmenu-row:disabled { color: var(--an-desk-dim); cursor: default; }
.an-tray-pop-more:focus { outline: none; }
.an-tray-pop-more:focus-visible { outline: 1.5px solid var(--an-desk-bright); outline-offset: 1px; border-radius: 4px; }

/* ── The Mac header (FE-PRD-020 A3–A8): the window's title bar row, in the desk's own colour.
   The row drags the window; anything you click in it must opt out, or the click drags instead. ── */
.an-machead {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* The desk's own ground, fixed to the window so it runs on into the desk without a seam. */
  background:
    radial-gradient(ellipse at 50% 40%, rgba(66, 69, 54, 0), #2e3025 130%) fixed,
    var(--an-desk-bg);
  -webkit-app-region: drag;
  user-select: none;
  -webkit-user-select: none;
}
.an-machead button,
.an-machead input,
.an-machead [role="menu"],
.an-machead .an-account-pop {
  -webkit-app-region: no-drag;
}
body.qtr-drag-off .an-machead { -webkit-app-region: no-drag; }
.an-machead-left,
.an-machead-right { position: relative; z-index: 1; display: flex; align-items: center; height: 100%; flex: none; }
.an-machead-right { gap: 2px; }
.an-machead-centre {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.an-machead-centre > .an-dock-item { min-width: 0; max-width: 100%; }
.an-machead .an-dock-label { padding: 0 8px; font-weight: 500; color: var(--an-desk-bright); }
.an-machead-caret { font-size: 10px; color: var(--an-desk-dim); }
.an-machead .an-dock-undo { margin: 0 0 0 2px; gap: 2px; }
.an-machead .an-dock-undo-btn { width: 28px; height: 28px; }
.an-machead-desk {
  min-width: 0;
  max-width: 100%;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--an-desk-bright);
}
.an-machead-desk svg { flex: none; }
.an-machead-desk .an-machead-caret { margin-left: -2px; }
.an-machead .an-dock-deskname {
  max-width: none;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* The right group's menus hang from their button's right edge, so they stay inside the window. */
.an-machead-right .an-dock-item > .an-tray-pop.is-down { left: auto; right: 0; }
/* Cards' flyouts sit left of the Cards panel; Tray places them (top, right). */
.an-machead .an-tray-sub.is-down { left: auto; bottom: auto; }
.an-machead .an-account { position: static; margin: 0 14px 0 6px; }
.an-machead .an-account-btn { width: 24px; height: 24px; box-shadow: none; }
.an-machead .an-account-pop { top: calc(100% + 6px); right: 8px; }
/* No dock under the desk, so the save note sits low. */
.an-desk.has-machead .an-save-note { bottom: 16px; }
.an-desk.has-machead .an-fullwrap { top: 44px; }
.an-desk.has-machead .an-pin-col { top: 44px; bottom: 0; }
/* Overlays that cover the header (the shelf, slip backdrop, breather, meditation, letters, dialogs) set
   -webkit-app-region: no-drag on their roots, so the window never drags from under them. */

/* ── The card shelf: a dark bookshelf case over a dim ─────────────────── */
.an-shelf {
  -webkit-app-region: no-drag;
  position: fixed;
  inset: 0;
  z-index: 640;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: rgba(24, 23, 16, 0.55);
}
.an-shelf [data-paper="list"] { --paper: #b7b9a2; --ink: #2c3022; --muted: #5d624c; --rule: #a1a38b; }
.an-shelf [data-paper="manuscript"] { --paper: #f6f1e3; --ink: #39352b; --muted: #8b8370; --rule: #e2dac6; }
.an-shelf [data-paper="tan"] { --paper: #bc9560; --ink: #2f2414; --muted: #5f4a2c; --rule: #a7834f; }
.an-shelf-case {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(1000px, 100%);
  max-height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(#2a2b21, #25261d);
  box-shadow: inset 0 0 0 1px #45473a, 0 30px 60px rgba(0, 0, 0, 0.45);
  color: var(--an-desk-ink);
  font-family: var(--an-sans);
}
.an-shelf-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 20px;
  border-bottom: 1px solid rgba(243, 241, 232, 0.12);
}
.an-shelf-title {
  margin-right: auto;
  font: 700 11px var(--an-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--an-desk-bright);
}
.an-shelf-search {
  width: 200px;
  font: 400 12px var(--an-mono);
  color: var(--an-desk-bright);
  background: transparent;
  border: 1px solid #4a4c3e;
  border-radius: 999px;
  padding: 5px 12px;
}
.an-shelf-search::placeholder { color: var(--an-desk-dim); }
.an-shelf-search:focus { outline: none; border-color: var(--an-desk-dim); }
.an-shelf-search:focus-visible { border-color: var(--an-desk-ink); }
.an-shelf-close {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(243, 241, 232, 0.2);
  border-radius: 50%;
  background: #33342a;
  color: var(--an-desk-ink);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.an-shelf-close svg { width: 14px; height: 14px; }
.an-shelf-close:hover { background: #3d3e33; color: var(--an-desk-bright); }
.an-shelf-close:focus { outline: none; }
.an-shelf-close:focus-visible { outline: 1.5px solid var(--an-desk-bright); outline-offset: 2px; }
.an-shelf-body {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 70px 26px 6px;
}
.an-shelf-empty { font: 400 12px var(--an-mono); color: var(--an-desk-dim); margin: 28px 2px 34px; }
.an-shelf-board { margin-bottom: 26px; }
.an-shelf-label {
  display: flex;
  gap: 10px;
  margin: 0 0 8px 2px;
  font: 400 10.5px var(--an-mono);
  letter-spacing: 0.1em;
  color: var(--an-desk-dim);
}
.an-shelf-items {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px 16px;
  min-height: 116px;
  padding: 8px 6px 0;
}
.an-shelf-plank {
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(#6a5a42, #4a3e2d);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.45);
}
.an-shelf-item { position: relative; flex: none; }
.an-shelf-item.is-active { z-index: 2; }
.an-shelf-card,
.an-shelf-spot {
  position: relative;
  flex: none;
  width: 84px;
  height: 108px;
  margin: 0;
  padding: 0;
  border-radius: 7px;
  font: inherit;
  cursor: pointer;
}
.an-shelf-card {
  border: none;
  background: transparent;
  color: var(--ink);
}
.an-shelf-face,
.an-shelf-deck-under {
  position: absolute;
  inset: 0;
  display: block;
  padding: 9px 10px;
  border-radius: 7px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}
.an-shelf-deck-under:nth-child(1) { transform: translate(6px, -4px) rotate(4deg); }
.an-shelf-deck-under:nth-child(2) { transform: translate(3px, -2px) rotate(2deg); }
.an-shelf-name {
  display: block;
  font: 500 10px var(--an-mono);
  letter-spacing: 0.03em;
  text-align: right;
}
.an-shelf-ln { display: block; height: 4px; margin: 6px 0; border-radius: 2px; background: var(--rule); }
.an-shelf-ln.is-m { width: 80%; }
.an-shelf-ln.is-s { width: 60%; }
.an-shelf-q4 { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-top: 6px; }
.an-shelf-q4 i { height: 24px; border-radius: 2px; background: var(--rule); }
.an-shelf-photo { display: block; height: 46px; margin-top: 6px; border-radius: 3px; background: linear-gradient(135deg, #9aa48a, #c9b99a); }
.an-shelf-dots { display: flex; gap: 3px; margin-top: 12px; }
.an-shelf-dots i { width: 15px; height: 15px; border-radius: 50%; background: #8a877a; }
.an-shelf-dots i:nth-child(2) { background: #bc9560; }
.an-shelf-dots i:nth-child(3) { background: #4d573f; }
.an-shelf-verse { display: block; margin-top: 16px; text-align: center; font: 13px var(--an-serif); color: var(--muted); }
.an-shelf-spot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 10px;
  background: transparent;
  border: 1.3px dashed #5c5e4e;
}
.an-shelf-spot-name { font: 400 9.5px/1.3 var(--an-mono); color: #8a8c78; text-align: center; }
.an-shelf-item.is-active > .an-shelf-spot { border-color: #a9a68f; background: rgba(255, 255, 255, 0.03); }
.an-shelf-item.is-active > .an-shelf-spot .an-shelf-spot-name { color: var(--an-desk-bright); }
.an-shelf-card:focus,
.an-shelf-spot:focus { outline: none; }
.an-shelf-card:focus-visible .an-shelf-face { outline: 1.5px solid var(--an-desk-bright); outline-offset: 3px; }
.an-shelf-spot:focus-visible { outline: 1.5px solid var(--an-desk-bright); outline-offset: 3px; }
.an-shelf-item.is-active > .an-shelf-card .an-shelf-face { box-shadow: 0 20px 28px rgba(0, 0, 0, 0.55); }
@media (prefers-reduced-motion: no-preference) {
  .an-shelf-card { transition: transform 0.22s cubic-bezier(0.3, 0.8, 0.3, 1); }
  .an-shelf-face { transition: box-shadow 0.22s cubic-bezier(0.3, 0.8, 0.3, 1); }
  .an-shelf-item.is-active > .an-shelf-card { transform: translateY(-12px) rotate(-2deg); }
}
.an-shelf-pill {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font: 500 11px/1 var(--an-mono);
  padding: 5px 11px 3px;
  border: 1px solid var(--an-desk-ink);
  border-radius: 999px;
  background: #25261d;
  color: var(--an-desk-bright);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.an-shelf-pill:hover { border-color: var(--an-desk-bright); }
.an-shelf-pill.is-fill { bottom: 2px; border-color: var(--ink); background: var(--ink); color: var(--paper); }
.an-shelf-spot ~ .an-shelf-pill { top: 50%; bottom: auto; transform: translate(-50%, -50%); }
.an-shelf-pill:focus { outline: none; }
.an-shelf-pill:focus-visible { outline: 1.5px solid var(--an-desk-bright); outline-offset: 2px; }
.an-shelf-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 20px);
  z-index: 3;
  width: max-content;
  padding: 8px 11px 9px;
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.25);
  transform: translateX(calc(-50% + var(--tip-dx, 0px)));
  text-align: left;
  pointer-events: none;
}
.an-shelf-tip[hidden] { display: none; }
.an-shelf-tip.is-below { bottom: auto; top: calc(100% + 16px); }
.an-shelf-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: calc(50% - var(--tip-dx, 0px));
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: var(--paper);
}
.an-shelf-tip.is-below::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--paper); }
.an-shelf-tip-name { display: block; margin-bottom: 2px; font: 400 12.5px/1.35 var(--an-mono); white-space: nowrap; }
.an-shelf-tip-text {
  display: -webkit-box;
  max-width: 240px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font: 400 12.5px/1.4 var(--an-sans);
}
@media (prefers-reduced-motion: no-preference) {
  .an-shelf-tip { animation: an-shelf-tip-in 0.16s ease-out 0.12s both; }
}
@keyframes an-shelf-tip-in {
  from { opacity: 0; translate: 0 3px; }
  to { opacity: 1; translate: 0 0; }
}
.an-shelf-soon { display: flex; align-items: flex-end; gap: 14px; margin-left: 14px; }
.an-shelf-spines { display: flex; align-items: flex-end; gap: 4px; }
.an-shelf-spine {
  width: 16px;
  padding: 6px 0;
  border-radius: 2px 2px 0 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background: var(--paper);
  color: var(--ink);
  font: 500 9px var(--an-mono);
  letter-spacing: 0.06em;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
  opacity: 0.55;
}
.an-shelf-spine:nth-child(3n + 1) { height: 96px; }
.an-shelf-spine:nth-child(3n + 2) { height: 104px; }
.an-shelf-spine:nth-child(3n) { height: 88px; }
.an-shelf-soon-text { align-self: center; font: 400 10.5px var(--an-mono); color: var(--an-desk-dim); }

.an-tray-pop-row.is-saved { padding: 0; }
.an-tray-pop-row.is-saved > button:first-child {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  border: none;
  background: none;
  cursor: pointer;
  color: #e8e4d6;
  font: inherit;
  text-align: left;
  border-radius: 6px;
  min-width: 0;
}
.an-tray-pop-row.is-saved > button:first-child > span:not(.an-tray-pop-glyph) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.an-tray-pop-del {
  border: none;
  background: none;
  color: #565948;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
}
.an-tray-pop-del:hover { color: var(--an-accent); }
.an-tray-pop-row:disabled,
.an-tray-pop-row:disabled > span:not(.an-tray-pop-glyph),
.an-tray-pop-row:disabled .an-tray-pop-glyph { color: #5c5e4f; cursor: default; }
.an-tray-pop-row:disabled:hover { background: none; }
.an-switch {
  position: relative;
  flex: none;
  margin-left: auto;
  width: 26px;
  height: 14px;
  border-radius: 7px;
  background: rgba(230, 228, 212, 0.16);
  transition: background 160ms ease;
}
.an-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e6e4d4;
  transition: transform 160ms ease;
}
.an-switch.is-on { background: var(--an-accent); }
.an-switch.is-on::after { transform: translateX(12px); }
.an-tray-pop-save { padding: 4px 6px; }
.an-tray-pop-save input {
  width: 100%;
  background: #1d1e17;
  border: 1px solid #3a3c2f;
  border-radius: 6px;
  padding: 7px 10px;
  color: #f3f1e8;
  font-family: var(--an-mono);
  font-size: 12px;
  outline: none;
  caret-color: var(--an-accent);
}
.an-tray-pop-save input::placeholder { color: #8c8f7a; }

/* Paper swatches in the Cards menu */
.an-swatch {
  display: block;
  width: 14px;
  height: 18px;
  flex: none;
  border-radius: 2.5px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.an-swatch[data-paper="today"] { background: #fafaf7; }
.an-swatch[data-paper="week"] { background: #efeae0; }
.an-swatch[data-paper="quarter"] { background: #c9b99a; }
.an-swatch[data-paper="sheet"] { background: #d3c4a6; }
.an-swatch[data-paper="ink"] { background: #16170f; box-shadow: inset 0 0 0 1px rgba(232, 228, 214, 0.3); }
.an-swatch.is-goal { width: 9px; height: 9px; border-radius: 50%; box-shadow: none; }

.an-ondesk-owner {
  font-family: var(--an-mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  color: #565948;
  white-space: nowrap;
  flex: none;
  margin-left: auto;
}
.an-tray-pop-row.is-saved > button:first-child > span.an-ondesk-owner { flex: none; overflow: visible; display: flex; }
.an-ondesk-owner .an-person { --ink: #e8e4d6; --paper: #26271f; }
.an-sub-caret { color: #565948; font-weight: 400; flex: none; }
.an-tray-pop-caret {
  flex: none;
  align-self: stretch;
  border: none;
  background: none;
  padding: 0 10px 0 4px;
  color: #565948;
  font: 400 12px/1 var(--an-mono);
  cursor: pointer;
  border-radius: 0 6px 6px 0;
}
.an-tray-pop-row:hover > .an-tray-pop-caret,
.an-tray-pop-row.is-openrow > .an-tray-pop-caret,
.an-tray-pop-caret:hover { color: #e6e4d4; }
.an-tray-pop-caret:focus { outline: none; }
.an-tray-pop-caret:focus-visible { outline: 1.5px solid var(--an-desk-bright); outline-offset: -3px; }
.an-desks-sub .an-tray-pop-row.is-danger,
.an-desks-sub .an-tray-pop-row.is-danger .an-tray-pop-glyph,
.an-desks-sub .an-tray-pop-row.is-danger:hover .an-tray-pop-glyph { color: var(--an-accent); }
.an-desks-sub .an-tray-pop-row.is-danger:hover { background: rgba(200, 85, 61, 0.12); }
.an-desks-sub .an-tray-pop-row.is-danger:disabled,
.an-desks-sub .an-tray-pop-row.is-danger:disabled .an-tray-pop-glyph { color: #5c5e4f; }
.an-desks-sub { min-width: 210px; }

.an-dock-deskicon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  margin-right: 4px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: none;
  color: var(--an-desk-ink);
}
.an-dock-arrange { cursor: pointer; }
.an-dock-arrange:hover, .an-dock-arrange.is-open { color: var(--an-desk-bright); background: rgba(243, 241, 232, 0.07); }
.an-dock-arrange:focus { outline: none; }
.an-dock-arrange:focus-visible { outline: 1.5px solid var(--an-desk-bright); outline-offset: 1px; }
.an-arrange-pop { min-width: 230px; }

.an-zoomctl {
  position: absolute;
  left: 12px;
  bottom: 12px;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 8px;
  background: #16170f;
  font: 400 12px/1 var(--an-mono);
  color: #d9d6c4;
}
.an-zoomctl.is-docked { bottom: 56px; }
.an-zoomctl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 24px;
  padding: 0 7px;
  border: none;
  border-radius: 5px;
  background: none;
  color: #9a977f;
  font: inherit;
  cursor: pointer;
}
.an-zoomctl-btn.is-pct { min-width: 46px; color: #d9d6c4; font-variant-numeric: tabular-nums; }
.an-zoomctl-btn.is-step { font-size: 15px; }
.an-zoomctl-btn:hover:not(:disabled) { color: var(--an-desk-bright); background: rgba(243, 241, 232, 0.07); }
.an-zoomctl-btn:disabled { color: #4a4b3e; cursor: default; }
.an-zoomctl-btn:focus { outline: none; }
.an-zoomctl-btn:focus-visible { outline: 1.5px solid var(--an-desk-bright); outline-offset: -1px; }

/* Goals flyout beside the Cards panel */
.an-tray-sub {
  left: 262px;
  bottom: 14px;
  min-width: 260px;
}
.an-tray-pop-empty {
  padding: 8px 10px 9px;
  font: 12px/1.5 "IBM Plex Sans", sans-serif;
  color: var(--an-desk-dim);
}

/* Ansel while his card is put away: just the mug, standing in the desk's
   bottom-right corner (no circle; he casts his own shadow). */
.an-coin {
  position: fixed;
  right: 18px;
  bottom: 10px;
  pointer-events: auto;
  z-index: 70;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: transform 0.15s ease;
}
.an-coin:hover { transform: translateY(-2px); }
.an-coin:focus-visible { outline: 2px solid var(--an-desk-bright); outline-offset: 3px; border-radius: 12px; }

/* ── The clock card: a kitchen timer in deep sage enamel ────────────────── */

.an-clock {
  position: relative;
  background: #4d573f;
  color: #eae7d8;
  /* Tints tuned for the sage enamel; only the ink knob and the terracotta
     wedge stay outside this ramp. */
  --kt-muted: #c6cbb2;
  --kt-text: #e3e0cc;
  --kt-line: rgba(0, 0, 0, 0.22);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  padding: 18px 22px 22px;
  overflow: hidden;
}
.an-clock-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--an-mono);
  font-size: 12px;
  color: var(--kt-muted);
}
/* The kitchen-timer dial: a cream face inlaid on the enamel */
.an-kt-dial {
  display: block;
  width: 100%;
  margin-top: 16px;
  touch-action: none;
  cursor: grab;
  filter: drop-shadow(0 7px 16px rgba(0, 0, 0, 0.4));
  user-select: none;
  -webkit-user-select: none;
}
.an-kt-dial.is-winding { cursor: grabbing; }
.an-kt-knob { cursor: pointer; }
.an-kt-knob:hover .an-kt-face { fill: #33342a; }

.an-kt-readout {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  font-family: var(--an-mono);
}
.an-kt-readout b {
  font-size: 22px;
  font-weight: 500;
  color: var(--kt-text);
  letter-spacing: 0.04em;
}
.an-kt-readout b.is-running { color: #e0765a; }
.an-kt-readout span { font-size: 10.5px; color: var(--kt-muted); letter-spacing: 0.08em; }

/* The sound drawers: music and ambient, one line each until pulled open */
.an-kt-panels { margin-top: 14px; border-top: 1px solid var(--kt-line); }
.an-kt-panel { border-bottom: 1px solid var(--kt-line); }
.an-kt-panel:last-child { border-bottom: none; }
.an-kt-phead {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  background: none;
  border: none;
  padding: 11px 2px;
  cursor: pointer;
  font-family: var(--an-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--kt-text);
}
.an-kt-phead:hover { color: #f6f4e8; }
.an-kt-picon { width: 14px; text-align: center; color: var(--kt-muted); }
.an-kt-pnow { margin-left: auto; color: var(--kt-muted); font-size: 11px; }
.an-kt-pnow.is-live { color: #e0765a; }
/* Points down while closed (the drawer opens downward), up while open */
.an-kt-chev {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--kt-muted);
  transition: transform 0.25s ease;
}
.an-kt-chev.is-open { transform: rotate(180deg); }
.an-kt-pbody {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.an-kt-pbody.is-open { grid-template-rows: 1fr; }
.an-kt-pbody > div { overflow: hidden; min-height: 0; }
.an-kt-pills { display: flex; flex-wrap: wrap; gap: 7px; padding: 2px 2px 4px; }
.an-kt-pill {
  font-family: var(--an-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--kt-text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  padding: 4px 11px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.an-kt-pill:hover { color: #f6f4e8; border-color: rgba(255, 255, 255, 0.35); }
.an-kt-pill.is-active {
  color: #f0ede0;
  border-color: #e0765a;
  background: rgba(200, 85, 61, 0.22);
}
.an-kt-volrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 2px 14px;
  color: var(--kt-muted);
  font-family: var(--an-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.an-vol {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.3);
  outline: none;
  cursor: pointer;
}
.an-vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #efeae0;
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.an-vol::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #efeae0;
  border: none;
}
.an-kt-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  border: 0;
}

/* ── Task details: a slip of paper lifted off the card ─────────────────── */
/* No modal dim: an invisible click-catcher, so the desk — and the lit,
   still-selected row — stay fully visible while the slip is out. */
.an-slip-backdrop {
  -webkit-app-region: no-drag;
  position: fixed;
  inset: 0;
  z-index: 80;
}
.an-slip {
  --paper: #fafaf7;
  --ink: #2a2a26;
  --muted: #8c877a;
  --rule: #d6d3c8;
  position: fixed;
  display: flex;
  flex-direction: column;
  width: 400px;
  max-width: calc(100vw - 48px);
  max-height: calc(100dvh - 24px);
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.05);
  /* At its card's lean (TaskSlip sets it); opened from no card, its own slight slant. */
  transform: rotate(var(--an-slip-lean, -0.4deg));
  padding: 14px 20px 16px;
}
.an-slip > * { flex: none; }
.an-slip > .an-slip-notes { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.an-slip > .an-slip-notes.an-mention-field { min-height: calc(1.55em * 3 + 15px); }
.an-slip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--an-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.an-slip-close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  border-radius: 50%;
}
.an-slip-close svg { width: 16px; height: 16px; }
.an-slip-close:hover { color: var(--ink); background: rgba(38, 39, 31, 0.07); }
.an-slip-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 12px;
  border-bottom: 1px solid var(--rule);
}
.an-slip-title {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font-family: var(--an-sans);
  font-size: 17px;
  color: var(--ink);
  padding: 0;
}
.an-slip-title.is-done { opacity: 0.45; text-decoration: line-through; }
.an-slip-meta {
  display: grid;
  grid-template-columns: 52px 1fr;
  row-gap: 7px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--an-mono);
  font-size: 12px;
}
.an-slip-key { color: var(--muted); }
.an-slip-meta > span:not(.an-slip-key) { display: flex; align-items: center; gap: 7px; }
.an-slip-meta > span.an-slip-lock { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
/* The head's task·event switch — the slip's label is the control */
.an-slip-type { display: inline-flex; align-items: center; gap: 7px; }
.an-slip-type i { font-style: normal; color: var(--rule); }
.an-slip-type button {
  border: none;
  background: none;
  padding: 0 0 1px;
  cursor: pointer;
  font-family: var(--an-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid transparent;
}
.an-slip-type button:hover { color: var(--ink); }
.an-slip-type button.is-on { color: var(--ink); border-bottom-color: var(--an-accent); }
button.an-check.is-routine { cursor: pointer; border-radius: 6px; }
button.an-check.is-routine:hover { background: rgba(38, 39, 31, 0.08); }

/* Anchored paper dropdowns: the trigger stays lit while its menu is open */
.an-slipmenu { position: relative; display: inline-flex; }
.an-slipmenu-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 260px;
  border: none;
  background: transparent;
  margin: -3px -8px;
  padding: 3px 8px;
  border-radius: 5px;
  font-family: var(--an-mono);
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
}
.an-slipmenu-btn:hover { background: rgba(38, 39, 31, 0.06); }
.an-slipmenu.is-open .an-slipmenu-btn { background: rgba(38, 39, 31, 0.09); }
.an-slipmenu-btn .an-slipmenu-caret { width: 12px; height: 12px; color: var(--muted); }
.an-slipmenu-name {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.an-slipmenu-pop {
  position: absolute;
  top: calc(100% + 6px);
  left: -8px;
  z-index: 5;
  min-width: 200px;
  max-height: 262px;
  overflow-y: auto;
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.07);
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.an-slipmenu-pop.is-up { top: auto; bottom: calc(100% + 6px); }
.an-slipmenu-row {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  font-family: var(--an-mono);
  font-size: 12px;
  color: var(--ink);
  padding: 7px 9px;
  border-radius: 6px;
  cursor: pointer;
}
.an-slipmenu-row .an-mi { display: inline-flex; flex: none; color: var(--muted); }
.an-slipmenu-row:hover .an-mi { color: inherit; }
.an-slipmenu-row:hover,
.an-slipmenu-row.is-hot { background: color-mix(in srgb, var(--ink, #26271f) 7%, transparent); }
/* On an ink card (Ansel), the corner menu is ink too. */
.an-corner.is-ink .an-corner-pop {
  --paper: #26271f;
  --ink: #e8e4d6;
  --muted: #8c8f7a;
  --rule: rgba(232, 228, 214, 0.14);
  border: 1px solid rgba(232, 228, 214, 0.12);
}
/* Hover washes; the chosen row never does. It's marked by an ink ✓ and ink/500 text, which read on every paper. */
.an-slipmenu-row span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.an-slipmenu-row b { margin-left: auto; font-weight: 500; color: var(--ink); }
.an-slipmenu-row .an-slipmenu-check { flex: none; font-family: var(--an-sans); font-size: 14px; line-height: 1; font-weight: 600; color: var(--ink); }
.an-slipmenu-row.is-active { color: var(--ink); font-weight: 500; }
/* A soft ring for keyboard focus only; a mouse-opened menu shows none. */
.an-slipmenu-row:focus { outline: none; }
.an-slipmenu-row:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 35%, transparent); }
/* The goal menu's "other goals ▸" and the submenu it opens beside the list */
.an-slipmenu-pop.is-sub { z-index: 6; min-width: 220px; max-width: 300px; }
.an-slipmenu-rule { display: block; height: 1px; margin: 4px 8px; background: var(--rule); }
.an-slipmenu-tag { flex: none; font-style: normal; font-size: 11px; color: var(--muted); }
.an-slipmenu-subcaret { flex: none; font-style: normal; font-size: 10px; color: var(--muted); }

.an-slip-pills { display: flex; gap: 7px; flex-wrap: wrap; }
.an-slip-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--an-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 3px 10px;
  cursor: pointer;
  transition: color 0.12s ease, border-color 0.12s ease;
}
.an-slip-pill:hover { color: var(--ink); border-color: var(--muted); }
.an-slip-pill.is-on { color: var(--ink); border-color: var(--ink); background: rgba(38, 39, 31, 0.05); }
.an-slip-pill.is-urgent.is-on {
  color: var(--an-urgent);
  border-color: var(--an-urgent);
  background: rgba(217, 122, 46, 0.09);
}
.an-slip-notes {
  width: 100%;
  border: none;
  background: none;
  outline: none;
  resize: none;
  font-family: var(--an-sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  padding: 11px 0 4px;
}
.an-slip-notes::placeholder { color: #a9a497; }
.an-slip-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}
.an-slip-actions button {
  border: none;
  background: none;
  font-family: var(--an-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 4px;
}
.an-slip-actions button:hover { color: var(--an-accent); background: rgba(200, 85, 61, 0.08); }
.an-slip-actions .an-slip-unmake { margin-right: auto; }
.an-slip-actions .an-slip-unmake:hover { color: var(--ink); background: var(--rule); }


/* A pill under a dragged task swells out from beneath the drag ghost */
.an-pill.is-drop-hot {
  transform: scale(1.45);
  background: var(--an-accent);
  border-color: var(--an-accent);
  color: #fff;
  z-index: 8;
  transition: transform 0.12s ease;
}

/* The drag ghost: a compact paper chip that rides above the cursor, so the
   drop target underneath stays visible */
.an-drag-chip {
  position: absolute;
  top: 0;
  left: -9999px;
  pointer-events: none;
  z-index: 9999;
  max-width: 220px;
  padding: 6px 12px;
  border: 1px solid #d6d3c8;
  border-radius: 6px;
  background: #fafaf7;
  color: #2a2a26;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transform: rotate(-1deg);
}

/* The pull-back companion: same chip, following the pointer for real */
.an-drag-chip.is-follow {
  position: fixed;
  transform: translate(-50%, -50%) rotate(-1deg);
}


/* Pills answer the cursor everywhere */
.an-pill:hover:not(.is-active):not(.is-drop-hot) {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(38, 39, 31, 0.05);
}

/* Same-goal work clusters under a quiet tag in any pane */
.an-gcluster { margin-top: 22px; }
.an-gcluster-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 -12px;
  /* enough floor that the target on the right never grazes the rule */
  padding: 4px 12px 6px;
  font-family: var(--an-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
}
.an-gcluster-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* list · map switch on a goal face */
.an-goalview { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; }
.an-goalview i { font-style: normal; color: var(--rule); }
.an-goalview button {
  border: none;
  background: none;
  padding: 0 0 1px;
  cursor: pointer;
  font-family: var(--an-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid transparent;
}
.an-goalview button:hover { color: var(--ink); }
.an-goalview button.is-on { color: var(--ink); border-bottom-color: var(--an-accent); }
/* The click focus ring reads as a heavy box on paper — keyboard focus keeps a ring. */
.an-goalview button:focus { outline: none; }
.an-goalview button:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; }

/* The real goal map, drawn straight onto the card's paper — no inset window.
   The canvas goes transparent (the kraft shows through) and the ink ramp
   deepens a step so strokes hold on the darker stock. */
.an-goalmap-embed {
  position: relative;
  flex: 1;
  min-height: 320px;
  margin: 8px -14px 0;
  overflow: hidden;
}
/* Compound selectors: these elements carry both classes, and the .an-mapskin
   var block sits later in the file — it would win the tie otherwise. Card
   embed and fullscreen share the treatment: transparent canvas on kraft,
   ink ramp deepened a step so strokes hold on the darker stock. */
.an-goalmap-embed.an-mapskin,
.an-gmap-fullbody.an-mapskin {
  --goal-map-bg: transparent;
  --grey-500: #7c7565;
  --grey-600: #6f675a;
  /* The canvas frame's shadow drew faint rounded corners on the card — the
     map is the card's paper, not a window in it. Nodes re-set this below. */
  --pane-shadow: none;
}



/* ── The goal face: one title block, a quiet menu, then the work ───────── */
/* ── The goal card's cover: an ink-wash journey, words on its sky.
   It cancels the body's padding to reach the paper's very top edge;
   the card head floats over it (see .is-covback / .is-covfront). ── */
.an-gf-cover {
  position: relative;
  flex: none;
  margin: -14px -26px 8px;
  aspect-ratio: 900 / 750;
}
.an-gf-mist {
  position: absolute;
  inset: 0 0 auto;
  height: 30%;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--paper) 0%, var(--paper) 30%, color-mix(in srgb, var(--paper) 55%, transparent) 62%, transparent 100%);
}
.an-gf-cover .an-gf-name,
.an-gf-cover .an-gf-cvdates,
.an-gf-why {
  text-shadow: 0 0 4px var(--paper), 0 0 10px var(--paper), 0 0 18px var(--paper);
}
.an-gf-cover-over {
  position: absolute;
  inset: 0;
  padding: 46px 26px 0;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.an-gf-why {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 16px;
  font-family: var(--an-sans);
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}
.an-gf-why-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: text;
  outline: none;
}
.an-gf-why-text:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; }
.an-gf-why-ask {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--muted);
  text-shadow: inherit;
  cursor: text;
}
.an-gf-why-ask:hover { color: var(--ink); }
.an-gf-why-editing {
  max-height: 3.2em;
  overflow: auto;
}
.an-gf-why .an-mention-field,
.an-gf-why .an-mention-field textarea { text-align: center; }
.an-gf-why .an-mention-input p.is-editor-empty:first-child::before { float: none; display: block; text-align: center; }
.an-gf-cover-over .an-gf-views { pointer-events: auto; margin-bottom: 8px; align-self: flex-end; }
.an-gf-cover-over.is-headviews { padding-top: 72px; }
.an-gf-titlerow { display: flex; align-items: flex-start; gap: 10px; pointer-events: auto; }
.an-gf-name {
  flex: 1;
  min-width: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.an-gf-nameinput {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font-family: var(--an-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  padding: 0;
  border-bottom: 1px dashed var(--muted);
}
.an-gf-menubtn {
  border: none;
  background: none;
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.an-gf-titlerow:hover .an-gf-menubtn,
.an-gf-menu.is-open .an-gf-menubtn,
.an-gf-menubtn:focus-visible { opacity: 1; }
.an-gf-menubtn:hover { color: var(--ink); background: rgba(38, 39, 31, 0.06); }
.an-gf-menu .an-slipmenu-pop.is-right { left: auto; right: -6px; }
.an-slipmenu-row.is-danger span { color: var(--an-accent); }
.an-gf-cvdates {
  font-family: var(--an-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding-top: 7px;
}
.an-gf-cvdates .is-overdue { color: var(--an-overdue); }
/* The same bar the goals list draws under each goal, ruled at the
   painting's lower edge. */
.an-gf-pbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(58, 53, 39, 0.14);
}
.an-gf-pbar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--ink);
  transition: width 0.5s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.an-gs-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 900 / 750;
}
.an-gs-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.an-gs-ink {
  position: absolute;
  left: 0;
  right: 0;
  top: 5.3333%;
  height: 80%;
  background: var(--ink);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.an-gs-walked,
.an-gs-ahead {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.an-gs-walked { stroke-width: 4; opacity: 0.5; filter: blur(0.6px); }
.an-gs-ahead { stroke-width: 2.6; opacity: 0.6; stroke-dasharray: 0 9; }
.an-gs-marker { pointer-events: auto; opacity: 0.35; outline: none; }
.an-gs-marker[data-done="true"] { opacity: 1; }
.an-gs-marker:focus-visible { opacity: 1; }
.an-gs-marker:focus-visible .an-gs-lantern { stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.an-gs-post { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.an-gs-lantern { fill: var(--ink); }
.an-gs-figure { fill: none; stroke: var(--ink); stroke-linecap: round; }
.an-gs-hull { fill: var(--ink); }
.an-gs-red { fill: var(--an-accent); }
.an-gf-views {
  display: inline-flex;
  align-self: flex-end;
  height: 28px;
  box-sizing: border-box;
  border: 1px solid var(--pill-line, var(--rule));
  border-radius: 999px;
  flex: none;
}
.an-gf-views button {
  font-family: var(--an-mono);
  font-size: 11.5px;
  background: none;
  border: none;
  padding: 0 12px;
  color: var(--ink);
  cursor: pointer;
}
.an-gf-views button:hover:not(.is-active) { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.an-gf-views button.is-active { background: var(--ink); color: var(--paper); cursor: default; }
.an-gf-views button:focus-visible { outline: 2px solid var(--an-accent); outline-offset: -3px; }
.an-gf-views button:first-child { border-radius: 999px 0 0 999px; }
.an-gf-views button:last-child { border-radius: 0 999px 999px 0; }

.an-gf-mapaway {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 240px;
  font-family: var(--an-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* Full screen: the map takes the desk on its own sheet */
/* Full screen is one continuous sheet: the wrapper wears the map's own paper,
   the head floats on it, the canvas runs to the edges — no frame, no inner
   border. Sits above every desk chrome layer (avatar 45, tray 40). */
.an-gmap-full {
  /* The same kraft the quarter card wears — full screen is the card grown to
     the whole desk, not a different sheet. */
  --paper: #c9b99a;
  --ink: #3a3527;
  --muted: #7a6e55;
  --rule: #a99a7b;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  font-family: var(--an-sans);
}
.an-gmap-full::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 width=%27180%27 height=%27180%27><filter id=%27n%27><feTurbulence type=%27fractalNoise%27 baseFrequency=%270.85%27 numOctaves=%272%27 stitchTiles=%27stitch%27/><feColorMatrix type=%27saturate%27 values=%270%27/></filter><rect width=%27180%27 height=%27180%27 filter=%27url%28%23n%29%27 opacity=%270.5%27/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.08;
  z-index: 5;
}
/* The goal's name floats over the map's top-left, like the zoom control at
   its foot, so the map gets the whole screen; presses fall through to it. */
.an-gmap-full-head {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 10px;
  pointer-events: none;
  text-shadow: 0 0 6px var(--paper), 0 0 14px var(--paper);
}
.an-gmap-fulltitle {
  font-family: var(--an-sans);
  font-size: 16px;
  font-weight: 500;
  margin-right: auto;
}
.an-gmap-full-head .an-slip-close {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(46, 42, 34, 0.22);
  border-radius: 50%;
  background: #efe7d6;
  color: #6f675a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.an-gmap-full-head .an-slip-close:hover { background: #e7ddc8; color: var(--ink); }

/* ── The calendar: boxed month, hour-grid week ─────────────────────────── */
.an-cal { display: flex; flex-direction: column; min-height: 0; flex: 1; }
/* In the card the calendar runs edge to edge — a wall calendar, not a
   framed inset. The masthead keeps the reading margin. */
.an-card-body > .an-cal { margin: 8px -26px -26px; }
/* The printed masthead: the calendar is the one working surface where
   print-calendar type wins over the mono labels — Month set large in
   title case, day letters in caps. */
.an-cal-mast {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 2px 26px 12px;
}
/* Riding a head row: title first, controls right beside it */
.an-cal-mast.is-inline { padding: 0; justify-content: flex-start; gap: 16px; min-width: 0; }
.an-cal-mast-title {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
}
.an-cal-mast-title b { font-weight: 400; font-size: 15px; color: var(--muted); margin-left: 7px; }
.an-cal-mast-controls { display: inline-flex; align-items: center; gap: 2px; }
.an-cal-mast-controls > button[aria-label] {
  border: none;
  background: none;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  padding: 3px 8px 5px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.an-cal-mast-controls > button[aria-label]:hover { color: var(--ink); background: rgba(38, 39, 31, 0.05); }
.an-cal-today {
  font-family: var(--an-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: none;
  cursor: pointer;
  border: 1px solid var(--pill-line);
  border-radius: 999px;
  padding: 3px 12px;
  margin: 0 8px 0 4px;
}
.an-cal-today:hover { border-color: var(--ink); }
/* Which calendars speak */
.an-cal-srcs { position: relative; display: inline-flex; margin-right: 10px; }
.an-cal-srcs > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  background: none;
  font-family: var(--an-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 6px;
}
.an-cal-srcs > button:hover { color: var(--ink); background: rgba(38, 39, 31, 0.05); }
.an-cal-srcs.is-name { margin-right: 0; }
.an-cal-srcs.is-name > button {
  font-size: 15px;
  letter-spacing: 0;
  color: var(--ink);
  gap: 6px;
  padding: 2px 6px;
  margin: -2px -6px;
}
.an-cal-srcs.is-name > button svg { opacity: 0.55; }
.an-cal-srcs.is-name .an-cal-srcs-pop { top: calc(100% + 10px); }
.an-cal-mast-controls .an-goalview { margin: 0 4px 0 10px; gap: 10px; }
.an-cal-srcs-pop {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 30;
  min-width: 210px;
  max-width: 300px;
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.07);
  padding: 6px;
  display: flex;
  flex-direction: column;
}
.an-cal-srcs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  padding: 7px 9px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--ink);
  text-align: left;
}
.an-cal-srcs-row:hover { background: rgba(38, 39, 31, 0.05); }
.an-cal-srcs-row i { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.an-cal-srcs-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-cal-srcs-row b { width: 6px; height: 6px; border-radius: 50%; background: var(--an-accent); flex: none; margin-left: 8px; }
.an-cal-srcs-row.is-off { color: var(--muted); }
.an-cal-srcs-row.is-off i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.an-cal-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.an-cal-dow i {
  font-style: normal;
  font-family: var(--an-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 0 0 6px 10px;
}

/* Month: boxes, like a wall calendar ruled both ways */
.an-cal-mgrid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-auto-rows: minmax(116px, 1fr);
  flex: 1;
  min-height: 0;
  border-top: 1px solid var(--rule);
}
.an-card-body > .an-cal > .an-cal-mgrid {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.an-cal-box:nth-child(7n) { border-right: none; }
.an-cal-box:nth-last-child(-n + 7) { border-bottom: none; }
.an-cal-box {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  cursor: pointer;
  text-align: left;
}
.an-cal-box:hover { background: rgba(38, 39, 31, 0.04); }
.an-cal-box.is-weekend { background: rgba(38, 39, 31, 0.025); }
.an-cal-box.is-weekend:hover { background: rgba(38, 39, 31, 0.05); }
.an-cal-box.is-out .an-cal-num { opacity: 0.35; }
.an-cal-box.is-out .an-cal-boxbody { opacity: 0.5; }
.an-cal-num {
  font-family: var(--an-mono);
  font-size: 12px;
  color: var(--ink);
  width: 21px;
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex: none;
}
.an-cal-box.is-today .an-cal-num { background: var(--an-accent); color: #fff; }
.an-cal-boxbody { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow: hidden; }
.an-cal-boxbody :is(em, .an-cal-chip) {
  display: flex;
  align-items: center;
  gap: 5px;
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink);
  white-space: nowrap;
  border-radius: 3px;
  padding: 0 3px;
}
.an-cal-boxbody :is(em, .an-cal-chip) > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.an-cal-evdot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); flex: none; }
.an-cal-routine { font-style: normal; font-size: 11px; line-height: 1; flex: none; display: inline-flex; align-items: center; color: #6e6b60; }
.an-cal-routine.is-lead { margin-right: 4px; vertical-align: -1px; }
.an-cal-boxbody :is(em, .an-cal-chip):hover { background: rgba(38, 39, 31, 0.07); }
.an-cal-boxbody :is(em, .an-cal-chip) b {
  font-family: var(--an-mono);
  font-weight: 400;
  font-size: 9.5px;
  color: var(--muted);
  flex: none;
}
.an-cal-boxbody :is(em, .an-cal-chip).is-done { opacity: 0.45; text-decoration: line-through; }
.an-cal-boxbody em.is-more { color: var(--muted); font-family: var(--an-mono); font-size: 9.5px; }

/* Week: day headers + all-day strip over an hour grid */
.an-calw-days {
  display: grid;
  grid-template-columns: 44px repeat(7, 1fr);
  /* the same hairline the month grid wears under its day letters */
  border-bottom: 1px solid var(--rule);
}
.an-calw-corner { border-right: 1px solid var(--rule); }
.an-calw-dayhead {
  border-right: 1px solid var(--rule);
  padding: 2px 6px 6px;
  min-width: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}
.an-calw-dayhead:last-child { border-right: none; }
.an-calw-dayhead:hover { background: rgba(38, 39, 31, 0.04); }
.an-calw-downame { font-family: var(--an-mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--muted); align-self: center; }
.an-calw-daynum {
  width: 27px;
  height: 27px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  align-self: center;
  margin: 1px 0 2px;
}
.an-calw-dayhead.is-today .an-calw-downame { color: var(--an-accent); }
.an-calw-dayhead.is-today .an-calw-daynum { background: var(--an-accent); color: #fff; }
.an-calw-allday { display: flex; flex-direction: column; gap: 2px; min-height: 16px; }
.an-calw-allday :is(em, .an-cal-chip) {
  font-style: normal;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--ink);
  background: rgba(38, 39, 31, 0.06);
  border-radius: 3px;
  padding: 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.an-calw-allday :is(em, .an-cal-chip).is-done { opacity: 0.45; text-decoration: line-through; }
.an-calw-allday em.is-more { background: none; color: var(--muted); font-family: var(--an-mono); font-size: 9.5px; }
.an-calw-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.an-cal.is-week:not(.is-big) .an-calw-scroll { max-height: 560px; }
.an-calw-body {
  position: relative;
  display: grid;
  grid-template-columns: 44px repeat(7, 1fr);
  background-image: repeating-linear-gradient(to bottom, var(--rule) 0 1px, transparent 1px 44px);
}
.an-calw-gutter { position: relative; border-right: 1px solid var(--rule); background: var(--paper); }
.an-calw-gutter span {
  position: absolute;
  right: 7px;
  font-family: var(--an-mono);
  font-size: 9px;
  color: var(--muted);
  background: var(--paper);
  padding: 0 2px;
}
.an-calw-col {
  position: relative;
  border-right: 1px solid var(--rule);
  min-width: 0;
  cursor: pointer;
}
.an-calw-col:last-child { border-right: none; }
.an-calw-block {
  position: absolute;
  left: 3px;
  right: 4px;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 12px;
  line-height: 1.3;
  overflow: hidden;
  cursor: pointer;
  z-index: 2;
}
.an-calw-block.is-task { background: var(--ink); color: var(--paper); }
.an-calw-block.is-event { background: var(--paper); border: 1px solid var(--muted); color: var(--ink); }
.an-calw-block.is-done { opacity: 0.5; }
.an-calw-block b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-calw-block span { font-family: var(--an-mono); font-size: 9.5px; opacity: 0.75; }
.an-calw-now { position: absolute; left: 0; right: 0; height: 2px; background: var(--an-accent); z-index: 3; pointer-events: none; }
.an-calw-now::before { content: ""; position: absolute; left: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--an-accent); }

/* Full screen: the calendar takes the desk, dock and fab stay reachable */
.an-cal-full.is-kraft { --paper: #c9b99a; --ink: #3a3527; --muted: #7a6e55; --rule: #a99a7b; --pill-line: #8c7e62; }
.an-fullwrap {
  position: fixed;
  inset: 0;
  z-index: 55;
}
.an-fullwrap > .an-corner { top: 10px; right: 10px; }
.an-fullwrap > .nb-spread > .an-card-head,
.an-fullwrap > .nb-wall > .an-card-head,
.an-fullwrap .an-cal-full-head { padding-right: 48px; }
.an-fullwrap > .an-cal-full,
.an-fullwrap > .an-gmap-full {
  position: absolute;
  inset: 0;
  z-index: auto;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.an-cal-full {
  --paper: #fafaf7;
  --ink: #2a2a26;
  --muted: #8c877a;
  --rule: #d6d3c8;
  --pill-line: #b8b4a8;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--paper);
  color: var(--ink);
  padding: 18px 0 0;
  display: flex;
  flex-direction: column;
}
.an-cal-full-head { display: flex; align-items: center; gap: 18px; padding: 0 24px 10px; }
.an-cal-full-title { font-family: var(--an-mono); font-size: 15px; color: var(--ink); }
.an-cal-full-head .an-slip-close { margin-left: auto; }
.an-cal-full-head > .an-cal-namenav { margin-left: auto; max-width: none; font-family: var(--an-mono); }
.an-cal-full-head > .an-cal-namenav + .an-slip-close { margin-left: 8px; }
.an-cal-full-head { padding-top: 2px; }


/* The real goal map canvas, dressed in desk paper */
/* The real goal map (GoalDetailInterior) reskinned to the desk. Same
   component, same behavior — only its CSS vars are remapped: white panels
   become warm paper, the grey ramp becomes an ink→paper ramp, shadows warm to
   the desk's one light source, and type moves to IBM Plex. Scoped here so the
   real /goals page keeps its own theme. */
.an-mapskin {
  /* The canvas + its nodes */
  --goal-map-bg: #f3eee2;
  --goal-map-dot: color-mix(in srgb, var(--ink, #3a3527) 22%, transparent);
  /* Goal/start nodes: kraft-family paper, a step lighter than the
     checkpoints for hierarchy — never a white card on the kraft ground. */
  --goals-map-node-bg: #efe7d2;
  --goals-map-node-bg-hover: #f4edd9;
  --goals-map-checkpoint-bg: #e9e2d1;
  --goals-map-checkpoint-bg-hover: #e2dac6;
  /* Sheet stock, not bright bone: quiet against kraft, still a distinct slip
     on the fullscreen's bone canvas. */
  --goals-map-tasks-bg: #e6ddc6;
  --overdue-color: #9c3b26;
  --text-tertiary: #8a8172;
  --text-primary: #2e2a22;
  --goal-map-close: rgba(58, 53, 39, 0.5);
  --goal-map-close-hover: rgba(58, 53, 39, 0.9);

  /* Panels + surfaces (goal header, task panels, dropdowns) */
  --panel-bg: #f4efe3;
  --panel-bg-hover: #f7f2e6;
  --panel-bg-collapsed: #ece5d5;
  --col-week-bg: #f4efe3;
  --dropdown-bg: #efe7d6;
  --divider: rgba(58, 53, 39, 0.10);
  --border: 40 20% 82%; /* hsl components — consumed via hsl(var(--border)) */

  /* Grey ramp → warm ink → paper (text and light fills alike) */
  --grey-900: #2e2a22;
  --grey-800: #3a352b;
  --grey-700: #6f675a;
  --grey-600: #7c7565;
  --grey-500: #938a76;
  --grey-400: #a99f89;
  --grey-300: #cabfa8;
  --grey-200: #e6dfce;
  --grey-100: #f1ebdf;

  /* Pills, cards, task rows */
  --goal-pill-bg: rgba(58, 53, 39, 0.05);
  --goal-pill-bg-hover: rgba(58, 53, 39, 0.09);
  --goal-card-subtitle: #6f675a;
  --goal-card-ink-rule: rgba(58, 53, 39, 0.06);
  --goal-card-ink-muted: rgba(58, 53, 39, 0.45);
  --task-row-divider: rgba(58, 53, 39, 0.08);
  --task-bg-color-hover: rgba(58, 53, 39, 0.04);
  --task-shadow-hover: 0 1px 2px rgba(46, 42, 34, 0.10);

  /* One light source, warm — subtle for in-map panels */
  --shadow-100: 0 1px 2px rgba(46, 42, 34, 0.08), 0 2px 6px rgba(46, 42, 34, 0.08);
  --shadow-200: 0 2px 8px rgba(46, 42, 34, 0.10), 0 8px 20px rgba(46, 42, 34, 0.10);
  --shadow-300: 0 8px 28px rgba(46, 42, 34, 0.14), 0 2px 8px rgba(46, 42, 34, 0.10);
  --pane-shadow: 0 0 0 1px rgba(46, 42, 34, 0.06), 0 2px 6px rgba(46, 42, 34, 0.08), 0 10px 26px rgba(46, 42, 34, 0.12);
  --panel-shadow: var(--pane-shadow);

  /* Working type in the desk's face; geist-mono only feeds the zoom readout,
     which is data — real mono. */
  --font-mono: "IBM Plex Sans", system-ui, sans-serif;
  --font-geist-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Sticky-note colors: the app's cool near-whites warmed to the desk's
     manuscript family (these vars only feed note nodes inside the map). */
  --yellow-100: #f6f1e3;
  --blue-100: #e9eae0;
  --green-100: #e5e8da;
  --purple-100: #eae4d9;
  --plum-100: #f0e5dc;
}

/* ── Redesigned map objects ──────────────────────────────────────────────
   The component's nodes carry inline styles (some hardcoding Suisse and
   JS-computed washes), so these overrides are element-level and !important
   by necessity. Everything is scoped to .an-mapskin: /goals is untouched. */

/* Any text the component hardcodes to Suisse (goal title, description,
   task titles) joins the desk's working face. */
.an-mapskin [style*="Suisse"] {
  font-family: "IBM Plex Sans", system-ui, sans-serif !important;
}

/* ── Ink on kraft ────────────────────────────────────────────────────────
   Nodes are slips laid on the card, not stickers stuck to it. Fills sit a
   step or two off the kraft (#c9b99a) instead of jumping to bone, a hairline
   ring draws the edge, and a short warm shadow gives a paper's lift — never
   the old floating-panel drop. Hierarchy climbs in three steps of fill,
   line and lift: task sheets → checkpoints → the goal; start is a bare tag.
   Everything goes through the component's own vars where it can, so hover
   and prompt states keep working. */
.an-mapskin [data-goal-canvas] {
  --pane-shadow: 0 0 0 1px rgba(58, 53, 39, 0.17), 0 1px 1px rgba(46, 42, 34, 0.06), 0 3px 8px -3px rgba(46, 42, 34, 0.16);
  --goals-map-node-bg: #c9b99a;
  --goals-map-node-bg-hover: #cebfa2;
  --goals-map-tasks-bg: #cdbea1;
}

.an-mapskin [data-mindmap-box-id] .rounded-2xl {
  border-radius: 10px !important;
}

/* The goal: the palest sheet, the firmest line, the most lift. */
.an-mapskin [data-mindmap-box-id] .rounded-2xl:has(svg[viewBox="0 0 5 5"]) {
  --goals-map-node-bg: #d8cbb0;
  --goals-map-node-bg-hover: #dccfb5;
  --pane-shadow: 0 0 0 1px rgba(58, 53, 39, 0.46), 0 1px 2px rgba(46, 42, 34, 0.08), 0 8px 18px -8px rgba(46, 42, 34, 0.3);
}

/* Its progress: the same dark ink line the list view draws at the cover's
   foot (the component's own bar, at 6%/20% ink, vanished on kraft). */
.an-mapskin [data-mindmap-box-id] div[style*="border-radius: 16px"][style*="overflow: hidden"] {
  border-radius: 10px !important;
}
.an-mapskin [data-mindmap-box-id] div[style*="goal-card-ink-rule"][style*="height: 2px"] {
  height: 3px !important;
  background: rgba(58, 53, 39, 0.14) !important;
}
.an-mapskin [data-mindmap-box-id] div[style*="goal-card-ink-bar"] {
  background: #3a3527 !important;
}

/* Checkpoints: the milestones, so a step up from task sheets — paler stock,
   a firmer line, a little more lift. (The component's accent-wash gradient,
   where the purple came from, is replaced: identity lives in the goal's
   target ring, not in colored paper.) */
.an-mapskin [data-mindmap-box-id] .rounded-2xl[style*="linear-gradient"] {
  --pane-shadow: 0 0 0 1px rgba(58, 53, 39, 0.3), 0 1px 1px rgba(46, 42, 34, 0.07), 0 5px 12px -5px rgba(46, 42, 34, 0.24);
  background: #d3c6aa !important;
}
/* Hovering any box lifts the whole box a touch: it reads as "this moves",
   where a tint on just the title read as "this edits". */
.an-mapskin [data-mindmap-box-id] { transition: filter 150ms ease; }
.an-mapskin [data-mindmap-box-id]:hover { filter: brightness(1.04) drop-shadow(0 3px 6px rgba(46, 42, 34, 0.12)); }

/* The pixel flag is retired — the desk has no flags. */
.an-mapskin [data-mindmap-box-id] svg[viewBox="0 0 5 5"] {
  display: none !important;
}

.an-mapskin [data-goal-canvas] [style*="uppercase"] {
  font-family: var(--an-mono, "IBM Plex Mono", monospace) !important;
  text-transform: none !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0.03em !important;
  color: #3a3527 !important;
}
/* Checkpoint names carry a touch more weight than task-box headers. */
.an-mapskin [data-mindmap-box-id] .rounded-2xl[data-node-face="accent"] [style*="uppercase"] {
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: #2e2a22 !important;
}
/* Untitled task-box placeholder stays a whisper. */
.an-mapskin [data-goal-canvas] [style*="uppercase"][style*="grey-400"] {
  color: #8c7e62 !important;
}
/* Start: the journey's origin, a pencil tag on bare kraft. */
.an-mapskin [data-mindmap-box-id] .rounded-2xl[data-node-face="plain"] {
  --pane-shadow: 0 0 0 1px rgba(58, 53, 39, 0.16);
}
.an-mapskin [data-mindmap-box-id] .rounded-2xl[data-node-face="plain"] [style*="uppercase"] {
  color: #7a6e55 !important;
}

/* Task rows read like card rows: Plex Sans titles at the working scale. */
.an-mapskin .qtr-canvas-task-row p {
  font-family: "IBM Plex Sans", system-ui, sans-serif !important;
  font-size: 14.5px !important;
  color: #3a3527 !important;
}

/* Checkboxes are the desk's circles, not squares. */
.an-mapskin .qtr-canvas-task-row [role="checkbox"],
.an-mapskin .qtr-canvas-task-row .w-4.h-4,
.an-mapskin [data-goal-canvas] .rounded-sm.w-4 {
  border-radius: 50% !important;
}
/* The checkbox's default ring is the app's cool slate — warm it to ink. */
.an-mapskin .qtr-canvas-task-row .qtr-checkbox:not([data-state="checked"]) {
  border-color: rgba(58, 53, 39, 0.55);
}
.an-mapskin { --checkbox-checked-bg: var(--ink); }

/* Edges are pencil, not pen: thinner and lighter than the text they connect,
   so the nodes read first and the journey second. Hover (on the wide hit
   path beside it) inks the line in. Arrowheads scale with stroke width, so
   they shrink in step. */
.an-mapskin [data-goal-canvas] > svg g > path:first-child[stroke^="var(--grey"] {
  stroke: rgba(58, 53, 39, 0.42);
  stroke-width: 1.3px;
}
.an-mapskin [data-goal-canvas] > svg g:has(> path[stroke="transparent"]:hover) > path:first-child {
  stroke: #3a3527;
}
.an-mapskin marker path {
  fill: rgba(58, 53, 39, 0.55) !important;
}

/* The goal's name at the desk's working scale: medium, not semibold — the
   node's line already says "this is the destination". */
.an-mapskin [data-mindmap-box-id] span[style*="21px"] {
  font-size: 16.5px !important;
  font-weight: 500 !important;
  color: #2e2a22 !important;
}

/* Node when-labels (the goal's "by …", checkpoint timeframes): real mono —
   these read var(--font-mono), which the skin remaps to Sans for body text. */
.an-mapskin [data-mindmap-box-id] span[style*="goal-card-subtitle"] {
  font-family: "IBM Plex Mono", ui-monospace, monospace !important;
  font-size: 10.5px !important;
  letter-spacing: 0.06em !important;
  color: #7a6e55 !important;
}

/* The goal's mark: the desk's target (.an-target.is-sm — two rings and a
   dot), in the flag's old seat, tinted by --goal-c from the host. */
.an-mapskin [data-mindmap-box-id] div:has(> svg[viewBox="0 0 5 5"]) {
  position: relative;
  width: 16px;
  height: 16px;
  justify-content: center;
  box-sizing: border-box;
  border: 1.5px solid var(--goal-c, #3a3527);
  border-radius: 50%;
}
.an-mapskin [data-mindmap-box-id] div:has(> svg[viewBox="0 0 5 5"])::before {
  content: "";
  width: 8px;
  height: 8px;
  box-sizing: border-box;
  border: 1.5px solid var(--goal-c, #3a3527);
  border-radius: 50%;
}
.an-mapskin [data-mindmap-box-id] div:has(> svg[viewBox="0 0 5 5"])::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--goal-c, #3a3527);
}

/* Zoom control: the card's own paper with a hairline, not a bright floating
   panel; the readout is data, so real mono. */
.an-mapskin .absolute.bottom-4.left-4.z-50 {
  background-color: #c9b99a !important;
  border-color: rgba(58, 53, 39, 0.18) !important;
  box-shadow: none !important;
}
.an-mapskin .absolute.bottom-4.left-4.z-50 button {
  color: #5c5243 !important;
}
.an-mapskin .absolute.bottom-4.left-4.z-50 button:hover {
  color: #2e2a22 !important;
  background: rgba(58, 53, 39, 0.07);
}
.an-mapskin .absolute.bottom-4.left-4.z-50 button[title^="Reset"] {
  font-family: var(--an-mono, "IBM Plex Mono", monospace);
  font-size: 11.5px;
  font-weight: 400 !important;
}
.an-mapskin .absolute.bottom-4.left-4.z-50 > div {
  background-color: rgba(58, 53, 39, 0.14) !important;
}
/* A click left a heavy ink box on the button; keyboard focus keeps a ring. */
.an-mapskin button:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* The loading state's pale panel caused a white blink on kraft — the frame
   is the card itself; only the spinner needs to appear. */
.an-mapskin [class*="bg-(--panel-bg)"][class*="shadow-"] {
  background: transparent !important;
  box-shadow: none !important;
}

/* When-labels on task rows: small letterspaced mono, per the card grammar
   (color stays var-driven — muted, terracotta only when overdue). */
.an-mapskin .qtr-canvas-task-row span[style*="text-tertiary"],
.an-mapskin .qtr-canvas-task-row span[style*="overdue-color"] {
  font-family: "IBM Plex Mono", ui-monospace, monospace !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
}

.an-mapskin [data-mindmap-box-id] { cursor: grab; }
.an-mapskin [data-mindmap-box-id]:active { cursor: grabbing; }
.an-mapskin [data-mindmap-box-id] [data-task-row-id],
.an-mapskin [data-mindmap-box-id] button,
.an-mapskin [data-mindmap-box-id] input,
.an-mapskin [data-mindmap-box-id] .connection-dot { cursor: pointer; }

/* The drag-to-link tooltip and connection hints portal to <body>, so they
   sit outside .an-mapskin — the desk gate reaches them. Rejection goes
   espresso ink, success the focus card's sage — never the app's navy/green.
   (Hex inline styles serialize to rgb(), hence the matchers.) */
body.on-desk [style*="rgba(30, 30, 30"] {
  background-color: #3a3527 !important;
  border-radius: 6px !important;
}
body.on-desk .qtr-map-tip-text {
  color: #efe7d6 !important;
  font-family: var(--an-mono) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}
body.on-desk [style*="rgb(67, 77, 128)"],
body.on-desk [style*="rgba(34, 120, 60"] {
  background-color: #3a3527 !important;
  color: #efe7d6 !important;
  font-family: var(--an-mono) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  border-radius: 6px !important;
  box-shadow: 0 10px 24px rgba(31, 27, 18, 0.28) !important;
}
body.on-desk [style*="rgba(34, 120, 60"] {
  background-color: #4d573f !important;
}

/* ── Portaled planner overlays, desk edition ─────────────────────────────
   TaskDetailsPopover (and TaskSelectionToolbar) portal to <body>, outside
   every desk scope — but they theme through vars, so when the desk is
   mounted (only /analog renders .an-desk) we re-point the family at paper
   and ink. The main app never has .an-desk, so it keeps its own theme. */
body.on-desk {
  /* Desk tokens for desk components portaled to <body> (the map's TaskSlip):
     outside .an-desk these wouldn't resolve — the slip's active tab was
     falling back to ink instead of the terracotta rule. */
  --an-accent: #c8553d;
  --an-overdue: #9c3b26;
  --an-urgent: #d97a2e;
  --an-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --an-sans: "IBM Plex Sans", system-ui, sans-serif;
  --an-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;

  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --task-details-popover-bg-color: #f4efe1;
  --task-details-popover-row-border: rgba(46, 42, 34, 0.12);
  --task-details-popover-row-hover: rgba(46, 42, 34, 0.05);
  --task-details-popover-label-color: #8a8172;
  --task-details-popover-label-filled-color: #2e2a22;
  --task-details-popover-arrow-color: #6f675a;
  --task-details-popover-subtext-color: #8a8172;
  --task-details-popover-button-wrapper-bg-color: rgba(46, 42, 34, 0.07);
  --task-details-popover-button-bg-color: transparent;
  --task-details-popover-button-bg-color-hover: rgba(247, 243, 234, 0.7);
  --task-details-popover-button-bg-color-active: #f7f3ea;
  --task-details-popover-button-color: #6f675a;
  --task-details-popover-button-color-active: #2e2a22;
  --task-details-popover-button-shadow-active: 0 1px 2px rgba(46, 42, 34, 0.14);
}
body.on-desk [class*="task-details-popover-bg"] {
  border-radius: 12px !important;
  box-shadow: 0 18px 44px rgba(31, 27, 18, 0.35), 0 2px 8px rgba(31, 27, 18, 0.18) !important;
}

/* The map's context menus (goal ⋯, canvas add-menu) — some render inline,
   some portal to <body>, so the desk gate covers them all at once. The
   .dropdown-menu-item classes hardcode Suisse in components.css, hence the
   font overrides. Desk menu grammar: paper popover, 10px radius, 13px rows. */
body.on-desk {
  --dropdown-menu-bg-color: #efe7d6;
  --dropdown-menu-shadow: 0 14px 34px rgba(31, 27, 18, 0.30), 0 2px 8px rgba(31, 27, 18, 0.14);
  --dropdown-menu-item-color: #2e2a22;
  --dropdown-menu-item-icon-color: #8a8172;
  --dropdown-menu-item-hover-bg-color: rgba(46, 42, 34, 0.06);
  --dropdown-menu-item-hover-color: #2e2a22;
  --dropdown-menu-item-delete-color: #b23b2e;
  --dropdown-menu-item-delete-bg-color: transparent;
}
body.on-desk .goal-actions-menu {
  background: #efe7d6 !important;
  border: 1px solid rgba(46, 42, 34, 0.18) !important;
  border-radius: 10px !important;
  box-shadow: 0 14px 34px rgba(31, 27, 18, 0.30), 0 2px 8px rgba(31, 27, 18, 0.14) !important;
  backdrop-filter: none !important;
}
body.on-desk .goal-actions-menu .dropdown-menu-item,
body.on-desk .goal-actions-menu .dropdown-menu-item-delete,
body.on-desk .goal-actions-menu button {
  font-family: "IBM Plex Sans", system-ui, sans-serif !important;
  font-size: 13px !important;
  color: #2e2a22;
  border-radius: 6px;
}
body.on-desk .goal-actions-menu .dropdown-menu-item-delete,
body.on-desk .goal-actions-menu .dropdown-menu-item-delete svg {
  color: #b23b2e !important;
}
body.on-desk .goal-actions-menu svg {
  color: #8a8172;
}

/* The map's own menus (qtr-map-menu: goal/checkpoint/task actions, the
   add-a-node menu, the mid-arrow menu) speak the desk's menu grammar, same
   as the card corner and goal ⋯ menus: kraft paper like the card the map
   lives on, sentence-case mono rows, one 15px icon slot so every label lines
   up. Toggle segments (.flex-1) and color swatches (.w-9) keep their shape. */
body.on-desk .qtr-map-menu {
  /* components.css sets the rows' face with a layered !important, which no
     unlayered rule can beat — so re-point the var it reads instead. */
  --font-mono: var(--an-mono);
  background: #c9b99a !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.07) !important;
  backdrop-filter: none !important;
  padding: 6px !important;
  min-width: 200px !important;
}
body.on-desk .qtr-map-menu button:not(.flex-1):not(.w-9) {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 7px 9px !important;
  border: none !important;
  border-radius: 6px !important;
  font-family: var(--an-mono) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  color: #3a3527 !important;
}
body.on-desk .qtr-map-menu button:not(.flex-1):not(.w-9):hover {
  background-color: rgba(38, 39, 31, 0.07) !important;
}
body.on-desk .qtr-map-menu button svg {
  width: 15px !important;
  height: 15px !important;
  flex: none !important;
  margin: 0 !important;
  opacity: 1 !important;
  color: #7a6e55 !important;
}
body.on-desk .qtr-map-menu button.is-danger,
body.on-desk .qtr-map-menu button[style*="rgb(220, 38, 38)"],
body.on-desk .qtr-map-menu button.is-danger svg,
body.on-desk .qtr-map-menu button[style*="rgb(220, 38, 38)"] svg {
  color: var(--an-accent) !important;
}
body.on-desk .qtr-map-menu .border-t,
body.on-desk .qtr-map-menu hr {
  border-color: rgba(58, 53, 39, 0.22) !important;
}
body.on-desk .qtr-map-menu .qtr-map-seg {
  gap: 2px !important;
  padding: 3px !important;
  border-radius: 7px !important;
  background-color: rgba(58, 53, 39, 0.09) !important;
}
body.on-desk .qtr-map-menu .qtr-map-seg > button {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  gap: 7px !important;
  padding: 7px 10px !important;
  border-radius: 5px !important;
  font-family: var(--an-mono) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  color: #3a3527 !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
body.on-desk .qtr-map-menu .qtr-map-seg > button:hover {
  background-color: rgba(38, 39, 31, 0.07) !important;
}
body.on-desk .qtr-map-menu .qtr-map-seg > button.is-current {
  color: #26271f !important;
  background-color: #f4ecdb !important;
  box-shadow: 0 1px 2px rgba(38, 39, 31, 0.22) !important;
}
body.on-desk .qtr-map-menu .qtr-map-seg > button svg {
  width: 14px !important;
  height: 14px !important;
  opacity: 1 !important;
  color: #7a6e55 !important;
}
body.on-desk .qtr-map-menu .qtr-map-seg > button.is-current svg {
  color: #26271f !important;
}
body.on-desk .qtr-map-menu .qtr-map-seg > .qtr-map-seg-goal svg {
  display: none !important;
}
body.on-desk .qtr-map-menu .qtr-map-seg > .qtr-map-seg-goal::before {
  content: "";
  width: 11px;
  height: 11px;
  margin: 0 2px;
  flex: none;
  box-sizing: border-box;
  border: 1.5px solid #7a6e55;
  border-radius: 50%;
  background: radial-gradient(circle, #7a6e55 0 1.6px, transparent 2.1px);
}
body.on-desk .qtr-map-menu .qtr-map-seg > .qtr-map-seg-goal.is-current::before {
  border-color: #26271f;
  background: radial-gradient(circle, #26271f 0 1.6px, transparent 2.1px);
}

/* Flags are retired desk-wide. The canvas add-menu's flag hides behind a
   drawn target ring; PixelFlag glyphs (task popover's goal rows) become the
   desk's target-ring mark wherever a span wraps them. */
body.on-desk .goal-actions-menu svg:has(path[d="M5 3L19 8L5 13Z"]) {
  display: none !important;
}
body.on-desk .goal-actions-menu button:has(path[d="M5 3L19 8L5 13Z"])::before {
  content: "";
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border: 1.5px solid #8a8172;
  border-radius: 50%;
}
/* In the map's menus the ring takes the same 15px slot as every icon. */
body.on-desk .qtr-map-menu button:has(path[d="M5 3L19 8L5 13Z"])::before {
  width: 11px;
  height: 11px;
  margin: 0 2px;
  border-color: #7a6e55;
}
body.on-desk span:has(> svg[viewBox="0 0 5 5"]) {
  position: relative;
  width: 13px !important;
  height: 13px !important;
  border: 1.5px solid #8a8172;
  border-radius: 50%;
}
body.on-desk span:has(> svg[viewBox="0 0 5 5"])::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #8a8172;
}
body.on-desk span > svg[viewBox="0 0 5 5"] {
  display: none !important;
}
.an-gmap-fullbody { flex: 1; min-height: 0; display: flex; overflow: hidden; }

/* Calendar movement: hot cells, timed drop ghost, in-place draft */
.an-cal-box.is-hot,
.an-calw-dayhead.is-hot {
  outline: 1.5px dashed var(--an-accent);
  outline-offset: -2px;
  background: rgba(200, 85, 61, 0.06);
}
.an-cal-boxbody :is(em, .an-cal-chip) { cursor: grab; }
.an-calw-block.is-editable { cursor: grab; touch-action: none; }
.an-calw-block.is-live {
  cursor: grabbing;
  z-index: 5;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
.an-calw-grip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  cursor: ns-resize;
}
.an-calw-block.is-editable:hover .an-calw-grip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 14px;
  height: 2px;
  margin-left: -7px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.45;
}
.an-calw-block.is-locked:hover { border-style: dashed; }
.an-calw-block.is-refused { cursor: not-allowed; }
.an-calw-block span.an-calw-lockline { opacity: 1; }
.an-calw-block.is-event span.an-calw-lockline { color: var(--an-accent); }
.an-calw-ghost {
  position: absolute;
  left: 3px;
  right: 4px;
  z-index: 3;
  border: 1.5px dashed var(--an-accent);
  border-radius: 4px;
  background: rgba(200, 85, 61, 0.07);
  pointer-events: none;
}
.an-calw-block.an-calw-suggested {
  background: rgba(200, 85, 61, 0.07);
  color: var(--ink);
  border: 1.5px dashed var(--an-accent);
  z-index: 3;
  cursor: default;
}
.an-calw-col { touch-action: none; }
.an-calw-block.an-calw-draft {
  background: var(--paper);
  color: var(--ink);
  border: 1.5px dashed var(--an-accent);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  z-index: 4;
  cursor: default;
}
.an-calw-block.an-calw-draft input {
  width: 100%;
  border: none;
  background: none;
  outline: none;
  font-family: var(--an-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  padding: 0;
}
.an-calw-block.an-calw-draft input::placeholder { color: var(--muted); }
.an-calw-block.an-calw-draft .an-mention-field { width: 100%; font-family: var(--an-sans); font-size: 11px; font-weight: 500; color: var(--ink); }
.an-calw-block.an-calw-draft .an-mention-field span,
.an-cal.is-big .an-calw-block.an-calw-draft .an-mention-field span { font-family: inherit; font-size: inherit; opacity: 1; }


/* Full screen: room to breathe — larger type, taller hours */
.an-cal.is-big .an-cal-nav { font-size: 15px; }
.an-cal.is-big .an-cal-nav .an-cal-today { font-size: 12px; padding: 3px 13px; }
.an-cal.is-big .an-cal-dow i { font-size: 11.5px; }
.an-cal.is-big .an-cal-num { font-size: 13.5px; width: 25px; height: 25px; }
.an-cal.is-big .an-cal-boxbody :is(em, .an-cal-chip) { font-size: 13.5px; line-height: 1.5; }
.an-cal.is-big .an-cal-boxbody :is(em, .an-cal-chip) b { font-size: 10.5px; }
.an-cal.is-big .an-calw-dayname { font-size: 13.5px; }
.an-cal.is-big .an-calw-allday :is(em, .an-cal-chip) { font-size: 12.5px; }
.an-cal.is-big .an-calw-block { font-size: 13.5px; padding: 3px 9px; }
.an-cal.is-big .an-calw-block span { font-size: 11px; }
.an-cal.is-big .an-calw-gutter span { font-size: 10.5px; }
.an-cal.is-big .an-calw-body {
  background-image: repeating-linear-gradient(to bottom, var(--rule) 0 1px, transparent 1px 56px);
}

/* ── Plan strip: the week's written plan above its tasks ─────────────── */
.an-planstrip { margin: 0 0 12px; }
.an-planstrip .an-plan-prose { margin: 2px 0 10px; }
.an-planstrip .an-map-cta { margin: 2px 0 0; }

.an-overdue-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.an-overdue-count { font-family: var(--an-mono); font-size: 11px; color: var(--muted); }
.an-overdue-line .an-map-cta { margin: 0; }

/* The sessions are frameless; this is their only chrome. */
.an-calm-esc {
  position: absolute;
  top: 18px;
  right: 22px;
  font: 11px/1 var(--an-mono);
  color: rgba(244, 238, 220, 0.35);
  pointer-events: none;
}

/* ── Breather: the desk dims and a flower paints in the minute ────────── */
.an-breather {
  -webkit-app-region: no-drag;
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  /* With no sage card behind it, the bloom needs a room as dark as the meditation's */
  background: radial-gradient(ellipse at center, rgba(30, 33, 24, 0.9), rgba(9, 10, 7, 0.97));
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: default;
}
.an-breather.is-on { opacity: 1; transition-duration: 1.6s; }
.an-bre-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transform: translateY(14px);
  transition: transform 0.5s ease;
}
.an-breather.is-on .an-bre-card { transform: translateY(0); transition: transform 1.4s cubic-bezier(0.3, 0.8, 0.3, 1); }
.an-bre-line {
  font: 400 13px/1.2 "IBM Plex Mono", monospace;
  color: #d8dcc9;
  min-height: 16px;
}
.an-bre-breath { animation: an-bre-breath 10s ease-in-out infinite; pointer-events: none; }
@keyframes an-bre-breath {
  0%, 100% { transform: scale(1); }
  40%, 55% { transform: scale(1.05); }
}
.an-bre-stem {
  fill: none;
  stroke: #b9c4a9;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: an-bre-stem 6.5s ease-out 0.5s forwards;
}
@keyframes an-bre-stem { to { stroke-dashoffset: 0; } }
.an-bre-leaf {
  fill: #93a284;
  opacity: 0;
  animation: an-bre-leaf 6s ease both;
}
@keyframes an-bre-leaf {
  from { opacity: 0; }
  to { opacity: 0.7; }
}
.an-bre-petal {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: an-bre-petal 6s cubic-bezier(0.25, 0.7, 0.3, 1) both;
}
.an-bre-petal.is-inner { fill: #eba97f; }
@keyframes an-bre-petal {
  0% { opacity: 0; transform: scale(0.5); }
  70% { opacity: 0.9; }
  100% { opacity: 0.85; transform: scale(1); }
}
.an-bre-center {
  fill: #d9b174;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: an-bre-petal 4s ease both;
}
.an-bre-center.is-dot { fill: #f0e3c9; }


/* ── Gita deck: a small painted verse card ───────────────────────────── */
.an-gitacard {
  overflow: hidden;
  border-radius: 16px;
  background: #f6f1e3;
  box-shadow: 0 18px 44px rgba(31, 27, 18, 0.35), 0 2px 8px rgba(31, 27, 18, 0.18);
  display: flex;
  flex-direction: column;
}
.an-gcard-art {
  display: block;
  width: 100%;
  height: 190px;
}
.an-gcard-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 26px 24px;
}
.an-gcard-deva {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: "Devanagari MT", "Tiro Devanagari Sanskrit", "IBM Plex Sans Devanagari", "Kohinoor Devanagari", "Noto Serif Devanagari", serif;
  font-size: 16.5px;
  line-height: 1.75;
  color: #39352b;
}
.an-gcard-iast {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 12px;
  font: italic 400 11.5px/1.6 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  letter-spacing: 0.01em;
  color: #8a8271;
}
.an-gcard-orn {
  margin: 12px 0 9px;
  font-family: "Devanagari MT", "Kohinoor Devanagari", serif;
  font-size: 12px;
  color: #c8553d;
  opacity: 0.8;
}
.an-gcard-en {
  margin: 0;
  font: 400 14.5px/1.7 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: #39352b;
  padding: 0 4px;
}
.an-gcard-cite {
  margin-top: 15px;
  font: 500 11px/1 "Devanagari MT", "Kohinoor Devanagari", serif;
  letter-spacing: 0.1em;
  color: #c8553d;
}


/* ── Meditation: a short candle sit ─────────────────────────────────────
   The calm register's second enamel: candlelight espresso, the meditation
   deck's own night the way dark sage belongs to Focus and the breather.
   The candle and its flame are reserved for meditation. */
.an-medit {
  -webkit-app-region: no-drag;
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(30, 25, 18, 0.44), rgba(20, 16, 11, 0.68));
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: default;
}
.an-medit.is-on { opacity: 1; transition-duration: 1.6s; }
/* the room is truly dark from the start; the whole overlay's fade-in
   carries the arrival */
.an-medit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(22, 18, 13, 0.9), rgba(9, 7, 5, 0.97));
  opacity: 0;
  pointer-events: none;
}
.an-medit.is-deep::after { opacity: 1; }
.an-medit-card { z-index: 1; }
.an-medit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(14px);
  transition: transform 0.5s ease;
}
.an-medit.is-on .an-medit-card { transform: translateY(0); transition: transform 1.4s cubic-bezier(0.3, 0.8, 0.3, 1); }
.an-medit-scene { position: relative; width: 400px; height: 212px; flex: none; }
/* a fixed zone below the scene so the words never shift the flame */
.an-medit-zone {
  height: 70px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  text-align: center;
}
.an-medit-scene svg { display: block; }
/* the flame: the breather's petal in flame ambers, each on its own slow
   clock; petals fade in as their moment of the sit arrives */
.an-medit-fire { transition: opacity 2.6s ease; }
/* everything on this card arrives gently */
@keyframes an-medit-lightin { from { opacity: 0; } }
.an-medit-light { animation: an-medit-lightin 9s ease both; }
/* the glow keeps breathing while it lights */
.an-medit-glow.an-medit-light { animation: an-medit-lightin 9s ease both, an-medit-breathe 6.4s ease-in-out 9s infinite; }
.an-medit-fire.is-out { opacity: 0; }
.an-medit-petal {
  transform-origin: 0 0;
  transform-box: fill-box;
  transition: opacity 4s ease;
}
.an-medit-sw0 { animation: an-medit-sway 4.6s ease-in-out infinite; }
.an-medit-sw1 { animation: an-medit-sway 3.4s ease-in-out -1.6s infinite reverse; }
.an-medit-sw2 { animation: an-medit-sway 5.5s ease-in-out -3.1s infinite; }
.an-medit-sw3 { animation: an-medit-sway 6.2s ease-in-out -2.2s infinite reverse; }
@keyframes an-medit-sway {
  0%, 100% { transform: rotate(-3deg) scaleY(1); }
  38% { transform: rotate(2.6deg) scaleY(1.06); }
  58% { transform: rotate(-1deg) scaleY(0.97); }
  78% { transform: rotate(1.6deg) scaleY(1.03); }
}
.an-medit-glow {
  position: absolute;
  left: 50%;
  top: 80px;
  width: 260px;
  height: 260px;
  margin: -130px 0 0 -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 178, 98, 0.2), rgba(240, 186, 110, 0.06) 46%, rgba(240, 186, 110, 0) 70%);
  animation: an-medit-breathe 6.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes an-medit-breathe {
  0%, 100% { opacity: 0.65; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.06); }
}
.an-medit-line {
  font: 11.5px/1.75 var(--an-mono);
  letter-spacing: 0.09em;
  color: rgba(244, 232, 204, 0.7);
  opacity: 0;
  transition: opacity 3s ease;
}
.an-medit-line.is-on { opacity: 1; }

/* ── An integration card's project picker: a quiet label in the head
   ("all projects ▾") that opens a slip menu in the cards' own paper. ── */
.an-space { position: relative; display: inline-flex; min-width: 0; }
.an-space-btn {
  display: inline-flex; align-items: center; gap: 4px; min-width: 0; max-width: 170px;
  padding: 0; border: none; background: none; cursor: pointer;
  font: inherit; color: inherit;
}
.an-space-btn:hover { color: var(--ink, #2a2a26); }
.an-space-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-space-caret { font-size: 9px; opacity: 0.7; }
.an-space-pop { position: fixed; right: auto; max-height: 320px; overflow-y: auto; z-index: 400; }
.an-space-pop .an-slipmenu-row.is-on { font-weight: 600; }
.an-space-kind {
  margin: 6px 8px 2px;
  font: 10px/1.2 var(--an-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, rgba(46, 42, 34, 0.55));
}
/* An integration card's title: the app's logo, then its name. */
.an-int-name { display: inline-flex; align-items: center; gap: 7px; }
.an-int-logo { width: 14px; height: 14px; flex: none; }

.an-map-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--an-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted, #7a6e55);
}
.an-map-sketch { width: 96px; height: 68px; overflow: visible; }
.an-map-sketch g { animation: an-ms-sheet 3.6s ease-in-out infinite; }
.an-ms-line {
  fill: none;
  stroke: var(--ink, #3a3527);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.an-ms-node, .an-ms-goal { fill: none; stroke: var(--ink, #3a3527); stroke-width: 1.6; opacity: 0; }
.an-ms-goal { animation: an-ms-goal 3.6s ease-out infinite; }
.an-ms-line.l1 { animation: an-ms-l1 3.6s ease-in-out infinite; }
.an-ms-line.l2 { animation: an-ms-l2 3.6s ease-in-out infinite; }
.an-ms-line.l3 { animation: an-ms-l3 3.6s ease-in-out infinite; }
.an-ms-node.n1 { animation: an-ms-n1 3.6s ease-out infinite; }
.an-ms-node.n2 { animation: an-ms-n2 3.6s ease-out infinite; }
.an-ms-node.n3 { animation: an-ms-n3 3.6s ease-out infinite; }
@keyframes an-ms-sheet { 0%, 82% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes an-ms-goal { 0% { opacity: 0; } 8%, 100% { opacity: 1; } }
@keyframes an-ms-l1 { 0%, 10% { stroke-dashoffset: 1; } 24%, 100% { stroke-dashoffset: 0; } }
@keyframes an-ms-l2 { 0%, 28% { stroke-dashoffset: 1; } 42%, 100% { stroke-dashoffset: 0; } }
@keyframes an-ms-l3 { 0%, 46% { stroke-dashoffset: 1; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes an-ms-n1 { 0%, 23% { opacity: 0; } 28%, 100% { opacity: 1; } }
@keyframes an-ms-n2 { 0%, 41% { opacity: 0; } 46%, 100% { opacity: 1; } }
@keyframes an-ms-n3 { 0%, 59% { opacity: 0; } 64%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .an-map-sketch g, .an-ms-line, .an-ms-node, .an-ms-goal { animation: none; }
  .an-ms-line { stroke-dashoffset: 0; }
  .an-ms-node, .an-ms-goal { opacity: 1; }
}

/* ── Photo calendar: a printed month under a real photograph ─────────────
   A portrait object, not a working sheet: white card, the photograph in a
   white margin, the month's name printed large bottom-left and a small
   grid bottom-right (the Ugmonk card-bar calendar). Dates are the card's
   only controls: a dot says a day holds something, a click opens the day
   on the spread page, a dragged task drops on a date. Turning the month
   lifts the sheet over the top edge like a wall calendar. */
.an-card.an-pcal-card .an-card-paper { overflow: visible; }
.an-card.an-pcal-card .an-card-body { padding: 0; overflow: visible; position: relative; }
.an-pcal { position: absolute; inset: 0; }
.an-pcal-sheet {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 0;
  background: var(--paper);
  border-radius: 10px;
  transform-origin: top center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.an-card.has-page-open .an-pcal-sheet { border-radius: 10px 0 0 10px; }
.an-pcal-photo {
  position: relative;
  aspect-ratio: 1;
  flex: none;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(38, 39, 31, 0.06);
}
.an-pcal-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}
.an-pcal-credit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 9px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.42));
  color: var(--an-desk-bright);
  font-family: var(--an-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.an-pcal-photo:hover .an-pcal-credit { opacity: 1; }
.an-pcal-foot {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 0 20px;
}
.an-pcal-title { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding-top: 1px; }
/* The month is printed, not written: the condensed cut at 600 is the
   one sanctioned break of the 500 weight ceiling, as on a wall calendar. */
.an-pcal-month {
  font-family: "IBM Plex Sans Condensed", var(--an-sans);
  font-weight: 600;
  font-size: 26px;
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.an-pcal-sub {
  display: flex;
  align-items: center;
  min-height: 24px;
  margin-left: -1px;
  font-family: var(--an-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.an-pcal-year { margin-right: 4px; }
.an-pcal-nav { opacity: 0; transition: opacity 0.2s ease; }
.an-pcal-nav > button[aria-label] { padding: 2px 6px 4px; }
.an-pcal-nav > .an-cal-today { margin: 0 0 0 4px; padding: 2px 10px; }
.an-card:hover .an-pcal-nav,
.an-pcal-nav:focus-within { opacity: 1; }
.an-pcal-grid {
  display: grid;
  grid-template-columns: repeat(7, 22px);
  grid-auto-rows: 21px;
  justify-items: center;
  align-items: center;
  flex: none;
}
.an-pcal-grid > i {
  font-style: normal;
  font-family: var(--an-sans);
  font-weight: 500;
  font-size: 9.5px;
  color: var(--muted);
}
.an-pcal-day {
  position: relative;
  width: 21px;
  height: 21px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}
button.an-pcal-day { cursor: pointer; }
button.an-pcal-day:hover { background: rgba(38, 39, 31, 0.07); }
.an-pcal-day > b {
  font-family: var(--an-sans);
  font-weight: 500;
  font-size: 11.5px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.an-pcal-dot {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  border-radius: 50%;
  background: var(--muted);
}
.an-pcal-day.is-picked { box-shadow: inset 0 0 0 1px var(--ink); }
.an-pcal-day.is-today { background: var(--an-accent); color: #fff; }
button.an-pcal-day.is-today:hover { background: var(--an-accent); }
.an-pcal-day.is-today .an-pcal-dot { background: var(--an-accent); bottom: -3px; }
.an-pcal-day.is-today.is-picked { box-shadow: 0 0 0 1.5px var(--paper), 0 0 0 2.5px var(--an-accent); }
.an-pcal-day.is-hot {
  outline: 1.5px dashed var(--an-accent);
  outline-offset: 0;
  background: rgba(200, 85, 61, 0.1);
}

/* The month turning. Forward, the old sheet lifts toward you and up over
   the top edge; back, last month's sheet swings down over this one. The
   sheet underneath sits in the lifted page's shadow for a moment. */
.an-pcal-sheet.is-turning { pointer-events: none; z-index: 2; }
.an-pcal-sheet.is-lifting { animation: an-pcal-lift 0.62s cubic-bezier(0.45, 0.05, 0.55, 0.95) both; }
.an-pcal-sheet.is-falling { animation: an-pcal-fall 0.62s cubic-bezier(0.3, 0.8, 0.3, 1) both; }
.an-pcal-sheet.is-under::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(20, 18, 12, 0.22);
  pointer-events: none;
  animation: an-pcal-shade 0.62s ease both;
}
@keyframes an-pcal-lift {
  from { transform: perspective(1300px) rotateX(0deg); }
  to { transform: perspective(1300px) rotateX(100deg); }
}
@keyframes an-pcal-fall {
  from { transform: perspective(1300px) rotateX(100deg); }
  to { transform: perspective(1300px) rotateX(0deg); }
}
@keyframes an-pcal-shade {
  from { opacity: 1; }
  to { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .an-pcal-sheet.is-turning { display: none; }
  .an-pcal-sheet.is-under::after { display: none; }
}

.an-trow.is-picked,
.an-trow.is-picked:hover {
  background: rgba(38, 39, 31, 0.11);
  box-shadow: inset 2px 0 0 var(--ink);
}
.an-trow.is-picked .an-trow-title { color: var(--ink); }

.an-dock.is-selecting { cursor: default; animation: an-dock-swap 0.16s ease-out; }
.an-dock.is-selecting > * { animation: an-dock-swap-in 0.2s ease-out both; }
.an-dock-count {
  font-family: var(--an-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--an-desk-bright);
  padding: 0 10px 0 12px;
  white-space: nowrap;
}
.an-dock-ico { width: 14px; height: 14px; flex: none; }
.an-dock-tab.is-icon { padding: 0 9px; }
.an-dock-tab.is-on { color: var(--an-desk-bright); }
.an-dock-tab.is-danger { color: var(--an-accent); }
.an-dock-tab.is-danger:hover { color: var(--an-accent); background: rgba(200, 85, 61, 0.12); }
@keyframes an-dock-swap { from { translate: 0 6px; } }
@keyframes an-dock-swap-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .an-dock.is-selecting, .an-dock.is-selecting > * { animation: none; }
}

.an-trow-title.has-list { flex: 0 1 auto; }
.an-trow-list {
  flex: none;
  margin: 0 auto 0 -6px;
  max-width: 40%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}
.an-trow-list-mark { display: inline-flex; margin-right: 4px; vertical-align: -0.15em; }
.an-trow-list-mark svg { width: 1.05em; height: 1.05em; }
.an-trow-list:hover { color: var(--ink); }
.an-trow.is-done .an-trow-list { opacity: 0.45; }

.an-ws-denied { min-height: 100vh; display: grid; place-content: center; gap: 16px; text-align: center; font-family: var(--an-mono); }
.an-ws-denied > button { font: inherit; text-decoration: underline; background: none; border: 0; cursor: pointer; }
.an-ws-denied > p { margin: 0; }
.an-ws-denied-hint { max-width: 420px; font-size: 13px; opacity: 0.75; }
.an-ws-denied .an-ws-invite { width: min(420px, 90vw); color: inherit; text-align: left; }
.an-ws-denied .an-ws-invite-sub { color: inherit; opacity: 0.65; }

/* Workspace icons on the dark account menu: a light hairline so an ink tile still reads against the menu. */
.an-account-pop { --ws-icon-ring: rgba(243, 241, 232, 0.22); }
/* The workspace you're in: a bright ring on its icon and a ✓ at the row's end (the wash stays hover-only). */
.an-tray-pop-row.is-current [data-ws-icon] { --ws-icon-ring: rgba(232, 228, 214, 0.85); }
.an-ws-row .an-tray-pop-row > span.an-ws-check { flex: none; margin-left: 10px; font-size: 13px; color: #e8e4d6; }
.an-ws-row .an-tray-pop-row > span.an-ws-news {
  flex: none; width: 7px; height: 7px; margin-left: 10px; border-radius: 50%;
  background: #c8553d; box-shadow: 0 0 6px rgba(200, 85, 61, 0.7);
}
.an-account-btn.has-news { overflow: visible; position: relative; }
.an-account-news {
  position: absolute; top: -2px; right: -2px; width: 9px; height: 9px; border-radius: 50%;
  background: #c8553d; box-shadow: 0 0 0 2px #26271f, 0 0 6px rgba(200, 85, 61, 0.6);
  animation: an-news-glow 2.4s ease-in-out infinite;
}
.an-account-btn .an-account-ws.is-glowing { filter: drop-shadow(0 0 4px rgba(200, 85, 61, 0.9)); }
@keyframes an-news-glow {
  0%, 100% { box-shadow: 0 0 0 2px #26271f, 0 0 4px rgba(200, 85, 61, 0.45); }
  50% { box-shadow: 0 0 0 2px #26271f, 0 0 11px rgba(200, 85, 61, 0.95); }
}
@media (prefers-reduced-motion: reduce) { .an-account-news { animation: none; } }
/* A workspace row in the account menu: the switch, then (shared only) a hover-revealed ⋯ whose flyout hangs beside the menu.
   The ⋯ sits over the row's end instead of taking a column, so the ✓ lines up at the far right on every row; on hover the
   row's end padding grows to slide the ✓ (or news dot) aside as the ⋯ slides in. The name holds that room at rest and
   hands it over on hover, so the menu (sized to its widest row) never changes width. */
.an-ws-row { position: relative; display: flex; align-items: center; border-radius: 6px; }
.an-ws-row > .an-tray-pop-row { flex: 1; min-width: 0; }
.an-ws-row > .an-tray-pop-row,
.an-ws-row > .an-tray-pop-row > .an-ws-name { transition: padding-right 0.22s cubic-bezier(0.3, 0.8, 0.3, 1); }
.an-ws-row:has(> .an-ws-more) > .an-tray-pop-row > .an-ws-name { padding-right: 28px; }
.an-ws-row:has(> .an-ws-more):hover > .an-tray-pop-row,
.an-ws-row:has(> .an-ws-more:focus-visible) > .an-tray-pop-row,
.an-ws-row.is-open > .an-tray-pop-row { padding-right: 38px; }
.an-ws-row:has(> .an-ws-more):hover > .an-tray-pop-row > .an-ws-name,
.an-ws-row:has(> .an-ws-more:focus-visible) > .an-tray-pop-row > .an-ws-name,
.an-ws-row.is-open > .an-tray-pop-row > .an-ws-name { padding-right: 0; }
.an-ws-row:has(> .an-ws-more):hover,
.an-ws-row.is-open { background: rgba(255, 255, 255, 0.06); }
.an-ws-row:has(> .an-ws-more) > .an-tray-pop-row:hover { background: none; }
.an-ws-more {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: none;
  color: #8c8f7a;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translate(10px, -50%);
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.3, 0.8, 0.3, 1), color 0.15s ease, background 0.15s ease;
}
.an-ws-row:hover .an-ws-more,
.an-ws-row.is-open .an-ws-more,
.an-ws-more:focus-visible { opacity: 1; transform: translate(0, -50%); }
@media (prefers-reduced-motion: reduce) {
  .an-ws-row > .an-tray-pop-row, .an-ws-row > .an-tray-pop-row > .an-ws-name, .an-ws-more { transition: none; }
}
.an-ws-more:hover,
.an-ws-row.is-open .an-ws-more { color: #e8e4d6; background: rgba(255, 255, 255, 0.08); }
.an-ws-more:focus-visible { outline: 1.5px solid #e8e4d6; outline-offset: -1px; }
.an-ws-fly {
  position: fixed;
  min-width: 196px;
  max-width: 260px;
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  background: #26271f;
  border: 1px solid rgba(200, 85, 61, 0.28);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  padding: 6px;
  z-index: 1;
  animation: an-ws-fly-in 0.14s cubic-bezier(0.3, 0.8, 0.3, 1);
}
@keyframes an-ws-fly-in {
  from { opacity: 0; transform: translateX(-4px); }
  to { opacity: 1; transform: none; }
}
.an-ws-fly .an-tray-pop-row:disabled { opacity: 0.45; cursor: default; background: none; }
.an-ws-fly .an-saved-pop-note { max-width: 220px; font-family: "IBM Plex Sans", sans-serif; color: var(--an-desk-ink); }
.an-ws-fly .an-saved-pop-note strong { font-weight: 700; color: var(--an-desk-bright); }
.an-ws-fly .an-ws-err { padding: 2px 10px 6px; }
.an-account-btn { position: relative; }
/* The current shared workspace's icon, badged on the account circle; the circle stops clipping so the badge can hang off its edge. */
.an-account-btn:has(> .an-account-ws) { overflow: visible; }
.an-account-btn .an-account-ws { position: absolute; right: -3px; bottom: -3px; --ws-icon-ring: #26271f; --ws-icon-ring-width: 2px; }
.an-account-pop .an-ws-field { flex-wrap: wrap; cursor: text; background: rgba(255, 255, 255, 0.06); }
.an-account-pop .an-ws-field input {
  flex: 1; min-width: 0; padding: 2px 0; margin: 0;
  font: inherit; letter-spacing: inherit; color: #e8e4d6;
  background: transparent; border: 0; border-bottom: 1px solid rgba(232, 228, 214, 0.35); border-radius: 0;
  outline: none; box-shadow: none; appearance: none;
}
.an-account-pop .an-ws-field input:focus { border-bottom-color: #e8e4d6; }
.an-account-pop .an-ws-field input::placeholder { color: rgba(232, 228, 214, 0.45); }
.an-ws-err { flex-basis: 100%; padding: 4px 0 0 39px; font-size: 11px; opacity: 0.8; }

.an-person { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-family: var(--an-mono); font-size: 10px; line-height: 1; flex: none; }
/* Menu rows stretch their spans to fill the row; an avatar must keep its circle. */
.an-slipmenu-row > span.an-person,
.an-slipmenu-row > span.an-person-hover { flex: none; min-width: 0; overflow: visible; }
.an-person.is-solid { background: var(--ink); color: var(--paper); }
.an-person.is-outline { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.an-person.is-24 { width: 24px; height: 24px; font-size: 11px; }
.an-person.is-32 { width: 32px; height: 32px; font-size: 13px; }
.an-person img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
/* A photo sits on the paper behind a hairline, so a pale face doesn't bleed into the page. */
.an-person.has-photo { background: var(--paper); box-shadow: 0 0 0 1px var(--rule); overflow: hidden; }
/* Helpers keep their outline: the ink ring goes around the photo. */
.an-person.is-outline.has-photo { padding: 1px; box-shadow: inset 0 0 0 1px var(--ink); }
.an-trow-who { background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; flex: none; }
.an-trow-who.is-stack { align-items: center; }
.an-trow-who.is-stack > .an-person-hover + .an-person-hover { margin-left: -6px; }
.an-slip-who-faces { display: inline-flex; align-items: center; flex: none; }
.an-slip-who-faces > .an-person + .an-person { margin-left: -6px; }
.an-slip-val > .an-slip-who-faces { margin-right: 6px; vertical-align: middle; }
.an-person-hover { position: relative; display: inline-flex; }
.an-person-card { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: var(--paper); box-shadow: 0 6px 20px rgba(0,0,0,.14); white-space: nowrap; font-size: 13px; }
.an-person-card.is-up { top: auto; bottom: calc(100% + 6px); }
.an-person-card-detail { font-family: var(--an-mono); font-size: 11px; color: var(--muted); }

/* People menus are the slip's paper popovers, in the paper of the card they open from. */
.an-slipmenu-pop.an-people-pop { width: 220px; display: flex; flex-direction: column; color: var(--ink); }
/* Portaled to <body>: the opener's palette arrives as inline vars (see AssigneePicker); Today's paper if none. */
.an-slipmenu-pop.an-who-filter-pop { position: fixed; right: auto; z-index: 70; --paper: #fafaf7; --ink: #2a2a26; --muted: #8c877a; --rule: #d6d3c8; }
.an-slipmenu-pop.an-assignee-pop,
.an-slipmenu-pop.an-float-pop { position: fixed; z-index: 70; --paper: #fafaf7; --ink: #2a2a26; --muted: #8c877a; --rule: #d6d3c8; }
.an-trow-who.is-empty { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--muted); color: var(--muted); font-family: var(--an-mono); font-size: 11px; opacity: 0; align-items: center; justify-content: center; line-height: 1; }
.an-trow:hover .an-trow-who.is-empty, .qtr-canvas-task-row:hover .an-trow-who.is-empty, .an-trow-who.is-empty:focus-visible { opacity: 1; }
.an-trow-who.is-empty, .an-goal-people-empty, .an-stamp-add { aspect-ratio: 1; box-sizing: border-box; padding: 0; flex: none; align-self: center; }
.an-trow-who.is-empty, .an-goal-people-empty { min-width: 18px; max-width: 18px; min-height: 18px; max-height: 18px; }
.an-stamp-add { min-width: 22px; max-width: 22px; min-height: 22px; max-height: 22px; }
/* A clickable person circle (or its "+") answers hover and focus itself, apart from the row's wash. */
.an-who-target > .an-person-hover > .an-person,
.an-who-target.is-empty,
.an-who-target > .an-goal-people-empty {
  outline: 2px solid transparent;
  outline-offset: 0;
  transition: transform 0.15s ease, outline-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.an-who-target:hover > .an-person-hover > .an-person,
.an-who-target:focus-visible > .an-person-hover > .an-person,
.an-who-target.is-empty:hover,
.an-who-target.is-empty:focus-visible,
.an-who-target:hover > .an-goal-people-empty,
.an-who-target:focus-visible > .an-goal-people-empty {
  outline-color: color-mix(in srgb, var(--ink) 25%, transparent);
  transform: scale(1.08);
}
.an-who-target.is-empty:hover,
.an-who-target.is-empty:focus-visible { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.an-who-target:hover > .an-goal-people-empty,
.an-who-target:focus-visible > .an-goal-people-empty { color: var(--ink); }
.an-who-target:not(.is-empty):focus-visible { outline: none; }

.an-goal-people { position: relative; margin-left: auto; display: inline-flex; flex: none; }
.an-goal-people-btn { display: inline-flex; background: none; border: 0; padding: 0; cursor: pointer; }
.an-goal-people-btn > * + * { margin-left: -6px; }
.an-goal-people-empty { width: 18px; height: 18px; border-radius: 50%; flex: none; display: inline-grid; place-items: center; font-family: var(--an-mono); font-size: 11px; line-height: 1; color: var(--muted); }
.an-person-more { font-family: var(--an-mono); font-size: 10px; color: var(--muted); margin-left: 4px; align-self: center; }
.an-goal-people-row { position: relative; display: flex; align-items: center; }
.an-goal-people-row .an-slipmenu-row { flex: 1; min-width: 0; }
.an-goal-people-row:is(:hover, :focus-within) .an-slipmenu-row { padding-right: 80px; background: color-mix(in srgb, var(--ink, #26271f) 7%, transparent); }
.an-goal-people-own { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); padding: 0; font-family: var(--an-mono); font-size: 10px; color: var(--muted); background: none; border: 0; opacity: 0; cursor: pointer; white-space: nowrap; }
.an-goal-people-row:is(:hover, :focus-within) .an-goal-people-own { opacity: 1; }
.an-goal-people-own:hover { color: var(--ink); }

/* The goal detail does not define the desk's ink/paper, so the owner circle takes the detail's text and surface tokens. */
.an-detail-owner { --ink: var(--grey-900); --paper: #fff; --rule: var(--grey-300); }

.an-snap-ghost {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9998;
  background: color-mix(in srgb, var(--an-desk-bright) 10%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--an-desk-bright) 60%, transparent);
  border-radius: 10px;
  box-sizing: border-box;
  pointer-events: none;
}

.an-snap-line {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10000;
  background: var(--an-desk-bright);
  box-shadow: 0 0 0 1px rgba(20, 21, 16, 0.55), 0 2px 8px rgba(0, 0, 0, 0.35);
  border-radius: 2px;
  pointer-events: none;
}

/* The share sheet (FE-PRD-013 S17): Settings' people page inside a PaperDialog, on the dialog's paper. */
.an-share { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.an-share.is-listed { margin-top: 10px; }
.an-share.an-share-foot { margin-top: 0; }
.qtr-pdlg-scroll:not(.is-fit) + .qtr-pdlg-foot .an-share-access > li:first-child { border-top: 0; }
.an-share-invite { display: flex; gap: 8px; align-items: center; }
.an-share-field { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; height: 34px; padding-right: 2px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); }
.an-share-field:focus-within { border-color: var(--ink); }
.an-share-field .an-share-pi { position: static; flex: 1; flex-wrap: nowrap; min-width: 0; }
.an-share-field .qtr-pdlg-input { flex: 1; min-width: 0; height: 32px; margin: 0; border: 0; background: transparent; }
.an-share-field.is-chips { height: auto; min-height: 34px; padding: 3px 2px 3px 6px; }
.an-share-field.is-chips .an-share-pi { flex-wrap: wrap; }
.an-share-field.is-chips .qtr-pdlg-input { flex: 1 0 120px; height: 26px; padding: 0 4px; }
.an-share-invite .qtr-pbtn { min-height: 34px; padding: 0 12px; font-size: 13px; white-space: nowrap; }
.an-share-state .qtr-pbtn { min-height: 30px; padding: 0 12px; font-size: 13px; }
.an-share-people { list-style: none; margin: 0; padding: 0; }
.an-share-cards { margin-top: 18px; border-top: 1px solid var(--rule, rgba(46,42,34,.12)); padding-top: 14px; }
.an-share-label { font: 500 13px/1.3 var(--font-mono); color: var(--ink); margin-bottom: 4px; }
.an-share-group { margin-top: 12px; }
.an-share-group-label { margin: 0 0 4px; font: 400 11px/1.3 var(--font-mono); color: var(--muted); }
.an-share-group .an-share-muted { margin: 0; }
.an-share-help { margin: 0 0 8px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.an-share-empty { margin: 4px 0 0; padding: 10px 12px; border: 1px dashed var(--rule); border-radius: 8px; font-size: 13px; color: var(--muted); }
.an-share-cards ul { list-style: none; margin: 0; padding: 0; }
.an-share-card button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 6px; border: none; background: none; text-align: left; font: inherit; color: var(--ink); cursor: pointer; border-radius: 6px; }
.an-share-card button:hover { background: rgba(38,39,31,.05); }
.an-share-card.is-disabled button { cursor: default; color: var(--muted); }
.an-share-card.is-disabled button:hover { background: none; }
.an-share-tick { width: 16px; height: 16px; flex: none; border: 1.5px solid #6e6b60; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; line-height: 1; }
.an-share-tick.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper, #f4efe1); }
.an-share-swatch { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.an-share-card-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-share-card-note { font-family: var(--an-mono); font-size: 11px; color: var(--muted); }
.an-share-muted { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.an-share-state { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.an-share-deskrow { display: flex; align-items: center; gap: 12px; padding: var(--settings-row-pad, 10px 0); border-top: 1px solid var(--rule); }
.an-share-deskglyph { width: 32px; height: 32px; flex: none; display: grid; place-items: center; color: var(--muted); }
.an-share-deskwho { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.an-share-deskname { font-family: var(--font-mono); font-size: var(--settings-body-size, 13px); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-share-deskcount { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.an-share-linkglyph { border-radius: 50%; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.an-share-copy { margin-right: auto; margin-left: -8px; align-self: center; }
.an-share-deskrole { min-width: 96px; flex-shrink: 0; display: flex; justify-content: flex-end; }

/* "Share with the people on this desk?" at the top of your new card's body (S63). */
.an-deskprompt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0 0 10px; padding: 9px 10px; border: 1px solid var(--rule, rgba(46,42,34,.12)); border-radius: 7px; font-size: 13.5px; color: var(--ink); }
.an-deskprompt-acts { display: inline-flex; gap: 6px; }

/* The shared stamp (FE-PRD-013 S28-S30): the one deliberate addition to a card head, at its right end after the name. */
.an-card-head.has-stamp { justify-content: flex-start; }
.an-card-head.has-stamp > .an-card-date { margin-right: auto; }
.an-card-stamp { flex: none; align-self: center; margin-left: -4px; display: inline-flex; }
.an-stamp { display: inline-flex; align-items: center; background: none; border: 0; padding: 2px; border-radius: 14px; cursor: pointer; }
span.an-stamp { cursor: default; }
/* Overlapping circles, each ringed in the card's own paper so the stack reads cleanly on any card. */
.an-stamp > .an-person, .an-stamp-more, .an-stamp-add { width: 22px; height: 22px; font-size: 11px; }
/* Enough overlap to read as a stack, little enough that the next circle's ring stops short of a letter. */
.an-stamp > * + .an-person, .an-stamp > * + .an-stamp-more, .an-stamp > * + .an-stamp-add { margin-left: -4px; }
.an-stamp > .an-person.is-solid, .an-stamp > .an-person.has-photo { box-shadow: 0 0 0 2px var(--paper); }
.an-stamp > .an-person.is-outline { box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 2px var(--paper); }
.an-stamp-link { display: inline-flex; margin-left: 4px; color: var(--ink); }
.an-stamp-more, .an-stamp-add { flex: none; display: inline-grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--muted); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 35%, transparent), 0 0 0 2px var(--paper); }
.an-stamp-more { font-family: var(--an-mono); font-size: 10px; }
/* The passive mark in menu rows stays at the rows' 18px. */
span.an-stamp > .an-person, span.an-stamp > .an-stamp-more { width: 18px; height: 18px; font-size: 10px; }
.an-stamp-add { transition: color 150ms ease, box-shadow 150ms ease; }
.an-stamp > .an-stamp-link + .an-stamp-add { margin-left: 4px; }
.an-stamp.an-who-target:hover > .an-stamp-add { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 2px var(--paper); }
.an-stamp.an-who-target:hover, .an-stamp.an-who-target:focus-visible { outline: 2px solid color-mix(in srgb, var(--ink) 25%, transparent); outline-offset: 1px; }
/* View only (S32): the same paper, the body at reduced contrast, the same on every paper. */
.an-card.is-viewonly .an-card-body { opacity: 0.58; }

.an-slip-val { font-size: 13px; color: var(--ink); align-self: center; }
.an-slip-join { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--accent, #b05f3c); text-decoration: underline; text-underline-offset: 2px; }
p.an-slip-notes.is-readonly { white-space: pre-wrap; margin: 10px 0 0; }
.an-trow.is-viewonly .an-check { cursor: default; }

/* Shared with you (FE-PRD-013 S11, S14, S110). The dots are ink, never terracotta (which is reserved). */
.an-inkdot { margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--an-desk-bright); flex: none; }
.an-tray-pop-row > .an-inkdot + .an-sub-caret { margin-left: 8px; }
.an-dock-inkdot { width: 6px; height: 6px; margin-left: -4px; align-self: flex-start; margin-top: 8px; border-radius: 50%; background: var(--an-desk-bright); flex: none; }
.an-tray-pop-glyph.an-tray-pop-stamp { width: auto; padding-left: 8px; }
/* The stamp's faces on the dark menu: the tray's own ink and paper. */
.an-tray-pop .an-stamp { --ink: var(--an-desk-bright); --paper: var(--an-desk-pop); --rule: var(--an-desk-line); --muted: var(--an-desk-dim); }

.an-ws-invite { display: flex; align-items: center; gap: 8px; padding: 8px 10px; font: inherit; font-size: 12px; color: #e8e4d6; }
.an-ws-invite-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.an-ws-invite-text > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-ws-invite-sub { font-size: 11px; color: #8c8f7a; }
.an-ws-invite .qtr-pbtn { flex: none; padding: 3px 8px; font-size: 11px; }
.an-account-pop .an-ws-invite { --ink: #e8e4d6; --pill-line: rgba(232, 228, 214, 0.35); }
.an-account-pop .an-ws-invite .qtr-pbtn { min-height: 26px; }

/* ── Challenges ── */
.an-ch-body { display: flex; flex-direction: column; color: var(--ink); font-size: 14px; }
.an-ch-muted { font: 11px "IBM Plex Mono", monospace; color: var(--muted); padding: 8px 0; }
.an-ch-label { font: 11px "IBM Plex Mono", monospace; color: var(--muted); margin: 0 -12px; padding: 12px 12px 6px; border-bottom: 1px solid var(--ink); }
.an-ch-label b { font-weight: 500; color: var(--ink); }
.an-ch-row { display: flex; align-items: center; gap: 10px; min-height: 40px; border-bottom: 1px solid var(--rule); margin: 0 -12px; padding: 0 12px; }
.an-ch-name { flex: 1; min-width: 0; }
/* The body scrolls and the pills don't: both reserve the same thin gutter so the mark columns stay under their pills. */
.an-card-body.has-ch-body { scrollbar-gutter: stable; }
.an-ch-pills { overflow: hidden; scrollbar-gutter: stable; scrollbar-width: thin; }
.an-ch-pills .an-pill { cursor: default; }
.an-pill.an-ch-fut { border-style: dashed; color: var(--muted); }
.an-ch-pillcols { display: flex; flex: none; margin-left: auto; }
.an-ch-list { border-top: 1px solid var(--ink); margin: 0 -12px; padding: 0 12px; }
.an-ch-trow { gap: 10px; font-size: 15px; color: var(--ink); }
.an-ch-trow.is-person { height: 44px; font-size: 14px; }
.an-ch-trow.is-quiet { color: var(--muted); }
.an-ch-nm { display: flex; align-items: baseline; flex: 0 1 auto; min-width: 0; white-space: nowrap; }
.an-ch-nm > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.an-ch-nm small { flex: none; margin-left: 6px; font: 10.5px var(--an-mono); color: var(--muted); }
.an-ch-trow { position: relative; }
.an-ch-drop { position: absolute; top: 50%; right: calc(12px + var(--an-ch-grid) + 2px); transform: translateY(-50%); opacity: 0; background: none; border: 0; padding: 0 4px; font-size: 14px; color: var(--muted); cursor: pointer; }
.an-ch-trow:hover .an-ch-drop, .an-ch-drop:focus-visible { opacity: 1; }
.an-ch-drop:hover { color: var(--ink); }
@media (hover: none) { .an-ch-drop { opacity: 1; } }
.an-ch-marks { display: flex; flex: none; margin-left: auto; }
.an-ch-col { display: flex; align-items: center; justify-content: center; flex: none; height: 32px; padding: 0; border: 0; border-radius: 50%; background: none; }
button.an-ch-col { cursor: pointer; }
button.an-ch-col:hover { background: rgba(38, 39, 31, 0.06); }
button.an-ch-col:focus-visible { outline: 1.5px solid var(--ink); outline-offset: -2px; }
.an-ch-dot { display: block; width: 12px; height: 12px; border-radius: 50%; box-sizing: border-box; }
.an-ch-dot.is-done { background: var(--ink); }
.an-ch-dot.is-missed { border: 1px solid var(--pill-line); }
.an-ch-dot.is-today { border: 1.5px solid var(--an-accent); }
.an-ch-dot.is-today-done { background: var(--an-accent); }
.an-ch-dot.is-future { border: 1px dashed var(--pill-line); opacity: 0.7; }
.an-ch-rule { flex: none; margin-left: auto; font: 11px var(--an-mono); color: var(--muted); }
.an-ch-join { flex: none; margin-left: auto; background: none; border: 0; padding: 0; font: 11px var(--an-mono); color: var(--an-accent); cursor: pointer; }
.an-ch-rule + .an-ch-join { margin-left: 12px; }
.an-ch-people > .an-ch-sec { display: flex; justify-content: space-between; padding-top: 12px; }
.an-ch-sec b { font-weight: 500; color: var(--ink); }
.an-ch-more { align-self: flex-start; background: none; border: 0; padding: 12px 0 2px; font: 11px var(--an-mono); color: var(--muted); cursor: pointer; }
.an-ch-more:hover { color: var(--ink); }
.an-ch-people { display: flex; flex-direction: column; }
.an-ch-cfoot { display: flex; align-items: center; gap: 8px; padding-top: 16px; font: 11px var(--an-mono); color: var(--muted); }
.an-ch-faces { display: flex; }
.an-ch-faces .an-person { box-shadow: 0 0 0 2px var(--paper); }
.an-ch-faces .an-person + .an-person { margin-left: -6px; }
.an-ch-faces .an-person.is-pending { box-shadow: 0 0 0 2px var(--paper); outline: 1px dashed var(--muted); outline-offset: 1px; }
.an-ch-faces .an-person.is-cheering { background: var(--paper); color: var(--muted); outline: 1px solid var(--muted); outline-offset: 1px; }
.an-ch-cfoot .qtr-pbtn { margin-left: auto; }
.an-ch-people { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; }
button.an-ch-people { cursor: pointer; }
button.an-ch-people:hover .an-ch-peopleline, button.an-ch-people:focus-visible .an-ch-peopleline { color: var(--ink); }
.an-ch-setup .an-ch-title { font: 500 22px "IBM Plex Sans", system-ui, sans-serif; color: var(--ink); background: none; border: 0; outline: 0; padding: 14px 0 2px; width: 100%; }
.an-ch-title::placeholder, .an-ch-habit-input::placeholder { color: var(--muted); }
.an-ch-habit-input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 0; font: inherit; color: var(--ink); }
.an-ch-picks { display: flex; flex-direction: column; margin-top: 14px; border-top: 1px solid var(--rule); }
.an-ch-pick { display: flex; align-items: center; gap: 10px; min-height: 40px; border-bottom: 1px solid var(--rule); color: var(--ink); font-size: 15px; cursor: pointer; }
.an-ch-chipwrap { position: relative; flex: none; }
.an-ch-chip { font: 11px "IBM Plex Mono", monospace; background: transparent; color: var(--ink); border: 1px solid var(--rule); border-radius: 99px; padding: 4px 10px; cursor: pointer; white-space: nowrap; }
.an-ch-chip[aria-expanded="true"] { border-color: var(--ink); }
.an-ch-caret { margin-left: 4px; font-size: 9px; color: var(--muted); }
.an-ch-pop { position: absolute; top: calc(100% + 6px); right: 0; z-index: 6; width: 230px; display: flex; flex-direction: column; gap: 2px; padding: 12px; background: var(--paper, #fafaf7); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 10px 28px rgba(0, 0, 0, .22); }
.an-ch-pop.is-floating { position: fixed; right: auto; z-index: 70; --paper: #fafaf7; --ink: #2a2a26; --muted: #8c877a; --rule: #d6d3c8; }
.an-ch-pop-title { font: 11px "IBM Plex Mono", monospace; color: var(--muted); padding-bottom: 6px; }
.an-ch-pop-opt { display: flex; align-items: center; gap: 8px; padding: 8px; border: 0; border-radius: 6px; background: transparent; font: 12px "IBM Plex Mono", monospace; color: var(--ink); text-align: left; cursor: pointer; }
.an-ch-pop-opt.is-on { background: rgba(0, 0, 0, .05); }
.an-ch-pop-pick { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.an-ch-step { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.an-ch-step b { font-weight: 500; min-width: 10px; text-align: center; }
.an-ch-step button { width: 20px; height: 20px; flex: none; padding: 0; border-radius: 50%; border: 1px solid var(--pill-line); background: transparent; color: var(--ink); font: 12px "IBM Plex Mono", monospace; cursor: pointer; }
.an-ch-step button:disabled { opacity: .4; cursor: default; }
.an-ch-seg { display: inline-flex; border: 1px solid var(--rule); border-radius: 99px; overflow: hidden; font: 11px "IBM Plex Mono", monospace; }
.an-ch-seg button { padding: 5px 10px; border: 0; background: transparent; color: var(--muted); font: inherit; cursor: pointer; }
.an-ch-seg button.is-on { background: var(--ink); color: var(--paper); }
.an-ch-foot { display: flex; justify-content: flex-start; gap: 8px; padding-top: 16px; }
.an-ch-today { margin-top: 30px; }
.an-ch-today-row .an-trow-title { flex: 1; min-width: 0; }
.an-ch-today-row .an-check:disabled { opacity: 0.45; cursor: default; }
.an-ch-today-count { flex: none; font: 10.5px var(--an-mono); color: var(--muted); }
.an-ch-today-from { font: 11px "IBM Plex Mono", monospace; color: var(--muted); flex: none; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-ch-addrow { cursor: text; }
.an-ch-add-plus { display: inline-block; width: 16px; text-align: center; color: var(--muted); }
.an-ch-setup .an-ch-list { margin-top: 10px; }
.an-ch-whenwrap { display: inline-flex; }
.an-ch-when { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); cursor: pointer; border-bottom: 1px dashed currentColor; }
.an-ch-when:hover, .an-ch-when[aria-expanded="true"] { color: var(--ink); }
.an-slipmenu-pop.an-ch-whenpop { display: flex; flex-direction: column; gap: 10px; padding: 12px; min-width: 0; max-height: none; overflow: visible; }
.an-ch-whenrow { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.an-ch-whenkey { font: 11px var(--an-mono); color: var(--muted); }
.an-ch-whenpop .an-slipcal { padding: 0; }
.an-slipmenu-pop.an-ch-calpop { z-index: 71; }
.an-ch-invite-field { flex-wrap: wrap; gap: 4px; height: auto; min-height: 34px; padding: 3px 2px 3px 6px; }
.an-ch-invite-field .an-share-pi { flex-wrap: wrap; }
.an-ch-invite-field .qtr-pdlg-input { flex: 1 0 120px; height: 26px; padding: 0 4px; }
.an-ch-invite-field .qtr-pdlg-input[aria-invalid="true"] { color: #c8553d; }
.an-ch-invite .qtr-pdlg-input.an-ch-invite-note { height: auto; margin: 0; padding: 8px 10px; resize: vertical; font: italic 14px/1.45 var(--an-serif); }
/* Notifications: the dock bell and its lately list (FE-PRD-016 §5.1, §5.2). The pill is ink on bright,
   never terracotta, and never animates (R3). */
.an-bell { position: relative; padding: 0 10px; }
.an-bell.is-unseen { color: var(--an-desk-bright); }
.an-bell-pill {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  box-sizing: border-box;
  border-radius: 8px;
  background: var(--an-desk-bright);
  color: #21231a;
  font: 500 10px/16px var(--an-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  text-align: center;
  pointer-events: none;
}
.an-tray-pop.an-lately {
  left: auto;
  right: -8px;
  width: min(360px, calc(100vw - 24px));
  max-width: none;
  min-width: 0;
}
.an-lately-label {
  padding: 9px 10px 4px;
  font: 11px/1 var(--an-mono);
  letter-spacing: 0.08em;
  color: var(--an-desk-dim);
}
.an-lately-label:first-child { padding-top: 5px; }
.an-lately-row { display: flex; align-items: center; border-radius: 6px; }
.an-lately-row:has(> button.an-lately-main:hover) { background: rgba(255, 255, 255, 0.06); }
.an-lately-main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  padding: 8px 10px 8px 6px;
  border: none;
  background: none;
  text-align: left;
  font: 13px/1.35 "IBM Plex Sans", sans-serif;
  cursor: pointer;
}
.an-lately-main.is-inert { cursor: default; }
.an-lately-main:focus { outline: none; }
.an-lately-main:focus-visible { outline: 1.5px solid var(--an-desk-bright); outline-offset: -1px; border-radius: 6px; }
.an-lately { --ink: #e8e4d6; --paper: #33352a; --rule: rgba(243, 241, 232, 0.18); }
.an-notice-face { flex: none; display: inline-flex; }
/* Unread is told by brightness, not a dot: rows read in desk ink once seen. */
.an-lately-row .an-lately-main { color: var(--an-desk-ink, #b7b4a0); }
.an-lately-row.is-unread .an-lately-main,
.an-lately-row.is-waiting .an-lately-main { color: var(--an-desk-bright, #f3f1e8); }
.an-lately-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-lately-text b { font-weight: 400; }
.an-lately-text b.is-strong { font-weight: 500; }
.an-lately-subject { display: inline-block; max-width: 28ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.an-lately-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.an-lately-body .an-lately-text { flex: none; }
.an-lately-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--an-desk-dim); }
.an-lately-line b { font-weight: 500; color: var(--an-desk-ink, #b7b4a0); }
.an-lately-subject.is-gone { color: var(--an-desk-dim); font-weight: 400; }
.an-lately-time {
  flex: none;
  padding-left: 10px;
  font: 11px/1 var(--an-mono);
  letter-spacing: 0.03em;
  color: var(--an-desk-dim);
}
.an-lately-resend,
.an-lately-link {
  flex: none;
  border: none;
  background: none;
  padding: 4px 6px;
  border-radius: 4px;
  font: 11px/1 var(--an-mono);
  letter-spacing: 0.05em;
  color: var(--an-desk-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(183, 180, 160, 0.4);
  cursor: pointer;
}
.an-lately-resend { margin-right: 6px; }
.an-lately-resend:hover, .an-lately-link:hover { color: var(--an-desk-bright); background: rgba(255, 255, 255, 0.06); }
.an-lately-resend:disabled { opacity: 0.5; cursor: default; }
.an-lately-resend.is-sent { text-decoration: none; color: var(--an-desk-dim); cursor: default; }
.an-lately-resend:focus-visible, .an-lately-link:focus-visible { outline: 1.5px solid var(--an-desk-bright); outline-offset: 1px; }
.an-lately-note {
  padding: 8px 10px 9px;
  font: 13px/1.5 "IBM Plex Sans", sans-serif;
  color: var(--an-desk-dim);
}
.an-lately-note .an-lately-link { padding: 2px 4px; font: inherit; }
.an-lately-stack { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.an-lately-stack .an-lately-note {
  padding: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: italic 13px/1.4 var(--an-serif);
}
.an-lately-loading { display: flex; flex-direction: column; gap: 14px; padding: 12px 10px 10px; }
.an-lately-skeleton { display: block; height: 1px; background: var(--an-desk-line); opacity: 0.6; }
.an-lately-skeleton:nth-child(2) { width: 82%; }
.an-lately-skeleton:nth-child(3) { width: 64%; }
.an-lately-foot { display: flex; justify-content: center; padding: 4px 0 2px; }

/* Notifications: the desk letter (FE-PRD-016 §5.3). Contemplative register: manuscript paper and serif,
   no chrome. Placement over the dock belongs to the layer that hosts it. */
.an-envelope {
  position: relative;
  display: block;
  width: 250px;
  height: 160px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: #efe6d2;
  color: #39352b;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  transform: rotate(var(--an-envelope-tilt, -4deg));
  text-align: left;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.3, 0.8, 0.3, 1), box-shadow 0.45s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.an-envelope:hover { transform: rotate(var(--an-envelope-tilt, -4deg)) translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }
.an-envelope:focus { outline: none; }
.an-envelope:focus-visible { outline: 1.5px solid var(--an-desk-bright); outline-offset: 4px; }
.an-envelope-from {
  position: absolute;
  z-index: 1;
  left: 14px;
  top: 12px;
  font: 10.5px/1 var(--an-mono);
  letter-spacing: 0.06em;
  color: #8b8370;
}
.an-envelope-face { position: absolute; z-index: 1; right: 14px; top: 12px; display: inline-flex; --ink: #39352b; --paper: #efe6d2; --rule: rgba(57, 53, 43, 0.18); }
.an-envelope-what {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #39352b;
  min-width: 0;
}
.an-envelope-kind { margin-bottom: 2px; font: 10.5px/1.2 var(--an-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #8b8370; }
.an-envelope-title { font: 500 16px/1.3 var(--an-sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-envelope-detail { font: 13px/1.3 var(--an-sans); color: #6f6857; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.an-letter {
  --ink: #39352b;
  --pill-line: rgba(57, 53, 43, 0.3);
  position: relative;
  box-sizing: border-box;
  width: 380px;
  max-width: calc(100vw - 24px);
  padding: 40px 20px 20px;
  color: #39352b;
  transform: rotate(-1deg);
}
/* The opened envelope: its flap standing up and its back behind the page, its pocket in front holding the page's foot. */
.an-letter-flap,
.an-letter-back,
.an-letter-pocket { position: absolute; left: 0; right: 0; pointer-events: none; }
.an-letter-flap { bottom: 220px; height: 132px; background: #e0d5bc; clip-path: polygon(0 100%, 100% 100%, 50% 0); transform-origin: bottom; }
.an-letter-back { bottom: 0; height: 220px; border-radius: 4px; background: #e6dcc5; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.an-letter-page {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  padding: 22px 24px 104px;
  border-radius: 4px 4px 0 0;
  background: #f6f1e3;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
}
.an-letter-pocket {
  z-index: 2;
  bottom: 0;
  height: 120px;
  border-radius: 0 0 4px 4px;
  background: #efe6d2;
  clip-path: polygon(0 0, 50% 38%, 100% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 -1px 0 rgba(57, 53, 43, 0.1));
}
.an-letter-foot { position: relative; z-index: 3; margin-top: -30px; display: flex; flex-direction: column; align-items: center; }
.an-letter-date {
  font: 11px/1 var(--an-mono);
  letter-spacing: 0.06em;
  color: #8b8370;
  text-align: right;
}
.an-letter-text { margin: 14px 0; font: 15px/1.6 var(--an-sans); overflow-wrap: anywhere; }
.an-letter-text strong { font-weight: 500; }
.an-letter-subject {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0 4px;
  padding: 10px 12px;
  border: 1px solid rgba(57, 53, 43, 0.18);
  border-radius: 8px;
  font: 13px/1.35 var(--an-sans);
  min-width: 0;
}
.an-letter-subject > .an-letter-subject-line { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-letter-subject.is-stacked { flex-wrap: wrap; row-gap: 4px; }
.an-letter-subject.is-stacked > .an-letter-subject-line { flex: 1 1 0; overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.an-letter-subject.is-stacked .an-letter-subject-meta { flex: 0 0 100%; }
.an-letter-subject-meta { flex: none; color: #8b8370; font: 12px/1 var(--an-mono); letter-spacing: 0.03em; }
.an-letter-eyebrow {
  flex: none;
  font: 10.5px/1 var(--an-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b8370;
}
.an-letter-signoff { margin-top: 14px; font: 15px/1.4 var(--an-sans); }
.an-letter-note { margin: 0 0 10px; font: 13px/1.4 var(--an-sans); color: #6f6857; text-align: center; }
.an-letter-error { margin: 0 0 10px; font: 12px/1.4 var(--an-mono); letter-spacing: 0.03em; color: #8b8370; text-align: center; }
.an-letter-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.an-letter .qtr-pbtn { min-height: 32px; padding: 0 12px; font-size: 13px; }

/* The challenge letter: its habit checklist continues the subject box, and fades while a note back is written. */
.an-letter-subject:has(+ .an-ch-letter-habits) { margin-bottom: 0; border-bottom: 0; border-radius: 8px 8px 0 0; }
.an-ch-letter-habits {
  padding: 2px 12px 8px;
  border: 1px solid rgba(57, 53, 43, 0.18);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  transition: opacity 0.2s ease;
}
.an-ch-letter-habits.is-faded { opacity: 0.45; }
.an-letter-subject:has(+ .an-ch-letter-habits.is-faded) { opacity: 0.45; }
.an-ch-letter-habit {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  border-bottom: 1px solid rgba(57, 53, 43, 0.1);
  font: 14px/1.3 var(--an-serif);
  cursor: pointer;
}
.an-ch-letter-habit input { flex: none; width: 15px; height: 15px; margin: 0; accent-color: #39352b; cursor: inherit; }
.an-ch-letter-habit input:disabled { cursor: default; }
.an-ch-letter-habit-name { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.an-ch-letter-habit-rule { flex: none; color: #8b8370; font: 11px/1 var(--an-mono); letter-spacing: 0.03em; }
.an-ch-letter-joined { padding-top: 8px; color: #8b8370; font: 11px/1.3 var(--an-mono); letter-spacing: 0.03em; }
.an-ch-letter-note { margin-top: 16px; }
.an-ch-letter-note-field { display: flex; flex-direction: column; gap: 6px; }
.an-ch-letter-note-label { color: #6f6857; font: 11px/1.3 var(--an-mono); letter-spacing: 0.03em; }
.an-ch-letter-note-box {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(57, 53, 43, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.4);
  color: #39352b;
  font: italic 14px/1.45 var(--an-serif);
  resize: vertical;
  outline: none;
}
.an-ch-letter-note-box:focus { border-color: rgba(57, 53, 43, 0.45); }
.an-ch-letter-note-box::placeholder { color: #a39b86; }
.an-ch-letter-note .an-letter-actions { margin-top: 8px; }

/* Arrival from the dock edge, opening upward, answering back down toward the dock. Nothing pops. */
@keyframes an-envelope-deal {
  from { transform: translateY(180px) rotate(0deg); opacity: 0; }
  60% { opacity: 1; }
  to { transform: rotate(var(--an-envelope-tilt, -4deg)); opacity: 1; }
}
@keyframes an-letter-open {
  from { transform: translateY(48px) rotate(-1deg); opacity: 0; }
  to { transform: rotate(-1deg); opacity: 1; }
}
@keyframes an-letter-leave {
  from { transform: rotate(-1deg); opacity: 1; }
  to { transform: translateY(160px) rotate(-1deg); opacity: 0; }
}
@keyframes an-letter-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes an-letter-fade-out { from { opacity: 1; } to { opacity: 0; } }
.an-envelope.is-dealing { animation: an-envelope-deal 0.5s cubic-bezier(0.3, 0.8, 0.3, 1) both; }
.an-letter.is-opening { animation: an-letter-open 0.45s cubic-bezier(0.3, 0.8, 0.3, 1) both; }
/* Opening: the envelope turns over (0.4s), its flap lifts (0.2s), and the letter slides up out of it (0.35s). */
.an-envflip { width: 250px; height: 160px; perspective: 900px; pointer-events: none; animation: an-letter-fade-out 0.1s 0.4s forwards; }
.an-envflip-card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: 50% 100%;
  animation: an-envflip-turn 0.4s cubic-bezier(0.3, 0.8, 0.3, 1) both;
}
.an-envflip-face {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: #efe6d2;
  color: #39352b;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  backface-visibility: hidden;
  text-align: left;
}
.an-envflip-face.is-back { transform: rotateY(180deg); perspective: 600px; }
.an-envflip-flap {
  position: absolute;
  inset: 0 0 auto;
  height: 52%;
  background: #e6dcc5;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top;
}
/* While the page rises it is still inside the envelope, so nothing may show below the envelope's foot. */
.an-letter.is-flip-opening { animation: an-letter-fade-in 0.1s 0.4s ease both, an-letter-hold-in 0.95s step-end both; }
@keyframes an-letter-hold-in { from { clip-path: inset(-400px -80px 0 -80px); } to { clip-path: none; } }
.an-letter.is-flip-opening .an-letter-flap { animation: an-letter-flap-up 0.2s 0.45s cubic-bezier(0.3, 0.8, 0.3, 1) both; }
.an-letter.is-flip-opening .an-letter-page { animation: an-letter-rise 0.35s 0.6s cubic-bezier(0.3, 0.8, 0.3, 1) both; }
.an-letter.is-flip-opening .an-letter-foot { animation: an-letter-fade-in 0.2s 0.9s ease both; }
@keyframes an-letter-flap-up { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes an-letter-rise { from { transform: translateY(120px); } to { transform: none; } }
@keyframes an-envflip-turn {
  from { transform: rotate(var(--an-envelope-tilt, -4deg)) rotateY(0deg); }
  to { transform: rotate(-1deg) rotateY(180deg) scale(1.52, 1.375); }
}

.an-letter.is-leaving { animation: an-letter-leave 0.4s cubic-bezier(0.3, 0.8, 0.3, 1) forwards; pointer-events: none; }
.an-envelope.is-reduced { transition: none; }
.an-envelope.is-reduced:hover { transform: rotate(var(--an-envelope-tilt, -4deg)); }
.an-envelope.is-dealing.is-reduced { animation: an-letter-fade-in 0.5s ease both; }
.an-letter.is-opening.is-reduced { animation: an-letter-fade-in 0.45s ease both; }
.an-letter.is-leaving.is-reduced { animation: an-letter-fade-out 0.4s ease forwards; }

/* The letter layer: fixed over the desk, bottom-centre above the dock. Above the cards, below the dock (70)
   so the bell's drop-up still opens over it, and far below dialogs. Not desk state, so it ignores pan and zoom. */
.an-letterlayer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 68px;
  z-index: 65;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.an-letterlayer-stack { display: grid; max-width: calc(100vw - 32px); }
.an-letterlayer-stack > * { grid-area: 1 / 1; align-self: end; justify-self: center; pointer-events: auto; }
.an-letterlayer .an-letter {
  display: flex;
  flex-direction: column;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 92px);
  max-height: calc(100dvh - 92px);
}
.an-letterlayer .an-letter-page { display: flex; flex-direction: column; flex: 0 1 auto; min-height: 0; }
.an-letterlayer .an-letter-foot { flex: none; }
.an-letter-scroll {
  flex: 0 1 auto;
  min-height: 0;
  margin: 0 -24px;
  padding: 0 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    linear-gradient(#f6f1e3 30%, rgba(246, 241, 227, 0)) center top / 100% 28px no-repeat local,
    linear-gradient(rgba(246, 241, 227, 0), #f6f1e3 70%) center bottom / 100% 28px no-repeat local,
    radial-gradient(farthest-side at 50% 0, rgba(57, 53, 43, 0.2), transparent) center top / 100% 10px no-repeat scroll,
    radial-gradient(farthest-side at 50% 100%, rgba(57, 53, 43, 0.2), transparent) center bottom / 100% 10px no-repeat scroll;
}

.an-letterpile { display: grid; }
.an-letterpile > * { grid-area: 1 / 1; }
.an-letterpile.is-behind { pointer-events: none; }
.an-letterpile-edge.is-under {
  width: 250px;
  height: 160px;
  border-radius: 4px;
  background: #e6dcc5;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  transform: translate(calc(var(--an-edge) * 6px), calc(var(--an-edge) * 6px)) rotate(calc(-4deg + var(--an-edge) * 3deg));
}

.an-letterfan-dim {
  -webkit-app-region: no-drag;
  position: fixed;
  inset: 0;
  background: rgba(20, 21, 16, 0.45);
  pointer-events: auto;
  animation: an-letter-fade-in 0.45s cubic-bezier(0.3, 0.8, 0.3, 1) both;
}
.an-letterfan { position: relative; display: flex; flex-direction: column; align-items: center; pointer-events: auto; }
.an-letterfan-list { display: flex; flex-direction: column; align-items: center; }
.an-letterfan-env {
  position: relative;
  display: block;
  flex: none;
  width: 250px;
  height: 160px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: #efe6d2;
  color: #39352b;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  text-align: left;
  cursor: pointer;
  transform: rotate(var(--an-fan-tilt, 0deg));
  transition: transform 0.45s cubic-bezier(0.3, 0.8, 0.3, 1);
  animation: an-letterfan-spread 0.45s cubic-bezier(0.3, 0.8, 0.3, 1) both;
}
/* Each envelope above the newest shows only its top strip, one 34px step apart. */
.an-letterfan-env + .an-letterfan-env { margin-top: -126px; }
.an-letterfan-env:hover { transform: rotate(var(--an-fan-tilt, 0deg)) translateY(-3px); }
.an-letterfan-env:focus { outline: none; }
.an-letterfan-env:focus-visible { outline: 1.5px solid var(--an-desk-bright); outline-offset: 3px; }
.an-letterfan-from {
  position: absolute;
  left: 14px;
  top: 10px;
  right: 14px;
  overflow: hidden;
  font: 10.5px/1.3 var(--an-mono);
  letter-spacing: 0.06em;
  color: #8b8370;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.an-letterfan-subject { margin-left: 10px; font: 500 13px/1 var(--an-sans); letter-spacing: 0; color: #39352b; }
@keyframes an-letterfan-spread {
  from { transform: translateY(var(--an-fan-from, 0px)) rotate(0deg); }
  to { transform: rotate(var(--an-fan-tilt, 0deg)); }
}
.an-letterfan.is-reduced .an-letterfan-env { transition: none; animation: an-letter-fade-in 0.45s ease both; }
.an-letterfan.is-reduced .an-letterfan-env:hover { transform: rotate(var(--an-fan-tilt, 0deg)); }

/* Slips: good news left top-right of the desk, on the letters' layer (65): over the cards, under the dock. */
.an-sliplayer {
  position: fixed;
  top: 72px;
  right: 24px;
  z-index: 65;
  pointer-events: none;
}
.an-noteslip {
  position: absolute;
  right: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 16px;
  border: 0;
  border-radius: 3px;
  background: #fbfaf3;
  color: #16170f;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  font: 400 15px/1.3 "IBM Plex Sans", system-ui, sans-serif;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: auto;
  transform: rotate(var(--an-slip-tilt, -2deg));
  transform-origin: top right;
}
.an-noteslip { --ink: #16170f; --paper: #fbfaf3; --rule: rgba(22, 23, 15, 0.16); }
.an-noteslip .an-notice-face { align-self: center; }
.an-noteslip:has(.an-notice-face) { padding: 9px 16px 9px 10px; gap: 10px; }
.an-noteslip b { font-weight: 500; }
.an-noteslip-time { font: 400 12px "IBM Plex Mono", monospace; color: #7a7766; }
.an-noteslip.is-mention { display: flex; align-items: flex-start; gap: 6px; padding: 0; cursor: default; }
.an-noteslip-main {
  display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 380px;
  padding: 9px 4px 9px 10px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.an-noteslip-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.an-noteslip-head { display: flex; align-items: baseline; gap: 8px; }
.an-noteslip-line { font-size: 13px; color: #7a7766; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-noteslip-line b { color: #16170f; }
.an-noteslip-x {
  align-self: flex-start; flex: none; margin: 6px 8px 0 0; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%;
  background: none; color: #7a7766; font: 400 16px/22px "IBM Plex Sans", system-ui, sans-serif; cursor: pointer;
}
.an-noteslip-x:hover { box-shadow: 0 0 0 1px rgba(22, 23, 15, 0.3); color: #16170f; }
.an-noteslip-main:focus-visible, .an-noteslip-x:focus-visible { outline: 2px solid rgba(22, 23, 15, 0.35); outline-offset: 2px; border-radius: 3px; }
.an-noteslip:focus-visible { outline: 2px solid rgba(22, 23, 15, 0.35); outline-offset: 2px; }

@keyframes an-noteslip-arrive {
  from { transform: translateY(-14px) rotate(var(--an-slip-tilt, -2deg)); opacity: 0; }
  to { transform: rotate(var(--an-slip-tilt, -2deg)); opacity: 1; }
}
/* Toward the bell, which sits down on the dock. */
@keyframes an-noteslip-tuck {
  from { transform: rotate(var(--an-slip-tilt, -2deg)); opacity: 1; }
  to { transform: translateY(24px) rotate(var(--an-slip-tilt, -2deg)) scale(0.55); opacity: 0; }
}
.an-noteslip.is-arriving { animation: an-noteslip-arrive 0.5s cubic-bezier(0.3, 0.8, 0.3, 1) both; }
.an-noteslip.is-tucking { animation: an-noteslip-tuck 0.4s cubic-bezier(0.3, 0.8, 0.3, 1) forwards; pointer-events: none; }
.an-noteslip.is-arriving.is-reduced { animation: an-letter-fade-in 0.5s ease both; }
.an-noteslip.is-tucking.is-reduced { animation: an-letter-fade-out 0.4s ease forwards; }
/* A card that isn't shared with you (FE-PRD-013 S49): blank paper in its exact place, nothing on it. */
.an-facedown { width: 100%; height: 100%; background: var(--paper, #f4efe1); border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 18px rgba(0,0,0,.10); }
.an-weeknote { margin: 0 0 12px; }
.an-weeknote-label { font-family: var(--an-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.an-weeknote-text { display: block; width: 100%; font: inherit; font-size: 15px; line-height: 1.6; color: inherit; }
.an-weeknote-text .an-mention-input { padding: 2px 0; }
.an-weeknote-text .an-mention-input::placeholder { color: var(--muted); opacity: 0.7; }
.an-weeknote .an-map-cta { margin: 8px 0 0; }
.an-talk { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; height: 100%; padding: 26px 26px 18px; overflow: auto; text-align: center; color: var(--console-text-primary); }
.an-talk-say { margin: 0; font-family: var(--an-mono); font-size: 15px; line-height: 1.55; max-width: 34ch; }
.an-talk-sub { margin: 0; font-size: 13px; color: var(--console-text-muted); max-width: 40ch; }
.an-talk-notes { max-height: 9.5em; overflow: auto; width: 100%; text-align: left; white-space: pre-wrap; font-size: 13px; line-height: 1.5; color: var(--console-text-dim); border-left: 2px solid rgba(var(--console-ink-rgb), 0.15); padding: 2px 0 2px 10px; }
.an-talk-mic { width: 84px; height: 84px; flex: none; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; background: var(--console-accent); color: var(--console-accent-ink); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); transition: transform 150ms ease; }
.an-talk-mic:hover { transform: scale(1.04); }
.an-talk-mic.is-on { animation: an-talk-pulse 1.4s ease-in-out infinite; }
@keyframes an-talk-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--console-accent-rgb), 0.45); } 50% { box-shadow: 0 0 0 14px rgba(var(--console-accent-rgb), 0); } }
.an-talk-live { width: 100%; min-height: 1.5em; font-size: 15px; line-height: 1.5; color: var(--console-text-strong); }
.an-talk-issue { margin: 0; font-size: 13px; color: var(--console-warn); }
.an-talk-type { width: 100%; margin-top: auto; resize: none; border: 1px solid rgba(var(--console-ink-rgb), 0.12); border-radius: 10px; background: rgba(255, 255, 255, 0.03); color: var(--console-text-primary); padding: 8px 10px; font: inherit; font-size: 14px; outline: none; }
.an-talk-actions { display: flex; justify-content: space-between; width: 100%; }
.an-ansel .ob-btn:disabled { opacity: 0.4; cursor: default; }

/* A mention reads as the person's name in ink, one step heavier than the text around it. */
.an-mention { font-weight: calc(var(--w, 400) + 100); color: var(--ink); }
.an-mention.is-plain { font-weight: inherit; }
.an-today-blocked .an-mention { color: inherit; }
.an-mention.is-flash { text-decoration: underline 1px var(--ink); text-underline-offset: 2px; animation: an-mention-flash 1.2s ease-out forwards; }
@keyframes an-mention-flash { to { text-decoration-color: transparent; } }
@media (prefers-reduced-motion: reduce) { .an-mention.is-flash { text-decoration: none; animation: none; } }

/* Another member's week plan, read only (A46). */
.qtr-pdlg.an-weekplan-sheet { max-width: 520px; }
.an-weekplan-text { margin-top: 16px; max-height: min(52vh, 420px); overflow-y: auto; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.55; color: var(--ink); }
.an-weekplan-state { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 13px; color: var(--muted); }

/* MentionField: a minimal ProseMirror field that reads like the input it replaces; the host sets font and size. */
.an-mention-field { position: relative; min-width: 0; }
.an-mention-field .an-mention-input { outline: none; white-space: pre-wrap; overflow-wrap: anywhere; }
.an-mention-field .an-mention-input p { margin: 0; }
.an-mention-field .an-mention-input p.is-editor-empty:first-child::before {
  content: attr(data-placeholder);
  color: var(--muted);
  float: left;
  height: 0;
  pointer-events: none;
}
/* The @ popover: portaled to <body> and placed from the caret, so it carries the card's paper inline; Today's paper if none. */
.an-slipmenu-pop.an-mention-pop {
  position: fixed;
  top: auto;
  left: auto;
  z-index: 70;
  width: min(240px, calc(100vw - 24px));
  min-width: 0;
  max-height: 204px;
  color: var(--ink);
  --paper: #fafaf7;
  --ink: #2a2a26;
  --muted: #8c877a;
  --rule: #d6d3c8;
}
.an-mention-row { gap: 8px; }
.an-mention-row > .an-tray-pop-glyph { flex: none; width: auto; overflow: visible; }
.an-mention-row > .an-tray-pop-glyph .an-person { flex: none; overflow: hidden; }
.an-mention-row > .an-mention-name { max-width: 28ch; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-mention-row .an-mention-name b { margin-left: 0; font-weight: 500; color: inherit; }
/* Loading (A51): three faint ruled rows, no spinner. */
.an-mention-row.is-skeleton { cursor: default; min-height: 32px; }
.an-mention-row.is-skeleton:hover { background: none; }
.an-mention-row.is-skeleton > span { flex: none; height: 1px; background: var(--rule); opacity: 0.7; width: 70%; }
.an-mention-empty { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 9px; font-family: var(--an-mono); font-size: 12px; color: var(--muted); }
.an-mention-empty .qtr-pbtn { flex: none; padding: 3px 8px; font-size: 11px; }

/* The add row and the slip's title and notes as mention fields: they read like the inputs they replaced. */
.an-add .an-add-field { flex: 1; min-width: 0; color: var(--ink); line-height: 22px; padding: 15px 0 14px; }
.an-slip-title.an-mention-field { cursor: text; }
.an-slip-notes.an-mention-field { cursor: text; }
.an-slip-notes .an-mention-input { min-height: calc(1.55em * 3); }
.an-slip-notes .an-mention-input p.is-editor-empty:first-child::before { color: #a9a497; }
.an-slip-notes .an-mention-input[aria-readonly="true"] { opacity: 0.55; cursor: progress; }

/* "Assign to Rishi instead of Kim?": a small paper menu under the slip's title, in the slip's own paper (A35). */
.an-slip-title-row { position: relative; }
.an-mention-ask {
  position: absolute;
  top: calc(100% - 4px);
  left: 32px;
  right: 0;
  z-index: 6;
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.07);
  padding: 10px 12px;
  font-family: var(--an-sans);
  font-size: 13.5px;
  line-height: 1.4;
}
.an-mention-ask p { margin: 0 0 9px; }
.an-mention-ask b { font-weight: 600; }
.an-mention-ask-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.an-mention-ask .qtr-pbtn { min-height: 30px; padding: 4px 11px; font-size: 13px; white-space: nowrap; }
/* The plain stand-in that takes typing while the field's editor loads: it reads exactly like the editor. */
.an-mention-field .an-mention-standin {
  display: block;
  width: 100%;
  border: none;
  background: none;
  outline: none;
  resize: none;
  padding: 0;
  margin: 0;
  font: inherit;
  line-height: inherit;
  color: inherit;
}
.an-mention-field .an-mention-standin::placeholder { color: var(--muted); }

.an-menu-item { position: relative; }
.an-tray-pop-row.is-shelf { font-weight: 500; }
.an-putback {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font: 500 11px/1 var(--an-mono);
  letter-spacing: 0.03em;
  color: var(--an-desk-ink);
  background: var(--an-desk-pop);
  border: 1px solid var(--an-desk-line);
  border-radius: 999px;
  padding: 4px 7px 2px 9px;
  cursor: pointer;
}
.an-putback:hover { color: var(--an-desk-bright); border-color: var(--an-accent); }
.an-putback:focus-visible { outline: 1.5px solid var(--an-desk-bright); outline-offset: 1px; }
.an-menu-item > .an-reveal { display: none; }
@media (hover: hover) {
  .an-menu-item:hover > .an-reveal,
  .an-menu-item:has(:focus-visible) > .an-reveal,
  .an-menu-item > .an-reveal[aria-expanded="true"] { display: block; }
  .an-menu-item:has(> .an-putback):hover .an-ondot,
  .an-menu-item:has(> .an-putback):has(:focus-visible) .an-ondot,
  .an-menu-item:has(> .an-putback):hover .an-sub-caret,
  .an-menu-item:has(> .an-putback):has(:focus-visible) .an-sub-caret { visibility: hidden; }
}
@media (hover: none) { .an-menu-item > .an-reveal.is-touch { display: block; } }

.an-pin-col {
  position: absolute;
  top: 0;
  bottom: 44px;
  display: flex;
  z-index: 3;
  --an-pin-cast-left: 12px 0 28px -12px rgba(0, 0, 0, 0.5), 2px 0 6px -3px rgba(0, 0, 0, 0.3);
  --an-pin-cast-right: -12px 0 28px -12px rgba(0, 0, 0, 0.5), -2px 0 6px -3px rgba(0, 0, 0, 0.3);
}
.an-card-slot,
.an-card-host { display: contents; }
.an-pin-col.is-left { left: 0; }
.an-pin-col.is-right { right: 0; }
.an-pin-col > .an-card-slot > .an-card-host > .an-card,
.an-pin-col > .an-card-slot > .an-card-host > .an-cardwrap {
  position: relative;
  height: 100%;
  transform: none;
  transition: width 0.4s cubic-bezier(0.3, 0.8, 0.3, 1), opacity 0.5s ease;
}
.an-pin-col > .an-card-slot > .an-card-host > .an-card.is-resizing,
.an-pin-col > .an-card-slot > .an-card-host > .an-cardwrap.is-resizing { transition: none; }
.an-pin-col > .an-card-slot > .an-card-host > .an-cardwrap > .an-ansel,
.an-pin-col > .an-card-slot > .an-card-host > .an-cardwrap > .an-clock { height: 100%; margin-bottom: 0; }
.an-pin-col .an-card-paper,
.an-pin-col > .an-card-slot > .an-card-host > .an-card.has-page-open .an-card-paper,
.an-pin-col .an-page,
.an-pin-col .an-ansel,
.an-pin-col .an-clock {
  border-radius: 0;
  box-shadow: none;
}
.an-pin-col.is-left .an-card-paper,
.an-pin-col.is-left .an-page,
.an-pin-col.is-left .an-ansel,
.an-pin-col.is-left .an-clock { box-shadow: inset -1px 0 0 var(--rule, var(--an-desk-line)); }
.an-pin-col.is-right .an-card-paper,
.an-pin-col.is-right .an-page,
.an-pin-col.is-right .an-ansel,
.an-pin-col.is-right .an-clock { box-shadow: inset 1px 0 0 var(--rule, var(--an-desk-line)); }
.an-pin-col.is-left > :last-child :is(.an-card-paper, .an-page, .an-ansel, .an-clock) { box-shadow: var(--an-pin-cast-left); }
.an-pin-col.is-right > :first-child :is(.an-card-paper, .an-page, .an-ansel, .an-clock) { box-shadow: var(--an-pin-cast-right); }
.an-pin-col.is-left > .an-card.has-page-open:last-child .an-card-paper { box-shadow: none; }
.an-pin-col.is-right > .an-card.has-page-open:first-child .an-page { box-shadow: inset 1px 0 0 var(--rule, var(--an-desk-line)); }
.an-pin-col > .an-card-slot > .an-card-host > .an-card > .an-corner,
.an-pin-col > .an-card-slot > .an-card-host > .an-cardwrap > .an-corner { top: 6px; right: 6px; }
.an-pin-col > .an-card-slot > .an-card-host > .an-card.has-page-open > .an-corner { right: calc(6px - var(--an-pagew, 0px)); }
.an-pin-col.is-left .an-rz.is-side.is-right { right: 0; }
.an-pin-col.is-left > .an-card.has-page-open > .an-rz.is-side.is-right { right: calc(0px - var(--an-pagew, 0px)); }
.an-pin-col.is-right .an-rz.is-side.is-left { left: 0; }

/* ── Search peek (FE-PRD-020 C21–C25): a card from elsewhere, floating in the current view's band ── */
.an-peek {
  position: absolute;
  left: 80px;
  top: 52px;
  z-index: 5;
  cursor: auto;
}
.an-peek .an-card.is-peek { max-height: calc(100vh - 190px); }
.an-peek-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin-top: 12px;
  font-family: var(--an-mono);
  font-size: 12px;
  color: var(--an-desk-dim);
}
.an-peek-line button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.an-peek-line button:hover { color: #e8e4d6; text-decoration: underline; text-underline-offset: 3px; }
.an-mug-ghost { position: fixed; z-index: 9999; pointer-events: none; transform: translate(-50%, -60%) rotate(-6deg); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.35)); }
[data-cardid].is-ansel-target { outline: 2px solid var(--an-accent); outline-offset: 4px; border-radius: 8px; }
.an-ansel-focus { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 8px; padding: 2px 2px 2px 10px; border-radius: 999px; font: 500 11px/1.6 var(--an-mono); letter-spacing: 0.04em; color: #f3f1e8; background: rgba(243, 241, 232, 0.1); }
.an-ansel-focus button { padding: 0 7px; border: 0; background: none; color: inherit; font-size: 14px; line-height: 1; opacity: 0.7; cursor: pointer; }
.an-ansel-focus button:hover, .an-ansel-focus button:focus-visible { opacity: 1; }

/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --font-mono: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --color-red-100: oklch(93.6% 0.032 17.717);
    --color-red-500: oklch(63.7% 0.237 25.331);
    --color-red-600: oklch(57.7% 0.245 27.325);
    --color-blue-500: oklch(62.3% 0.214 259.815);
    --color-gray-50: oklch(98.5% 0.002 247.839);
    --color-gray-100: oklch(96.7% 0.003 264.542);
    --color-gray-200: oklch(92.8% 0.006 264.531);
    --color-gray-300: oklch(87.2% 0.01 258.338);
    --color-gray-400: oklch(70.7% 0.022 261.325);
    --color-gray-500: oklch(55.1% 0.027 264.364);
    --color-gray-600: oklch(44.6% 0.03 256.802);
    --color-gray-700: oklch(37.3% 0.034 259.733);
    --color-gray-800: oklch(27.8% 0.033 256.848);
    --color-gray-900: oklch(21% 0.034 264.665);
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-md: 28rem;
    --container-lg: 32rem;
    --container-xl: 36rem;
    --container-2xl: 42rem;
    --container-4xl: 56rem;
    --container-7xl: 80rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    --tracking-tight: -0.025em;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-relaxed: 1.625;
    --radius-xs: 0.125rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --animate-spin: spin 1s linear infinite;
    --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --blur-sm: 8px;
    --blur-md: 12px;
    --blur-xl: 24px;
    --blur-2xl: 40px;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --default-mono-font-family: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .pointer-events-auto {
    pointer-events: auto;
  }
  .pointer-events-none {
    pointer-events: none;
  }
  .collapse {
    visibility: collapse;
  }
  .invisible {
    visibility: hidden;
  }
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .sticky {
    position: sticky;
  }
  .inset-0 {
    inset: calc(var(--spacing) * 0);
  }
  .inset-y-0 {
    inset-block: calc(var(--spacing) * 0);
  }
  .\!start {
    inset-inline-start: var(--spacing) !important;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .\!end {
    inset-inline-end: var(--spacing) !important;
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .top-0 {
    top: calc(var(--spacing) * 0);
  }
  .top-1 {
    top: calc(var(--spacing) * 1);
  }
  .top-1\/2 {
    top: calc(1 / 2 * 100%);
  }
  .top-2 {
    top: calc(var(--spacing) * 2);
  }
  .top-3 {
    top: calc(var(--spacing) * 3);
  }
  .top-4 {
    top: calc(var(--spacing) * 4);
  }
  .top-5 {
    top: calc(var(--spacing) * 5);
  }
  .top-full {
    top: 100%;
  }
  .right-0 {
    right: calc(var(--spacing) * 0);
  }
  .right-1 {
    right: calc(var(--spacing) * 1);
  }
  .right-2 {
    right: calc(var(--spacing) * 2);
  }
  .right-3 {
    right: calc(var(--spacing) * 3);
  }
  .right-4 {
    right: calc(var(--spacing) * 4);
  }
  .right-5 {
    right: calc(var(--spacing) * 5);
  }
  .right-6 {
    right: calc(var(--spacing) * 6);
  }
  .right-full {
    right: 100%;
  }
  .bottom-0 {
    bottom: calc(var(--spacing) * 0);
  }
  .bottom-4 {
    bottom: calc(var(--spacing) * 4);
  }
  .bottom-6 {
    bottom: calc(var(--spacing) * 6);
  }
  .left-0 {
    left: calc(var(--spacing) * 0);
  }
  .left-1\/2 {
    left: calc(1 / 2 * 100%);
  }
  .left-2 {
    left: calc(var(--spacing) * 2);
  }
  .left-3 {
    left: calc(var(--spacing) * 3);
  }
  .left-4 {
    left: calc(var(--spacing) * 4);
  }
  .isolate {
    isolation: isolate;
  }
  .z-0 {
    z-index: 0;
  }
  .z-10 {
    z-index: 10;
  }
  .z-20 {
    z-index: 20;
  }
  .z-30 {
    z-index: 30;
  }
  .z-50 {
    z-index: 50;
  }
  .z-60 {
    z-index: 60;
  }
  .z-2000 {
    z-index: 2000;
  }
  .z-2100 {
    z-index: 2100;
  }
  .z-9999 {
    z-index: 9999;
  }
  .z-10000 {
    z-index: 10000;
  }
  .z-10001 {
    z-index: 10001;
  }
  .z-10002 {
    z-index: 10002;
  }
  .z-\[10050\] {
    z-index: 10050;
  }
  .col-1 {
    grid-column: 1;
  }
  .row-1 {
    grid-row: 1;
  }
  .\!container {
    width: 100% !important;
    @media (width >= 40rem) {
      max-width: 40rem !important;
    }
    @media (width >= 48rem) {
      max-width: 48rem !important;
    }
    @media (width >= 64rem) {
      max-width: 64rem !important;
    }
    @media (width >= 80rem) {
      max-width: 80rem !important;
    }
    @media (width >= 96rem) {
      max-width: 96rem !important;
    }
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .m-0 {
    margin: calc(var(--spacing) * 0);
  }
  .m-2 {
    margin: calc(var(--spacing) * 2);
  }
  .m-auto {
    margin: auto;
  }
  .-mx-0\.5 {
    margin-inline: calc(var(--spacing) * -0.5);
  }
  .-mx-10 {
    margin-inline: calc(var(--spacing) * -10);
  }
  .mx-1\.5 {
    margin-inline: calc(var(--spacing) * 1.5);
  }
  .mx-2 {
    margin-inline: calc(var(--spacing) * 2);
  }
  .mx-3 {
    margin-inline: calc(var(--spacing) * 3);
  }
  .mx-4 {
    margin-inline: calc(var(--spacing) * 4);
  }
  .mx-auto {
    margin-inline: auto;
  }
  .-my-2 {
    margin-block: calc(var(--spacing) * -2);
  }
  .my-0\.5 {
    margin-block: calc(var(--spacing) * 0.5);
  }
  .my-1 {
    margin-block: calc(var(--spacing) * 1);
  }
  .my-1\.5 {
    margin-block: calc(var(--spacing) * 1.5);
  }
  .my-2 {
    margin-block: calc(var(--spacing) * 2);
  }
  .my-4 {
    margin-block: calc(var(--spacing) * 4);
  }
  .-mt-2 {
    margin-top: calc(var(--spacing) * -2);
  }
  .mt-0 {
    margin-top: calc(var(--spacing) * 0);
  }
  .mt-0\.5 {
    margin-top: calc(var(--spacing) * 0.5);
  }
  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }
  .mt-1\.5 {
    margin-top: calc(var(--spacing) * 1.5);
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mt-2\.5 {
    margin-top: calc(var(--spacing) * 2.5);
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }
  .mt-5 {
    margin-top: calc(var(--spacing) * 5);
  }
  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }
  .mt-auto {
    margin-top: auto;
  }
  .mt-px {
    margin-top: 1px;
  }
  .-mr-0\.5 {
    margin-right: calc(var(--spacing) * -0.5);
  }
  .-mr-2 {
    margin-right: calc(var(--spacing) * -2);
  }
  .mr-1 {
    margin-right: calc(var(--spacing) * 1);
  }
  .mr-auto {
    margin-right: auto;
  }
  .mb-0\.5 {
    margin-bottom: calc(var(--spacing) * 0.5);
  }
  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }
  .mb-1\.5 {
    margin-bottom: calc(var(--spacing) * 1.5);
  }
  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }
  .mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }
  .-ml-1\.5 {
    margin-left: calc(var(--spacing) * -1.5);
  }
  .ml-1 {
    margin-left: calc(var(--spacing) * 1);
  }
  .ml-2\.5 {
    margin-left: calc(var(--spacing) * 2.5);
  }
  .ml-auto {
    margin-left: auto;
  }
  .line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }
  .line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-block {
    display: inline-block;
  }
  .inline-flex {
    display: inline-flex;
  }
  .inline-grid {
    display: inline-grid;
  }
  .table {
    display: table;
  }
  .size-4 {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
  }
  .h-1 {
    height: calc(var(--spacing) * 1);
  }
  .h-1\.5 {
    height: calc(var(--spacing) * 1.5);
  }
  .h-2 {
    height: calc(var(--spacing) * 2);
  }
  .h-2\.5 {
    height: calc(var(--spacing) * 2.5);
  }
  .h-3 {
    height: calc(var(--spacing) * 3);
  }
  .h-3\.5 {
    height: calc(var(--spacing) * 3.5);
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .h-5 {
    height: calc(var(--spacing) * 5);
  }
  .h-6 {
    height: calc(var(--spacing) * 6);
  }
  .h-6\.5 {
    height: calc(var(--spacing) * 6.5);
  }
  .h-7 {
    height: calc(var(--spacing) * 7);
  }
  .h-8 {
    height: calc(var(--spacing) * 8);
  }
  .h-9 {
    height: calc(var(--spacing) * 9);
  }
  .h-10 {
    height: calc(var(--spacing) * 10);
  }
  .h-12 {
    height: calc(var(--spacing) * 12);
  }
  .h-16 {
    height: calc(var(--spacing) * 16);
  }
  .h-95 {
    height: calc(var(--spacing) * 95);
  }
  .h-\[2px\] {
    height: 2px;
  }
  .h-\[calc\(100vh-16px\)\] {
    height: calc(100vh - 16px);
  }
  .h-auto {
    height: auto;
  }
  .h-full {
    height: 100%;
  }
  .h-px {
    height: 1px;
  }
  .h-screen {
    height: 100vh;
  }
  .max-h-\(--radix-dropdown-menu-content-available-height\) {
    max-height: var(--radix-dropdown-menu-content-available-height);
  }
  .max-h-48 {
    max-height: calc(var(--spacing) * 48);
  }
  .max-h-60 {
    max-height: calc(var(--spacing) * 60);
  }
  .max-h-65 {
    max-height: calc(var(--spacing) * 65);
  }
  .max-h-\[40vh\] {
    max-height: 40vh;
  }
  .max-h-\[50vh\] {
    max-height: 50vh;
  }
  .max-h-\[calc\(100dvh-2rem\)\] {
    max-height: calc(100dvh - 2rem);
  }
  .max-h-full {
    max-height: 100%;
  }
  .min-h-0 {
    min-height: calc(var(--spacing) * 0);
  }
  .min-h-4 {
    min-height: calc(var(--spacing) * 4);
  }
  .min-h-full {
    min-height: 100%;
  }
  .w-1\.5 {
    width: calc(var(--spacing) * 1.5);
  }
  .w-2 {
    width: calc(var(--spacing) * 2);
  }
  .w-2\.5 {
    width: calc(var(--spacing) * 2.5);
  }
  .w-2\/3 {
    width: calc(2 / 3 * 100%);
  }
  .w-3 {
    width: calc(var(--spacing) * 3);
  }
  .w-3\.5 {
    width: calc(var(--spacing) * 3.5);
  }
  .w-3\/4 {
    width: calc(3 / 4 * 100%);
  }
  .w-4 {
    width: calc(var(--spacing) * 4);
  }
  .w-5 {
    width: calc(var(--spacing) * 5);
  }
  .w-6 {
    width: calc(var(--spacing) * 6);
  }
  .w-7 {
    width: calc(var(--spacing) * 7);
  }
  .w-8 {
    width: calc(var(--spacing) * 8);
  }
  .w-9 {
    width: calc(var(--spacing) * 9);
  }
  .w-10 {
    width: calc(var(--spacing) * 10);
  }
  .w-12 {
    width: calc(var(--spacing) * 12);
  }
  .w-14 {
    width: calc(var(--spacing) * 14);
  }
  .w-16 {
    width: calc(var(--spacing) * 16);
  }
  .w-52\.5 {
    width: calc(var(--spacing) * 52.5);
  }
  .w-56 {
    width: calc(var(--spacing) * 56);
  }
  .w-56\.25 {
    width: calc(var(--spacing) * 56.25);
  }
  .w-64 {
    width: calc(var(--spacing) * 64);
  }
  .w-80 {
    width: calc(var(--spacing) * 80);
  }
  .w-85 {
    width: calc(var(--spacing) * 85);
  }
  .w-93\.75 {
    width: calc(var(--spacing) * 93.75);
  }
  .w-95 {
    width: calc(var(--spacing) * 95);
  }
  .w-116\.25 {
    width: calc(var(--spacing) * 116.25);
  }
  .w-\[92\%\] {
    width: 92%;
  }
  .w-auto {
    width: auto;
  }
  .w-fit {
    width: fit-content;
  }
  .w-full {
    width: 100%;
  }
  .w-max {
    width: max-content;
  }
  .w-screen {
    width: 100vw;
  }
  .max-w-2xl {
    max-width: var(--container-2xl);
  }
  .max-w-4xl {
    max-width: var(--container-4xl);
  }
  .max-w-7xl {
    max-width: var(--container-7xl);
  }
  .max-w-105 {
    max-width: calc(var(--spacing) * 105);
  }
  .max-w-175 {
    max-width: calc(var(--spacing) * 175);
  }
  .max-w-\[80\%\] {
    max-width: 80%;
  }
  .max-w-\[120px\] {
    max-width: 120px;
  }
  .max-w-full {
    max-width: 100%;
  }
  .max-w-lg {
    max-width: var(--container-lg);
  }
  .max-w-md {
    max-width: var(--container-md);
  }
  .max-w-none {
    max-width: none;
  }
  .max-w-xl {
    max-width: var(--container-xl);
  }
  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }
  .min-w-5 {
    min-width: calc(var(--spacing) * 5);
  }
  .min-w-30 {
    min-width: calc(var(--spacing) * 30);
  }
  .min-w-37\.5 {
    min-width: calc(var(--spacing) * 37.5);
  }
  .min-w-40 {
    min-width: calc(var(--spacing) * 40);
  }
  .min-w-45 {
    min-width: calc(var(--spacing) * 45);
  }
  .min-w-47\.5 {
    min-width: calc(var(--spacing) * 47.5);
  }
  .min-w-50 {
    min-width: calc(var(--spacing) * 50);
  }
  .min-w-60 {
    min-width: calc(var(--spacing) * 60);
  }
  .min-w-70 {
    min-width: calc(var(--spacing) * 70);
  }
  .min-w-\[172px\] {
    min-width: 172px;
  }
  .flex-1 {
    flex: 1;
  }
  .flex-shrink {
    flex-shrink: 1;
  }
  .flex-shrink-0 {
    flex-shrink: 0;
  }
  .shrink {
    flex-shrink: 1;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .grow {
    flex-grow: 1;
  }
  .-translate-x-1\/2 {
    --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .-translate-y-1\/2 {
    --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .scale-95 {
    --tw-scale-x: 95%;
    --tw-scale-y: 95%;
    --tw-scale-z: 95%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }
  .scale-100 {
    --tw-scale-x: 100%;
    --tw-scale-y: 100%;
    --tw-scale-z: 100%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }
  .rotate-0 {
    rotate: 0deg;
  }
  .rotate-180 {
    rotate: 180deg;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .animate-pulse {
    animation: var(--animate-pulse);
  }
  .animate-spin {
    animation: var(--animate-spin);
  }
  .cursor-default {
    cursor: default;
  }
  .cursor-ew-resize {
    cursor: ew-resize;
  }
  .cursor-grab {
    cursor: grab;
  }
  .cursor-not-allowed {
    cursor: not-allowed;
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .cursor-text {
    cursor: text;
  }
  .resize {
    resize: both;
  }
  .resize-none {
    resize: none;
  }
  .list-decimal {
    list-style-type: decimal;
  }
  .list-disc {
    list-style-type: disc;
  }
  .list-none {
    list-style-type: none;
  }
  .appearance-none {
    appearance: none;
  }
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-cols-7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .grid-cols-\[auto_1fr\] {
    grid-template-columns: auto 1fr;
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-nowrap {
    flex-wrap: nowrap;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .place-content-center {
    place-content: center;
  }
  .place-items-center {
    place-items: center;
  }
  .items-baseline {
    align-items: baseline;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .items-start {
    align-items: flex-start;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-end {
    justify-content: flex-end;
  }
  .justify-start {
    justify-content: flex-start;
  }
  .gap-0\.5 {
    gap: calc(var(--spacing) * 0.5);
  }
  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }
  .gap-1\.5 {
    gap: calc(var(--spacing) * 1.5);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-2\.5 {
    gap: calc(var(--spacing) * 2.5);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-3\.5 {
    gap: calc(var(--spacing) * 3.5);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .gap-5 {
    gap: calc(var(--spacing) * 5);
  }
  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }
  .gap-12 {
    gap: calc(var(--spacing) * 12);
  }
  .gap-\[5px\] {
    gap: 5px;
  }
  .space-y-0 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 0) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 0) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-1 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-2 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-3 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-4 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .space-y-6 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .gap-y-5 {
    row-gap: calc(var(--spacing) * 5);
  }
  .self-center {
    align-self: center;
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-auto {
    overflow: auto;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-visible {
    overflow: visible;
  }
  .overflow-x-auto {
    overflow-x: auto;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .overflow-y-hidden {
    overflow-y: hidden;
  }
  .overscroll-contain {
    overscroll-behavior: contain;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }
  .rounded-3xl {
    border-radius: var(--radius-3xl);
  }
  .rounded-\[5px\] {
    border-radius: 5px;
  }
  .rounded-\[7px\] {
    border-radius: 7px;
  }
  .rounded-\[32px\] {
    border-radius: 32px;
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-md {
    border-radius: var(--radius-md);
  }
  .rounded-sm {
    border-radius: var(--radius-sm);
  }
  .rounded-xl {
    border-radius: var(--radius-xl);
  }
  .rounded-xs {
    border-radius: var(--radius-xs);
  }
  .rounded-t-lg {
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
  }
  .rounded-l-md {
    border-top-left-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
  }
  .rounded-r-md {
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
  }
  .rounded-tr-lg {
    border-top-right-radius: var(--radius-lg);
  }
  .rounded-b-lg {
    border-bottom-right-radius: var(--radius-lg);
    border-bottom-left-radius: var(--radius-lg);
  }
  .rounded-br-lg {
    border-bottom-right-radius: var(--radius-lg);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-0 {
    border-style: var(--tw-border-style);
    border-width: 0px;
  }
  .border-0\! {
    border-style: var(--tw-border-style) !important;
    border-width: 0px !important;
  }
  .border-2 {
    border-style: var(--tw-border-style);
    border-width: 2px;
  }
  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-none {
    --tw-border-style: none;
    border-style: none;
  }
  .border-\(--dropdown-menu-item-delete-color\) {
    border-color: var(--dropdown-menu-item-delete-color);
  }
  .border-\(--dropdown-menu-separator-color\) {
    border-color: var(--dropdown-menu-separator-color);
  }
  .border-\(--grey-300\) {
    border-color: var(--grey-300);
  }
  .border-\(--priority-toggle-border-inactive\) {
    border-color: var(--priority-toggle-border-inactive);
  }
  .border-\(--task-details-popover-row-border\) {
    border-color: var(--task-details-popover-row-border);
  }
  .border-\[hsl\(var\(--destructive\)\)\] {
    border-color: hsl(var(--destructive));
  }
  .border-\[hsl\(var\(--input\)\)\] {
    border-color: hsl(var(--input));
  }
  .border-black\/5 {
    border-color: color-mix(in srgb, #000 5%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-black) 5%, transparent);
    }
  }
  .border-blue-500 {
    border-color: var(--color-blue-500);
  }
  .border-gray-100 {
    border-color: var(--color-gray-100);
  }
  .border-gray-200 {
    border-color: var(--color-gray-200);
  }
  .border-gray-200\/50 {
    border-color: color-mix(in srgb, oklch(92.8% 0.006 264.531) 50%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-gray-200) 50%, transparent);
    }
  }
  .border-gray-900\/5 {
    border-color: color-mix(in srgb, oklch(21% 0.034 264.665) 5%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-gray-900) 5%, transparent);
    }
  }
  .border-transparent {
    border-color: transparent;
  }
  .border-white\/40 {
    border-color: color-mix(in srgb, #fff 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-white) 40%, transparent);
    }
  }
  .border-t-white {
    border-top-color: var(--color-white);
  }
  .bg-\(--dropdown-menu-item-delete-color\) {
    background-color: var(--dropdown-menu-item-delete-color);
  }
  .bg-\(--dropdown-menu-item-delete-hover-bg-color\) {
    background-color: var(--dropdown-menu-item-delete-hover-bg-color);
  }
  .bg-\(--green-400\) {
    background-color: var(--green-400);
  }
  .bg-\(--grey-100\) {
    background-color: var(--grey-100);
  }
  .bg-\(--grey-300\) {
    background-color: var(--grey-300);
  }
  .bg-\(--page-bg-color\) {
    background-color: var(--page-bg-color);
  }
  .bg-\(--panel-bg\) {
    background-color: var(--panel-bg);
  }
  .bg-\(--panel-bg-collapsed\) {
    background-color: var(--panel-bg-collapsed);
  }
  .bg-\(--panel-bg-hover\) {
    background-color: var(--panel-bg-hover);
  }
  .bg-\(--planner-page-bg\) {
    background-color: var(--planner-page-bg);
  }
  .bg-\(--priority-toggle-bg-active\) {
    background-color: var(--priority-toggle-bg-active);
  }
  .bg-\(--project-navigation-selected-bg-color\) {
    background-color: var(--project-navigation-selected-bg-color);
  }
  .bg-\(--project-page-bg-color\) {
    background-color: var(--project-page-bg-color);
  }
  .bg-\(--purple-600\) {
    background-color: var(--purple-600);
  }
  .bg-\(--purple-700\) {
    background-color: var(--purple-700);
  }
  .bg-\(--skeleton-color\) {
    background-color: var(--skeleton-color);
  }
  .bg-\(--task-details-popover-bg-color\) {
    background-color: var(--task-details-popover-bg-color);
  }
  .bg-\(--task-details-popover-row-hover\) {
    background-color: var(--task-details-popover-row-hover);
  }
  .bg-\(--yellow-400\) {
    background-color: var(--yellow-400);
  }
  .bg-\[hsl\(var\(--background\)\)\] {
    background-color: hsl(var(--background));
  }
  .bg-\[hsl\(var\(--card\)\)\] {
    background-color: hsl(var(--card));
  }
  .bg-\[hsl\(var\(--destructive\)\)\] {
    background-color: hsl(var(--destructive));
  }
  .bg-\[hsl\(var\(--primary\)\)\] {
    background-color: hsl(var(--primary));
  }
  .bg-\[hsl\(var\(--secondary\)\)\] {
    background-color: hsl(var(--secondary));
  }
  .bg-\[var\(--panel-bg-collapsed\)\] {
    background-color: var(--panel-bg-collapsed);
  }
  .bg-black {
    background-color: var(--color-black);
  }
  .bg-black\/5 {
    background-color: color-mix(in srgb, #000 5%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-black) 5%, transparent);
    }
  }
  .bg-black\/40 {
    background-color: color-mix(in srgb, #000 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-black) 40%, transparent);
    }
  }
  .bg-black\/50 {
    background-color: color-mix(in srgb, #000 50%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-black) 50%, transparent);
    }
  }
  .bg-black\/60 {
    background-color: color-mix(in srgb, #000 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-black) 60%, transparent);
    }
  }
  .bg-current\/5 {
    background-color: currentcolor;
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, currentcolor 5%, transparent);
    }
  }
  .bg-current\/10 {
    background-color: currentcolor;
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, currentcolor 10%, transparent);
    }
  }
  .bg-gray-50 {
    background-color: var(--color-gray-50);
  }
  .bg-gray-50\/50 {
    background-color: color-mix(in srgb, oklch(98.5% 0.002 247.839) 50%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-gray-50) 50%, transparent);
    }
  }
  .bg-gray-100 {
    background-color: var(--color-gray-100);
  }
  .bg-gray-200 {
    background-color: var(--color-gray-200);
  }
  .bg-gray-400 {
    background-color: var(--color-gray-400);
  }
  .bg-gray-900 {
    background-color: var(--color-gray-900);
  }
  .bg-red-100 {
    background-color: var(--color-red-100);
  }
  .bg-transparent {
    background-color: transparent;
  }
  .bg-transparent\! {
    background-color: transparent !important;
  }
  .bg-white {
    background-color: var(--color-white);
  }
  .bg-white\/80 {
    background-color: color-mix(in srgb, #fff 80%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 80%, transparent);
    }
  }
  .bg-gradient-to-br {
    --tw-gradient-position: to bottom right in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
  }
  .\[background-image\:var\(--page-bg-image\)\] {
    background-image: var(--page-bg-image);
  }
  .\[background-image\:var\(--project-page-bg-image\)\] {
    background-image: var(--project-page-bg-image);
  }
  .from-gray-50 {
    --tw-gradient-from: var(--color-gray-50);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }
  .to-white {
    --tw-gradient-to: var(--color-white);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }
  .object-cover {
    object-fit: cover;
  }
  .p-0 {
    padding: calc(var(--spacing) * 0);
  }
  .p-0\! {
    padding: calc(var(--spacing) * 0) !important;
  }
  .p-0\.5 {
    padding: calc(var(--spacing) * 0.5);
  }
  .p-1 {
    padding: calc(var(--spacing) * 1);
  }
  .p-1\.5 {
    padding: calc(var(--spacing) * 1.5);
  }
  .p-2 {
    padding: calc(var(--spacing) * 2);
  }
  .p-3 {
    padding: calc(var(--spacing) * 3);
  }
  .p-4 {
    padding: calc(var(--spacing) * 4);
  }
  .p-5 {
    padding: calc(var(--spacing) * 5);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .p-7 {
    padding: calc(var(--spacing) * 7);
  }
  .p-8 {
    padding: calc(var(--spacing) * 8);
  }
  .px-0 {
    padding-inline: calc(var(--spacing) * 0);
  }
  .px-1 {
    padding-inline: calc(var(--spacing) * 1);
  }
  .px-1\.5 {
    padding-inline: calc(var(--spacing) * 1.5);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-2\.5 {
    padding-inline: calc(var(--spacing) * 2.5);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-3\.5 {
    padding-inline: calc(var(--spacing) * 3.5);
  }
  .px-3\.75 {
    padding-inline: calc(var(--spacing) * 3.75);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .px-5 {
    padding-inline: calc(var(--spacing) * 5);
  }
  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }
  .px-8 {
    padding-inline: calc(var(--spacing) * 8);
  }
  .px-10 {
    padding-inline: calc(var(--spacing) * 10);
  }
  .px-12 {
    padding-inline: calc(var(--spacing) * 12);
  }
  .py-0\.5 {
    padding-block: calc(var(--spacing) * 0.5);
  }
  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }
  .py-1\.5 {
    padding-block: calc(var(--spacing) * 1.5);
  }
  .py-1\.25 {
    padding-block: calc(var(--spacing) * 1.25);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-2\.5 {
    padding-block: calc(var(--spacing) * 2.5);
  }
  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }
  .py-4 {
    padding-block: calc(var(--spacing) * 4);
  }
  .py-5 {
    padding-block: calc(var(--spacing) * 5);
  }
  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }
  .py-10 {
    padding-block: calc(var(--spacing) * 10);
  }
  .py-12 {
    padding-block: calc(var(--spacing) * 12);
  }
  .py-16 {
    padding-block: calc(var(--spacing) * 16);
  }
  .pt-1 {
    padding-top: calc(var(--spacing) * 1);
  }
  .pt-1\.5 {
    padding-top: calc(var(--spacing) * 1.5);
  }
  .pt-2 {
    padding-top: calc(var(--spacing) * 2);
  }
  .pt-2\.5 {
    padding-top: calc(var(--spacing) * 2.5);
  }
  .pt-3 {
    padding-top: calc(var(--spacing) * 3);
  }
  .pt-4 {
    padding-top: calc(var(--spacing) * 4);
  }
  .pt-5 {
    padding-top: calc(var(--spacing) * 5);
  }
  .pt-6 {
    padding-top: calc(var(--spacing) * 6);
  }
  .pr-0\.5 {
    padding-right: calc(var(--spacing) * 0.5);
  }
  .pr-2 {
    padding-right: calc(var(--spacing) * 2);
  }
  .pr-4 {
    padding-right: calc(var(--spacing) * 4);
  }
  .pr-8 {
    padding-right: calc(var(--spacing) * 8);
  }
  .pr-10 {
    padding-right: calc(var(--spacing) * 10);
  }
  .pb-1 {
    padding-bottom: calc(var(--spacing) * 1);
  }
  .pb-1\.5 {
    padding-bottom: calc(var(--spacing) * 1.5);
  }
  .pb-2 {
    padding-bottom: calc(var(--spacing) * 2);
  }
  .pb-2\.5 {
    padding-bottom: calc(var(--spacing) * 2.5);
  }
  .pb-3 {
    padding-bottom: calc(var(--spacing) * 3);
  }
  .pb-4 {
    padding-bottom: calc(var(--spacing) * 4);
  }
  .pb-5 {
    padding-bottom: calc(var(--spacing) * 5);
  }
  .pb-6 {
    padding-bottom: calc(var(--spacing) * 6);
  }
  .pl-1\.5 {
    padding-left: calc(var(--spacing) * 1.5);
  }
  .pl-3 {
    padding-left: calc(var(--spacing) * 3);
  }
  .pl-5 {
    padding-left: calc(var(--spacing) * 5);
  }
  .pl-6 {
    padding-left: calc(var(--spacing) * 6);
  }
  .pl-10 {
    padding-left: calc(var(--spacing) * 10);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-right {
    text-align: right;
  }
  .align-middle {
    vertical-align: middle;
  }
  .font-courier {
    font-family: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  .font-mono {
    font-family: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  .font-sans {
    font-family: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }
  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .text-\[10px\] {
    font-size: 10px;
  }
  .text-\[11px\] {
    font-size: 11px;
  }
  .text-\[12\.5px\] {
    font-size: 12.5px;
  }
  .text-\[12px\] {
    font-size: 12px;
  }
  .text-\[13px\] {
    font-size: 13px;
  }
  .text-\[14px\] {
    font-size: 14px;
  }
  .text-\[15px\] {
    font-size: 15px;
  }
  .text-\[16px\] {
    font-size: 16px;
  }
  .text-\[17px\] {
    font-size: 17px;
  }
  .leading-4\.5 {
    --tw-leading: calc(var(--spacing) * 4.5);
    line-height: calc(var(--spacing) * 4.5);
  }
  .leading-4\.25 {
    --tw-leading: calc(var(--spacing) * 4.25);
    line-height: calc(var(--spacing) * 4.25);
  }
  .leading-5\.5 {
    --tw-leading: calc(var(--spacing) * 5.5);
    line-height: calc(var(--spacing) * 5.5);
  }
  .leading-6 {
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
  }
  .leading-none {
    --tw-leading: 1;
    line-height: 1;
  }
  .leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }
  .leading-snug {
    --tw-leading: var(--leading-snug);
    line-height: var(--leading-snug);
  }
  .leading-tight {
    --tw-leading: var(--leading-tight);
    line-height: var(--leading-tight);
  }
  .font-black {
    --tw-font-weight: var(--font-weight-black);
    font-weight: var(--font-weight-black);
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-extrabold {
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-normal {
    --tw-font-weight: var(--font-weight-normal);
    font-weight: var(--font-weight-normal);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .tracking-\[0\.1em\] {
    --tw-tracking: 0.1em;
    letter-spacing: 0.1em;
  }
  .tracking-tight {
    --tw-tracking: var(--tracking-tight);
    letter-spacing: var(--tracking-tight);
  }
  .tracking-wide {
    --tw-tracking: var(--tracking-wide);
    letter-spacing: var(--tracking-wide);
  }
  .tracking-wider {
    --tw-tracking: var(--tracking-wider);
    letter-spacing: var(--tracking-wider);
  }
  .tracking-widest {
    --tw-tracking: var(--tracking-widest);
    letter-spacing: var(--tracking-widest);
  }
  .text-wrap {
    text-wrap: wrap;
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .text-\(--dropdown-menu-item-delete-color\) {
    color: var(--dropdown-menu-item-delete-color);
  }
  .text-\(--green-600\) {
    color: var(--green-600);
  }
  .text-\(--grey-600\) {
    color: var(--grey-600);
  }
  .text-\(--grey-900\) {
    color: var(--grey-900);
  }
  .text-\(--primary-color\) {
    color: var(--primary-color);
  }
  .text-\(--priority-toggle-text-active\) {
    color: var(--priority-toggle-text-active);
  }
  .text-\(--priority-toggle-text-inactive\) {
    color: var(--priority-toggle-text-inactive);
  }
  .text-\(--project-navigation-task-count-color\) {
    color: var(--project-navigation-task-count-color);
  }
  .text-\(--task-checkbox-border-color\) {
    color: var(--task-checkbox-border-color);
  }
  .text-\(--task-checkbox-border-color-hover\) {
    color: var(--task-checkbox-border-color-hover);
  }
  .text-\(--task-details-popover-arrow-color\) {
    color: var(--task-details-popover-arrow-color);
  }
  .text-\(--task-details-popover-label-color\) {
    color: var(--task-details-popover-label-color);
  }
  .text-\(--task-details-popover-label-filled-color\) {
    color: var(--task-details-popover-label-filled-color);
  }
  .text-\(--text-muted\) {
    color: var(--text-muted);
  }
  .text-\(--text-primary\) {
    color: var(--text-primary);
  }
  .text-\(--text-secondary\) {
    color: var(--text-secondary);
  }
  .text-\(--urgent-task-icon-color\) {
    color: var(--urgent-task-icon-color);
  }
  .text-\(--urgent-task-icon-color-hover\) {
    color: var(--urgent-task-icon-color-hover);
  }
  .text-\[\#8D8D93\] {
    color: #8D8D93;
  }
  .text-\[hsl\(var\(--destructive-foreground\)\)\] {
    color: hsl(var(--destructive-foreground));
  }
  .text-\[hsl\(var\(--primary\)\)\] {
    color: hsl(var(--primary));
  }
  .text-\[hsl\(var\(--primary-foreground\)\)\] {
    color: hsl(var(--primary-foreground));
  }
  .text-\[hsl\(var\(--secondary-foreground\)\)\] {
    color: hsl(var(--secondary-foreground));
  }
  .text-\[var\(--text-primary\)\] {
    color: var(--text-primary);
  }
  .text-black {
    color: var(--color-black);
  }
  .text-current {
    color: currentcolor;
  }
  .text-gray-400 {
    color: var(--color-gray-400);
  }
  .text-gray-500 {
    color: var(--color-gray-500);
  }
  .text-gray-600 {
    color: var(--color-gray-600);
  }
  .text-gray-700 {
    color: var(--color-gray-700);
  }
  .text-gray-800 {
    color: var(--color-gray-800);
  }
  .text-gray-900 {
    color: var(--color-gray-900);
  }
  .text-red-500 {
    color: var(--color-red-500);
  }
  .text-red-600 {
    color: var(--color-red-600);
  }
  .text-white {
    color: var(--color-white);
  }
  .text-white\/90 {
    color: color-mix(in srgb, #fff 90%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--color-white) 90%, transparent);
    }
  }
  .capitalize {
    text-transform: capitalize;
  }
  .lowercase {
    text-transform: lowercase;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .italic {
    font-style: italic;
  }
  .tabular-nums {
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
  }
  .line-through {
    text-decoration-line: line-through;
  }
  .underline {
    text-decoration-line: underline;
  }
  .underline-offset-2 {
    text-underline-offset: 2px;
  }
  .underline-offset-4 {
    text-underline-offset: 4px;
  }
  .accent-\(--purple-700\) {
    accent-color: var(--purple-700);
  }
  .opacity-0 {
    opacity: 0%;
  }
  .opacity-20 {
    opacity: 20%;
  }
  .opacity-40 {
    opacity: 40%;
  }
  .opacity-50 {
    opacity: 50%;
  }
  .opacity-60 {
    opacity: 60%;
  }
  .opacity-70 {
    opacity: 70%;
  }
  .opacity-80 {
    opacity: 80%;
  }
  .opacity-100 {
    opacity: 100%;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\(--panel-shadow\) {
    --tw-shadow: var(--panel-shadow);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\(--shadow-100\) {
    --tw-shadow: var(--shadow-100);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-\(--shadow-200\) {
    --tw-shadow: var(--shadow-200);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-2xl {
    --tw-shadow: 0 25px 50px -12px var(--tw-shadow-color, rgb(0 0 0 / 0.25));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-lg {
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-md {
    --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-none\! {
    --tw-shadow: 0 0 #0000 !important;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow) !important;
  }
  .shadow-sm {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-xl {
    --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .ring {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .drop-shadow {
    --tw-drop-shadow-size: drop-shadow(0 1px 2px var(--tw-drop-shadow-color, rgb(0 0 0 / 0.1))) drop-shadow(0 1px 1px var(--tw-drop-shadow-color, rgb(0 0 0 / 0.06)));
    --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow( 0 1px 1px rgb(0 0 0 / 0.06));
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .invert {
    --tw-invert: invert(100%);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .sepia {
    --tw-sepia: sepia(100%);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .backdrop-blur-2xl {
    --tw-backdrop-blur: blur(var(--blur-2xl));
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .backdrop-blur-\[1px\] {
    --tw-backdrop-blur: blur(1px);
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .backdrop-blur-\[2px\] {
    --tw-backdrop-blur: blur(2px);
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .backdrop-blur-md {
    --tw-backdrop-blur: blur(var(--blur-md));
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .backdrop-blur-sm {
    --tw-backdrop-blur: blur(var(--blur-sm));
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .backdrop-blur-xl {
    --tw-backdrop-blur: blur(var(--blur-xl));
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .backdrop-saturate-140 {
    --tw-backdrop-saturate: saturate(140%);
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .backdrop-filter {
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-\[background-color\,border-color\] {
    transition-property: background-color,border-color;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-\[background-color\,box-shadow\] {
    transition-property: background-color,box-shadow;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-\[background-color\] {
    transition-property: background-color;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-all {
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-opacity {
    transition-property: opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-transform {
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-100 {
    --tw-duration: 100ms;
    transition-duration: 100ms;
  }
  .duration-150 {
    --tw-duration: 150ms;
    transition-duration: 150ms;
  }
  .duration-200 {
    --tw-duration: 200ms;
    transition-duration: 200ms;
  }
  .duration-300 {
    --tw-duration: 300ms;
    transition-duration: 300ms;
  }
  .ease-in {
    --tw-ease: var(--ease-in);
    transition-timing-function: var(--ease-in);
  }
  .ease-in-out {
    --tw-ease: var(--ease-in-out);
    transition-timing-function: var(--ease-in-out);
  }
  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }
  .outline-none {
    --tw-outline-style: none;
    outline-style: none;
  }
  .select-all {
    -webkit-user-select: all;
    user-select: all;
  }
  .select-none {
    -webkit-user-select: none;
    user-select: none;
  }
  .\[background\:var\(--task-bg-color\)\] {
    background: var(--task-bg-color);
  }
  .\[transition\:all_var\(--dur-collapse\)_var\(--ease-collapse\)\] {
    transition: all var(--dur-collapse) var(--ease-collapse);
  }
  .\[transition\:width_220ms_cubic-bezier\(0\.16\,1\,0\.3\,1\)\,min-width_220ms_cubic-bezier\(0\.16\,1\,0\.3\,1\)\,border-radius_220ms_cubic-bezier\(0\.16\,1\,0\.3\,1\)\] {
    transition: width 220ms cubic-bezier(0.16,1,0.3,1),min-width 220ms cubic-bezier(0.16,1,0.3,1),border-radius 220ms cubic-bezier(0.16,1,0.3,1);
  }
  .placeholder\:text-\(--task-details-popover-label-color\) {
    &::placeholder {
      color: var(--task-details-popover-label-color);
    }
  }
  .placeholder\:opacity-40 {
    &::placeholder {
      opacity: 40%;
    }
  }
  .placeholder\:opacity-50 {
    &::placeholder {
      opacity: 50%;
    }
  }
  .hover\:-translate-y-1 {
    &:hover {
      @media (hover: hover) {
        --tw-translate-y: calc(var(--spacing) * -1);
        translate: var(--tw-translate-x) var(--tw-translate-y);
      }
    }
  }
  .hover\:scale-110 {
    &:hover {
      @media (hover: hover) {
        --tw-scale-x: 110%;
        --tw-scale-y: 110%;
        --tw-scale-z: 110%;
        scale: var(--tw-scale-x) var(--tw-scale-y);
      }
    }
  }
  .hover\:border-\(--priority-toggle-border-inactive-hover\) {
    &:hover {
      @media (hover: hover) {
        border-color: var(--priority-toggle-border-inactive-hover);
      }
    }
  }
  .hover\:bg-\(--grey-200\) {
    &:hover {
      @media (hover: hover) {
        background-color: var(--grey-200);
      }
    }
  }
  .hover\:bg-\(--grey-400\) {
    &:hover {
      @media (hover: hover) {
        background-color: var(--grey-400);
      }
    }
  }
  .hover\:bg-\(--panel-bg-hover\) {
    &:hover {
      @media (hover: hover) {
        background-color: var(--panel-bg-hover);
      }
    }
  }
  .hover\:bg-\(--priority-toggle-bg-active-hover\) {
    &:hover {
      @media (hover: hover) {
        background-color: var(--priority-toggle-bg-active-hover);
      }
    }
  }
  .hover\:bg-\(--project-navigation-selected-bg-color\) {
    &:hover {
      @media (hover: hover) {
        background-color: var(--project-navigation-selected-bg-color);
      }
    }
  }
  .hover\:bg-\(--purple-700\) {
    &:hover {
      @media (hover: hover) {
        background-color: var(--purple-700);
      }
    }
  }
  .hover\:bg-\(--purple-800\) {
    &:hover {
      @media (hover: hover) {
        background-color: var(--purple-800);
      }
    }
  }
  .hover\:bg-\(--task-details-popover-row-hover\) {
    &:hover {
      @media (hover: hover) {
        background-color: var(--task-details-popover-row-hover);
      }
    }
  }
  .hover\:bg-\[hsl\(var\(--accent\)\)\] {
    &:hover {
      @media (hover: hover) {
        background-color: hsl(var(--accent));
      }
    }
  }
  .hover\:bg-\[var\(--panel-bg-hover\)\] {
    &:hover {
      @media (hover: hover) {
        background-color: var(--panel-bg-hover);
      }
    }
  }
  .hover\:bg-black\/5 {
    &:hover {
      @media (hover: hover) {
        background-color: color-mix(in srgb, #000 5%, transparent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-black) 5%, transparent);
        }
      }
    }
  }
  .hover\:bg-black\/10 {
    &:hover {
      @media (hover: hover) {
        background-color: color-mix(in srgb, #000 10%, transparent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-black) 10%, transparent);
        }
      }
    }
  }
  .hover\:bg-current\/10 {
    &:hover {
      @media (hover: hover) {
        background-color: currentcolor;
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, currentcolor 10%, transparent);
        }
      }
    }
  }
  .hover\:bg-gray-100 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-gray-100);
      }
    }
  }
  .hover\:bg-transparent {
    &:hover {
      @media (hover: hover) {
        background-color: transparent;
      }
    }
  }
  .hover\:bg-white {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-white);
      }
    }
  }
  .hover\:text-\(--task-details-popover-label-filled-color\) {
    &:hover {
      @media (hover: hover) {
        color: var(--task-details-popover-label-filled-color);
      }
    }
  }
  .hover\:text-\(--text-primary\) {
    &:hover {
      @media (hover: hover) {
        color: var(--text-primary);
      }
    }
  }
  .hover\:text-\(--text-secondary\) {
    &:hover {
      @media (hover: hover) {
        color: var(--text-secondary);
      }
    }
  }
  .hover\:text-\[hsl\(var\(--accent-foreground\)\)\] {
    &:hover {
      @media (hover: hover) {
        color: hsl(var(--accent-foreground));
      }
    }
  }
  .hover\:text-gray-700 {
    &:hover {
      @media (hover: hover) {
        color: var(--color-gray-700);
      }
    }
  }
  .hover\:underline {
    &:hover {
      @media (hover: hover) {
        text-decoration-line: underline;
      }
    }
  }
  .hover\:opacity-70 {
    &:hover {
      @media (hover: hover) {
        opacity: 70%;
      }
    }
  }
  .hover\:opacity-80 {
    &:hover {
      @media (hover: hover) {
        opacity: 80%;
      }
    }
  }
  .hover\:opacity-90 {
    &:hover {
      @media (hover: hover) {
        opacity: 90%;
      }
    }
  }
  .hover\:opacity-100 {
    &:hover {
      @media (hover: hover) {
        opacity: 100%;
      }
    }
  }
  .hover\:shadow-lg {
    &:hover {
      @media (hover: hover) {
        --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
        box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
      }
    }
  }
  .hover\:shadow-md {
    &:hover {
      @media (hover: hover) {
        --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
        box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
      }
    }
  }
  .hover\:shadow-sm {
    &:hover {
      @media (hover: hover) {
        --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
        box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
      }
    }
  }
  .hover\:shadow-xl {
    &:hover {
      @media (hover: hover) {
        --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
        box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
      }
    }
  }
  .hover\:\[background\:var\(--panel-bg-hover\)\] {
    &:hover {
      @media (hover: hover) {
        background: var(--panel-bg-hover);
      }
    }
  }
  .focus\:ring-0 {
    &:focus {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .focus\:ring-\(--dropdown-menu-item-delete-color\) {
    &:focus {
      --tw-ring-color: var(--dropdown-menu-item-delete-color);
    }
  }
  .focus\:outline-none {
    &:focus {
      --tw-outline-style: none;
      outline-style: none;
    }
  }
  .focus-visible\:opacity-100 {
    &:focus-visible {
      opacity: 100%;
    }
  }
  .focus-visible\:ring-1 {
    &:focus-visible {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .focus-visible\:ring-\(--grey-400\) {
    &:focus-visible {
      --tw-ring-color: var(--grey-400);
    }
  }
  .focus-visible\:ring-\[hsl\(var\(--destructive\)\)\] {
    &:focus-visible {
      --tw-ring-color: hsl(var(--destructive));
    }
  }
  .focus-visible\:outline-none {
    &:focus-visible {
      --tw-outline-style: none;
      outline-style: none;
    }
  }
  .active\:scale-95 {
    &:active {
      --tw-scale-x: 95%;
      --tw-scale-y: 95%;
      --tw-scale-z: 95%;
      scale: var(--tw-scale-x) var(--tw-scale-y);
    }
  }
  .active\:cursor-grabbing {
    &:active {
      cursor: grabbing;
    }
  }
  .disabled\:pointer-events-none {
    &:disabled {
      pointer-events: none;
    }
  }
  .disabled\:cursor-not-allowed {
    &:disabled {
      cursor: not-allowed;
    }
  }
  .disabled\:opacity-30 {
    &:disabled {
      opacity: 30%;
    }
  }
  .disabled\:opacity-40 {
    &:disabled {
      opacity: 40%;
    }
  }
  .disabled\:opacity-50 {
    &:disabled {
      opacity: 50%;
    }
  }
  .disabled\:opacity-60 {
    &:disabled {
      opacity: 60%;
    }
  }
  .disabled\:opacity-70 {
    &:disabled {
      opacity: 70%;
    }
  }
  .disabled\:hover\:bg-\(--purple-700\) {
    &:disabled {
      &:hover {
        @media (hover: hover) {
          background-color: var(--purple-700);
        }
      }
    }
  }
  .disabled\:hover\:bg-transparent {
    &:disabled {
      &:hover {
        @media (hover: hover) {
          background-color: transparent;
        }
      }
    }
  }
  .data-\[state\=checked\]\:border-\(--checkbox-checked-bg\) {
    &[data-state="checked"] {
      border-color: var(--checkbox-checked-bg);
    }
  }
  .data-\[state\=checked\]\:bg-\(--checkbox-checked-bg\) {
    &[data-state="checked"] {
      background-color: var(--checkbox-checked-bg);
    }
  }
  .data-\[state\=checked\]\:text-\(--checkbox-checked-text\) {
    &[data-state="checked"] {
      color: var(--checkbox-checked-text);
    }
  }
  .sm\:text-sm {
    @media (width >= 40rem) {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
    }
  }
  .md\:grid-cols-2 {
    @media (width >= 48rem) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  .md\:grid-cols-4 {
    @media (width >= 48rem) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  .lg\:grid-cols-3 {
    @media (width >= 64rem) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  .xl\:grid-cols-4 {
    @media (width >= 80rem) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  .dark\:border-\(--divider\) {
    &:is([data-theme="dark"] *) {
      border-color: var(--divider);
    }
  }
  .dark\:border-gray-700 {
    &:is([data-theme="dark"] *) {
      border-color: var(--color-gray-700);
    }
  }
  .dark\:border-gray-700\/50 {
    &:is([data-theme="dark"] *) {
      border-color: color-mix(in srgb, oklch(37.3% 0.034 259.733) 50%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        border-color: color-mix(in oklab, var(--color-gray-700) 50%, transparent);
      }
    }
  }
  .dark\:border-gray-800 {
    &:is([data-theme="dark"] *) {
      border-color: var(--color-gray-800);
    }
  }
  .dark\:border-gray-800\/50 {
    &:is([data-theme="dark"] *) {
      border-color: color-mix(in srgb, oklch(27.8% 0.033 256.848) 50%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        border-color: color-mix(in oklab, var(--color-gray-800) 50%, transparent);
      }
    }
  }
  .dark\:border-white\/5 {
    &:is([data-theme="dark"] *) {
      border-color: color-mix(in srgb, #fff 5%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        border-color: color-mix(in oklab, var(--color-white) 5%, transparent);
      }
    }
  }
  .dark\:bg-\(--grey-600\) {
    &:is([data-theme="dark"] *) {
      background-color: var(--grey-600);
    }
  }
  .dark\:bg-\[\#1E1B2E\] {
    &:is([data-theme="dark"] *) {
      background-color: #1E1B2E;
    }
  }
  .dark\:bg-\[\#2D2B3B\] {
    &:is([data-theme="dark"] *) {
      background-color: #2D2B3B;
    }
  }
  .dark\:bg-black\/20 {
    &:is([data-theme="dark"] *) {
      background-color: color-mix(in srgb, #000 20%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--color-black) 20%, transparent);
      }
    }
  }
  .dark\:bg-gray-700 {
    &:is([data-theme="dark"] *) {
      background-color: var(--color-gray-700);
    }
  }
  .dark\:bg-gray-800 {
    &:is([data-theme="dark"] *) {
      background-color: var(--color-gray-800);
    }
  }
  .dark\:bg-gray-800\/50 {
    &:is([data-theme="dark"] *) {
      background-color: color-mix(in srgb, oklch(27.8% 0.033 256.848) 50%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--color-gray-800) 50%, transparent);
      }
    }
  }
  .dark\:bg-gray-900 {
    &:is([data-theme="dark"] *) {
      background-color: var(--color-gray-900);
    }
  }
  .dark\:bg-white {
    &:is([data-theme="dark"] *) {
      background-color: var(--color-white);
    }
  }
  .dark\:bg-white\/5 {
    &:is([data-theme="dark"] *) {
      background-color: color-mix(in srgb, #fff 5%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--color-white) 5%, transparent);
      }
    }
  }
  .dark\:bg-white\/10 {
    &:is([data-theme="dark"] *) {
      background-color: color-mix(in srgb, #fff 10%, transparent);
      @supports (color: color-mix(in lab, red, red)) {
        background-color: color-mix(in oklab, var(--color-white) 10%, transparent);
      }
    }
  }
  .dark\:from-\[\#1E1B2E\] {
    &:is([data-theme="dark"] *) {
      --tw-gradient-from: #1E1B2E;
      --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
    }
  }
  .dark\:to-\[\#13111C\] {
    &:is([data-theme="dark"] *) {
      --tw-gradient-to: #13111C;
      --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
    }
  }
  .dark\:text-\(--text-primary\) {
    &:is([data-theme="dark"] *) {
      color: var(--text-primary);
    }
  }
  .dark\:text-\(--text-secondary\) {
    &:is([data-theme="dark"] *) {
      color: var(--text-secondary);
    }
  }
  .dark\:text-gray-100 {
    &:is([data-theme="dark"] *) {
      color: var(--color-gray-100);
    }
  }
  .dark\:text-gray-200 {
    &:is([data-theme="dark"] *) {
      color: var(--color-gray-200);
    }
  }
  .dark\:text-gray-300 {
    &:is([data-theme="dark"] *) {
      color: var(--color-gray-300);
    }
  }
  .dark\:text-gray-400 {
    &:is([data-theme="dark"] *) {
      color: var(--color-gray-400);
    }
  }
  .dark\:text-gray-900 {
    &:is([data-theme="dark"] *) {
      color: var(--color-gray-900);
    }
  }
  .dark\:text-white {
    &:is([data-theme="dark"] *) {
      color: var(--color-white);
    }
  }
  .dark\:hover\:bg-gray-800 {
    &:is([data-theme="dark"] *) {
      &:hover {
        @media (hover: hover) {
          background-color: var(--color-gray-800);
        }
      }
    }
  }
  .dark\:hover\:bg-white\/10 {
    &:is([data-theme="dark"] *) {
      &:hover {
        @media (hover: hover) {
          background-color: color-mix(in srgb, #fff 10%, transparent);
          @supports (color: color-mix(in lab, red, red)) {
            background-color: color-mix(in oklab, var(--color-white) 10%, transparent);
          }
        }
      }
    }
  }
  .group-hover\:pointer-events-auto {
    @media (hover: hover) {
      :where(.group):hover & {
        pointer-events: auto;
      }
    }
  }
  .group-hover\:pointer-events-none {
    @media (hover: hover) {
      :where(.group):hover & {
        pointer-events: none;
      }
    }
  }
  .group-hover\:hidden {
    @media (hover: hover) {
      :where(.group):hover & {
        display: none;
      }
    }
  }
  .group-hover\:min-w-5 {
    @media (hover: hover) {
      :where(.group):hover & {
        min-width: calc(var(--spacing) * 5);
      }
    }
  }
  .group-hover\:border-blue-500 {
    @media (hover: hover) {
      :where(.group):hover & {
        border-color: var(--color-blue-500);
      }
    }
  }
  .group-hover\:opacity-0 {
    @media (hover: hover) {
      :where(.group):hover & {
        opacity: 0%;
      }
    }
  }
  .group-hover\:opacity-100 {
    @media (hover: hover) {
      :where(.group):hover & {
        opacity: 100%;
      }
    }
  }
  .panel-hover\:opacity-100 {
    @media (hover: hover) {
      :where(.group\/panel):hover & {
        opacity: 100%;
      }
    }
  }
  .column-hover\:opacity-100 {
    @media (hover: hover) {
      :where(.group\/column):hover & {
        opacity: 100%;
      }
    }
  }
  .images-hover\:opacity-100 {
    @media (hover: hover) {
      :where(.group\/images):hover & {
        opacity: 100%;
      }
    }
  }
  .\[\&_svg\]\:pointer-events-none {
    & svg {
      pointer-events: none;
    }
  }
  .\[\&_svg\]\:size-4 {
    & svg {
      width: calc(var(--spacing) * 4);
      height: calc(var(--spacing) * 4);
    }
  }
  .\[\&_svg\]\:shrink-0 {
    & svg {
      flex-shrink: 0;
    }
  }
  .\[\&\:\:-webkit-search-cancel-button\]\:appearance-none {
    &::-webkit-search-cancel-button {
      appearance: none;
    }
  }
}
@font-face {
  font-family: "Suisse Intl";
  src: local("Suisse Intl Light"), local("SuisseIntl-Light"), url(/assets/65b30ce6.woff2) format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Suisse Intl";
  src: local("Suisse Intl"), local("SuisseIntl-Regular"), local("Suisse Intl Regular"), url(/assets/c7060fcd.woff2) format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Suisse Intl";
  src: local("Suisse Intl Medium"), local("SuisseIntl-Medium"), url(/assets/e3aae624.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Suisse Intl";
  src: local("Suisse Intl SemiBold"), local("SuisseIntl-SemiBold"), url(/assets/99322685.woff2) format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Suisse Intl";
  src: local("Suisse Intl Bold"), local("SuisseIntl-Bold"), url(/assets/4f885e02.woff2) format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
:root, :root[data-theme="light"] {
  --grey-100: #fcfcff;
  --grey-200: #f9f9fe;
  --grey-300: #eeeef5;
  --grey-330: #f1f1f3;
  --grey-350: #e4e4ef;
  --grey-400: #e0e0ec;
  --grey-500: #c8c8d5;
  --grey-600: #a2a2ae;
  --grey-700: #6e6e7a;
  --grey-800: #484850;
  --grey-900: #26262b;
  --purple-100: #f6f8ff;
  --purple-200: #f2f4fb;
  --purple-300: #e9ecff;
  --purple-400: #dee2f9;
  --purple-500: #ccd2f2;
  --purple-600: #abb4e3;
  --purple-700: #7f8ac7;
  --purple-800: #636eab;
  --purple-900: #434d80;
  --blue-100: #f7fcff;
  --blue-200: #f2f8fa;
  --blue-300: #e8f8ff;
  --blue-400: #def1fa;
  --blue-500: #cce7f3;
  --blue-600: #aad1e3;
  --blue-700: #7fb0c7;
  --blue-800: #6394ab;
  --blue-900: #446d80;
  --royalblue-100: #e3f2fd;
  --royalblue-200: #bbdefb;
  --royalblue-300: #90caf9;
  --royalblue-400: #64b5f6;
  --royalblue-500: #42a5f5;
  --royalblue-600: #2196f3;
  --royalblue-700: #1e88e5;
  --royalblue-800: #1976d2;
  --royalblue-900: #1565c0;
  --royalblue-950: #0d47a1;
  --plum-100: #fff7fd;
  --plum-200: #faf2f8;
  --plum-300: #ffe8f8;
  --plum-400: #fadef2;
  --plum-500: #f2cbe7;
  --plum-600: #a5aee0;
  --plum-700: #c77fb3;
  --plum-800: #ab6397;
  --plum-900: #80446f;
  --green-100: #f7fffc;
  --green-200: #f2faf7;
  --green-300: #e8fff5;
  --green-400: #defaee;
  --green-500: #cbf2e1;
  --green-600: #aae3ca;
  --green-700: #7fc7a8;
  --green-800: #63ab8c;
  --green-900: #448066;
  --yellow-100: #fffcf7;
  --yellow-200: #faf7f2;
  --yellow-300: #fff5e8;
  --yellow-400: #faeede;
  --yellow-500: #f2e1cb;
  --yellow-600: #e3caaa;
  --yellow-700: #c7a87f;
  --yellow-800: #ab8c63;
  --yellow-900: #806644;
  --shadow-50: 0px 1px 4px rgba(26,18,10,0.10);
  --shadow-100: 0px 2px 6px rgba(26,18,10,0.10), 0px 1px 2px rgba(26,18,10,0.08);
  --shadow-130: 0px 3px 8px rgba(26,18,10,0.11), 0px 1px 3px rgba(26,18,10,0.08);
  --shadow-150: 0px 4px 12px rgba(26,18,10,0.12), 0px 1px 3px rgba(26,18,10,0.08);
  --shadow-200: 0px 4px 16px rgba(26,18,10,0.14), 0px 1px 4px rgba(26,18,10,0.10);
  --shadow-300: 0px 8px 32px rgba(26,18,10,0.16), 0px 2px 8px rgba(26,18,10,0.10);
  --body-color: #f4f2ed;
  --scroll-track: transparent;
  --scroll-thumb: rgba(162, 162, 174, 0.3);
  --scroll-thumb-hover: rgba(162, 162, 174, 0.5);
  --background: 40 18% 95%;
  --foreground: 222.2 84% 4.9%;
  --card: 0 0% 100%;
  --card-foreground: 222.2 84% 4.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 222.2 84% 4.9%;
  --primary: 222.2 47.4% 11.2%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 210 40% 96.1%;
  --accent-foreground: 222.2 47.4% 11.2%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 222.2 84% 4.9%;
  --text-primary: hsl(var(--foreground));
  --text-secondary: hsl(var(--muted-foreground));
  --text-tertiary: hsl(var(--muted-foreground));
  --text-muted: hsl(var(--muted-foreground));
  --page-bg: hsl(var(--background));
  --panel-bg: #faf9f7;
  --panel-bg-collapsed: #f6f4f0;
  --notes-panel-bg: #f6f4f0;
  --panel-bg-hover: #faf8f4;
  --planner-page-bg: #f4f2ed;
  --spread-backdrop-bg: rgba(0, 0, 0, 0.4);
  --modal-shell-backdrop: rgba(232,229,224,0.65);
  --modal-shell-close-btn-bg: linear-gradient(180deg, #faf7f1 0%, #ebe5d9 100%);
  --modal-shell-close-btn-bg-hover: linear-gradient(180deg, #ffffff 0%, #f0ebe0 100%);
  --modal-shell-close-btn-color: rgba(26,18,10,0.55);
  --modal-shell-close-btn-color-hover: rgba(26,18,10,0.9);
  --modal-shell-close-btn-shadow: inset 0 1px 0 rgba(255,255,255,0.85), inset 0 -1px 0 rgba(26,18,10,0.06), 0 0 0 1px rgba(26,18,10,0.10), 0 1px 2px rgba(26,18,10,0.08), 0 6px 14px rgba(26,18,10,0.10);
  --modal-shell-close-btn-shadow-hover: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -1px 0 rgba(26,18,10,0.08), 0 0 0 1px rgba(26,18,10,0.14), 0 2px 4px rgba(26,18,10,0.10), 0 10px 22px rgba(26,18,10,0.14);
  --divider-strong: rgba(0, 0, 0, 0.08);
  --timeline-rule: rgba(26, 18, 10, 0.07);
  --timeline-spine: rgba(26, 18, 10, 0.1);
  --panel-adornment: rgba(26, 18, 10, 0.4);
  --panel-adornment-hover: rgba(26, 18, 10, 0.7);
  --panel-adornment-bg-hover: rgba(26, 18, 10, 0.05);
  --panel-adornment-quiet: rgba(26, 18, 10, 0.32);
  --toast-bg: var(--grey-900);
  --toast-text: #ffffff;
  --toast-action: #e3aad3;
  --toast-close: rgba(255, 255, 255, 0.5);
  --toast-close-hover: rgba(255, 255, 255, 0.9);
  --toast-icon-success: #5fd08a;
  --toast-icon-error: #ff8080;
  --toast-icon-warning: #f2c14e;
  --toast-icon-info: rgba(255, 255, 255, 0.7);
  --goal-pill-bg: rgba(0, 0, 0, 0.04);
  --goal-pill-bg-hover: rgba(0, 0, 0, 0.08);
  --dropdown-bg: #f6f4f0;
  --pane-shadow: 0 0 0 1px rgba(26,18,10,0.07), 0 2px 6px rgba(26,18,10,0.07), 0 8px 24px rgba(26,18,10,0.10);
  --card-rest: 0 0 0 1px rgba(26,18,10,0.05), 0 1px 2px rgba(26,18,10,0.04);
  --card-hover: 0 0 0 1px rgba(26,18,10,0.06), 0 4px 12px -4px rgba(26,18,10,0.12), 0 10px 22px -14px rgba(26,18,10,0.10);
  --panel-shadow: var(--pane-shadow);
  --console-shadow: 0 0 0 1px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.10), 0 4px 12px -1px rgba(0,0,0,0.18);
  --planner-panel-border: transparent;
  --col-app-bg: #f4f2ed;
  --col-week-bg: #faf9f7;
  --col-today-bg: #faf9f7;
  --col-quarter-bg: #faf9f7;
  --col-schedule-bg: #faf9f7;
  --col-collapse-btn-color: var(--grey-700);
  --col-collapse-btn-bg: transparent;
  --col-collapse-btn-bg-hover: var(--panel-bg-collapsed);
  --col-collapse-btn-color-hover: var(--grey-900);
  --sidebar-urgent-color: #ef4444;
  --sidebar-important-color: #f59e0b;
  --sidebar-upcoming-color: #3b82f6;
  --sidebar-row-selected-bg: rgba(0, 0, 0, 0.03);
  --sidebar-row-hover-bg: var(--grey-400);
  --sidebar-row-font-size: 12px;
  --sidebar-row-font-weight: 600;
  --footer-bg: rgba(0, 0, 0, 0.025);
  --footer-bg-hover: rgba(0, 0, 0, 0.045);
  --notes-panel-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08), 0 -1px 4px rgba(0, 0, 0, 0.04);
  --drag-handle-color: rgba(0, 0, 0, 0.12);
  --dock-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  --dock-btn-hover-bg: rgba(26, 18, 10, 0.06);
  --dock-btn-pressed-bg: rgba(26, 18, 10, 0.08);
  --dock-tint-default: linear-gradient(160deg, rgba(248, 244, 234, 0.60), rgba(240, 233, 218, 0.70));
  --dock-tint-danger: linear-gradient(160deg, rgba(246, 239, 239, 0.62), rgba(237, 226, 226, 0.72));
  --control-bar-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(248, 248, 253, 0.65) 50%, rgba(236, 238, 255, 0.7) 100%);
  --control-bar-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  --control-bar-border: rgba(0, 0, 0, 0.06);
  --control-bar-btn-pressed-bg: rgba(0, 0, 0, 0.06);
  --control-bar-btn-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  --floating-panel-bg: rgba(255, 255, 255, 0.85);
  --floating-panel-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  --floating-input-bg: rgba(255, 255, 255, 0.98);
  --floating-tag-border: rgba(110, 110, 122, 0.8);
  --goal-map-bg: #e9e8e5;
  --goal-map-dot: rgba(0, 0, 0, 0.16);
  --goal-console-bg: #2d2b45;
  --goal-console-fg: #a5aee0;
  --goal-console-text: rgba(245,243,239,0.95);
  --goal-console-muted: rgba(245,243,239,0.5);
  --goal-console-input-bg: rgba(0,0,0,0.18);
  --goal-map-close: rgba(40,42,52,0.5);
  --goal-map-close-hover: rgba(40,42,52,0.9);
  --goals-card-bg: #f6f4f0;
  --goals-card-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --goals-card-border: 1px solid rgba(0, 0, 0, 0.05);
  --goals-title: var(--grey-900);
  --goals-body-text: var(--grey-600);
  --goals-filter-bg: rgba(0, 0, 0, 0.03);
  --goals-filter-bg-active: rgba(0, 0, 0, 0.06);
  --goals-filter-label: var(--grey-700);
  --goals-filter-value: var(--grey-800);
  --goals-pill-bg: rgba(0, 0, 0, 0.04);
  --goals-pill-bg-hover: rgba(0, 0, 0, 0.08);
  --goals-pill-label: var(--grey-700);
  --goals-pill-value: var(--grey-800);
  --goals-add-btn-bg: var(--purple-600);
  --goals-add-btn-text: #ffffff;
  --goals-map-node-bg: #f6f4f0;
  --goals-map-node-bg-hover: rgba(243, 241, 237, 0.98);
  --goals-map-checkpoint-bg: #f5ecf2;
  --goals-map-checkpoint-bg-hover: #f0e4ed;
  --goals-map-tasks-bg: var(--col-week-bg);
  --goals-achieved-text: rgba(0, 0, 0, 0.35);
  --goals-card-hill-top: 38%;
  --goals-card-hill-fade: linear-gradient(to bottom, var(--goals-map-node-bg) 0%, transparent 100%);
  --goal-card-ink-faint: rgba(26, 18, 10, 0.03);
  --goal-card-ink-rule: rgba(26, 18, 10, 0.05);
  --goal-card-ink-hairline: rgba(26, 18, 10, 0.06);
  --goal-card-ink-edge: rgba(26, 18, 10, 0.13);
  --goal-card-ink-fill: rgba(26, 18, 10, 0.18);
  --goal-card-ink-bar: rgba(26, 18, 10, 0.20);
  --goal-card-ink-box: rgba(26, 18, 10, 0.28);
  --goal-card-ink-box-strong: rgba(26, 18, 10, 0.3);
  --goal-card-ink-muted: rgba(26, 18, 10, 0.45);
  --goal-card-ink-heading: rgba(26, 18, 10, 0.72);
  --goal-card-ink-strong: rgba(26, 18, 10, 0.85);
  --goal-card-shadow-soft: 0 2px 6px -2px rgba(26, 18, 10, 0.10);
  --goal-card-shadow-lift: 0 8px 18px -12px rgba(26, 18, 10, 0.13);
  --goal-card-title: #26262b;
  --goal-card-subtitle: #5d5d68;
  --goal-card-task-done: #aaa499;
  --goals-tasks-header-hover-bg: rgba(248, 249, 250, 0.95);
  --goals-tasks-header-border: rgba(0, 0, 0, 0.06);
  --goals-add-node-popup-bg: rgba(248, 249, 253, 0.96);
  --goals-add-node-popup-border: rgba(187, 195, 214, 0.55);
  --goals-add-node-popup-shadow: 0 14px 32px rgba(22, 27, 45, 0.16);
  --goals-add-node-item-color: #2e3342;
  --goals-add-node-item-hover-bg: rgba(229, 233, 245, 0.9);
  --goals-add-node-item-hover-color: #232938;
  --goals-add-node-divider: rgba(0, 0, 0, 0.08);
  --focus-panel-bg: #f0ede7;
  --focus-panel-shadow: 0 0 0 1px rgba(26,18,10,0.07), 0 4px 12px rgba(26,18,10,0.08), 0 16px 48px rgba(26,18,10,0.12);
  --focus-panel-divider: rgba(26,18,10,0.07);
  --focus-text-primary: #1a120a;
  --focus-text-secondary: #5a5450;
  --focus-text-muted: #9a9490;
  --focus-input-border: rgba(26,18,10,0.18);
  --focus-btn-bg: rgba(26,18,10,0.06);
  --focus-btn-bg-hover: rgba(26,18,10,0.1);
  --focus-btn-active-bg: #2d2b45;
  --focus-btn-active-text: #ffffff;
  --focus-accent: #8B6FA8;
  --focus-accent-bg: rgba(139,111,168,0.1);
  --focus-stop-btn-bg: rgba(200,60,60,0.1);
  --focus-stop-btn-bg-hover: rgba(200,60,60,0.18);
  --focus-stop-btn-color: #c03c3c;
  --focus-trail-sky-fallback: #c8d8e8;
  --focus-trail-label-color: rgba(255,255,255,0.7);
  --focus-dropdown-bg: var(--panel-bg-collapsed);
  --focus-dropdown-shadow: 0 0 0 1px rgba(26,18,10,0.08), 0 4px 16px rgba(26,18,10,0.12);
  --focus-dropdown-item-bg-active: var(--focus-btn-bg);
  --focus-dropdown-item-bg-hover: rgba(26,18,10,0.04);
  --focus-notes-border: rgba(26,18,10,0.15);
  --focus-notes-border-hover: rgba(26,18,10,0.3);
  --skeleton-color: var(--grey-300);
  --spinner-color: var(--grey-300);
  --spinner-fill-color: var(--purple-600);
  --page-bg-image: linear-gradient(135deg,
      var(--purple-200) 0%,
      var(--blue-200) 20%,
      var(--green-200) 40%,
      var(--purple-300) 60%,
      var(--blue-300) 80%,
      var(--purple-200) 100%);
  --page-bg-color: transparent;
  --left-nav-bar-bg-color: var(--page-bg);
  --left-nav-bar-shadow: none;
  --left-nav-bar-border-right: 1px solid var(--divider);
  --left-nav-bar-active-color: var(--text-muted);
  --left-nav-bar-inactive-color: var(--purple-600);
  --left-nav-bar-inactive-color-hover: var(--text-secondary);
  --left-nav-active-item-bg: rgba(0, 0, 0, 0.07);
  --left-nav-quick-capture-bg: rgba(107, 99, 170, 0.12);
  --profile-icon-color: var(--text-secondary);
  --profile-icon-bg-color: rgba(0, 0, 0, 0.08);
  --profile-icon-bg-hover-color: rgba(0, 0, 0, 0.12);
  --home-page-column-bg-color: white;
  --home-page-column-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  --project-column-notes-bg: #FFF9F0;
  --project-column-links-bg: #FFFFFF;
  --project-column-images-bg: #FFFFFF;
  --project-column-border: rgba(0, 0, 0, 0.06);
  --project-column-text: var(--grey-900);
  --project-column-muted: var(--grey-600);
  --project-column-link: var(--grey-900);
  --project-column-link-accent: var(--project-purple-color);
  --project-column-divider: rgba(0, 0, 0, 0.08);
  --project-column-item-hover-bg: rgba(0, 0, 0, 0.04);
  --project-column-options-icon: var(--grey-500);
  --project-column-options-icon-hover: var(--grey-700);
  --project-column-input-bg: rgba(255, 255, 255, 0.5);
  --project-column-input-border: rgba(0, 0, 0, 0.1);
  --project-column-input-placeholder: var(--grey-600);
  --project-column-link-card-bg: #FFFFFF;
  --project-column-link-card-border: rgba(0, 0, 0, 0.1);
  --project-column-link-card-title: var(--grey-900);
  --project-column-link-card-text: var(--grey-700);
  --project-column-link-card-muted: var(--grey-600);
  --project-column-link-thumbnail-bg: var(--grey-200);
  --project-column-images-empty-card-bg: rgba(0, 0, 0, 0.05);
  --project-column-images-empty-card-bg-strong: rgba(0, 0, 0, 0.07);
  --project-column-images-empty-card-stroke: rgba(0, 0, 0, 0.25);
  --project-column-images-empty-card-border: rgba(0, 0, 0, 0.15);
  --project-column-images-helper-text: var(--grey-500);
  --project-column-upload-bg: var(--purple-600);
  --project-column-upload-bg-hover: var(--purple-700);
  --project-column-upload-text: #ffffff;
  --project-column-images-canvas-bg: #ffffff;
  --project-column-images-add-btn-bg: rgba(255, 255, 255, 0.8);
  --project-column-images-add-btn-bg-hover: #ffffff;
  --project-column-images-add-btn-text: var(--grey-600);
  --project-column-images-add-btn-border: rgba(0, 0, 0, 0.08);
  --project-info-text: var(--grey-900);
  --project-info-muted: var(--grey-800);
  --project-info-placeholder: var(--grey-700);
  --project-info-control-bg: rgba(0, 0, 0, 0.05);
  --project-info-control-bg-active: rgba(0, 0, 0, 0.08);
  --project-info-control-text: var(--grey-600);
  --project-share-modal-bg: #ffffff;
  --project-share-modal-border: rgba(0, 0, 0, 0.08);
  --project-share-modal-title: var(--grey-900);
  --project-share-modal-text: var(--grey-700);
  --project-share-modal-muted: var(--grey-500);
  --project-share-modal-input-bg: #f9fafb;
  --project-share-modal-input-border: #e5e7eb;
  --project-share-modal-row-bg: #f3f4f6;
  --project-share-modal-row-bg-hover: #e5e7eb;
  --planner-page-middlepane-bg-color: white;
  --planner-page-middlepane-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  --planner-page-year-rightpane-bg-color: white;
  --planner-page-year-rightpane-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  --planner-page-collapsible-column-border-color: rgba(0, 0, 0, 0.08);
  --planner-page-collapsible-column-shadow: rgba(0, 0, 0, 0.1) 2px 0px 4px -2px;
  --planner-page-expanded-column-bg-color: white;
  --planner-page-collapsed-column-bg-color: rgba(0, 0, 0, 0.02);
  --planner-page-collapsed-column-bg-color-hover: rgba(0, 0, 0, 0.04);
  --period-pills-wrapper-bg-color: rgba(0, 0, 0, 0.04);
  --period-pills-bg-color: transparent;
  --period-pills-color: var(--grey-600);
  --period-pills-separator-color: rgba(0, 0, 0, 0.12);
  --period-pills-bg-color-active: #fff;
  --period-pills-color-active: var(--grey-900);
  --period-pills-color-hover: var(--grey-800);
  --period-pill-selected-bg: var(--purple-600);
  --period-pill-selected-text: #ffffff;
  --icon-button-color: var(--grey-600);
  --icon-button-color-hover: var(--grey-900);
  --icon-button-bg-color: transparent;
  --icon-button-bg-color-hover: var(--grey-300);
  --dropdown-menu-bg-color: #ffffff;
  --dropdown-menu-shadow: 0 2px 8px rgba(0,0,0,0.12), 0 0 0 1px var(--divider);
  --dropdown-menu-item-color: hsl(222.2 84% 4.9%);
  --dropdown-menu-item-hover-color: hsl(var(--accent-foreground));
  --dropdown-menu-item-icon-color: var(--grey-900);
  --dropdown-menu-item-bg-color: transparent;
  --dropdown-menu-item-hover-bg-color: hsl(42 30% 95%);
  --dropdown-menu-item-active-bg-color: rgba(0, 0, 0, 0.04);
  --dropdown-menu-item-delete-color: #dc2626;
  --dropdown-menu-item-delete-bg-color: transparent;
  --dropdown-menu-item-delete-hover-bg-color: rgba(220, 38, 38, 0.1);
  --dropdown-menu-separator-color: rgba(0, 0, 0, 0.08);
  --task-details-popover-label-color: var(--grey-600);
  --task-details-popover-label-filled-color: var(--grey-900);
  --task-details-popover-arrow-color: var(--grey-700);
  --task-details-popover-subtext-color: var(--grey-600);
  --task-details-popover-button-wrapper-bg-color: rgba(0, 0, 0, 0.04);
  --task-details-popover-button-bg-color: transparent;
  --task-details-popover-button-bg-color-hover: rgba(255, 255, 255, 0.6);
  --task-details-popover-button-bg-color-active: rgba(255, 255, 255, 0.95);
  --task-details-popover-button-color: var(--grey-600);
  --task-details-popover-button-color-active: var(--grey-900);
  --task-details-popover-button-shadow-active: var(--shadow-100);
  --task-details-popover-bg-color: var(--panel-bg-collapsed);
  --task-details-popover-row-border: rgba(0, 0, 0, 0.06);
  --task-details-popover-row-hover: rgba(0, 0, 0, 0.03);
  --task-details-dropdown-item-color: var(--grey-900);
  --task-details-dropdown-item-hover-bg: hsl(var(--accent));
  --task-details-dropdown-item-hover-color: var(--grey-900);
  --task-details-dropdown-item-selected-bg: hsl(var(--accent));
  --priority-toggle-text-active: var(--grey-900);
  --priority-toggle-text-inactive: var(--grey-600);
  --priority-toggle-bg-inactive: rgba(0, 0, 0, 0.04);
  --priority-toggle-bg-inactive-hover: rgba(0, 0, 0, 0.06);
  --priority-toggle-bg-active: rgba(0, 0, 0, 0.07);
  --priority-toggle-bg-active-hover: rgba(0, 0, 0, 0.10);
  --priority-toggle-bg-inactive-prototype: rgba(0, 0, 0, 0.03);
  --priority-toggle-bg-inactive-hover-prototype: rgba(0, 0, 0, 0.06);
  --priority-toggle-border-inactive: rgba(0, 0, 0, 0.12);
  --priority-toggle-border-inactive-hover: rgba(0, 0, 0, 0.22);
  --priority-toggle-border-active: rgba(0, 0, 0, 0.28);
  --priority-urgent-bg-active: rgba(234, 88, 12, 0.1);
  --priority-urgent-border-active: #ea580c;
  --priority-important-bg-active: rgba(227, 202, 170, 0.15);
  --priority-important-border-active: var(--yellow-600);
  --priority-btn-border-radius: 8px;
  --checkbox-checked-bg: #3e4457;
  --checkbox-checked-text: hsl(var(--primary-foreground));
  --task-bg-color: transparent;
  --task-bg-color-hover: rgba(26, 25, 36, 0.03);
  --divider: rgba(0, 0, 0, 0.05);
  --task-shadow-hover: 0px 2px 6px rgba(26,18,10,0.10), 0px 1px 2px rgba(26,18,10,0.08);
  --task-checkbox-border-color: var(--grey-700);
  --task-checkbox-border-color-hover: var(--grey-800);
  --urgent-task-icon-color: #f68c70;
  --urgent-task-icon-color-hover: #f69c6d;
  --task-hover-menu-color: var(--grey-600);
  --task-hover-menu-bg-hover: rgba(0, 0, 0, 0.06);
  --pane-border-radius: 16px;
  --task-highlight-bg-gradient: linear-gradient(to right,
      rgba(220, 255, 20, 0.51) 0%,
      rgba(239, 255, 12, 0.51) 100%);
  --task-highlight-bg-gradient-hover: linear-gradient(to right,
      rgba(220, 255, 20, 0.7) 0%,
      rgba(239, 255, 12, 0.7) 100%);
  --project-grey-color: var(--grey-800);
  --project-purple-color: var(--purple-700);
  --project-blue-color: var(--blue-700);
  --project-royalblue-color: var(--royalblue-700);
  --project-plum-color: var(--plum-700);
  --project-green-color: var(--green-700);
  --project-yellow-color: var(--yellow-700);
  --project-grey-picker-color: var(--grey-600);
  --project-purple-picker-color: var(--purple-600);
  --project-blue-picker-color: var(--blue-600);
  --project-royalblue-picker-color: var(--royalblue-600);
  --project-plum-picker-color: var(--plum-600);
  --project-green-picker-color: var(--green-600);
  --project-yellow-picker-color: var(--yellow-600);
  --list-dark-color: #484850;
  --list-indigo-color: #818cf8;
  --list-teal-color: #2dd4bf;
  --list-sky-color: #38bdf8;
  --list-rose-color: #f472b6;
  --list-sage-color: #4ade80;
  --list-amber-color: #fbbf24;
  --list-grey-color: #484850;
  --list-purple-color: #818cf8;
  --list-blue-color: #38bdf8;
  --list-royalblue-color: #2dd4bf;
  --list-plum-color: #f472b6;
  --list-green-color: #4ade80;
  --list-yellow-color: #fbbf24;
  --project-board-grey: #EAEAF3;
  --project-board-purple: #E4E7FF;
  --project-board-blue: #E4F6FF;
  --project-board-royalblue: #E3F2FD;
  --project-board-plum: #FDE1F7;
  --project-board-green: #E4FFF2;
  --project-board-yellow: #FEF2E2;
  --goal-grey-color: #6e6e7a;
  --goal-purple-color: #7f8ac7;
  --goal-blue-color: #7fb0c7;
  --goal-royalblue-color: #1e88e5;
  --goal-plum-color: #c77fb3;
  --goal-green-color: #7fc7a8;
  --goal-yellow-color: #c7a87f;
  --goal-grey-picker-color: #a2a2ae;
  --goal-purple-picker-color: #abb4e3;
  --goal-blue-picker-color: #aad1e3;
  --goal-royalblue-picker-color: #1e88e5;
  --goal-plum-picker-color: #a5aee0;
  --goal-green-picker-color: #aae3ca;
  --goal-yellow-picker-color: #e3caaa;
  --project-page-bg-image: linear-gradient(135deg,
      rgb(249, 249, 254) 0%,
      rgb(242, 248, 250) 25%,
      rgb(249, 249, 254) 50%,
      rgb(242, 248, 250) 75%,
      rgb(249, 249, 254) 100%);
  --project-page-bg-color: transparent;
  --project-left-nav-bar-bg-color: rgba(255, 255, 255, 0.9);
  --project-left-nav-bar-shadow: none;
  --project-left-nav-bar-border-right: rgba(0, 0, 0, 0.08);
  --project-navigation-bg-color: rgba(255, 255, 255, 0.9);
  --project-navigation-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  --project-navigation-border-right: transparent;
  --project-navigation-title-color: var(--grey-600);
  --project-navigation-empty-state-color: var(--grey-600);
  --project-navigation-task-count-color: var(--grey-600);
  --project-navigation-selected-bg-color: rgba(0, 0, 0, 0.04);
  --project-nav-icon-button-color: var(--grey-700);
  --project-nav-icon-button-bg-color: transparent;
  --project-nav-icon-button-bg-color-hover: rgba(0, 0, 0, 0.06);
  --calendar-bg-color: #f6f4f0;
  --calendar-shadow: 0 4px 20px rgba(0,0,0,0.14);
  --calendar-header-text-color: var(--text-primary);
  --calendar-nav-button-color: var(--grey-600);
  --calendar-nav-button-hover-color: var(--grey-800);
  --calendar-month-header-border-color: var(--grey-350);
  --calendar-cell-bg-selected-color: var(--purple-600);
  --calendar-cell-bg-selected-hover-color: var(--purple-700);
  --calendar-cell-bg-hover-color: var(--panel-bg-hover);
  --calendar-cell-text-color: var(--text-primary);
  --calendar-cell-text-color-selected: #fff;
  --calendar-cell-bg-today-color: var(--purple-500);
  --calendar-cell-text-today-color: #fff;
  --day-scheduler-bg-color: var(--panel-bg);
  --day-scheduler-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  --project-nav-icon-button-bg-color-hover: rgba(255, 255, 255, 0.06);
  --project-navigation-header-color: rgba(0, 0, 0, 0.45);
  --project-navigation-item-color: var(--grey-900);
  --project-navigation-item-muted: rgba(0, 0, 0, 0.45);
  --day-scheduler-label-color: var(--text-tertiary);
  --day-scheduler-working-hours-slot-bg: var(--panel-bg);
  --day-scheduler-working-hours-slot-bg-hover: rgba(0, 0, 0, 0.03);
  --day-scheduler-non-working-hours-slot-bg: var(--panel-bg-collapsed);
  --day-scheduler-non-working-hours-slot-bg-hover: rgba(0, 0, 0, 0.03);
  --day-scheduler-hour-border-color: rgba(0, 0, 0, 0.06);
  --day-scheduler-hour-border-half-color: rgba(0, 0, 0, 0.025);
  --day-scheduler-all-day-section-border-color: rgba(0, 0, 0, 0.05);
  --day-scheduler-task-box-shadow: 0 1px 2px rgba(26,18,10,0.05), 0 2px 7px rgba(26,18,10,0.05);
  --day-scheduler-task-box-shadow-hover: 0 2px 4px rgba(26,18,10,0.07), 0 4px 12px rgba(26,18,10,0.07);
  --day-scheduler-task-content-text-color: var(--grey-900);
  --day-scheduler-task-content-project-grey-text-color: var(--grey-900);
  --day-scheduler-task-content-project-purple-text-color: var(--purple-900);
  --day-scheduler-task-content-project-blue-text-color: var(--blue-900);
  --day-scheduler-task-content-project-royalblue-text-color: var(--royalblue-900);
  --day-scheduler-task-content-project-plum-text-color: var(--plum-900);
  --day-scheduler-task-content-project-green-text-color: var(--green-900);
  --day-scheduler-task-content-project-yellow-text-color: var(--yellow-900);
  --day-scheduler-creation-bg-color: #eeeef5;
  --calendar-event-pill-base: #f9f9fb;
  --calendar-event-pill-text-base: var(--grey-900);
  --day-scheduler-task-content-bg-color: linear-gradient(175deg, rgba(120, 120, 140, 0.12) 0%, rgba(120, 120, 140, 0.08) 100%), #f9f9fb;
  --day-scheduler-task-content-project-grey-bg-color: linear-gradient(175deg, rgba(120, 120, 140, 0.12) 0%, rgba(120, 120, 140, 0.08) 100%), #f9f9fb;
  --day-scheduler-task-content-project-purple-bg-color: linear-gradient(175deg, rgba(140, 100, 200, 0.18) 0%, rgba(140, 100, 200, 0.12) 100%), #faf8ff;
  --day-scheduler-task-content-project-blue-bg-color: linear-gradient(175deg, rgba(80, 130, 220, 0.18) 0%, rgba(80, 130, 220, 0.12) 100%), #f8faff;
  --day-scheduler-task-content-project-royalblue-bg-color: linear-gradient(175deg, rgba(33, 150, 243, 0.18) 0%, rgba(33, 150, 243, 0.12) 100%), #f5f9ff;
  --day-scheduler-task-content-project-plum-bg-color: linear-gradient(175deg, rgba(180, 80, 140, 0.18) 0%, rgba(180, 80, 140, 0.12) 100%), #fdf8fb;
  --day-scheduler-task-content-project-green-bg-color: linear-gradient(175deg, rgba(80, 170, 120, 0.18) 0%, rgba(80, 170, 120, 0.12) 100%), #f7fcf9;
  --day-scheduler-task-content-project-yellow-bg-color: linear-gradient(175deg, rgba(220, 175, 60, 0.18) 0%, rgba(220, 175, 60, 0.12) 100%), #fdfbf0;
  --day-scheduler-task-content-hover-bg-color: linear-gradient(175deg, rgba(120, 120, 140, 0.12) 0%, rgba(120, 120, 140, 0.08) 100%), #f9f9fb;
  --day-scheduler-task-content-project-grey-hover-bg-color: linear-gradient(175deg, rgba(120, 120, 140, 0.12) 0%, rgba(120, 120, 140, 0.08) 100%), #f9f9fb;
  --day-scheduler-task-content-project-purple-hover-bg-color: linear-gradient(175deg, rgba(140, 100, 200, 0.18) 0%, rgba(140, 100, 200, 0.12) 100%), #faf8ff;
  --day-scheduler-task-content-project-blue-hover-bg-color: linear-gradient(175deg, rgba(80, 130, 220, 0.18) 0%, rgba(80, 130, 220, 0.12) 100%), #f8faff;
  --day-scheduler-task-content-project-royalblue-hover-bg-color: linear-gradient(175deg, rgba(33, 150, 243, 0.18) 0%, rgba(33, 150, 243, 0.12) 100%), #f5f9ff;
  --day-scheduler-task-content-project-plum-hover-bg-color: linear-gradient(175deg, rgba(180, 80, 140, 0.18) 0%, rgba(180, 80, 140, 0.12) 100%), #fdf8fb;
  --day-scheduler-task-content-project-green-hover-bg-color: linear-gradient(175deg, rgba(80, 170, 120, 0.18) 0%, rgba(80, 170, 120, 0.12) 100%), #f7fcf9;
  --day-scheduler-task-content-project-yellow-hover-bg-color: linear-gradient(175deg, rgba(220, 175, 60, 0.18) 0%, rgba(220, 175, 60, 0.12) 100%), #fdfbf0;
  --day-scheduler-task-time-color: var(--grey-600);
  --day-scheduler-task-time-project-grey-color: var(--grey-600);
  --day-scheduler-task-time-project-purple-color: var(--purple-700);
  --day-scheduler-task-time-project-plum-color: var(--plum-700);
  --day-scheduler-task-time-project-blue-color: var(--blue-700);
  --day-scheduler-task-time-project-royalblue-color: var(--royalblue-700);
  --day-scheduler-task-time-project-green-color: var(--green-700);
  --day-scheduler-task-time-project-yellow-color: var(--yellow-700);
  --primary-300: var(--purple-300);
  --primary-500: var(--purple-500);
  --primary-700: var(--purple-700);
  --leftpane-bg-color: var(--panel-bg);
  --rightpane-bg-color: var(--panel-bg);
  --tab-title-color: var(--grey-600);
  --tab-title-color-selected: var(--grey-900);
  --tab-title-color-hover: var(--grey-800);
  --text-input-bg-color: rgba(0, 0, 0, 0.035);
  --text-input-border-color: var(--grey-350);
  --text-input-border-color-hover: var(--grey-500);
  --link-bg-hover: rgba(0, 0, 0, 0.04);
  --link-bg-selected: rgba(0, 0, 0, 0.07);
  --clickable-icon-color: var(--grey-600);
  --clickable-icon-color-hover: var(--grey-900);
  --clickable-icon-bg-color-hover: rgba(0, 0, 0, 0.05);
  --clickable-icon-bg-color-hover-2: rgba(0, 0, 0, 0.05);
  --clickable-icon-bg-color-hover-3: rgba(0, 0, 0, 0.05);
  --text-secondary-color: var(--grey-800);
  --text-secondary-color-hover: var(--grey-900);
  --text-lighter-color: var(--grey-600);
  --text-light-color: var(--grey-700);
  --text-light-color-hover: var(--grey-800);
  --modal-bg-color: #ffffff;
  --danger-color: #ef4444;
  --overdue-color: #a8503a;
  --spinner-icon-primary-color: var(--purple-700);
  --console-accent: #a5aee0;
  --dropdown-menu-label-color: hsl(215.4 16.3% 46.9%);
  --pulse-pink: #e3aad3;
  --pulse-purple: #a78bfa;
  --console-bg: #2d2b45;
  --console-bg-hover: #34324f;
  --console-ac-bg: #1a1a2e;
  --console-text: rgba(245,243,239,0.9);
  --console-text-body: rgba(245,243,239,0.82);
  --console-text-muted: rgba(245,243,239,0.5);
  --console-text-faint: rgba(245,243,239,0.3);
  --console-text-weak: rgba(245,243,239,0.7);
  --console-rail-label: rgba(245,243,239,0.72);
  --console-divider: rgba(165, 174, 224,0.15);
  --console-divider-strong: rgba(165, 174, 224,0.3);
  --console-hover: rgba(255,255,255,0.05);
  --console-tab-active: rgba(255,255,255,0.10);
  --console-text-primary: rgba(245,243,239,0.92);
  --console-row-divider: rgba(245,243,239,0.06);
  --console-text-strong: rgba(245,243,239,0.96);
  --console-text-emphasis: #ffffff;
  --console-text-dim: rgba(245,243,239,0.4);
  --console-user-bubble-bg: rgba(165,174,224,0.10);
  --console-user-bubble-border: rgba(165,174,224,0.16);
  --console-view-row-bg: rgba(255,255,255,0.04);
  --console-view-row-bg-hover: rgba(255,255,255,0.08);
  --console-row-shadow-hover: 0 2px 6px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.3);
  --console-view-meta-bg: rgba(255,255,255,0.06);
  --console-font-sans: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --console-ink-rgb: 245, 243, 239;
  --console-accent-rgb: 165, 174, 224;
  --console-shade-rgb: 0, 0, 0;
  --console-sheet-bg: #322f52;
  --console-sheet-bg-top: #37345a;
  --console-accent-ink: #2d2b45;
  --console-option-text: #d3d7f4;
  --console-option-text-soft: #c9cfee;
  --console-warn: #e5b769;
  --console-rail-w: 56px;
  --console-width: calc(25vw - 15px);
  --pane-basis: calc(25vw - 15px);
  --console-radius: 16px;
  --qtr-accent: #a5aee0;
  --qtr-pink: #f0c8dd;
  --task-row-divider: rgba(26,18,10,0.07);
  --plan-divider: rgba(26,18,10,0.09);
  --pill-arrow-hover-bg: hsl(42 30% 95%);
  --qtr-btn-primary-bg: #7c88cc;
  --qtr-btn-primary-bg-hover: #6a76c0;
  --qtr-btn-outline-bg: #e7e8ef;
  --qtr-btn-outline-bg-hover: #dcdde8;
  --qtr-btn-danger-bg: #dc2626;
  --qtr-btn-danger-bg-hover: #c1201f;
  --qtr-tip-bg: #1e140a;
  --qtr-tip-text: #f0e8d8;
  --onboarding-ink: #1c1c1e;
  --onboarding-ink-soft: #4a4a4c;
  --onboarding-progress-track: rgba(26,18,10,0.08);
  --quarter-inbox-bg: #f4f1ea;
  --quarter-inbox-bg-hover: #ece7dd;
  --quarter-inbox-text: #6e6e7a;
  --quarter-inbox-text-hover: #26262b;
  --quarter-task-placeholder: #82828c;
  --quarter-check-done-bg: hsl(222.2 47.4% 11.2%);
  --quarter-card-bg: #efeeec;
  --quarter-card-bg-hover: #f2f1ef;
  --checkpoint-drop-target-bg: rgba(26,18,10,0.05);
  --quarter-card-shadow: 0 0 0 1px rgba(26,18,10,0.05), 0 2px 6px -2px rgba(26,18,10,0.09), 0 12px 26px -14px rgba(26,18,10,0.14);
  --quarter-insights-bg: var(--goal-map-bg);
  --quarter-insights-eyebrow: #9a9488;
  --app-gutter: 12px;
  --spread-left-bg: #e8e5e0;
  --spread-col-notes-bg: #dedbd5;
  --spread-text-primary: #34322e;
  --spread-text-secondary: rgba(52,50,46,0.62);
  --spread-text-muted: rgba(52,50,46,0.42);
  --spread-text-faint: rgba(52,50,46,0.45);
  --spread-divider: rgba(52,50,46,0.10);
  --spread-divider-light: rgba(52,50,46,0.05);
  --spread-notes-btn-bg: rgba(52,50,46,0.05);
  --spread-notes-btn-bg-hover: rgba(52,50,46,0.08);
  --spread-notes-btn-color: rgba(52,50,46,0.62);
  --spread-pill-selected: #80446f;
  --spread-pill-arrow-hover: rgba(128,68,111,0.10);
  --spread-pill-hover-bg: rgba(128,68,111,0.08);
  --spread-accent: #80446f;
  --spread-accent-subtle: rgba(128,68,111,0.40);
  --spread-scroll-track: #d8d2c4;
  --spread-scroll-track-border: rgba(0,0,0,0.18);
  --spread-scroll-thumb: rgba(0,0,0,0.32);
  --spread-scroll-thumb-hover: rgba(0,0,0,0.45);
  --dock-bg: rgba(228,218,198,0.18);
  --dock-bg-hover: rgba(228,218,198,0.32);
  --dock-text: #2d2b45;
  --dock-text-secondary: rgba(45,43,69,0.85);
  --dock-handle-color: rgba(60,40,20,0.45);
  --dock-collapse-color: rgba(60,40,20,0.55);
  --dock-collapse-color-hover: rgba(60,40,20,0.9);
  --dock-tooltip-bg: rgba(28,22,14,0.88);
  --dock-tooltip-text: rgba(255,247,232,0.92);
  --dock-module-dot: #80446f;
  --dock-module-dot-glow: rgba(128,68,111,0.5);
  --dock-focus-ring: rgba(128,68,111,0.65);
  --dock-tile-shadow: 0 0 0 1px rgba(26,18,10,0.08), 0 1px 2px rgba(26,18,10,0.06), 0 6px 14px rgba(26,18,10,0.12), inset 0 1px 0 rgba(255,255,255,0.6);
  --dock-tile-shadow-hover: 0 0 0 1px rgba(26,18,10,0.08), 0 2px 4px rgba(26,18,10,0.08), 0 12px 24px rgba(26,18,10,0.18), inset 0 1px 0 rgba(255,255,255,0.7);
  --dock-shadow: 0 0 0 1px rgba(80,52,28,0.08), 0 8px 28px rgba(40,28,12,0.12), inset 0 1px 0 rgba(255,247,232,0.28);
  --dock-shadow-collapsed: 0 0 0 1px rgba(80,52,28,0.10), 0 4px 14px rgba(40,28,12,0.14), inset 0 1px 0 rgba(255,247,232,0.32);
  --danger-hover: #dc2626;
  --settings-surface: #f6f4f0;
  --settings-sidebar-bg: #ede9e3;
  --settings-content-overlay: rgba(255, 255, 255, 0.3);
  --settings-border: rgba(26, 18, 10, 0.08);
  --settings-border-strong: rgba(26, 18, 10, 0.13);
  --settings-hover-bg: rgba(26, 18, 10, 0.06);
  --settings-disabled-bg: rgba(26, 18, 10, 0.04);
  --settings-shadow: 0 0 0 1px rgba(26, 18, 10, 0.07), 0 2px 6px rgba(26, 18, 10, 0.07), 0 8px 24px rgba(26, 18, 10, 0.10);
  --settings-dropdown-shadow: 0 4px 16px rgba(26, 18, 10, 0.10);
  --settings-btn-shadow: 0 1px 4px rgba(26, 18, 10, 0.10);
  --settings-toggle-active-bg: var(--settings-accent);
  --settings-toggle-thumb-bg: white;
  --settings-toggle-thumb-shadow: 0 1px 3px rgba(0,0,0,0.2);
  --settings-accent: var(--qtr-btn-primary-bg, #7c88cc);
  --settings-selected-bg: rgba(26, 18, 10, 0.08);
  --settings-track-bg: rgba(26, 18, 10, 0.09);
  --settings-danger: #c0392b;
  --settings-danger-wash: rgba(192, 57, 43, 0.08);
  --bookmark-card-bg-color: #ffffff;
  --bookmark-thumbnail-bg-color: var(--grey-300);
  --bookmark-thumbnail-bg-color-hover: var(--grey-350);
  --bookmark-star-icon-color: #f59e0b;
  --bookmark-url-bg-color: rgba(238, 236, 230, 0.93);
  --bookmark-border-color: rgba(0, 0, 0, 0.07);
  --plan-btn-color: rgba(26,18,10,0.5);
  --plan-btn-color-hover: rgba(26,18,10,0.75);
  --plan-btn-border: rgba(26,18,10,0.15);
  --plan-btn-border-hover: rgba(26,18,10,0.3);
  --plan-btn-bg-hover: rgba(26,18,10,0.04);
  --memory-rhythm: var(--royalblue-600);
  --memory-pattern: var(--green-700);
  --memory-trait: var(--purple-700);
  --memory-preference: var(--yellow-700);
  --memory-focus-area: var(--plum-700);
  --memory-entity: var(--grey-600);
  --memory-canvas-bg: var(--planner-page-bg);
  --memory-node-label: var(--grey-900);
  --memory-edge: var(--grey-600);
  --memory-edge-conflict: hsl(var(--destructive));
  --memory-panel-bg: var(--grey-100);
  --memory-panel-border: rgba(0, 0, 0, 0.08);
}
:root[data-theme="dark"] {
  --grey-100: #0a0a0f;
  --grey-200: #121218;
  --grey-300: #1a1a24;
  --grey-330: #1f1f2a;
  --grey-350: #252530;
  --grey-400: #2d2d3a;
  --grey-500: #3d3d4a;
  --grey-600: #5a5a6a;
  --grey-700: #7a7a8a;
  --grey-800: #9a9aaa;
  --grey-900: #d0d0e0;
  --purple-100: #1a0f2e;
  --purple-200: #251a3e;
  --purple-300: #33254e;
  --purple-400: #42305e;
  --purple-500: #523d6e;
  --purple-600: #6a4d8e;
  --purple-700: #8a6dae;
  --purple-800: #aa8dce;
  --purple-900: #caadee;
  --notes-fab-bg: var(--purple-600);
  --notes-fab-bg-hover: var(--purple-700);
  --blue-100: #0f1a2e;
  --blue-200: #1a253e;
  --blue-300: #25304e;
  --blue-400: #303d5e;
  --blue-500: #3d4a6e;
  --blue-600: #4d5a8e;
  --blue-700: #6d7aae;
  --blue-800: #8d9ace;
  --blue-900: #adafee;
  --royalblue-100: #1a1f2e;
  --royalblue-200: #1e2538;
  --royalblue-300: #252f45;
  --royalblue-400: #2f3d58;
  --royalblue-500: #3d4f6f;
  --royalblue-600: #4f6690;
  --royalblue-700: #6b85b8;
  --royalblue-800: #8ba5d9;
  --royalblue-900: #aac5f0;
  --royalblue-950: #c5d9ff;
  --plum-100: #2e0f1a;
  --plum-200: #3e1a25;
  --plum-300: #4e2530;
  --plum-400: #5e303d;
  --plum-500: #6e3d4a;
  --plum-600: #8e4d5a;
  --plum-700: #ae6d7a;
  --plum-800: #ce8d9a;
  --plum-900: #eeadba;
  --green-100: #0f2e1a;
  --green-200: #1a3e25;
  --green-300: #254e30;
  --green-400: #305e3d;
  --green-500: #3d6e4a;
  --green-600: #4d8e5a;
  --green-700: #6dae7a;
  --green-800: #8dce9a;
  --green-900: #adeeaa;
  --yellow-100: #2e1a0f;
  --yellow-200: #3e251a;
  --yellow-300: #4e3025;
  --yellow-400: #5e3d30;
  --yellow-500: #6e4a3d;
  --yellow-600: #8e5a4d;
  --yellow-700: #ae7a6d;
  --yellow-800: #ce9a8d;
  --yellow-900: #eebaad;
  --color-100: var(--grey-100);
  --color-200: var(--grey-200);
  --color-300: var(--grey-300);
  --color-330: var(--grey-330);
  --color-350: var(--grey-350);
  --color-400: var(--grey-400);
  --color-500: var(--grey-500);
  --color-600: var(--grey-600);
  --color-700: var(--grey-700);
  --color-800: var(--grey-800);
  --color-900: var(--grey-900);
  --primary-100: var(--purple-100);
  --primary-200: var(--purple-200);
  --primary-300: var(--purple-300);
  --primary-400: var(--purple-400);
  --primary-500: var(--purple-500);
  --primary-600: var(--purple-600);
  --primary-700: var(--purple-700);
  --primary-800: var(--purple-800);
  --primary-900: var(--purple-900);
  --shadow-50: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 0.5px 1px rgba(0, 0, 0, 0.4);
  --shadow-100: 0px 1px 3px rgba(0, 0, 0, 0.4), 0px 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-130: 0px 2px 4px rgba(0, 0, 0, 0.4), 0px 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-150: 0px 2px 6px rgba(0, 0, 0, 0.5), 0px 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-200: 0px 4px 12px rgba(0, 0, 0, 0.5), 0px 2px 4px rgba(0, 0, 0, 0.4), 0px 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-300: 0px 6px 16px rgba(0, 0, 0, 0.6), 0px 3px 6px rgba(0, 0, 0, 0.4), 0px 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-purple: 0px 8px 24px rgba(138, 109, 174, 0.2), 0px 4px 8px rgba(138, 109, 174, 0.15), 0px 0px 40px rgba(138, 109, 174, 0.1);
  --shadow-blue: 0px 8px 24px rgba(109, 122, 174, 0.2), 0px 4px 8px rgba(109, 122, 174, 0.15), 0px 0px 40px rgba(109, 122, 174, 0.1);
  --shadow-plum: 0px 8px 24px rgba(174, 109, 122, 0.2), 0px 4px 8px rgba(174, 109, 122, 0.15), 0px 0px 40px rgba(174, 109, 122, 0.1);
  --shadow-green: 0px 8px 24px rgba(109, 174, 122, 0.2), 0px 4px 8px rgba(109, 174, 122, 0.15), 0px 0px 40px rgba(109, 174, 122, 0.1);
  --shadow-yellow: 0px 8px 24px rgba(174, 154, 109, 0.2), 0px 4px 8px rgba(174, 154, 109, 0.15), 0px 0px 40px rgba(174, 154, 109, 0.1);
  --body-color: #0a0a0f;
  --scroll-track: transparent;
  --scroll-thumb: rgba(122, 122, 138, 0.3);
  --scroll-thumb-hover: rgba(122, 122, 138, 0.5);
  --background: 222.2 84% 4.9%;
  --foreground: 210 40% 98%;
  --card: 222.2 84% 4.9%;
  --card-foreground: 210 40% 98%;
  --popover: 222.2 84% 4.9%;
  --popover-foreground: 210 40% 98%;
  --primary: 210 40% 98%;
  --primary-foreground: 222.2 47.4% 11.2%;
  --secondary: 217.2 32.6% 17.5%;
  --secondary-foreground: 210 40% 98%;
  --muted: 217.2 32.6% 17.5%;
  --muted-foreground: 215 20.2% 65.1%;
  --accent: 217.2 32.6% 17.5%;
  --accent-foreground: 210 40% 98%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 210 40% 98%;
  --border: 217.2 32.6% 17.5%;
  --input: 217.2 32.6% 17.5%;
  --ring: 212.7 26.8% 83.9%;
  --text-primary: hsl(var(--foreground));
  --text-secondary: hsl(var(--muted-foreground));
  --text-tertiary: hsl(var(--muted-foreground));
  --text-muted: hsl(var(--muted-foreground));
  --page-bg: hsl(var(--background));
  --panel-bg: #1e1c2e;
  --dropdown-bg: hsl(var(--popover));
  --panel-bg-collapsed: #1a1826;
  --notes-panel-bg: #1e1c2e;
  --panel-bg-hover: #252336;
  --planner-page-bg: #16141f;
  --spread-backdrop-bg: rgba(0, 0, 0, 0.6);
  --modal-shell-backdrop: rgba(16,14,24,0.60);
  --modal-shell-close-btn-bg: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 100%);
  --modal-shell-close-btn-bg-hover: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.09) 100%);
  --modal-shell-close-btn-color: rgba(245,243,239,0.7);
  --modal-shell-close-btn-color-hover: rgba(245,243,239,0.95);
  --modal-shell-close-btn-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 0 0 1px rgba(0,0,0,0.40), 0 1px 2px rgba(0,0,0,0.30), 0 6px 14px rgba(0,0,0,0.35);
  --modal-shell-close-btn-shadow-hover: inset 0 1px 0 rgba(255,255,255,0.14), 0 0 0 1px rgba(0,0,0,0.50), 0 2px 4px rgba(0,0,0,0.34), 0 10px 22px rgba(0,0,0,0.45);
  --task-row-divider: rgba(255, 255, 255, 0.07);
  --plan-divider: rgba(255, 255, 255, 0.09);
  --pane-basis: calc(25vw - 15px);
  --goal-map-bg: #1e1c2a;
  --goal-map-dot: rgba(255, 255, 255, 0.10);
  --quarter-insights-bg: var(--goal-map-bg);
  --quarter-insights-eyebrow: #9a9488;
  --goal-console-bg: #2d2b45;
  --goal-console-fg: #a5aee0;
  --goal-console-text: rgba(245,243,239,0.95);
  --goal-console-muted: rgba(245,243,239,0.5);
  --goal-console-input-bg: rgba(0,0,0,0.18);
  --goal-map-close: rgba(245,243,239,0.5);
  --goal-map-close-hover: rgba(245,243,239,0.9);
  --pill-arrow-hover-bg: hsl(var(--accent));
  --divider-strong: rgba(255, 255, 255, 0.10);
  --timeline-rule: rgba(255, 255, 255, 0.08);
  --timeline-spine: rgba(255, 255, 255, 0.12);
  --panel-adornment: rgba(245, 243, 239, 0.45);
  --panel-adornment-hover: rgba(245, 243, 239, 0.85);
  --panel-adornment-bg-hover: rgba(255, 255, 255, 0.06);
  --panel-adornment-quiet: rgba(245, 243, 239, 0.4);
  --toast-bg: var(--grey-900);
  --toast-text: #16161d;
  --toast-action: #8e3a72;
  --toast-close: rgba(0, 0, 0, 0.45);
  --toast-close-hover: rgba(0, 0, 0, 0.8);
  --toast-icon-success: #1f8f4d;
  --toast-icon-error: #b3352a;
  --toast-icon-warning: #8a5e00;
  --toast-icon-info: rgba(0, 0, 0, 0.6);
  --goal-pill-bg: rgba(255, 255, 255, 0.06);
  --goal-pill-bg-hover: rgba(255, 255, 255, 0.10);
  --pane-shadow: 0 0 0 1px rgba(0,0,0,0.25), 0 2px 6px rgba(0,0,0,0.20), 0 8px 24px rgba(0,0,0,0.30);
  --panel-shadow: var(--pane-shadow);
  --console-shadow: 0 0 0 1px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.15), 0 12px 28px -4px rgba(0,0,0,0.30);
  --console-text-primary: rgba(245,243,239,0.92);
  --console-row-divider: rgba(245,243,239,0.06);
  --console-text-strong: rgba(245,243,239,0.96);
  --console-text-emphasis: #ffffff;
  --console-text-dim: rgba(245,243,239,0.4);
  --console-user-bubble-bg: #7376df2b;
  --console-user-bubble-border: #7376df4d;
  --console-view-row-bg: rgba(255,255,255,0.04);
  --console-view-row-bg-hover: rgba(255,255,255,0.08);
  --console-row-shadow-hover: 0 2px 6px rgba(0,0,0,0.35), 0 1px 2px rgba(0,0,0,0.3);
  --console-view-meta-bg: rgba(255,255,255,0.06);
  --console-font-sans: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --planner-panel-border: rgba(255, 255, 255, 0.08);
  --col-app-bg: #16141f;
  --col-week-bg: #1e1c2e;
  --col-today-bg: #1e1c2e;
  --col-quarter-bg: #1e1c2e;
  --col-schedule-bg: #1e1c2e;
  --col-collapse-btn-color: var(--text-primary);
  --col-collapse-btn-bg: transparent;
  --col-collapse-btn-bg-hover: rgba(255, 255, 255, 0.06);
  --col-collapse-btn-color-hover: var(--grey-900);
  --onboarding-ink: #e6e4f0;
  --onboarding-ink-soft: #a3a1b4;
  --onboarding-progress-track: rgba(255,255,255,0.10);
  --sidebar-urgent-color: #f87171;
  --sidebar-important-color: #fbbf24;
  --sidebar-upcoming-color: #60a5fa;
  --sidebar-row-selected-bg: rgba(255, 255, 255, 0.06);
  --sidebar-row-hover-bg: rgba(255, 255, 255, 0.08);
  --sidebar-row-font-size: 12px;
  --sidebar-row-font-weight: 600;
  --footer-bg: rgba(255, 255, 255, 0.03);
  --footer-bg-hover: rgba(255, 255, 255, 0.06);
  --notes-panel-shadow: 0 -6px 20px rgba(0, 0, 0, 0.3), 0 -1px 4px rgba(0, 0, 0, 0.15);
  --drag-handle-color: rgba(255, 255, 255, 0.15);
  --dock-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  --dock-btn-hover-bg: rgba(255, 255, 255, 0.08);
  --dock-btn-pressed-bg: rgba(255, 255, 255, 0.12);
  --dock-tint-default: linear-gradient(160deg, rgba(42, 38, 56, 0.60), rgba(35, 32, 48, 0.70));
  --dock-tint-danger: linear-gradient(160deg, rgba(56, 38, 42, 0.62), rgba(48, 32, 35, 0.72));
  --control-bar-bg: linear-gradient(135deg, rgba(40, 38, 56, 0.8) 0%, rgba(36, 34, 52, 0.85) 50%, rgba(32, 30, 50, 0.9) 100%);
  --control-bar-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  --control-bar-border: rgba(255, 255, 255, 0.08);
  --control-bar-btn-pressed-bg: rgba(255, 255, 255, 0.08);
  --control-bar-btn-shadow: rgba(0, 0, 0, 0.4) 0px 1px 4px;
  --floating-panel-bg: rgba(30, 28, 46, 0.92);
  --floating-panel-shadow: rgba(0, 0, 0, 0.5) 0px 6px 12px -2px, rgba(0, 0, 0, 0.6) 0px 3px 7px -3px;
  --floating-input-bg: rgba(40, 38, 56, 0.98);
  --floating-tag-border: rgba(160, 160, 172, 0.6);
  --goals-card-bg: #1c1c28;
  --goals-card-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
  --goals-card-border: 1px solid rgba(255, 255, 255, 0.08);
  --goals-title: #ffffff;
  --goals-body-text: #a1a1aa;
  --goals-filter-bg: rgba(255, 255, 255, 0.05);
  --goals-filter-bg-active: rgba(255, 255, 255, 0.1);
  --goals-filter-label: #a1a1aa;
  --goals-filter-value: #ffffff;
  --goals-pill-bg: rgba(255, 255, 255, 0.08);
  --goals-pill-bg-hover: rgba(255, 255, 255, 0.13);
  --goals-pill-label: #a1a1aa;
  --goals-pill-value: #ffffff;
  --goals-add-btn-bg: #6a4d8e;
  --goals-add-btn-text: #ffffff;
  --goals-map-node-bg: #1c1c28;
  --goals-map-node-bg-hover: #252336;
  --goals-map-checkpoint-bg: var(--plum-300);
  --goals-map-checkpoint-bg-hover: var(--plum-400);
  --goals-map-tasks-bg: var(--col-week-bg);
  --goals-achieved-text: var(--grey-600);
  --goals-card-hill-top: 38%;
  --goals-card-hill-fade: linear-gradient(to bottom, var(--goals-map-node-bg) 0%, transparent 100%);
  --goal-card-ink-faint: rgba(255, 255, 255, 0.04);
  --goal-card-ink-rule: rgba(255, 255, 255, 0.07);
  --goal-card-ink-hairline: rgba(255, 255, 255, 0.09);
  --goal-card-ink-edge: rgba(255, 255, 255, 0.16);
  --goal-card-ink-fill: rgba(255, 255, 255, 0.24);
  --goal-card-ink-bar: rgba(255, 255, 255, 0.30);
  --goal-card-ink-box: rgba(255, 255, 255, 0.32);
  --goal-card-ink-box-strong: rgba(255, 255, 255, 0.36);
  --goal-card-ink-muted: rgba(245, 243, 239, 0.5);
  --goal-card-ink-heading: rgba(245, 243, 239, 0.78);
  --goal-card-ink-strong: rgba(245, 243, 239, 0.9);
  --goal-card-shadow-soft: 0 2px 6px -2px rgba(0, 0, 0, 0.45);
  --goal-card-shadow-lift: 0 8px 18px -12px rgba(0, 0, 0, 0.55);
  --goal-card-title: var(--grey-900);
  --goal-card-subtitle: var(--grey-600);
  --goal-card-task-done: var(--grey-500);
  --goals-tasks-header-hover-bg: rgba(255, 255, 255, 0.06);
  --goals-tasks-header-border: rgba(255, 255, 255, 0.07);
  --goals-add-node-popup-bg: rgba(30, 28, 46, 0.97);
  --goals-add-node-popup-border: rgba(255, 255, 255, 0.1);
  --goals-add-node-popup-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
  --goals-add-node-item-color: var(--grey-900);
  --goals-add-node-item-hover-bg: rgba(255, 255, 255, 0.07);
  --goals-add-node-item-hover-color: #ffffff;
  --goals-add-node-divider: rgba(255, 255, 255, 0.08);
  --focus-panel-bg: #1e1e26;
  --focus-panel-shadow: 0 4px 12px rgba(0,0,0,0.4), 0 16px 48px rgba(0,0,0,0.4);
  --focus-panel-divider: rgba(255,255,255,0.08);
  --focus-text-primary: #d0d0e0;
  --focus-text-secondary: #a1a1aa;
  --focus-text-muted: #5a5a6a;
  --focus-input-border: rgba(255,255,255,0.15);
  --focus-btn-bg: rgba(255,255,255,0.05);
  --focus-btn-bg-hover: rgba(255,255,255,0.09);
  --focus-btn-active-bg: #8B6FA8;
  --focus-btn-active-text: #ffffff;
  --focus-accent: #aa8dce;
  --focus-accent-bg: rgba(170,141,206,0.15);
  --focus-stop-btn-bg: rgba(220,80,80,0.15);
  --focus-stop-btn-bg-hover: rgba(220,80,80,0.25);
  --focus-stop-btn-color: #e06060;
  --focus-trail-sky-fallback: #1a2a3a;
  --focus-trail-label-color: rgba(255,255,255,0.5);
  --focus-dropdown-bg: var(--panel-bg-collapsed);
  --focus-dropdown-shadow: 0 0 0 1px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.4);
  --focus-dropdown-item-bg-active: var(--focus-btn-bg);
  --focus-dropdown-item-bg-hover: rgba(255,255,255,0.05);
  --focus-notes-border: rgba(255,255,255,0.12);
  --focus-notes-border-hover: rgba(255,255,255,0.25);
  --skeleton-color: var(--grey-330);
  --spinner-color: var(--grey-300);
  --spinner-fill-color: var(--purple-600);
  --page-bg-image: linear-gradient(135deg,
      var(--purple-300) 0%,
      var(--blue-300) 20%,
      var(--green-300) 40%,
      var(--purple-400) 60%,
      var(--blue-400) 80%,
      var(--purple-300) 100%);
  --page-bg-color: #0f1116;
  --left-nav-bar-bg-color: var(--page-bg);
  --left-nav-bar-shadow: none;
  --left-nav-bar-border-right: 1px solid var(--divider);
  --left-nav-bar-active-color: var(--text-muted);
  --left-nav-bar-inactive-color: rgba(171, 180, 227, 0.85);
  --left-nav-bar-inactive-color-hover: var(--text-secondary);
  --left-nav-active-item-bg: rgba(255, 255, 255, 0.1);
  --left-nav-quick-capture-bg: rgba(140, 120, 220, 0.18);
  --profile-icon-color: rgba(255, 255, 255, 0.55);
  --profile-icon-bg-color: rgba(255, 255, 255, 0.1);
  --profile-icon-bg-hover-color: rgba(255, 255, 255, 0.15);
  --home-page-column-bg-color: var(--grey-200);
  --home-page-column-shadow: var(--shadow-200);
  --project-column-notes-bg: #26221c;
  --project-column-links-bg: #1f2129;
  --project-column-images-bg: #1f2129;
  --project-column-border: rgba(255, 255, 255, 0.06);
  --project-column-text: var(--grey-900);
  --project-column-muted: var(--grey-700);
  --project-column-link: var(--grey-900);
  --project-column-link-accent: var(--project-purple-color);
  --project-column-divider: rgba(255, 255, 255, 0.08);
  --project-column-item-hover-bg: rgba(255, 255, 255, 0.06);
  --project-column-options-icon: var(--grey-700);
  --project-column-options-icon-hover: var(--grey-900);
  --project-column-input-bg: rgba(255, 255, 255, 0.04);
  --project-column-input-border: rgba(255, 255, 255, 0.08);
  --project-column-input-placeholder: var(--grey-700);
  --project-column-link-card-bg: rgba(255, 255, 255, 0.03);
  --project-column-link-card-border: rgba(255, 255, 255, 0.08);
  --project-column-link-card-title: var(--grey-900);
  --project-column-link-card-text: var(--grey-700);
  --project-column-link-card-muted: var(--grey-700);
  --project-column-link-thumbnail-bg: rgba(255, 255, 255, 0.05);
  --project-column-images-empty-card-bg: rgba(255, 255, 255, 0.06);
  --project-column-images-empty-card-bg-strong: rgba(255, 255, 255, 0.09);
  --project-column-images-empty-card-stroke: rgba(255, 255, 255, 0.25);
  --project-column-images-empty-card-border: rgba(255, 255, 255, 0.14);
  --project-column-images-helper-text: rgba(255, 255, 255, 0.45);
  --project-column-upload-bg: var(--purple-600);
  --project-column-upload-bg-hover: var(--purple-700);
  --project-column-upload-text: #ffffff;
  --project-column-images-canvas-bg: rgba(255, 255, 255, 0.02);
  --project-column-images-add-btn-bg: rgba(255, 255, 255, 0.08);
  --project-column-images-add-btn-bg-hover: rgba(255, 255, 255, 0.12);
  --project-column-images-add-btn-text: var(--grey-900);
  --project-column-images-add-btn-border: rgba(255, 255, 255, 0.12);
  --project-info-text: var(--grey-900);
  --project-info-muted: var(--grey-700);
  --project-info-placeholder: var(--grey-700);
  --project-info-control-bg: rgba(255, 255, 255, 0.06);
  --project-info-control-bg-active: rgba(255, 255, 255, 0.12);
  --project-info-control-text: var(--grey-700);
  --project-share-modal-bg: #1f2129;
  --project-share-modal-border: rgba(255, 255, 255, 0.08);
  --project-share-modal-title: var(--grey-900);
  --project-share-modal-text: var(--grey-700);
  --project-share-modal-muted: var(--grey-700);
  --project-share-modal-input-bg: rgba(255, 255, 255, 0.05);
  --project-share-modal-input-border: rgba(255, 255, 255, 0.08);
  --project-share-modal-row-bg: rgba(255, 255, 255, 0.06);
  --project-share-modal-row-bg-hover: rgba(255, 255, 255, 0.12);
  --planner-page-middlepane-bg-color: var(--grey-200);
  --planner-page-middlepane-shadow: var(--shadow-200);
  --planner-page-year-rightpane-bg-color: var(--grey-200);
  --planner-page-year-rightpane-shadow: var(--shadow-200);
  --planner-page-collapsible-column-border-color: rgba(255, 255, 255, 0.12);
  --planner-page-collapsible-column-shadow: var(--shadow-100);
  --planner-page-expanded-column-bg-color: var(--grey-200);
  --planner-page-collapsed-column-bg-color: rgba(255, 255, 255, 0.03);
  --planner-page-collapsed-column-bg-color-hover: rgba(255, 255, 255, 0.06);
  --period-pills-wrapper-bg-color: rgba(255, 255, 255, 0.04);
  --period-pills-bg-color: transparent;
  --period-pills-color: var(--grey-900);
  --period-pills-separator-color: rgba(255, 255, 255, 0.12);
  --period-pills-bg-color-active: #000;
  --period-pills-color-active: var(--grey-900);
  --period-pills-color-hover: var(--grey-800);
  --period-pill-selected-bg: var(--purple-600);
  --period-pill-selected-text: #ffffff;
  --icon-button-color: var(--grey-600);
  --icon-button-color-hover: var(--grey-900);
  --icon-button-bg-color: transparent;
  --icon-button-bg-color-hover: var(--grey-330);
  --dropdown-menu-bg-color: rgba(26, 26, 31, 0.98);
  --dropdown-menu-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 0 0 1px var(--divider);
  --dropdown-menu-item-color: hsl(var(--accent-foreground));
  --dropdown-menu-item-hover-color: hsl(var(--accent-foreground));
  --dropdown-menu-item-icon-color: var(--grey-900);
  --dropdown-menu-item-bg-color: transparent;
  --dropdown-menu-item-hover-bg-color: hsl(var(--accent));
  --dropdown-menu-item-active-bg-color: rgba(255, 255, 255, 0.06);
  --dropdown-menu-item-delete-color: #f87171;
  --dropdown-menu-item-delete-bg-color: transparent;
  --dropdown-menu-item-delete-hover-bg-color: rgba(248, 113, 113, 0.18);
  --dropdown-menu-separator-color: rgba(255, 255, 255, 0.08);
  --task-details-popover-label-color: var(--grey-600);
  --task-details-popover-label-filled-color: var(--grey-900);
  --task-details-popover-arrow-color: var(--grey-700);
  --task-details-popover-subtext-color: var(--grey-600);
  --task-details-popover-button-wrapper-bg-color: rgba(255, 255, 255, 0.08);
  --task-details-popover-button-bg-color: transparent;
  --task-details-popover-button-bg-color-hover: rgba(180, 180, 180, 0.1);
  --task-details-popover-button-bg-color-active: rgba(255, 255, 255, 0.14);
  --task-details-popover-button-color: var(--grey-600);
  --task-details-popover-button-color-active: var(--grey-900);
  --task-details-popover-button-shadow-active: var(--shadow-100);
  --task-details-popover-bg-color: var(--panel-bg);
  --task-details-popover-row-border: rgba(255, 255, 255, 0.08);
  --task-details-popover-row-hover: rgba(255, 255, 255, 0.05);
  --task-details-dropdown-item-color: var(--grey-900);
  --task-details-dropdown-item-hover-bg: hsl(var(--accent));
  --task-details-dropdown-item-hover-color: var(--grey-900);
  --task-details-dropdown-item-selected-bg: hsl(var(--accent));
  --priority-toggle-text-active: var(--grey-900);
  --priority-toggle-text-inactive: var(--grey-600);
  --priority-toggle-bg-inactive: rgba(255, 255, 255, 0.04);
  --priority-toggle-bg-inactive-hover: rgba(255, 255, 255, 0.06);
  --priority-toggle-bg-active: rgba(255, 255, 255, 0.10);
  --priority-toggle-bg-active-hover: rgba(255, 255, 255, 0.14);
  --priority-toggle-bg-inactive-prototype: rgba(255, 255, 255, 0.04);
  --priority-toggle-bg-inactive-hover-prototype: rgba(255, 255, 255, 0.08);
  --priority-toggle-border-inactive: rgba(255, 255, 255, 0.14);
  --priority-toggle-border-inactive-hover: rgba(255, 255, 255, 0.26);
  --priority-toggle-border-active: rgba(255, 255, 255, 0.32);
  --priority-urgent-bg-active: rgba(234, 88, 12, 0.15);
  --priority-urgent-border-active: #ea580c;
  --priority-important-bg-active: rgba(227, 202, 170, 0.2);
  --priority-important-border-active: var(--yellow-600);
  --priority-btn-border-radius: 8px;
  --checkbox-checked-bg: hsl(var(--primary));
  --checkbox-checked-text: hsl(var(--primary-foreground));
  --task-bg-color: transparent;
  --task-bg-color-hover: rgba(255, 255, 255, 0.04);
  --divider: rgba(255, 255, 255, 0.06);
  --task-shadow-hover: 0px 1px 3px rgba(0, 0, 0, 0.4), 0px 1px 2px rgba(0, 0, 0, 0.3);
  --task-checkbox-border-color: var(--grey-500);
  --task-checkbox-border-color-hover: var(--grey-400);
  --urgent-task-icon-color: #f6a385;
  --urgent-task-icon-color-hover: #f8b493;
  --task-hover-menu-color: var(--grey-700);
  --task-hover-menu-bg-hover: rgba(255, 255, 255, 0.08);
  --pane-border-radius: 16px;
  --task-highlight-bg-gradient: linear-gradient(to right,
      rgba(255, 234, 74, 0.28) 0%,
      rgba(241, 223, 65, 0.28) 100%);
  --task-highlight-bg-gradient-hover: linear-gradient(to right,
      rgba(255, 234, 74, 0.36) 0%,
      rgba(241, 223, 65, 0.36) 100%);
  --project-grey-color: var(--grey-800);
  --project-purple-color: var(--purple-700);
  --project-blue-color: var(--blue-700);
  --project-royalblue-color: var(--royalblue-700);
  --project-plum-color: var(--plum-700);
  --project-green-color: var(--green-700);
  --project-yellow-color: var(--yellow-700);
  --project-grey-picker-color: var(--grey-600);
  --project-purple-picker-color: var(--purple-600);
  --project-blue-picker-color: var(--blue-600);
  --project-royalblue-picker-color: var(--royalblue-600);
  --project-plum-picker-color: var(--plum-600);
  --project-green-picker-color: var(--green-600);
  --project-yellow-picker-color: var(--yellow-600);
  --list-dark-color: #a2a2ae;
  --list-indigo-color: #818cf8;
  --list-teal-color: #2dd4bf;
  --list-sky-color: #38bdf8;
  --list-rose-color: #f472b6;
  --list-sage-color: #4ade80;
  --list-amber-color: #fbbf24;
  --list-grey-color: #a2a2ae;
  --list-purple-color: #818cf8;
  --list-blue-color: #38bdf8;
  --list-royalblue-color: #2dd4bf;
  --list-plum-color: #f472b6;
  --list-green-color: #4ade80;
  --list-yellow-color: #fbbf24;
  --project-board-grey: rgb(26, 26, 36);
  --project-board-purple: rgb(50, 37, 78);
  --project-board-blue: rgb(37, 48, 78);
  --project-board-royalblue: rgb(37, 48, 78);
  --project-board-plum: rgb(78, 38, 48);
  --project-board-green: rgb(37, 78, 48);
  --project-board-yellow: rgb(78, 47, 36);
  --goal-grey-color: var(--grey-800);
  --goal-purple-color: var(--purple-700);
  --goal-blue-color: var(--blue-700);
  --goal-royalblue-color: var(--royalblue-700);
  --goal-plum-color: var(--plum-700);
  --goal-green-color: var(--green-700);
  --goal-yellow-color: var(--yellow-700);
  --goal-grey-picker-color: var(--grey-600);
  --goal-purple-picker-color: var(--purple-600);
  --goal-blue-picker-color: var(--blue-600);
  --goal-royalblue-picker-color: var(--royalblue-600);
  --goal-plum-picker-color: var(--plum-600);
  --goal-green-picker-color: var(--green-600);
  --goal-yellow-picker-color: var(--yellow-600);
  --project-page-bg-image: linear-gradient(135deg,
      rgb(28, 30, 38) 0%,
      rgb(22, 25, 32) 25%,
      rgb(24, 27, 36) 50%,
      rgb(22, 25, 32) 75%,
      rgb(28, 30, 38) 100%);
  --project-page-bg-color: #11121a;
  --project-left-nav-bar-bg-color: rgba(34, 34, 40, 0.92);
  --project-left-nav-bar-shadow: none;
  --project-left-nav-bar-border-right: rgba(255, 255, 255, 0.06);
  --project-navigation-bg-color: rgba(26, 26, 31, 0.92);
  --project-navigation-shadow: var(--shadow-100);
  --project-navigation-border-right: transparent;
  --project-navigation-title-color: var(--grey-800);
  --project-navigation-empty-state-color: var(--grey-700);
  --project-navigation-task-count-color: var(--grey-700);
  --project-navigation-selected-bg-color: rgba(255, 255, 255, 0.06);
  --project-nav-icon-button-color: var(--grey-800);
  --project-nav-icon-button-bg-color: transparent;
  --project-nav-icon-button-bg-color-hover: rgba(255, 255, 255, 0.06);
  --project-navigation-header-color: rgba(255, 255, 255, 0.45);
  --project-navigation-item-color: var(--grey-900);
  --project-navigation-item-muted: rgba(255, 255, 255, 0.45);
  --calendar-bg-color: #1a1a1f;
  --calendar-shadow: 0 4px 20px rgba(0,0,0,0.35);
  --calendar-header-text-color: var(--text-primary);
  --calendar-nav-button-color: var(--grey-600);
  --calendar-nav-button-hover-color: var(--grey-800);
  --calendar-month-header-border-color: var(--grey-350);
  --calendar-cell-bg-selected-color: var(--purple-600);
  --calendar-cell-bg-selected-hover-color: var(--purple-700);
  --calendar-cell-bg-hover-color: var(--panel-bg-hover);
  --calendar-cell-text-color: var(--text-primary);
  --calendar-cell-text-color-selected: #fff;
  --calendar-cell-bg-today-color: var(--purple-500);
  --calendar-cell-text-today-color: #fff;
  --day-scheduler-bg-color: var(--grey-200);
  --day-scheduler-shadow: var(--shadow-130);
  --day-scheduler-label-color: var(--text-tertiary);
  --day-scheduler-working-hours-slot-bg: var(--grey-300);
  --day-scheduler-working-hours-slot-bg-hover: rgba(255, 255, 255, 0.06);
  --day-scheduler-non-working-hours-slot-bg: rgba(255, 255, 255, 0.02);
  --day-scheduler-non-working-hours-slot-bg-hover: rgba(255, 255, 255, 0.04);
  --day-scheduler-hour-border-color: rgba(255, 255, 255, 0.12);
  --day-scheduler-hour-border-half-color: rgba(255, 255, 255, 0.06);
  --day-scheduler-all-day-section-border-color: rgba(255, 255, 255, 0.16);
  --day-scheduler-task-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  --day-scheduler-task-box-shadow-hover: 0 1px 3px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.2);
  --day-scheduler-task-content-text-color: rgba(200, 200, 210, 0.85);
  --day-scheduler-task-content-project-grey-text-color: rgba(200, 200, 210, 0.85);
  --day-scheduler-task-content-project-purple-text-color: rgba(200, 175, 255, 0.9);
  --day-scheduler-task-content-project-blue-text-color: rgba(160, 195, 255, 0.9);
  --day-scheduler-task-content-project-royalblue-text-color: rgba(140, 190, 255, 0.9);
  --day-scheduler-task-content-project-plum-text-color: rgba(240, 170, 210, 0.9);
  --day-scheduler-task-content-project-green-text-color: rgba(150, 230, 180, 0.9);
  --day-scheduler-task-content-project-yellow-text-color: rgba(255, 230, 140, 0.9);
  --day-scheduler-creation-bg-color: #44444c;
  --calendar-event-pill-base: #1a1a22;
  --calendar-event-pill-text-base: rgba(215, 215, 225, 0.9);
  --day-scheduler-task-content-bg-color: linear-gradient(175deg, rgba(100, 105, 120, 0.22) 0%, rgba(70, 75, 90, 0.14) 100%), #1a1a22;
  --day-scheduler-task-content-project-grey-bg-color: linear-gradient(175deg, rgba(100, 105, 120, 0.22) 0%, rgba(70, 75, 90, 0.14) 100%), #1a1a22;
  --day-scheduler-task-content-project-purple-bg-color: linear-gradient(175deg, rgba(120, 80, 200, 0.22) 0%, rgba(80, 50, 160, 0.14) 100%), #18162a;
  --day-scheduler-task-content-project-blue-bg-color: linear-gradient(175deg, rgba(70, 120, 220, 0.22) 0%, rgba(50, 90, 180, 0.14) 100%), #141826;
  --day-scheduler-task-content-project-royalblue-bg-color: linear-gradient(175deg, rgba(33, 150, 243, 0.22) 0%, rgba(25, 120, 210, 0.14) 100%), #121a26;
  --day-scheduler-task-content-project-plum-bg-color: linear-gradient(175deg, rgba(180, 70, 140, 0.22) 0%, rgba(140, 50, 110, 0.14) 100%), #1e1528;
  --day-scheduler-task-content-project-green-bg-color: linear-gradient(175deg, rgba(60, 170, 110, 0.22) 0%, rgba(40, 130, 80, 0.14) 100%), #121e1a;
  --day-scheduler-task-content-project-yellow-bg-color: linear-gradient(175deg, rgba(220, 175, 60, 0.22) 0%, rgba(180, 140, 40, 0.14) 100%), #1e1a10;
  --day-scheduler-task-content-hover-bg-color: linear-gradient(175deg, rgba(100, 105, 120, 0.22) 0%, rgba(70, 75, 90, 0.14) 100%), #1a1a22;
  --day-scheduler-task-content-project-grey-hover-bg-color: linear-gradient(175deg, rgba(100, 105, 120, 0.22) 0%, rgba(70, 75, 90, 0.14) 100%), #1a1a22;
  --day-scheduler-task-content-project-purple-hover-bg-color: linear-gradient(175deg, rgba(120, 80, 200, 0.22) 0%, rgba(80, 50, 160, 0.14) 100%), #18162a;
  --day-scheduler-task-content-project-blue-hover-bg-color: linear-gradient(175deg, rgba(70, 120, 220, 0.22) 0%, rgba(50, 90, 180, 0.14) 100%), #141826;
  --day-scheduler-task-content-project-royalblue-hover-bg-color: linear-gradient(175deg, rgba(33, 150, 243, 0.22) 0%, rgba(25, 120, 210, 0.14) 100%), #121a26;
  --day-scheduler-task-content-project-plum-hover-bg-color: linear-gradient(175deg, rgba(180, 70, 140, 0.22) 0%, rgba(140, 50, 110, 0.14) 100%), #1e1528;
  --day-scheduler-task-content-project-green-hover-bg-color: linear-gradient(175deg, rgba(60, 170, 110, 0.22) 0%, rgba(40, 130, 80, 0.14) 100%), #121e1a;
  --day-scheduler-task-content-project-yellow-hover-bg-color: linear-gradient(175deg, rgba(220, 175, 60, 0.22) 0%, rgba(180, 140, 40, 0.14) 100%), #1e1a10;
  --day-scheduler-task-time-color: rgba(170, 170, 185, 0.55);
  --day-scheduler-task-time-project-grey-color: rgba(170, 170, 185, 0.55);
  --day-scheduler-task-time-project-purple-color: rgba(180, 155, 235, 0.6);
  --day-scheduler-task-time-project-plum-color: rgba(220, 150, 190, 0.6);
  --day-scheduler-task-time-project-blue-color: rgba(140, 175, 235, 0.6);
  --day-scheduler-task-time-project-royalblue-color: rgba(120, 170, 240, 0.6);
  --day-scheduler-task-time-project-green-color: rgba(130, 210, 160, 0.6);
  --day-scheduler-task-time-project-yellow-color: rgba(210, 185, 100, 0.6);
  --leftpane-bg-color: var(--panel-bg);
  --rightpane-bg-color: var(--panel-bg);
  --tab-title-color: var(--grey-700);
  --tab-title-color-selected: var(--grey-900);
  --tab-title-color-hover: var(--grey-800);
  --text-input-bg-color: rgba(255, 255, 255, 0.06);
  --text-input-border-color: rgba(255, 255, 255, 0.1);
  --text-input-border-color-hover: rgba(255, 255, 255, 0.2);
  --link-bg-hover: rgba(255, 255, 255, 0.06);
  --link-bg-selected: rgba(255, 255, 255, 0.1);
  --clickable-icon-color: var(--grey-700);
  --clickable-icon-color-hover: var(--grey-900);
  --clickable-icon-bg-color-hover: rgba(255, 255, 255, 0.07);
  --clickable-icon-bg-color-hover-2: rgba(255, 255, 255, 0.07);
  --clickable-icon-bg-color-hover-3: rgba(255, 255, 255, 0.07);
  --text-secondary-color: var(--grey-800);
  --text-secondary-color-hover: var(--grey-900);
  --text-lighter-color: var(--grey-700);
  --text-light-color: var(--grey-700);
  --text-light-color-hover: var(--grey-800);
  --modal-bg-color: var(--panel-bg);
  --danger-color: #f87171;
  --overdue-color: #e0917c;
  --spinner-icon-primary-color: var(--purple-700);
  --settings-surface: #252530;
  --settings-sidebar-bg: #1f1f2a;
  --settings-content-overlay: rgba(255, 255, 255, 0.03);
  --settings-border: rgba(255, 255, 255, 0.07);
  --settings-border-strong: rgba(255, 255, 255, 0.12);
  --settings-hover-bg: rgba(255, 255, 255, 0.06);
  --settings-disabled-bg: rgba(255, 255, 255, 0.04);
  --settings-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.3);
  --settings-dropdown-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  --settings-btn-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  --settings-toggle-active-bg: var(--settings-accent);
  --settings-toggle-thumb-bg: white;
  --settings-toggle-thumb-shadow: 0 1px 3px rgba(0,0,0,0.4);
  --settings-accent: #7c88cc;
  --settings-selected-bg: rgba(255, 255, 255, 0.09);
  --settings-track-bg: rgba(255, 255, 255, 0.10);
  --settings-danger: #c0392b;
  --settings-danger-wash: rgba(192, 57, 43, 0.08);
  --bookmark-card-bg-color: var(--grey-330);
  --bookmark-thumbnail-bg-color: var(--grey-400);
  --bookmark-thumbnail-bg-color-hover: var(--grey-500);
  --bookmark-star-icon-color: #f59e0b;
  --bookmark-url-bg-color: rgba(30, 28, 46, 0.93);
  --bookmark-border-color: rgba(255, 255, 255, 0.08);
  --spread-left-bg: var(--panel-bg-collapsed);
  --spread-col-notes-bg: var(--planner-page-bg);
  --spread-text-primary: var(--grey-900);
  --spread-text-secondary: rgba(208, 208, 224, 0.65);
  --spread-text-muted: rgba(208, 208, 224, 0.45);
  --spread-text-faint: rgba(208, 208, 224, 0.40);
  --spread-divider: rgba(255, 255, 255, 0.07);
  --spread-divider-light: rgba(255, 255, 255, 0.04);
  --spread-notes-btn-bg: rgba(255, 255, 255, 0.04);
  --spread-notes-btn-bg-hover: rgba(255, 255, 255, 0.08);
  --spread-notes-btn-color: var(--grey-800);
  --spread-pill-selected: var(--purple-700);
  --spread-pill-arrow-hover: rgba(138, 109, 174, 0.15);
  --spread-pill-hover-bg: rgba(138, 109, 174, 0.12);
  --spread-accent: var(--purple-700);
  --spread-accent-subtle: rgba(138, 109, 174, 0.35);
  --spread-scroll-track: var(--col-app-bg);
  --spread-scroll-track-border: rgba(255, 255, 255, 0.10);
  --spread-scroll-thumb: rgba(255, 255, 255, 0.28);
  --spread-scroll-thumb-hover: rgba(255, 255, 255, 0.42);
  --plan-btn-color: rgba(245,243,239,0.45);
  --plan-btn-color-hover: rgba(245,243,239,0.75);
  --plan-btn-border: rgba(255,255,255,0.15);
  --plan-btn-border-hover: rgba(255,255,255,0.28);
  --plan-btn-bg-hover: rgba(255,255,255,0.05);
  --memory-rhythm: var(--royalblue-700);
  --memory-pattern: var(--green-700);
  --memory-trait: var(--purple-700);
  --memory-preference: var(--yellow-700);
  --memory-focus-area: var(--plum-800);
  --memory-entity: var(--grey-600);
  --memory-canvas-bg: var(--planner-page-bg);
  --memory-node-label: var(--grey-900);
  --memory-edge: var(--grey-600);
  --memory-edge-conflict: hsl(var(--destructive));
  --memory-panel-bg: var(--grey-200);
  --memory-panel-border: rgba(255, 255, 255, 0.08);
}
* {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb);
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.overflow-y-auto:hover::-webkit-scrollbar-thumb, .overflow-x-auto:hover::-webkit-scrollbar-thumb, .overflow-auto:hover::-webkit-scrollbar-thumb, .scrollbar-visible::-webkit-scrollbar-thumb, .scrollbar-visible ::-webkit-scrollbar-thumb {
  opacity: 1;
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--scroll-thumb-hover);
}
.overflow-y-auto:hover, .overflow-x-auto:hover, .overflow-auto:hover, .scrollbar-visible {
  scrollbar-color: var(--scroll-thumb) transparent;
}
.qtr-select-menu {
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 116, 110, 0.45) transparent;
}
.qtr-select-menu:hover {
  scrollbar-color: rgba(120, 116, 110, 0.65) transparent;
}
.qtr-select-menu::-webkit-scrollbar-thumb {
  opacity: 1;
  background-color: rgba(120, 116, 110, 0.45);
}
:root {
  --font-ui-sans: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: var(--font-ui-sans);
  --font-mono: var(--font-ui-sans);
  --font-geist-mono: var(--font-ui-sans);
  --font-family-courier: var(--font-ui-sans);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
html,
body,
#root {
  height: 100%;
  overscroll-behavior-x: none;
}
:focus-visible:not(input):not(textarea):not([contenteditable="true"]):not([role="menuitem"]) {
  outline: 2px solid var(--grey-900);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 100000;
  padding: 8px 14px;
  background: var(--grey-900);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  transition: top 150ms ease;
}
.skip-link:focus {
  top: 8px;
}
main#main-content {
  display: block;
  min-height: 0;
}
body {
  margin: 0;
  font-family: var(--font-ui-sans);
  background: var(--body-color);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button,
a,
[role="button"],
input[type="button"],
input[type="submit"] {
  cursor: pointer;
}
button {
  font-family: var(--font-ui-sans);
}
:root {
  --ease-pane: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-flip: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-pane: 200ms;
  --dur-fade: 250ms;
  --dur-flip: 600ms;
  --dur-swap: 180ms;
  --delay-swap-in: 0ms;
  --delay-swap-back: 0ms;
  --ease-swap: linear;
  --dur-collapse: 300ms;
  --ease-collapse: ease-in-out;
}
:root {
  --z-base: 0;
  --z-dropdown: 1000;
  --z-popover: 1100;
  --z-modal: 1200;
  --z-toast: 1300;
  --z-fab: 9001;
  --notes-fab-bg: #2d2b45;
  --notes-fab-bg-hover: #3d3a5c;
  --notes-fab-icon: rgba(245, 243, 239, 0.85);
}
@layer components {
  .qtr-checkbox {
    border-color: var(--task-checkbox-border-color);
  }
  .qtr-checkbox:hover:not([data-state="checked"]):not(:disabled) {
    border-color: var(--task-checkbox-border-color-hover);
  }
  .qtr-checkbox:not(.qtr-checkbox--task-urgent)[data-state="checked"] {
    background-color: var(--checkbox-checked-bg);
    border-color: var(--checkbox-checked-bg);
    color: var(--checkbox-checked-text);
  }
  .qtr-checkbox.qtr-checkbox--task-urgent:not([data-state="checked"]):not(:disabled) {
    border-color: var(--urgent-task-icon-color);
  }
  .qtr-checkbox.qtr-checkbox--task-urgent:not([data-state="checked"]):not(:disabled):hover {
    border-color: var(--urgent-task-icon-color-hover);
  }
  .qtr-checkbox.qtr-checkbox--task-urgent[data-state="checked"] {
    background-color: var(--urgent-task-icon-color);
    border-color: var(--urgent-task-icon-color);
    color: #fff;
  }
  .qtr-checkbox.qtr-checkbox--task-urgent[data-state="checked"]:hover:not(:disabled) {
    background-color: var(--urgent-task-icon-color-hover);
    border-color: var(--urgent-task-icon-color-hover);
  }
  .icon-button {
    cursor: pointer;
    border-radius: var(--radius-md);
    padding: calc(var(--spacing) * 1.5);
    color: var(--icon-button-color);
    background-color: var(--icon-button-bg-color);
    transition: background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .icon-button:hover {
    color: var(--icon-button-color-hover);
    background-color: var(--icon-button-bg-color-hover);
  }
  .project-nav-icon-button {
    cursor: pointer;
    border-radius: 0.25rem;
    padding-block: calc(var(--spacing) * 0.5);
    color: var(--project-nav-icon-button-color);
    background-color: var(--project-nav-icon-button-bg-color);
    transition: background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .project-nav-icon-button:hover {
    background-color: var(--project-nav-icon-button-bg-color-hover);
  }
  .dropdown-menu {
    z-index: 10;
    min-width: calc(var(--spacing) * 32);
    border-radius: var(--radius-xl);
    padding-inline: calc(var(--spacing) * 1);
    padding-block: calc(var(--spacing) * 2);
    background-color: var(--dropdown-menu-bg-color);
    box-shadow: var(--dropdown-menu-shadow);
    border: 1px solid hsl(var(--border));
  }
  .dropdown-menu-item-icon {
    flex-shrink: 0;
    opacity: 50%;
    color: var(--dropdown-menu-item-icon-color);
  }
  .dropdown-menu-item {
    font-family: "Suisse Intl", -apple-system, sans-serif;
    margin-block: calc(var(--spacing) * 0.5);
    display: flex;
    width: 100%;
    cursor: pointer;
    align-items: center;
    gap: calc(var(--spacing) * 2.5);
    border-radius: var(--radius-lg);
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 2.5);
    text-align: left;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    --tw-outline-style: none;
    outline-style: none;
    line-height: 1;
    color: var(--dropdown-menu-item-color);
    background-color: transparent;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  .dropdown-menu-item-delete {
    font-family: "Suisse Intl", -apple-system, sans-serif;
    margin-block: calc(var(--spacing) * 0.5);
    display: flex;
    width: 100%;
    cursor: pointer;
    align-items: center;
    gap: calc(var(--spacing) * 2.5);
    border-radius: var(--radius-lg);
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 2.5);
    text-align: left;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    --tw-outline-style: none;
    outline-style: none;
    line-height: 1;
    color: var(--dropdown-menu-item-delete-color);
    background-color: var(--dropdown-menu-item-delete-bg-color);
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  .dropdown-menu-item-delete:hover, .dropdown-menu-item-delete[data-highlighted] {
    background-color: var(--dropdown-menu-item-delete-hover-bg-color);
  }
  .dropdown-menu-item:hover, .dropdown-menu-item[data-highlighted] {
    background-color: var(--dropdown-menu-item-hover-bg-color);
    color: var(--dropdown-menu-item-hover-color);
  }
  .dropdown-menu-item.is-selected {
    background-color: var(--dropdown-menu-item-active-bg-color);
  }
  .dropdown-menu-item[data-disabled] {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
  }
  .task-details-dropdown-item {
    margin-block: calc(var(--spacing) * 0.5);
    display: flex;
    width: 100%;
    cursor: pointer;
    align-items: center;
    gap: calc(var(--spacing) * 2.5);
    border-radius: var(--radius-lg);
    padding-inline: calc(var(--spacing) * 3);
    padding-block: calc(var(--spacing) * 2.5);
    text-align: left;
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
    --tw-outline-style: none;
    outline-style: none;
    color: var(--task-details-dropdown-item-color);
    background-color: transparent;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  .task-details-dropdown-item:hover, .task-details-dropdown-item[data-highlighted] {
    background-color: var(--task-details-dropdown-item-hover-bg);
    color: var(--task-details-dropdown-item-hover-color);
  }
  .task-details-dropdown-item.is-selected {
    background-color: var(--task-details-dropdown-item-selected-bg);
  }
  .dropdown-menu-item-delete-icon {
    flex-shrink: 0;
    opacity: 80%;
    color: var(--dropdown-menu-item-delete-color);
  }
  .dropdown-menu-separator {
    margin-inline: calc(var(--spacing) * -1);
    margin-block: calc(var(--spacing) * 1);
    height: 1px;
    border-style: var(--tw-border-style);
    border-width: 0px;
    background-color: var(--dropdown-menu-separator-color);
  }
  .goal-actions-menu {
    --font-mono: var(--font-ui-sans);
    background-color: #f6f4f0;
    border: none;
    box-shadow: var(--pane-shadow);
    font-family: var(--font-mono);
  }
  .goal-actions-menu .dropdown-menu-item > svg {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
    flex-shrink: 0;
  }
  .goal-actions-menu button, .goal-actions-menu [role="menuitem"] {
    font-family: var(--font-mono) !important;
    color: #26262b;
  }
  .goal-actions-menu .dropdown-menu-item {
    --tw-font-weight: var(--font-weight-normal);
    font-weight: var(--font-weight-normal);
    font-family: var(--font-mono);
    color: #26262b;
  }
  .goal-actions-menu .dropdown-menu-item:hover, .goal-actions-menu .dropdown-menu-item[data-highlighted], .goal-actions-menu .dropdown-menu-item.is-selected, .goal-actions-menu .task-details-dropdown-item:hover, .goal-actions-menu .task-details-dropdown-item[data-highlighted], .goal-actions-menu .task-details-dropdown-item.is-selected {
    background-color: rgba(45, 43, 69, 0.06);
    color: #26262b;
  }
  .goal-actions-menu .dropdown-menu-item.is-danger, .goal-actions-menu .task-details-dropdown-item.is-danger, .goal-actions-menu button.is-danger {
    color: #c0392b !important;
  }
  .goal-actions-menu .dropdown-menu-item.is-danger:hover, .goal-actions-menu .dropdown-menu-item.is-danger[data-highlighted], .goal-actions-menu .task-details-dropdown-item.is-danger:hover, .goal-actions-menu .task-details-dropdown-item.is-danger[data-highlighted], .goal-actions-menu button.is-danger:hover {
    background-color: rgba(192, 57, 43, 0.08) !important;
    color: #c0392b !important;
  }
  .goal-actions-menu .dropdown-menu-separator {
    margin-block: calc(var(--spacing) * 1);
    background-color: rgba(45, 43, 69, 0.09);
  }
  .project-column-input::placeholder {
    color: var(--project-column-input-placeholder);
  }
  .project-info-input::placeholder {
    color: var(--project-info-placeholder);
  }
  .project-info-textarea::placeholder {
    color: var(--project-info-placeholder);
  }
  .project-share-input::placeholder {
    color: var(--project-share-modal-muted);
  }
  .day-scheduler-task {
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .day-scheduler-task:hover {
    transform: translateY(-0.5px);
    box-shadow: var(--day-scheduler-task-box-shadow-hover) !important;
  }
  .day-scheduler-task:active {
    transform: translateY(0px);
  }
  .notes-image-wrapper .notes-image-menu-btn {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
  }
  .notes-image-wrapper:hover .notes-image-menu-btn {
    opacity: 1;
    pointer-events: auto;
  }
  .project-info-control {
    color: var(--project-info-control-text);
    background-color: transparent;
    transition: background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .project-info-control:hover {
    background-color: var(--project-info-control-bg);
  }
  .project-info-control.is-active {
    background-color: var(--project-info-control-bg-active);
  }
  .notes-fab {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--notes-fab-bg);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.18), 0 8px 24px rgba(0, 0, 0, 0.14);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-fab);
    transform: scale(1);
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .notes-fab:hover {
    background: var(--notes-fab-bg-hover);
  }
  .notes-fab:hover, .notes-fab[data-open="true"] {
    transform: scale(1.08);
  }
  .notes-fab-icon {
    stroke: var(--notes-fab-icon);
  }
  @keyframes refer-earn-rise {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes refer-earn-fade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  .refer-earn-rise {
    opacity: 0;
    animation: refer-earn-rise 220ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
  }
  .refer-earn-coupon {
    --coupon-notch: 9px;
    --coupon-punch: 6px;
    --coupon-tear: 34%;
    -webkit-mask-image: radial-gradient(circle var(--coupon-notch) at 0 50%, transparent 98%, #000 100%), radial-gradient(circle var(--coupon-notch) at 100% 50%, transparent 98%, #000 100%), radial-gradient(circle var(--coupon-punch) at var(--coupon-tear) 0, transparent 98%, #000 100%), radial-gradient(circle var(--coupon-punch) at var(--coupon-tear) 100%, transparent 98%, #000 100%);
    -webkit-mask-composite: source-in;
    -webkit-mask-repeat: no-repeat;
    mask-image: radial-gradient(circle var(--coupon-notch) at 0 50%, transparent 98%, #000 100%), radial-gradient(circle var(--coupon-notch) at 100% 50%, transparent 98%, #000 100%), radial-gradient(circle var(--coupon-punch) at var(--coupon-tear) 0, transparent 98%, #000 100%), radial-gradient(circle var(--coupon-punch) at var(--coupon-tear) 100%, transparent 98%, #000 100%);
    mask-composite: intersect;
    mask-repeat: no-repeat;
  }
  .refer-earn-coupon-lift {
    filter: drop-shadow(0 1px 2px rgba(26, 18, 10, 0.10)) drop-shadow(0 3px 8px rgba(26, 18, 10, 0.08));
  }
  .refer-earn-press {
    transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .refer-earn-press:active {
    transform: scale(0.97);
  }
  @media (prefers-reduced-motion: reduce) {
    .refer-earn-rise {
      animation-name: refer-earn-fade;
    }
    .refer-earn-press:active {
      transform: none;
    }
  }
}
@keyframes qc-status-pulse {
  0%, 100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}
@keyframes qtr-settings-highlight-pulse {
  0% {
    background-color: transparent;
  }
  20% {
    background-color: color-mix(in srgb, var(--settings-accent) 18%, transparent);
  }
  100% {
    background-color: transparent;
  }
}
.qtr-settings-highlight {
  animation: qtr-settings-highlight-pulse 2s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) {
  .qtr-settings-highlight {
    animation: none;
  }
}
.qtr-basecamp {
  --font-mono: var(--font-ui-sans);
  --font-sans: "Suisse Intl", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono-scale: 1;
}
.qtr-tip {
  background: var(--qtr-tip-bg);
  color: var(--qtr-tip-text);
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  padding: 6px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  user-select: none;
  pointer-events: none;
  z-index: 9999;
  animation: qtr-tip-in 0.1s ease;
  max-width: min(320px, calc(100vw - 24px));
  width: max-content;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.35;
  border: none;
  backdrop-filter: none;
}
.qtr-tip-arrow {
  fill: var(--qtr-tip-bg);
}
.qtr-tip-layer[data-side]::after {
  content: "";
  position: absolute;
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
}
.qtr-tip-layer[data-side="top"]::after {
  top: 100%;
  border-top-color: var(--qtr-tip-bg);
}
.qtr-tip-layer[data-side="bottom"]::after {
  bottom: 100%;
  border-bottom-color: var(--qtr-tip-bg);
}
@keyframes qtr-tip-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.qtr-proposal-row .qtr-proposal-row-toggle {
  opacity: 0;
}
.qtr-proposal-row:hover .qtr-proposal-row-toggle, .qtr-proposal-row-toggle:focus-visible {
  opacity: 1;
}
@keyframes qtr-sheet-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
button.qtr-pill {
  font-family: var(--font-ui-sans) !important;
}
.qtr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 18px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-ui-sans) !important;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease, color 150ms ease, transform 120ms ease, filter 150ms ease;
}
.qtr-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 136, 204, 0.40);
}
.qtr-btn:disabled, .qtr-btn[disabled], .qtr-btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}
.qtr-btn-primary {
  border: none;
  background: var(--qtr-btn-primary-bg);
  color: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04), 0 2px 7px rgba(124, 136, 204, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.20);
}
.qtr-btn-primary:hover {
  background: var(--qtr-btn-primary-bg-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05), 0 6px 16px rgba(124, 136, 204, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.qtr-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(124, 136, 204, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.qtr-btn-outline {
  border: none;
  background: var(--qtr-btn-outline-bg);
  color: #34333c;
  box-shadow: 0 1px 2px rgba(26, 18, 10, 0.06);
}
.qtr-btn-outline:hover {
  background: var(--qtr-btn-outline-bg-hover);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(26, 18, 10, 0.09);
}
.qtr-btn-outline:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(26, 18, 10, 0.06);
}
.qtr-btn-danger {
  border: none;
  background: var(--qtr-btn-danger-bg, #dc2626);
  color: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04), 0 2px 7px rgba(220, 38, 38, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.qtr-btn-danger:hover {
  background: var(--qtr-btn-danger-bg-hover, #c1201f);
  transform: translateY(-1px);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05), 0 6px 16px rgba(220, 38, 38, 0.38);
}
.qtr-btn-danger:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(220, 38, 38, 0.30);
}
.qtr-btn-lg {
  height: 50px;
  padding: 0 30px;
  border-radius: 10px;
  gap: 10px;
  font-size: 16px;
}
.qtr-btn-on-dark {
  border: 1px solid transparent;
  background: var(--console-accent);
  color: var(--console-accent-ink, #2d2b45);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.30), 0 4px 12px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.qtr-btn-on-dark:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.30), 0 6px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.qtr-btn-on-dark:active {
  transform: translateY(0);
  filter: brightness(0.99);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.qtr-btn-on-dark-outline {
  border: 1px solid rgba(var(--console-accent-rgb), 0.45);
  background: transparent;
  color: var(--console-accent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.qtr-btn-on-dark-outline:hover {
  background: rgba(var(--console-accent-rgb), 0.12);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.30);
}
.qtr-btn-on-dark-outline:active {
  transform: translateY(0);
  box-shadow: none;
}
.qtr-goal-card-tasks .planned-scroll, .qtr-console-tasks .planned-scroll {
  flex: 1 0 auto;
}
.qtr-goal-card-tasks {
  margin-left: -10px;
  margin-right: -10px;
}
.qtr-goal-card-tasks [data-task-row], .qtr-goal-card-tasks .group.cursor-text, .qtr-console-tasks [data-task-row], .qtr-console-tasks .group.cursor-text {
  gap: 12px;
  padding-top: 6.5px;
  padding-bottom: 6.5px;
}
.qtr-console-tasks .planned-scroll {
  padding-left: 0;
  padding-right: 0;
}
.qtr-add-task-input::placeholder {
  color: var(--grey-600);
  opacity: 1;
}
.an-mention-field.qtr-add-task-input input::placeholder, .an-mention-field.qtr-add-task-input .an-mention-input p.is-editor-empty:first-child::before {
  color: var(--grey-600);
  opacity: 1;
}
.qtr-checkbox-ghost {
  border: 1px solid var(--task-checkbox-border-color);
  border-radius: 0.25rem;
}
.qtr-task-group-header {
  padding: 8px 10px 4px;
}
.qtr-task-group-header--checkpoint {
  padding: 3px 10px 2px;
}
.qtr-console-tasks .qtr-task-group-header {
  padding-left: 20px;
  padding-right: 20px;
}
.qtr-console-tasks [data-task-row], .qtr-console-tasks .group.cursor-text {
  margin-left: 8px;
  margin-right: 8px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 8px;
}
.qtr-goal-card-tasks [data-task-row] .truncate, .qtr-console-tasks [data-task-row] .truncate {
  font-size: 15.5px;
  line-height: 20px;
  letter-spacing: -0.01em;
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-pane: 1ms;
    --dur-fade: 1ms;
    --dur-flip: 1ms;
    --dur-swap: 1ms;
    --delay-swap-in: 0ms;
    --delay-swap-back: 0ms;
  }
}
.qtr-console-tasks {
  display: flex;
  flex-direction: column;
}
.qtr-console-tasks > div {
  flex: 0 0 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.qtr-console-tasks .planned-scroll {
  min-height: 0;
}
.ansel-blink {
  opacity: 0;
  animation: ansel-blink 3s ease-in-out infinite;
}
@keyframes ansel-blink {
  0%, 82% {
    opacity: 0;
  }
  84%, 88% {
    opacity: 1;
  }
  90%, 92% {
    opacity: 0;
  }
  94%, 97% {
    opacity: 1;
  }
  99%, 100% {
    opacity: 0;
  }
}
@keyframes sc-anselin {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(.9);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.sc-ansel-face {
  opacity: 0;
  animation: sc-anselin .8s cubic-bezier(.16, 1, .3, 1) .06s forwards;
}
.sc-ansel-hello {
  opacity: 0;
  animation: sc-fadein .7s ease-out .5s forwards;
}
.sc-ansel-sub {
  opacity: 0;
  animation: sc-fadein .7s ease-out .72s forwards;
}
@keyframes sc-fadein {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.qtr-console-row-more {
  opacity: 0;
}
.qtr-console-row-wrap:hover .qtr-console-row-more, .qtr-console-row-more:focus-visible {
  opacity: 1;
}
.qtr-console-row-more:hover {
  background: var(--console-view-meta-bg);
}
.qtr-select-menu {
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 116, 110, 0.45) transparent;
}
.qtr-select-menu:hover {
  scrollbar-color: rgba(120, 116, 110, 0.65) transparent;
}
.qtr-select-menu::-webkit-scrollbar-thumb {
  opacity: 1;
  background-color: rgba(120, 116, 110, 0.45);
}
.qtr-dialog button {
  font-family: var(--font-mono);
}
.qtr-console-row-meta {
  transition: transform 120ms ease;
}
.qtr-console-row-wrap:hover .qtr-console-row-meta {
  transform: translateX(-24px);
}
.qtr-datepicker-day {
  font-family: var(--font-mono) !important;
  font-variant-numeric: tabular-nums;
}
.goal-actions-menu.on-dark {
  background-color: var(--console-popover-bg, #3a3752);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.goal-actions-menu.on-dark .dropdown-menu-item {
  color: rgba(245, 243, 239, 0.9);
}
.goal-actions-menu.on-dark .dropdown-menu-item:hover, .goal-actions-menu.on-dark .dropdown-menu-item[data-highlighted] {
  background-color: rgba(165, 174, 224, 0.16);
  color: rgba(245, 243, 239, 0.98);
}
.goal-actions-menu.on-dark .dropdown-menu-separator {
  background-color: rgba(245, 243, 239, 0.12);
}
.goal-actions-menu.on-dark .dropdown-menu-item.is-danger, .goal-actions-menu.on-dark .task-details-dropdown-item.is-danger, .goal-actions-menu.on-dark button.is-danger {
  color: #f87171 !important;
}
.goal-actions-menu.on-dark .dropdown-menu-item.is-danger:hover, .goal-actions-menu.on-dark .dropdown-menu-item.is-danger[data-highlighted], .goal-actions-menu.on-dark .task-details-dropdown-item.is-danger:hover, .goal-actions-menu.on-dark .task-details-dropdown-item.is-danger[data-highlighted], .goal-actions-menu.on-dark button.is-danger:hover {
  background-color: rgba(248, 113, 113, 0.14) !important;
  color: #f87171 !important;
}
.qtr-canvas-task-row {
  gap: 12px;
}
.qtr-console-goal-line:hover {
  background: rgba(245, 243, 239, 0.05) !important;
}
@keyframes plannerBlob1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(80px, -60px) scale(1.1);
  }
  50% {
    transform: translate(-40px, 80px) scale(0.95);
  }
  75% {
    transform: translate(60px, 40px) scale(1.05);
  }
}
@keyframes plannerBlob2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-100px, 50px) scale(1.08);
  }
  50% {
    transform: translate(60px, -70px) scale(0.92);
  }
  75% {
    transform: translate(-30px, -40px) scale(1.12);
  }
}
@keyframes plannerBlob3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(70px, 60px) scale(1.15);
  }
  66% {
    transform: translate(-80px, -30px) scale(0.9);
  }
}
@keyframes plannerBlob4 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  20% {
    transform: translate(-60px, -80px) scale(1.05);
  }
  40% {
    transform: translate(90px, 20px) scale(0.95);
  }
  60% {
    transform: translate(-20px, 70px) scale(1.1);
  }
  80% {
    transform: translate(50px, -50px) scale(1);
  }
}
@keyframes breadcrumbQuoteScroll {
  0% {
    transform: translateX(calc(-50% + 150px));
  }
  15% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes brochureFold {
  0% {
    opacity: 0;
    transform: rotateY(-92deg);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: rotateY(0deg);
  }
}
.brochure-fold-out {
  animation: brochureFold 460ms cubic-bezier(0.32, 0.72, 0.48, 1) backwards;
  transform-origin: left center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
}
.spread-scroll::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}
.spread-scroll::-webkit-scrollbar-track {
  background: var(--spread-scroll-track) !important;
  border-radius: 0;
  border-top: 1px solid var(--spread-scroll-track-border);
  opacity: 1 !important;
}
.spread-scroll::-webkit-scrollbar-thumb {
  background-color: var(--spread-scroll-thumb) !important;
  border-radius: 4px;
  opacity: 1 !important;
}
.spread-scroll::-webkit-scrollbar-thumb:hover {
  background-color: var(--spread-scroll-thumb-hover) !important;
}
.spread-scroll-thin::-webkit-scrollbar {
  height: 6px;
}
.spread-scroll-thin::-webkit-scrollbar-track {
  background: transparent;
}
.spread-scroll-thin::-webkit-scrollbar-thumb {
  background-color: rgba(26, 18, 10, 0.18);
  border-radius: 3px;
}
.spread-scroll-thin::-webkit-scrollbar-thumb:hover {
  background-color: rgba(26, 18, 10, 0.32);
}
.spread-scroll-thin {
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 18, 10, 0.18) transparent;
}
.spread-scroll:not(:hover)::-webkit-scrollbar-thumb {
  opacity: 1 !important;
  background-color: var(--spread-scroll-thumb) !important;
}
@keyframes genieIn {
  0% {
    clip-path: polygon(62% 96%, 100% 98%, 100% 100%, 58% 100%);
    transform: scaleX(0.38) scaleY(0.03);
    opacity: 0;
    filter: blur(4px);
  }
  18% {
    clip-path: polygon(30% 72%, 100% 66%, 100% 100%, 18% 100%);
    transform: scaleX(0.62) scaleY(0.22);
    opacity: 0.45;
    filter: blur(2px);
  }
  45% {
    clip-path: polygon(6% 26%, 100% 9%, 100% 100%, 0% 100%);
    transform: scaleX(0.86) scaleY(0.72);
    opacity: 0.85;
    filter: blur(0.5px);
  }
  70% {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    transform: scaleX(0.99) scaleY(1.03);
    opacity: 1;
    filter: blur(0);
  }
  84% {
    transform: scaleX(1.01) scaleY(0.98);
  }
  94% {
    transform: scaleX(0.995) scaleY(1.005);
  }
  100% {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    transform: scaleX(1) scaleY(1);
    opacity: 1;
    filter: blur(0);
  }
}
@keyframes genieOut {
  0% {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    transform: scaleX(1) scaleY(1);
    opacity: 1;
    filter: blur(0);
  }
  28% {
    clip-path: polygon(6% 26%, 100% 9%, 100% 100%, 0% 100%);
    transform: scaleX(0.86) scaleY(0.72);
    opacity: 0.85;
    filter: blur(0.5px);
  }
  55% {
    clip-path: polygon(30% 72%, 100% 66%, 100% 100%, 18% 100%);
    transform: scaleX(0.62) scaleY(0.22);
    opacity: 0.45;
    filter: blur(2px);
  }
  100% {
    clip-path: polygon(62% 96%, 100% 98%, 100% 100%, 58% 100%);
    transform: scaleX(0.38) scaleY(0.03);
    opacity: 0;
    filter: blur(4px);
  }
}
.console-ac-list {
  scrollbar-width: none;
}
.console-ac-list::-webkit-scrollbar {
  display: none;
}
.dropdown-menu::-webkit-scrollbar,
[data-radix-menu-content]::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}
.dropdown-menu::-webkit-scrollbar-thumb,
[data-radix-menu-content]::-webkit-scrollbar-thumb {
  border-radius: 1px;
}
.planned-scroll {
  scrollbar-width: none;
}
.planned-scroll::-webkit-scrollbar {
  display: none;
}
.quarter-scroll {
  scrollbar-width: none;
}
.quarter-scroll::-webkit-scrollbar {
  display: none;
}
.console-ac-list > div:hover {
  background: rgba(165, 174, 224, 0.14);
}
@keyframes weekPanelPulse {
  0% {
    transform: scale(1);
    box-shadow: var(--panel-shadow);
  }
  12% {
    transform: scale(1.018);
    box-shadow: 0 0 0 3px var(--console-accent), 0 0 24px 6px color-mix(in srgb, var(--console-accent) 50%, transparent), var(--panel-shadow);
  }
  30% {
    transform: scale(0.996);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--console-accent) 60%, transparent), 0 0 32px 6px color-mix(in srgb, var(--console-accent) 20%, transparent), var(--panel-shadow);
  }
  55% {
    transform: scale(1.004);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--console-accent) 25%, transparent), var(--panel-shadow);
  }
  100% {
    transform: scale(1);
    box-shadow: var(--panel-shadow);
  }
}
.week-panel-pulse {
  animation: weekPanelPulse 750ms cubic-bezier(0.34,1.56,0.64,1) forwards;
  transform-origin: center;
}
@keyframes todayPanelPulse {
  0% {
    transform: scale(1);
    box-shadow: var(--panel-shadow);
  }
  12% {
    transform: scale(1.018);
    box-shadow: 0 0 0 3px var(--console-accent), 0 0 24px 6px color-mix(in srgb, var(--console-accent) 50%, transparent), var(--panel-shadow);
  }
  30% {
    transform: scale(0.996);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--console-accent) 60%, transparent), 0 0 32px 6px color-mix(in srgb, var(--console-accent) 20%, transparent), var(--panel-shadow);
  }
  55% {
    transform: scale(1.004);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--console-accent) 25%, transparent), var(--panel-shadow);
  }
  100% {
    transform: scale(1);
    box-shadow: var(--panel-shadow);
  }
}
.today-panel-pulse {
  animation: todayPanelPulse 750ms cubic-bezier(0.34,1.56,0.64,1) forwards;
  transform-origin: center;
}
@keyframes quarterPanelPulse {
  0% {
    transform: scale(1);
    box-shadow: var(--panel-shadow);
  }
  12% {
    transform: scale(1.018);
    box-shadow: 0 0 0 3px var(--console-accent), 0 0 24px 6px color-mix(in srgb, var(--console-accent) 50%, transparent), var(--panel-shadow);
  }
  30% {
    transform: scale(0.996);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--console-accent) 60%, transparent), 0 0 32px 6px color-mix(in srgb, var(--console-accent) 20%, transparent), var(--panel-shadow);
  }
  55% {
    transform: scale(1.004);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--console-accent) 25%, transparent), var(--panel-shadow);
  }
  100% {
    transform: scale(1);
    box-shadow: var(--panel-shadow);
  }
}
.quarter-panel-pulse {
  animation: quarterPanelPulse 750ms cubic-bezier(0.34,1.56,0.64,1) forwards;
  transform-origin: center;
}
@keyframes yearPanelPulse {
  0% {
    transform: scale(1);
    box-shadow: var(--panel-shadow);
  }
  12% {
    transform: scale(1.018);
    box-shadow: 0 0 0 3px var(--console-accent), 0 0 24px 6px color-mix(in srgb, var(--console-accent) 50%, transparent), var(--panel-shadow);
  }
  30% {
    transform: scale(0.996);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--console-accent) 60%, transparent), 0 0 32px 6px color-mix(in srgb, var(--console-accent) 20%, transparent), var(--panel-shadow);
  }
  55% {
    transform: scale(1.004);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--console-accent) 25%, transparent), var(--panel-shadow);
  }
  100% {
    transform: scale(1);
    box-shadow: var(--panel-shadow);
  }
}
.year-panel-pulse {
  animation: yearPanelPulse 750ms cubic-bezier(0.34,1.56,0.64,1) forwards;
  transform-origin: center;
}
@keyframes inboxPanelPulse {
  0% {
    transform: scale(1);
    box-shadow: var(--panel-shadow);
  }
  12% {
    transform: scale(1.018);
    box-shadow: 0 0 0 3px var(--pulse-purple), 0 0 24px 6px color-mix(in srgb, var(--pulse-purple) 50%, transparent), var(--panel-shadow);
  }
  30% {
    transform: scale(0.996);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--pulse-purple) 60%, transparent), 0 0 32px 6px color-mix(in srgb, var(--pulse-purple) 20%, transparent), var(--panel-shadow);
  }
  55% {
    transform: scale(1.004);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--pulse-purple) 25%, transparent), var(--panel-shadow);
  }
  100% {
    transform: scale(1);
    box-shadow: var(--panel-shadow);
  }
}
.inbox-panel-pulse {
  animation: inboxPanelPulse 750ms cubic-bezier(0.34,1.56,0.64,1) forwards;
  transform-origin: center;
}
@keyframes dropOverlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes dropCardIn {
  from {
    opacity: 0;
    transform: translateY(5px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes listItemAlert {
  0% {
    background-color: transparent;
  }
  15% {
    background-color: color-mix(in srgb, var(--pulse-purple) 25%, transparent);
  }
  60% {
    background-color: color-mix(in srgb, var(--pulse-purple) 12%, transparent);
  }
  100% {
    background-color: transparent;
  }
}
.list-item-alert {
  animation: listItemAlert 600ms ease-out forwards;
}
@keyframes pixelIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes calendarSlideLeft {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes calendarSlideRight {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes qtrThinkingDot {
  0%, 80%, 100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
@keyframes qtrWorkingShimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
@keyframes qtrWorkingPulse {
  0%, 100% {
    transform: scale(0.7);
    opacity: 0.55;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}
.qtr-working-label {
  background: linear-gradient(90deg, rgba(var(--console-ink-rgb), 0.42) 0%, rgba(var(--console-ink-rgb), 0.95) 50%, rgba(var(--console-ink-rgb), 0.42) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: qtrWorkingShimmer 1.8s linear infinite;
}
.qtr-working-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--console-accent);
  animation: qtrWorkingPulse 1.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .qtr-working-label {
    animation: none;
    background: none;
    color: rgba(var(--console-ink-rgb), 0.8);
  }
  .qtr-working-dot {
    animation: none;
  }
}
@keyframes qc-bob {
  0%,100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes qc-msgin {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.qc-dark-ta {
  font-family: var(--console-font-sans) !important;
  font-size: 14.5px !important;
  color: rgba(245,243,239,0.92) !important;
}
.qc-dark-ta::placeholder {
  color: rgba(245,243,239,0.4) !important;
  font-family: var(--console-font-sans) !important;
  font-size: 14.5px !important;
  opacity: 1;
}
.sherpa-console-input::placeholder {
  color: rgba(245,243,239,0.4) !important;
  opacity: 1;
}
.qtr-week-plan-ta::placeholder {
  color: var(--grey-600);
  opacity: 1;
}
@keyframes qtr-timeline-tile-in {
  0% {
    opacity: 0;
    transform: scale(0.97);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.qtr-timeline-tile {
  animation: qtr-timeline-tile-in 180ms cubic-bezier(0.16,1,0.3,1) backwards;
}
.sc-ansel-home {
  transition: width 420ms cubic-bezier(.16, 1, .3, 1), height 420ms cubic-bezier(.16, 1, .3, 1),
    margin-right 420ms cubic-bezier(.16, 1, .3, 1), opacity 260ms ease 140ms;
}
body.qtr-tour-flying .sc-ansel-home {
  opacity: 0;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  margin-right: -9px;
  transition: width 420ms cubic-bezier(.16, 1, .3, 1), height 420ms cubic-bezier(.16, 1, .3, 1),
    margin-right 420ms cubic-bezier(.16, 1, .3, 1), opacity 180ms ease;
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-gradient-position {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-from {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-via {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-to {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}
@property --tw-gradient-stops {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-via-stops {
  syntax: "*";
  inherits: false;
}
@property --tw-gradient-from-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0%;
}
@property --tw-gradient-via-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 50%;
}
@property --tw-gradient-to-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-ordinal {
  syntax: "*";
  inherits: false;
}
@property --tw-slashed-zero {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-figure {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-gradient-position: initial;
      --tw-gradient-from: #0000;
      --tw-gradient-via: #0000;
      --tw-gradient-to: #0000;
      --tw-gradient-stops: initial;
      --tw-gradient-via-stops: initial;
      --tw-gradient-from-position: 0%;
      --tw-gradient-via-position: 50%;
      --tw-gradient-to-position: 100%;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-duration: initial;
      --tw-ease: initial;
    }
  }
}

