body {
  font-size: 13px;
  background: #f5f7fa;
}
.sidebar {
  width: auto;
  padding: 26px 19px;
}
.brand {
  margin-bottom: 30px;
}
.workspace {
  margin-bottom: 27px;
}
.sidebar-agent {
  display: block;
  border: 0;
  padding: 5px 0 0;
  background: none;
  color: #c2d5e8;
  font-size: 10px;
  cursor: pointer;
}
.nav {
  gap: 5px;
}
.nav > button {
  font-size: 12px;
  padding: 12px 11px;
  min-height: 44px;
}
.nav-caret {
  margin-left: auto;
}
.tool-subnav {
  margin: 0 0 9px 19px;
  padding: 4px 0 4px 12px;
  border-left: 1px solid #ffffff35;
}
.tool-subnav[hidden] {
  display: none;
}
.tool-subnav button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: #b7cce0;
  font-size: 11px;
  padding: 9px 8px;
  border-radius: 5px;
  cursor: pointer;
}
.tool-subnav button:hover,
.tool-subnav button.active {
  color: white;
  background: #ffffff16;
}
.workspace-advanced {
  margin-top: 30px;
  color: #9eb8d3;
  font-size: 10px;
}
.workspace-advanced summary {
  cursor: pointer;
  padding: 10px;
}
.workspace-advanced button {
  display: block;
  border: 0;
  background: transparent;
  color: #c5d7e9;
  text-align: left;
  padding: 9px 11px;
  font-size: 10px;
  cursor: pointer;
}
.sidebar-foot .demo-note {
  font-size: 10px;
  line-height: 1.8;
  background: none;
  padding: 0;
}
.sidebar-foot .profile {
  margin-top: 20px;
}
.main {
  max-width: 1600px;
  padding: 32px 36px;
}
.topbar {
  box-shadow: none;
}
.top-actions {
  gap: 12px;
}
.pagehead {
  margin-bottom: 18px;
}
.pagehead h1 {
  font-size: 28px;
  letter-spacing: -0.8px;
}
.pagehead p {
  font-size: 12px;
  margin-top: 5px;
}
.prototype-strip {
  font-size: 10px;
  color: #72869d;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bba443;
}
.conversation-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 28px;
  align-items: start;
}
.conversation-primary {
  min-width: 0;
}
.largechat {
  border-radius: 12px;
  border: 1px solid #dbe3ed;
  box-shadow: 0 4px 18px #043a6d05;
}
.largechat .phonebody {
  height: calc(100dvh - 480px);
  min-height: 300px;
  max-height: none;
}
.phonehead {
  padding: 17px 20px;
}
.phonefoot {
  padding: 13px;
  background: #fff;
}
.phonefoot input {
  font-size: 12px;
}
.phonebody .bubble {
  font-size: 12px;
}
.bubble p {
  font-size: 12px;
  line-height: 1.8;
}
.chat-toolbar {
  padding: 10px 15px;
}
.quick-questions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 15px;
  font-size: 10px;
  color: #8b98a8;
}
.quick-questions button {
  border: 1px solid #dde5ed;
  background: white;
  color: #486585;
  border-radius: 20px;
  padding: 7px 12px;
  font-size: 10px;
  cursor: pointer;
}
.activity-panel {
  padding: 17px 0;
  min-width: 0;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 17px;
  border-bottom: 1px solid #e0e7ef;
}
.panel-title h2 {
  font-size: 13px;
}
.activity-empty {
  text-align: center;
  padding: 65px 10px;
  color: #8696a9;
}
.activity-empty > span {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
  color: #a8b6c7;
}
.activity-empty h3 {
  font-size: 12px;
  font-weight: 600;
  color: #5c7390;
  margin-bottom: 9px;
}
.activity-empty p {
  font-size: 11px;
  line-height: 1.9;
}
.activity-decision {
  font-size: 15px;
  font-weight: 700;
  margin: 20px 0 5px;
}
.activity-panel > .muted {
  font-size: 11px;
  line-height: 1.8;
}
.activity-timeline {
  margin: 20px 0;
}
.activity-step {
  position: relative;
  padding: 0 0 20px 18px;
  border-left: 1px solid #dce5ee;
  margin-left: 4px;
  overflow-wrap: anywhere;
}
.activity-step strong {
  display: block;
  font-size: 11px;
}
.activity-step > small {
  display: block;
  color: #7d91aa;
  font-size: 10px;
  margin: 4px 0;
}
.activity-dot {
  position: absolute;
  left: -4px;
  top: 4px;
  width: 7px;
  height: 7px;
  background: #043a6d;
  border-radius: 50%;
}
.activity-step .textbutton {
  font-size: 10px;
}
.quiet-details {
  border-top: 1px solid #e4eaf1;
  margin-top: 20px;
  padding-top: 15px;
  font-size: 11px;
}
.quiet-details > summary {
  cursor: pointer;
  color: #6d829a;
  padding: 2px 0;
  list-style-position: inside;
}
.quiet-details[open] > summary {
  margin-bottom: 16px;
}
.quiet-details .codebox {
  font-size: 10px;
  max-height: 300px;
  overflow: auto;
  margin-top: 12px;
}
.simulation-options .inline-verification {
  padding: 0;
  margin: 0 0 13px;
  background: none;
}
.simulation-options select {
  font-size: 11px;
}
.tool-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 30px;
  align-items: start;
}
.prompt-surface {
  background: white;
  border: 1px solid #e0e6ed;
  border-radius: 10px;
  padding: 26px;
}
.surface-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #edf0f4;
  padding-bottom: 20px;
  margin-bottom: 24px;
  color: #8192a5;
  font-size: 10px;
}
.surface-meta .switch {
  width: 34px;
  flex: none;
}
.editor-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 7px;
}
.editor-description {
  font-size: 11px;
  margin-bottom: 18px;
}
.task-prompt {
  min-height: 340px;
  font-family: inherit;
  font-size: 13px !important;
  line-height: 1.9 !important;
  background: #fcfdff !important;
  padding: 17px !important;
  border: 1px solid #dce4ee !important;
  border-radius: 7px !important;
  width: 100%;
  resize: vertical;
}
.example-insert {
  margin-top: 12px;
  background: #f7f9fc;
  border: 1px dashed #cbd7e5;
  border-radius: 6px;
  padding: 10px 13px;
  color: #3b6288;
  font-size: 11px;
  cursor: pointer;
}
.prototype-note {
  font-size: 10px;
  color: #8898ab;
  line-height: 1.8;
  margin-top: 17px;
}
.enquiry-context {
  padding: 23px 0;
  min-width: 0;
}
.enquiry-context .eyebrow {
  color: #8c9daf;
  font-size: 9px;
}
.enquiry-context h3 {
  font-size: 15px;
  line-height: 1.8;
  margin: 13px 0 17px;
}
.enquiry-context > p {
  font-size: 11px;
  color: #7f91a7;
  line-height: 1.9;
}
.source-line {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1px solid #dfe6ef;
  margin: 20px 0;
  padding-top: 16px;
  font-size: 10px;
  color: #8899ac;
}
.source-line strong {
  color: #496988;
  font-size: 11px;
  font-weight: 500;
}
.enquiry-search {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 25px 0;
}
.enquiry-search input {
  max-width: 510px;
  padding: 13px;
  font-size: 12px;
}
.enquiry-search > span {
  font-size: 10px;
  color: #8b9aab;
  white-space: nowrap;
}
.enquiry-list {
  border: 1px solid #e0e7ef;
  border-radius: 10px;
  background: #fff;
  padding: 0 24px;
}
.enquiry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 22px 0;
  border-bottom: 1px solid #e8edf3;
}
.enquiry-row:last-child {
  border: 0;
}
.row-type {
  font-size: 8px;
  letter-spacing: 1px;
  color: #8b9bad;
}
.enquiry-row h3 {
  font-size: 12px;
  font-weight: 600;
  margin: 6px 0;
}
.enquiry-row p {
  font-size: 11px;
  line-height: 1.8;
  color: #8595a9;
  max-width: 700px;
}
.enquiry-row > button,
.enquiry-controls {
  flex: none;
}
.enquiry-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}
.settings-drawer {
  padding: 0;
  border: 0;
  max-width: none;
  width: min(530px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  border-radius: 0;
  box-shadow: -15px 0 70px #00182c24;
  color: #274563;
}
.settings-drawer::backdrop {
  background: #001d3759;
}
.settings-drawer form {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.drawer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e3eaf2;
  padding: 25px 28px;
}
.drawer-heading .eyebrow {
  font-size: 8px;
  color: #8497ae;
}
.drawer-heading h2 {
  font-size: 21px;
  margin-top: 4px;
}
.iconbutton {
  border: 1px solid #e0e8f0;
  background: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 22px;
  cursor: pointer;
}
.drawer-content {
  padding: 25px 28px;
  overflow: auto;
  flex: 1;
}
.drawer-content > .muted {
  font-size: 11px;
  margin-bottom: 25px;
  line-height: 1.9;
}
.drawer-content textarea,
.drawer-content input,
.drawer-content select {
  font-family: inherit;
  font-size: 12px;
  line-height: 1.8;
}
.drawer-content .field {
  margin-bottom: 18px;
}
.drawer-footer {
  padding: 17px 28px;
  border-top: 1px solid #e2e9f0;
  background: white;
}
.drawer-footer .btn {
  width: 100%;
}
@media (min-width: 1500px) {
  .conversation-workspace {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .main {
    padding-top: 40px;
  }
}
@media (max-width: 1100px) {
  .conversation-workspace {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 20px;
  }
  .tool-workspace {
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 20px;
  }
  .main {
    padding: 28px 24px;
  }
  .surface-meta {
    flex-wrap: wrap;
  }
  .topbar .caption {
    display: none;
  }
}
@media (max-width: 850px) {
  .conversation-workspace,
  .tool-workspace {
    grid-template-columns: 1fr;
  }
  .activity-panel {
    border-top: 1px solid #dfe6ee;
    margin-top: 7px;
  }
  .activity-empty {
    padding: 24px;
  }
  .enquiry-context {
    border-top: 1px solid #e1e7ef;
    padding: 22px 0;
  }
  .largechat .phonebody {
    height: 480px;
  }
  .enquiry-search {
    flex-wrap: wrap;
    gap: 10px;
  }
  .enquiry-row {
    align-items: start;
  }
  .enquiry-controls {
    flex-direction: column;
  }
}
@media (max-width: 650px) {
  .sidebar {
    padding: 16px 16px 11px;
    height: auto;
    position: static;
  }
  .sidebar .brand {
    margin-bottom: 15px;
  }
  .workspace,
  .nav-label,
  .sidebar-foot {
    display: none;
  }
  .nav {
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    gap: 5px;
  }
  .nav > button {
    flex: 1;
    white-space: normal;
    text-align: center;
    font-size: 10px;
    padding: 9px 6px;
    min-width: 0;
    min-height: 40px;
  }
  .nav > button .icon {
    display: none;
  }
  .nav > button.active {
    box-shadow: inset 0 -2px #fed700;
  }
  .tool-subnav {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 3px 0;
    padding: 5px 0;
    border-left: 0;
  }
  .tool-subnav button {
    font-size: 10px;
    padding: 9px;
  }
  .workspace-advanced {
    order: 4;
    width: 100%;
    margin: 0;
  }
  .workspace-advanced summary {
    padding: 6px 0;
    font-size: 9px;
  }
  .workspace-advanced[open] {
    display: block;
  }
  .workspace-advanced button {
    display: inline-block;
    font-size: 10px;
    padding: 8px;
  }
  .topbar {
    padding: 0 16px;
    height: 60px;
    gap: 10px;
  }
  .crumb {
    font-size: 9px;
  }
  .crumb > span {
    display: none;
  }
  .top-actions {
    gap: 6px;
  }
  .top-actions .btn {
    font-size: 9px;
    padding: 8px;
  }
  .main {
    padding: 25px 16px 35px;
  }
  .pagehead {
    display: block;
  }
  .pagehead h1 {
    font-size: 24px;
  }
  .pagehead p {
    font-size: 11px;
  }
  .head-actions {
    margin-top: 14px;
    justify-content: flex-start;
  }
  .head-actions .btn {
    font-size: 10px;
  }
  .prototype-strip {
    font-size: 9px;
    line-height: 1.7;
    margin-bottom: 17px;
  }
  .largechat .phonebody {
    min-height: 320px;
    height: 420px;
  }
  .phonehead {
    padding: 14px;
  }
  .phonefoot input {
    font-size: 11px;
  }
  .phonebody .bubble p {
    font-size: 11px;
  }
  .prompt-surface {
    padding: 20px 16px;
  }
  .task-prompt {
    font-size: 12px !important;
  }
  .surface-meta {
    gap: 10px;
    margin-bottom: 20px;
  }
  .enquiry-list {
    padding: 0 16px;
  }
  .enquiry-row {
    gap: 13px;
    padding: 19px 0;
  }
  .enquiry-row h3 {
    font-size: 11px;
  }
  .enquiry-row p {
    font-size: 10px;
  }
  .enquiry-row > button,
  .enquiry-controls .btn {
    font-size: 9px;
    max-width: 100px;
    white-space: normal;
    padding: 7px;
  }
  .enquiry-search input {
    max-width: none;
  }
  .drawer-heading,
  .drawer-content {
    padding: 22px;
  }
  .fieldrow {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .largechat .phonebody {
    height: clamp(220px, calc(100dvh - 630px), 360px);
    min-height: 220px;
  }
  .activity-empty {
    padding: 22px 10px;
  }
}
.workspace-advanced .connection-subnav {
  border-left: 1px solid #ffffff30;
  margin: 0 0 12px 10px;
  padding-left: 10px;
}
.workspace-advanced .connection-subnav button {
  font-size: 10px;
  padding: 8px 10px;
}
.connection-subnav button.active {
  background: #ffffff15;
  border-radius: 5px;
  color: white;
}
.connection-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 30px;
  align-items: start;
}
.connection-editor-layout .field {
  margin-bottom: 21px;
}
.connection-editor-layout input,
.connection-editor-layout select {
  font-family: inherit;
  font-size: 12px;
}
.connection-editor-layout .field small {
  font-size: 10px;
  line-height: 1.9;
  color: #899bb0;
  display: block;
  margin-top: 8px;
}
.connection-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 23px;
}
.connection-check {
  margin-top: 20px;
  padding: 14px 16px;
  font-size: 11px;
  line-height: 1.9;
  border: 1px solid #d7e2ef;
  background: #f4f8fd;
  border-radius: 7px;
  color: #597c9f;
}
.connection-check[hidden] {
  display: none;
}
.connection-editor-layout input:disabled,
.connection-editor-layout input[readonly] {
  background: #f5f8fc;
  color: #91a1b4;
}
.connection-editor-layout .metadata {
  font-size: 10px;
  color: #8b9caf;
  margin-top: 15px;
  line-height: 1.9;
}
@media (max-width: 850px) {
  .connection-editor-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .workspace-advanced .connection-subnav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 3px 0;
    border-left: 0;
  }
  .workspace-advanced .connection-subnav button {
    display: block;
    font-size: 9px;
    padding: 7px 5px;
    white-space: normal;
    text-align: left;
  }
}
