.section-nav {
  gap: 4px;
}
.section-nav button {
  min-height: 38px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.sidebar-bottom {
  gap: 4px;
}
.sidebar-bottom > button {
  min-height: 34px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.auth-panel {
  display: grid;
  gap: 24px;
  width: 340px;
  max-width: 100%;
  text-align: left;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 24px 70px #0003;
}
.auth-panel > svg,
.welcome-content > svg {
  width: 48px;
  height: 48px;
}
.auth-panel h1,
.auth-panel p {
  margin: 0;
}
.auth-panel h1 {
  font-size: 28px;
}
.auth-welcome {
  min-height: 100vh;
}
.error-text {
  color: var(--danger);
  font-size: 13px;
  min-height: 20px;
}
.table-scroll {
  overflow: auto;
}
.contacts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.contacts-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  padding: 18px 14px;
  border-bottom: 1px solid var(--border);
}
.contacts-table td {
  padding: 18px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.contacts-table td small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}
.contacts-table .row {
  gap: 6px;
}
.contacts-table button {
  padding: 8px 10px;
  min-height: 34px;
  font-size: 12px;
  white-space: nowrap;
}
.compact-search {
  width: 240px;
  margin: 0;
}
.empty-panel {
  padding: 28px 20px;
  font-size: 13px;
  text-align: center;
}
.contact-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--accent-bg);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}
.chat-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 0;
  flex: 1;
  overflow: hidden;
}
.chat-sidebar {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 12px;
}
.chat-contacts {
  overflow: auto;
  flex: 1;
}
.chat-contact {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 14px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  color: var(--text);
  margin: 4px 0;
}
.chat-contact.selected {
  background: #a495ff14;
  border-color: #a495ff3b;
}
.chat-contact:hover {
  background: #a495ff0d;
}
.chat-contact strong,
.chat-contact small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-contact strong {
  font-size: 13px;
}
.chat-contact small {
  font-size: 11px;
  margin-top: 4px;
  color: var(--muted);
}
.chat-main {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-head {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 76px;
}
.chat-head p {
  margin: 4px 0 0;
}
.chat-head > button {
  font-size: 12px;
  white-space: nowrap;
}
.chat-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 24px;
}
.chat-empty h2,
.chat-empty p {
  margin: 0;
}
.chat-messages {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.chat-message {
  max-width: min(80%, 560px);
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  overflow-wrap: anywhere;
}
.chat-message.out {
  align-self: flex-end;
  background: #8b78f41c;
  border-color: #8b78f44d;
}
.chat-message p {
  white-space: pre-wrap;
  margin: 0 0 8px;
  line-height: 1.6;
}
.chat-message small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-align: right;
  margin-top: 6px;
}
.chat-message audio {
  display: block;
  max-width: 100%;
  width: 270px;
  height: 40px;
}
.chat-image {
  display: block;
  max-height: 320px;
  max-width: 100%;
  border-radius: 8px;
}
.chat-message video {
  max-width: 100%;
  max-height: 320px;
  border-radius: 8px;
}
.chat-download {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  padding: 8px;
}
.live-composer {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--panel);
}
.live-composer .row {
  align-items: flex-end;
  gap: 12px;
}
.live-composer textarea {
  flex: 1;
  min-width: 0;
  resize: vertical;
  max-height: 160px;
  min-height: 60px;
  line-height: 1.5;
}
.live-composer .check {
  margin-top: 12px;
}
.chat-attachment:empty {
  display: none;
}
.chat-attachment {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--muted);
}
.chat-attachment button {
  padding: 6px 10px;
}
.kanban-scroll {
  padding: 24px;
  flex: 1;
  overflow: auto;
  min-width: 0;
}
.kanban-board {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  min-height: 100%;
}
.kanban-column {
  width: 280px;
  flex: 0 0 280px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 260px;
  padding: 16px;
}
.kanban-column > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.kanban-column h2 {
  font-size: 13px;
  margin: 0;
}
.kanban-cards {
  display: grid;
  gap: 12px;
  min-height: 160px;
}
.kanban-contact {
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: grab;
}
.kanban-contact p {
  margin: 6px 0 16px;
}
.kanban-contact strong {
  font-size: 13px;
}
.kanban-contact button {
  font-size: 11px;
  min-height: 30px;
  padding: 7px 10px;
}
.kanban-contact .row {
  gap: 6px;
}
.board-column-input {
  align-items: center;
  gap: 12px;
}
.board-column-input .field {
  flex: 1;
}
.board-column-input > .icon-button {
  margin-top: 8px;
}
.connection-qr {
  width: 240px;
  max-width: 100%;
  border: 12px solid white;
  border-radius: 12px;
  background: white;
  align-self: center;
}
.management-scroll .form-panel > .row {
  margin-bottom: 16px;
}
.topbar select {
  max-width: 220px;
  min-width: 130px;
}
.topbar h1 + p {
  margin: 8px 0 0;
}
.workspace {
  min-height: 0;
}
.grow {
  min-width: 0;
}
@media (max-width: 1100px) {
  .chat-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .chat-head {
    padding: 14px;
  }
  .chat-messages {
    padding: 18px;
  }
  .live-composer {
    padding: 14px;
  }
  .chat-head > button span {
    max-width: 120px;
    white-space: normal;
  }
  .contacts-table td,
  .contacts-table th {
    padding: 12px 8px;
  }
  .contacts-table .row {
    flex-wrap: wrap;
  }
  .section-nav button {
    font-size: 12px;
  }
}
@media (max-width: 800px) {
  .chat-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .chat-contact {
    gap: 8px;
    padding: 10px 4px;
  }
  .contact-avatar {
    width: 28px;
    height: 28px;
  }
  .chat-message {
    max-width: 95%;
    padding: 12px;
  }
  .chat-head > button {
    max-width: 120px;
  }
  .live-composer .row {
    flex-wrap: wrap;
  }
  .live-composer textarea {
    min-width: 150px;
  }
  .compact-search {
    width: 180px;
  }
}

/* Workspace navigation */
.app {
  grid-template-rows: minmax(0, 1fr);
}
.workspace-bar {
  display: block;
  padding: 0 0 14px;
  position: relative;
  z-index: 10;
  min-width: 0;
}
.workspace-context {
  font-size: 11px;
  color: var(--muted);
}
.workspace-switcher {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.workspace-switcher > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 10px;
  min-height: 36px;
}
.workspace-switcher > summary:hover,
.workspace-switcher[open] > summary {
  background: #a495ff12;
}
.workspace-switcher summary::-webkit-details-marker,
.action-menu summary::-webkit-details-marker {
  display: none;
}
.workspace-switcher strong {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  flex: 1;
  min-width: 0;
}
.workspace-switcher > summary > .icon {
  width: 14px;
  color: var(--muted);
  transform: rotate(90deg);
}
.workspace-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #8b78f420;
  color: var(--accent);
}
.workspace-mark svg {
  width: 14px;
  height: 14px;
}
.workspace-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 200px;
  max-width: calc(100vw - 48px);
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #1b1e2b;
  box-shadow: 0 18px 50px #0006;
}
.workspace-options {
  max-height: 240px;
  overflow: auto;
}
.workspace-menu button {
  width: 100%;
  justify-content: flex-start;
  min-height: 38px;
  padding: 10px 12px;
  font-size: 12px;
  text-align: left;
  font-weight: 600;
  gap: 10px;
  border-radius: 7px;
}
.workspace-menu .workspace-options button {
  justify-content: space-between;
}
.workspace-menu .workspace-options span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.workspace-menu button.current {
  background: #8b78f419;
  color: var(--accent);
}
.workspace-menu .icon {
  width: 15px;
  flex-shrink: 0;
}
.workspace-menu-actions {
  border-top: 1px solid var(--border);
  margin-top: 6px;
  padding-top: 6px;
}
.workspace-menu .danger-text {
  color: var(--danger);
}
.sidebar {
  padding-top: 20px;
}
.brand {
  padding-bottom: 20px;
}
.section-nav {
  gap: 2px;
  padding-bottom: 16px;
  margin-bottom: 10px;
}
.section-nav button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 12px;
}
.sidebar-head {
  margin-bottom: 8px;
  padding: 4px 8px;
}
.sidebar .new-flow {
  min-height: 40px;
  margin-bottom: 18px;
  padding: 9px 13px;
  font-size: 14px;
}
.flow-list {
  min-height: 70px;
}
.flow-item {
  padding: 10px 8px;
}
.sidebar-bottom {
  margin-top: 10px;
  padding-top: 8px;
}
.sidebar-bottom > button {
  min-height: 30px;
  padding: 6px 10px;
  font-size: 11px;
}
.connection {
  padding-top: 9px;
}
/* Kanban */
.board-tools {
  display: flex;
  gap: 12px;
  align-items: center;
}
.board-tools select {
  min-width: 180px;
  max-width: 250px;
  height: 38px;
  font-size: 12px;
}
.board-tools > button {
  height: 38px;
  font-size: 12px;
  padding: 9px 14px;
}
.action-menu {
  position: relative;
  flex-shrink: 0;
}
.action-menu > summary {
  display: grid;
  place-items: center;
  list-style: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--muted);
}
.action-menu > summary:hover,
.action-menu[open] > summary {
  color: var(--text);
  background: #a495ff16;
}
.action-menu > summary svg {
  width: 17px;
  height: 17px;
}
.action-menu > div {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 175px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #202330;
  box-shadow: 0 10px 30px #0005;
  z-index: 20;
}
.action-menu > div button {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  border: 0;
  background: transparent;
  min-height: 36px;
  white-space: nowrap;
  font-size: 12px;
  padding: 9px 10px;
}
.kanban-scroll {
  padding: 28px;
}
.kanban-board {
  gap: 20px;
}
.kanban-column {
  width: 272px;
  flex-basis: 272px;
  padding: 0;
  border: 0;
  background: transparent;
  min-height: 280px;
}
.kanban-column > header {
  padding: 0 4px 16px;
  margin: 0;
  min-height: 40px;
}
.kanban-column h2 {
  font-size: 12px;
  display: flex;
  gap: 9px;
  align-items: center;
  min-width: 0;
}
.column-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.kanban-column:nth-child(2) .column-dot {
  background: #62b2e8;
}
.kanban-column:nth-child(3) .column-dot {
  background: #e4b565;
}
.kanban-column:nth-child(4) .column-dot {
  background: var(--green);
}
.column-count {
  font-size: 11px;
  color: var(--muted);
  background: #ffffff07;
  border-radius: 6px;
  padding: 3px 7px;
}
.kanban-cards {
  padding: 10px;
  min-height: 240px;
  background: #ffffff03;
  border: 1px solid #ffffff05;
  border-radius: 12px;
  gap: 10px;
  align-content: start;
}
.kanban-cards:empty::after {
  content: "Nenhum contato";
  display: block;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  padding-top: 28px;
}
.kanban-contact {
  padding: 14px 12px;
  background: var(--panel);
  border-color: #ffffff10;
  border-radius: 10px;
  box-shadow: 0 3px 8px #0000000a;
}
.kanban-contact:hover {
  border-color: #8b78f44d;
}
.kanban-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.kanban-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #8b78f418;
  border-radius: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  flex-shrink: 0;
}
.kanban-contact .kanban-open {
  display: block;
  flex: 1;
  text-align: left;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  min-height: 34px;
  background: transparent;
  cursor: pointer;
}
.kanban-open strong,
.kanban-open small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 145px;
}
.kanban-open strong {
  font-size: 12px;
  font-weight: 700;
}
.kanban-open small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.kanban-contact .action-menu > summary {
  width: 24px;
  height: 28px;
}
@media (max-width: 1100px) {
  .proxy-panel {
    padding: 0;
  }
  .proxy-body {
    padding-left: 22px;
    padding-right: 22px;
  }
  .instance-actions button {
    padding: 9px 10px;
  }
  .workspace-context {
    display: none;
  }
}
@media (max-width: 800px) {
  .connection-info {
    flex-wrap: wrap;
  }
  .entry-form {
    flex-direction: column;
    align-items: stretch;
  }
  .proxy-panel > summary {
    padding: 20px;
  }
  .proxy-grid > .field:last-child {
    grid-column: 1/-1;
  }
  .board-tools {
    gap: 8px;
  }
  .board-tools select {
    min-width: 130px;
  }
  .kanban-scroll {
    padding: 20px;
  }
}
.board-tools {
  flex-shrink: 0;
}
.board-tools > button {
  flex-shrink: 0;
  white-space: nowrap;
}
.board-tools select {
  width: 200px;
  flex: 0 0 auto;
}

.sidebar .workspace-switcher > summary {
  border: 1px solid var(--border);
  background: #12151f;
  gap: 8px;
  padding: 7px 9px;
  min-height: 38px;
}
.sidebar .workspace-switcher strong {
  font-size: 12px;
}
.sidebar .workspace-mark {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 6px;
}
.sidebar .workspace-switcher > summary > .icon {
  width: 12px;
  flex-shrink: 0;
}
.workspace-menu {
  padding: 5px;
  border-radius: 9px;
  top: calc(100% + 5px);
  box-shadow: 0 12px 28px #0005;
}
.workspace-menu button {
  min-height: 32px;
  padding: 6px 9px;
  font-size: 11px;
  gap: 8px;
  white-space: nowrap;
}
.workspace-menu .workspace-options span {
  max-width: 175px;
}
.workspace-menu .icon {
  width: 13px;
  height: 13px;
}
.workspace-menu-actions {
  margin-top: 4px;
  padding-top: 4px;
}
.workspace-options {
  max-height: 192px;
}
.receipt-kanban {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.receipt-kanban > .check {
  margin: 0;
}
.receipt-kanban > .kanban-targets {
  margin: 0;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.kanban-targets > .field {
  margin: 0;
  min-width: 0;
  gap: 10px;
}
.kanban-targets select {
  width: 100%;
  min-width: 0;
}
/* Compact contextual actions and instance settings */
.flow-options > div {
  min-width: 222px;
  padding: 5px;
}
.flow-options > div button {
  font-size: 12px;
  min-height: 36px;
  padding: 8px 10px;
  gap: 10px;
}
.flow-options > div button.danger {
  color: var(--danger);
}

/* Shared depth, surfaces and identity */
.channel-studio {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}
.channel-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
  padding: 36px 40px;
  border: 1px solid #45425d;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 93% 30%, #7660cf25, transparent 58%),
    linear-gradient(120deg, #1d2131, #171b28);
  box-shadow: 0 12px 35px #00000012;
}
.channel-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.channel-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  color: #b5a8f3;
}
.channel-brand {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: #9b84ff18;
  border: 1px solid #a495ff22;
  border-radius: 9px;
}
.channel-brand > .icon {
  width: 15px;
  height: 15px;
}
.channel-copy > h2 {
  font-size: 29px;
  letter-spacing: -0.7px;
  line-height: 1.3;
  margin: 16px 0 10px;
  overflow-wrap: anywhere;
}
.channel-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.channel-status.online {
  color: var(--green);
}
.channel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0 28px;
}
.channel-actions button {
  font-size: 12px;
  min-height: 38px;
  padding: 8px 13px;
}
.channel-entry {
  border-top: 1px solid #ffffff0d;
  padding-top: 22px;
  max-width: 540px;
}
.channel-entry > .field {
  font-size: 11px;
  margin-bottom: 10px;
  color: #c3c7d9;
}
.channel-entry-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}
.channel-entry-controls select {
  width: 0;
  min-width: 0;
  flex: 1;
  font-size: 12px;
  height: 40px;
  background: #111521;
}
.channel-entry-controls button {
  height: 40px;
  flex-shrink: 0;
  font-size: 12px;
  padding: 8px 12px;
  white-space: nowrap;
}
.device-stage {
  height: 310px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.device-orbit {
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid #a495ff14;
  border-radius: 50%;
  z-index: -1;
  transform: rotate(-25deg);
}
.orbit-two {
  width: 360px;
  height: 210px;
  border-style: dashed;
}
.device-shell {
  position: relative;
  width: 174px;
  height: 300px;
  padding: 30px 11px 16px;
  border: 2px solid #626076;
  border-radius: 27px;
  transform: rotate(7deg);
  background: linear-gradient(160deg, #24283a, #111621);
  box-shadow:
    10px 24px 45px #0005,
    inset 0 0 0 3px #111522,
    0 0 45px #8b78f413;
}
.device-shell::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 68px;
  width: 2px;
  height: 30px;
  border-radius: 2px;
  background: #66657a;
  box-shadow: 0 39px #66657a;
}
.device-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 12px;
  border-radius: 12px;
  background: #0c0e16;
}
.device-app-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 750;
  color: #dce0f2;
  padding: 4px 0 12px;
  border-bottom: 1px solid #ffffff0a;
}
.device-app-bar > .icon {
  width: 14px;
  height: 14px;
  color: #b4a6f5;
}
.device-app-bar > i {
  margin-left: auto;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 5px var(--muted);
}
.device-conversation {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
}
.device-bubble {
  width: 85%;
  border: 1px solid #ffffff09;
  padding: 12px 9px;
  background: #2b3041;
  border-radius: 2px 11px 11px;
}
.device-bubble i {
  height: 3px;
  width: 85%;
  display: block;
  background: #d4daf12b;
  border-radius: 4px;
}
.device-bubble i + i {
  width: 65%;
  margin-top: 6px;
}
.device-bubble.outgoing {
  align-self: flex-end;
  background: linear-gradient(130deg, #6955b8, #8872df);
  border-color: #b49bff25;
  border-radius: 11px 2px 11px 11px;
}
.device-bubble.outgoing i {
  background: #ffffff65;
}
.device-bubble.short {
  width: 65%;
}
.device-composer {
  position: absolute;
  bottom: 20px;
  left: 11px;
  right: 11px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.device-composer i {
  display: block;
  flex: 1;
  height: 20px;
  border: 1px solid #ffffff12;
  border-radius: 12px;
  background: #202536;
}
.device-composer > .icon {
  width: 16px;
  height: 16px;
  color: #a495ff;
}
.device-home {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 3px;
  border-radius: 4px;
  background: #ffffff2b;
}
.device-signal {
  position: absolute;
  right: 11px;
  bottom: 39px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #a495ff66;
  border-radius: 13px;
  background: #2d2846;
  color: #c9beff;
  box-shadow: 0 8px 22px #0004;
  transform: rotate(-7deg);
}
.device-stage:has(.is-online) .device-signal {
  color: var(--green);
  background: #1e3833;
  border-color: #64d9bd66;
}
.device-shell.with-qr {
  transform: none;
}
.device-qr {
  display: grid;
  place-items: center;
  padding-top: 34px;
}
.device-qr .connection-qr {
  display: block;
  width: 145px;
  max-width: 100%;
  border: 6px solid white;
  border-radius: 8px;
  margin: 0;
}
.channel-proxy > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
}
.channel-proxy > summary::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: rotate(45deg);
  margin-left: 8px;
}
.channel-proxy[open] > summary::after {
  transform: rotate(225deg);
}
.channel-proxy-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
}
.channel-proxy-title > .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.channel-proxy .instance-proxy-summary {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}
.channel-proxy .form-fields {
  max-width: 780px;
}
.channel-proxy .field,
.channel-proxy .two-fields {
  margin: 0;
}
.channel-proxy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px 130px;
  gap: 20px;
}
/* Agent directory and editor */
.agents-workbench {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  max-width: 1360px;
  margin: auto;
  align-items: start;
}
.agent-directory {
  padding: 16px 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(165deg, #1b1f2d, #171b27);
  position: sticky;
  top: 0;
  min-width: 0;
}
.directory-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.directory-heading h2 {
  font-size: 14px;
  font-weight: 750;
  margin: 0;
}
.agent-directory > .directory-heading {
  padding: 0 8px 16px;
  justify-content: space-between;
}
.directory-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 23px;
  height: 23px;
  padding: 0 7px;
  border: 1px solid #a495ff1c;
  background: #a495ff0c;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  color: #b9addf;
}
.agent-directory nav {
  display: grid;
  gap: 6px;
  max-height: calc(100vh - 240px);
  overflow: auto;
}
.agent-profile {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  padding: 12px 9px;
  width: 100%;
  min-width: 0;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
}
.agent-profile:hover {
  background: #a495ff08;
}
.agent-profile.selected {
  background: #8b78f412;
  border-color: #a495ff35;
}
.profile-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 32px;
  border: 1px solid #ffffff09;
  border-radius: 9px;
  background: #242938;
  color: var(--muted);
}
.agent-profile.selected .profile-avatar {
  background: #8b78f421;
  color: var(--accent);
  border-color: #a495ff23;
}
.profile-avatar > .icon {
  width: 16px;
  height: 16px;
}
.profile-description {
  min-width: 0;
}
.profile-description strong,
.profile-description small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-description strong {
  font-size: 12px;
  font-weight: 700;
}
.profile-description small {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
}
.agent-editing {
  min-width: 0;
}
.agent-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  margin-bottom: 22px;
  border: 1px solid #45405d;
  border-radius: 14px;
  background: linear-gradient(110deg, #242338, #1a1e2b);
}
.agent-identity-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 1px solid #a495ff2c;
  border-radius: 12px;
  background: #8b78f41c;
  color: #c2b5ff;
}
.agent-identity-icon > .icon {
  width: 22px;
  height: 22px;
}
.agent-identity-label {
  color: #aaa3c5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}
.agent-identity h2 {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.3px;
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}
.agent-timing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ffffff0e;
  border-radius: 8px;
  padding: 7px 9px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.agent-timing > .icon {
  width: 13px;
  height: 13px;
}
.agent-editing .agent-columns {
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 1fr);
  gap: 20px;
  max-width: none;
}
.agent-editing .form-panel {
  box-shadow: 0 3px 14px #0000000b;
}
/* Contact directory */
.contacts-surface {
  max-width: 1360px;
  margin: auto;
  border: 1px solid var(--border);
  border-radius: 15px;
  overflow: hidden;
  background: linear-gradient(145deg, #1b1f2d, #181c28);
  box-shadow: 0 8px 28px #0000000c;
}
.contacts-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.directory-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #a495ff24;
  border-radius: 10px;
  background: #8b78f414;
  color: var(--accent);
}
.directory-symbol > .icon {
  width: 17px;
  height: 17px;
}
.contacts-toolbar .compact-search {
  width: 240px;
  margin: 0;
}
.contacts-toolbar .flow-search input {
  background: #111520;
  border-color: #35394b;
  min-height: 38px;
}
.contacts-surface .contacts-table th {
  font-size: 10px;
  padding: 16px 20px;
  background: #10131d33;
  color: #8992ad;
}
.contacts-surface .contacts-table td {
  padding: 18px 20px;
  border-bottom-color: #ffffff07;
}
.contacts-surface .contacts-table tbody tr:last-child td {
  border-bottom: 0;
}
.contacts-surface .contacts-table tbody tr:hover {
  background: #a495ff04;
}
.contact-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 140px;
}
.directory-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid #b9a2ff25;
  border-radius: 11px;
  background: linear-gradient(140deg, #463963, #302a44);
  color: #d2bfff;
  font-weight: 800;
  font-size: 13px;
}
.directory-avatar.tone-1 {
  background: linear-gradient(140deg, #253f59, #22303d);
  border-color: #81baee24;
  color: #aed6f6;
}
.directory-avatar.tone-2 {
  background: linear-gradient(140deg, #284940, #223730);
  border-color: #64d9bd24;
  color: #9ae0ca;
}
.directory-avatar.tone-3 {
  background: linear-gradient(140deg, #503b37, #372a2a);
  border-color: #d9a48724;
  color: #edc4b2;
}
.contact-identity strong {
  font-size: 12px;
  font-weight: 750;
}
.contacts-surface .contacts-table td small {
  font-size: 10px;
  margin-top: 5px;
}
.contact-number {
  color: #a8b1c8;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.contact-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 7px;
  background: #ffffff04;
  border: 1px solid #ffffff0b;
  white-space: nowrap;
  font-size: 10px;
  color: var(--muted);
}
.contact-status i {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: currentColor;
}
.contact-status.state-human {
  background: #8b78f410;
  border-color: #a495ff22;
  color: #bbaaff;
}
.contact-status.state-running {
  background: #64d9bd09;
  border-color: #64d9bd1c;
  color: #91d6bd;
}
.contact-status.state-waiting {
  background: #d3ac630a;
  border-color: #d3ac631c;
  color: #d3bb8e;
}
.contact-status.state-error {
  background: #ff8e9e09;
  border-color: #ff8e9e22;
  color: #ffadba;
}
.contact-board {
  font-size: 12px;
}
.contact-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.contacts-table .contact-chat-button {
  padding: 7px 10px;
  min-height: 32px;
  font-size: 11px;
  color: #c2b2ff;
  background: #8b78f410;
  border-color: #a495ff1c;
  white-space: nowrap;
}
.contact-chat-button > .icon {
  width: 14px;
  height: 14px;
}
.contacts-table .contact-row-actions > .icon-button {
  padding: 6px;
  min-height: 30px;
  height: 30px;
  width: 30px;
  color: var(--muted);
}
.contact-row-actions > .contact-delete:hover {
  color: var(--danger);
  background: #ff8e9e0b;
}
.directory-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 54px 20px;
  color: var(--muted);
}
.directory-empty > .icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.2;
  color: #9584d0;
}
.directory-empty h3 {
  font-size: 14px;
  color: var(--text);
  margin: 0;
}
.directory-empty p {
  font-size: 12px;
  margin: 0;
}
@media (max-width: 1200px) {
  .agents-workbench {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
  }
  .agent-editing .agent-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .agent-identity {
    padding: 18px 20px;
  }
  .channel-hero {
    padding: 30px;
    grid-template-columns: minmax(0, 1fr) 220px;
  }
  .device-orbit {
    width: 240px;
    height: 240px;
  }
  .orbit-two {
    width: 300px;
    height: 180px;
  }
  .device-signal {
    right: 0;
  }
  .contacts-surface .contacts-table td,
  .contacts-surface .contacts-table th {
    padding: 16px 12px;
  }
}
@media (max-width: 900px) {
  .channel-hero {
    padding: 26px;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) 180px;
  }
  .device-shell {
    width: 155px;
    height: 280px;
    padding-top: 27px;
  }
  .device-stage {
    height: 290px;
  }
  .device-qr .connection-qr {
    width: 130px;
  }
  .channel-copy > h2 {
    font-size: 25px;
  }
  .agents-workbench {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 16px;
  }
  .agent-directory {
    padding: 14px 7px;
  }
  .agent-profile {
    padding: 10px 6px;
    gap: 8px;
  }
  .profile-avatar {
    width: 26px;
    height: 28px;
  }
  .agent-identity {
    padding: 16px;
  }
  .contacts-toolbar {
    padding: 18px 20px;
  }
  .contacts-toolbar .compact-search {
    width: 200px;
  }
  .contact-row-actions {
    gap: 3px;
  }
}
@media (max-width: 700px) {
  .channel-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
  }
  .device-stage {
    display: none;
  }
  .channel-hero:has(.with-qr) .device-stage {
    display: grid;
    margin: auto;
    width: 200px;
  }
  .channel-proxy-grid {
    grid-template-columns: 1fr 1fr;
  }
  .proxy-server {
    grid-column: 1/-1;
  }
  .agents-workbench {
    grid-template-columns: minmax(0, 1fr);
  }
  .agent-directory {
    position: static;
  }
  .agent-directory nav {
    display: flex;
    overflow: auto;
    max-height: none;
  }
  .agent-profile {
    width: auto;
    min-width: 150px;
  }
  .agent-directory > .directory-heading {
    padding-bottom: 10px;
  }
  .contacts-toolbar {
    flex-wrap: wrap;
    gap: 16px;
  }
  .contacts-toolbar .compact-search {
    width: 100%;
  }
  .contact-row-actions > .contact-chat-button span {
    display: none;
  }
  .contact-identity {
    min-width: 120px;
  }
}

.device-shell.with-qr {
  width: 226px;
  height: 320px;
}
.device-shell.with-qr .device-qr {
  padding-top: 16px;
}
.device-qr .connection-qr {
  width: 198px;
}
@media (max-width: 900px) {
  .device-shell.with-qr {
    width: 180px;
    height: 290px;
  }
  .device-qr .connection-qr {
    width: 152px;
  }
}

/* Connected identity system */
.channel-hero {
  grid-template-columns: minmax(0, 1fr) 340px;
  border-color: #55506c;
  background:
    radial-gradient(ellipse at 78% 20%, #8062d128, transparent 60%),
    linear-gradient(130deg, #202335, #171b28);
  box-shadow:
    0 18px 50px #080a1122,
    inset 0 1px #ffffff05;
}
.channel-eyebrow {
  color: #b9a8ff;
}
.channel-copy > h2 {
  font-size: 31px;
  letter-spacing: -0.8px;
}
.channel-brand {
  box-shadow: 0 0 20px #8b78f410;
}
.device-stage {
  height: 330px;
  perspective: 900px;
}
.device-shell:not(.with-qr) {
  width: 185px;
  height: 314px;
  transform: rotate(5deg) rotateY(-8deg);
  border-color: #79748c;
  background: linear-gradient(155deg, #2b2c42, #111621 60%);
  box-shadow:
    14px 28px 48px #0006,
    inset 0 0 0 3px #10131d,
    0 0 70px #8b78f416;
}
.device-network {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  color: #aa94ea85;
}
.device-network > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke-width: 1.2;
}
.device-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 35px;
  padding: 9px 11px;
  border: 1px solid #a495ff33;
  border-radius: 10px;
  background: linear-gradient(145deg, #302a45ee, #202535f5);
  box-shadow:
    0 10px 22px #0003,
    inset 0 1px #ffffff07;
  color: #ccc0eb;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.device-node > .icon {
  width: 14px;
  height: 14px;
  color: #bba4ff;
}
.node-flows {
  top: 52px;
  left: -4px;
  transform: rotate(-5deg);
}
.node-agents {
  top: 160px;
  right: -8px;
  transform: rotate(4deg);
}
.node-files {
  bottom: 27px;
  left: 0;
  transform: rotate(-3deg);
}
.device-orbit {
  border-color: #a495ff22;
  width: 310px;
  height: 310px;
}
.orbit-two {
  width: 365px;
  height: 210px;
}
.device-signal {
  bottom: 37px;
  right: 44px;
  z-index: 3;
}
.device-stage:has(.with-qr) .device-network,
.device-stage:has(.with-qr) .device-signal {
  display: none;
}
.channel-entry-controls select:focus {
  box-shadow: 0 0 0 4px #a495ff07;
}
.channel-proxy {
  background: linear-gradient(130deg, #1e2130, #191d2a);
}
.demo-badge {
  border: 1px solid #b89ae633;
  background: #a495ff10;
  color: #c8b5ef;
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 700;
}
.agent-identity {
  min-height: 132px;
  padding: 24px;
  gap: 20px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 9% 40%, #9572da21, transparent 55%),
    linear-gradient(110deg, #24243a, #1b1f2c);
  border-color: #4e465f;
  box-shadow:
    inset 0 1px #ffffff04,
    0 10px 28px #0000000a;
}
.agent-identity::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(#b6a0ff20 0.6px, transparent 0.6px);
  background-size: 12px 12px;
  mask-image: linear-gradient(90deg, #000, transparent 36%);
}
.agent-identity > * {
  position: relative;
  z-index: 1;
}
.agent-identity-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  isolation: isolate;
}
.agent-identity-art .agent-identity-icon {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: linear-gradient(140deg, #554176, #302e49);
  border-color: #ba9fed55;
  color: #dbcbff;
  box-shadow:
    0 8px 24px #0003,
    inset 0 1px #ffffff0d;
}
.agent-identity-art .agent-identity-icon > .icon {
  width: 27px;
  height: 27px;
}
.identity-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid #bba4ff25;
  border-radius: 50%;
  z-index: -1;
}
.identity-orbit.second {
  inset: -10px;
  border-style: dashed;
  border-color: #bba4ff15;
  transform: rotate(20deg);
}
.identity-point {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #baa2f4;
  box-shadow: 0 0 9px #bba4ff50;
}
.point-a {
  left: 1px;
  top: 19px;
}
.point-b {
  right: 2px;
  bottom: 15px;
}
.point-c {
  right: 13px;
  top: 1px;
  width: 3px;
  height: 3px;
  background: #8f81b5;
}
.agent-identity-label {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #a69fbc;
}
.agent-identity h2 {
  font-size: 21px;
  margin-top: 5px;
  letter-spacing: -0.45px;
}
.agent-capabilities {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.agent-capabilities > span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #a69fba;
  font-size: 10px;
}
.agent-capabilities .icon {
  width: 12px;
  height: 12px;
  color: #a495cb;
}
.agent-identity-metrics {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 22px;
  padding-left: 22px;
  margin-left: auto;
  border-left: 1px solid #ffffff0a;
}
.agent-identity-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.agent-identity-metrics > div > span {
  font-size: 10px;
  color: #9c96ad;
}
.agent-identity-metrics strong {
  font-size: 20px;
  font-weight: 700;
  color: #ded6ed;
  white-space: nowrap;
  letter-spacing: -0.4px;
}
.agent-identity-metrics small {
  font-size: 10px;
  margin-left: 4px;
  font-weight: 500;
  color: #a9a1b8;
  letter-spacing: 0;
}
.agent-directory {
  background: linear-gradient(170deg, #242338, #181d29 68%);
  border-color: #3e3c52;
  box-shadow: inset 0 1px #ffffff04;
}
.agent-profile {
  transition:
    border-color 0.15s,
    background 0.15s;
}
.agent-profile.selected {
  background: linear-gradient(115deg, #7f63b825, #8272c80b);
  border-color: #a495ff45;
  box-shadow: inset 2px 0 #a495ff;
}
.profile-avatar {
  background: linear-gradient(150deg, #2f2b43, #202735);
}
.agent-profile.selected .profile-avatar {
  background: linear-gradient(140deg, #665086, #3b3150);
  color: #e1d0ff;
  border-color: #c1a4ff40;
}
.prompt-label {
  display: flex;
  align-items: center;
  gap: 9px;
}
.prompt-symbol {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  border: 1px solid #a495ff16;
  border-radius: 8px;
  background: #8b78f40a;
  color: #a69ac8;
}
.prompt-symbol > .icon {
  width: 13px;
  height: 13px;
}
.prompt-field textarea {
  background: linear-gradient(130deg, #131723, #141824);
  border-color: #34394b;
  transition: border-color 0.15s;
}
.prompt-field textarea:hover {
  border-color: #4d4566;
}
.prompt-field textarea:focus {
  border-color: var(--accent);
}
.kanban-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid #ffffff08;
}
.kanban-card-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #939eb7;
  font-size: 10px;
}
.kanban-card-state > i {
  width: 4px;
  height: 4px;
  background: #9e91c5;
  border-radius: 50%;
}
.kanban-card-state.is-human {
  color: #b2a2d6;
}
.kanban-card-state.is-human > i {
  background: #bb9bea;
}
.kanban-grip {
  display: flex;
  align-items: center;
  color: #555d75;
  cursor: grab;
  padding: 2px;
}
.kanban-grip > .icon {
  width: 14px;
  height: 14px;
}
.kanban-contact {
  background: linear-gradient(140deg, #202334, #1b1f2c);
  box-shadow:
    0 4px 12px #00000014,
    inset 0 1px #ffffff03;
}
.kanban-contact:hover {
  box-shadow:
    0 8px 18px #00000020,
    inset 0 1px #ffffff05;
  border-color: #8b78f44a;
}
@media (max-width: 1200px) {
  .channel-hero {
    grid-template-columns: minmax(0, 1fr) 270px;
    padding: 30px;
  }
  .device-shell:not(.with-qr) {
    width: 174px;
    height: 300px;
  }
  .device-node {
    padding: 7px 9px;
    font-size: 9px;
  }
  .node-flows {
    left: -14px;
  }
  .node-agents {
    right: -16px;
  }
  .node-files {
    left: -8px;
  }
  .device-signal {
    right: 20px;
  }
  .agent-identity {
    gap: 16px;
    padding: 22px;
  }
  .agent-identity-metrics {
    gap: 16px;
    padding-left: 16px;
  }
  .agent-identity-art {
    width: 65px;
    height: 65px;
  }
}
@media (max-width: 1000px) {
  .agent-identity-metrics > div:last-child {
    display: none;
  }
  .agent-identity h2 {
    font-size: 19px;
  }
  .agent-capabilities {
    gap: 8px;
  }
  .agent-identity-art {
    width: 56px;
    height: 56px;
  }
  .agent-identity-art .agent-identity-icon {
    width: 43px;
    height: 43px;
    border-radius: 14px;
  }
  .agent-identity-art .agent-identity-icon > .icon {
    width: 23px;
    height: 23px;
  }
  .identity-orbit.second {
    inset: -5px;
  }
}
@media (max-width: 900px) {
  .channel-hero {
    grid-template-columns: minmax(0, 1fr) 190px;
    padding: 26px;
    gap: 20px;
  }
  .device-network {
    display: none;
  }
  .device-shell:not(.with-qr) {
    width: 155px;
    height: 280px;
  }
  .device-stage {
    height: 300px;
  }
  .device-orbit {
    width: 220px;
    height: 270px;
  }
  .orbit-two {
    width: 250px;
    height: 170px;
  }
  .device-signal {
    right: 0;
  }
  .channel-copy > h2 {
    font-size: 25px;
  }
  .agent-identity {
    padding: 18px;
    gap: 14px;
  }
}
@media (max-width: 700px) {
  .channel-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
  }
  .agent-identity-metrics {
    display: none;
  }
  .agent-identity-art {
    width: 52px;
    height: 52px;
  }
  .agent-capabilities {
    gap: 10px;
  }
}

/* Connection indicators, composer and reserved pairing surface */
.workspace-status-dot {
  display: inline-block;
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #616a80;
  box-shadow: 0 0 0 3px #616a800b;
}
.workspace-status-dot.connected {
  background: var(--green);
  box-shadow:
    0 0 0 3px #64d9bd0c,
    0 0 7px #64d9bd28;
}
.workspace-option-status {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: 28px;
  flex-shrink: 0;
}
.workspace-menu .workspace-option-status > .icon {
  width: 12px;
  height: 12px;
}
.live-composer {
  padding: 16px 22px 18px;
  background: #171b27;
  flex-shrink: 0;
}
.composer-shell {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 6px;
  border: 1px solid #3a3e52;
  border-radius: 12px;
  background: #111620;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.composer-shell:focus-within {
  border-color: #a495ff9c;
  box-shadow: 0 0 0 3px #a495ff12;
}
.live-composer .composer-tool {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-height: 38px;
  flex: 0 0 38px;
  border-radius: 8px;
  padding: 9px;
  color: #a9a2c2;
}
.composer-tool:hover {
  color: var(--accent);
  background: #a495ff0c;
}
.live-composer .composer-shell textarea {
  display: block;
  flex: 1;
  width: 0;
  min-width: 0;
  min-height: 38px;
  max-height: 144px;
  height: 38px;
  padding: 8px 5px;
  margin: 0;
  resize: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  outline: none;
  box-shadow: none;
  font-size: 13px;
  line-height: 22px;
  overflow-y: auto;
}
.live-composer .composer-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  height: 38px;
  min-height: 38px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 20px;
}
.composer-send > .icon {
  width: 16px;
  height: 16px;
}
.chat-attachment:not(:empty) {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 9px 10px;
  margin-bottom: 12px;
  border: 1px solid #a495ff1e;
  border-radius: 9px;
  background: #8b78f40a;
  font-size: 12px;
}
.chat-attachment .attachment-symbol {
  display: grid;
  place-items: center;
  color: var(--accent);
}
.attachment-symbol > .icon {
  width: 17px;
  height: 17px;
}
.attachment-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-attachment > .icon-button {
  width: 28px;
  height: 28px;
  padding: 5px;
  min-height: 28px;
  color: var(--muted);
}
.live-composer .composer-options {
  margin-top: 12px;
  font-size: 11px;
}
.channel-studio {
  max-width: 1060px;
}
.channel-hero {
  grid-template-columns: minmax(0, 1fr) 280px;
  padding: 30px 34px;
  gap: 28px;
}
.channel-proxy {
  width: 100%;
  max-width: 720px;
  justify-self: center;
}
.channel-proxy .form-fields {
  max-width: none;
}
.qr-slot {
  display: grid;
  place-items: center;
  width: 198px;
  max-width: 100%;
  aspect-ratio: 1;
  padding: 7px;
  border-radius: 10px;
  background: #fafbff;
  box-shadow: 0 0 0 1px #ffffff22;
}
.device-qr .qr-slot > .connection-qr {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 3px;
  object-fit: contain;
  max-width: 100%;
}
.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #8790a9;
  text-align: center;
}
.qr-placeholder > svg {
  width: 52px;
  height: 52px;
  color: #c8cddd;
}
.qr-placeholder > strong {
  font-size: 12px;
  font-weight: 750;
  color: #67718c;
}
.qr-placeholder > span {
  font-size: 9px;
  color: #939bb0;
}
.is-online .qr-placeholder > svg,
.is-online .qr-placeholder > strong {
  color: #3a9e82;
}
.device-stage .device-shell.with-qr {
  transform: none;
}
@media (max-width: 1100px) {
  .channel-hero {
    grid-template-columns: minmax(0, 1fr) 230px;
    padding: 28px;
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .channel-hero {
    grid-template-columns: minmax(0, 1fr) 180px;
    padding: 24px;
    gap: 20px;
  }
  .qr-slot {
    width: 152px;
  }
  .live-composer {
    padding: 14px 16px;
  }
}
@media (max-width: 700px) {
  .channel-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .channel-hero .device-stage {
    display: grid;
    width: 200px;
    margin: auto;
  }
  .live-composer .composer-send {
    padding: 8px 11px;
  }
  .composer-shell {
    gap: 5px;
  }
}
.chat-contacts { padding: 6px 10px 8px 6px; scrollbar-gutter: stable; }
.preferences-page { overflow:auto; padding:28px; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); align-content:start; gap:24px; }
.preferences-panel { background:var(--panel); border:1px solid var(--border); border-radius:16px; padding:26px; min-width:0; }
.preferences-heading { display:flex; align-items:center; gap:12px; margin-bottom:26px; }
.preferences-heading h2 { font-size:18px; margin:0; }
.preferences-panel .field { margin-bottom:22px; }
.preferences-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:12px; padding-top:6px; }
@media(max-width:1100px) { .preferences-page { grid-template-columns:minmax(0,1fr); } }
.kanban-scroll { min-width:0; }
.kanban-group { min-width:0; margin-bottom:36px; }
.kanban-group:last-child { margin-bottom:0; }
.kanban-group-head { margin:0 0 16px; padding:0 4px; }
.kanban-track { overflow-x:auto; padding:6px 6px 14px; scrollbar-gutter:stable; }
.kanban-track .kanban-board { width:max-content; min-width:100%; align-items:flex-start; }
.kanban-group .kanban-board-name,.kanban-group .kanban-column-name { background:transparent; border:1px solid transparent; box-shadow:none; color:var(--text); text-overflow:ellipsis; cursor:text; }
.kanban-group .kanban-board-name { font-size:18px; font-weight:700; width:min(480px,100%); padding:8px 10px; margin-left:-10px; }
.kanban-column h2 { flex:1; }
.kanban-group .kanban-column-name { font-size:12px; font-weight:650; width:100%; min-width:0; padding:7px 5px; }
.kanban-group .kanban-board-name:hover,.kanban-group .kanban-column-name:hover { border-color:var(--border); }
.kanban-group .kanban-board-name:focus,.kanban-group .kanban-column-name:focus { background:var(--panel); border-color:var(--accent); box-shadow:0 0 0 3px #8b78f42b; outline:none; }
.kanban-column > header { gap:8px; padding-bottom:12px; }
.kanban-column .column-remove { width:26px; min-width:26px; height:28px; padding:5px; opacity:0; }
.kanban-column > header:hover .column-remove,.kanban-column > header:focus-within .column-remove { opacity:1; }
.kanban-add-column { width:250px; flex:0 0 250px; padding:16px; border:1px dashed var(--border); border-radius:12px; margin-top:0; display:grid; gap:16px; }
.kanban-add-column .field { margin:0; gap:12px; }
.kanban-add-column button { justify-content:center; }
.workspace-menu .workspace-options button { justify-content:flex-start; }
.workspace-options .workspace-status-dot { flex:0 0 6px; }
.workspace-menu .workspace-option-name { flex:1; min-width:0; }
.workspace-menu .workspace-option-status { flex:0 0 16px; justify-content:center; }
.kanban-group-head { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.kanban-group-head .board-remove { color:var(--muted); width:34px; height:34px; flex-shrink:0; }
.kanban-group-head .board-remove:hover { color:var(--danger); background:#ff8e9e0c; }
.chat-layout { grid-template-columns:260px minmax(0,1fr); }
.chat-contacts > .empty-panel { padding:24px 0; white-space:nowrap; font-size:12px; text-align:center; }

/* Shared control-room surfaces. All ornament stays behind the usable controls. */
.studio-banner { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 280px; align-items:center; min-width:0; min-height:218px; padding:30px 34px; border:1px solid #61517e; border-radius:18px; background:radial-gradient(ellipse at 90% 0,#7453b82b,transparent 60%),linear-gradient(115deg,#26243c,#181d2c); overflow:hidden; box-shadow:inset 0 1px #ffffff0a,0 16px 45px #00000014; }
.studio-banner::before { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,transparent 49.5%,#c7b5ff07 50%,transparent 50.5%),linear-gradient(0deg,transparent 49.5%,#c7b5ff07 50%,transparent 50.5%); background-size:34px 34px; mask-image:linear-gradient(90deg,transparent,#000); }
.studio-banner::after { content:""; position:absolute; left:0; top:30px; bottom:30px; width:3px; border-radius:4px; background:linear-gradient(var(--accent),#64d9bd); box-shadow:0 0 22px #a495ff55; }
.studio-banner-copy { position:relative; z-index:1; min-width:0; }
.studio-kicker { display:flex; align-items:center; gap:8px; color:#b7a6e2; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:1.6px; }
.studio-kicker .icon { width:15px; height:15px; }
.studio-banner h2 { font-size:clamp(22px,2vw,29px); line-height:1.25; margin:15px 0 10px; letter-spacing:-.8px; max-width:650px; }
.studio-banner p { color:#aaa6bf; font-size:12px; line-height:1.6; margin:0; }
.studio-readouts { display:flex; gap:22px; flex-wrap:wrap; margin-top:25px; }
.studio-readout { display:grid; grid-template-columns:5px minmax(0,1fr); align-items:center; column-gap:8px; row-gap:5px; min-width:90px; max-width:100%; }
.studio-readout i { width:5px; height:5px; background:#8b7caa; border-radius:50%; }
.studio-readout.is-set i { background:var(--green); box-shadow:0 0 9px #64d9bd44; }
.studio-readout > span { font-size:9px; text-transform:uppercase; letter-spacing:1px; color:#a49bb8; }
.studio-readout strong { grid-column:2; font-size:12px; font-weight:700; color:#e0d9f0; overflow-wrap:anywhere; }
.studio-circuit { position:relative; width:100%; max-width:280px; justify-self:end; aspect-ratio:300/170; opacity:.9; }
.studio-circuit > svg { width:100%; height:100%; }
.circuit-grid { stroke:#c7b5ff0a; stroke-width:.6; }
.circuit-line { stroke:#9f8bc9; stroke-width:1.1; }
.circuit-orbit { stroke:#c4afff2a; stroke-width:1; }
.circuit-orbit.outer { stroke-dasharray:3 8; }
.circuit-core { fill:#3a3058; stroke:#bca0ed80; stroke-width:1.5; }
.circuit-point { fill:#c0a5f1; stroke:#a185d33b; stroke-width:8; }
.circuit-point.teal { fill:#72d4bb; stroke:#72d4bb1a; }
.circuit-symbol { position:absolute; inset:0; display:grid; place-items:center; color:#dfcfff; }
.circuit-symbol .icon { width:29px; height:29px; }
.studio-module-label,.preferences-module { display:flex; gap:10px; align-items:center; font-size:9px; font-weight:800; letter-spacing:1.5px; color:#9f96b6; margin-bottom:24px; }
.module-number,.studio-module-label > span,.preferences-module > span { display:grid; place-items:center; font-size:10px; font-weight:700; letter-spacing:0; color:#c9b8ed; width:25px; height:25px; border:1px solid #a495ff30; border-radius:7px; background:#a495ff09; }
.channel-studio { max-width:1180px; display:grid; gap:22px; }
.channel-studio > .studio-banner { min-height:206px; }
.channel-studio > .channel-hero { width:100%; margin:0; border-color:#4e4864; border-radius:18px; background:radial-gradient(ellipse at 92% 70%,#6a58a324,transparent 48%),linear-gradient(130deg,#202232,#181c29); box-shadow:inset 0 1px #ffffff06; }
.channel-studio .channel-copy { border-left:1px solid #a495ff2b; padding-left:22px; }
.channel-studio .channel-copy > h2 { font-size:27px; }
.channel-studio .channel-entry { border-top:1px solid #a495ff1c; margin-top:25px; padding-top:24px; }
.channel-studio .device-stage::after { content:""; position:absolute; width:220px; height:220px; border:1px solid #a495ff13; border-radius:50%; box-shadow:0 0 70px #a495ff09; pointer-events:none; }
.channel-studio .proxy-panel { width:100%; max-width:none; margin:0; background:linear-gradient(110deg,#1f2333,#191d2a); border-color:#3a3f56; border-radius:16px; }
.channel-proxy-title .module-number { margin-right:2px; }
.channel-studio .channel-proxy > summary { min-height:76px; }
.preferences-page { max-width:1236px; width:100%; margin:0 auto; gap:22px; }
.preferences-page > .studio-banner { grid-column:1/-1; }
.preferences-panel { position:relative; background:linear-gradient(145deg,#202333,#191c29); border-color:#48405f; border-radius:18px; padding:28px; box-shadow:inset 0 1px #ffffff08; }
.preferences-panel::before { content:""; position:absolute; top:0; left:28px; right:28px; height:2px; background:linear-gradient(90deg,#ae92e3,transparent); }
.preferences-link { border-color:#354e50; background:radial-gradient(ellipse at 100% 0,#28564b1c,transparent 55%),linear-gradient(145deg,#1d2831,#191e29); }
.preferences-link::before { background:linear-gradient(90deg,#72cbb5,transparent); }
.preferences-link .preferences-module > span { color:#8bd3be; border-color:#72cbb52b; background:#72cbb509; }
.preferences-heading { margin-bottom:22px; gap:14px; }
.preferences-heading > .node-icon { width:43px; height:43px; border:1px solid #a495ff26; border-radius:13px; }
.preferences-heading h2 { font-size:20px; letter-spacing:-.4px; }
.preferences-capabilities { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 28px; }
.preferences-capabilities > span { display:flex; align-items:center; gap:6px; border:1px solid #a495ff18; background:#a495ff07; border-radius:6px; padding:6px 9px; font-size:10px; color:#aaa1c1; }
.preferences-capabilities .icon { width:12px; height:12px; }
.preferences-actions { border-top:1px solid #ffffff09; padding-top:20px; margin-top:8px; }
.agents-page > .studio-banner { max-width:1300px; margin:0 auto 24px; }
.agents-workbench { max-width:1300px; }
.agent-directory { border-color:#48405f; border-radius:16px; background:linear-gradient(155deg,#242334,#181c29); box-shadow:inset 0 1px #ffffff07; }
.agent-directory > .directory-heading { padding-top:3px; border-bottom:1px solid #a495ff16; margin-bottom:12px; }
.agent-profile { position:relative; padding-top:14px; padding-bottom:14px; }
.agent-profile.selected::before { content:""; position:absolute; left:0; top:14px; bottom:14px; width:2px; border-radius:2px; background:var(--accent); box-shadow:0 0 10px #a495ff44; }
.agent-editing .agent-identity { border-color:#605074; min-height:154px; border-radius:16px; background:radial-gradient(ellipse at 10% 40%,#9572da30,transparent 60%),linear-gradient(115deg,#29243c,#1b202f); }
.agents-page .form-panel { border-color:#393a50; background:linear-gradient(150deg,#1d2130,#191c28); border-radius:15px; }
.studio-panel-title { display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:13px; }
.studio-panel-title > span { font-size:9px; color:#a89abf; letter-spacing:.5px; margin-right:1px; }
.studio-panel-title > .icon { width:15px; height:15px; color:#a694d4; }
.agents-page .prompt-symbol { border-color:#a495ff2b; background:linear-gradient(140deg,#43335466,#27263f); }
.agent-standby { min-height:370px; padding:44px 24px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px; text-align:center; border:1px solid #474058; border-radius:18px; background:radial-gradient(ellipse at 50% 0,#7860b427,transparent 70%),linear-gradient(135deg,#202331,#191d29); }
.standby-emblem { display:grid; place-items:center; width:76px; height:76px; border-radius:23px; border:1px solid #b79ad858; background:linear-gradient(145deg,#524065,#2a2a43); color:#d5bcfa; box-shadow:0 0 0 12px #a495ff06,0 0 0 13px #a495ff10; }
.standby-emblem > .icon { width:36px; height:36px; }
.agent-standby h2 { margin:0; font-size:22px; }
.standby-capabilities { display:flex; justify-content:center; gap:16px; flex-wrap:wrap; color:#aaa3bf; font-size:11px; }
.standby-capabilities span { display:flex; align-items:center; gap:6px; }
.standby-capabilities .icon { width:14px; height:14px; }
@media(max-width:1100px) { .studio-banner { grid-template-columns:minmax(0,1fr) 190px; padding:26px; } .studio-readouts { gap:18px; } .preferences-page { max-width:none; } }
@media(max-width:900px) { .studio-banner { grid-template-columns:minmax(0,1fr); padding:24px; } .studio-banner .studio-circuit { display:none; } .studio-banner h2 { font-size:24px; } .chat-layout { grid-template-columns:250px minmax(0,1fr); } .preferences-panel { padding:24px; } .channel-studio .channel-copy { padding-left:16px; } }
@media(max-width:700px) { .studio-readouts { gap:16px; } .preferences-page { padding:18px; } .channel-studio .channel-copy { border-left:0; padding-left:0; } }
.channel-studio .device-stage::after { z-index:0; }
.channel-studio .device-shell { z-index:1; }
.kanban-empty { min-height:280px; padding:40px 24px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px; text-align:center; border:1px dashed var(--border); border-radius:16px; background:radial-gradient(ellipse at center,#8b78f40a,transparent 65%); }
.kanban-empty h2 { margin:0; font-size:21px; line-height:1.4; }
.kanban-empty > button { margin-top:2px; }
.channel-studio > .channel-hero { grid-template-columns:minmax(0,1fr) 280px; padding:32px; gap:40px; align-items:start; background:linear-gradient(125deg,#222333,#191d2b); }
.channel-studio .channel-copy { border:0; padding:0; min-width:0; }
.channel-studio .channel-copy > h2 { margin-top:18px; font-size:28px; }
.channel-studio .channel-copy > .channel-proxy { margin-top:26px; padding:0; border:0; border-top:1px solid #ffffff10; border-radius:0; background:transparent; box-shadow:none; }
.channel-copy > .channel-proxy > summary { min-height:58px; padding:18px 0 0; }
.channel-copy > .channel-proxy[open] > summary { padding-bottom:20px; }
.channel-copy > .channel-proxy .form-fields { padding:4px 5px 6px; gap:22px; }
.channel-studio .device-stage { align-self:start; margin:20px 0 0; }
.channel-studio .device-stage::after { display:none; }
.channel-studio .device-orbit { opacity:.35; }
.agents-page .agents-workbench { gap:22px; grid-template-columns:192px minmax(0,1fr); }
.agents-page .agent-directory { background:#1b1e2b; box-shadow:none; border-color:#39374d; padding:18px 10px; }
.agents-page .agent-profile { border-radius:10px; min-height:68px; }
.agents-page .agent-editing .agent-identity { min-height:0; padding:20px 24px; margin-bottom:22px; gap:14px; border-color:#4c405f; background:linear-gradient(105deg,#292338,#1d2130); }
.agents-page .agent-identity::after { display:none; }
.agents-page .agent-identity h2 { font-size:21px; margin:4px 0 0; }
.agents-page .agent-identity-icon { width:44px; height:44px; border-radius:12px; background:#a495ff12; }
.agents-page .agent-editing .agent-columns { grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr); align-items:start; gap:22px; }
.agents-page .form-panel { background:#1a1e2b; box-shadow:inset 0 1px #ffffff04; }
.agents-page .agent-instructions > h2 { padding-bottom:20px; border-bottom:1px solid #ffffff09; }
.agent-instructions .prompt-field { border-top:1px solid #ffffff07; padding-top:20px; }
.agent-instructions .prompt-field textarea { min-height:112px; line-height:1.65; padding:14px; resize:vertical; }
.agent-instructions .prompt-label { gap:10px; }
.agent-instructions .prompt-symbol { width:24px; height:24px; border:0; background:#a495ff0b; border-radius:7px; }

@media(max-width:1200px) { .agents-page .agent-editing .agent-columns { grid-template-columns:minmax(0,1fr); } .channel-studio > .channel-hero { grid-template-columns:minmax(0,1fr) 230px; gap:26px; padding:28px; } }
@media(max-width:900px) { .channel-studio > .channel-hero { grid-template-columns:minmax(0,1fr) 180px; gap:22px; padding:24px; } .agents-page .agents-workbench { grid-template-columns:minmax(0,1fr); } }
@media(max-width:700px) { .channel-studio > .channel-hero { grid-template-columns:minmax(0,1fr); } .channel-studio .device-stage { margin:0 auto; } }
.channel-studio .channel-entry { max-width:none; }
.preferences-intro { grid-column:1/-1; display:flex; gap:16px; align-items:center; padding:20px 24px; border:1px solid #45405a; border-radius:14px; background:linear-gradient(110deg,#232236,#1b202d); }
.preferences-intro-icon { display:grid; place-items:center; flex:0 0 38px; height:38px; border:1px solid #a495ff24; border-radius:11px; color:#bbaaeb; background:#a495ff0a; }
.preferences-intro h2 { font-size:15px; line-height:1.4; margin:0 0 5px; }
.preferences-intro p { font-size:12px; color:var(--muted); line-height:1.6; margin:0; }
.channel-studio .channel-entry { max-width:450px; }
.channel-entry-controls { grid-template-columns:minmax(0,1fr) auto; }
.channel-entry-controls #entry-flow { appearance:none; padding:10px 38px 10px 13px; min-width:0; width:100%; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23aaa7bc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; background-size:12px; }
.channel-copy > .channel-proxy[open] > summary { padding-bottom:10px; min-height:48px; }
.channel-copy > .channel-proxy .form-fields { padding-top:0; }
.channel-studio > .channel-hero { border-color:#45415a; background:radial-gradient(ellipse at 100% 0,#8a64b815,transparent 58%),linear-gradient(115deg,#212332,#191d29); }
.channel-studio .channel-brand { border-radius:10px; width:34px; height:34px; background:#a495ff0b; border:1px solid #a495ff24; }
.agents-page .agent-instructions .form-fields { display:flex; flex-direction:column; gap:22px; }
.agents-page .agent-options { padding:0; gap:0; overflow:visible; }
.agent-options > .agent-options-group { padding:22px; border-bottom:1px solid #ffffff09; }
.agent-options-group > .studio-panel-title { margin:0 0 20px; }
.agent-options .receipt-options > .row { gap:14px; }
.agent-options .receipt-options .studio-panel-title { margin:0; }
.agent-options .receipt-options > .form-fields { margin-top:22px; }
.agent-options .form-fields { padding:0; }
.agent-options > .agent-options-technical { padding:0 22px; }
.agent-options-technical > summary { padding:20px 0; margin:0; font-size:12px; color:#aaa2be; }
.agent-options-technical > .form-fields { padding:0 0 20px; }
.agent-options-footer { padding:0 22px 22px; }
.agent-options-footer .publish-agent-note { margin:0 0 18px; line-height:1.6; }
.chat-contacts:has(> .empty-panel) { scrollbar-gutter:auto; padding-inline:8px; }
.channel-copy > .channel-proxy[open] > summary { margin-bottom:0; }
.channel-copy > .channel-proxy .form-fields { margin-top:0; }
.workspace-name-wrap { display:inline-grid; align-items:center; flex:0 1 auto; min-width:8px; max-width:calc(100% - 74px); font-size:12px; font-weight:750; line-height:20px; }
.workspace-name-measure { grid-area:1/1; visibility:hidden; white-space:pre; pointer-events:none; overflow:hidden; }
#workspace-picker #workspace-title,#workspace-picker #workspace-title:hover,#workspace-picker #workspace-title:focus,#workspace-picker #workspace-title:focus-visible { grid-area:1/1; width:100%; min-width:0; height:20px; padding:0; margin:0; border:0; border-radius:0; background:transparent; color:var(--text); font:inherit; line-height:20px; text-overflow:ellipsis; cursor:text; outline:none; box-shadow:none; opacity:1; }
#workspace-picker > .workspace-status-dot { margin-left:auto; }
.workspace-chevron { display:grid; place-items:center; flex-shrink:0; width:16px; height:24px; }
.workspace-chevron .icon { width:12px; height:12px; }

.instance-hub { max-width:1160px; margin:0 auto; border:1px solid #4b435f; border-radius:20px; background:radial-gradient(ellipse at 50% 42%,#6140871e,transparent 55%),linear-gradient(125deg,#202232,#191d2a); box-shadow:inset 0 1px #ffffff07; overflow:hidden; }
.hub-heading { display:flex; align-items:center; gap:14px; padding:24px 28px; border-bottom:1px solid #ffffff0a; }
.hub-brand { display:grid; place-items:center; flex:0 0 40px; height:40px; border:1px solid #a495ff2b; border-radius:13px; color:#c4b0ea; background:#a495ff09; }
.hub-brand .icon { width:21px; height:21px; }
.hub-heading > div { min-width:0; }
.hub-eyebrow { font-size:9px; letter-spacing:1.5px; color:#aaa0bc; font-weight:800; }
.hub-heading h2 { margin:5px 0 0; font-size:21px; line-height:1.3; overflow-wrap:anywhere; }
.hub-status { margin-left:auto; display:flex; gap:8px; align-items:center; font-size:11px; color:var(--muted); }
.hub-status i { width:6px; height:6px; background:#697184; border-radius:50%; flex-shrink:0; }
.hub-status.online i { background:var(--green); box-shadow:0 0 10px #64d9bd33; }
.hub-network { display:grid; grid-template-columns:minmax(0,1fr) 300px minmax(0,1fr); align-items:center; position:relative; gap:24px; padding:44px 28px 46px; min-height:368px; }
.hub-wires { position:absolute; inset:18px 0; width:100%; height:calc(100% - 36px); pointer-events:none; z-index:0; overflow:visible; }
.hub-wires path { fill:none; stroke:#a28acb36; stroke-width:1; }
.hub-wires circle { fill:#b2a1cf; stroke:#a28acb13; stroke-width:7; }
.hub-core { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:280px; z-index:1; }
.hub-ring { position:absolute; width:278px; height:278px; border:1px solid #b89ae42a; border-radius:50%; top:calc(50% - 145px); pointer-events:none; z-index:-1; }
.hub-ring.ring-inner { width:250px; height:250px; top:calc(50% - 131px); border-color:#b89ae418; border-style:dashed; }
.hub-core .qr-slot { width:218px; height:218px; padding:10px; border-radius:15px; background:#fff; box-shadow:0 12px 50px #00000022,0 0 0 8px #b29bdb05; }
.hub-core .connection-qr { display:block; width:100%; height:100%; object-fit:contain; border:0; margin:0; border-radius:0; }
.hub-core-caption { margin-top:22px; font-size:11px; color:#b7acc9; }
.hub-satellite { position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; text-align:center; gap:16px; min-width:0; }
.hub-satellite-icon { display:grid; place-items:center; width:40px; height:40px; border:1px solid #a495ff28; border-radius:50%; background:#252539; color:#baa5dd; box-shadow:0 0 0 6px #a495ff04; }
.hub-satellite-icon .icon { width:18px; height:18px; }
.hub-satellite h3 { margin:0; font-size:14px; }
.hub-connection .channel-actions { flex-direction:column; margin:0; gap:10px; width:100%; }
.hub-connection .channel-actions button { max-width:100%; justify-content:center; }
.hub-automation .channel-entry { padding:0; margin:0; border:0; width:100%; max-width:260px; }
.hub-automation .channel-entry > .field { color:var(--text); font-size:14px; margin-bottom:16px; display:block; }
.hub-automation .channel-entry-controls { flex-direction:column; align-items:stretch; gap:12px; }
.hub-automation .channel-entry-controls #entry-flow { width:100%; flex:none; }
.hub-automation .channel-entry-controls button { align-self:center; }
.hub-proxy { border-top:1px solid #ffffff0a; background:#11172226; }
.hub-proxy .channel-proxy { width:100%; max-width:none; padding:0; border:0; border-radius:0; background:transparent; margin:0; }
.hub-proxy .channel-proxy > summary { padding:20px 28px; min-height:64px; margin:0; }
.hub-proxy .channel-proxy > summary .instance-proxy-summary { margin-left:auto; }
.hub-proxy .channel-proxy > .form-fields { max-width:800px; margin:0 auto; padding:4px 28px 28px; gap:22px; }

.preferences-unified { display:block; }
.preferences-surface { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); border:1px solid #464259; border-radius:18px; overflow:hidden; background:linear-gradient(130deg,#212332,#191e29); }
.preferences-surface .preferences-intro { border:0; border-bottom:1px solid #ffffff0b; border-radius:0; padding:24px 28px; background:linear-gradient(110deg,#a495ff06,transparent); }
.preferences-surface .preferences-panel { border:0; border-radius:0; box-shadow:none; background:transparent; }
.preferences-surface .preferences-panel::before { display:none; }
.preferences-surface .preferences-ai { border-right:1px solid #ffffff0b; }
.preferences-surface .preferences-link { background:radial-gradient(ellipse at 100% 0,#64d9bd06,transparent 60%); }
.agents-page .agent-surface { border:1px solid #47415b; border-radius:17px; background:#1a1e2b; overflow:hidden; }
.agents-page .agent-surface .agent-identity { border:0; border-bottom:1px solid #ffffff0a; border-radius:0; margin:0; padding:24px; background:linear-gradient(110deg,#a495ff08,transparent); }
.agents-page .agent-surface .agent-columns { gap:0; }
.agents-page .agent-surface .form-panel { border:0; border-radius:0; box-shadow:none; background:transparent; }
.agents-page .agent-surface .agent-options { border-left:1px solid #ffffff0b; }
.agents-page .agent-surface .agent-instructions > h2 { border-bottom:0; padding-bottom:0; }
.agents-page .agent-surface .agent-standby { border:0; border-radius:0; }
@media(max-width:1200px) { .agents-page .agent-surface .agent-options { border-left:0; border-top:1px solid #ffffff0b; } .hub-network { grid-template-columns:minmax(0,1fr) 260px minmax(0,1fr); gap:18px; padding:36px 22px; } .hub-heading { padding:22px; } }
@media(max-width:1100px) { .preferences-surface { grid-template-columns:minmax(0,1fr); } .preferences-surface .preferences-ai { border-right:0; border-bottom:1px solid #ffffff0b; } }
@media(max-width:950px) { .hub-network { grid-template-columns:repeat(2,minmax(0,1fr)); padding:28px; row-gap:28px; } .hub-network .hub-core { grid-column:1/-1; grid-row:1; } .hub-wires { display:none; } .hub-connection,.hub-automation { align-self:start; } }
@media(max-width:650px) { .hub-network { grid-template-columns:minmax(0,1fr); } .hub-status { font-size:10px; } .hub-heading { gap:10px; padding:18px; } }
.workspace-chevron .icon { transform:rotate(90deg); }
.workspace-switcher[open] .workspace-chevron .icon { transform:rotate(270deg); }
.instance-hub { display:grid; grid-template-columns:minmax(0,1fr) auto; }
.instance-hub .hub-heading { grid-column:1; grid-row:1; border:0; min-width:0; flex-wrap:wrap; padding-block:20px; }
.instance-hub .hub-network { grid-column:1/-1; grid-row:3; min-height:300px; padding:26px 28px 28px; border-top:1px solid #ffffff0a; }
.instance-hub .hub-proxy,.instance-hub .hub-proxy > details { display:contents; }
.instance-hub .hub-proxy .channel-proxy > summary { grid-column:2; grid-row:1; align-self:center; justify-self:end; width:auto; min-height:36px; padding:9px 12px; margin:0 24px 0 0; border:1px solid #a495ff24; border-radius:9px; background:#a495ff06; gap:8px; font-size:11px; }
.instance-hub .hub-proxy .instance-proxy-summary { font-size:10px; }
.instance-hub .hub-proxy .channel-proxy > .form-fields { grid-column:1/-1; grid-row:2; width:100%; max-width:800px; justify-self:center; padding:16px 28px 24px; margin:0; }
.instance-hub .hub-proxy details:not([open]) > .form-fields { display:none; }
.instance-hub .hub-proxy details[open] > .form-fields { display:flex; }
.instance-hub .hub-core { min-height:256px; }
.instance-hub .hub-core .qr-slot { width:206px; height:206px; }
.instance-hub .hub-ring { width:264px; height:264px; top:calc(50% - 138px); }
.instance-hub .hub-ring.ring-inner { width:236px; height:236px; top:calc(50% - 124px); }
.instance-hub .hub-satellite { gap:12px; }
.instance-hub .hub-core-caption { margin-top:18px; }

.agents-page .agent-surface .agent-options { border-left:0; border-top:1px solid #ffffff0a; }
.agent-form .agent-instructions { padding:24px; }
.agent-basics { display:grid; grid-template-columns:minmax(0,1fr) 240px; gap:24px; margin-bottom:28px; align-items:start; }
.agent-basics > .field { margin:0; }
.agent-form .agent-instructions > h2 { margin:0 0 22px; }
.agent-form .agent-instructions .prompt-field:first-child { border-top:0; padding-top:0; }
.agent-receipt-section { border-bottom:1px solid #ffffff0a; }
.agent-receipt-section > summary { display:flex; align-items:center; gap:12px; padding:20px 24px; font-size:12px; font-weight:700; cursor:pointer; list-style:none; }
.agent-receipt-section > summary::-webkit-details-marker { display:none; }
.agent-receipt-section > summary > span { display:flex; align-items:center; gap:9px; }
.agent-receipt-section > summary .icon { width:15px; height:15px; color:#a694d4; }
.agent-receipt-section > summary small { margin-left:auto; font-size:10px; font-weight:500; color:var(--muted); }
.agent-receipt-section > summary::after { content:""; width:6px; height:6px; border-right:1px solid var(--muted); border-bottom:1px solid var(--muted); transform:rotate(45deg); margin-left:8px; }
.agent-receipt-section[open] > summary::after { transform:rotate(225deg); }
.agent-receipt-section .receipt-options { padding:0 24px 24px; }
.agent-receipt-section .receipt-options > .row { justify-content:flex-end; }
.agent-receipt-section .form-fields { margin-top:20px; }
.agent-form .agent-options > .agent-options-technical { padding:0 24px; border-bottom:1px solid #ffffff0a; }
.agent-form .agent-options-technical > summary { padding:20px 0; }
.agent-form .agent-options-technical > .form-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.agent-form .agent-options-technical .field { margin:0; }
.agent-form .agent-options-footer { padding:20px 24px; display:flex; flex-wrap:wrap; align-items:center; gap:16px; }
.agent-form .agent-options-footer .publish-agent-note { margin:0; flex:1; min-width:200px; }

.preferences-surface { align-items:start; }
.preferences-models { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.preferences-surface .preferences-heading { margin-bottom:18px; }
.preferences-surface .preferences-capabilities { margin-bottom:22px; }
.preferences-surface .preferences-panel { padding:26px 28px; }
.preferences-surface .preferences-link { border-left:1px solid #ffffff0b; }
.preferences-surface .preferences-ai { border-right:0; }
@media(max-width:1100px) { .preferences-surface .preferences-link { border-left:0; } }
@media(max-width:950px) { .instance-hub .hub-network { row-gap:20px; padding:20px 22px 26px; } .instance-hub .hub-heading { padding:18px; gap:10px; } .instance-hub .hub-status { font-size:10px; } .instance-hub .hub-proxy .channel-proxy > summary { margin-right:18px; } }
@media(max-width:750px) { .agent-basics { grid-template-columns:minmax(0,1fr); gap:20px; } .preferences-models { grid-template-columns:minmax(0,1fr); gap:0; } .agent-form .agent-options-technical > .form-fields { grid-template-columns:minmax(0,1fr); } }
.preferences-models > .field { margin-top:0; }
.instance-hub { max-width:1000px; width:100%; border-radius:16px; }
.instance-hub .hub-network { grid-template-columns:minmax(0,1fr) 280px minmax(0,1fr); min-height:420px; padding:54px 32px; gap:32px; }
.instance-hub .hub-wires { inset:0; width:100%; height:100%; }
.instance-hub .hub-satellite { gap:22px; }
.instance-hub .hub-connection .channel-actions { gap:15px; }
.instance-hub .hub-automation .channel-entry > .field { margin-bottom:22px; }
.instance-hub .hub-automation .channel-entry-controls { gap:18px; }
.instance-hub .hub-core .qr-slot { width:218px; height:218px; }
.instance-hub .hub-proxy .channel-proxy > summary { border-radius:8px; padding:10px 12px; }
.instance-hub .hub-proxy details[open] > .form-fields { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); width:100%; max-width:none; padding:24px 28px; gap:22px; border-top:1px solid #ffffff0b; background:#11152144; }
.instance-hub .hub-proxy .channel-proxy-grid,.instance-hub .hub-proxy .two-fields { display:contents; }
.instance-hub .hub-proxy .field { margin:0; }
.instance-hub .hub-proxy .proxy-server { grid-column:span 3; }
.instance-hub .hub-proxy .channel-proxy-grid > .field:nth-child(2) { grid-column:span 1; }
.instance-hub .hub-proxy .channel-proxy-grid > .field:nth-child(3) { grid-column:span 2; }
.instance-hub .hub-proxy .two-fields > .field { grid-column:span 3; }
.instance-hub .hub-proxy .form-fields > .check,.instance-hub .hub-proxy .form-fields > .row { grid-column:1/-1; }
.instance-hub .hub-proxy .form-fields > .row { justify-content:flex-end; }

.agents-page .agent-editing.agent-surface { border:0; border-radius:0; background:transparent; overflow:visible; }
.agents-page .agent-surface .agent-identity { border:1px solid #47415b; border-radius:14px; margin-bottom:22px; padding:20px 24px; background:linear-gradient(110deg,#282437,#1c202d); }
.agent-form { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:22px; align-items:start; }
.agent-form > .agent-instructions,.agents-page .agent-form > .agent-options { border:1px solid #39384e; border-radius:14px; background:#1a1e2b; min-width:0; }
.agent-form .agent-basics { grid-template-columns:minmax(0,1fr); }
.agent-form .agent-options-technical > .form-fields { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
.agent-form .agent-options-technical > .form-fields > .field { margin:0; }
.agent-form .agent-options-footer { display:block; }
.agent-form .agent-options-footer .publish-agent-note { margin-bottom:18px; }
.agent-form .agent-options-footer > .row { gap:12px; }
.agent-form .agent-options .two-fields { gap:14px; }
.preferences-surface { border-radius:14px; }
.preferences-surface .preferences-panel { padding:28px; }
@media(max-width:1300px) { .agent-form { grid-template-columns:minmax(0,1fr); } }
@media(max-width:1100px) { .instance-hub .hub-network { grid-template-columns:minmax(0,1fr) 240px minmax(0,1fr); gap:24px; padding:44px 24px; } }
@media(max-width:950px) { .instance-hub .hub-network { grid-template-columns:repeat(2,minmax(0,1fr)); padding:30px 24px; row-gap:34px; } }
@media(max-width:800px) { .instance-hub .hub-proxy details[open] > .form-fields { grid-template-columns:repeat(2,minmax(0,1fr)); } .instance-hub .hub-proxy .channel-proxy-grid > .field,.instance-hub .hub-proxy .two-fields > .field { grid-column:span 1; } .instance-hub .hub-proxy .channel-proxy-grid > .proxy-server { grid-column:1/-1; } }
@media(max-width:650px) { .instance-hub .hub-network { grid-template-columns:minmax(0,1fr); } }
.agents-page .agents-workbench { max-width:1200px; }
.agent-options-technical > .form-fields > .field { display:grid; grid-template-rows:minmax(34px,auto) 40px; align-content:start; }
.agent-options-technical > .form-fields > p { grid-column:1/-1; }
.agent-options-technical .field:has([data-agent="waitSeconds"]) { grid-column:1; }
.agent-options-technical .field:has([data-agent="summaryAfter"]) { grid-column:2; }
.instance-hub .hub-proxy details::details-content { display:contents; }
.agents-page .agents-workbench { max-width:1300px; }
.agents-page .agent-editing.agent-surface { border:1px solid #47415b; border-radius:17px; background:#1a1e2b; overflow:hidden; }
.agents-page .agent-editing.agent-surface .agent-identity { border:0; border-bottom:1px solid #ffffff0a; border-radius:0; margin:0; padding:24px; background:linear-gradient(110deg,#a495ff08,transparent); }
.agents-page .agent-form { display:block; }
.agents-page .agent-form > .agent-instructions,.agents-page .agent-form > .agent-options { border:0; border-radius:0; background:transparent; }
.agents-page .agent-form > .agent-options { border-top:1px solid #ffffff0a; }
.agents-page .agent-form .agent-options-footer { display:flex; flex-wrap:wrap; align-items:center; gap:16px; }
.agents-page .agent-form .agent-options-footer .publish-agent-note { margin:0; }

.preferences-page.preferences-unified { max-width:940px; }
.preferences-page .preferences-models { grid-template-columns:minmax(0,1fr); gap:0; }

.instance-hub .hub-proxy details[open] > .form-fields { grid-template-columns:minmax(150px,1.7fr) 80px 110px minmax(110px,1fr) minmax(110px,1fr); gap:16px; padding:18px 24px; }
.instance-hub .hub-proxy .channel-proxy-grid > .field,.instance-hub .hub-proxy .two-fields > .field { grid-column:auto; }
.instance-hub .hub-proxy .proxy-controls { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:18px; }
.instance-hub .hub-proxy .proxy-controls > .check { margin:0; font-size:12px; }
.instance-hub .hub-proxy .proxy-controls > button { min-height:34px; height:34px; padding:7px 12px; font-size:12px; }
.instance-hub .hub-proxy .field { gap:9px; }
@media(max-width:950px) {
  .instance-hub .hub-proxy details[open] > .form-fields { grid-template-columns:repeat(6,minmax(0,1fr)); }
  .instance-hub .hub-proxy .channel-proxy-grid > .proxy-server { grid-column:span 3; }
  .instance-hub .hub-proxy .channel-proxy-grid > .field:nth-child(2) { grid-column:span 1; }
  .instance-hub .hub-proxy .channel-proxy-grid > .field:nth-child(3) { grid-column:span 2; }
  .instance-hub .hub-proxy .two-fields > .field { grid-column:span 3; }
}
@media(max-width:700px) {
  .instance-hub .hub-proxy details[open] > .form-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .instance-hub .hub-proxy .channel-proxy-grid > .field,.instance-hub .hub-proxy .two-fields > .field { grid-column:span 1; }
  .instance-hub .hub-proxy .channel-proxy-grid > .proxy-server { grid-column:1/-1; }
}
@media(min-width:951px) {
  .instance-hub .hub-proxy .channel-proxy-grid > .field:nth-child(2),
  .instance-hub .hub-proxy .channel-proxy-grid > .field:nth-child(3) { grid-column:auto; }
}
.instance-hub .hub-proxy details[open] > .form-fields { padding:22px 32px; gap:14px; }
.instance-hub .hub-proxy .field { gap:8px; font-size:11px; }
.instance-hub .hub-proxy .field > input,.instance-hub .hub-proxy .field > select { height:36px; padding:8px 10px; font-size:12px; }
.instance-hub .hub-proxy .proxy-controls > button { height:32px; min-height:32px; padding:6px 11px; }
.instance-hub .hub-automation .channel-entry { max-width:210px; }
.preferences-page.preferences-unified { zoom:1.04; width:940px; max-width:calc(100% / 1.04); }
/* Approved agent studio styling, applied only to instance and preferences. */
.instance-hub,.preferences-surface { border:1px solid #484258; border-radius:17px; background:#1a1e2b; box-shadow:inset 0 1px #ffffff06; }
.instance-hub {
  background:linear-gradient(115deg,#292437,#1c202d) top/100% 112px no-repeat,#1a1e2b;
}
.instance-hub .hub-heading { padding:25px 28px; background:transparent; }
.instance-hub .hub-proxy .channel-proxy > summary { background:#232233; border-color:#484258; color:#bca9df; border-radius:10px; }
.instance-hub .hub-proxy .channel-proxy[open] > summary { border-color:#8c76bb; color:#d5c1f3; background:#30283f; }
.instance-hub .hub-brand { width:46px; flex-basis:46px; height:46px; border-radius:14px; border-color:#a495ff2c; color:#c3afe4; background:#a495ff0b; }
.instance-hub .hub-network { background:#1a1e2b; }
.instance-hub .hub-satellite-icon { border-radius:10px; color:#baa6df; background:#222333; border-color:#a495ff24; box-shadow:none; }
.instance-hub .hub-connection h3,.instance-hub .hub-automation .channel-entry > .field { font-size:13px; line-height:20px; font-weight:700; }
.instance-hub .hub-connection .channel-actions { gap:22px; }
.instance-hub .hub-connection .channel-actions > button { height:40px; min-height:40px; }
.instance-hub .hub-automation .channel-entry > .field { margin:0 0 22px; }
.instance-hub .hub-automation .channel-entry-controls { gap:22px; }
.instance-hub .hub-automation .channel-entry-controls > select,.instance-hub .hub-automation .channel-entry-controls > button { height:40px; min-height:40px; }
.instance-hub .hub-proxy details[open] > .form-fields { background:#1a1e2b; border-top-color:#ffffff0b; }
.preferences-surface { align-items:stretch; background:linear-gradient(115deg,#292437,#1c202d) top/100% 100px no-repeat,#1a1e2b; }
.preferences-surface .preferences-panel { padding:28px; background:transparent; }
.preferences-surface .preferences-heading { gap:16px; margin-bottom:22px; }
.preferences-surface .preferences-heading > .node-icon { width:46px; height:46px; border-radius:14px; border-color:#a495ff2c; color:#c3afe4; background:#a495ff0b; }
.preferences-surface .preferences-heading h2 { font-size:18px; font-weight:750; letter-spacing:0; }
.preferences-surface .preferences-capabilities { gap:16px; }
.preferences-surface .preferences-capabilities > span { border:0; padding:0; background:transparent; color:#aaa3ba; }
.preferences-surface .preferences-actions { border-color:#ffffff0b; background:transparent; }
.preferences-surface .preferences-link { border-left-color:#ffffff0b; }
.preferences-surface .preferences-panel { display:flex; flex-direction:column; }
.preferences-surface .preferences-actions { margin:12px -28px -28px; margin-top:auto; padding:20px 28px; background:#11172225; }
.preferences-surface { background:#1a1e2b; }
.preferences-surface .preferences-heading { margin:-28px -28px 22px; padding:28px; min-height:104px; background:linear-gradient(115deg,#292437,#1c202d); border-bottom:1px solid #ffffff08; }
