/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
@layer properties;
@layer legacy, theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
    monospace;
    --spacing: 0.25rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --tracking-tight: -0.025em;
    --tracking-wide: 0.025em;
    --leading-relaxed: 1.625;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --animate-spin: spin 1s linear infinite;
    --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
}
@layer utilities {
  .pointer-events-none {
    pointer-events: none;
  }
  .invisible {
    visibility: hidden;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .inset-y-0 {
    inset-block: 0px;
  }
  .top-2 {
    top: calc(var(--spacing) * 2);
  }
  .right-2 {
    right: calc(var(--spacing) * 2);
  }
  .left-0 {
    left: 0px;
  }
  .left-5 {
    left: calc(var(--spacing) * 5);
  }
  .z-50 {
    z-index: 50;
  }
  .-mr-1 {
    margin-right: calc(var(--spacing) * -1);
  }
  .mb-1 {
    margin-bottom: var(--spacing);
  }
  .ml-auto {
    margin-left: auto;
  }
  .line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-flex {
    display: inline-flex;
  }
  .table {
    display: table;
  }
  .size-3\.5 {
    width: calc(var(--spacing) * 3.5);
    height: calc(var(--spacing) * 3.5);
  }
  .size-4 {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
  }
  .h-1\.5 {
    height: calc(var(--spacing) * 1.5);
  }
  .h-6 {
    height: calc(var(--spacing) * 6);
  }
  .h-8 {
    height: calc(var(--spacing) * 8);
  }
  .h-9 {
    height: calc(var(--spacing) * 9);
  }
  .h-10 {
    height: calc(var(--spacing) * 10);
  }
  .h-11 {
    height: calc(var(--spacing) * 11);
  }
  .h-\[24px\] {
    height: 24px;
  }
  .h-\[26px\] {
    height: 26px;
  }
  .h-\[32px\] {
    height: 32px;
  }
  .h-\[36px\] {
    height: 36px;
  }
  .h-\[44px\] {
    height: 44px;
  }
  .h-auto {
    height: auto;
  }
  .h-full {
    height: 100%;
  }
  .max-h-\[min\(320px\,var\(--available-height\)\)\] {
    max-height: min(320px, var(--available-height));
  }
  .min-h-\[36px\] {
    min-height: 36px;
  }
  .min-h-\[60px\] {
    min-height: 60px;
  }
  .min-h-\[70px\] {
    min-height: 70px;
  }
  .w-9 {
    width: calc(var(--spacing) * 9);
  }
  .w-24 {
    width: calc(var(--spacing) * 24);
  }
  .w-\[3px\] {
    width: 3px;
  }
  .w-\[26px\] {
    width: 26px;
  }
  .w-\[28px\] {
    width: 28px;
  }
  .w-\[36px\] {
    width: 36px;
  }
  .w-\[44px\] {
    width: 44px;
  }
  .w-auto {
    width: auto;
  }
  .w-full {
    width: 100%;
  }
  .w-px {
    width: 1px;
  }
  .max-w-105 {
    max-width: calc(var(--spacing) * 105);
  }
  .min-w-0 {
    min-width: 0px;
  }
  .min-w-28 {
    min-width: calc(var(--spacing) * 28);
  }
  .min-w-\[210px\] {
    min-width: 210px;
  }
  .min-w-\[var\(--anchor-width\)\] {
    min-width: var(--anchor-width);
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .border-collapse {
    border-collapse: collapse;
  }
  .animate-pulse {
    animation: var(--animate-pulse);
  }
  .animate-spin {
    animation: var(--animate-spin);
  }
  .cursor-default {
    cursor: default;
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .appearance-none {
    appearance: none;
  }
  .grid-cols-\[20px_minmax\(0\,1fr\)\] {
    grid-template-columns: 20px minmax(0,1fr);
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-row {
    flex-direction: row;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .items-start {
    align-items: flex-start;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-start {
    justify-content: flex-start;
  }
  .gap-1 {
    gap: var(--spacing);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-\[7px\] {
    gap: 7px;
  }
  :where(.space-y-1\.5 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)));
  }
  .gap-x-3 {
    column-gap: calc(var(--spacing) * 3);
  }
  .gap-y-1 {
    row-gap: var(--spacing);
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-x-auto {
    overflow-x: auto;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .rounded-\[3px\] {
    border-radius: 3px;
  }
  .rounded-\[6px\] {
    border-radius: 6px;
  }
  .rounded-card {
    border-radius: 14px;
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-md {
    border-radius: var(--radius-md);
  }
  .rounded-sm {
    border-radius: var(--radius-sm);
  }
  .rounded-xl {
    border-radius: var(--radius-xl);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-2 {
    border-style: var(--tw-border-style);
    border-width: 2px;
  }
  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-destructive\/50 {
    border-color: var(--danger);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--danger) 50%, transparent);
    }
  }
  .border-input {
    border-color: var(--line);
  }
  .border-line {
    border-color: var(--line);
  }
  .border-muted-foreground {
    border-color: var(--muted);
  }
  .border-transparent {
    border-color: transparent;
  }
  .border-t-transparent {
    border-top-color: transparent;
  }
  .bg-\[\#b7791f\] {
    background-color: #b7791f;
  }
  .bg-\[color-mix\(in_srgb\,var\(--line\)_45\%\,var\(--bg\)\)\] {
    background-color: var(--line);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb,var(--line) 45%,var(--bg));
    }
  }
  .bg-background {
    background-color: var(--bg);
  }
  .bg-card {
    background-color: var(--panel);
  }
  .bg-destructive {
    background-color: var(--danger);
  }
  .bg-ink-2\/40 {
    background-color: var(--muted);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--muted) 40%, transparent);
    }
  }
  .bg-line {
    background-color: var(--line);
  }
  .bg-primary {
    background-color: var(--accent);
  }
  .bg-primary\/10 {
    background-color: var(--accent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--accent) 10%, transparent);
    }
  }
  .bg-secondary {
    background-color: var(--panel);
  }
  .bg-surface {
    background-color: var(--panel);
  }
  .bg-transparent {
    background-color: transparent;
  }
  .p-0 {
    padding: 0px;
  }
  .p-1 {
    padding: var(--spacing);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .px-1\.5 {
    padding-inline: calc(var(--spacing) * 1.5);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-2\.5 {
    padding-inline: calc(var(--spacing) * 2.5);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .px-8 {
    padding-inline: calc(var(--spacing) * 8);
  }
  .py-0\.5 {
    padding-block: calc(var(--spacing) * 0.5);
  }
  .py-1 {
    padding-block: var(--spacing);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }
  .pt-0 {
    padding-top: 0px;
  }
  .pr-3 {
    padding-right: calc(var(--spacing) * 3);
  }
  .pr-8 {
    padding-right: calc(var(--spacing) * 8);
  }
  .pr-9 {
    padding-right: calc(var(--spacing) * 9);
  }
  .pl-1 {
    padding-left: var(--spacing);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-right {
    text-align: right;
  }
  .align-top {
    vertical-align: top;
  }
  .font-mono {
    font-family: var(--font-mono);
  }
  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }
  .text-base {
    font-size: var(--text-base);
    line-height: var(--tw-leading, var(--text-base--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .text-\[11\.5px\] {
    font-size: 11.5px;
  }
  .text-\[11px\] {
    font-size: 11px;
  }
  .text-\[12\.5px\] {
    font-size: 12.5px;
  }
  .text-\[12px\] {
    font-size: 12px;
  }
  .text-\[13px\] {
    font-size: 13px;
  }
  .leading-\[1\.45\] {
    --tw-leading: 1.45;
    line-height: 1.45;
  }
  .leading-\[1\.65\] {
    --tw-leading: 1.65;
    line-height: 1.65;
  }
  .leading-none {
    --tw-leading: 1;
    line-height: 1;
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-normal {
    --tw-font-weight: var(--font-weight-normal);
    font-weight: var(--font-weight-normal);
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .tracking-tight {
    --tw-tracking: var(--tracking-tight);
    letter-spacing: var(--tracking-tight);
  }
  .tracking-wide {
    --tw-tracking: var(--tracking-wide);
    letter-spacing: var(--tracking-wide);
  }
  .break-words {
    overflow-wrap: break-word;
  }
  .whitespace-normal {
    white-space: normal;
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .whitespace-pre-wrap {
    white-space: pre-wrap;
  }
  .text-card-foreground {
    color: var(--text);
  }
  .text-destructive {
    color: var(--danger);
  }
  .text-destructive-foreground {
    color: var(--bg);
  }
  .text-foreground {
    color: var(--text);
  }
  .text-green {
    color: var(--accent);
  }
  .text-ink {
    color: var(--text);
  }
  .text-ink-2 {
    color: var(--muted);
  }
  .text-ink-3 {
    color: var(--muted);
  }
  .text-muted-foreground {
    color: var(--muted);
  }
  .text-primary {
    color: var(--accent);
  }
  .text-primary-foreground {
    color: var(--bg);
  }
  .text-red {
    color: var(--danger);
  }
  .text-secondary-foreground {
    color: var(--text);
  }
  .uppercase {
    text-transform: uppercase;
  }
  .italic {
    font-style: italic;
  }
  .tabular-nums {
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }
  .underline-offset-4 {
    text-underline-offset: 4px;
  }
  .opacity-60 {
    opacity: 60%;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-card {
    --tw-shadow: 0 0 0 1px var(--tw-shadow-color, var(--line));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-md {
    --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-none {
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-sm {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-100 {
    --tw-duration: 100ms;
    transition-duration: 100ms;
  }
  .outline-none {
    --tw-outline-style: none;
    outline-style: none;
  }
  .select-none {
    -webkit-user-select: none;
    user-select: none;
  }
  .file\:border-0::file-selector-button {
    border-style: var(--tw-border-style);
    border-width: 0px;
  }
  .file\:bg-transparent::file-selector-button {
    background-color: transparent;
  }
  .file\:text-sm::file-selector-button {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .file\:font-medium::file-selector-button {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .file\:text-foreground::file-selector-button {
    color: var(--text);
  }
  .placeholder\:text-muted-foreground::placeholder {
    color: var(--muted);
  }
  .even\:bg-\[color-mix\(in_srgb\,var\(--line\)_30\%\,var\(--bg\)\)\]:nth-child(even) {
    background-color: var(--line);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in srgb,var(--line) 30%,var(--bg));
    }
  }
  .empty\:hidden:empty {
    display: none;
  }
  @media (hover: hover) {
    .hover\:bg-\[color-mix\(in_srgb\,var\(--line\)_60\%\,var\(--bg\)\)\]:hover {
      background-color: var(--line);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-\[color-mix\(in_srgb\,var\(--line\)_60\%\,var\(--bg\)\)\]:hover {
        background-color: color-mix(in srgb,var(--line) 60%,var(--bg));
      }
    }
    .hover\:bg-accent:hover {
      background-color: var(--user);
    }
    .hover\:bg-destructive\/80:hover {
      background-color: var(--danger);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-destructive\/80:hover {
        background-color: color-mix(in oklab, var(--danger) 80%, transparent);
      }
    }
    .hover\:bg-destructive\/90:hover {
      background-color: var(--danger);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-destructive\/90:hover {
        background-color: color-mix(in oklab, var(--danger) 90%, transparent);
      }
    }
    .hover\:bg-hover:hover {
      background-color: var(--user);
    }
    .hover\:bg-primary\/80:hover {
      background-color: var(--accent);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-primary\/80:hover {
        background-color: color-mix(in oklab, var(--accent) 80%, transparent);
      }
    }
    .hover\:bg-primary\/90:hover {
      background-color: var(--accent);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-primary\/90:hover {
        background-color: color-mix(in oklab, var(--accent) 90%, transparent);
      }
    }
    .hover\:bg-secondary\/80:hover {
      background-color: var(--panel);
    }
    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-secondary\/80:hover {
        background-color: color-mix(in oklab, var(--panel) 80%, transparent);
      }
    }
    .hover\:text-accent-foreground:hover {
      color: var(--text);
    }
    .hover\:text-ink:hover {
      color: var(--text);
    }
    .hover\:underline:hover {
      text-decoration-line: underline;
    }
  }
  .focus\:ring-2:focus {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .focus\:ring-ring:focus {
    --tw-ring-color: var(--accent);
  }
  .focus\:ring-offset-2:focus {
    --tw-ring-offset-width: 2px;
    --tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  }
  .focus\:outline-none:focus {
    --tw-outline-style: none;
    outline-style: none;
  }
  .focus-visible\:ring-1:focus-visible {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .focus-visible\:ring-ring:focus-visible {
    --tw-ring-color: var(--accent);
  }
  .focus-visible\:outline-none:focus-visible {
    --tw-outline-style: none;
    outline-style: none;
  }
  .disabled\:pointer-events-none:disabled {
    pointer-events: none;
  }
  .disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed;
  }
  .disabled\:opacity-50:disabled {
    opacity: 50%;
  }
  .data-\[disabled\]\:pointer-events-none[data-disabled] {
    pointer-events: none;
  }
  .data-\[disabled\]\:opacity-50[data-disabled] {
    opacity: 50%;
  }
  .data-\[highlighted\]\:bg-accent[data-highlighted] {
    background-color: var(--user);
  }
  .data-\[highlighted\]\:text-accent-foreground[data-highlighted] {
    color: var(--text);
  }
  .data-\[popup-open\]\:ring-1[data-popup-open] {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .data-\[popup-open\]\:ring-ring[data-popup-open] {
    --tw-ring-color: var(--accent);
  }
  .data-\[selected\]\:font-medium[data-selected] {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  @media (width < 760px) {
    .max-\[760px\]\:inline-flex {
      display: inline-flex;
    }
  }
  @media (width >= 48rem) {
    .md\:text-sm {
      font-size: var(--text-sm);
      line-height: var(--tw-leading, var(--text-sm--line-height));
    }
  }
  @media (prefers-color-scheme: dark) {
    .dark\:border-destructive {
      border-color: var(--danger);
    }
  }
  .\[\&_p\]\:leading-relaxed p {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }
  .\[\&_svg\]\:pointer-events-none svg {
    pointer-events: none;
  }
  .\[\&_svg\]\:size-4 svg {
    width: calc(var(--spacing) * 4);
    height: calc(var(--spacing) * 4);
  }
  .\[\&_svg\]\:shrink-0 svg {
    flex-shrink: 0;
  }
}
.bui-code-block {
  --ink: var(--text);
  --accent-ink: var(--accent);
  --orange: var(--muted);
  --green: var(--accent);
  --red: var(--danger);
  margin: 18px 0;
}
.bui-code-block>div {
  max-width: none;
}
.bui-code-block code {
  background: transparent;
  padding: 0;
  font-size: 12px;
}
.bui-code-block button {
  border: 0;
  padding: 4px 8px;
}
@layer components {
  .ui-select {
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: calc(100% - 17px) 55%, calc(100% - 12px) 55%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
  }
  .ui-select-host {
    display: block;
    min-width: 0;
  }
  .ui-select-trigger {
    height: 2.25rem;
  }
  .ui-select-popup [data-selected] {
    background: var(--accent);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--accent) 10%, transparent);
    }
  }
  .ui-confirm-message {
    margin: 0 0 16px;
  }
  .ui-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }
  .workspace-chat-area {
    position: relative;
    display: flex;
    flex: 1;
    min-height: 0;
  }
  .workspace-chat-area > .workspace-content {
    flex: 1;
    min-width: 0;
  }
  .timeline-rail {
    position: relative;
    z-index: 30;
    flex: none;
    width: 28px;
    margin: 12px 0;
    overflow: visible;
  }
  .timeline-rail[hidden] {
    display: none;
  }
  .timeline-rail-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    border-radius: 1px;
    background: var(--line);
  }
  .timeline-rail-dot {
    position: absolute;
    left: 50%;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: var(--muted);
    cursor: pointer;
    transition: transform .12s ease, background-color .12s ease, box-shadow .12s ease;
  }
  .timeline-rail-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
  }
  .timeline-rail-dot:hover, .timeline-rail-dot:focus-visible {
    transform: scale(2.2);
    background: var(--accent);
    outline: none;
  }
  .timeline-rail-dot.is-current {
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent);
    }
  }
  .timeline-rail-dot.is-current:hover {
    transform: scale(1.25);
  }
  .timeline-rail-dot:focus-visible {
    box-shadow: 0 0 0 3px var(--accent);
    @supports (color: color-mix(in lab, red, red)) {
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);
    }
  }
  .timeline-rail-tip {
    position: absolute;
    right: calc(100% + 2px);
    z-index: 20;
    width: max-content;
    max-width: min(320px, 60vw);
    transform: translateY(-50%);
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--panel);
    color: var(--text);
    box-shadow: 0 6px 20px rgb(0 0 0 / 14%);
    font-size: 13px;
    line-height: 1.4;
    pointer-events: none;
  }
  .timeline-rail-tip[hidden] {
    display: none;
  }
  .app-tooltip {
    position: fixed;
    z-index: 80;
    max-width: min(320px, 80vw);
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--text);
    box-shadow: 0 6px 20px rgb(0 0 0 / 16%);
    font-size: 12.5px;
    line-height: 1.35;
    pointer-events: none;
    overflow-wrap: anywhere;
  }
  .app-tooltip[hidden] {
    display: none;
  }
  .timeline-rail-tip time {
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 11px;
  }
  .pinned-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 28px;
    z-index: 25;
    padding: 6px 8px 0;
    pointer-events: none;
  }
  .pinned-message[hidden] {
    display: none;
  }
  .pinned-message-button {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: 10px;
    background: var(--bg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    pointer-events: auto;
  }
  .pinned-message-button:hover {
    border-color: var(--accent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
    }
  }
  .pinned-message-button:focus-visible {
    outline: 2px solid var(--accent);
    @supports (color: color-mix(in lab, red, red)) {
      outline: 2px solid color-mix(in srgb, var(--accent) 60%, transparent);
    }
    outline-offset: 2px;
  }
  .pinned-message-head {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .02em;
    text-transform: uppercase;
  }
  .pinned-message-time {
    text-transform: none;
  }
  .pinned-message-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  @media (max-width: 760px) {
    .pinned-message {
      right: 22px;
      padding: 4px 4px 0;
    }
    .pinned-message-button {
      padding: 6px 10px;
    }
    .pinned-message-text {
      font-size: 12.5px;
    }
    .timeline-rail {
      width: 22px;
    }
    .timeline-rail-dot {
      width: 7px;
      height: 7px;
      margin: -3.5px 0 0 -3.5px;
    }
    .timeline-rail-dot.is-current {
      width: 14px;
      height: 14px;
      margin: -7px 0 0 -7px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .timeline-rail-dot {
      transition: none;
    }
  }
  .dashboard-stage {
    flex: none;
    margin: 12px 0 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--bg);
    overflow: hidden;
  }
  .dashboard-stage[hidden] {
    display: none;
  }
  .dashboard-stage-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
  }
  .dashboard-stage.is-collapsed .dashboard-stage-bar {
    border-bottom: 0;
  }
  .dashboard-stage-title {
    margin-right: auto;
    font-size: 13px;
  }
  .dashboard-stage-frame {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: var(--bg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--bg) 55%, transparent);
    }
    backdrop-filter: blur(2px);
    cursor: pointer;
  }
  .dashboard-stage.is-maximized {
    position: fixed;
    inset: 18px;
    z-index: 61;
    margin: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 48px rgba(0, 0, 0, .35);
  }
  .dashboard-stage.is-maximized .dashboard-stage-body {
    flex: 1;
    max-height: none;
    min-height: 0;
  }
  @media (max-width: 700px) {
    .dashboard-stage.is-maximized {
      inset: 10px;
    }
  }
  .dashboard-stage-position {
    font-size: 12px;
    color: var(--muted);
    min-width: 7.5em;
    text-align: center;
  }
  .dashboard-stage-body {
    max-height: min(40dvh, 380px);
    overflow: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .dashboard-stage-body :where(*, *::before, *::after) {
    border-color: var(--line);
  }
  .dashboard-stage-body {
    --panel: var(--bg);
  }
  .dashboard-stage-body table {
    border-collapse: collapse;
  }
  .dashboard-stage-body th {
    color: var(--muted);
    font-size: 12px;
    text-transform: none;
    background: transparent;
  }
  .dashboard-stage-body tbody tr:last-child td {
    border-bottom: 0;
  }
  .dashboard-stage-body [data-metric] {
    font-variant-numeric: tabular-nums;
  }
  .workspace-split {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    min-width: 0;
  }
  .resume-bar {
    flex: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 800px;
    align-self: center;
    margin: 8px 16px 0;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
    font-size: 13px;
  }
  .resume-bar-hint {
    flex: 1 0 100%;
    min-width: 0;
    color: var(--muted, #6b7280);
    font-size: 12px;
    line-height: 1.4;
  }
  .resume-bar-hint[hidden] {
    display: none;
  }
  .resume-bar[hidden] {
    display: none;
  }
  .resume-bar-text {
    flex: 1 1 220px;
    min-width: 0;
  }
  .work-panel {
    flex: none;
    margin: 12px 0 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--bg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .work-panel[hidden] {
    display: none;
  }
  .work-panel-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
  }
  .work-panel.is-collapsed .work-panel-bar {
    border-bottom: 0;
  }
  .work-panel.is-collapsed .work-panel-body {
    display: none;
  }
  .work-panel-title {
    font-size: 13px;
    font-weight: 600;
  }
  .work-panel-count {
    margin-right: auto;
    min-width: 0;
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .workspace-split > .work-panel {
    order: -1;
    margin: 8px 0 0;
  }
  .work-panel-body {
    max-height: min(26dvh, 240px);
    overflow: auto;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .work-panel-heading {
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .work-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 6px 9px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: var(--panel);
  }
  .work-card[data-state="active"] {
    border-color: var(--accent, var(--fg));
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--accent, var(--fg)) 45%, var(--line));
    }
  }
  .work-card {
    cursor: pointer;
  }
  .work-card-main {
    border-left: 3px solid var(--accent, var(--fg));
    background: var(--accent, var(--fg));
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--accent, var(--fg)) 7%, var(--panel));
    }
  }
  .work-card-role {
    flex: none;
    align-self: center;
    width: 11px;
    height: 11px;
    margin-right: -4px;
    color: var(--accent, var(--fg));
    fill: currentColor;
    stroke: none;
  }
  .work-card:hover {
    border-color: var(--fg);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--fg) 30%, var(--line));
    }
  }
  .work-card-head {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }
  .work-card-head:focus-visible {
    outline: 2px solid var(--accent, var(--fg));
    outline-offset: 3px;
    border-radius: 6px;
  }
  .work-detail[data-state="active"] > .work-detail-head > .work-icon, .work-detail-step[data-state="running"] > .work-icon {
    color: var(--accent, var(--fg));
    animation: work-spin 1s linear infinite;
  }
  @media (prefers-reduced-motion: reduce) {
    .work-detail[data-state="active"] > .work-detail-head > .work-icon, .work-detail-step[data-state="running"] > .work-icon {
      animation: none;
    }
  }
  .work-detail[data-state="returned"] > .work-detail-head > .work-icon, .work-detail-step[data-state="completed"] > .work-icon {
    color: var(--ok, #2e7d32);
  }
  .work-detail[data-state="interrupted"] > .work-detail-head > .work-icon, .work-detail-step[data-state="failed"] > .work-icon, .work-detail-step[data-state="blocked"] > .work-icon {
    color: var(--danger, #b3261e);
  }
  .work-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: min(560px, 80vw);
    max-height: min(70dvh, 640px);
    overflow: auto;
  }
  .work-detail-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    font-size: 12px;
    color: var(--muted);
  }
  .work-detail-head .work-icon {
    width: 16px;
    height: 16px;
    margin: 0;
  }
  .work-detail-state {
    font-weight: 600;
    color: var(--fg);
  }
  .work-detail-goal {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
  }
  .work-detail-heading {
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .work-detail-step-text {
    min-width: 0;
    flex: 1;
  }
  .work-detail-step-open {
    margin-top: 2px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--accent, var(--fg));
    font: inherit;
    font-size: 11px;
    text-decoration: underline;
    cursor: pointer;
  }
  .work-detail-output {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .work-detail-output-label {
    font-size: 10px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .work-detail-output-text {
    margin: 0;
    padding: 6px 8px;
    max-height: 240px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--fg);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--fg) 4%, var(--panel));
    }
    font: 11.5px/1.45 var(--mono, ui-monospace, monospace);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  .work-detail-output-note {
    font-size: 11px;
    color: var(--muted);
  }
  .work-detail-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .work-detail-step {
    display: flex;
    gap: 8px;
    align-items: flex-start;
  }
  .work-detail-step .work-icon {
    width: 15px;
    height: 15px;
    margin-top: 2px;
  }
  .work-detail-step-label {
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
  }
  .work-detail-step-meta {
    font-size: 11px;
    color: var(--muted);
  }
  .work-detail-more, .work-detail-gone {
    font-size: 12px;
    color: var(--muted);
  }
  .work-card-lines {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
  .work-card-meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
    font-size: 11px;
    line-height: 1.3;
    color: var(--muted);
  }
  .work-card-model {
    min-width: 0;
    flex: 0 1 auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .work-card-state {
    margin-left: auto;
    flex: none;
  }
  .work-card-goal {
    min-width: 0;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .work-card-runtime {
    margin: 2px 0 0 24px;
    font-size: 11.5px;
    opacity: .8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .work-card-question {
    margin: 4px 0 0 24px;
    padding: 6px 8px;
    border-left: 2px solid var(--accent, currentColor);
    border-radius: 4px;
    background: currentColor;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, currentColor 6%, transparent);
    }
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .work-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 2px 24px;
  }
  .work-card-action-note {
    font-size: 11.5px;
    opacity: .75;
  }
  .orders-view {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: min(560px, 86vw);
    max-height: 70vh;
    overflow-y: auto;
  }
  .orders-count, .orders-empty {
    margin: 0;
    font-size: 12.5px;
    opacity: .75;
  }
  .orders-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .orders-item {
    border: 1px solid var(--border, rgba(127,127,127,.3));
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .orders-goal {
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .orders-question {
    font-size: 12.5px;
    line-height: 1.4;
    padding: 6px 8px;
    border-left: 2px solid var(--accent, currentColor);
    background: currentColor;
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, currentColor 6%, transparent);
    }
    border-radius: 4px;
    overflow-wrap: anywhere;
  }
  .orders-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    font-size: 12px;
  }
  .orders-chat {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .orders-runtime {
    opacity: .75;
  }
  .orders-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
  }
  .orders-action {
    min-height: 0;
  }
  .orders-action[data-order-action="done"]:hover {
    color: var(--destructive, #c0392b);
  }
  .icon-action .dock-icon {
    width: 16px;
    height: 16px;
  }
  .icon-action[data-icon="done"]:hover {
    color: var(--destructive, #c0392b);
  }
  .icon-action[data-icon="interrupt"] .dock-icon {
    width: 14px;
    height: 14px;
  }
  .orders-action:disabled {
    opacity: .5;
    cursor: default;
  }
  .orders-note {
    font-size: 11.5px;
    opacity: .75;
  }
  .work-icon {
    flex: none;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: var(--muted);
  }
  [data-state="running"] > .work-icon, [data-state="active"] > .work-card-head > .work-icon {
    color: var(--accent, var(--fg));
    animation: work-spin 1s linear infinite;
  }
  @keyframes work-spin {
    to {
      transform: rotate(360deg);
    }
  }
  .work-panel-stale {
    margin: 0 0 6px;
    padding: 6px 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.35;
    color: var(--text);
    background: var(--bg);
  }
  .work-panel[data-stale="true"] .work-panel-count {
    color: var(--danger);
  }
  .work-card[data-stale="true"] {
    opacity: .6;
  }
  .work-card[data-stale="true"] > .work-card-head > .work-icon {
    animation: none;
    color: var(--muted);
  }
  @media (prefers-reduced-motion: reduce) {
    [data-state="running"] > .work-icon, [data-state="active"] > .work-card-head > .work-icon {
      animation: none;
    }
  }
  [data-state="completed"] > .work-icon, [data-state="returned"] > .work-card-head > .work-icon {
    color: var(--ok, #2e7d32);
  }
  [data-state="failed"] > .work-icon, [data-state="blocked"] > .work-icon, [data-state="interrupted"] > .work-card-head > .work-icon {
    color: var(--danger, #b3261e);
  }
  .work-card-tasks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .work-task {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    line-height: 1.4;
    min-width: 0;
  }
  .work-task > .work-icon {
    margin-top: 0;
    width: 13px;
    height: 13px;
  }
  .work-task-label {
    min-width: 0;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .work-task[data-state="completed"] .work-task-label {
    color: var(--muted);
  }
  .work-task-more, .work-panel-more {
    font-size: 11px;
    color: var(--muted);
  }
  .work-task-more-button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .work-task-more-button:focus-visible {
    outline: 2px solid var(--accent, var(--fg));
    outline-offset: 2px;
    border-radius: 4px;
  }
  @media (min-width: 1000px) {
    .workspace-split:has(.work-panel:not([hidden]):not(.is-collapsed)) {
      flex-direction: row;
    }
    .workspace-split:has(.work-panel:not([hidden]):not(.is-collapsed)) > .work-panel {
      order: 0;
      flex: 0 0 clamp(300px, 25%, 380px);
      margin: 12px 12px 12px 0;
    }
    .workspace-split:has(.work-panel:not([hidden]):not(.is-collapsed)) > .work-panel .work-panel-body {
      flex: 1;
      max-height: none;
    }
    .workspace-split:has(.work-panel:not([hidden]):not(.is-collapsed)) > .workspace-chat-column {
      flex: 1 1 0;
    }
    .workspace-split:has(.work-panel:not([hidden]):not(.is-collapsed)):has(.dashboard-stage:not([hidden]):not(.is-collapsed)) > .workspace-chat-column {
      flex: 0 0 clamp(340px, 30%, 480px);
    }
  }
  .workspace-chat-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    min-width: 0;
  }
  @media (min-width: 1000px) {
    .workspace-split:has(.dashboard-stage:not([hidden]):not(.is-collapsed)) {
      flex-direction: row;
      gap: 0;
    }
    .workspace-split:has(.dashboard-stage:not([hidden]):not(.is-collapsed)) > .dashboard-stage {
      flex: 1 1 0;
      min-width: 0;
      margin: 12px 0 12px 12px;
      display: flex;
      flex-direction: column;
    }
    .workspace-split:has(.dashboard-stage:not([hidden]):not(.is-collapsed)) > .dashboard-stage .dashboard-stage-body {
      flex: 1;
      max-height: none;
      min-height: 0;
    }
    .workspace-split:has(.dashboard-stage:not([hidden]):not(.is-collapsed)) > .workspace-chat-column {
      flex: 0 0 clamp(340px, 34%, 520px);
    }
    .workspace-split:has(.dashboard-stage:not([hidden]):not(.is-collapsed)) .workspace-content {
      padding-left: 20px;
      padding-right: 12px;
    }
    .workspace-split:has(.dashboard-stage:not([hidden]):not(.is-collapsed)) .ui-composer-host {
      padding-left: 16px;
      padding-right: 16px;
    }
  }
  .dashboard-stage-body > .body {
    margin: 0;
  }
  .dashboard-chip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    padding: 8px 12px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    font-size: 13px;
    color: var(--muted);
  }
  .dir-picker-new {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 8px 0;
  }
  .dir-picker-new[hidden] {
    display: none;
  }
  .dir-picker-name {
    flex: 1;
    min-width: 0;
  }
  [role="dialog"] .workspace-error:not([hidden]) {
    margin: 8px 0;
    padding: 8px 12px;
    border: 1px solid var(--danger);
    border-radius: 12px;
    color: var(--danger);
    font-size: 13px;
  }
}
.model-trigger {
  background: none;
  border: 0;
  padding: 1px 6px;
  margin: -1px -6px;
  border-radius: 6px;
  color: inherit;
  font: inherit;
  cursor: pointer;
  max-width: 100%;
}
.model-trigger:hover, .model-trigger[aria-expanded="true"] {
  background: var(--user);
}
.model-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.model-picker {
  width: min(380px, calc(100vw - 16px));
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  font-size: 13px;
}
.model-picker-search {
  width: 100%;
  min-height: 34px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: inherit;
  font: inherit;
}
.model-picker-list {
  max-height: min(280px, 40vh);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.model-picker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.model-picker-item:hover, .model-picker-item:focus-visible {
  background: var(--user);
  outline: none;
}
.model-picker-item[data-current] {
  font-weight: 600;
  background: var(--user);
  box-shadow: inset 3px 0 0 var(--accent);
}
.model-picker-item:disabled, .model-picker-level:disabled {
  opacity: .55;
  cursor: progress;
}
.model-picker-ref {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: ui-monospace, monospace;
  font-size: 12px;
}
.model-picker-tag {
  flex: none;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}
.model-picker-levels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.model-picker-label {
  margin-right: 4px;
  font-size: 11px;
  color: var(--muted);
}
.model-picker-level {
  min-height: 28px;
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.model-picker-level:hover {
  background: var(--user);
}
.model-picker-level[aria-checked="true"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.model-picker-note {
  margin: 0;
  padding: 4px 8px;
  font-size: 12px;
  color: var(--muted);
}
.model-picker-error {
  color: var(--danger);
}
@media (max-width: 700px) {
  .model-picker-item, .model-picker-level {
    min-height: 40px;
  }
}
@layer components {
  .workspace-pinned {
    margin: 0 0 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line);
  }
  .workspace-pin-mark {
    display: inline-block;
    flex: none;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    border-radius: 2px;
    background: var(--accent);
    transform: rotate(45deg) scale(.8);
    vertical-align: 1px;
  }
  .workspace-stream-row.is-pinned {
    position: relative;
    cursor: grab;
  }
  .workspace-stream-row.is-dragging {
    opacity: .45;
  }
  .workspace-stream-row.is-drop-before::before, .workspace-stream-row.is-drop-last::after {
    content: '';
    position: absolute;
    left: 6px;
    right: 6px;
    height: 2px;
    border-radius: 1px;
    background: var(--accent);
    pointer-events: none;
  }
  .workspace-stream-row.is-drop-before::before {
    top: -1px;
  }
  .workspace-stream-row.is-drop-last::after {
    bottom: -1px;
  }
}
.work-card-time {
  margin-left: auto;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.work-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 60vh;
  overflow: auto;
}
.work-history-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.work-history-item:hover, .work-history-item:focus-visible {
  background: var(--bg);
  outline: 2px solid transparent;
  border-color: var(--accent, var(--text));
}
.work-history-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.work-history-meta {
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.work-history-goal {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.work-history-note, .work-history-empty {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.version-notice {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 24px);
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 6px 24px rgb(0 0 0 / 25%);
  font-size: 13px;
}
.version-notice button {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.version-notice button:first-of-type {
  background: var(--accent, var(--text));
  color: var(--bg);
}
.side-toggle {
  display: none;
}
@media (min-width: 761px) {
  .side-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    font: inherit;
    cursor: pointer;
  }
  .side-toggle:hover, .side-toggle:focus-visible {
    background: var(--panel);
  }
}
@media (max-width: 999px) {
  .pinned-message {
    display: none !important;
  }
}
.workspace-split > .work-panel.is-collapsed, .workspace-split > .dashboard-stage.is-collapsed {
  display: none;
}
.workspace-split > .work-panel > .work-panel-bar > button, .workspace-split > .dashboard-stage > .dashboard-stage-bar > button:last-child {
  display: none;
}
.workspace-split.chat-hidden > .workspace-chat-column {
  display: none;
}
.workspace-split.chat-hidden > .dashboard-stage {
  flex: 1 1 0;
}
.panel-dock {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  padding: 6px 0 0;
  order: -2;
}
.panel-dock[hidden] {
  display: none;
}
.panel-dock-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.panel-dock-button:hover, .panel-dock-button:focus-visible {
  background: var(--panel);
  color: var(--text);
  outline: 2px solid transparent;
}
.panel-dock-button[aria-pressed="true"] {
  border-color: var(--line);
  background: var(--panel);
  color: var(--text);
}
.dock-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.panel-dock-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
}
.panel-dock-dot[data-status="running"] {
  background: var(--accent, var(--text));
}
.panel-dock-dot[data-status="stale"] {
  background: var(--danger);
}
@media (min-width: 1000px) {
  .workspace-split:has(> .panel-dock:not([hidden])) {
    flex-direction: row;
  }
  .workspace-split:has(> .panel-dock:not([hidden])):not(:has(> .work-panel:not([hidden]):not(.is-collapsed))):not(:has(> .dashboard-stage:not([hidden]):not(.is-collapsed))) > .workspace-chat-column {
    flex: 1 1 0;
    min-width: 0;
  }
  .panel-dock {
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    padding: 12px 6px 0 4px;
    order: 9;
  }
  .panel-dock-button {
    width: 32px;
    height: 32px;
  }
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@property --tw-ordinal {
  syntax: "*";
  inherits: false;
}
@property --tw-slashed-zero {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-figure {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false;
}
@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-duration: initial;
    }
  }
}
