:root {
  --primary: #f7a71f;
  --primary-strong: #d98908;
  --primary-soft: rgba(247, 167, 31, 0.12);
  --ink: #17181b;
  --paper: #f6f3ee;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --panel-border: rgba(23, 24, 27, 0.08);
  --muted: #666973;
  --shadow: 0 24px 60px rgba(20, 20, 24, 0.08);
}
.dark {
  --ink: #f7f7f7;
  --paper: #080809;
  --panel: rgba(14, 14, 16, 0.86);
  --panel-strong: rgba(18, 18, 20, 0.92);
  --panel-border: rgba(255, 255, 255, 0.08);
  --muted: #a9a9af;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
}
html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}
body.app-shell {
  font-family: "Aptos", "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  max-width: 100%;
  overflow-x: clip;
  background:
    radial-gradient(circle at top left, rgba(247, 167, 31, 0.1), transparent 20%),
    linear-gradient(180deg, #f7f4ef 0%, #f1ede7 100%);
  color: var(--ink);
}
body.app-shell > .pointer-events-none {
  overflow: clip;
}
.dark body.app-shell {
  background:
    radial-gradient(circle at top left, rgba(247, 167, 31, 0.08), transparent 18%),
    linear-gradient(180deg, #0e0e10 0%, #080809 100%);
}
h1,
h2,
h3,
.font-display {
  font-family: "DIN Alternate", "Bahnschrift", "Arial Narrow", "Helvetica Neue", sans-serif;
  letter-spacing: -0.02em;
}
.todo-title {
  position: relative;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.todo-title::after {
  content: "";
  position: absolute;
  left: 0;
  top: 55%;
  height: 2px;
  width: 0;
  background: currentColor;
  transition: width 200ms ease;
}
.todo-title.is-done {
  text-decoration-line: line-through;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
  text-decoration-skip-ink: auto;
}
.todo-title.is-done::after {
  width: 0;
}
.todo-card-mobile-controls {
  display: none;
}
.todo-card-desktop-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.25rem;
}
.todo-card-progress-desktop {
  display: inline-flex;
}
.todo-card-progress-mobile {
  display: none;
}
.todo-children-toggle-desktop {
  display: inline;
}
.todo-children-toggle-mobile {
  display: none;
}
.todo-children-toggle .todo-children-toggle-desktop span:last-child,
.todo-children-toggle .todo-children-toggle-mobile span:last-child {
  font-size: 1.2em;
}
.todo-action-icon-btn {
  font-size: 1.44em;
  line-height: 1;
}
.todo-mobile-more-btn {
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.85rem;
  font-size: 1.25rem;
  line-height: 1;
}
.todo-children-toggle-icon {
  display: inline-block;
  transition: transform 180ms ease;
}
.todo-children-toggle-icon.is-open {
  transform: rotate(180deg);
}
.primary-action-btn {
  background: #f7a71f;
  color: #111111;
  box-shadow: 0 10px 24px rgba(247, 167, 31, 0.18);
  border: 1px solid rgba(247, 167, 31, 0.24);
}
.primary-action-btn:hover {
  box-shadow: 0 14px 28px rgba(247, 167, 31, 0.22);
}
.dark .primary-action-btn {
  background: #f7a71f;
  color: #231609;
  border-color: rgba(247, 167, 31, 0.28);
}
.dragging {
  opacity: 0.72;
  transform: scale(0.985) rotate(-1deg);
}
.noise-layer {
  background-image: radial-gradient(
      rgba(255, 250, 240, 0.1) 1px,
      transparent 1px
    ),
    radial-gradient(rgba(26, 18, 8, 0.08) 1px, transparent 1px);
  background-size: 84px 84px, 120px 120px;
  mix-blend-mode: soft-light;
  opacity: 0.08;
  animation: none;
}
.tech-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.18;
}
.dark .tech-grid {
  background-image:
    linear-gradient(rgba(247, 167, 31, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 167, 31, 0.09) 1px, transparent 1px);
  opacity: 0.28;
}
.tech-sweep {
  background:
    linear-gradient(90deg, transparent 0%, rgba(247, 167, 31, 0.08) 46%, rgba(247, 167, 31, 0.22) 50%, rgba(247, 167, 31, 0.08) 54%, transparent 100%);
  opacity: 0.5;
  mix-blend-mode: screen;
  animation: sweepX 10s linear infinite;
}
.dark .tech-sweep {
  opacity: 0.72;
}
.tech-diagonals {
  background-image:
    repeating-linear-gradient(
      116deg,
      transparent 0 32px,
      rgba(255, 255, 255, 0.04) 32px 33px,
      transparent 33px 88px
    );
  opacity: 0.4;
  animation: driftDiagonal 26s linear infinite;
}
.dark .tech-diagonals {
  background-image:
    repeating-linear-gradient(
      116deg,
      transparent 0 32px,
      rgba(247, 167, 31, 0.05) 32px 33px,
      transparent 33px 88px
    );
}
.tech-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(247, 167, 31, 0.28);
  box-shadow: inset 0 0 40px rgba(247, 167, 31, 0.05);
}
.dark .tech-orbit {
  border-color: rgba(247, 167, 31, 0.34);
}
.tech-orbit::before,
.tech-orbit::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}
.tech-orbit::before {
  inset: 12%;
  border: 1px dashed rgba(255, 255, 255, 0.16);
}
.dark .tech-orbit::before {
  border-color: rgba(255, 255, 255, 0.12);
}
.tech-orbit::after {
  width: 14px;
  height: 14px;
  top: 50%;
  left: 50%;
  margin: -7px 0 0 -7px;
  background: #f7a71f;
  box-shadow: 0 0 22px rgba(247, 167, 31, 0.6);
  animation: orbitPulse 4.8s ease-in-out infinite;
}
.orbit-lg {
  right: 9%;
  top: 18%;
  width: 420px;
  height: 420px;
  animation: rotateOrbit 26s linear infinite;
}
.orbit-sm {
  right: 16%;
  top: 32%;
  width: 170px;
  height: 170px;
  animation: rotateOrbitReverse 16s linear infinite;
}
.tech-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f7a71f;
  box-shadow: 0 0 18px rgba(247, 167, 31, 0.45);
  animation: nodeBlink 4s ease-in-out infinite;
}
.tech-node.node-1 {
  left: 12%;
  top: 16%;
  animation-delay: 0s;
}
.tech-node.node-2 {
  left: 24%;
  bottom: 21%;
  animation-delay: 1.2s;
}
.tech-node.node-3 {
  right: 19%;
  top: 13%;
  animation-delay: 2.1s;
}
.tech-node.node-4 {
  right: 8%;
  bottom: 26%;
  animation-delay: 0.7s;
}
.tech-node.node-5 {
  left: 53%;
  top: 46%;
  animation-delay: 2.8s;
}
.tech-constellation {
  position: absolute;
  inset: 0;
  opacity: 0.32;
}
.tech-constellation line {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
}
.dark .tech-constellation line {
  stroke: rgba(247, 167, 31, 0.2);
}
.tech-constellation circle {
  fill: #f7a71f;
}
.tech-radar {
  position: absolute;
  inset: 8% 0 0 auto;
  width: 52vw;
  max-width: 760px;
  height: 72vh;
  max-height: 760px;
  pointer-events: none;
  opacity: 0.62;
}
.tech-radar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 0deg, transparent 0deg, rgba(247, 167, 31, 0.16) 24deg, transparent 58deg);
  border-radius: 999px;
  filter: blur(1px);
  animation: radarSpin 8s linear infinite;
}
.tech-radar::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(247, 167, 31, 0.12);
  border-radius: 999px;
}
.tech-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.tech-particles span {
  position: absolute;
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 12px rgba(247, 167, 31, 0.4);
  animation: floatParticle 14s linear infinite;
}
.tech-particles span:nth-child(1) { left: 7%; top: 72%; animation-delay: 0s; }
.tech-particles span:nth-child(2) { left: 15%; top: 32%; animation-delay: -2s; }
.tech-particles span:nth-child(3) { left: 28%; top: 58%; animation-delay: -5s; }
.tech-particles span:nth-child(4) { left: 41%; top: 14%; animation-delay: -1s; }
.tech-particles span:nth-child(5) { left: 57%; top: 68%; animation-delay: -6s; }
.tech-particles span:nth-child(6) { left: 66%; top: 24%; animation-delay: -3s; }
.tech-particles span:nth-child(7) { left: 78%; top: 48%; animation-delay: -8s; }
.tech-particles span:nth-child(8) { left: 88%; top: 18%; animation-delay: -4s; }
.tech-particles span:nth-child(9) { left: 82%; top: 78%; animation-delay: -9s; }
.tech-particles span:nth-child(10) { left: 34%; top: 84%; animation-delay: -7s; }
.tech-particles span:nth-child(11) { left: 50%; top: 40%; animation-delay: -11s; }
.tech-particles span:nth-child(12) { left: 93%; top: 58%; animation-delay: -10s; }
@keyframes noiseShift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-40px, 30px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes sweepX {
  from {
    transform: translateX(-38%);
  }
  to {
    transform: translateX(38%);
  }
}
@keyframes driftDiagonal {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-140px, 80px, 0);
  }
}
@keyframes rotateOrbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes rotateOrbitReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}
@keyframes radarSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes nodeBlink {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.8);
    opacity: 1;
  }
}
@keyframes orbitPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}
@keyframes floatParticle {
  0% {
    transform: translate3d(0, 0, 0) scale(0.85);
    opacity: 0.25;
  }
  20% {
    opacity: 0.85;
  }
  50% {
    transform: translate3d(22px, -18px, 0) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translate3d(-18px, -42px, 0) scale(0.75);
    opacity: 0.15;
  }
}
.drop-target {
  min-height: 72px;
  border: 1px dashed transparent;
  border-radius: 24px;
  padding: 10px;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}
.drop-target.is-active {
  border-color: rgba(247, 167, 31, 0.58);
  background-color: rgba(247, 167, 31, 0.1);
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(247, 167, 31, 0.1);
}
.dark .drop-target.is-active {
  border-color: rgba(247, 167, 31, 0.44);
  background-color: rgba(247, 167, 31, 0.12);
}
.subtree-connector {
  position: relative;
}
.subtree-connector::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 12px;
  width: 1px;
  background: rgba(148, 163, 184, 0.25);
}
.dark .subtree-connector::before {
  background: rgba(148, 163, 184, 0.18);
}
.subtodo-shell {
  margin-left: 1.25rem;
}
.subtodo-card {
  background: rgba(255, 245, 230, 0.9);
}
.dark .subtodo-card {
  background: rgba(50, 34, 11, 0.48);
}
.bg-orb,
.dashboard-panel,
.dashboard-hero,
#lockScreen,
#confirmDialog,
.todo-card {
  backdrop-filter: blur(10px);
}
.app-bg-image {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(247, 244, 239, 0.46), rgba(247, 244, 239, 0.62)),
    url("../../assets/generated/todo-bg-v1.png");
  background-size: cover;
  background-position: center;
  opacity: 0.48;
  transform: scale(1.01);
  animation: none;
}
.dark .app-bg-image {
  background-image:
    linear-gradient(180deg, rgba(5, 5, 6, 0.46), rgba(5, 5, 6, 0.7)),
    url("../../assets/generated/todo-bg-v1.png");
  opacity: 0.35;
}
.app-grid-lines {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 95%);
  opacity: 0.08;
}
.dark .app-grid-lines {
  background-image:
    linear-gradient(rgba(247, 167, 31, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 167, 31, 0.08) 1px, transparent 1px);
  opacity: 0.12;
}
.bg-orb {
  border-radius: 999px;
  filter: blur(10px);
  animation: none;
}
.dashboard-stage {
  max-width: 1320px;
  width: 100%;
  max-width: min(1320px, 100%);
}
.dashboard-hero,
#lockScreen,
#confirmDialog {
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 50px rgba(20, 20, 24, 0.08);
}
.dark .dashboard-hero,
.dark #lockScreen,
.dark #confirmDialog {
  background: rgba(12, 12, 14, 0.84);
}
.dashboard-hero {
  position: relative;
  overflow: hidden;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(23, 24, 27, 0.08);
  background: rgba(255, 255, 255, 0.55);
  padding: 0.55rem 0.95rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.dark .hero-kicker {
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}
.hero-kicker::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #f7a71f;
  box-shadow: none;
}
.hero-stat {
  border: 1px solid rgba(23, 24, 27, 0.08);
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
}
.dark .hero-stat {
  background: rgba(255, 255, 255, 0.04);
}
.hero-side-card {
  border: 1px solid rgba(23, 24, 27, 0.08);
  background: rgba(255, 255, 255, 0.58);
}
.dark .hero-side-card {
  background: rgba(255, 255, 255, 0.03);
}
.dashboard-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
}
.dashboard-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--panel-border) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 18px 42px rgba(20, 20, 24, 0.08);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 260ms ease;
  animation: fadeLift 420ms ease both;
}
.dark .dashboard-panel {
  background: rgba(13, 13, 15, 0.82) !important;
}
.dashboard-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(30, 22, 12, 0.1);
}
.dashboard-panel::before {
  display: none;
}
.dashboard-panel::after {
  display: none;
}
[data-panel="today"] {
  background: rgba(255, 251, 244, 0.88) !important;
}
.dark [data-panel="today"] {
  background: rgba(15, 15, 18, 0.88) !important;
}
[data-panel="archive"]::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%);
}
[data-collapse-icon] {
  border-color: rgba(23, 24, 27, 0.08) !important;
  background: rgba(255, 255, 255, 0.62);
  color: #52545d !important;
}
.dark [data-collapse-icon] {
  background: rgba(255, 255, 255, 0.04);
  color: #d9d9dd !important;
}
[data-add-button] {
  border-color: rgba(247, 167, 31, 0.28) !important;
  background: #f7a71f !important;
  color: #24180b !important;
  box-shadow: 0 10px 22px rgba(247, 167, 31, 0.16);
}
[data-add-button]:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(247, 167, 31, 0.2);
}
[data-input-field],
[data-edit-input],
[data-subtodo-input],
#passwordInput {
  border-color: rgba(23, 24, 27, 0.08) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  color: #17181b !important;
  box-shadow: none;
}
.dark [data-input-field],
.dark [data-edit-input],
.dark [data-subtodo-input],
.dark #passwordInput {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #f4f4f5 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
[data-input-field]:focus,
[data-edit-input]:focus,
[data-subtodo-input]:focus,
#passwordInput:focus {
  border-color: rgba(247, 167, 31, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(247, 167, 31, 0.14) !important;
}
.todo-card {
  border-color: rgba(23, 24, 27, 0.08) !important;
  background: rgba(255, 255, 255, 0.62) !important;
  box-shadow: 0 10px 24px rgba(20, 20, 24, 0.06) !important;
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}
.dark .todo-card {
  background: rgba(255, 255, 255, 0.03) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
}
.todo-card:hover {
  transform: translateY(-1px);
  border-color: rgba(247, 167, 31, 0.24) !important;
  box-shadow: 0 14px 30px rgba(30, 22, 12, 0.08) !important;
}
.todo-check-btn {
  border-color: rgba(23, 24, 27, 0.08) !important;
  background: rgba(255, 255, 255, 0.66) !important;
  color: #17181b !important;
}
.dark .todo-check-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #f4f4f5 !important;
}
.todo-check-btn[data-done="true"] {
  background: linear-gradient(135deg, #f7a71f 0%, #ffd07f 100%) !important;
  border-color: rgba(247, 167, 31, 0.6) !important;
  color: #26180b !important;
}
.todo-action-btn,
.todo-secondary-btn,
.todo-danger-btn,
.todo-pill {
  border-radius: 999px;
}
.todo-action-btn,
.todo-secondary-btn {
  border: 1px solid rgba(23, 24, 27, 0.08) !important;
  background: rgba(255, 255, 255, 0.55);
  color: #4d5058 !important;
}
.dark .todo-action-btn,
.dark .todo-secondary-btn {
  background: rgba(255, 255, 255, 0.03);
  color: #d7d7dc !important;
}
.todo-action-btn:hover,
.todo-secondary-btn:hover {
  border-color: rgba(247, 167, 31, 0.4) !important;
  color: #ffffff !important;
  background: rgba(247, 167, 31, 0.12);
}
.dark .todo-action-btn:hover,
.dark .todo-secondary-btn:hover {
  background: rgba(247, 167, 31, 0.12);
  color: #ffffff !important;
}
.todo-danger-btn {
  border: 1px solid rgba(239, 68, 68, 0.22) !important;
  background: rgba(255, 242, 242, 0.84);
}
.dark .todo-danger-btn {
  background: rgba(239, 68, 68, 0.12);
}
.todo-pill {
  background: rgba(247, 167, 31, 0.12);
  color: #f7a71f !important;
}
.dark .todo-pill {
  background: rgba(247, 167, 31, 0.12);
  color: #f7a71f !important;
}
.empty-state-btn {
  border-color: rgba(23, 24, 27, 0.08) !important;
  background: rgba(255, 255, 255, 0.52) !important;
  color: #666973 !important;
}
.dark .empty-state-btn {
  background: rgba(255, 255, 255, 0.03) !important;
  color: #c8c8cd !important;
}
#confirmOverlay {
  background: rgba(17, 12, 8, 0.46) !important;
}
#confirmAction {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
}
@keyframes bgDrift {
  0%,
  100% {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.09) translate3d(-1.2%, -0.8%, 0);
  }
}
@keyframes orbFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -16px, 0);
  }
}
@keyframes fadeLift {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .noise-layer,
  .app-bg-image,
  .bg-orb,
  .dashboard-panel::before,
  .tech-sweep,
  .tech-diagonals,
  .tech-orbit,
  .tech-radar::before,
  .tech-node,
  .tech-particles span {
    animation: none !important;
  }
}
@media (max-width: 1024px) {
  .todo-card-mobile-controls {
    display: flex;
  }

  .todo-card-desktop-controls {
    display: none;
  }

  .todo-card-desktop-controls-subtodo {
    display: flex;
  }

  .todo-card-progress-desktop {
    display: none;
  }

  .todo-card-progress-mobile {
    display: block;
  }

  .todo-children-toggle-desktop {
    display: none;
  }

  .todo-children-toggle-mobile {
    display: inline;
  }

  .todo-card-actions {
    display: none;
  }

  .todo-card-actions[data-open="true"] {
    display: flex;
  }
}
@media (max-width: 640px) {
  .todo-card-mobile-controls {
    display: flex;
  }

  .todo-card-desktop-controls {
    display: none;
  }

  .todo-card-desktop-controls-subtodo {
    display: flex;
  }

  .todo-card-progress-desktop {
    display: none;
  }

  .todo-card-progress-mobile {
    display: block;
  }

  .todo-children-toggle-desktop {
    display: none;
  }

  .todo-children-toggle-mobile {
    display: inline;
  }

  html,
  body.app-shell,
  #appRoot,
  .dashboard-stage,
  .dashboard-grid,
  .dashboard-hero,
  .dashboard-panel,
  #lockScreen {
    max-width: 100%;
  }

  .tech-sweep {
    left: -10% !important;
    width: 34% !important;
  }

  .tech-radar {
    inset: 10% -8% 0 auto;
    width: 68vw;
    max-width: 280px;
    height: 42vh;
    max-height: 280px;
    overflow: hidden;
  }

  .orbit-lg {
    width: 240px;
    height: 240px;
    right: 0;
    top: 16%;
  }

  .orbit-sm {
    width: 110px;
    height: 110px;
    right: 12%;
    top: 30%;
  }

  .bg-orb {
    width: min(62vw, 16rem) !important;
    height: min(62vw, 16rem) !important;
  }

  .todo-card {
    width: 100%;
    max-width: 100%;
  }

  .todo-card-layout {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .todo-card-main {
    min-width: 0;
    flex: 1 1 calc(100% - 3rem);
  }

  .todo-card-meta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .todo-card-title-row {
    min-width: 0;
  }

  .todo-card-meta > .todo-title,
  .todo-card-meta > button.todo-title,
  .todo-card-meta > span.todo-title {
    flex: 1 1 100%;
    min-width: 0;
    line-height: 1.45;
  }

  .todo-card-progress {
    min-width: 0;
  }

  .todo-card-mobile-controls {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .todo-card-mobile-controls > * {
    flex: 0 1 auto;
  }

  .todo-card-actions {
    flex: 1 1 100%;
    justify-content: flex-start;
    margin-top: 0.75rem;
    padding-left: calc(1.75rem + 0.75rem);
    display: none;
  }

  .todo-card-actions[data-open="true"] {
    display: flex;
  }

  .todo-card-actions-subtodo {
    display: none !important;
  }

  .todo-action-btn,
  .todo-secondary-btn,
  .todo-danger-btn,
  .todo-pill {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .todo-action-btn,
  .todo-secondary-btn,
  .todo-danger-btn {
    min-height: 2.25rem;
  }

  .subtodo-shell {
    margin-left: 0.75rem;
  }

  .todo-children-toggle {
    max-width: 100%;
    text-align: left;
    white-space: normal;
    line-height: 1.35;
  }

  .todo-children-toggle-mobile {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }

  .todo-title::after {
    top: 1.05em;
  }

  .subtodo-shell .todo-card-subtodo {
    border-radius: 16px;
    box-shadow: none !important;
    background: transparent !important;
    border-color: rgba(23, 24, 27, 0.06) !important;
  }

  .dark .subtodo-shell .todo-card-subtodo {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
  }

  .subtodo-shell .todo-card-subtodo .todo-card-layout {
    gap: 0.625rem;
  }

  .subtodo-shell .todo-card-subtodo .todo-card-main {
    flex-basis: calc(100% - 2.25rem);
  }

  .subtodo-shell .todo-card-subtodo .todo-card-meta {
    gap: 0.25rem;
  }
}
