:root {
  --bg: #101211;
  --panel: #171a18;
  --panel-light: #1d211e;
  --border: #2b302c;
  --text: #f1f3ed;
  --muted: #939d94;
  --lime: #c6f282;
  --lime-dark: #202b17;
  --danger: #f3a49b;
  --font: Inter, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  color-scheme: dark;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.43;
}
button {
  color: inherit;
}
a {
  color: inherit;
}
button,
input {
  outline: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
button:focus:not(:focus-visible) {
  outline: none;
}
[hidden] {
  display: none !important;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon.small {
  width: 16px;
  height: 16px;
}
.icon.tiny {
  width: 14px;
  height: 14px;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 100;
  background: var(--lime);
  color: #14200e;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 224px;
  background: #131613;
  border-right: 1px solid var(--border);
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 34px 18px 21px;
  z-index: 10;
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -1.5px;
}
.brand-mark {
  height: 34px;
  width: 31px;
  color: var(--lime);
  font-size: 46px;
  line-height: 32px;
  transform: skewX(-8deg);
}
.brand-period {
  color: var(--lime);
}
.workspace-label {
  margin: 34px 0 27px;
  padding: 12px 10px;
  border: 1px solid #2c342b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
}
.workspace-label small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  margin-top: 5px;
}
.workspace-avatar {
  width: 29px;
  height: 30px;
  display: grid;
  place-items: center;
  background: #30372b;
  color: #d1d9c9;
  border-radius: 5px;
  font-size: 13px;
}
.workspace-chevron {
  margin-left: auto;
  color: #929b8b;
}
.nav-label {
  color: #899a7e;
  font-size: 10px;
  letter-spacing: 1.8px;
  padding-left: 12px;
  margin: 0 0 12px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 12px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  color: #a0aba0;
  font-size: 13px;
  text-align: left;
  margin-bottom: 5px;
  transition:
    background 0.15s,
    color 0.15s;
}
.nav-item:hover {
  background: #1f251e;
  color: #edf4e8;
}
.nav-item.selected {
  background: #263220;
  color: var(--lime);
}
.nav-item .icon {
  width: 18px;
  height: 18px;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
  color: #8b9c7d;
}
.sidebar-note {
  margin: auto 12px 38px;
  padding-top: 50px;
}
.mini-tag {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #7e9274;
}
.sidebar-note p {
  font-size: 19px;
  color: #a2b19a;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin: 14px 0 18px;
}
.note-line {
  display: block;
  height: 1px;
  width: 25px;
  background: #526345;
  margin-bottom: 17px;
}
.sidebar-note small {
  font-size: 11px;
  color: #8b9e7f;
}
.sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 10px 0;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: #bec9b6;
}
.sidebar-bottom small {
  display: block;
  color: #899a7e;
  font-size: 10px;
  margin-top: 5px;
}
.sidebar-dot {
  height: 7px;
  width: 7px;
  background: #788f66;
  border-radius: 50%;
}
.main-shell {
  margin-left: 224px;
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 78px;
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #121512;
}
.breadcrumb {
  font-size: 12px;
  color: #717e72;
  display: flex;
  gap: 15px;
  white-space: nowrap;
}
.breadcrumb strong {
  font-weight: 450;
  color: #c5cec0;
}
.breadcrumb > span {
  color: #465143;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.environment-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a6af9e;
  font-size: 11px;
}
.environment-tag > span {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #9aa580;
}
.workspace-connect {
  display: flex;
  gap: 9px;
  align-items: center;
  background: #1b201b;
  border: 1px solid #343c30;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 11px;
  color: #ced7c5;
}
.workspace-connect:hover {
  border-color: #778a63;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6a7467;
  flex-shrink: 0;
}
.status-dot.good {
  background: var(--lime);
  box-shadow: 0 0 9px #c6f22225;
}
.status-dot.bad {
  background: #e2a38b;
}
.status-dot.active {
  background: var(--lime);
  animation: blink 2s ease-in-out infinite;
}
.operator-avatar {
  display: grid;
  place-items: center;
  border: 1px solid #4b5840;
  background: linear-gradient(140deg, #435339, #253020);
  border-radius: 50%;
  height: 30px;
  width: 30px;
  color: #dee9d2;
  font-size: 12px;
}
main {
  max-width: 1540px;
  margin: auto;
  padding: 39px 40px 0;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 29px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.9px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #91a77b;
  margin: 0 0 14px;
}
.eyebrow-line {
  display: block;
  width: 16px;
  height: 1px;
  background: #a7c08c;
}
h1 {
  font-size: 39px;
  font-weight: 550;
  letter-spacing: -1.9px;
  line-height: 1.1;
  margin: 0 0 12px;
}
h1 > span {
  color: var(--lime);
}
.page-description {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 600;
  padding: 12px 16px;
  min-height: 41px;
  transition:
    background 0.18s,
    transform 0.18s,
    border-color 0.18s;
}
.button:not(:disabled):active {
  transform: translateY(1px);
}
.button-quiet {
  background: #1a1e1a;
  border-color: #353d31;
  color: #c5cebd;
}
.button-quiet:hover {
  background: #242b20;
  border-color: #60724e;
}
.button-quiet .icon {
  width: 15px;
  height: 15px;
}
.button-primary {
  background: var(--lime);
  color: #1a2712;
  box-shadow: 0 2px 8px #00000018;
}
.button-primary:hover {
  background: #d5ffa1;
}
.button-primary .icon {
  width: 17px;
  height: 17px;
}
.button .trailing {
  margin-left: auto;
}
.button-end {
  background: #352523;
  border-color: #61423c;
  color: #ffc1b8;
}
.button-end:hover {
  background: #4c2f2b;
}
.icon-button {
  height: 33px;
  width: 33px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: transparent;
  border: 1px solid #363e33;
  color: #9eac97;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #283124;
  color: #e2f2d4;
  border-color: #617452;
}
.icon-button .icon {
  height: 16px;
  width: 16px;
}
.studio-grid {
  display: grid;
  grid-template-columns: minmax(310px, 0.94fr) minmax(350px, 1.13fr);
  gap: 20px;
  align-items: stretch;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.call-card {
  padding: 22px 24px 16px;
  position: relative;
}
.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.section-label {
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 500;
  color: #91a088;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #343d30;
  border-radius: 20px;
  background: #20271c;
  padding: 5px 8px;
  font-size: 9px;
  color: #a9b99c;
}
.agent-stage {
  height: 212px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  margin: 0 -12px;
}
.stage-grid {
  position: absolute;
  inset: 10px 0 0;
  background-image:
    linear-gradient(#a5c68208 1px, transparent 1px),
    linear-gradient(90deg, #a5c68208 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  z-index: -2;
}
.orb-halo {
  width: 166px;
  height: 166px;
  position: absolute;
  border: 1px solid #93ac6c18;
  border-radius: 50%;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
}
.halo-two {
  width: 208px;
  height: 208px;
  top: -6px;
  border-color: #93ac6c0d;
}
.agent-orb {
  position: relative;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  margin-top: -19px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(
    circle at 32% 28%,
    #d5ef98 0,
    #a5cc69 22%,
    #6c953b 48%,
    #37511e 77%,
    #253c15 100%
  );
  box-shadow:
    inset 3px 5px 12px #edffb329,
    inset -7px -14px 20px #12230488,
    0 0 45px #a5d17317,
    0 10px 18px #00000029;
  transition:
    box-shadow 0.4s,
    transform 0.4s;
}
.agent-orb:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 110%,
    transparent 40%,
    #14310b22 75%
  );
  box-shadow: inset 0 0 2px #e4ffac;
}
.orb-grain {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.8' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.orb-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 1;
}
.orb-wave i {
  height: 12px;
  width: 3px;
  background: #e3ffb8;
  border-radius: 10px;
  box-shadow: 0 0 9px #efffc855;
  transform: scaleY(calc(0.8 + var(--level, 0)));
  transition: transform 0.12s;
}
.orb-wave i:nth-child(2),
.orb-wave i:nth-child(8) {
  height: 21px;
}
.orb-wave i:nth-child(3),
.orb-wave i:nth-child(7) {
  height: 31px;
}
.orb-wave i:nth-child(4),
.orb-wave i:nth-child(6) {
  height: 40px;
}
.orb-wave i:nth-child(5) {
  height: 49px;
}
.orb-caption {
  position: absolute;
  bottom: 12px;
  font-size: 8px;
  color: #849776;
  letter-spacing: 1.8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.orb-caption > span {
  width: 3px;
  height: 3px;
  background: #a8c382;
  border-radius: 50%;
}
.agent-stage[data-state="connecting"] .agent-orb {
  animation: breathe 2s ease-in-out infinite;
}
.agent-stage[data-state="speaking"] .agent-orb,
.agent-stage[data-state="listening"] .agent-orb {
  box-shadow:
    inset 3px 5px 12px #edffb329,
    inset -7px -14px 20px #12230488,
    0 0 65px #a5d17344,
    0 10px 18px #00000029;
  transform: scale(1.03);
}
.agent-stage[data-state="thinking"] .orb-wave i {
  animation: wave 1s ease-in-out infinite;
  animation-delay: calc(var(--i, 1) * 0.12s);
}
.agent-stage .orb-wave i:nth-child(2n) {
  --i: 2;
}
.agent-stage .orb-wave i:nth-child(3n) {
  --i: 3;
}
.agent-identity {
  text-align: center;
  margin: 0 0 20px;
}
.agent-identity h2 {
  font-size: 21px;
  letter-spacing: -0.6px;
  font-weight: 500;
  margin: 0 0 8px;
}
.agent-identity p {
  font-size: 11px;
  color: #96a18f;
  margin: 0;
  line-height: 1.5;
}
.call-status {
  padding: 12px 0;
  border-top: 1px solid #2b3427;
  border-bottom: 1px solid #2b3427;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #b4c2a7;
}
.timer {
  margin-left: auto;
  color: #b2c4a2;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.consent-label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 10px;
  color: #a1ad99;
  line-height: 1.7;
  margin: 16px 0;
}
.consent-label input {
  margin: 1px 0 0;
  width: 12px;
  height: 12px;
  accent-color: var(--lime);
  flex-shrink: 0;
}
.call-buttons {
  display: flex;
  gap: 9px;
}
.call-buttons > .button {
  flex: 1;
  padding: 13px 15px;
  font-size: 12px;
  height: 43px;
}
.mute-button {
  height: 43px;
  width: 43px;
  background: #20271c;
}
.mute-button[aria-pressed="true"] {
  background: #3c2b25;
  color: #f3be9b;
  border-color: #785641;
}
.call-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 13px;
}
.call-secondary > span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7e9173;
  font-size: 9px;
}
.call-secondary .icon {
  width: 11px;
  height: 11px;
}
.text-button {
  background: transparent;
  border: 0;
  padding: 3px 0;
  color: #b5c8a4;
  font-size: 11px;
  white-space: nowrap;
}
.text-button:hover {
  text-decoration: underline;
  color: var(--lime);
}
.text-button > span {
  margin-left: 8px;
}
.session-message {
  font-size: 12px;
  line-height: 1.6;
  border-left: 2px solid #c9a16c;
  color: #dcc9ab;
  background: #b8964e09;
  padding: 9px 10px;
  margin-top: 15px;
  overflow-wrap: anywhere;
}
.session-message.error {
  color: #f1b9ac;
  border-color: #e6a28b;
  background: #eb786a09;
}
#enable-audio {
  margin-top: 12px;
  width: 100%;
}
.transcript-card {
  display: flex;
  flex-direction: column;
  min-height: 517px;
  max-height: 600px;
}
.transcript-header {
  padding: 24px 24px 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.title-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.transcript-header h2 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.2px;
  margin: 0;
}
.transcript-header p {
  color: #85937e;
  font-size: 11px;
  margin: 7px 0 0;
}
.live-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--lime);
}
.live-tag > span {
  width: 4px;
  height: 4px;
  background: var(--lime);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
.transcript-tabs {
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 21px;
  border-bottom: 1px solid var(--border);
  height: 36px;
}
.transcript-tabs [role="tab"] {
  height: 100%;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 0 12px;
  color: #899681;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.transcript-tabs [aria-selected="true"] {
  color: #d0e0c0;
  border-bottom-color: var(--lime);
}
.transcript-tabs [role="tab"] > span {
  font-size: 9px;
  padding: 2px 4px;
  min-width: 14px;
  text-align: center;
  border-radius: 3px;
  background: #283122;
  color: #a8bc98;
}
.saved-label {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #8b9e7f;
}
.saved-label > .icon {
  height: 10px;
  width: 10px;
}
.conversation-scroll {
  flex: 1;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #394733 transparent;
  min-height: 300px;
}
.empty-state {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
  text-align: center;
}
.empty-icon {
  position: relative;
  width: 54px;
  height: 54px;
  border: 1px solid #35412e;
  display: grid;
  place-items: center;
  background: #20271c;
  border-radius: 14px;
  transform: rotate(-6deg);
  margin-bottom: 20px;
}
.empty-icon > .icon {
  height: 24px;
  width: 24px;
  color: #81966e;
  transform: rotate(6deg);
}
.empty-icon > span {
  position: absolute;
  bottom: -3px;
  right: -5px;
  height: 17px;
  width: 17px;
  border-radius: 50%;
  background: #333f28;
  border: 3px solid var(--panel);
}
.empty-state h3 {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.4px;
  color: #bccbb0;
  margin: 0 0 12px;
}
.empty-state p {
  font-size: 11px;
  line-height: 1.9;
  color: #7d8d73;
  margin: 0;
}
.empty-footnote {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #91a382;
  margin-top: 24px;
}
.empty-footnote > span {
  height: 4px;
  width: 4px;
  background: #91a382;
  border-radius: 50%;
}
.transcript-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  font-size: 9px;
  color: #7d8f70;
}
.transcript-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.transcript-footer > .status-dot {
  width: 4px;
  height: 4px;
}
#session-id {
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 0.8px;
}
.turn {
  display: flex;
  gap: 11px;
  padding: 18px 23px 0;
  animation: appear 0.25s ease-out;
}
.turn:last-child {
  padding-bottom: 23px;
}
.turn-avatar {
  height: 26px;
  width: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #303f24;
  color: var(--lime);
  font-size: 11px;
  flex-shrink: 0;
}
.turn.user .turn-avatar {
  background: #2c322e;
  color: #c4d1c2;
}
.turn-body {
  flex: 1;
  min-width: 0;
}
.turn-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 1px 0 7px;
}
.turn-name {
  font-size: 11px;
  font-weight: 600;
  color: #d0dfc5;
}
.turn time {
  font-size: 9px;
  color: #91a57f;
  margin-left: auto;
}
.turn p {
  margin: 0;
  color: #b2c2a7;
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.thinking-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 15px 24px 20px 60px;
  color: #889f79;
}
.thinking-indicator > span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #a1b78b;
  animation: blink 1.3s infinite;
}
.thinking-indicator > span:nth-child(2) {
  animation-delay: 0.2s;
}
.thinking-indicator > span:nth-child(3) {
  animation-delay: 0.4s;
}
.thinking-indicator > small {
  font-size: 10px;
  margin-left: 5px;
}
.activity-empty {
  padding: 45px 24px;
  color: #7d9171;
  font-size: 12px;
  text-align: center;
}
.event-list {
  list-style: none;
  margin: 0;
  padding: 10px 24px;
}
.event-item {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #2a3425;
}
.event-item > span {
  margin-top: 5px;
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #829d67;
  flex-shrink: 0;
}
.event-item strong {
  font-size: 11px;
  font-weight: 500;
  color: #c5d4b8;
}
.event-item time {
  font-size: 9px;
  color: #91a57f;
  display: block;
  margin-top: 5px;
}
.event-item p {
  font-size: 11px;
  color: #9caf90;
  line-height: 1.6;
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}
.below-studio {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.8fr);
  gap: 22px;
  margin-top: 22px;
  align-items: center;
}
.pipeline-card {
  padding: 20px 23px;
}
.pipeline-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.pipeline-heading h2 {
  font-size: 12px;
  font-weight: 450;
  color: #c7d5bd;
  margin: 0;
}
.subtle-tag {
  font-size: 8px;
  letter-spacing: 1px;
  color: #758a66;
}
.pipeline {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 22px;
  align-items: center;
}
.pipeline-step {
  display: flex;
  gap: 9px;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.pipeline-icon {
  height: 29px;
  width: 29px;
  display: grid;
  place-items: center;
  border: 1px solid #36442d;
  background: #222c1c;
  border-radius: 6px;
  color: #94b277;
  flex-shrink: 0;
}
.pipeline-icon > .icon {
  height: 14px;
  width: 14px;
}
.pipeline-step small {
  display: block;
  font-size: 8px;
  letter-spacing: 1px;
  color: #92a67e;
  margin-bottom: 5px;
}
.pipeline-step strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #c1d4b0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 105px;
}
.pipeline-step strong > span {
  display: block;
  color: #91a57f;
  font-size: 9px;
  font-weight: 400;
  margin-top: 4px;
}
.pipeline-step > .status-dot {
  margin-left: auto;
  width: 4px;
  height: 4px;
}
.pipeline-arrow {
  font-size: 12px;
  color: #8d9f7e;
}
.testing-note {
  display: flex;
  gap: 11px;
  padding: 5px 4px 5px 0;
}
.testing-note > .icon {
  color: #92a67e;
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.testing-note strong {
  font-size: 12px;
  color: #b2c5a2;
  font-weight: 450;
}
.testing-note p {
  font-size: 10px;
  line-height: 1.9;
  color: #768d66;
  margin: 6px 0 0;
  max-width: 245px;
}
.recent-section {
  margin-top: 31px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}
.section-heading h2 {
  font-size: 13px;
  font-weight: 450;
  color: #bfcdb5;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading h2 > span {
  font-size: 9px;
  color: #829a70;
}
.section-heading .text-button {
  font-size: 10px;
}
.history-container {
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
}
.history-placeholder {
  padding: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  color: #778a6a;
  font-size: 11px;
  text-align: center;
  line-height: 1.6;
}
.history-placeholder > .icon {
  height: 15px;
  width: 15px;
}
.history-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  background: #161b15;
  border-bottom: 1px solid var(--border);
  width: 100%;
  text-align: left;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}
.history-row:last-child {
  border-bottom: 0;
}
.history-row:hover {
  background: #20281b;
}
.history-row > .icon {
  width: 17px;
  height: 17px;
  color: #829e6d;
}
.history-row-main {
  flex: 1;
  min-width: 0;
}
.history-row-main strong {
  display: block;
  font-size: 12px;
  font-weight: 450;
  color: #c5d4b9;
}
.history-row-main small {
  display: block;
  font-size: 10px;
  color: #7f946f;
  margin-top: 5px;
}
.history-row time {
  font-size: 10px;
  color: #839a73;
  margin-left: auto;
  white-space: nowrap;
}
.history-row > .icon:last-child {
  height: 14px;
  width: 14px;
}
.session-state {
  padding: 4px 6px;
  border: 1px solid #394830;
  color: #a8be95;
  border-radius: 4px;
  font-size: 9px;
  white-space: nowrap;
}
.session-state.active {
  color: var(--lime);
  background: #26361a;
}
.session-state.opted_out {
  color: #e3b498;
  border-color: #614c36;
}
.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #85977b;
  font-size: 9px;
  border-top: 1px solid #252e21;
  margin-top: 30px;
  padding: 19px 0 24px;
}
.page-footer > span:last-child {
  font-size: 8px;
  letter-spacing: 1.1px;
}
.footer-slash {
  margin: 0 7px;
  color: #7c946b;
}
.history-card {
  padding: 20px;
}
.history-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.history-toolbar > span {
  font-size: 11px;
  color: #8a9f7c;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 220px;
  background: #11170f;
  border: 1px solid #36432d;
  border-radius: 6px;
  padding: 9px 10px;
  color: #7c956a;
}
.search-field > .icon {
  height: 14px;
  width: 14px;
}
.search-field input {
  background: transparent;
  border: 0;
  width: 100%;
  font-size: 12px;
  color: #d4e5c7;
  min-width: 0;
}
.search-field input::placeholder {
  color: #728767;
}
dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  background: #181e16;
  border: 1px solid #465339;
  border-radius: 15px;
  color: var(--text);
  padding: 26px 29px;
  box-shadow: 0 30px 100px #0009;
}
dialog::backdrop {
  background: #060c07ba;
  backdrop-filter: blur(7px);
}
.dialog-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dialog-topline > .icon-button {
  border: 0;
  height: 25px;
  width: 25px;
}
.dialog-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: var(--lime);
  background: #2a3a1f;
  border: 1px solid #41572f;
  border-radius: 12px;
  margin: 19px 0 20px;
}
.dialog-icon > .icon {
  width: 20px;
  height: 20px;
}
dialog h2 {
  font-size: 25px;
  font-weight: 450;
  letter-spacing: -1px;
  margin: 0 0 12px;
}
.dialog-description {
  font-size: 12px;
  line-height: 1.8;
  color: #9caf90;
  margin: 0 0 24px;
}
.field-label {
  font-size: 11px;
  color: #b6c8a7;
  display: block;
  margin-bottom: 9px;
}
.token-field {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #455537;
  background: #10170c;
  border-radius: 6px;
  padding: 12px;
  color: #8ca375;
}
.token-field:focus-within {
  border-color: var(--lime);
}
.token-field .icon {
  width: 15px;
  height: 15px;
}
.token-field input {
  background: transparent;
  border: 0;
  width: 100%;
  min-width: 0;
  color: #e0f0d1;
  font-size: 12px;
  outline: none;
}
.token-field input::placeholder {
  color: #899e7c;
}
.field-hint {
  font-size: 10px;
  line-height: 1.8;
  color: #869d73;
  margin: 10px 0 22px;
}
.field-hint code {
  font-size: 9px;
  color: #b2c5a0;
}
#connection-submit {
  width: 100%;
  justify-content: space-between;
}
.connection-message {
  font-size: 12px;
  line-height: 1.7;
  color: #a9c28f;
  margin-bottom: 0;
}
.connection-message.error {
  color: #f1b6a4;
}
.service-checks {
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}
.service-checks li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #303e26;
  padding: 9px 0;
  font-size: 11px;
  color: #a3ba92;
}
.service-checks .check-state {
  font-size: 10px;
  color: var(--lime);
}
.service-checks .check-state.bad {
  color: #eab295;
}
.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 9px;
  color: #91a57e;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #303e26;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: calc(50% + 100px);
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 13px 18px;
  background: #293b1d;
  border: 1px solid #6b8b4c;
  color: #def0cf;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
  box-shadow: 0 8px 30px #0005;
  z-index: 50;
}
.toast.error {
  background: #3d2720;
  border-color: #9f6856;
  color: #ffd1bc;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
@keyframes breathe {
  0%,
  100% {
    transform: scale(0.98);
  }
  50% {
    transform: scale(1.05);
  }
}
@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.55);
  }
  50% {
    transform: scaleY(1.25);
  }
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  main {
    padding-top: 48px;
  }
  .agent-stage {
    height: 247px;
  }
  .agent-orb {
    width: 134px;
    height: 134px;
  }
  .orb-halo {
    width: 190px;
    height: 190px;
    top: 22px;
  }
  .halo-two {
    width: 236px;
    height: 236px;
    top: -1px;
  }
  .transcript-card {
    min-height: 560px;
  }
  .empty-state {
    min-height: 357px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 195px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .main-shell {
    margin-left: 195px;
  }
  main {
    padding: 30px 25px 0;
  }
  .topbar {
    padding: 0 25px;
  }
  .studio-grid {
    grid-template-columns: minmax(280px, 0.94fr) minmax(300px, 1.06fr);
    gap: 15px;
  }
  .call-card {
    padding: 20px 19px 16px;
  }
  .below-studio {
    grid-template-columns: 1fr;
  }
  .testing-note {
    padding: 0 2px;
  }
  .testing-note p {
    max-width: none;
    margin-top: 4px;
  }
  .pipeline-step strong {
    max-width: 160px;
  }
  .saved-label {
    display: none;
  }
  .sidebar-note p {
    font-size: 17px;
  }
  .workspace-label {
    gap: 7px;
    font-size: 11px;
  }
}
@media (max-width: 960px) {
  .sidebar {
    width: 76px;
    align-items: center;
    padding: 25px 10px;
  }
  .brand {
    padding: 0;
    gap: 0;
  }
  .brand > span:nth-child(2),
  .workspace-label,
  .nav-label,
  .sidebar-note,
  .sidebar-bottom,
  .nav-count {
    display: none;
  }
  .sidebar nav {
    margin-top: 42px;
    width: 100%;
  }
  .nav-item {
    font-size: 0;
    padding: 15px;
    justify-content: center;
    gap: 0;
    width: 52px;
    margin-bottom: 9px;
  }
  .nav-item .icon {
    width: 20px;
    height: 20px;
  }
  .main-shell {
    margin-left: 76px;
  }
  .topbar {
    height: 65px;
  }
  .topbar-actions {
    gap: 12px;
  }
  .studio-grid {
    grid-template-columns: minmax(280px, 1fr) minmax(300px, 1fr);
  }
  main {
    padding: 28px 22px 0;
  }
  .breadcrumb {
    gap: 9px;
  }
  .environment-tag {
    display: none;
  }
  .agent-identity p {
    font-size: 10px;
  }
  .call-secondary {
    flex-wrap: wrap;
  }
  .pipeline-card {
    padding: 20px;
  }
  .transcript-header {
    padding: 22px 18px;
  }
  .transcript-tabs {
    padding: 0 18px;
  }
  .turn {
    padding-left: 18px;
    padding-right: 18px;
  }
  .empty-state p br {
    display: none;
  }
  .empty-state {
    padding: 20px 16px;
  }
  .page-description {
    font-size: 12px;
  }
  .page-heading > .button {
    font-size: 11px;
    padding: 10px;
  }
  .transcript-footer {
    padding: 14px 17px;
  }
  .toast {
    left: calc(50% + 38px);
  }
}
@media (max-width: 760px) {
  .studio-grid {
    grid-template-columns: 1fr;
  }
  .call-card {
    padding: 23px 25px 19px;
  }
  .agent-stage {
    height: 205px;
  }
  .agent-identity p {
    font-size: 12px;
  }
  .consent-label {
    font-size: 12px;
  }
  .call-status {
    font-size: 12px;
  }
  .call-secondary > span {
    font-size: 10px;
  }
  .transcript-card {
    min-height: 430px;
    max-height: 600px;
  }
  .empty-state {
    min-height: 280px;
  }
  .empty-state p {
    font-size: 12px;
  }
  .transcript-header h2 {
    font-size: 16px;
  }
  .transcript-header p {
    font-size: 12px;
  }
  .turn p {
    font-size: 13px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-description {
    max-width: 250px;
  }
  .page-heading > .button {
    min-width: 36px;
  }
  .page-heading > .button .icon {
    display: none;
  }
  .history-row time {
    display: none;
  }
  .history-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .history-toolbar > span {
    align-self: flex-end;
  }
  .history-card {
    padding: 14px;
  }
  .testing-note p {
    font-size: 11px;
  }
  .page-footer {
    font-size: 9px;
  }
  .history-placeholder {
    font-size: 12px;
  }
  .pipeline-step strong {
    max-width: 100px;
  }
}
@media (max-width: 480px) {
  .sidebar {
    width: 56px;
    padding-left: 5px;
    padding-right: 5px;
  }
  .nav-item {
    width: 42px;
    padding: 13px 9px;
  }
  .brand-mark {
    font-size: 37px;
    width: 27px;
  }
  .main-shell {
    margin-left: 56px;
  }
  .topbar {
    padding: 0 15px;
    height: 59px;
  }
  .breadcrumb {
    font-size: 11px;
    gap: 7px;
  }
  .breadcrumb > span,
  .breadcrumb {
    color: #7f9471;
  }
  .breadcrumb {
    font-size: 0;
  }
  .breadcrumb strong {
    font-size: 12px;
  }
  .topbar-actions {
    gap: 9px;
  }
  .workspace-connect {
    padding: 8px;
    font-size: 10px;
    gap: 5px;
  }
  .workspace-connect .icon {
    display: none;
  }
  .operator-avatar {
    height: 25px;
    width: 25px;
    font-size: 11px;
  }
  main {
    padding: 26px 15px 0;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
    gap: 5px;
  }
  .eyebrow-line {
    width: 10px;
  }
  h1 {
    font-size: 30px;
    letter-spacing: -1.5px;
  }
  .page-description {
    font-size: 11px;
    max-width: none;
    line-height: 1.7;
  }
  .page-heading {
    display: block;
    margin-bottom: 21px;
  }
  .page-heading > .button {
    margin-top: 17px;
    min-height: 30px;
    font-size: 10px;
    padding: 8px 10px;
  }
  .page-heading > .button .icon {
    display: block;
    width: 12px;
    height: 12px;
  }
  .call-card {
    padding: 18px 15px 16px;
  }
  .agent-stage {
    height: 195px;
  }
  .agent-identity h2 {
    font-size: 21px;
  }
  .agent-identity p {
    font-size: 11px;
  }
  .consent-label {
    font-size: 11px;
  }
  .call-buttons > .button {
    font-size: 11px;
    padding: 12px;
  }
  .card-topline > .section-label {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .call-secondary > span {
    font-size: 9px;
  }
  .text-button {
    font-size: 10px;
  }
  .transcript-header {
    padding: 20px 16px;
  }
  .transcript-tabs {
    padding: 0 16px;
  }
  .transcript-header h2 {
    font-size: 14px;
  }
  .empty-state h3 {
    font-size: 20px;
  }
  .empty-state p {
    font-size: 11px;
  }
  .below-studio {
    margin-top: 15px;
    gap: 17px;
  }
  .pipeline-card {
    padding: 17px 14px;
  }
  .pipeline-heading {
    gap: 6px;
  }
  .pipeline-heading h2 {
    font-size: 11px;
  }
  .subtle-tag {
    font-size: 8px;
    letter-spacing: 0.6px;
  }
  .pipeline {
    gap: 5px;
    margin-top: 19px;
  }
  .pipeline-step {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    gap: 8px;
  }
  .pipeline-step > .status-dot {
    position: absolute;
    top: 12px;
    right: 8px;
  }
  .pipeline-step strong {
    font-size: 11px;
    max-width: 70px;
  }
  .pipeline-step strong > span {
    font-size: 8px;
  }
  .pipeline-step small {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .pipeline-arrow {
    align-self: center;
    margin-top: -25px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 7px;
  }
  .section-heading h2 {
    font-size: 12px;
  }
  .section-heading .text-button {
    font-size: 9px;
  }
  .history-placeholder {
    padding: 20px 13px;
    font-size: 11px;
    align-items: flex-start;
  }
  .history-row {
    padding: 13px 10px;
    gap: 8px;
  }
  .history-row-main strong {
    font-size: 11px;
  }
  .history-row-main small {
    font-size: 9px;
  }
  .history-row > .icon:first-child {
    display: none;
  }
  .session-state {
    font-size: 8px;
  }
  .page-footer {
    display: block;
    line-height: 2.3;
  }
  .page-footer > span {
    display: block;
  }
  .toast {
    left: calc(50% + 24px);
    font-size: 11px;
    width: calc(100% - 85px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
#workspace-disconnect {
  display: block;
  margin: 18px auto 0;
  color: #b1c79d;
}
