body {
  background-color: #000000;
  color: #dfe5cf;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.glowing-dot {
  box-shadow: 0 0 12px #8cdc00;
}
.solo-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #000;
}
.solo-splash-logo {
  display: block;
  filter: drop-shadow(0 0 20px rgba(140, 220, 0, 0.45));
}
.solo-splash-brand {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #fff;
}
.solo-splash-status {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8cdc00;
}
.solo-splash-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}
.solo-splash-bar-fill {
  height: 100%;
  width: 0;
  background: #8cdc00;
  box-shadow: 0 0 10px #8cdc00;
  animation: solo-splash-progress 1.2s ease-out forwards;
}
.solo-splash--exit {
  animation: solo-splash-fade 0.4s ease-out forwards;
}
@keyframes solo-splash-progress {
  to { width: 100%; }
}
@keyframes solo-splash-fade {
  to { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .solo-splash-bar-fill {
    animation: none;
    width: 100%;
  }
  .solo-splash--exit {
    animation: none;
    opacity: 0;
  }
}
.progress-ring-circle {
  transition: stroke-dashoffset 0.35s;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}
.pixel-block {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}
.pixel-block.active {
  background: #8cdc00;
  box-shadow: 0 0 6px rgba(140, 220, 0, 0.5);
}
.pixel-block.idle {
  background: #222222;
}
.solo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.solo-logo {
  display: block;
  flex-shrink: 0;
}
.solo-brand--hero .solo-logo {
  width: 48px;
  height: 48px;
}
.solo-brand--hero .solo-brand-text {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #fff;
}
.solo-brand--sm .solo-logo {
  width: 32px;
  height: 32px;
}
.solo-nav {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.solo-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  overflow: hidden;
  text-decoration: none;
  transition: color 0.2s;
}
.solo-nav-item:not(.solo-nav-item--active) {
  color: rgba(255, 255, 255, 0.4);
}
.solo-nav-item:not(.solo-nav-item--active):hover {
  color: #ffffff;
}
.solo-nav-item--active {
  color: #8cdc00;
}
.solo-nav-glow {
  position: absolute;
  inset: 0;
  background: rgba(140, 220, 0, 0.1);
}
.solo-nav-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 2px;
  background: #8cdc00;
  box-shadow: 0 0 10px #8cdc00;
}
.solo-nav-icon {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  position: relative;
}
.solo-nav-item--active .solo-nav-icon {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.solo-nav-label {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}
.modal-backdrop {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}
.modal-shell {
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.modal-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8cdc00;
  margin-bottom: 0.25rem;
}
.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}
.modal-close {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.25rem;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.modal-close:hover {
  color: #8cdc00;
  border-color: rgba(140, 220, 0, 0.35);
  background: rgba(140, 220, 0, 0.06);
}
.modal-body {
  padding: 1.25rem 1.5rem;
  max-height: min(70vh, 520px);
  overflow-y: auto;
}
.modal-footer {
  padding: 0 1.5rem 1.25rem;
}
.modal-btn {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.modal-btn--primary {
  background: #fff;
  color: #000;
  border: none;
}
.modal-btn--primary:hover {
  background: #8cdc00;
}
.modal-btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.modal-btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.modal-btn--danger {
  background: #dc2626;
  color: #fff;
  border: none;
}
.modal-btn--danger:hover {
  background: #ef4444;
}
.modal-btn--danger-outline {
  background: transparent;
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.modal-btn--danger-outline:hover {
  background: rgba(239, 68, 68, 0.1);
}
.solo-field__label {
  display: block;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.4rem;
}
.solo-field__sublabel {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.35rem;
}
.solo-field__hint {
  margin-top: 0.4rem;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}
.solo-field__control:focus-within {
  border-color: rgba(140, 220, 0, 0.45);
  box-shadow: 0 0 0 1px rgba(140, 220, 0, 0.15);
}
.solo-field__control {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.solo-input {
  width: 100%;
  background: #0a0a0a;
  border: none;
  padding: 0.65rem 0.85rem;
  font-size: 14px;
  color: #fff;
  outline: none;
  border-radius: 0.25rem;
}
.solo-input--area {
  min-height: 72px;
  resize: vertical;
}
.solo-input--select {
  appearance: none;
  cursor: pointer;
}
.solo-date-input {
  color-scheme: dark;
}
.solo-segment {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: #0a0a0a;
  border-radius: 0.25rem;
}
.solo-segment__btn {
  flex: 1;
  padding: 0.5rem 0.35rem;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  background: transparent;
  border: none;
  border-radius: 0.2rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.solo-segment__btn--on {
  background: #8cdc00;
  color: #000;
}
.solo-segment__btn:hover:not(.solo-segment__btn--on) {
  color: rgba(255, 255, 255, 0.75);
}
.solo-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.modal-panel {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.overload-bar {
  background: #93000a;
  height: 4px;
}
.gantt-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
}
.gantt-shell {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: 360px;
  height: 100%;
}
.gantt-sidebar-col {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.15);
}
.gantt-sidebar-header {
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.gantt-sidebar-row {
  position: relative;
  min-height: 56px;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.15s;
}
.gantt-sidebar-row--depth-1 {
  border-left: 2px solid rgba(140, 220, 0, 0.25);
}
.gantt-sidebar-row--depth-2 {
  border-left: 2px solid rgba(140, 220, 0, 0.15);
}
.gantt-sidebar-row:hover {
  background: rgba(255, 255, 255, 0.02);
}
.gantt-sidebar-row--focus-self {
  background: rgba(140, 220, 0, 0.06);
}
.gantt-sidebar-title-line {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}
.gantt-sidebar-name {
  flex: 1;
  min-width: 0;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gantt-sidebar-name--task {
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
}
.gantt-sidebar-name--open {
  cursor: pointer;
}
.gantt-sidebar-name--open:hover {
  color: #8cdc00;
}
.gantt-sidebar-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding-left: 1.25rem;
  flex-wrap: wrap;
}
.gantt-sidebar-meta-text {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  font-family: ui-monospace, monospace;
}
.gantt-sidebar-menu-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.35rem;
}
.gantt-sidebar-progress {
  flex: 1;
  min-width: 48px;
  max-width: 80px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.gantt-sidebar-progress-fill {
  height: 100%;
  background: #8cdc00;
  border-radius: 2px;
}
.gantt-timeline-pane {
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.chronos-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 520px;
  position: relative;
}
/* ponytail: labels col fixed; tracks pane scroll-x; upgrade = sync scroll virtualized rows */
.chronos-split {
  display: flex;
  align-items: flex-start;
  /* Chronos Gantt hierarchy — Figma palette + brand macro */
  --chronos-macro: #8cdc00;
  --chronos-subproject: #3277ee;
  --chronos-task: #eea932;
  --chronos-subtask: #ee3248;
  --chronos-macro-rgb: 140, 220, 0;
  --chronos-subproject-rgb: 50, 119, 238;
  --chronos-task-rgb: 238, 169, 50;
  --chronos-subtask-rgb: 238, 50, 72;
}
.chronos-labels-col {
  width: 280px;
  flex-shrink: 0;
  z-index: 5;
  background: #0a0a0a;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.chronos-tracks-pane {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
}
.chronos-tracks-inner {
  position: relative;
  min-height: 100%;
}
.chronos-split-label,
.chronos-split-track {
  min-height: 48px;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.chronos-split-label--head,
.chronos-split-track--head {
  min-height: 52px;
  position: sticky;
  top: 0;
  z-index: 4;
  background: #0a0a0a;
}
.chronos-split-label--head {
  z-index: 6;
}
.chronos-labels-col .chronos-row-label {
  width: 100%;
  position: static;
  border-right: none;
}
.chronos-split-label--project,
.chronos-split-track--project {
  background: rgba(140, 220, 0, 0.06);
}
.chronos-split-label--subproject,
.chronos-split-track--subproject {
  background: rgba(50, 119, 238, 0.04);
}
.chronos-canvas {
  position: relative;
  min-width: 100%;
}
.chronos-row {
  display: flex;
  min-height: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.chronos-row--head {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #0a0a0a;
  min-height: 52px;
}
.chronos-row--project {
  background: rgba(140, 220, 0, 0.06);
}
.chronos-row-label {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  left: 0;
  z-index: 3;
  background: #0a0a0a;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.chronos-row-label--head {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.chronos-row-label--with-meta {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.chronos-row-label--task:not(.chronos-row-label--subtask) {
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  padding-left: 1.5rem;
  border-left: 2px solid rgba(238, 169, 50, 0.35);
}
.chronos-row-label--task {
  font-weight: 400;
  font-style: italic;
  padding-left: 1.5rem;
}
.chronos-row-label--task[data-task-reorder] {
  cursor: grab;
  touch-action: none;
}
.chronos-row--dragging {
  opacity: 0.55;
}
.chronos-row-reorder-indicator {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #8cdc00;
  box-shadow: 0 0 6px rgba(140, 220, 0, 0.6);
  pointer-events: none;
  z-index: 6;
}
.chronos-row-label--drill {
  cursor: pointer;
}
.chronos-row-label--drill:hover {
  color: #8cdc00;
  background: rgba(140, 220, 0, 0.06);
}
.chronos-row--overview .gantt-bar {
  cursor: pointer;
}
.chronos-row--overview .gantt-bar:hover {
  filter: brightness(1.08);
}
.chronos-row-track {
  flex: 1;
  min-width: 0;
}
.chronos-row-track-inner {
  position: relative;
}
.chronos-project-card:last-child {
  border-bottom: none;
}
.gantt-bar {
  height: 28px;
  border-radius: 4px;
  min-width: 4px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gantt-bar.project {
  height: 32px;
}
.gantt-bar.task {
  height: 36px;
}
.gantt-bar.task .gantt-bar-label {
  font-size: 11px;
}
.gantt-bar-progress {
  position: absolute;
  inset: 0 auto 0 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 0;
}
.gantt-bar-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
}
/* ponytail: holo fill ~12%, border ~45%, edge inset glow; upgrade = scan line */
.gantt-bar--subproject.active,
.gantt-bar--task-root.active,
.gantt-bar--subtask.active {
  --chronos-fill-a: 0.14;
  --chronos-fill-b: 0.08;
  border: 1px solid rgba(var(--chronos-bar-rgb), 0.45);
  background: linear-gradient(
    90deg,
    rgba(var(--chronos-bar-rgb), var(--chronos-fill-a)),
    rgba(var(--chronos-bar-rgb), var(--chronos-fill-b))
  );
  box-shadow:
    0 0 10px rgba(var(--chronos-bar-rgb), 0.18),
    inset 0 0 24px rgba(var(--chronos-bar-rgb), 0.06);
}
.gantt-bar--subproject.active {
  box-shadow:
    0 0 10px rgba(var(--chronos-bar-rgb), 0.18),
    inset 0 0 24px rgba(var(--chronos-bar-rgb), 0.06),
    inset 3px 0 10px rgba(var(--chronos-bar-rgb), 0.32),
    inset -3px 0 10px rgba(var(--chronos-bar-rgb), 0.32);
}
.gantt-bar--macro.active {
  background: linear-gradient(90deg, #8cdc00, #a0fb00);
  border: none;
  box-shadow: none;
}
.gantt-bar--macro.active .gantt-bar-label {
  color: #000;
  text-shadow: none;
}
.gantt-bar--subproject.active {
  --chronos-bar-rgb: var(--chronos-subproject-rgb);
  height: 32px;
}
.gantt-bar--task-root.active {
  --chronos-bar-rgb: var(--chronos-task-rgb);
}
.gantt-bar--subtask.active {
  --chronos-bar-rgb: var(--chronos-subtask-rgb);
  --chronos-fill-a: 0.1;
  --chronos-fill-b: 0.05;
  height: 18px;
}
.gantt-bar--subproject.active .gantt-bar-label,
.gantt-bar--task-root.active .gantt-bar-label,
.gantt-bar--subtask.active .gantt-bar-label {
  color: rgb(var(--chronos-bar-rgb));
  text-shadow: 0 0 12px rgba(var(--chronos-bar-rgb), 0.35);
}
.gantt-bar--subtask.active .gantt-bar-label {
  font-size: 10px;
}
.chronos-row-label--subproject {
  font-weight: 600;
  color: #fff;
}
.gantt-bar.stalled {
  --chronos-bar-rgb: var(--chronos-task-rgb);
  background: rgba(var(--chronos-task-rgb), 0.06);
  border: 1px dashed rgba(var(--chronos-task-rgb), 0.42);
  box-shadow: inset 0 0 16px rgba(var(--chronos-task-rgb), 0.05);
}
.gantt-bar.mutation {
  background: linear-gradient(90deg, rgba(255, 122, 0, 0.85), rgba(255, 182, 139, 0.75));
  border: 1px solid rgba(255, 122, 0, 0.5);
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.2);
}
.gantt-bar-label {
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 8px;
}
.gantt-bar.stalled .gantt-bar-label,
.gantt-bar.task.stalled .gantt-bar-label {
  color: rgba(238, 169, 50, 0.75);
  text-shadow: none;
}
.gantt-bar--draggable:hover:not(.gantt-bar--dragging) {
  filter: brightness(1.12);
}
.gantt-today-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #8cdc00;
  box-shadow: 0 0 8px #8cdc00;
  pointer-events: none;
  z-index: 4;
}
.day-col {
  width: 32px;
  min-width: 32px;
  flex-shrink: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}
.day-col--pickable {
  cursor: pointer;
}
.day-col--pickable:hover {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.04);
}
.day-col--picked,
.chronos-day-col--picked {
  background: rgba(140, 220, 0, 0.1);
  color: #8cdc00;
  font-weight: 700;
}
.chronos-day-columns {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.chronos-day-col {
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}
.chronos-zoom-group {
  align-items: center;
  gap: 0.35rem;
}
.chronos-zoom-btn {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.chronos-zoom-btn:hover {
  border-color: rgba(140, 220, 0, 0.45);
  color: #8cdc00;
}
.chronos-zoom-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  min-width: 2.5rem;
  text-align: center;
}
.day-col--drag-edge,
.day-col--drag-range {
  background: rgba(140, 220, 0, 0.22);
  color: #8cdc00;
  font-weight: 700;
}
.month-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.chronos-filter-chip {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}
.chronos-filter-group {
  align-items: center;
}
.chronos-filter-label {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-right: 0.15rem;
}
.chronos-row-label__text {
  display: block;
}
.chronos-row-label__meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 10px;
  font-weight: 500;
  font-style: normal;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0;
  text-transform: none;
}
.chronos-bar-tip__meta {
  margin-top: 0.2rem;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
}
.chronos-filter-chip--on {
  border-color: rgba(140, 220, 0, 0.4);
  color: #8cdc00;
  background: rgba(140, 220, 0, 0.08);
}
.gantt-row-expand {
  cursor: pointer;
  user-select: none;
}
.chronos-menu {
  position: fixed;
  z-index: 90;
  min-width: 160px;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.35rem 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}
.chronos-bar-tip {
  position: fixed;
  z-index: 85;
  pointer-events: none;
  max-width: 280px;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  background: rgba(10, 10, 10, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}
.chronos-bar-tip__kind {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.chronos-bar-tip__name {
  margin-top: 0.15rem;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  word-break: break-word;
}
.chronos-menu button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.85rem;
  font-size: 13px;
  color: #dfe5cf;
}
.chronos-menu button:hover {
  background: rgba(255, 255, 255, 0.06);
}
.chronos-menu button[data-action='delete'],
.chronos-menu button[data-action='delete-task'] {
  color: #ffb4ab;
}
.chronos-menu button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.chronos-menu .material-symbols-outlined {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
}
.chronos-view-picker {
  position: relative;
}
.chronos-view-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.45);
}
.chronos-view-nav:hover {
  color: #8cdc00;
}
.chronos-view-nav .material-symbols-outlined {
  font-size: 22px;
}
.chronos-view-today {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  background: transparent;
  border: none;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}
.chronos-view-today:hover {
  color: #8cdc00;
}
.chronos-view-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 90;
  min-width: 180px;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.35rem 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}
.chronos-view-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.85rem;
  font-size: 13px;
  color: #dfe5cf;
  background: transparent;
  border: none;
  cursor: pointer;
}
.chronos-view-menu button:hover {
  background: rgba(255, 255, 255, 0.06);
}
.chronos-view-option--on {
  color: #8cdc00;
  font-weight: 700;
}
.gantt-bar.done {
  opacity: 0.45;
  filter: saturate(0.55);
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: none !important;
}
.gantt-bar.done .gantt-bar-label {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
}
.gantt-bar--draggable {
  cursor: grab;
  touch-action: none;
  overflow: visible;
}
.gantt-bar--draggable:active,
.gantt-bar--dragging {
  cursor: grabbing;
  z-index: 3;
  filter: brightness(1.12);
}
.gantt-bar.stalled[title],
.gantt-bar.project.stalled {
  cursor: help;
}
.chronos-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
.chronos-drawer:not(.hidden) {
  pointer-events: auto;
}
.chronos-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.chronos-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 100vw);
  background: #0a0a0a;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.2s ease;
}
.chronos-drawer:not(.hidden) .chronos-drawer-panel {
  transform: translateX(0);
}
.chronos-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.chronos-drawer-close {
  color: rgba(255, 255, 255, 0.5);
  padding: 0.25rem;
}
.chronos-drawer-close:hover {
  color: #fff;
}
.chronos-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}
.chronos-drawer-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}
.chronos-drawer-meta {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.chronos-drawer-field label {
  display: block;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(140, 220, 0, 0.55);
  margin-bottom: 0.35rem;
}
.chronos-drawer-value {
  font-size: 14px;
  font-weight: 600;
  color: #e8ece0;
  margin: 0;
  padding: 0.45rem 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
.chronos-drawer-value--accent {
  color: #8cdc00;
  border-color: rgba(140, 220, 0, 0.25);
  background: rgba(140, 220, 0, 0.06);
}
.chronos-drawer-field select,
.chronos-drawer-field textarea {
  font-size: 13px;
  color: #e8ece0;
}
.chronos-drawer-field select {
  width: 100%;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 0.5rem 0.65rem;
}
.chronos-drawer-field select option {
  background: #121212;
  color: #e8ece0;
}
.chronos-drawer-date {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.25rem;
  padding: 0.45rem 0.55rem;
  font-size: 13px;
  color: #fff;
  color-scheme: dark;
}
.chronos-status-toggle {
  display: flex;
  gap: 0.5rem;
}
.chronos-status-chip {
  flex: 1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.45);
  background: #000;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.chronos-status-chip:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.75);
}
.chronos-status-chip--on {
  border-color: rgba(140, 220, 0, 0.5);
  color: #8cdc00;
  background: rgba(140, 220, 0, 0.1);
}
.chronos-status-chip[data-status='DONE'].chronos-status-chip--on {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
}
.chronos-drawer-field textarea {
  width: 100%;
  min-height: 72px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 0.5rem 0.65rem;
  resize: vertical;
  color: #e8ece0;
}
.chronos-drawer-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.chronos-drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.chronos-drawer-actions button {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
}
.chronos-drawer-actions button.primary {
  background: #8cdc00;
  color: #000;
  border-color: #8cdc00;
}
.chronos-drawer-actions button.danger {
  color: #ffb4ab;
  border-color: rgba(255, 180, 171, 0.35);
}
.chronos-drawer-log {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.chronos-row-label--done {
  opacity: 0.55;
}
.chronos-row-label--done::before {
  content: '✓ ';
  color: #8cdc00;
}
.chronos-row-label--depth-1 {
  padding-left: 0.75rem;
  border-left: 2px solid rgba(50, 119, 238, 0.4);
}
.chronos-row-label--subtask {
  padding-left: 2.25rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
  border-left: 2px solid rgba(238, 50, 72, 0.35);
}
.chronos-split-label--subtask .chronos-row-label--task {
  padding-left: 2.25rem;
  color: rgba(255, 255, 255, 0.72);
  border-left: 2px solid rgba(238, 50, 72, 0.35);
}
.chronos-drawer-subtask input {
  accent-color: #8cdc00;
}
/* ponytail: diamonds outside bar; solid white; upgrade = hide if width < 32px + deps */
.gantt-bar-handle {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  z-index: 3;
  pointer-events: auto;
  cursor: ew-resize;
  background: #fff;
  border: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0;
  transition: opacity 0.12s;
}
.gantt-bar-handle--left {
  left: -8px;
}
.gantt-bar-handle--right {
  right: -8px;
}
.gantt-bar--draggable:hover .gantt-bar-handle,
.gantt-bar--dragging .gantt-bar-handle {
  opacity: 1;
}
.gantt-bar--resize,
.gantt-bar--resize:active,
.gantt-bar--resize.gantt-bar--dragging {
  cursor: ew-resize;
}
.chronos-project-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.chronos-project-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}
.chronos-stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
}
.chronos-stat-box p:first-child {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.chronos-stat-box p:last-child {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-top: 0.15rem;
}
.chronos-progress-track {
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
}
.chronos-progress-done {
  background: #8cdc00;
  transition: width 0.2s ease;
}
.chronos-progress-pending {
  background: rgba(255, 255, 255, 0.12);
  flex: 1;
}
.chronos-panel-desc {
  width: 100%;
  min-height: 80px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 0.65rem;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  resize: vertical;
}
.gantt-status-badge {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.1rem 0.35rem;
  border-radius: 2px;
}
.timer-elapsed {
  font-variant-numeric: tabular-nums;
}
.solo-toast {
  position: fixed;
  bottom: 6rem;
  left: 50%;
  top: auto;
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
  z-index: 200;
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 18, 18, 0.95);
  color: #dfe5cf;
  backdrop-filter: blur(8px);
}
.solo-toast--show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.solo-toast--ok {
  border-color: rgba(140, 220, 0, 0.35);
  color: #8cdc00;
}
.solo-toast--error {
  border-color: rgba(255, 100, 100, 0.4);
  color: #ffb4ab;
}
.solo-toast--action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: min(92vw, 28rem);
  padding-right: 0.5rem;
}
.solo-toast__msg {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}
.solo-toast__action {
  flex-shrink: 0;
  border: 1px solid rgba(140, 220, 0, 0.45);
  background: rgba(140, 220, 0, 0.12);
  color: #8cdc00;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  cursor: pointer;
}
.solo-toast__action:hover {
  background: rgba(140, 220, 0, 0.22);
}

.solo-timer-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.solo-timer-wrap--card {
  align-items: flex-end;
}
.solo-timer-wrap--running .solo-timer-live__clock {
  color: #8cdc00;
  text-shadow: 0 0 20px rgba(140, 220, 0, 0.35);
}
.solo-timer-live {
  text-align: center;
  width: 100%;
}
.solo-timer-wrap--card .solo-timer-live {
  text-align: right;
}
.solo-timer-live__clock {
  font-size: 2rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.solo-timer-live__meta {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin: 0.35rem 0 0;
}
.solo-timer-wrap--running .solo-timer-live__meta {
  color: #8cdc00;
}
.solo-timer-live__total {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0.2rem 0 0;
  min-height: 1em;
}
.solo-timer-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.solo-timer-controls--card {
  justify-content: flex-end;
}
.solo-timer-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, border-color 0.15s, background 0.15s, transform 0.1s;
}
.solo-timer-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.solo-timer-btn:active {
  transform: scale(0.94);
}
.solo-timer-btn .material-symbols-outlined {
  font-size: 1.125rem;
}
.solo-timer-btn--active {
  background: rgba(140, 220, 0, 0.15);
  border-color: rgba(140, 220, 0, 0.45);
  color: #8cdc00;
}
.solo-timer-pill {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 5.75rem;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(140, 220, 0, 0.5);
  background: rgba(10, 16, 5, 0.96);
  color: #8cdc00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(140, 220, 0, 0.12);
  max-width: min(92vw, 24rem);
}
.solo-timer-pill:hover {
  border-color: rgba(140, 220, 0, 0.75);
  background: rgba(16, 24, 8, 0.98);
}
.solo-timer-pill.hidden {
  display: none;
}
.solo-timer-pill-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #8cdc00;
  box-shadow: 0 0 10px rgba(140, 220, 0, 0.7);
  animation: solo-timer-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes solo-timer-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.85);
  }
}
.solo-timer-row-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.4rem;
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  border: 1px solid rgba(140, 220, 0, 0.45);
  background: rgba(140, 220, 0, 0.12);
  color: #8cdc00;
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  vertical-align: middle;
}
.chronos-row--timer-active .chronos-row-label {
  border-left-color: #8cdc00 !important;
  box-shadow: inset 3px 0 0 rgba(140, 220, 0, 0.55);
}
.gantt-bar--timer-active {
  box-shadow: 0 0 0 1px rgba(140, 220, 0, 0.55), 0 0 14px rgba(140, 220, 0, 0.28);
}
