[role="dialog"]{
    min-width: fit-content;
}
#step-task-plan-progress > div > span:first-child {
  display: none;
}
[id^="step-thinking-ctr"] > div > span:first-child {
  display: none;
}
[id^="step-agent-task-"] > div > span:first-child {
  display: none;
}
[id^="step-personal-agent-not-found"] > div > span:first-child {
  display: none;
}
[id^="step-tgroup"] > div > span:first-child {
  display: none;
}
[id^="step-tgroup"] > div > div > div > div > h3 {
  display: none;
}
[id^="step-tgroup"] {
  padding: 0!important;
  margin-top: -30px;
}
[id^="step-task-"] > div > div > div > div > h3:first-child {
  display: none;
}
[id^="step-tasks-group-ag"] > div > div > div > div > h3:first-child {
  display: none;
}
[id^="step-task-"] > div > div > div > div > div > div > div:first-child {
  padding-left: 0 !important;
  margin-top: 0 !important;
  border: none !important;
}
[id^="step-tasks-group-ag"] > div > div > div > div > div > div > div:first-child {
  padding-left: 0 !important;
  margin-top: 0 !important;
  border: none !important;
}
[id^="step-tasks-group-ag"], [id^="step-tasks-group-ag"] [id^="step-task-"] > div > div > div > div > div > div:first-child {
    padding-bottom: 0 !important;
}
[id^="step-tasks-group-ag"] [data-step-type="tool"] {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}
[id^="step-tasks-group-ag"] > div > div > div > div > div > div:first-child {
  padding-bottom: 0 !important;
}
[id^="step-"] > span:first-child {
  display: none;
}
[id^="step-tasks-group-"] > div > span:first-child {
  display: none !important;
}
[data-step-type="system_message"]{
  display: none !important;
}
[id^="step-assistant-thinking-"]>div>span {
  display: none;
}
[id^="step-task-"] .message-content > div:first-child {
  display: none;
}
#step-welcome-message .ai-message > span:first-child {
  display: none;
}
#step-loader .rounded-full {
  display: none;
}
[data-panel].flex-grow {
    min-width: 350px;
}
/* dark mode overrides */
#new-chat-dialog {
    display: none !important;
}
[data-radix-collection-item] {
    text-align: left;
    word-break: auto-phrase;
    display: flex;
    align-items: start;
}
div[id^="step-run_step_message"],div[id*="step-run_step_message"] {
    display: none !important;
}
.watermark{
    display: none !important;
}
a.text-primary {
    text-decoration: underline;
}
.dark .bg-accent.rounded-3xl a.text-primary {
    color: #fff !important;
}
.toast [role="status"]{
    display: none !important;
}
form .bg-red-50.border-red-200{
    display: none !important;
}
button[id^="starter-"] p {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word !important;
}
button[id^="starter-"] {
    height: fit-content !important;
    padding: 8px !important;
}
button[class*="feedback"] {
    display: none !important;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #8a8a8a00 transparent; /* transparent track, fully transparent thumb if you want */
    -ms-overflow-style: none;  /* IE and Edge */
}

/* WebKit browsers (Chrome, Safari, Opera) */
*::-webkit-scrollbar {
    width: 8px;
    background: transparent; /* Transparent background for scrollbar area */
}
*::-webkit-scrollbar-track {
    background: transparent; /* Transparent background for track */
}
*::-webkit-scrollbar-thumb {
    background: rgba(107,51,242,0.25); /* Slightly visible thumb; adjust alpha as needed */
    border-radius: 4px;
}
*::-webkit-scrollbar-button {
    display: none;
}

.top #step-memory-regular{
    display: none;
}
.framed #step-memory-tester{
    display: none;
}
button[id^="step"] {
  align-items: flex-start;
}
button[id^="step"]>svg {
  margin-top: 5px;
}

.xpander-injected-marker{
    display: flex;
    align-items: center;
    justify-content: center;
}

.tester-welcome-screen {
    max-width:380px;
    display: flex;
    flex-direction: column;
    gap:12px;
    color: #F2F3F7;
    margin-bottom: 16px;
}

.tester-welcome-screen ._logo {
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
}
.tester-welcome-screen ._logo svg {
    width: 48px;
    height: 48px;
}

.tester-welcome-screen ._h1 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
    color: #F2F3F7;
    
}
.tester-welcome-screen ._h2 {
    font-size: 1rem;
    line-height: 1.375rem;
    font-weight: 400;
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
    color: #BFC1CA;
}

.tester-welcome-screen.workflow ._h1 {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
    color: #F2F3F7;
    
}
.tester-welcome-screen.workflow ._h2 {
    font-size: 0.75rem;
    line-height: 0.75rem;
    font-weight: 400;
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
    color: #BFC1CA;
    padding-bottom: 5rem;
}


/* light mode overrides */
.light ._logo path:nth-child(2) {
    fill: #939191
}
.light ._h1 {
        color: #939191;
}
.light ._h2 {
        color: #a7a5a5;
}

.light * {
        border-color: #ddd !important;
}
.light .text-sidebar-foreground {
        border-right: 1px solid;
}

.framed #header {
    padding: 0 !important;
    align-items: start !important;
}
.framed [data-sidebar="header"] {
    padding: 0 !important;
}

#edit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: rgb(117, 60, 255);
    color: #f2f3f7;
    height: 24px;
    padding: 0 8px;
    border-radius: 4px;
    border: none;
    font-size: 0.875rem;
    line-height: 1.375rem;
    font-weight: 400;
    cursor: pointer;
    white-space: nowrap;
    vertical-align: middle;
    transition: opacity 0.15s ease;
}
#edit-button:hover {
    opacity: 0.9;
}
#edit-button svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}


.no-threads #sidebar-trigger-button, .no-threads [data-sidebar] {
    display: none !important;
}

.no-threads [data-variant="sidebar"]{
    display: none !important;
}