@charset "UTF-8";
.block_coachy {
  --brand-500: rgb(49, 110, 185);
  --brand-550: rgb(47, 106, 182);
  --brand-600: rgb(44, 103, 177);
  --brand-700: rgb(31, 76, 138);
  --brand-grad-from: rgb(61, 124, 203);
  --brand-grad-to: rgb(44, 103, 177);
  --brand-gradient: linear-gradient(180deg, var(--brand-grad-from) 0%, var(--brand-grad-to) 100%);
  --ink-900: rgb(35, 38, 43);
  --ink-700: rgb(79, 89, 103);
  --ink-600: rgb(31, 31, 31);
  --ink-400: rgb(180, 172, 188);
  --ink-300: rgb(153, 142, 164);
  --surface-0: rgb(255, 255, 255);
  --surface-50: rgb(250, 250, 251);
  --surface-100: rgb(241, 241, 241);
  --surface-200: rgb(238, 241, 245);
  --border-100: rgb(226, 228, 232);
  --border-200: rgb(213, 217, 223);
  --border-300: rgb(213, 215, 220);
  --border-400: rgb(209, 214, 222);
  --track: rgb(204, 204, 204);
  --fg-1: var(--ink-900);
  --fg-2: var(--ink-700);
  --fg-muted: var(--ink-400);
  --fg-on-brand: var(--surface-0);
  --bg-app: var(--surface-50);
  --bg-card: var(--surface-0);
  --bg-bubble-user: var(--surface-100);
  --bg-bubble-ai: var(--surface-0);
  --bg-icon-btn: var(--surface-200);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 22px;
  --space-6: 32px;
  --shadow-sm: 0 1px 2px rgba(35, 38, 43, 0.04);
  --shadow-md: 0 2px 8px rgba(35, 38, 43, 0.06);
  --shadow-lg: 0 8px 24px rgba(35, 38, 43, 0.08);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fs-h1: 18px;
  --fs-h2: 16px;
  --fs-body: 14px;
  --fs-button: 14px;
  --fs-meta: 13px;
  --fs-caption: 12px;
  --lh-tight: 1;
  --lh-snug: 1.3;
  --lh-body: 1.4;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --ease-standard: cubic-bezier(.2, 0, 0, 1);
  --dur-fast: 120ms;
  --dur-base: 180ms;
  --dur-slow: 280ms;
  --icon-btn-size: 32px;
  --control-height: 38px;
}

.block_coachy .card-title::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  margin-bottom: 4px;
  vertical-align: middle;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960'%3E%3Cpath d='M323-160q-11 0-20.5-5.5T288-181l-78-139h58l40 80h92v-40h-68l-40-80H188l-57-100q-2-5-3.5-10t-1.5-10q0-4 5-20l57-100h104l40-80h68v-40h-92l-40 80h-58l78-139q5-10 14.5-15.5T323-800h97q17 0 28.5 11.5T460-760v160h-60l-40 40h100v120h-88l-40-80h-92l-40 40h108l40 80h112v200q0 17-11.5 28.5T420-160h-97Zm237 0q-33 0-56.5-23.5T480-240q0-23 11-40.5t29-28.5v-342q-18-11-29-28.5T480-720q0-33 23.5-56.5T560-800q33 0 56.5 23.5T640-720q0 23-11 40.5T600-651v101l80-48q0-34 23.5-58t56.5-24q33 0 56.5 23.5T840-600q0 33-23.5 56.5T760-520q-11 0-20.5-2.5T721-530l-91 55 101 80q7-3 14-4t15-1q33 0 56.5 23.5T840-320q0 33-23.5 56.5T760-240q-37 0-60.5-28T681-332l-81-65v89q18 11 28.5 28.5T639-240q0 33-23 56.5T560-160Z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
}

.block_coachy {
  font-family: var(--font-sans);
  color: var(--fg-1);
}
.block_coachy .hidden {
  display: none !important;
}
.block_coachy .block-desktop {
  display: block;
}
.block_coachy .block-mobile {
  display: none;
}
@media (max-width: 902px) {
  .block_coachy .block-desktop {
    display: none;
  }
  .block_coachy .block-mobile {
    display: block;
  }
}
.block_coachy .block-desktop .button-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.block_coachy .block-desktop .button-group .open-modal-messages {
  flex: 1 1 100%;
}
.block_coachy .reset-hint {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--fs-caption);
  color: var(--ink-700);
  margin-top: var(--space-3);
}
.block_coachy .reset-hint img.icon, .block_coachy .reset-hint svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  filter: brightness(0);
  opacity: 0.55;
}
.block_coachy .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: var(--control-height);
  padding: 0 var(--space-4);
  min-width: 0;
  border-radius: var(--radius-md);
  font: var(--fw-medium) var(--fs-button)/1 var(--font-sans);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard), filter var(--dur-base) var(--ease-standard);
}
.block_coachy .btn.primary {
  background: var(--brand-gradient);
  color: var(--fg-on-brand);
  font-weight: var(--fw-bold);
  border-color: transparent;
}
.block_coachy .btn.primary:hover {
  filter: brightness(0.95);
}
.block_coachy .btn.secondary {
  background: var(--surface-0);
  color: var(--brand-600);
  border-color: var(--border-400);
}
.block_coachy .btn.secondary:hover {
  background: var(--surface-200);
}
.block_coachy .btn.tertiary {
  background: var(--surface-0);
  color: var(--ink-700);
  border-color: var(--border-400);
}
.block_coachy .btn.tertiary:hover {
  background: var(--surface-200);
}
.block_coachy .open-modal-messages,
.block_coachy .open-modal-messages-mobile {
  display: inline-flex;
  width: 100%;
  margin-top: var(--space-2);
}
.block_coachy .loading {
  display: flex;
  justify-content: center;
}
.block_coachy .loading.hidden {
  display: none;
}
.block_coachy .loading .lds-ellipsis,
.block_coachy .loading .lds-ellipsis div {
  box-sizing: border-box;
}
.block_coachy .loading .lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 20px;
}
.block_coachy .loading .lds-ellipsis div {
  position: absolute;
  top: 5px;
  width: 13.33333px;
  height: 13.33333px;
  border-radius: 50%;
  background: currentColor;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.block_coachy .loading .lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.block_coachy .loading .lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.block_coachy .loading .lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.block_coachy .loading .lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

.block_coachy.window {
  position: fixed;
  top: 100px;
  left: 100px;
  width: 480px;
  height: 640px;
  z-index: 2147483646;
  font-family: var(--font-sans);
  color: var(--fg-1);
  container-type: inline-size;
}

@container (max-width: 600px) {
  .usage {
    flex-wrap: wrap;
  }
  .usage .usage-label:first-child {
    flex: 1 1 100%;
  }
  .usage .usage-track {
    display: none;
  }
}
.block_coachy.window .chat-shell,
.block_coachy .chat-shell {
  background: var(--surface-50);
  border: 1px solid var(--border-300);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.block_coachy .chat-header {
  flex: 0 0 auto;
  height: 56px;
  background: var(--surface-50);
  border-bottom: 1px solid var(--border-100);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0 var(--space-4);
}
.block_coachy .chat-header .chat-header-logo img.icon,
.block_coachy .chat-header .chat-header-logo svg {
  width: 24px;
  height: 24px;
  margin: 0;
}
.block_coachy .chat-header .chat-header-title {
  font-size: var(--fs-h1);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink-900);
}
.block_coachy .chat-header .chat-header-actions {
  margin-left: auto;
  display: flex;
  gap: var(--space-2);
}
.block_coachy .chat-header .icon-chip {
  width: var(--icon-btn-size);
  height: var(--icon-btn-size);
  border-radius: var(--radius-pill);
  background: var(--surface-200);
  border: 1px solid var(--border-200);
  color: var(--ink-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background var(--dur-base) var(--ease-standard);
}
.block_coachy .chat-header .icon-chip:hover {
  background: var(--border-100);
}
.block_coachy .chat-header .icon-chip .normal,
.block_coachy .chat-header .icon-chip .embedded {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.block_coachy .chat-header .icon-chip .embedded {
  display: none;
}
.block_coachy .chat-header .icon-chip img.icon, .block_coachy .chat-header .icon-chip svg {
  width: 18px;
  height: 18px;
  margin: 0;
  filter: brightness(0);
  opacity: 0.7;
}

.block_coachy .chat-scroll {
  flex: 1 1 0;
  overflow-y: auto;
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  background: var(--surface-50);
}

.block_coachy .quota-reached .composer {
  opacity: 0.55;
}
.block_coachy .quota-reached .chat-text,
.block_coachy .quota-reached .ask-tutor,
.block_coachy .quota-reached .record {
  cursor: not-allowed;
}
.block_coachy .quota-reached .composer-chips,
.block_coachy .quota-reached .rag-pills-dropdown {
  pointer-events: none;
}
.block_coachy .quota-notice {
  justify-content: center;
}
.block_coachy .quota-notice .quota-notice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  max-width: 80%;
  padding: var(--space-4);
  border: 1px solid var(--border-400);
  border-radius: var(--radius-md);
  background: var(--bg-bubble-ai);
  color: var(--ink-900);
  font-size: var(--fs-meta);
}
.block_coachy .quota-notice .quota-notice-icon {
  display: inline-flex;
  line-height: 0;
}
.block_coachy .quota-notice .quota-notice-icon img.icon, .block_coachy .quota-notice .quota-notice-icon svg {
  width: 100% !important;
  height: 100% !important;
  max-width: 100px !important;
  max-height: 100px !important;
  margin: 0;
}
.block_coachy .quota-notice .quota-notice-title {
  margin: 0;
  font-weight: var(--fw-semibold);
}
.block_coachy .quota-notice .quota-notice-reset {
  margin: 0;
  color: var(--ink-700);
}

.block_coachy .bubble-row {
  display: flex;
  align-items: flex-start;
}
.block_coachy .bubble-row.bubble-row-user {
  justify-content: flex-end;
}
.block_coachy .bubble-row.bubble-row-user .bubble {
  max-width: 80%;
}
.block_coachy .bubble-row.bubble-row-ai .bubble {
  flex: 1 1 auto;
}

.block_coachy .bubble {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-400);
  padding: var(--space-3) var(--space-5) var(--space-5) var(--space-3);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-900);
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.block_coachy .bubble.bubble-ai {
  background: var(--bg-bubble-ai);
}
.block_coachy .bubble.bubble-user {
  background: var(--bg-bubble-user);
}
.block_coachy .bubble .bubble-body {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.block_coachy .bubble .bubble-body p {
  margin: 0 0 var(--space-2);
}
.block_coachy .bubble .bubble-body p:last-child {
  margin-bottom: 0;
}
.block_coachy .bubble .bubble-body * {
  color: inherit;
  max-width: 100%;
}
.block_coachy .bubble .bubble-body img, .block_coachy .bubble .bubble-body video, .block_coachy .bubble .bubble-body iframe {
  max-width: 100%;
  height: auto;
}
.block_coachy .bubble .bubble-body pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
}
.block_coachy .bubble .bubble-body code {
  word-break: break-word;
}
.block_coachy .bubble .bubble-body table {
  max-width: 100%;
  display: block;
  overflow-x: auto;
}
.block_coachy .bubble .bubble-image {
  max-width: 100%;
  width: 100px;
  height: 100px;
  margin-right: var(--space-1);
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.block_coachy .bubble .bubble-copy {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: var(--surface-200);
  border: 1px solid var(--border-200);
  color: var(--ink-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: background var(--dur-base) var(--ease-standard), transform var(--dur-fast) var(--ease-standard), opacity var(--dur-slow) var(--ease-standard);
}
.block_coachy .bubble .bubble-copy:hover {
  background: var(--border-200);
  transform: scale(1.05);
}
.block_coachy .bubble .bubble-copy.copied {
  background: var(--brand-600);
  border-color: var(--brand-700);
}
.block_coachy .bubble .bubble-copy img.icon, .block_coachy .bubble .bubble-copy svg {
  width: 16px;
  height: 16px;
  margin: 0;
  filter: brightness(0);
  opacity: 0.55;
}
.block_coachy .bubble .bubble-copy.copied img.icon, .block_coachy .bubble .bubble-copy.copied svg {
  filter: brightness(0) invert(1);
  opacity: 1;
}
@media (hover: hover) {
  .block_coachy .bubble .bubble-copy {
    opacity: 0;
    pointer-events: none;
  }
  .block_coachy .bubble:hover .bubble-copy,
  .block_coachy .bubble .bubble-copy:focus-visible {
    opacity: 1;
    pointer-events: auto;
  }
}
.block_coachy .bubble .chat-sources:has(.source-bubble) {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border-100);
}
.block_coachy .bubble .chat-sources:has(.source-bubble) .source-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--surface-200);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}
.block_coachy .bubble .chat-sources:has(.source-bubble) .source-bubble:hover {
  background: var(--border-200);
  transform: scale(1.05);
  text-decoration: none;
}
.block_coachy .bubble .chat-sources:has(.source-bubble) .source-bubble .source-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.block_coachy .bubble .chat-sources:has(.source-bubble) .source-bubble .source-letter {
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: var(--ink-700);
  line-height: 1;
  text-transform: uppercase;
}

.block_coachy .chat-bottom {
  flex: 0 0 auto;
  padding: var(--space-3) var(--space-5) var(--space-4);
  background: var(--surface-50);
  border-top: 1px solid var(--border-100);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.block_coachy .chat-bottom .composer {
  background: var(--surface-0);
  border: 1px solid var(--border-400);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  transition: border-color var(--dur-base) var(--ease-standard);
}
.block_coachy .chat-bottom .composer:focus-within {
  border-color: var(--brand-500);
}
.block_coachy .chat-bottom .composer .chat-text {
  width: 100%;
  min-height: 64px;
  max-height: 200px;
  border: 0;
  outline: none;
  resize: none;
  font: var(--fw-regular) var(--fs-body)/var(--lh-body) var(--font-sans);
  color: var(--ink-900);
  background: transparent;
}
.block_coachy .chat-bottom .composer .chat-text::placeholder {
  color: var(--fg-muted);
}
.block_coachy .chat-bottom .composer .composer-pills-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px dashed var(--border-100);
}
.block_coachy .chat-bottom .composer .composer-pills-row .composer-chips {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  margin-bottom: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.block_coachy .chat-bottom .composer .composer-pills-row .rag-pills-dropdown {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  height: var(--control-height-sm, 28px);
  padding: 0 var(--space-3);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-pill);
  background: var(--surface-100);
  color: var(--ink-700);
  font: var(--fw-regular) var(--fs-caption)/1 var(--font-sans);
  cursor: pointer;
}
.block_coachy .chat-bottom .composer .composer-pills-row .rag-pills-dropdown.hidden {
  display: none;
}
.block_coachy .chat-bottom .composer .composer-pills-row .rag-pills-dropdown:focus {
  outline: none;
  border-color: var(--brand-600);
}
.block_coachy .chat-bottom .composer .composer-pills-row .composer-scope {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  padding-left: var(--space-3);
  border-left: 1px solid var(--border-100);
}
.block_coachy .chat-bottom .composer .composer-pills-row .composer-scope.hidden {
  display: none;
}
.block_coachy .chat-bottom .composer .composer-pills-row .scope-toggle {
  display: inline-flex;
  align-items: stretch;
  background: var(--surface-100);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-pill);
  padding: 0;
  overflow: hidden;
}
.block_coachy .chat-bottom .composer .composer-pills-row .scope-toggle .scope-side {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border: 0;
  background: transparent;
  color: var(--ink-700);
  cursor: pointer;
  font: var(--fw-regular) var(--fs-caption)/1 var(--font-sans);
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard);
}
.block_coachy .chat-bottom .composer .composer-pills-row .scope-toggle .scope-side img.icon, .block_coachy .chat-bottom .composer .composer-pills-row .scope-toggle .scope-side .fa, .block_coachy .chat-bottom .composer .composer-pills-row .scope-toggle .scope-side svg {
  width: 14px;
  height: 14px;
  margin: 0;
  filter: brightness(0);
  opacity: 0.7;
}
.block_coachy .chat-bottom .composer .composer-pills-row .scope-toggle .scope-side .scope-label {
  display: none;
}
.block_coachy .chat-bottom .composer .composer-pills-row .scope-toggle .scope-side.active {
  background: var(--brand-600);
  color: var(--fg-on-brand);
}
.block_coachy .chat-bottom .composer .composer-pills-row .scope-toggle .scope-side.active img.icon, .block_coachy .chat-bottom .composer .composer-pills-row .scope-toggle .scope-side.active .fa, .block_coachy .chat-bottom .composer .composer-pills-row .scope-toggle .scope-side.active svg {
  filter: brightness(0) invert(1);
  opacity: 1;
}
.block_coachy .chat-bottom .composer .composer-pills-row .scope-toggle .scope-side.active .scope-label {
  display: inline-block;
  min-width: 4.5em;
  text-align: center;
}
.block_coachy .chat-bottom .composer .composer-pills-row .scope-toggle .scope-side + .scope-side {
  border-left: 1px solid var(--border-200);
}
.block_coachy .chat-bottom .composer .composer-pills-row .scope-toggle .scope-side:disabled {
  cursor: not-allowed;
}
.block_coachy .chat-bottom .composer .composer-pills-row .scope-toggle .scope-side:disabled.active {
  background: var(--surface-100);
  color: var(--ink-400);
}
.block_coachy .chat-bottom .composer .composer-pills-row .scope-toggle .scope-side:disabled.active img.icon, .block_coachy .chat-bottom .composer .composer-pills-row .scope-toggle .scope-side:disabled.active .fa, .block_coachy .chat-bottom .composer .composer-pills-row .scope-toggle .scope-side:disabled.active svg {
  filter: brightness(0);
  opacity: 0.35;
}
.block_coachy .chat-bottom .composer > .composer-chips:not(.composer-pills-row > .composer-chips) {
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px dashed var(--border-100);
  margin-bottom: 0;
}
.block_coachy .chat-bottom .chat-controls {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.block_coachy .chat-bottom .usage {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-meta);
  color: var(--ink-700);
  line-height: 1;
  flex: 1 1 auto;
  min-width: 0;
}
.block_coachy .chat-bottom .usage .usage-label {
  white-space: nowrap;
}
.block_coachy .chat-bottom .usage .usage-value {
  font-weight: var(--fw-bold);
}
.block_coachy .chat-bottom .usage.is-low .usage-value, .block_coachy .chat-bottom .usage.is-low .max-usage {
  color: rgb(47, 158, 68);
}
.block_coachy .chat-bottom .usage.is-mid .usage-value, .block_coachy .chat-bottom .usage.is-mid .max-usage {
  color: rgb(217, 119, 6);
}
.block_coachy .chat-bottom .usage.is-high .usage-value, .block_coachy .chat-bottom .usage.is-high .max-usage {
  color: rgb(220, 38, 38);
}
.block_coachy .chat-bottom .usage .usage-track {
  flex: 1 1 auto;
  max-width: 200px;
  height: 4px;
  background: var(--track);
  border-radius: 2px;
  overflow: hidden;
  margin-left: var(--space-1);
}
.block_coachy .chat-bottom .usage .usage-fill {
  height: 100%;
  width: 0;
  background: var(--brand-500);
  border-radius: 2px;
  transition: width var(--dur-slow) var(--ease-standard), background var(--dur-base) var(--ease-standard);
}
.block_coachy .chat-bottom .usage .usage-fill.is-low {
  background: rgb(47, 158, 68);
}
.block_coachy .chat-bottom .usage .usage-fill.is-mid {
  background: rgb(217, 119, 6);
}
.block_coachy .chat-bottom .usage .usage-fill.is-high {
  background: rgb(220, 38, 38);
}
.block_coachy .chat-bottom .chat-actions {
  margin-left: auto;
  display: flex;
  gap: var(--space-2);
  flex: 0 0 auto;
}
.block_coachy .chat-bottom .chat-actions .btn {
  min-width: 80px;
}
.block_coachy .chat-bottom .chat-actions .record .pause {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.block_coachy .chat-bottom .chat-actions .record .pause .icon {
  margin-right: 0;
}
.block_coachy .chat-bottom .chat-actions .record.is-recording {
  background: #f59e0b;
  color: #fff;
  border-color: #d97706;
}
.block_coachy .chat-bottom .chat-actions .record.is-recording:hover {
  background: #d97706;
}
.block_coachy .chat-bottom .chat-actions .record.is-recording:focus, .block_coachy .chat-bottom .chat-actions .record.is-recording:focus-visible, .block_coachy .chat-bottom .chat-actions .record.is-recording:active {
  outline: none;
  border-color: #d97706;
  background: #d97706;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.35);
}
.block_coachy .chat-bottom .chat-actions .record .record-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  animation: coachy-record-pulse 1.4s ease-in-out infinite;
}

@keyframes coachy-record-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}
.block_coachy.window .resize {
  position: absolute;
  bottom: 4px;
  right: 4px;
  cursor: nwse-resize;
  padding: var(--space-1);
  color: var(--ink-700);
}
.block_coachy.window .resize img.icon, .block_coachy.window .resize svg {
  width: 16px;
  height: 16px;
  margin: 0;
  filter: brightness(0);
  opacity: 0.7;
}

.block_coachy .messages {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
}

.block_coachy .messages .empty-state,
.block_coachy .chat-scroll .empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 30px 20px;
  user-select: none;
  opacity: 0.45;
  text-align: center;
}
.block_coachy .messages .empty-state .empty-state-welcome,
.block_coachy .chat-scroll .empty-state .empty-state-welcome {
  font-size: var(--fs-body);
  margin-bottom: var(--space-3);
}
.block_coachy .messages .empty-state .empty-state-rotating,
.block_coachy .chat-scroll .empty-state .empty-state-rotating {
  position: relative;
  height: 1.5em;
  margin: 0;
}
.block_coachy .messages .empty-state .empty-state-rotating .empty-state-item,
.block_coachy .chat-scroll .empty-state .empty-state-rotating .empty-state-item {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-style: italic;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.block_coachy .messages .empty-state .empty-state-rotating .empty-state-item.active,
.block_coachy .chat-scroll .empty-state .empty-state-rotating .empty-state-item.active {
  opacity: 1;
}
.block_coachy .messages .empty-state .empty-state-rotating .empty-state-item::before,
.block_coachy .chat-scroll .empty-state .empty-state-rotating .empty-state-item::before {
  content: "“";
}
.block_coachy .messages .empty-state .empty-state-rotating .empty-state-item::after,
.block_coachy .chat-scroll .empty-state .empty-state-rotating .empty-state-item::after {
  content: "”";
}

.block_coachy .typing-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--surface-0);
  border: 1px solid var(--border-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.block_coachy .typing-indicator span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-400);
  animation: typing-bounce 1.4s ease-in-out infinite;
}
.block_coachy .typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}
.block_coachy .typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes typing-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@media (max-width: 902px) {
  .block_coachy.window.mobile-overlay {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    width: 100vw !important;
    max-width: 500px !important;
    height: 100vh !important;
    z-index: 99999;
  }
  .block_coachy.window.mobile-overlay .chat-shell {
    border-radius: 0;
    border-width: 0;
    box-shadow: none;
    height: 100%;
  }
  .block_coachy.window.mobile-overlay .resize, .block_coachy.window.mobile-overlay .icon-chip.move {
    display: none !important;
  }
  .block_coachy.window.mobile-overlay .chat-controls {
    flex-wrap: wrap;
    gap: var(--space-2);
  }
  .block_coachy.window.mobile-overlay .usage {
    flex: 1 1 100%;
  }
  .block_coachy.window.mobile-overlay .chat-actions {
    flex: 1 1 100%;
    flex-wrap: wrap;
    margin-left: 0;
  }
  .block_coachy.window.mobile-overlay .chat-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    height: 36px;
    padding: 0 var(--space-2);
    font-size: var(--fs-caption);
    gap: var(--space-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
.coachy-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 99998;
}
.coachy-backdrop.hidden {
  display: none;
}

@media (max-width: 768px) {
  .block_coachy .chat-header {
    height: 48px;
    padding: 0 var(--space-3);
  }
  .block_coachy .chat-header .chat-header-title {
    font-size: var(--fs-h2);
  }
  .block_coachy .chat-scroll {
    padding: var(--space-3) var(--space-3);
    gap: var(--space-3);
    min-height: 240px;
  }
}
.modal-dialog.coachy-modal {
  max-width: 900px;
}
.modal-dialog.coachy-modal:focus {
  box-shadow: unset;
}
.modal-dialog.coachy-modal .modal-content {
  background-color: #212121;
}
.modal-dialog.coachy-modal .close {
  color: #fff;
}
.modal-dialog.coachy-modal .close:focus {
  box-shadow: unset;
}
.modal-dialog.coachy-modal .modal-header {
  border-bottom: 0;
}

#theme_boost-drawers-blocks {
  z-index: 1050 !important;
}

.tooltip.coachy-tooltip {
  z-index: 2147483647;
}

/*# sourceMappingURL=styles.min.css.map */
