@import url("assets/brand/cursors.css");
/* Original tomato identity. Product surfaces stay quiet; the garden carries the brand. */
@font-face {
  font-family: TomatoHand;
  src: url("assets/brand/ZhiMangXing-Regular.ttf") format("truetype");
  font-display: swap;
}
:root {
  color-scheme: light;
  --tomato: oklch(0.58 0.17 31);
  --tomato-dark: oklch(0.47 0.145 31);
  --tomato-soft: oklch(0.96 0.018 35);
  --tomato-line: oklch(0.87 0.045 38);
  --paper: oklch(0.987 0.012 88);
  --workspace-warm: oklch(0.987 0.012 88);
  --sidebar-warm: oklch(0.993 0.008 88);
  --card: oklch(0.995 0.003 65);
  --ink: oklch(0.28 0.014 35);
  --muted: oklch(0.51 0.018 50);
  --line: oklch(0.91 0.008 65);
  --leaf: oklch(0.48 0.065 145);
  --on-brand: oklch(0.99 0.005 65);
  --display:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    sans-serif;
  --body:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
}
* {
  box-sizing: border-box;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button,
a,
summary {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--tomato-line);
  outline-offset: 3px;
}
button:disabled {
  cursor: wait;
}
a {
  color: inherit;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.mark,
.brandmark {
  display: inline-grid;
  place-items: center;
  background: var(--tomato-soft);
  color: var(--tomato);
  border: 1px solid var(--tomato-line);
  font-size: 23px;
  box-shadow: none;
}
body:has(.shell) {
  background-color: var(--workspace-warm);
  background-image: none;
  background-attachment: fixed;
}
.shell .sidebar {
  background: var(--sidebar-warm);
  border-right-color: oklch(0.9 0.025 38);
}
.shell .workspacepick {
  background: oklch(0.995 0.004 38);
  border-color: oklch(0.91 0.021 38);
}
.tomato-float {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  user-select: none;
  font-size: 18px;
  line-height: 1;
  animation: tomato-float-up 720ms ease-out both;
}
@keyframes tomato-float-up {
  from { opacity: 0; transform: translateY(3px) rotate(-9deg) scale(.75); }
  15% { opacity: 1; }
  to { opacity: 0; transform: translateY(-36px) rotate(10deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .tomato-float { display: none; }
}

.tomato-confetti {
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 38%;
  pointer-events: none;
}
.tomato-confetti i {
  position: absolute;
  width: 6px;
  height: 10px;
  border-radius: 2px;
  background: var(--c);
  animation: tomato-petal 0.82s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes tomato-petal {
  0% {
    transform: translate(0, 0) rotate(0);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--x), var(--y)) rotate(var(--r));
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
