body {
  font-family: 'Noto Sans', sans-serif;
}

p {
  text-align: justify;
}
.video_img_overlay {
  position: absolute;
  top: 15%;
  left: 3%;
  background: rgba(0,0,0,0.0);;
  padding: 4px 12px;
  border-radius: 0px;
  max-width: 20%;
  pointer-events: none;
}
.checkmark-img {
  height: auto;
  width: 100%;
}
.video_text_overlay {
  position: absolute;
  top: 3%;
  left: 3%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 1rem;
  pointer-events: none;
}
.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.disabled {
  pointer-events: none;
  opacity: 0.5;
} 

.grappa {
  font-variant: small-caps;
}


.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

.teaser {
  font-family: 'Google Sans', sans-serif;
}


.publication-title {
}

.publication-banner {
  max-height: parent;

}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-header .hero-body {
}

.publication-title {
    font-family: 'Google Sans', sans-serif;
}

.publication-authors {
    font-family: 'Google Sans', sans-serif;
}

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

.publication-authors {
}

.publication-authors a {
   color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
  display: inline-block;
}

.publication-banner img {
}

.publication-authors {
  /*color: #4286f4;*/
}

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

.publication-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.publication-body img {
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-video-column {
}

.interpolation-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}

.expandable-button {
  background-color: #3273dc;
  color: rgb(0, 0, 0);
  border: none;
  padding: 10px 20px;
  margin: 10px 0;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.expandable-button:hover {
  background-color: #275aa8;
}

.expandable-content {
  max-height: none;
  overflow: visible;
  transition: max-height 0.5s ease-out;
  background-color: #f5f5f5;
  padding: 10px;
  border-radius: 5px;
}

.expandable-content p {
  margin: 10px 0;
}

/* Guidance Code Carousel Styles */
.guidance-carousel-container {
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  width: 100%;
}

.guidance-carousel-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.guidance-carousel-item {
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  padding: 0 10px;
  box-sizing: border-box;
}

.guidance-code-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #dbdbdb;
}

.guidance-code-header {
  background: #e9e9e9;
  padding: 15px 20px;
  border-bottom: 1px solid #dbdbdb;
}

.guidance-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.guidance-header-controls {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.guidance-code-title {
  font-size: 16px;
  font-weight: 600;
  color: #363636;
  font-family: 'Google Sans', sans-serif;
}

.guidance-view-toggle {
  background: #ffffff;
  border: 1px solid #dbdbdb;
  color: #363636;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.guidance-view-toggle:hover {
  background: #f5f5f5;
  border-color: #b5b5b5;
}

.guidance-view-toggle.active {
  background: #3273dc;
  color: #ffffff;
  border-color: #3273dc;
}

.guidance-view-toggle:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.guidance-iteration-badge {
  background: #3273dc;
  color: #fff;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}

.guidance-code-content {
  max-height: 500px;
  overflow-y: auto;
  padding: 0;
}

.guidance-code-content::-webkit-scrollbar {
  width: 8px;
}

.guidance-code-content::-webkit-scrollbar-track {
  background: #2a2a2a;
}

.guidance-code-content::-webkit-scrollbar-thumb {
  background: #4a4a4a;
  border-radius: 4px;
}

.guidance-code-content::-webkit-scrollbar-thumb:hover {
  background: #5e5e5e;
}

.guidance-code-content pre {
  margin: 0 !important;
  padding: 16px 20px !important;
  background: #2c2c2c !important;
  border: 1px solid #000000;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  overflow-x: auto;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #f5f5f5 !important;
}

.guidance-code-content pre code {
  background: transparent !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

/* Reset token styles within code blocks */
.guidance-code-content pre code .token.number,
.guidance-code-content pre code .token.boolean,
.guidance-code-content pre code .token.constant,
.guidance-code-content code .token.number,
.guidance-code-content code .token.boolean,
.guidance-code-content code .token.constant {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  min-width: auto !important;
  width: auto !important;
  height: auto !important;
  line-height: inherit !important;
  text-align: left !important;
  font-size: inherit !important;
}

/* Ensure all code tokens render properly */
.guidance-code-content pre code *,
.guidance-code-content code * {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  min-width: auto !important;
  width: auto !important;
  height: auto !important;
  vertical-align: baseline !important;
  text-align: left !important;
  background: transparent !important;
}

/* Align syntax highlighting colors with conversation items */
.guidance-code-content pre code .token.number,
.guidance-code-content code[class*="language-"] .token.number,
.guidance-code-content pre[class*="language-"] .token.number {
  color: #b5cea8 !important;
}

.guidance-code-content pre code .token.keyword,
.guidance-code-content code[class*="language-"] .token.keyword,
.guidance-code-content pre[class*="language-"] .token.keyword {
  color: #c586c0 !important;
}

.guidance-code-content pre code .token.string,
.guidance-code-content code[class*="language-"] .token.string,
.guidance-code-content pre[class*="language-"] .token.string {
  color: #ce9178 !important;
}

.guidance-code-content pre code .token.comment,
.guidance-code-content code[class*="language-"] .token.comment,
.guidance-code-content pre[class*="language-"] .token.comment {
  color: #6a9955 !important;
  font-style: italic;
}

.guidance-code-content pre code .token.function,
.guidance-code-content code[class*="language-"] .token.function,
.guidance-code-content pre[class*="language-"] .token.function {
  color: #dcdcaa !important;
}

.guidance-code-content pre code .token.operator,
.guidance-code-content code[class*="language-"] .token.operator,
.guidance-code-content pre[class*="language-"] .token.operator {
  color: #d4d4d4 !important;
}

.guidance-code-content pre code .token.boolean,
.guidance-code-content code[class*="language-"] .token.boolean,
.guidance-code-content pre[class*="language-"] .token.boolean {
  color: #569cd6 !important;
}

/* Diff view styles */
.guidance-diff-content {
  max-height: 500px;
  overflow-y: auto;
  display: none;
}

.guidance-diff-content.active {
  display: block;
}

.guidance-code-content.hidden {
  display: none;
}

.guidance-code-content.hidden {
  display: none;
}

.guidance-diff-content::-webkit-scrollbar {
  width: 8px;
}

.guidance-diff-content::-webkit-scrollbar-track {
  background: #e6e6e6;
}

.guidance-diff-content::-webkit-scrollbar-thumb {
  background: #b5b5b5;
  border-radius: 4px;
}

.guidance-diff-content::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Hide the file content toggle checkbox in diff2html */
.guidance-diff-content .d2h-file-header {
  display: none !important;
}

.guidance-diff-content .d2h-file-wrapper {
  border: none !important;
}

.guidance-diff-content .d2h-file-name-wrapper {
  display: none !important;
}

.guidance-diff-content .d2h-files-diff {
  margin-top: 0 !important;
}

/* Key differences box */
.guidance-key-differences {
  background: #e9e9e9;
  border-top: 1px solid #dbdbdb;
  padding: 15px 20px;
  font-size: 13px;
  line-height: 1.6;
  color: #363636;
  position: relative;
  z-index: 1000;
  clear: both;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.guidance-key-differences-content {
  flex: 1;
}

.guidance-status-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.guidance-status-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.guidance-status-label.success {
  color: #23d160;
}

.guidance-status-label.failed {
  color: #ff3860;
}

.guidance-status-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.guidance-key-differences strong {
  color: #3273dc;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.guidance-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}

.guidance-carousel-button {
  background: #3273dc;
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guidance-carousel-button:hover:not(:disabled) {
  background: #275aa8;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.guidance-carousel-button:disabled {
  background: #dbdbdb;
  color: #7a7a7a;
  cursor: not-allowed;
  opacity: 0.6;
}

.guidance-carousel-indicators {
  display: flex;
  gap: 10px;
}

.guidance-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dbdbdb;
  cursor: pointer;
  transition: all 0.2s;
}

.guidance-indicator:hover {
  background: #b5b5b5;
}

.guidance-indicator.active {
  background: #3273dc;
  transform: scale(1.2);
}

.guidance-slide-info {
  color: #7a7a7a;
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .guidance-code-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .guidance-carousel-controls {
    flex-direction: column;
    gap: 15px;
  }

  .guidance-code-content pre code {
    font-size: 12px;
  }
}

/* Conversation Carousel Styles */
.conversation-carousel-container {
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  width: 100%;
}

.conversation-carousel-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.conversation-carousel-item {
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  padding: 0 10px;
  box-sizing: border-box;
}

.conversation-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  font-family: 'Noto Sans', sans-serif;
}

.conversation-header {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  padding: 20px;
  color: #ffffff;
  text-align: center;
}

.conversation-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'Noto Sans', sans-serif;
}

.conversation-subtitle {
  font-size: 13px;
  opacity: 0.9;
  font-family: 'Noto Sans', sans-serif;
}

.conversation-messages {
  max-height: 600px;
  overflow-y: auto;
  padding: 20px;
  background: #fafafa;
}

.conversation-messages::-webkit-scrollbar {
  width: 8px;
}

.conversation-messages::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.conversation-messages::-webkit-scrollbar-thumb {
  background: #b5b5b5;
  border-radius: 4px;
}

.conversation-messages::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.message {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  background-color: #CCCCCC;
}

.agent-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  flex-shrink: 0;
}

.agent-avatar.advisor {
  background: linear-gradient(135deg, #88bd75 0%, #6ba05a 100%);
}

.agent-avatar.grounding {
  background: linear-gradient(135deg, #ffe085 0%, #ffd24d 100%);
  color: #333;
}

.agent-avatar.robotic {
  background: linear-gradient(135deg, #7badf4 0%, #5a8fd6 100%);
}

.agent-avatar.monitor {
  background: linear-gradient(135deg, #d0d0d0 0%, #b8b8b8 100%);
  color: #333;
}

.agent-name {
  font-weight: 600;
  font-size: 14px;
  color: #363636;
  font-family: 'Noto Sans', sans-serif;
}

.message-timestamp {
  font-size: 11px;
  color: #7a7a7a;
  margin-left: auto;
  font-family: 'Noto Sans', sans-serif;
}

.message-content {
  background: #ffffff;
  padding: 12px 16px;
  border-radius: 8px;
  margin-left: 42px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border-left: 3px solid #dbdbdb;
  font-size: 14px;
  line-height: 1.6;
  color: #363636;
  font-family: 'Noto Sans', sans-serif;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: left;
}

.message-content pre {
  background: #f7f7f7;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  padding: 16px;
  overflow-x: auto;
  margin: 12px 0;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  white-space: pre;
  text-align: left;
}

.message-content code {
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 13px;
  color: #d73a49;
  border: 1px solid #e1e4e8;
}

.message-content pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: inherit;
  border: none;
  font-size: 13px;
}

/* Reset token styles within code blocks - similar to guidance code section */
.message-content pre code .token.number,
.message-content pre code .token.boolean,
.message-content pre code .token.constant,
.message-content code .token.number,
.message-content code .token.boolean,
.message-content code .token.constant {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  min-width: auto !important;
  width: auto !important;
  height: auto !important;
  line-height: inherit !important;
  text-align: left !important;
  font-size: inherit !important;
}

/* Ensure all code tokens render properly */
.message-content pre code *,
.message-content code * {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  min-width: auto !important;
  width: auto !important;
  height: auto !important;
  vertical-align: baseline !important;
  text-align: left !important;
  background: transparent !important;
}

/* Override Prism.js colors for better readability in conversation logs */
.message-content pre code .token.number,
.message-content code[class*="language-"] .token.number,
.message-content pre[class*="language-"] .token.number {
  color: #0086b3 !important;
}

.message-content pre code .token.keyword,
.message-content code[class*="language-"] .token.keyword,
.message-content pre[class*="language-"] .token.keyword {
  color: #d73a49 !important;
}

.message-content pre code .token.string,
.message-content code[class*="language-"] .token.string,
.message-content pre[class*="language-"] .token.string {
  color: #032f62 !important;
}

.message-content pre code .token.comment,
.message-content code[class*="language-"] .token.comment,
.message-content pre[class*="language-"] .token.comment {
  color: #6a737d !important;
  font-style: italic;
}

.message-content pre code .token.function,
.message-content code[class*="language-"] .token.function,
.message-content pre[class*="language-"] .token.function {
  color: #6f42c1 !important;
}

.message-content pre code .token.operator,
.message-content code[class*="language-"] .token.operator,
.message-content pre[class*="language-"] .token.operator {
  color: #d73a49 !important;
}

.message-content pre code .token.boolean,
.message-content code[class*="language-"] .token.boolean,
.message-content pre[class*="language-"] .token.boolean {
  color: #0086b3 !important;
}

.message-content img {
  max-width: 100%;
  max-height: 200px;
  height: auto;
  border-radius: 4px;
  margin: 10px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

.message.advisor .message-content {
  border-left-color: #88bd75;
}

.message.grounding .message-content {
  border-left-color: #ffe085;
}

.message.robotic .message-content {
  border-left-color: #7badf4;
}

.message.monitor .message-content {
  border-left-color: #b7b7b7;
}

.message-content strong {
  color: #3273dc;
  font-weight: 600;
}

.conversation-footer {
  background: #f5f5f5;
  padding: 15px 20px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
  font-size: 13px;
  color: #7a7a7a;
  font-family: 'Noto Sans', sans-serif;
}

.conversation-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-icon {
  font-size: 16px;
}

.stat-value {
  font-weight: 600;
  color: #363636;
  font-family: 'Noto Sans', sans-serif;
}

.conversation-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}

.conversation-carousel-button {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  border: none;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Noto Sans', sans-serif;
}

.conversation-carousel-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(74, 144, 226, 0.4);
}

.conversation-carousel-button:disabled {
  background: #dbdbdb;
  color: #7a7a7a;
  cursor: not-allowed;
  opacity: 0.6;
}

.conversation-carousel-indicators {
  display: flex;
  gap: 10px;
}

.conversation-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e0e0;
  cursor: pointer;
  transition: all 0.2s;
}

.conversation-indicator:hover {
  background: #b5b5b5;
}

.conversation-indicator.active {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  transform: scale(1.2);
}

.conversation-slide-info {
  color: #7a7a7a;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Noto Sans', sans-serif;
}

@media (max-width: 768px) {
  .conversation-messages {
    max-height: 400px;
  }

  .conversation-carousel-controls {
    flex-direction: column;
    gap: 15px;
  }

  .message-content {
    margin-left: 0;
    font-size: 13px;
  }

  .conversation-stats {
    gap: 15px;
  }
}
