{"version":1,"name":"Minimalist color edges","appearance":"light","colors":{"canvas":"oklch(0.982446 0.010114 325.653)"},"variants":{"dark":{"canvas":"oklch(0.22813 0.020366 307.469)"}},"css":"/* Minimalist color edges (themeId status-edge): the thread status becomes a 3 px colour bar on the row's right edge.\n   CSS port of the Labs \"status as a colour bar\" rows (pingdotgg/t3code discussion #33613)\n   onto the stock card row. Hooks: [data-thread-item], data-testid=\"sidebar-row-card\",\n   the Tailwind class group/sidebar-status-slot and the status text colour classes.\n   Line 1 is the title, line 2 the project with the status slot, line 3 the meta line. */\n\n/* Opening (330 ms): the bar shrinks to the project line, sweeps left over the label and\n   fades out as it arrives. Closing (230 ms) runs the path back. */\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] {\n  --t3se-open: 0;\n  --t3se-shrink: 90ms cubic-bezier(0.65, 0, 0.35, 1) 140ms;\n  --t3se-sweep: 140ms cubic-bezier(0.32, 0, 0.67, 0) 20ms;\n  --t3se-fade: 140ms cubic-bezier(0.65, 0, 0.35, 1);\n  --t3se-slot-hold: 160ms;\n}\n[data-thread-item] > [data-testid=\"sidebar-row-card\"]:is(:hover, :focus-visible, :has(:focus-visible)) {\n  --t3se-open: 1;\n  --t3se-shrink: 125ms cubic-bezier(0.65, 0, 0.35, 1);\n  --t3se-sweep: 205ms cubic-bezier(0.33, 1, 0.68, 1) 100ms;\n  --t3se-fade: 170ms cubic-bezier(0.65, 0, 0.35, 1) 150ms;\n  --t3se-slot-hold: 0s;\n}\n@media (any-hover: none) {\n  [data-thread-item] > [data-testid=\"sidebar-row-card\"] {\n    --t3se-open: 1;\n  }\n}\n\n/* Title on line 1, alone, so status and hover never change its width. */\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] > div {\n  display: flex;\n  flex-direction: column;\n  height: 4.875rem !important;\n}\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] > div > div:nth-child(2) {\n  order: -1;\n  flex: none;\n  height: 1.25rem;\n  margin-top: 0 !important;\n}\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] > div > div:nth-child(1) {\n  flex: none;\n  margin-top: 0.25rem;\n}\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] > div > div:nth-child(3) {\n  padding-inline-start: 1.375rem;\n}\n/* Without a meta line the app puts the model icons on the title line. The row keeps its\n   full height here, so they go back to the end of line 3. */\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] > div:not(:has(> div:nth-child(3))) > div:nth-child(2) > span.inline-flex.shrink-0 {\n  position: absolute;\n  right: var(--sidebar-row-content-inset);\n  bottom: var(--sidebar-content-inset);\n  height: 1rem;\n}\n\n/* The slot takes no width at rest; the negative margin cancels the line's gap. It keeps\n   its width until the closing sweep has covered the label again. */\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] .group\\/sidebar-status-slot {\n  min-width: 0 !important;\n  max-width: calc(var(--t3se-open) * 10rem);\n  margin-inline-start: calc((var(--t3se-open) - 1) * 0.375rem) !important;\n  transition:\n    max-width 0s var(--t3se-slot-hold),\n    margin-inline-start 0s var(--t3se-slot-hold);\n}\n/* A jump hint takes the label's place; the bar stays at rest beside it. */\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] .group\\/sidebar-status-slot:has(> [data-jump-hint]) {\n  --t3se-open: 0;\n  max-width: none;\n  margin-inline-start: 0 !important;\n}\n\n/* The label stays in place on hover; the app would hide it under Snooze and Settle. */\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] .group\\/sidebar-status-slot:not(:has(> [data-jump-hint])) > span:first-child {\n  position: static !important;\n  opacity: 1 !important;\n}\n/* The clip edge follows the bar as it sweeps. */\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] .group\\/sidebar-status-slot > span:first-child:has(> .font-medium) {\n  clip-path: inset(0 0 0 calc((1 - var(--t3se-open)) * (100% + var(--sidebar-row-content-inset))));\n  transition: clip-path var(--t3se-sweep);\n}\n/* Idle rows: no bar, and the age only shows on hover. */\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] .group\\/sidebar-status-slot > span:first-child:not(:has(> .font-medium)) {\n  display: none !important;\n}\n[data-thread-item] > [data-testid=\"sidebar-row-card\"]:is(:hover, :focus-visible, :has(:focus-visible)) .group\\/sidebar-status-slot > span:first-child:not(:has(> .font-medium)) {\n  display: flex !important;\n}\n@media (any-hover: none) {\n  [data-thread-item] > [data-testid=\"sidebar-row-card\"] .group\\/sidebar-status-slot > span:first-child:not(:has(> .font-medium)) {\n    display: flex !important;\n  }\n}\n\n/* Colour means state. Row text is neutral, and each status has a bar tone (3:1 on the sidebar)\n   and a label tone (4.5:1), Tailwind v4 shades chosen for the T3 Chat sidebar.\n   Project and branch text, and a read thread's title, are the title colour mixed toward the\n   sidebar. They follow the Appearance contrast setting, so the three steps keep their order\n   (title, read title, project) at any contrast: about 16:1, 13:1 and 9:1 at 165. */\n[data-thread-item] {\n  --contrast-secondary-label: color-mix(in oklab, var(--contrast-foreground) 70%, var(--sidebar));\n  --contrast-sidebar-muted-foreground: var(--contrast-secondary-label);\n  --t3se-receded: color-mix(in oklab, var(--contrast-foreground) 85%, var(--sidebar));\n  --sidebar-row-hover: oklch(0.955 0.018 322.6);\n  --t3se-ring: oklch(0.8 0.04 330);\n  --t3se-bar-approval: oklch(0.555 0.163 48.998); /* amber-700 */\n  --t3se-bar-input: oklch(0.457 0.24 277.023); /* indigo-700 */\n  --t3se-bar-request: oklch(0.591 0.293 322.896); /* fuchsia-600 */\n  --t3se-bar-working: oklch(0.623 0.214 259.815); /* blue-500 */\n  --t3se-bar-waiting: oklch(0.6 0.02 330);\n  --t3se-bar-done: oklch(0.508 0.118 165.612); /* emerald-700 */\n  --t3se-bar-failed: oklch(0.505 0.213 27.518); /* red-700 */\n  --t3se-label-warning: oklch(0.473 0.137 46.201); /* amber-800 */\n  --t3se-label-input: oklch(0.457 0.24 277.023);\n  --t3se-label-request: oklch(0.518 0.253 323.949); /* fuchsia-700 */\n  --t3se-label-working: oklch(0.488 0.243 264.376); /* blue-700 */\n  --t3se-label-done: oklch(0.432 0.095 166.913); /* emerald-800 */\n  --t3se-label-failed: oklch(0.505 0.213 27.518);\n}\n.dark [data-thread-item] {\n  --sidebar-row-hover: oklch(0.215 0.022 330);\n  --sidebar-row-active: oklch(0.255 0.03 338.2);\n  --t3se-ring: oklch(0.4 0.03 340);\n  --t3se-bar-approval: oklch(0.769 0.188 70.08); /* amber-500 */\n  --t3se-bar-input: oklch(0.785 0.115 274.713); /* indigo-300 */\n  --t3se-bar-request: oklch(0.591 0.293 322.896); /* fuchsia-600 */\n  --t3se-bar-working: oklch(0.623 0.214 259.815); /* blue-500 */\n  --t3se-bar-waiting: oklch(0.509 0.02 330);\n  --t3se-bar-done: oklch(0.845 0.143 164.978); /* emerald-300 */\n  --t3se-bar-failed: oklch(0.577 0.245 27.325); /* red-600 */\n  --t3se-label-warning: var(--warning-foreground);\n  --t3se-label-input: oklch(0.785 0.115 274.713);\n  --t3se-label-request: oklch(0.833 0.145 321.434); /* fuchsia-300 */\n  --t3se-label-working: oklch(0.707 0.165 254.624); /* blue-400 */\n  --t3se-label-done: oklch(0.765 0.177 163.223); /* emerald-400 */\n  --t3se-label-failed: oklch(0.704 0.191 22.216); /* red-400 */\n}\n\n/* Line 3 is code (branch), line 2 a name (project). */\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] > div > div:nth-child(3) > span.flex.flex-1 {\n  font-family: var(--font-mono);\n  font-size: 0.6875rem;\n}\n/* A read thread's title recedes, but stays above its project line. */\n[data-thread-item] > [data-testid=\"sidebar-row-card\"]:not(:hover, :focus-visible, :has(:focus-visible)) .text-foreground\\/75 {\n  color: var(--t3se-receded);\n}\n/* The current thread has the hover fill, so it also gets a ring, in both appearances. */\n[data-thread-item] > [data-testid=\"sidebar-row-card\"][aria-current]:not([aria-current=\"false\"]):not(:focus-visible) {\n  box-shadow: inset 0 0 0 1px var(--t3se-ring);\n}\n\n/* Status by label class and icon. Amber covers Approval, Limited and Woke; the icon tells them apart. */\n[data-thread-item] .group\\/sidebar-status-slot > span:first-child > .text-warning-foreground {\n  color: var(--t3se-label-warning);\n}\n[data-thread-item] .group\\/sidebar-status-slot > span:first-child > .text-indigo-600 {\n  color: var(--t3se-label-input);\n}\n[data-thread-item] .group\\/sidebar-status-slot > span:first-child > .text-guest-foreground {\n  color: var(--t3se-label-request);\n}\n[data-thread-item] .group\\/sidebar-status-slot > span:first-child > .text-info-foreground {\n  color: var(--t3se-label-working);\n}\n[data-thread-item] .group\\/sidebar-status-slot > span:first-child > .text-success-foreground {\n  color: var(--t3se-label-done);\n}\n[data-thread-item] .group\\/sidebar-status-slot > span:first-child > .text-error-foreground {\n  color: var(--t3se-label-failed);\n}\n[data-thread-item] .group\\/sidebar-status-slot:has(> span:first-child > .text-warning-foreground .lucide-shield-question-mark) {\n  --t3se-bar: var(--t3se-bar-approval);\n}\n[data-thread-item] .group\\/sidebar-status-slot:has(> span:first-child > .text-indigo-600) {\n  --t3se-bar: var(--t3se-bar-input);\n}\n[data-thread-item] .group\\/sidebar-status-slot:has(> span:first-child > .text-guest-foreground) {\n  --t3se-bar: var(--t3se-bar-request);\n}\n[data-thread-item] .group\\/sidebar-status-slot:has(> span:first-child > .text-success-foreground) {\n  --t3se-bar: var(--t3se-bar-done);\n}\n[data-thread-item] .group\\/sidebar-status-slot:has(> span:first-child > .text-error-foreground) {\n  --t3se-bar: var(--t3se-bar-failed);\n}\n[data-thread-item] .group\\/sidebar-status-slot:has(> span:first-child > .text-warning-foreground .lucide-alarm-clock) {\n  --t3se-bar: var(--t3se-bar-approval);\n}\n[data-thread-item] .group\\/sidebar-status-slot:has(> span:first-child > .text-info-foreground) {\n  --t3se-bar: var(--t3se-bar-working);\n}\n[data-thread-item] .group\\/sidebar-status-slot:has(> span:first-child > .text-muted-foreground) {\n  --t3se-bar: var(--t3se-bar-waiting);\n}\n[data-thread-item] .group\\/sidebar-status-slot:has(> span:first-child > .text-warning-foreground .lucide-circle-alert) {\n  --t3se-bar: var(--t3se-bar-approval);\n}\n\n/* Shape by what the thread needs from you. A full bar means it waits on you (Approval, Input,\n   Request). A short bar on the project line, where the label appears, means a result to read\n   (Done, Failed, Woke). A dashed bar means it is running or held (Working, Waiting, Limited). */\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] .group\\/sidebar-status-slot {\n  --t3se-rest-top: -1.5rem;\n  --t3se-rest-height: calc(4.875rem - 2 * var(--sidebar-content-inset));\n}\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] .group\\/sidebar-status-slot:has(> span:first-child > :is(.text-success-foreground, .text-error-foreground)),\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] .group\\/sidebar-status-slot:has(> span:first-child > .text-warning-foreground .lucide-alarm-clock) {\n  --t3se-rest-top: 0rem;\n  --t3se-rest-height: 1.25rem;\n}\n/* Dashes are 0.4375rem with 0.25rem gaps: six fit the 3.875rem bar exactly, so none is cut. */\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] .group\\/sidebar-status-slot:has(> span:first-child > :is(.text-info-foreground, .text-muted-foreground))::after,\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] .group\\/sidebar-status-slot:has(> span:first-child > .text-warning-foreground .lucide-circle-alert)::after {\n  --t3se-dash: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 3 11' preserveAspectRatio='none'%3E%3Crect width='3' height='7' rx='1.5'/%3E%3C/svg%3E\");\n  -webkit-mask: var(--t3se-dash) top / 100% 0.6875rem repeat-y;\n  mask: var(--t3se-dash) top / 100% 0.6875rem repeat-y;\n}\n\n/* At rest the bar sits on the row's right edge: from the title line to the meta line, or on the\n   project line for a short bar. The slot is on the project line, 1.5rem below the title line. */\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] .group\\/sidebar-status-slot:has(> span:first-child > .font-medium)::after {\n  content: \"\";\n  position: absolute;\n  width: 3px;\n  border-radius: 9999px;\n  background-color: var(--t3se-bar, currentColor);\n  pointer-events: none;\n  top: calc(var(--t3se-open) * 3px + (1 - var(--t3se-open)) * var(--t3se-rest-top));\n  right: calc(\n    var(--t3se-open) * (100% + 1px) - (1 - var(--t3se-open)) * var(--sidebar-row-content-inset)\n  );\n  height: calc(\n    var(--t3se-rest-height) - var(--t3se-open) * (var(--t3se-rest-height) - 0.875rem)\n  );\n  opacity: calc(1 - var(--t3se-open));\n  transition:\n    top var(--t3se-shrink),\n    height var(--t3se-shrink),\n    right var(--t3se-sweep),\n    opacity var(--t3se-fade);\n}\n@media (any-hover: none) {\n  [data-thread-item] .group\\/sidebar-status-slot::after {\n    display: none !important;\n  }\n}\n\n/* Snooze and Settle: icon buttons at the end of line 3, over the model and branch icons.\n   They wait 300 ms under the pointer, so a click meant to open the thread can't land on\n   them. Keyboard focus and an open snooze menu show them at once. */\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] .group\\/sidebar-status-slot > span:not(:first-child) {\n  position: absolute !important;\n  inset: 100% -0.3125rem auto auto !important;\n  height: 1.25rem;\n  align-items: center !important;\n  opacity: 0 !important;\n  visibility: hidden;\n  pointer-events: auto !important;\n  transition:\n    opacity 150ms ease,\n    visibility 0s linear 150ms;\n}\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] .group\\/sidebar-status-slot > span:not(:first-child) > button {\n  width: 1.5rem;\n  height: 1.25rem;\n  margin: 0 !important;\n  padding: 0 !important;\n  gap: 0 !important;\n  justify-content: center;\n  border-radius: 0.375rem;\n  font-size: 0 !important;\n}\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] .group\\/sidebar-status-slot > span:not(:first-child) > button:hover {\n  background-color: color-mix(in srgb, currentColor 12%, transparent);\n}\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] .group\\/sidebar-status-slot > span:not(:first-child) > button svg {\n  width: 0.875rem !important;\n  height: 0.875rem !important;\n}\n/* One colour per action, from the status tones: Settle the done green, Snooze the amber of\n   Woke (the alarm it sets), Discard draft the failed red. The hover fill takes the same tint.\n   Icons are 4.4:1 or more on a hovered row in both appearances. */\n[data-thread-item] .group\\/sidebar-status-slot > span:not(:first-child) button[aria-label=\"Settle thread\"] {\n  color: var(--t3se-label-done);\n}\n[data-thread-item] .group\\/sidebar-status-slot > span:not(:first-child) button[aria-label=\"Snooze thread\"] {\n  color: var(--t3se-bar-approval);\n}\n[data-thread-item] .group\\/sidebar-status-slot > span:not(:first-child) button[aria-label=\"Discard draft\"] {\n  color: var(--t3se-label-failed);\n}\n/* Room for the buttons on line 3, by count. */\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] > div:has(.group\\/sidebar-status-slot > span:not(:first-child) > :nth-child(1)) {\n  --t3se-actions-width: 1.5rem;\n}\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] > div:has(.group\\/sidebar-status-slot > span:not(:first-child) > :nth-child(2)) {\n  --t3se-actions-width: 3rem;\n}\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] > div:has(.group\\/sidebar-status-slot > span:not(:first-child) > :nth-child(3)) {\n  --t3se-actions-width: 4.5rem;\n}\n@media (any-hover: hover) {\n  [data-thread-item] > [data-testid=\"sidebar-row-card\"]:hover .group\\/sidebar-status-slot:not(:has(> [data-jump-hint])) > span:not(:first-child) {\n    opacity: 1 !important;\n    visibility: visible;\n    transition:\n      opacity 150ms ease 300ms,\n      visibility 0s linear 300ms;\n  }\n  [data-thread-item] > [data-testid=\"sidebar-row-card\"]:hover > div:has(.group\\/sidebar-status-slot > span:not(:first-child)) > div:nth-child(3) {\n    padding-inline-end: var(--t3se-actions-width);\n    transition: padding-inline-end 0s linear 300ms;\n  }\n  [data-thread-item] > [data-testid=\"sidebar-row-card\"]:hover > div:has(.group\\/sidebar-status-slot > span:not(:first-child)) > div:nth-child(3) > .flex-1 ~ *,\n  [data-thread-item] > [data-testid=\"sidebar-row-card\"]:hover > div:has(.group\\/sidebar-status-slot > span:not(:first-child)) > div:nth-child(2) > span.inline-flex.shrink-0 {\n    display: none;\n    transition: display 0s linear 300ms allow-discrete;\n  }\n}\n[data-thread-item] > [data-testid=\"sidebar-row-card\"]:is(:focus-visible, :has(:focus-visible)) .group\\/sidebar-status-slot:not(:has(> [data-jump-hint])) > span:not(:first-child),\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] .group\\/sidebar-status-slot > span:not(:first-child):has([data-popup-open], [aria-expanded=\"true\"]) {\n  opacity: 1 !important;\n  visibility: visible;\n  transition: none;\n}\n[data-thread-item] > [data-testid=\"sidebar-row-card\"]:is(:focus-visible, :has(:focus-visible)) > div:has(.group\\/sidebar-status-slot > span:not(:first-child)) > div:nth-child(3),\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] > div:has(.group\\/sidebar-status-slot > span:not(:first-child) :is([data-popup-open], [aria-expanded=\"true\"])) > div:nth-child(3) {\n  padding-inline-end: var(--t3se-actions-width);\n  transition: none;\n}\n[data-thread-item] > [data-testid=\"sidebar-row-card\"]:is(:focus-visible, :has(:focus-visible)) > div:has(.group\\/sidebar-status-slot > span:not(:first-child)) > div:nth-child(3) > .flex-1 ~ *,\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] > div:has(.group\\/sidebar-status-slot > span:not(:first-child) :is([data-popup-open], [aria-expanded=\"true\"])) > div:nth-child(3) > .flex-1 ~ *,\n[data-thread-item] > [data-testid=\"sidebar-row-card\"]:is(:focus-visible, :has(:focus-visible)) > div:has(.group\\/sidebar-status-slot > span:not(:first-child)) > div:nth-child(2) > span.inline-flex.shrink-0,\n[data-thread-item] > [data-testid=\"sidebar-row-card\"] > div:has(.group\\/sidebar-status-slot > span:not(:first-child) :is([data-popup-open], [aria-expanded=\"true\"])) > div:nth-child(2) > span.inline-flex.shrink-0 {\n  display: none;\n  transition: none;\n}\n\n/* Reduced motion drops the sweep, not the 300 ms wait before Snooze and Settle. */\n@media (prefers-reduced-motion: reduce) {\n  [data-thread-item] .group\\/sidebar-status-slot,\n  [data-thread-item] .group\\/sidebar-status-slot > span:first-child,\n  [data-thread-item] .group\\/sidebar-status-slot::after {\n    transition: none !important;\n  }\n}\n"}