        
              

           
                  
.ox-main {
  --coherent-deck: var(--coherent-palette-gray-15);
  --coherent-plate: var(--coherent-palette-gray-33);
  --coherent-ink: var(--coherent-palette-gray-241);
  --coherent-muted: var(--coherent-palette-gray-170);
  --coherent-rim: var(--coherent-palette-gray-255-alpha-11);
  --bg: var(--coherent-palette-gray-15);
  --bg2: var(--coherent-palette-gray-24);
  --bg3: var(--coherent-palette-gray-39);
  --fg: var(--coherent-palette-gray-241);
  --fg2: var(--coherent-palette-gray-170);
  --line: var(--coherent-palette-gray-56);
}
.ox-shell[data-mode="light"] .ox-main {
  --coherent-deck: var(--coherent-palette-gray-243);
  --coherent-plate: var(--coherent-palette-gray-255);
  --coherent-ink: var(--coherent-palette-gray-32);
  --coherent-muted: var(--coherent-palette-gray-96);
  --coherent-rim: var(--coherent-palette-gray-0-alpha-13);
  --bg: var(--coherent-palette-gray-243);
  --bg2: var(--coherent-palette-gray-255);
  --bg3: var(--coherent-palette-gray-232);
  --fg: var(--coherent-palette-gray-32);
  --fg2: var(--coherent-palette-gray-96);
  --line: var(--coherent-palette-gray-214);
}
.ox-main .ox-page {
  color: var(--coherent-ink);
}
.ox-main .ox-page {
  background: var(--coherent-deck);
}
.ox-main .ox-pagehead {
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}
.ox-main .ox-pagetitle {
  color: var(--coherent-ink);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.25;
}
.ox-main .ox-pagesub {
  color: var(--coherent-muted);
  max-width: 660px;
  font-size: 13px;
  line-height: 1.55;
}
.ox-main .ox-pagehead-a > .ox-btn {
  border-radius: 10px;
  font-size: 12px;
  font-weight: 550;
  box-shadow: none;
  transition: color 120ms ease, background-color 120ms ease;
}
.ox-main .ox-pagehead-a > .ox-btn-subtle {
  color: var(--coherent-muted);
  background: transparent;
  border-color: transparent;
}
.ox-main .ox-pagehead-a > .ox-btn-subtle:hover {
  color: var(--coherent-ink);
  background: var(--coherent-plate);
}
.ox-main .ox-pagehead-a > .ox-btn-primary {
  color: var(--coherent-palette-209-225-255);
  background: var(--coherent-palette-34-57-88);
  border-color: var(--coherent-palette-124-170-236-alpha-2);
}
.ox-main .ox-pagehead-a > .ox-btn-primary:hover { background: var(--coherent-palette-45-70-103); }
.ox-shell[data-mode="light"] .ox-main .ox-pagehead-a > .ox-btn-primary {
  color: var(--coherent-palette-40-77-128);
  background: var(--coherent-palette-218-230-247);
  border-color: var(--coherent-palette-195-212-236);
}
@media (max-width: 720px) {
  .ox-main .ox-pagetitle { font-size: 21px; }
  .ox-main .ox-pagesub { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ox-main .coherent-avatar { transition: none; }
}


           
                

.ox-main {
  --coherent-plate: var(--coherent-palette-gray-33);
  --coherent-plate-top: var(--coherent-palette-gray-39);
  --coherent-ink: var(--coherent-palette-gray-241);
  --coherent-muted: var(--coherent-palette-gray-170);
  --coherent-quiet: var(--coherent-palette-gray-136);
  --coherent-edge: var(--coherent-palette-gray-255-alpha-1);
  --coherent-outline: var(--coherent-palette-gray-255-alpha-65);
  --coherent-shadow: 0 1px 1px var(--coherent-palette-gray-0-alpha-42), 0 3px 8px -3px var(--coherent-palette-gray-0-alpha-5);
  --coherent-avatar-a: var(--coherent-palette-61-99-234);
  --coherent-avatar-b: var(--coherent-palette-57-72-160);
  --coherent-radius: 18px;
  --coherent-duration: 140ms;
  --coherent-action-fill: var(--coherent-palette-34-57-88);
  --coherent-action-hover: var(--coherent-palette-45-70-103);
  --coherent-action-ink: var(--coherent-palette-209-225-255);
  --coherent-action-edge: var(--coherent-palette-124-170-236-alpha-2);
}

[data-mode="light"] .ox-main {
  --coherent-plate: var(--coherent-palette-gray-255);
  --coherent-plate-top: var(--coherent-palette-gray-250);
  --coherent-ink: var(--coherent-palette-gray-32);
  --coherent-muted: var(--coherent-palette-gray-96);
  --coherent-quiet: var(--coherent-palette-gray-112);
  --coherent-edge: var(--coherent-palette-gray-255-alpha-95);
  --coherent-outline: var(--coherent-palette-20-30-52-alpha-15);
  --coherent-shadow: 0 1px 1px var(--coherent-palette-25-38-65-alpha-6), 0 3px 8px -3px var(--coherent-palette-25-38-65-alpha-15);
  --coherent-action-fill: var(--coherent-palette-218-230-247);
  --coherent-action-hover: var(--coherent-palette-203-220-243);
  --coherent-action-ink: var(--coherent-palette-40-77-128);
  --coherent-action-edge: var(--coherent-palette-195-212-236);
}

.ox-main :is(.ox-tile, .ox-card, .ox-library-panel, .ox-market-block, .ox-market-hero, .ox-market-admin) {
  position: relative;
  border: 1px solid var(--coherent-outline);
  border-radius: var(--coherent-radius);
  background: linear-gradient(155deg, var(--coherent-plate-top), var(--coherent-plate) 72%);
  color: var(--coherent-ink);
  box-shadow: inset 0 1px 0 var(--coherent-edge), var(--coherent-shadow);
  backdrop-filter: none;
  animation: none;
}

.ox-main :is(.ox-tile, .ox-card-btn) {
  transition: transform var(--coherent-duration) ease-out;
}

.ox-main :is(.ox-tile, .ox-card-btn):hover {
  transform: translateY(-2px);
  border-color: var(--coherent-outline);
  box-shadow: inset 0 1px 0 var(--coherent-edge), var(--coherent-shadow);
}

.ox-main :is(.ox-tile, .ox-card-btn, .ox-library-newcell):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.ox-main .ox-grid:has(> .ox-library-cell),
.ox-main .ox-market-grid {
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.ox-main .ox-library-cell {
  height: 100%;
}

.ox-main .ox-library-cell > .ox-tile,
.ox-main .ox-market-grid > .ox-tile {
  flex: 1 1 auto;
  min-height: 182px;
  height: 100%;
  padding: 20px;
  gap: 16px;
}

.ox-main .ox-tile-cover {
  display: none;
}

             
.ox-main .ox-tile-head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.ox-main .ox-tile-txt {
  display: contents;
}

.ox-main .ox-tile-name {
  grid-column: 2;
  grid-row: 1;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -.015em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.ox-main .ox-tile-tag {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 13px;
  line-height: 1.5;
  color: var(--coherent-muted);
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.ox-main .ox-tile-dot {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
}

.ox-main :is(.ox-tile-glyph, .ox-tile-head > .ox-stamp, .coherent-avatar) {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--coherent-avatar-a), var(--coherent-avatar-b));
  color: var(--coherent-palette-gray-255);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 1px 0 var(--coherent-palette-gray-255-alpha-24), 0 1px 2px var(--coherent-palette-2-5-16-alpha-22);
}

.ox-main .ox-tile-head > :is(.ox-tile-glyph, .ox-stamp) {
  grid-column: 1;
  grid-row: 1;
}

.ox-main .ox-tile-foot {
  margin-top: auto;
  flex-wrap: wrap;
  row-gap: 6px;
  color: var(--coherent-quiet);
}

.ox-main .ox-tile-foot .ox-badge {
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--coherent-quiet);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .055em;
  line-height: 1.5;
  text-transform: uppercase;
}

.ox-main .ox-tile-foot .ox-badge + .ox-badge::before {
  content: "·";
  padding-right: 6px;
}

.ox-main .ox-tile-n {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--coherent-quiet);
}

.ox-main :is(.ox-card-t, .ox-library-panel-t, .ox-market-block-t) {
  color: var(--coherent-ink);
  letter-spacing: -.015em;
}

.ox-main :is(.ox-card-s, .ox-card-meta, .ox-library-note, .ox-market-desc, .ox-market-hero-desc) {
  color: var(--coherent-muted);
}

.ox-main .ox-card-foot {
  border-top-color: var(--coherent-outline);
}

.ox-main .ox-card[data-app-id] .ox-card-ic {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: 0;
  border-radius: 12px;
  color: var(--coherent-action-ink);
  background: var(--coherent-action-fill);
}

            
.ox-main :is(.ox-market-hero-a, .ox-market-actions, .ox-library-acts, .ox-market-admin-actions) > .ox-btn:not(.ox-btn-danger) {
  border-radius: 10px;
  font-size: 12px;
  font-weight: 550;
  box-shadow: none;
  transition: none;
}

.ox-main :is(.ox-market-hero-a, .ox-market-actions, .ox-library-acts, .ox-market-admin-actions) > .ox-btn-primary {
  border-color: var(--coherent-action-edge);
  background: var(--coherent-action-fill);
  color: var(--coherent-action-ink);
}

.ox-main :is(.ox-market-hero-a, .ox-market-actions, .ox-library-acts, .ox-market-admin-actions) > .ox-btn-primary:hover {
  background: var(--coherent-action-hover);
  box-shadow: none;
}

.ox-main :is(.ox-market-hero-a, .ox-market-actions, .ox-library-acts, .ox-market-admin-actions) > :is(.ox-btn-subtle, .ox-btn-ghost) {
  border-color: var(--coherent-outline);
  background: transparent;
  color: var(--coherent-muted);
}

.ox-main :is(.ox-market-hero-a, .ox-market-actions, .ox-library-acts, .ox-market-admin-actions) > :is(.ox-btn-subtle, .ox-btn-ghost):hover {
  background: var(--coherent-plate-top);
  color: var(--coherent-ink);
  box-shadow: none;
}

.ox-main .ox-library-newcell {
  border-radius: var(--coherent-radius);
  border-color: var(--coherent-outline);
  background: transparent;
  transition: none;
}

.ox-main .ox-library-count {
  border: 1px solid var(--coherent-outline);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--coherent-muted);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.ox-main .ox-market-hero {
  padding: 24px;
}

.ox-main .ox-market-hero-glow {
  display: none;
}

.ox-main .ox-market-hero .ox-badge-featured {
  background: color-mix(in srgb, var(--coherent-action-fill), transparent 20%);
  color: var(--coherent-action-ink);
}

.ox-main .ox-market-hero-glyph {
  --coherent-avatar-a: var(--coherent-palette-29-169-162);
  --coherent-avatar-b: var(--coherent-palette-17-116-102);
}

.ox-main :is(.ox-market-hero-glyph, .ox-market-detail-glyph) {
  border-radius: 50%;
  border: 0;
  background: linear-gradient(140deg, var(--coherent-avatar-a), var(--coherent-avatar-b));
  color: var(--coherent-palette-gray-255);
  box-shadow: inset 0 1px 0 var(--coherent-palette-gray-255-alpha-24);
}

.ox-main .ox-market-perm {
  background: color-mix(in srgb, var(--coherent-plate), var(--bg) 30%);
  border-radius: 10px;
}

.ox-main .ox-market-search {
  border-radius: 12px;
  border-color: var(--coherent-outline);
  background: var(--coherent-plate);
  color: var(--coherent-ink);
}

.ox-main .ox-market-chips .ox-chip {
  border-radius: 999px;
  transition: none;
}

@media (max-width: 720px) {
  .ox-main .ox-grid:has(> .ox-library-cell),
  .ox-main .ox-market-grid {
    gap: 12px;
  }
  .ox-main .ox-library-cell > .ox-tile,
  .ox-main .ox-market-grid > .ox-tile {
    padding: 18px;
  }
  .ox-main .ox-market-hero {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce), (hover: none) {
  .ox-main :is(.ox-tile, .ox-card-btn) {
    transition: none;
  }
  .ox-main :is(.ox-tile, .ox-card-btn):hover {
    transform: none;
  }
}


            
                

.ox-main .ox-market-toolbar {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.ox-main .ox-market-searchrow {
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
}

.ox-main .ox-market-searchrow .ox-market-searchwrap {
  flex: 1 1 auto;
}

.ox-main .ox-market-searchrow .ox-market-search {
  min-height: 40px;
}

.ox-main .ox-market-searchbutton {
  flex: none;
  border-radius: 10px;
  border-color: var(--coherent-action-edge);
  background: var(--coherent-action-fill);
  color: var(--coherent-action-ink);
  font-size: 12px;
  font-weight: 550;
  box-shadow: none;
  transition: none;
}

.ox-main .ox-market-searchbutton:hover {
  background: var(--coherent-action-hover);
  box-shadow: none;
}

.ox-main .ox-market-count {
  margin: 18px 0 12px;
}

.ox-main .ox-market-showcases {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.ox-main .ox-market-showcases > .ox-market-hero {
  width: 100%;
  min-height: 226px;
  gap: 24px;
}

.ox-main .ox-market-showcases .ox-market-hero-txt {
  flex: 1 1 auto;
}

.ox-main .ox-market-showcases .ox-market-hero-name {
  overflow-wrap: anywhere;
}

.ox-main .ox-market-showcases .ox-market-hero-desc:empty {
  display: none;
}

@media (max-width: 720px) {
  .ox-main :is(.ox-market-toolbar, .ox-market-searchrow) {
    width: 100%;
    min-width: 0;
  }
  .ox-main .ox-market-searchrow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .ox-main .ox-market-searchrow .ox-market-search {
    min-width: 0;
  }
  .ox-main .ox-market-showcases {
    gap: 14px;
  }
  .ox-main .ox-market-showcases > .ox-market-hero {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 8px 12px;
    min-height: 0;
    padding: 16px;
  }
  .ox-main .ox-market-showcases .ox-market-hero-glyph {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 48px;
    height: 48px;
    font-size: 25px;
  }
  .ox-main .ox-market-showcases .ox-market-hero-txt {
    display: contents;
  }
  .ox-main .ox-market-showcases .ox-market-hero-eyebrow {
    grid-column: 2;
    grid-row: 1;
    flex-wrap: wrap;
    gap: 6px;
    align-self: end;
  }
  .ox-main .ox-market-showcases .ox-market-hero-name {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    font-size: 18px;
    line-height: 1.25;
  }
  .ox-main .ox-market-showcases :is(.ox-market-hero-tag, .ox-market-hero-desc, .ox-market-hero-badges, .ox-market-hero-a) {
    grid-column: 1 / -1;
    min-width: 0;
  }
  .ox-main .ox-market-showcases .ox-market-hero-tag {
    font-size: 14px;
    line-height: 1.45;
  }
  .ox-main .ox-market-showcases .ox-market-hero-badges {
    margin-top: 0;
  }
  .ox-main .ox-market-showcases .ox-market-hero-a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin-top: 4px;
  }
  .ox-main .ox-market-showcases .ox-market-hero-a > .aui-spacer {
    order: 1;
    flex: 0 0 100%;
    height: 0;
  }
  .ox-main .ox-market-showcases .ox-market-hero-a:not(:has(.ox-market-inst)) > .aui-spacer {
    display: none;
  }
  .ox-main .ox-market-showcases .ox-market-inst {
    flex: none;
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 8px;
  }
  .ox-main .ox-market-showcases .ox-market-hero-a > .ox-btn {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    min-height: 34px;
    height: auto;
    white-space: normal;
    padding: 5px 10px;
    border-radius: 8px;
    line-height: 1.3;
  }
  .ox-main .ox-market-showcases .ox-market-hero-a .ox-btn-label {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .ox-main .ox-market-showcases .ox-market-hero-a > .ox-btn-subtle {
    order: 2;
    min-height: 30px;
    padding: 3px 0;
    border-color: transparent;
    justify-content: flex-start;
  }
  .ox-main .ox-market-showcases .ox-market-hero-n {
    order: 2;
    margin-left: auto;
    width: auto;
    font-size: 11px;
  }
}


            
             

.ox-main :is(.ox-chat, .ox-chat-surface) {
  --chat-ink: var(--coherent-palette-gray-241);
  --chat-muted: var(--coherent-palette-gray-170);
  --chat-soft-ink: var(--coherent-palette-gray-136);
  --chat-accent: var(--accent);
  --chat-cyan: var(--accent);
  --chat-edge: var(--coherent-palette-gray-56);
  --chat-rim: var(--coherent-palette-gray-70);
  --chat-well: var(--coherent-palette-gray-24);
  --chat-deck: var(--coherent-palette-gray-15);
  --chat-card: linear-gradient(155deg, var(--coherent-palette-gray-39) 0%, var(--coherent-palette-gray-33) 100%);
  --chat-user: linear-gradient(140deg, var(--coherent-palette-gray-48) 0%, var(--coherent-palette-gray-40) 100%);
  --chat-active: linear-gradient(140deg, var(--coherent-palette-gray-51) 0%, var(--coherent-palette-gray-41) 100%);
  --chat-shadow: inset 0 1px 0 var(--coherent-palette-gray-255-alpha-471), 0 2px 3px var(--coherent-palette-gray-0-alpha-2), 0 12px 24px -18px var(--coherent-palette-gray-0-alpha-502);
  --chat-focus: var(--accent-soft);
  color: var(--chat-ink);
}

.aui-root[data-mode="light"] .ox-main :is(.ox-chat, .ox-chat-surface) {
  --chat-ink: var(--fg);
  --chat-muted: var(--fg2);
  --chat-soft-ink: var(--fg2);
  --chat-accent: var(--accent);
  --chat-cyan: var(--accent);
  --chat-edge: var(--line);
  --chat-rim: var(--line);
  --chat-well: var(--bg3);
  --chat-deck: var(--coherent-palette-gray-243);
  --chat-card: linear-gradient(145deg, var(--bg2), var(--bg));
  --chat-user: linear-gradient(140deg, var(--bg3), var(--bg));
  --chat-active: linear-gradient(140deg, var(--bg3), var(--bg2));
  --chat-shadow: var(--ox-shadow-a);
  --chat-focus: var(--accent-soft);
}

             
.ox-main .ox-chat-railhead {
  min-height: 48px;
  padding: 4px 12px;
  gap: 4px;
  border-bottom-color: var(--line);
  background: var(--coherent-deck, var(--bg));
  color: var(--coherent-ink, var(--fg));
}

.ox-main .ox-chat-header-title {
  padding-right: 12px;
  color: var(--coherent-ink, var(--fg));
  font-family: var(--font);
  font-size: 16px;
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.ox-main .ox-chat-railhead > button {
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--coherent-muted, var(--fg2));
  box-shadow: none;
  transition: color 90ms ease, background-color 90ms ease;
}

.ox-main .ox-chat-railhead > button .aui-ic { width: 18px; height: 18px; }
.ox-main .ox-chat-railhead > button:hover { color: var(--fg); background: var(--bg3); }
.ox-main .ox-chat-railhead > button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; background: var(--bg3); }

             
.ox-main .ox-page[data-page="chat"].ox-navigation-reveal { animation: none; }

.ox-main .ox-chat-opener {
  border-color: var(--chat-edge);
  border-radius: 18px;
  background: var(--chat-card);
  box-shadow: var(--chat-shadow);
}

.ox-main .ox-chat-opener-g {
  padding: 9px;
  border: 1px solid var(--chat-rim);
  border-radius: 12px;
  background: var(--chat-well);
}

.ox-main :is(.ox-chat-opener-g, .ox-chat-who-g).coherent-avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--coherent-palette-gray-255);
  background: linear-gradient(140deg, var(--coherent-avatar-a), var(--coherent-avatar-b));
  box-shadow: inset 0 1px 0 var(--coherent-palette-gray-255-alpha-2392), 0 1px 2px var(--coherent-palette-2-5-16-alpha-2196);
  font-family: var(--font);
  font-weight: 700;
  line-height: 1;
}

.ox-main .ox-chat-opener-g.coherent-avatar {
  width: 38px;
  height: 38px;
  font-size: 15px;
}

.ox-main .ox-chat-who-g.coherent-avatar {
  width: 24px;
  height: 24px;
  font-size: 11px;
}

.ox-main .ox-chat-opener-n {
  color: var(--chat-ink);
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.025em;
}

.ox-main :is(.ox-chat-opener-k, .ox-chat-opener-pk, .ox-chat-ladder-k) {
  color: var(--chat-soft-ink);
  opacity: 1;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.ox-main :is(.ox-chat-opener-s, .ox-chat-loaded-t, .ox-chat-pick-n, .ox-chat-pick-e) {
  color: var(--chat-muted);
}

.ox-main .ox-chat-opener-p { border-color: var(--chat-edge); }

.ox-main .ox-chat-who {
  color: var(--chat-muted);
  letter-spacing: 0;
}

.ox-main .ox-chat-turn[data-who="ai"] .ox-chat-who {
  gap: 8px;
  font-size: 13px;
}

.ox-main .ox-chat-turn[data-who="ai"] .ox-chat-who-n {
  color: var(--chat-accent);
  font-weight: 650;
}

.ox-main .ox-chat-who-ts {
  color: var(--chat-soft-ink);
  opacity: 1;
  font-size: 11px;
}

.ox-main .ox-chat-turn[data-who="user"] .ox-chat-bubble {
  color: var(--chat-ink);
  border: 1px solid var(--chat-rim);
  border-radius: 15px;
  background: var(--chat-user);
  box-shadow: var(--chat-shadow);
}

.ox-main .ox-chat-turn[data-who="ai"] .ox-chat-bubble {
  color: var(--chat-ink);
  font-family: var(--font-prose);
}

.ox-main .ox-chat-turn[data-who="ai"] .ox-chat-bubble :is(.ox-chat-p, ul, ol, blockquote) {
  font-size: 16px;
  line-height: 1.7;
}

.ox-main .ox-chat-bubble :is(h3, h4, h5) {
  color: var(--chat-ink);
  font-family: var(--font);
  letter-spacing: -0.015em;
}

.ox-main .ox-chat-bubble a { color: var(--chat-cyan); }
.ox-main .ox-chat-bubble li::marker { color: var(--chat-accent); }

.ox-main .ox-chat-bubble blockquote {
  color: var(--chat-muted);
  border-left-color: var(--chat-accent);
}

.ox-main .ox-chat-bubble :is(pre, code) {
  background: var(--chat-well);
  border-color: var(--chat-edge);
  color: var(--chat-ink);
  font-family: var(--mono);
}

.ox-main .ox-chat-bubble pre code { background: none; }
.ox-main .ox-chat-bubble hr { border-color: var(--chat-edge); }

.ox-main .ox-chat-bubble table {
  color: var(--chat-ink);
  font-family: var(--font);
}

.ox-main .ox-chat-bubble :is(th, td) { border-color: var(--chat-edge); }
.ox-main .ox-chat-bubble thead th { color: var(--chat-muted); border-bottom-color: var(--chat-rim); }

.ox-main :is(.ox-chat-copy, .ox-chat-revert) { color: var(--chat-muted); }
.ox-main :is(.ox-chat-copy, .ox-chat-revert):hover { color: var(--chat-accent); }

.ox-main .ox-chat-dock {
  background: var(--chat-deck);
  border-top-color: var(--chat-edge);
}

.ox-main .ox-chat-composer {
  color: var(--chat-ink);
  border-color: var(--chat-rim);
  border-radius: 16px;
  background: var(--chat-card);
  box-shadow: var(--chat-shadow);
  transition: border-color 90ms ease, padding-bottom 180ms var(--ease);
}

.ox-main .ox-chat-composer:focus-within {
  border-color: var(--chat-accent);
  box-shadow: inset 0 1px 0 var(--coherent-palette-gray-255-alpha-471), 0 0 0 3px var(--chat-focus);
}

.ox-main .ox-chat-input.aui-textarea {
  color: var(--chat-ink);
  caret-color: var(--chat-accent);
  background: none;
}

.ox-main .ox-chat-input.aui-textarea::placeholder { color: var(--chat-soft-ink); opacity: 1; }

.ox-main .ox-chat-model {
  color: var(--chat-muted);
  background: none;
}

.ox-main .ox-chat-model:is(:hover, :focus, :active) { background: none; }

.ox-main :is(.ox-chat-attachbtn, .ox-chat-cmdbtn, .ox-chat-voicebtn, .ox-chat-stop) {
  color: var(--chat-muted);
  transition: color 90ms ease, background-color 90ms ease;
}

.ox-main :is(.ox-chat-attachbtn, .ox-chat-cmdbtn, .ox-chat-voicebtn):hover {
  color: var(--chat-accent);
  background: var(--chat-well);
}

.ox-main .ox-chat-voicebtn.is-recording { color: var(--err); }

.ox-main .ox-chat-hint { color: var(--chat-soft-ink); }

.ox-main :is(.ox-chat-rung, .ox-chat-choice, .ox-chat-app-card) {
  color: var(--chat-ink);
  border-color: var(--chat-edge);
  border-radius: 14px;
  background: var(--chat-card);
  box-shadow: var(--chat-shadow);
  transition: border-color 90ms ease, color 90ms ease;
}

.ox-main :is(.ox-chat-rung, .ox-chat-choice, .ox-chat-app-card):hover,
.ox-main :is(.ox-chat-rung, .ox-chat-choice, .ox-chat-app-card)[aria-pressed="true"] {
  border-color: var(--chat-accent);
  background: var(--chat-active);
  transform: none;
  box-shadow: var(--chat-shadow);
}

.aui-root[data-mode="light"] .ox-main :is(.ox-chat-rung, .ox-chat-choice) { background: var(--chat-card); }
.aui-root[data-mode="light"] .ox-main :is(.ox-chat-rung, .ox-chat-choice):hover,
.aui-root[data-mode="light"] .ox-main :is(.ox-chat-rung, .ox-chat-choice)[aria-pressed="true"] { background: var(--chat-active); }

.ox-main :is(.ox-chat-rung, .ox-chat-choice)[aria-pressed="true"] :is(.ox-chat-rung-t, .ox-chat-rung-ic, .ox-chat-choice-t) {
  color: var(--chat-accent);
}

.ox-main :is(.ox-chat-rung-b, .ox-chat-choice-b) { color: var(--chat-muted); }
.ox-main .ox-chat-app-preview { background: var(--chat-well); color: var(--chat-accent); }

.ox-main .ox-chat-turn :is(.ox-chat-tool, .ox-disc-h, .ox-chat-event-group-h) {
  color: var(--chat-muted);
  border-color: var(--chat-edge);
  background: var(--chat-well);
}

.ox-main .ox-chat-turn :is(.ox-chat-tool-n, .ox-disc-n) { color: var(--chat-muted); }
.ox-main .ox-chat-turn :is(.ox-disc-s, .ox-disc-cap, .ox-disc-note) { color: var(--chat-soft-ink); }

.ox-main .ox-chat-turn :is(.ox-disc-h, .ox-chat-event-group-h):hover {
  color: var(--chat-accent);
  background: var(--chat-card);
}

           
.ox-main .ox-chat-turn :is(.ox-disc-w, .ox-disc-b) { transition: none; }
.ox-main .ox-chat-turn .ox-disc-b { border-color: var(--chat-edge); background: var(--chat-well); }
.ox-main .ox-chat-turn .ox-disc-pre { color: var(--chat-muted); }

.ox-main :is(.ox-chat-msg-atts, .ox-chat-attach-strip) .ox-att-card {
  border-color: var(--chat-edge);
  border-radius: 14px;
  background: var(--chat-card);
  box-shadow: var(--chat-shadow);
}

.ox-main :is(.ox-chat-msg-atts, .ox-chat-attach-strip) .ox-att-card.is-openable:hover {
  border-color: var(--chat-accent);
  background: var(--chat-active);
}

.ox-main :is(.ox-chat-msg-atts, .ox-chat-attach-strip) .ox-att-icon { color: var(--chat-accent); background: var(--chat-well); }
.ox-main :is(.ox-chat-msg-atts, .ox-chat-attach-strip) .ox-att-name { color: var(--chat-ink); }
.ox-main :is(.ox-chat-msg-atts, .ox-chat-attach-strip) .ox-att-kind { color: var(--chat-muted); }
.ox-main :is(.ox-chat-msg-atts, .ox-chat-attach-strip) :is(.ox-att-download, .ox-att-dl) { color: var(--chat-cyan); }
.ox-main :is(.ox-chat-msg-atts, .ox-chat-attach-strip) .ox-att-card.is-error { border-color: var(--err); }

.ox-main :is(.ox-chat-det, .ox-chat-status) { color: var(--chat-accent); }
.ox-main .ox-chat-status-dot { background: var(--chat-accent); animation: none; box-shadow: none; }
.ox-main .ox-chat :is(.ox-chat-error, .ox-chat-resumed) { background: var(--chat-well); border-color: var(--chat-edge); }
.ox-main :is(.ox-chat-error, .ox-chat-resumed) .ox-chat-p { color: var(--chat-muted); }

.ox-main :is(.ox-chat-rung, .ox-chat-choice, .ox-chat-app-card, .ox-chat-copy, .ox-chat-revert, .ox-chat-attachbtn, .ox-chat-cmdbtn, .ox-chat-stop, .ox-chat-model):focus-visible,
.ox-main .ox-chat-turn :is(.ox-disc-h, .ox-chat-event-group-h):focus-visible,
.ox-main .ox-chat-msg-atts :is(.ox-att-card, .ox-att-dl):focus-visible {
  outline: 2px solid var(--chat-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .ox-main .ox-chat-railhead > button,
  .ox-main :is(.ox-chat-composer, .ox-chat-send, .ox-chat-composer-a, .ox-chat-rung, .ox-chat-choice, .ox-chat-app-card, .ox-chat-attachbtn, .ox-chat-cmdbtn, .ox-chat-voicebtn, .ox-chat-stop),
  .ox-main .ox-chat-turn .ox-disc-chev {
    animation: none;
    transition: none;
  }
}


              
              

@media (max-width: 720px) {
  .ox-shell {
    --coherent-dock-height: 56px;
    --coherent-dock-bottom: max(10px, env(safe-area-inset-bottom, 0px));
    --coherent-dock-clearance: 8px;
    --coherent-dock-slot: min(80px, calc((100vw - 34px) / 5));
    position: relative;
    grid-template-rows: minmax(0, 1fr);
  }

  .ox-shell > .ox-main {
    box-sizing: border-box;
    background: var(--coherent-deck, var(--coherent-palette-gray-16));
  }

  .ox-shell > .ox-main:has(.ox-page[data-page="chat"], .ox-pagebody.ox-expert-surface) {
    padding-bottom: calc(var(--coherent-dock-height) + var(--coherent-dock-bottom) + var(--coherent-dock-clearance));
  }

  .ox-shell > .ox-main:not(:has(.ox-page[data-page="chat"], .ox-pagebody.ox-expert-surface)) .ox-pagebody-inner {
    padding-bottom: calc(var(--ox-pad, 16px) + var(--coherent-dock-height) + var(--coherent-dock-bottom) + var(--coherent-dock-clearance));
  }

  .ox-shell > .ox-tabbar {
    --coherent-dock-ink: var(--coherent-palette-gray-170);
    --coherent-dock-selected-ink: var(--coherent-palette-gray-241);
    --coherent-dock-selected-fill: var(--coherent-palette-gray-56);
    --coherent-dock-hover-fill: var(--coherent-palette-gray-48);
    box-sizing: border-box;
    position: absolute;
    grid-area: auto;
    left: 50%;
    bottom: var(--coherent-dock-bottom);
    transform: translateX(-50%);
    z-index: var(--ox-layer-page-raised);
    width: min(calc(100% - 24px), calc(var(--coherent-dock-items, 4) * var(--coherent-dock-slot) + 10px));
    max-width: 440px;
    height: var(--coherent-dock-height);
    margin: 0;
    padding: 4px;
    gap: 4px;
    border: 1px solid var(--coherent-palette-gray-255-alpha-13);
    border-radius: 28px;
    background: linear-gradient(155deg, var(--coherent-palette-gray-39), var(--coherent-palette-gray-33) 75%);
    box-shadow: inset 0 1px 0 var(--coherent-palette-gray-255-alpha-1), 0 5px 16px -5px var(--coherent-palette-gray-0-alpha-55);
    backdrop-filter: none;
    animation: none;
    opacity: 1;
    visibility: visible;
    transition: transform 180ms ease, opacity 180ms ease, visibility 0s;
  }

  .ox-shell.is-drawer > .ox-tabbar,
  .ox-shell:has(.coherent-chat-pane[data-coherent-chat-open]) > .ox-tabbar {
    transform: translate(-50%, calc(100% + var(--coherent-dock-bottom) + 8px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease, visibility 0s 180ms;
  }

  .ox-shell:has(.coherent-chat-pane[data-coherent-chat-open]) > .ox-main { z-index: var(--ox-layer-page-sticky); }

  .ox-shell > .ox-tabbar > .ox-tabitem {
    min-height: 46px;
    padding: 2px 8px;
    gap: 3px;
    border-radius: 22px;
    background: transparent;
    color: var(--coherent-dock-ink);
    font-size: 10px;
    font-weight: 550;
    line-height: 1.25;
    box-shadow: none;
    transition: none;
  }

  .ox-shell > .ox-tabbar .ox-tabitem-l {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 12px;
    text-align: center;
  }

  .ox-shell > .ox-tabbar > .ox-tabitem > :is(svg, .aui-ic) {
    width: 24px;
    height: 24px;
  }

  .ox-shell > .ox-tabbar .ox-appic {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .ox-shell > .ox-tabbar .ox-appic-g {
    width: 24px;
    height: 24px;
  }

  .ox-shell > .ox-tabbar > .ox-tabitem:hover {
    background: var(--coherent-dock-hover-fill);
    color: var(--coherent-dock-selected-ink);
  }

  .ox-shell > .ox-tabbar > .ox-tabitem.is-active {
    background: var(--coherent-dock-selected-fill);
    color: var(--coherent-dock-selected-ink);
    box-shadow: inset 0 1px 0 var(--coherent-palette-213-225-255-alpha-7);
  }

  .ox-shell > .ox-tabbar > .ox-tabitem:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
  }

  .ox-shell[data-mode="light"] > .ox-tabbar {
    --coherent-dock-ink: var(--coherent-palette-83-96-121);
    --coherent-dock-selected-ink: var(--coherent-palette-37-71-115);
    --coherent-dock-selected-fill: var(--coherent-palette-220-231-247);
    --coherent-dock-hover-fill: var(--coherent-palette-234-240-248);
    border-color: var(--coherent-palette-36-56-88-alpha-15);
    background: linear-gradient(155deg, var(--coherent-palette-gray-255), var(--coherent-palette-243-246-251) 75%);
    box-shadow: inset 0 1px 0 var(--coherent-palette-gray-255), 0 5px 16px -5px var(--coherent-palette-36-56-88-alpha-2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ox-shell > .ox-tabbar { transition: none !important; }
}


            
            

.coherent-brand-row {
  display: flex;
  align-items: center;
  min-width: 0;
}

.coherent-brand-row > .ox-brand {
  flex: 1 1 auto;
  min-width: 0;
}

.coherent-navigation-compact {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  margin-right: 12px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--fg2);
  cursor: pointer;
}

.coherent-navigation-compact:hover {
  background: var(--bg3);
  color: var(--fg);
}

.coherent-navigation-compact:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.coherent-panel-icon {
  display: block;
  width: 17px;
  height: 15px;
  box-sizing: border-box;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  position: relative;
}

.coherent-panel-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  inset-block: 0;
  border-left: 1.5px solid currentColor;
}

.coherent-panel-icon > .aui-ic {
  position: absolute;
  top: 0;
  right: 0;
  width: 11px;
  height: 12px;
}

@media (min-width: 721px) {
  .ox-shell { transition: grid-template-columns 180ms ease-out; }

  .ox-shell:not(.is-navigation-collapsed) {
    grid-template-columns: var(--ox-sidebar) 0px minmax(0, 1fr);
  }

  .ox-shell > .ox-sidebar {
    box-sizing: border-box;
    width: var(--ox-sidebar);
    z-index: var(--ox-layer-page-sticky);
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: opacity 180ms ease-out, transform 180ms ease-out, visibility 0s;
  }

  .ox-shell.is-navigation-collapsed > .ox-sidebar {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-18px);
    pointer-events: none;
    transition: opacity 180ms ease-out, transform 180ms ease-out, visibility 0s 180ms;
  }

  .ox-shell.is-icon-rail .coherent-brand-row > .ox-brand {
    padding-inline: 6px;
  }

  .ox-shell.is-icon-rail .coherent-navigation-compact {
    width: 24px;
    margin-right: 6px;
  }
}

@media (max-width: 720px) {
  .coherent-navigation-compact,
  .ox-shell .aui-split-toggle,
  .ox-shell .ox-navigation-rail,
  [data-overlay-kind="drawer"] .coherent-navigation-compact {
    display: none !important;
  }

             
  .ox-sidebar .ox-brand-word { font-size: 18px; }
  .ox-sidebar .ox-mark { width: 28px !important; height: 28px !important; }
  .ox-sidebar .ox-mark > svg { width: 100%; height: 100%; }
  .ox-sidebar :is(.ox-ws-n, .ox-usercard-n, .ox-navitem:not(.coherent-expert-row)) { font-size: 14px; }
  .ox-sidebar .ox-ws-m { font-size: 12px; }
  .ox-sidebar .ox-navitem:not(.coherent-expert-row) .ox-navitem-ic > svg { width: 20px; height: 20px; }
  .ox-sidebar :is(.ox-ws-tile, .ox-usercard-av) { width: 30px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .ox-shell,
  .ox-shell > .ox-sidebar,
  .ox-shell.is-navigation-collapsed > .ox-sidebar {
    transition: none;
  }
}


           
               
.ox-main .coherent-chat-compact,
.ox-main .coherent-chat-close,
.ox-main .coherent-chat-trigger {
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; padding: 8px;
  border: 0; border-radius: 9px;
  background: transparent; color: var(--fg2); cursor: pointer;
}
.ox-main :is(.coherent-chat-compact, .coherent-chat-close, .coherent-chat-trigger):hover { background: var(--bg3); color: var(--fg); }
.ox-main :is(.coherent-chat-compact, .coherent-chat-close, .coherent-chat-trigger):focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.ox-main :is(.coherent-chat-compact, .coherent-chat-close, .coherent-chat-trigger) svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ox-main .coherent-chat-appheader { display: none; }
.coherent-chat-scrim { display: none; }
.ox-main .coherent-chat-divider > .aui-split-toggle { display: none !important; }
.ox-main .ox-chat-manage {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
  padding: 4px 12px; border-bottom: 1px solid var(--line);
  background: var(--bg); flex: none;
}
.ox-main .ox-chat-manage > .ox-btn { min-height: 30px; padding: 4px 8px; font-size: 11px; color: var(--fg2); }
.ox-main .ox-chat-manage > [hidden] { display: none; }
.ox-main .ox-chat-manage > .ox-chat-ask { flex-basis: 100%; }
.ox-main .ox-chat-railhead [data-chat-action="history"] .ox-btn-label { display: none; }

@media (min-width: 721px) {
  .ox-main .coherent-chat-split[data-split-controls] {
    --coherent-chat-width: min(420px, 40%);
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) !important;
    grid-template-columns: minmax(0, 1fr) 0px minmax(0, var(--coherent-chat-width)) !important;
    transition: grid-template-columns 180ms ease;
  }
  .ox-main .coherent-chat-split[data-coherent-chat-side="start"] { grid-template-columns: minmax(0, var(--coherent-chat-width)) 0px minmax(0, 1fr) !important; }
  .ox-main .coherent-chat-split[data-coherent-chat-closed] { grid-template-columns: minmax(0, 1fr) 0px minmax(0, 0px) !important; }
  .ox-main .coherent-chat-split[data-coherent-chat-side="start"][data-coherent-chat-closed] { grid-template-columns: minmax(0, 0px) 0px minmax(0, 1fr) !important; }
  .ox-main .coherent-chat-split[data-coherent-app-closed] { grid-template-columns: minmax(0, 0px) 0px minmax(0, 1fr) !important; }
  .ox-main .coherent-chat-split[data-coherent-chat-side="start"][data-coherent-app-closed] { grid-template-columns: minmax(0, 1fr) 0px minmax(0, 0px) !important; }
  .ox-main .coherent-chat-split > .coherent-chat-wrapper.ox-layout-page-frame { display: contents !important; }
  .ox-main .coherent-chat-split > .coherent-chat-wrapper.ox-library-chatrail { display: flex !important; }
  .ox-main .coherent-chat-split .coherent-chat-pane {
    display: flex !important;
    grid-row: 1 !important; grid-column: 3 !important;
    min-width: 0; min-height: 0; overflow-x: hidden;
  }
  .ox-main .coherent-chat-split[data-coherent-chat-side="start"] .coherent-chat-pane { grid-column: 1 !important; }
  .ox-main .coherent-chat-split > :is(.ox-library-appmain, .ox-app-pane) { grid-column: 1 !important; grid-row: 1 !important; }
  .ox-main .coherent-chat-split[data-coherent-chat-side="start"] > .ox-app-pane { grid-column: 3 !important; }
  .ox-main .coherent-chat-split > .coherent-chat-divider { display: none !important; }
  .ox-main .coherent-chat-split .coherent-chat-pane { border-left: 1px solid var(--line); }
  .ox-main .coherent-chat-split .coherent-chat-pane > .ox-chat { min-width: 280px; }
  .ox-main .coherent-chat-split .coherent-chat-pane .ox-chat-railhead { min-width: 280px; }
  .ox-main .coherent-chat-split[data-coherent-chat-closed] .coherent-chat-pane { overflow: hidden !important; visibility: hidden; transition: visibility 0s 180ms; }
  .ox-main .coherent-chat-split[data-coherent-chat-closed] .coherent-chat-divider > .aui-split-toggle { transform: none; }
}

@media (max-width: 720px) {
  .ox-main .coherent-chat-split[data-split-controls] { display: flex !important; flex-direction: column !important; }
  .ox-main .coherent-chat-split > .coherent-chat-wrapper.ox-layout-page-frame { display: contents !important; }
  .ox-main .coherent-chat-split > :is(.ox-library-appmain, .ox-app-pane) { flex: 1 1 auto; width: 100%; min-height: 0; display: flex !important; }
             
          
  .ox-main .coherent-chat-split > .ox-library-appmain { flex-direction: column; }
  .ox-main .coherent-chat-split .coherent-chat-divider,
  .ox-main .coherent-chat-split .aui-split-toggle,
  .ox-main .coherent-chat-compact { display: none !important; }
  .ox-main .coherent-chat-appheader { display: none; }
  .ox-main .coherent-chat-trigger { margin-left: auto; }
  .ox-main .coherent-chat-close { display: inline-grid; }
  .ox-main .coherent-chat-split .coherent-chat-pane {
    position: fixed !important; inset: 0 0 0 auto !important;
    width: min(92vw, 420px) !important; height: 100dvh !important;
    min-width: 0 !important; min-height: 0 !important;
    display: flex !important; flex-direction: column;
    padding: 0 !important; border: 0; border-left: 1px solid var(--line);
    background: var(--coherent-deck, var(--coherent-palette-gray-15)); z-index: var(--ox-layer-drawer);
    box-shadow: -16px 0 48px var(--coherent-palette-gray-0-alpha-251);
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform 180ms ease, visibility 0s 180ms;
  }
                 
  .ox-main .coherent-chat-split .coherent-chat-pane[data-coherent-chat-open] { transform: none; visibility: visible; transition-delay: 0s; }
  .coherent-chat-scrim:not([hidden]) { display: block; position: fixed; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: var(--coherent-palette-3-8-20-alpha-502); z-index: var(--ox-layer-page-scrim); }
}
@media (prefers-reduced-motion: reduce) {
  .ox-main .coherent-chat-split,
  .ox-main .coherent-chat-split .coherent-chat-pane { transition: none !important; }
}


             
                  

.coherent-roster-mode {
  padding-top: 8px;
}

.coherent-expert-roster {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

       
.coherent-roster-head {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 4px 10px 6px;
}

            
            
.coherent-roster-group {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  width: 100%;
  padding: 10px 10px 4px;
  border: 0;
  background: none;
  color: color-mix(in srgb, var(--fg2) 72%, transparent);
  font: inherit;
  font-size: 10.5px;
  font-weight: var(--ox-w-semi);
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.coherent-roster-group:hover { color: var(--fg2); }
.coherent-roster-group:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--rad-sm); }
.coherent-roster-group svg { flex: none; transition: transform var(--ox-d-settle) var(--ox-e-out); }
.coherent-roster-group[aria-expanded="false"] svg { transform: rotate(-90deg); }

.coherent-roster-body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows var(--ox-d-settle) var(--ox-e-out);
}

.coherent-roster-body.is-shut { grid-template-rows: 0fr; }
.coherent-roster-body > div { display: flex; flex-direction: column; gap: 2px; min-height: 0; overflow: hidden; }

              
                
               
.coherent-roster-item {
  position: relative;
  border-radius: var(--rad);
  content-visibility: auto;
  contain-intrinsic-size: auto 52px;
}

.coherent-roster-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--ox-d-settle) ease;
  background: radial-gradient(140px circle at var(--coherent-roster-mx, 50%) var(--coherent-roster-my, 50%),
    color-mix(in srgb, var(--ox-ac) 14%, transparent), transparent 70%);
}

.coherent-roster-item:hover::after { opacity: 1; }

.coherent-expert-roster.is-entering .coherent-roster-item {
  animation: coherent-roster-enter .42s var(--ox-e-out) both;
  animation-delay: calc(var(--coherent-roster-order, 0) * 22ms);
}

@keyframes coherent-roster-enter {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: none; }
}

.coherent-expert-row {
  min-height: 52px;
  gap: 12px;
  padding: 8px 36px 8px 8px;
  border-radius: var(--rad);
  color: var(--fg);
}

.coherent-expert-row > .ox-navitem-ic {
  flex: none;
  opacity: 1;
}

.coherent-expert-row .ox-appic {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  transition: transform var(--ox-d-settle) var(--ox-e-out);
}

.coherent-roster-item:hover .ox-appic { transform: translateY(-1px) scale(1.04); }

.coherent-roster-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;
  font-size: 13.5px;
}

.coherent-expert-row[aria-current="true"] {
  background: linear-gradient(90deg, color-mix(in srgb, var(--ox-ac) 16%, var(--accent-soft)), var(--accent-soft) 70%);
}

          
           
.coherent-expert-row[aria-current="true"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--ox-ac);
  box-shadow: 0 0 12px var(--ox-ac);
}

            
.coherent-roster-star {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  padding: 0;
  border: 0;
  border-radius: var(--rad-sm);
  background: none;
  color: var(--fg2);
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--ox-d-snap) ease, color var(--ox-d-snap) ease;
}

.coherent-roster-item:hover .coherent-roster-star,
.coherent-roster-star:focus-visible,
.coherent-roster-star[aria-pressed="true"] { opacity: 1; }
.coherent-roster-star:hover { color: var(--fg); background: var(--ox-hover); }
.coherent-roster-star[aria-pressed="true"] { color: var(--ox-app-amber); }
.coherent-roster-star[aria-pressed="true"] svg { fill: currentColor; }

              
                
@media (min-width: 721px) {
  .ox-shell.is-icon-rail .coherent-roster-head,
  .ox-shell.is-icon-rail .coherent-roster-star,
  .ox-shell.is-icon-rail .coherent-roster-group > * { display: none; }
  .ox-shell.is-icon-rail .coherent-roster-group { justify-content: center; padding: 8px 0 4px; }
  .ox-shell.is-icon-rail .coherent-roster-group::after { content: ""; width: 18px; height: 1px; background: var(--ox-hairline-strong); }
  .ox-shell.is-icon-rail .coherent-expert-row { padding: 8px 0; justify-content: center; }
  .ox-shell.is-icon-rail .coherent-expert-row[aria-current="true"]::before { display: none; }
}

@media (hover: none) {
  .coherent-roster-star { opacity: 1; color: color-mix(in srgb, var(--fg2) 60%, transparent); }
}

@media (prefers-reduced-motion: reduce) {
  .coherent-expert-roster.is-entering .coherent-roster-item { animation: none; }
  .coherent-roster-item::after,
  .coherent-roster-body,
  .coherent-roster-group svg,
  .coherent-expert-row .ox-appic { transition: none; }
}

.coherent-expert-roster-state {
  margin: 0;
  padding: 8px 10px;
  color: var(--fg2);
  font-size: 12px;
  line-height: 1.5;
}

.coherent-expert-retry {
  justify-content: flex-start;
  min-height: 42px;
}

@media (max-width: 720px) {
  .coherent-expert-row,
  .coherent-expert-retry {
    min-height: 44px;
  }
}

            
             
.ox-shell { --ox-sidebar: 296px; }
.ox-sidebar {
  --side-base: oklch(.191 .012 var(--hue));
  --side-plate: oklch(.261 .014 var(--hue));
  --side-top: oklch(.296 .018 var(--hue));
  --side-hover: oklch(.245 .013 var(--hue));
  --side-ink: oklch(.941 .009 var(--hue));
  --side-muted: oklch(.693 .021 var(--hue));
  --side-quiet: oklch(.646 .023 var(--hue));
  --side-accent: oklch(.756 .125 calc(var(--hue) - 4));
  --side-rim: oklch(1 0 var(--hue) / .086);
  --side-edge: oklch(1 0 var(--hue) / .05);
  --side-lit: oklch(1 0 var(--hue) / .094);
  --side-dim: oklch(0 0 var(--hue) / .4);
  --side-ambient: oklch(.59 .18 calc(var(--hue) + 15) / .14);
  --side-selected: oklch(.295 .047 var(--hue));
  --side-selected-top: oklch(.354 .056 var(--hue));
  --side-shadow: 0 2px 3px oklch(0 0 var(--hue) / .22), 0 7px 14px -9px oklch(0 0 var(--hue) / .63);
  --fg: var(--side-ink); --fg2: var(--side-muted); --accent: var(--side-accent);
  --line: var(--side-rim); --ox-hover: var(--side-hover); --rad: 9px; --rad-sm: 6px;
  background: radial-gradient(ellipse 310px 250px at 65% 0, var(--side-ambient), transparent 80%), var(--side-base);
  border-color: var(--side-rim);
  padding: 16px 12px 12px;
  min-width: 0;
  box-shadow: inset -1px 0 0 oklch(0 0 var(--hue) / .15);
}
.ox-shell[data-mode="light"] .ox-sidebar,
[data-mode="light"] .ox-sidebar {
  --side-base: oklch(.944 .008 var(--hue));
  --side-plate: oklch(.984 .003 var(--hue));
  --side-top: oklch(1 0 var(--hue));
  --side-hover: oklch(.924 .014 var(--hue));
  --side-ink: oklch(.296 .024 var(--hue));
  --side-muted: oklch(.516 .03 var(--hue));
  --side-quiet: oklch(.56 .026 var(--hue));
  --side-accent: oklch(.532 .158 calc(var(--hue) - 2));
  --side-rim: oklch(.286 .055 var(--hue) / .1);
  --side-edge: oklch(.286 .055 var(--hue) / .063);
  --side-lit: oklch(1 0 var(--hue));
  --side-dim: oklch(.32 .045 var(--hue) / .12);
  --side-ambient: oklch(.59 .18 calc(var(--hue) + 15) / .065);
  --side-selected: oklch(.93 .027 var(--hue));
  --side-selected-top: oklch(.964 .017 var(--hue));
  --side-shadow: 0 2px 3px oklch(.33 .05 var(--hue) / .05), 0 7px 14px -9px oklch(.33 .05 var(--hue) / .25);
}
.ox-sidebar .coherent-brand-row { height: 32px; margin-bottom: 14px; padding-inline: 4px; }
.ox-sidebar .ox-brand { padding: 0; gap: 6px; }
.ox-sidebar .ox-brand-word { font-size: 22px; letter-spacing: -.012em; }
.ox-sidebar .ox-mark, .ox-sidebar .ox-mark > svg { width: 32px !important; height: 32px !important; }
.ox-sidebar .ox-brand-dot { color: var(--side-accent); margin-left: -.02em; }
.ox-sidebar .coherent-navigation-compact { margin: 0; border-radius: 6px; border-color: var(--side-rim); background: linear-gradient(165deg, var(--side-top), var(--side-plate)); box-shadow: inset 0 1px var(--side-lit), inset 0 -1px var(--side-dim), var(--side-shadow); }
.ox-sidebar .ox-ws { padding: 0; margin-bottom: 14px; }
.ox-sidebar .ox-ws-btn { padding: 10px; border: 1px solid var(--side-rim); border-radius: 9px; background: linear-gradient(165deg, var(--side-top), var(--side-plate)); box-shadow: inset 0 1px var(--side-lit), inset 0 -1px var(--side-dim), var(--side-shadow); }
.ox-sidebar .ox-ws-btn:hover { transform: translateY(-1px); }
.ox-sidebar .ox-ws-tile { width: 34px; height: 34px; border-radius: 7.5px; }
.ox-sidebar .ox-ws-n { font-size: 13px; line-height: 19px; }
.ox-sidebar .ox-ws-m { font-size: 11px; line-height: 17px; }
.ox-sidebar .ox-sidescroll { min-width: 0; overflow-x: hidden; overflow-anchor: none; scrollbar-width: thin; scrollbar-color: var(--side-rim) transparent; padding: 0 4px 12px 12px; margin-left: -12px; margin-right: -4px; gap: 14px; }
.ox-sidebar .ox-nav { padding: 0 0 14px; border-bottom: 1px solid var(--side-edge); gap: 3px; }
.ox-sidebar .ox-navgroup { min-width: 0; gap: 3px; }
.ox-sidebar .ox-navitem { height: 40px; min-height: 40px; padding: 0 12px; border-radius: 7.5px; gap: 12px; font-size: 13px; font-weight: 550; }
.ox-sidebar .ox-navitem-ic > .aui-ic { width: 20px; height: 20px; }
.ox-sidebar .ox-navitem.is-active { background: linear-gradient(165deg, var(--side-selected-top), var(--side-selected)); box-shadow: inset 0 1px var(--side-lit), inset 0 -1px var(--side-dim), 0 0 0 1px color-mix(in srgb, var(--side-accent) 30%, transparent), var(--side-shadow); }
.ox-sidebar .ox-navitem.is-active::before { left: -12px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; }
.ox-sidebar .ox-expert { margin: 0; padding: 0; border: 0; min-width: 0; gap: 8px; }
.ox-sidebar .coherent-roster-head { padding: 0 10px 8px; font-size: 10px; letter-spacing: 1.3px; color: var(--side-muted); }
.ox-sidebar .coherent-roster-group { height: 24px; padding: 0 10px; gap: 7px; font-size: 10px; letter-spacing: .7px; color: var(--side-quiet); }
.ox-sidebar .coherent-roster-section { margin-bottom: 10px; min-width: 0; }
.ox-sidebar .coherent-roster-body { grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); min-width: 0; }
.ox-sidebar .coherent-roster-body > div { min-width: 0; }
.ox-sidebar .coherent-roster-body.is-shut { grid-template-rows: minmax(0, 0fr); }
.ox-sidebar .coherent-roster-body:not(.is-shut) > div { overflow: visible; }
.ox-sidebar .coherent-roster-item { border-radius: 7.5px; min-width: 0; content-visibility: visible; contain-intrinsic-size: none; }
.ox-sidebar .coherent-roster-item::after { background: linear-gradient(100deg, color-mix(in srgb, var(--ox-ac) 13%, transparent), var(--side-hover) 76%); }
.ox-sidebar .coherent-expert-row { height: 48px; min-height: 48px; gap: 10px; padding: 6px 32px 6px 8px; border-radius: 7.5px; color: var(--side-ink); }
.ox-sidebar .coherent-expert-row:hover { background: transparent; }
.ox-sidebar .coherent-roster-identity { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.ox-sidebar .coherent-roster-name { display: block; white-space: nowrap; font-size: 12px; line-height: 19px; font-weight: 550; }
.ox-sidebar .ox-appic { width: 34px; height: 34px; border-radius: 7.5px; background: linear-gradient(155deg, color-mix(in srgb, var(--ox-ac) 86%, var(--side-ink)), color-mix(in srgb, var(--ox-ac) 62%, var(--side-base))); box-shadow: inset 0 1px 1px var(--ox-tile-lit), inset 0 -6px 12px oklch(0 0 var(--hue) / .15), 0 2px 4px oklch(0 0 var(--hue) / .16), 0 5px 16px -6px color-mix(in srgb, var(--ox-ac) 48%, transparent), 0 0 14px -5px color-mix(in srgb, var(--ox-ac) 28%, transparent); }
.ox-sidebar .coherent-roster-star { width: 22px; height: 22px; margin-top: -11px; right: 4px; color: var(--side-quiet); }
.ox-sidebar .coherent-roster-star[aria-pressed="true"] { color: var(--side-accent); }
.ox-sidebar .ox-expert-head { padding: 10px; gap: 10px; border: 1px solid var(--side-rim); border-radius: 9px; background: linear-gradient(165deg, var(--side-top), var(--side-plate)); box-shadow: inset 0 1px var(--side-lit), inset 0 -1px var(--side-dim), var(--side-shadow); }
.ox-sidebar .coherent-expert-chat-open { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; gap: 10px; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.ox-sidebar .coherent-expert-chat-open:focus-visible { outline: 2px solid var(--side-accent); outline-offset: 3px; }
.ox-sidebar .ox-expert-head:has(.coherent-expert-chat-open[aria-pressed="true"]) { background: linear-gradient(110deg, color-mix(in srgb, var(--side-accent) 16%, var(--side-plate)), var(--side-plate) 76%); }
.ox-sidebar .ox-expert-glyph { width: 34px; height: 34px; background: none; box-shadow: none; border-radius: 7.5px; }
.ox-sidebar .ox-expert-k { font-size: 9px; letter-spacing: .8px; }
.ox-sidebar .ox-expert-name { font-size: 12px; }
.ox-sidebar .ox-expert-apps { gap: 4px; }
.ox-sidebar .ox-expert-app { min-height: 50px; border: 1px solid transparent; border-radius: 8.25px; background: transparent; box-shadow: none; }
.ox-sidebar .ox-expert-app:hover { background: var(--side-hover); transform: none; box-shadow: none; }
.ox-sidebar .ox-expert-app.is-active { border-color: color-mix(in srgb, var(--side-accent) 38%, transparent); background: linear-gradient(165deg, var(--side-selected-top), var(--side-selected)); box-shadow: inset 0 1px var(--side-lit), inset 0 -1px var(--side-dim), var(--side-shadow); }
.ox-sidebar .ox-expert-app-open { padding: 8px; gap: 10px; }
.ox-sidebar .ox-expert-app-n { font-size: 12px; font-weight: 550; }
.ox-sidebar .ox-expert-app-s { font-size: 10px; }
.ox-sidebar .ox-sidefoot { padding: 8px 0 0; border-color: var(--side-edge); }
.ox-sidebar .ox-usercard { padding: 8px 10px; gap: 10px; border-radius: 9px; box-shadow: none; background: transparent; border: 0; }
.ox-sidebar .ox-usercard:hover { background: var(--side-hover); }
.ox-sidebar .ox-usercard-n { font-size: 13px; }
.ox-sidebar .ox-usercard-w { font-size: 10px; }

             
.ox-sidebar .coherent-experts-action { display: flex; gap: 2px; min-width: 0; max-height: 40px; opacity: 1; overflow: visible; transition: max-height .36s var(--ox-e-out), opacity .36s var(--ox-e-out); }
.ox-sidebar .coherent-experts-action.is-shut { max-height: 0; opacity: 0; overflow: hidden; pointer-events: none; }
.ox-sidebar .coherent-experts-action > .ox-navitem { flex: 1; }
.ox-sidebar .coherent-experts-panel-open { width: 32px; border: 0; border-radius: 7.5px; background: transparent; color: var(--side-muted); cursor: pointer; font-size: 18px; }
.ox-sidebar .coherent-experts-panel-open:hover { color: var(--side-ink); background: var(--side-hover); }
.ox-sidebar .coherent-sidebar-reveal { display: grid; grid-template-rows: 1fr; opacity: 1; min-width: 0; }
.ox-sidebar .coherent-sidebar-reveal.is-shut { grid-template-rows: 0fr; opacity: 0; pointer-events: none; }
.ox-sidebar .coherent-sidebar-reveal > div { min-height: 0; min-width: 0; overflow: hidden; }
.ox-sidebar .coherent-sidebar-reveal.is-shut + .coherent-sidebar-reveal.is-shut { margin-top: -8px; }
.ox-sidebar .ox-expert-head > .coherent-roster-item { flex: 1; min-width: 0; }
.ox-sidebar .coherent-roster-item.is-selected .coherent-roster-star { display: none; }
.ox-sidebar .coherent-roster-item.is-selected .coherent-expert-row { padding-right: 0; }
.ox-sidebar .coherent-expert-row:disabled, .ox-sidebar .coherent-expert-chat-open:disabled { cursor: default; opacity: 1; }
.ox-sidebar .ox-expert-apps > .ox-expert-app { animation: coherent-sidebar-app-enter .32s var(--ox-e-out) both; }
@keyframes coherent-sidebar-app-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.ox-sidebar .ox-expert-head:has(.is-selected) { padding: 4px 8px 4px 0; }
.ox-sidebar .ox-expert-head:has(.is-selected) { position: relative; background: linear-gradient(165deg, var(--side-selected-top), var(--side-selected)); border-color: color-mix(in srgb, var(--side-accent) 38%, var(--side-rim)); }
.ox-sidebar .ox-expert-head:has(.is-selected)::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--side-accent); }
.ox-sidebar .is-selected .coherent-expert-row[aria-current="true"] { background: transparent; box-shadow: none; }
.ox-sidebar .is-selected .coherent-expert-row[aria-current="true"]::before, .ox-sidebar .coherent-roster-item.is-selected::after { display: none; }
.ox-sidebar .coherent-sidebar-reveal:has(.ox-expert-head) > div { overflow: visible; }

@media (prefers-reduced-motion: reduce) {
  .ox-sidebar .coherent-experts-action { transition: none; }
  .ox-sidebar .ox-expert-apps > .ox-expert-app { animation: none; }
}
          
:is(.ox-userpop, .ox-wspop) { background: linear-gradient(160deg, oklch(.296 .018 var(--hue)), oklch(.261 .014 var(--hue))); }
[data-mode="light"] :is(.ox-userpop, .ox-wspop) { background: linear-gradient(160deg, oklch(1 0 var(--hue)), oklch(.984 .003 var(--hue))); }
@media (min-width: 721px) and (max-width: 1100px) {
  .ox-shell { --ox-sidebar: var(--ox-rail); }
  .ox-shell.is-icon-rail .ox-sidebar { padding-inline: 6px; }
  .ox-shell.is-icon-rail .ox-sidebar .coherent-brand-row { padding-inline: 0; }
  .ox-shell.is-icon-rail .ox-sidebar .coherent-roster-identity { display: none; }
  .ox-shell.is-icon-rail .ox-sidebar .coherent-expert-row { padding-inline: 0; justify-content: center; }
  .ox-shell.is-icon-rail .ox-sidebar .ox-sidescroll { padding-inline: 0; margin: 0; }
  .ox-shell.is-icon-rail .coherent-expert-chat-open { flex-direction: column; }
}
@media (max-width: 720px) {
  [data-overlay-kind="drawer"] .ox-sidebar { width: min(296px, 86vw); }
}

            
.ox-main .ox-page[data-page="chat"] .ox-chat[data-expert]:not([data-expert=""]):has(> .ox-chat-stream.is-empty):not(:has(.ox-chat-restore-failed)) {
  justify-content: center;
  padding-block: 36px;
}
.ox-main .ox-page[data-page="chat"] .ox-chat[data-expert]:not([data-expert=""]):has(> .ox-chat-stream.is-empty):not(:has(.ox-chat-restore-failed)) > .ox-chat-stream {
  flex: 0 0 auto; max-width: 808px; padding: 0 24px 28px;
}
.ox-main .ox-page[data-page="chat"] .ox-chat[data-expert]:not([data-expert=""]):has(> .ox-chat-stream.is-empty):not(:has(.ox-chat-restore-failed)) > .ox-chat-dock {
  position: relative; bottom: auto; border: 0; background: transparent; padding-top: 0;
}
.ox-main .ox-page[data-page="chat"] .ox-chat[data-expert]:not([data-expert=""]):has(> .ox-chat-stream.is-empty) .ox-chat-composer-wrap { max-width: 808px; }
.ox-main .coherent-expert-chat-hero { max-width: 808px; padding: 0; gap: 12px; }
.ox-main .coherent-expert-chat-hero > .ox-appic { width: 42px; height: 42px; border-radius: 9px; }
.ox-main .coherent-expert-chat-name { color: var(--fg2); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }
.ox-main .coherent-expert-chat-hero .ox-chat-hero-t { font-size: 28px; font-weight: 600; line-height: 1.3; letter-spacing: -.8px; }
.ox-main .coherent-expert-chat-description { margin: 0; max-width: 620px; color: var(--fg2); font-size: 12px; font-weight: 400; line-height: 1.7; }
