@font-face {
  font-family: 'Aptos';
  src: url('/fonts/Aptos.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Aptos';
  src: url('/fonts/Aptos-Bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --color-white: #ffffff;
  --color-primary-blue: #2f455c;
  --color-blue-grey: #2a2c2e;
  --page-bg: #f3f6f8;
  --muted-text: rgba(42, 44, 46, 0.5);
  --focus-ring: rgba(47, 69, 92, 0.38);
  --rich-transcript-width: 760px;
  --rich-transcript-popover-width: 68%;
  --visualizer-color-rgb: 255, 255, 255;
  --visualizer-active-color-rgb: 255, 255, 255;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--color-primary-blue);
  font-family:
    Aptos,
    'IBM Plex Sans',
    'Segoe UI',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--page-bg);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

.knowledge-landing,
.landing-panel {
  min-height: 100vh;
  width: 100%;
}

.knowledge-landing {
  background: var(--page-bg);
}

.landing-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 56px 24px 96px;
  background: var(--page-bg);
}

.landing-content {
  width: min(920px, 100%);
  min-height: min(620px, calc(100vh - 152px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translateY(-10px);
}

.landing-hero {
  display: contents;
}

.has-conversation .landing-content {
  justify-content: flex-end;
}

.has-conversation .landing-hero,
.has-conversation .suggestion-chips {
  display: none;
}

h1 {
  color: var(--color-primary-blue);
  font-family: Judson, Georgia, Cambria, 'Times New Roman', serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.landing-subheading {
  margin-top: 54px;
  max-width: 760px;
  color: var(--color-primary-blue);
  font-size: 18px;
  line-height: 28px;
  text-align: center;
}

.landing-subheading strong {
  font-weight: 700;
}

.hero-search {
  position: relative;
  width: min(668px, 100%);
  height: 48px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  border-radius: 48px;
  background: var(--color-white);
  box-shadow: 0 32px 40px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.2s ease;
}

.has-conversation .hero-search {
  margin-top: 40px;
}

.hero-search:focus-within {
  box-shadow: 0 24px 42px rgba(47, 69, 92, 0.2);
}

.hero-search input {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  outline: 0;
  padding: 0 64px 0 24px;
  background: transparent;
  color: var(--color-primary-blue);
  font-size: 16px;
  line-height: 1;
}

.hero-search input::placeholder {
  color: var(--muted-text);
}

.voice-core {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
}

.voice-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary-blue);
  color: var(--color-white);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.voice-button:hover:not(:disabled) {
  background: #39526d;
  transform: translateY(-1px);
}

.voice-button:focus-visible,
.suggestion-chips button:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

.voice-button:active:not(:disabled) {
  transform: scale(0.96);
}

.voice-button > * {
  grid-area: 1 / 1;
}

#visualizer,
.send-icon {
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.voice-button.listening,
.voice-button.responding {
  box-shadow: 0 0 0 4px rgba(47, 69, 92, 0.12);
}

.voice-button.text-only.listening,
.voice-button.text-only.responding {
  box-shadow: none;
}

#visualizer {
  width: 24px;
  height: 24px;
  display: block;
  opacity: 1;
  transform: scale(1) rotate(0deg);
  pointer-events: none;
}

.send-icon {
  width: 16px;
  height: 16px;
  display: block;
  opacity: 0;
  transform: scale(0.82) rotate(-10deg);
  pointer-events: none;
}

.has-query #visualizer {
  opacity: 0;
  transform: scale(0.82) rotate(-10deg);
}

.has-query .send-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.voice-button.text-only #visualizer {
  opacity: 0;
  transform: scale(0.82) rotate(-10deg);
}

.voice-button.text-only .send-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.suggestion-chips {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-primary-blue);
  font-size: 14px;
  line-height: 20px;
}

.suggestion-chips span {
  padding: 0 4px;
}

.suggestion-chips button {
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 5px 13px;
  background: var(--color-white);
  box-shadow: 0 12px 24px rgba(47, 69, 92, 0.08);
  color: var(--color-primary-blue);
  font-size: 14px;
  line-height: 20px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.suggestion-chips button:hover {
  border-color: rgba(47, 69, 92, 0.15);
  box-shadow: 0 14px 26px rgba(47, 69, 92, 0.12);
  transform: translateY(-1px);
}

.landing-footer {
  position: absolute;
  bottom: 24px;
  left: 50%;
  width: auto;
  padding: 0 24px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted-text);
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  white-space: nowrap;
}

.powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.powered-by img {
  width: 104px;
  height: auto;
  display: block;
  opacity: 0.72;
}

.copyright {
  display: block;
}

.status,
.mode-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.transcript {
  width: 100%;
  max-height: min(620px, calc(100vh - 220px));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 22px 8px 0;
  color: var(--color-primary-blue);
  font-size: 14px;
  line-height: 20px;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 69, 92, 0.25) transparent;
}

.transcript::-webkit-scrollbar {
  width: 5px;
}

.transcript::-webkit-scrollbar-track {
  background: transparent;
}

.transcript::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(47, 69, 92, 0.22);
}

.transcript[hidden] {
  display: none;
}

.transcript-entry {
  max-width: 620px;
  text-align: left;
}

.transcript-entry .label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.transcript-entry > div:last-child {
  overflow-wrap: anywhere;
}

.transcript-entry.user {
  align-self: flex-end;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--color-white);
  box-shadow: 0 12px 24px rgba(47, 69, 92, 0.06);
}

.transcript-entry.assistant {
  align-self: flex-start;
}

.transcript-entry.table-entry {
  width: 100%;
  max-width: min(100%, var(--rich-transcript-width));
}

.transcript-entry.knowledge-article-entry {
  width: 100%;
  max-width: min(100%, var(--rich-transcript-width));
}

.table-title {
  margin-bottom: 8px;
  color: var(--color-primary-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(47, 69, 92, 0.14);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: 0 12px 24px rgba(47, 69, 92, 0.06);
}

.data-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  color: var(--color-primary-blue);
  font-size: 13px;
  line-height: 18px;
  text-align: left;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid rgba(47, 69, 92, 0.1);
  padding: 9px 12px;
  vertical-align: top;
}

.data-table th {
  background: rgba(47, 69, 92, 0.06);
  font-weight: 700;
  white-space: nowrap;
}

.data-table td {
  overflow-wrap: anywhere;
}

.data-badge {
  min-width: 52px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  white-space: nowrap;
}

.data-badge-default {
  border-color: rgba(47, 69, 92, 0.18);
  background: rgba(47, 69, 92, 0.08);
  color: #2f455c;
}

.data-badge-neutral {
  border-color: rgba(47, 69, 92, 0.18);
  background: rgba(47, 69, 92, 0.06);
  color: #2f455c;
}

.data-badge-attention {
  border-color: rgba(162, 112, 18, 0.2);
  background: rgba(162, 112, 18, 0.1);
  color: #76510f;
}

.data-badge-danger {
  border-color: rgba(158, 56, 52, 0.2);
  background: rgba(158, 56, 52, 0.1);
  color: #82302d;
}

.data-badge-success {
  border-color: rgba(45, 118, 88, 0.2);
  background: rgba(45, 118, 88, 0.1);
  color: #235d46;
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}

.field-value-table {
  min-width: 0;
}

.field-value-table th {
  width: 180px;
}

.knowledge-article-title {
  margin-bottom: 10px;
  color: var(--color-primary-blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.knowledge-article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.knowledge-article-card {
  width: min(184px, 100%);
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--color-primary-blue);
  border-radius: 8px;
  padding: 7px 12px;
  background: transparent;
  color: var(--color-primary-blue);
  font: inherit;
  text-align: left;
}

.knowledge-article-card:hover,
.knowledge-article-card:focus-visible {
  border-color: var(--color-primary-blue);
  background: var(--color-white);
  box-shadow: 0 10px 20px rgba(47, 69, 92, 0.08);
  outline: 0;
}

.knowledge-article-icon {
  width: 14px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--color-primary-blue);
}

.knowledge-article-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.knowledge-article-body {
  min-width: 0;
}

.knowledge-article-card-title {
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 700;
  line-height: 16px;
}

.knowledge-article-source {
  color: var(--color-primary-blue);
  font-size: 12px;
  line-height: 15px;
}

.ticket-draft-entry {
  width: 100%;
  max-width: min(100%, var(--rich-transcript-width));
}

.ticket-draft-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(47, 69, 92, 0.14);
  border-radius: 8px;
  padding: 18px;
  background: var(--color-white);
  box-shadow: 0 12px 24px rgba(47, 69, 92, 0.06);
}

.ticket-draft-title {
  color: var(--color-primary-blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

.ticket-draft-note,
.ticket-draft-message {
  color: rgba(42, 44, 46, 0.72);
  font-size: 13px;
  line-height: 18px;
}

.ticket-draft-form[data-state='invalid'] .ticket-draft-message,
.ticket-draft-form[data-state='failed'] .ticket-draft-message {
  color: #82302d;
}

.ticket-draft-form[data-state='submitted'] .ticket-draft-message {
  color: #235d46;
  font-weight: 700;
}

.ticket-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ticket-field-label {
  color: var(--color-primary-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

.ticket-schedule-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.ticket-field input,
.ticket-select-button,
.ticket-field select,
.ticket-field textarea {
  width: 100%;
  border: 1px solid rgba(47, 69, 92, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--color-blue-grey);
  font-size: 14px;
  line-height: 20px;
  outline: 0;
}

.ticket-field select {
  appearance: none;
}

.ticket-lookup {
  position: relative;
}

.ticket-lookup input[type='search'] {
  padding-right: 44px;
}

.ticket-lookup input[type='search']::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.ticket-lookup input[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.ticket-lookup-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(47, 69, 92, 0.78);
  transform: translateY(-50%);
}

.ticket-lookup-clear[hidden] {
  display: none;
}

.ticket-lookup-clear::before,
.ticket-lookup-clear::after {
  content: '';
  position: absolute;
  top: 13px;
  left: 8px;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.ticket-lookup-clear::before {
  transform: rotate(45deg);
}

.ticket-lookup-clear::after {
  transform: rotate(-45deg);
}

.ticket-lookup-clear:hover,
.ticket-lookup-clear:focus-visible {
  background: rgba(47, 69, 92, 0.08);
  outline: 0;
}

.ticket-lookup-results {
  position: absolute;
  z-index: 4;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid rgba(47, 69, 92, 0.18);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: 0 14px 28px rgba(47, 69, 92, 0.16);
}

.ticket-lookup-option {
  width: 100%;
  min-height: 42px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  border: 0;
  border-bottom: 1px solid rgba(47, 69, 92, 0.08);
  padding: 8px 12px;
  background: #ffffff;
  color: var(--color-primary-blue);
  font-size: 14px;
  line-height: 18px;
  text-align: left;
}

.ticket-lookup-option:hover,
.ticket-lookup-option:focus-visible {
  background: rgba(47, 69, 92, 0.06);
  outline: 0;
}

.ticket-lookup-option:last-child {
  border-bottom: 0;
}

.ticket-lookup-option small {
  color: rgba(42, 44, 46, 0.62);
  font-size: 12px;
  line-height: 16px;
}

.ticket-lookup-empty {
  padding: 10px 12px;
  color: rgba(42, 44, 46, 0.62);
  font-size: 13px;
  line-height: 18px;
}

.ticket-select {
  position: relative;
}

.ticket-select-button {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
}

.ticket-select-value {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticket-select-chevron {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.ticket-select-chevron::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(47, 69, 92, 0.72);
  border-bottom: 2px solid rgba(47, 69, 92, 0.72);
  transform: rotate(45deg);
}

.ticket-select-menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid rgba(47, 69, 92, 0.18);
  border-radius: 8px;
  padding: 4px;
  background: var(--color-white);
  box-shadow: 0 14px 28px rgba(47, 69, 92, 0.16);
}

.ticket-select-option {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  padding: 7px 10px;
  background: transparent;
  color: var(--color-blue-grey);
  font-size: 14px;
  line-height: 20px;
  text-align: left;
}

.ticket-select-option:hover,
.ticket-select-option:focus-visible {
  background: rgba(47, 69, 92, 0.07);
  outline: 0;
}

.ticket-select-option[aria-selected='true'] {
  background: var(--color-primary-blue);
  color: var(--color-white);
}

.ticket-field textarea {
  min-height: 128px;
  resize: vertical;
}

.ticket-field input:focus,
.ticket-select-button:focus,
.ticket-select-button[aria-expanded='true'],
.ticket-field select:focus,
.ticket-field textarea:focus {
  border-color: rgba(47, 69, 92, 0.55);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.ticket-field input:disabled,
.ticket-select-button:disabled,
.ticket-field select:disabled,
.ticket-field textarea:disabled {
  background: rgba(47, 69, 92, 0.04);
  color: rgba(42, 44, 46, 0.7);
}

@media (max-width: 520px) {
  .ticket-schedule-row {
    grid-template-columns: 1fr;
  }
}

.ticket-draft-actions {
  display: flex;
  justify-content: flex-end;
}

.ticket-submit-button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 8px 16px;
  background: var(--color-primary-blue);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.ticket-submit-button:hover:not(:disabled) {
  background: #39526d;
}

.ticket-submit-button:disabled {
  cursor: default;
  opacity: 0.72;
}

@media (max-width: 720px) {
  .landing-panel {
    padding: 44px 18px 82px;
  }

  h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .landing-subheading {
    margin-top: 40px;
    max-width: 520px;
    font-size: 16px;
    line-height: 25px;
  }

  .landing-content {
    min-height: calc(100vh - 126px);
  }

  .has-conversation .hero-search {
    margin-top: 32px;
  }

  .transcript {
    max-height: calc(100vh - 210px);
  }

  .suggestion-chips {
    max-width: 360px;
  }
}

.popover-header,
.popover-welcome {
  display: none;
}

body[data-ui-mode='popover'] {
  min-width: 0;
  overflow: hidden;
  background: #1f1f1f;
  color: #0a0a0a;
}

body[data-ui-mode='popover'] .knowledge-landing {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: transparent;
}

body[data-ui-mode='popover'] .landing-panel {
  width: min(100%, 420px);
  height: calc(100vh - 12px);
  height: calc(100dvh - 12px);
  min-height: 360px;
  max-height: 620px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  padding: 0;
  background: var(--color-white);
  box-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
}

body[data-ui-mode='popover'] .popover-header {
  height: 56px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 16px;
  background: #2f455c;
  color: #ffffff;
}

body[data-ui-mode='popover'] .popover-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
}

body[data-ui-mode='popover'] .popover-brand-icon {
  width: 18px;
  height: 18px;
  display: block;
  position: relative;
  overflow: hidden;
}

body[data-ui-mode='popover'] .popover-brand-icon img {
  width: auto;
  height: 18px;
  display: block;
  max-width: none;
}

body[data-ui-mode='popover'] .landing-content {
  width: 100%;
  min-height: 0;
  flex: 1;
  position: relative;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  padding: 16px 16px 80px;
  background: #f9fafb;
  text-align: left;
  transform: none;
}

body[data-ui-mode='popover'] .landing-content::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 80px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--color-white);
}

body[data-ui-mode='popover'] .landing-hero,
body[data-ui-mode='popover'] .suggestion-chips,
body[data-ui-mode='popover'] .landing-footer {
  display: none;
}

body[data-ui-mode='popover'] .popover-welcome {
  width: fit-content;
  max-width: 100%;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 9px 16px;
  background: var(--color-white);
  color: #0a0a0a;
  font-size: 16px;
  line-height: 24px;
  overflow-wrap: anywhere;
}

body[data-ui-mode='popover'] .has-conversation .popover-welcome {
  display: none;
}

body[data-ui-mode='popover'] .has-conversation .landing-content {
  justify-content: flex-start;
}

body[data-ui-mode='popover'] .transcript {
  width: 100%;
  max-height: none;
  flex: 1;
  gap: 10px;
  padding: 0 0 8px;
  color: #0a0a0a;
  font-size: 14px;
  line-height: 20px;
}

body[data-ui-mode='popover'] .transcript-entry {
  max-width: 88%;
}

body[data-ui-mode='popover'] .transcript-entry.user,
body[data-ui-mode='popover'] .transcript-entry.assistant {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: none;
}

body[data-ui-mode='popover'] .transcript-entry.user {
  background: var(--color-primary-blue);
  color: var(--color-white);
}

body[data-ui-mode='popover'] .transcript-entry.assistant {
  background: var(--color-white);
}

body[data-ui-mode='popover'] .transcript-entry.table-entry {
  width: var(--rich-transcript-popover-width);
  max-width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}

body[data-ui-mode='popover'] .transcript-entry.knowledge-article-entry {
  width: var(--rich-transcript-popover-width);
  max-width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}

body[data-ui-mode='popover'] .table-title {
  color: #0a0a0a;
}

body[data-ui-mode='popover'] .table-scroll {
  box-shadow: none;
}

body[data-ui-mode='popover'] .data-table {
  min-width: 460px;
  color: #0a0a0a;
  font-size: 13px;
}

body[data-ui-mode='popover'] .field-value-table {
  min-width: 0;
}

body[data-ui-mode='popover'] .field-value-table th {
  width: 132px;
}

body[data-ui-mode='popover'] .ticket-draft-entry {
  width: var(--rich-transcript-popover-width);
  max-width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}

body[data-ui-mode='popover'] .ticket-draft-form {
  gap: 10px;
  padding: 12px;
  box-shadow: none;
}

body[data-ui-mode='popover'] .ticket-draft-title {
  color: #0a0a0a;
  font-size: 16px;
  line-height: 22px;
}

body[data-ui-mode='popover'] .hero-search {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  width: auto;
  height: 42px;
  margin: 0;
  display: flex;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-ui-mode='popover'] .hero-search:focus-within {
  box-shadow: 0 0 0 3px var(--focus-ring);
}

body[data-ui-mode='popover'] .hero-search input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0 16px;
  background: #ffffff;
  color: #0a0a0a;
  font-size: 16px;
}

body[data-ui-mode='popover'] .hero-search input::placeholder {
  color: rgba(10, 10, 10, 0.5);
}

body[data-ui-mode='popover'] .voice-core {
  position: static;
  width: 48px;
  height: 42px;
  flex: 0 0 48px;
  transform: none;
}

body[data-ui-mode='popover'] .voice-button {
  width: 48px;
  height: 42px;
  border-radius: 8px;
  background: #2f455c;
  color: #ffffff;
  box-shadow: none;
}

body[data-ui-mode='popover'] .voice-button:hover:not(:disabled) {
  background: #39526d;
  transform: none;
}

body[data-ui-mode='popover'] .voice-button:active:not(:disabled) {
  transform: none;
}

body[data-ui-mode='popover'] .voice-button.listening,
body[data-ui-mode='popover'] .voice-button.responding {
  box-shadow: none;
}

body[data-ui-mode='popover'] .voice-button:focus-visible {
  outline: 0;
}

body[data-ui-mode='popover'] #visualizer {
  opacity: 0;
  transform: scale(0.82) rotate(-10deg);
}

body[data-ui-mode='popover'] .send-icon {
  width: 18px;
  height: 18px;
  display: block;
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

@media (max-width: 420px) {
  body[data-ui-mode='popover'] .knowledge-landing {
    padding: 0;
  }

  body[data-ui-mode='popover'] .landing-panel {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
  }
}
