/* studio.css */
.modal.wide:has(.studio) {
  width: min(1120px, calc(100vw - 48px));
  max-width: 1120px;
}
.studio {
  color: #21314a;
  font-size: 16px;
}
.studio button,
.studio input,
.studio select,
.studio textarea {
  font-family: inherit;
}
.studio p {
  line-height: 1.8;
}
.studio h2 {
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: -.5px;
}
.studio h3 {
  font-size: 21px;
  line-height: 1.45;
  margin: 0 0 10px;
}
.studio small {
  font-size: 12px;
  line-height: 1.65;
  color: #74839b;
}
.studio .btn {
  font-size: 15px;
}
.studio .tabs {
  margin-bottom: 24px;
}
.studio textarea,
.studio input:not([type=checkbox]):not([type=file]),
.studio select {
  border: 1px solid #d5deeb;
  border-radius: 9px;
  background: #fff;
  color: #253550;
  padding: 12px 13px;
  font-size: 15px;
  max-width: 100%;
  box-sizing: border-box;
}
.studio textarea {
  resize: vertical;
  line-height: 1.8;
  min-height: 80px;
}
.studio select {
  font-size: 13px;
  padding: 9px;
}
.studio input:focus,
.studio textarea:focus {
  outline: 2px solid #a2c3ff;
  outline-offset: 2px;
}
.ss-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
}
.ss-intro > div {
  flex: 1;
}
.ss-intro h3 {
  font-size: 25px;
  margin: 0;
}
.ss-intro p {
  margin: 6px 0 0;
  color: #74839b;
  font-size: 14px;
}
.ss-round-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #ebf2ff;
  color: #1664ff;
  border-radius: 15px;
}
.ss-round-icon.teal {
  background: #eaf7f1;
  color: #37826a;
}
.ss-intake-grid,
.ss-result-grid,
.ss-style-grid,
.ss-outline-grid,
.ss-write-grid,
.ss-memory-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
}
.ss-media-input {
  border: 1px dashed #abc3e7;
  background: #f8fbff;
  border-radius: 16px;
  overflow: hidden;
  padding: 18px;
  text-align: center;
}
.ss-upload-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 195px;
  color: #5480c5;
}
.ss-upload-empty h3 {
  color: #344c70;
  margin: 16px 0 0;
  font-size: 19px;
}
.ss-upload-empty p {
  font-size: 13px;
  margin: 6px 0;
}
.ss-upload-preview {
  height: 225px;
  border-radius: 10px;
  overflow: hidden;
  background: #17283d;
  display: grid;
  place-items: center;
}
.ss-upload-preview img,
.ss-upload-preview video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ss-upload-preview audio {
  max-width: 95%;
}
.ss-media-input > p {
  font-size: 13px;
  overflow-wrap: anywhere;
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
}
.ss-file-button {
  margin: 18px auto 0;
  border: 1px solid #bed1ee;
  color: #2864b9;
  border-radius: 9px;
  padding: 9px 16px;
  display: block;
  width: fit-content;
  cursor: pointer;
  font-size: 14px;
}
.ss-file-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.ss-file-button:focus-within {
  outline: 2px solid #1664ff;
}
.ss-capture-guide {
  padding: 18px 4px;
}
.ss-capture-guide b {
  font-size: 15px;
}
.ss-capture-guide p {
  font-size: 14px;
  margin: 8px 0;
}
.ss-coach-note {
  padding: 26px;
  background: #f4f7fd;
  border: 1px solid #e6edf8;
  border-radius: 16px;
}
.ss-coach-note > .orb {
  margin-bottom: 22px;
}
.ss-coach-note h3 {
  font-size: 22px;
}
.ss-coach-note p {
  font-size: 15px;
  margin: 12px 0 22px;
}
.ss-coach-note > .btn {
  width: 100%;
  justify-content: center;
  margin: 10px 0;
}
.ss-coach-note > small {
  display: block;
  margin-top: 10px;
}
.ss-process {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
  margin: 24px 0;
  font-size: 13px;
  color: #3d679f;
}
.ss-process span {
  background: white;
  padding: 8px;
  border-radius: 7px;
}
.ss-process i {
  font-style: normal;
  color: #a3b3cc;
}
.ss-source {
  margin-top: 23px;
  color: #8290a5;
  font-size: 12px;
  border-top: 1px solid #e2eaf5;
  padding-top: 14px;
}
.ss-source summary {
  cursor: pointer;
}
.ss-source p {
  font-size: 12px;
  line-height: 1.8;
  margin: 9px 0;
}
.ss-loading {
  height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #f6f9fe;
  border-radius: 18px;
}
.ss-loading .orb {
  width: 60px;
  height: 60px;
  margin-bottom: 25px;
}
.ss-loading p {
  font-size: 14px;
  color: #8190a7;
}
.ss-scan-line {
  width: 75%;
  height: 3px;
  background:
    linear-gradient(
      90deg,
      transparent,
      #1664ff,
      transparent);
  position: absolute;
  top: 15%;
  animation: studio-scan 2s ease-in-out infinite;
}
.ss-analysis-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 20px;
  background: #f0f7ff;
  border-radius: 12px;
  margin-bottom: 22px;
}
.ss-analysis-banner > svg {
  color: #1664ff;
}
.ss-analysis-banner > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ss-analysis-banner b {
  font-size: 17px;
}
.ss-analysis-banner span:not(.tag) {
  font-size: 13px;
  color: #7588a3;
}
.ss-map {
  border: 1px solid #dde7f5;
  border-radius: 15px;
  background: #f9fbfe;
  padding: 16px;
}
.ss-map > svg {
  width: 100%;
  height: auto;
  display: block;
  margin: 12px 0;
}
.ss-map-buttons {
  display: flex;
  gap: 8px;
}
.ss-map-buttons button {
  border: 1px solid #dce6f5;
  background: #fff;
  border-radius: 9px;
  font-size: 12px;
  color: #7587a4;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px;
  flex: 1;
}
.ss-map-buttons button.active {
  border-color: #1664ff;
  color: #1664ff;
  background: #edf4ff;
}
.ss-map-buttons button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.ss-map-buttons small {
  font-size: 10px;
}
.ss-map > small {
  display: block;
  margin: 14px 3px 0;
}
.ss-shot-result > h3 {
  margin-top: 23px;
  font-size: 26px;
}
.ss-shot-result > p {
  color: #5c6e86;
  font-size: 15px;
}
.ss-shot-card {
  display: flex;
  gap: 13px;
  background: #f0f8f5;
  border-radius: 12px;
  padding: 18px;
  color: #3a7564;
  margin: 20px 0;
}
.ss-shot-card > svg {
  flex-shrink: 0;
}
.ss-shot-card p {
  font-size: 14px;
  margin: 8px 0 0;
}
.ss-warning {
  display: flex;
  gap: 9px;
  background: #fff8ea;
  border-radius: 10px;
  padding: 13px 16px;
  color: #947238;
  font-size: 13px;
  line-height: 1.8;
  margin: 14px 0;
}
.ss-warning > svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.ss-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #5f728d;
  margin: 20px 0;
  line-height: 1.7;
}
.ss-check input {
  accent-color: #1664ff;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
}
.ss-shot-result > .btn {
  width: 100%;
  justify-content: center;
}
.ss-error {
  color: #bd414a;
  font-size: 13px;
  line-height: 1.7;
}
.ss-fine {
  font-size: 12px !important;
  line-height: 1.8;
  color: #7f8ca2;
}
.ss-style-grid {
  grid-template-columns: 1fr 1.14fr;
}
.ss-style-input {
  border-right: 1px solid #e8edf6;
  padding-right: 26px;
}
.ss-self-question {
  padding: 8px 0 17px;
}
.ss-self-question h3 {
  margin-top: 20px;
}
.ss-self-question p {
  color: #8490a4;
  font-size: 14px;
}
.ss-style-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ss-style-options button {
  display: flex;
  gap: 13px;
  align-items: center;
  text-align: left;
  border: 1px solid #e0e7f2;
  border-radius: 12px;
  padding: 17px 15px;
  background: #fff;
  color: #7890b0;
}
.ss-style-options button.active {
  border-color: #88afea;
  background: #f1f6ff;
  color: #2363bd;
}
.ss-style-options button > span {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ss-style-options b {
  font-size: 16px;
  color: #334b6c;
}
.ss-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  margin: 22px 0;
  color: #5c6f89;
}
.ss-field > b {
  font-size: 17px;
  color: #293c59;
}
.ss-style-result {
  padding: 8px 2px 0;
}
.ss-style-result h2 {
  margin: 10px 0;
}
.ss-strength {
  display: flex;
  gap: 11px;
  margin: 22px 0;
  padding: 17px;
  background: #edf8f3;
  border-radius: 11px;
  color: #387b65;
}
.ss-strength p {
  margin: 7px 0 0;
  font-size: 14px;
}
.ss-onechange {
  padding: 0 17px;
  color: #5a6d87;
}
.ss-onechange p {
  margin: 7px 0;
  font-size: 14px;
}
.ss-onechange b {
  font-size: 13px;
}
.ss-case {
  border: 1px solid #e0e8f5;
  border-radius: 12px;
  padding: 17px;
  margin-top: 20px;
}
.ss-case h4 {
  font-size: 16px;
  line-height: 1.6;
  margin: 14px 0 6px;
}
.ss-case p {
  font-size: 13px;
  color: #798aa1;
  margin: 4px 0;
}
.ss-case .text-btn {
  font-size: 12px;
}
.ss-example {
  border-top: 1px dashed #e1e8f5;
  padding-top: 15px;
  margin-top: 15px;
}
.ss-example > b {
  font-size: 13px;
  color: #3b618f;
}
.ss-example > small {
  display: block;
  font-size: 11px;
}
.ss-author-steps {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid #e5ebf5;
  padding: 0 0 22px;
  margin: 0 0 26px;
  flex-wrap: wrap;
}
.ss-author-steps > span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #8a99af;
}
.ss-author-steps b {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f1f4f9;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.ss-author-steps .active {
  color: #1664ff;
  font-weight: 600;
}
.ss-author-steps .active b {
  background: #1664ff;
  color: white;
}
.ss-author-steps .done b {
  background: #eaf5f0;
  color: #519178;
}
.ss-chat-question {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 8px 0 23px;
  color: #506786;
}
.ss-chat-question .orb {
  flex-shrink: 0;
}
.ss-chat-question p {
  margin: 0;
  line-height: 1.9;
  font-size: 16px;
}
.ss-outline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ss-outline > div {
  border-bottom: 1px solid #edf1f8;
  padding: 3px 0 14px;
}
.ss-outline p {
  font-size: 14px;
  color: #6d809c;
  margin: 9px 0 0;
}
.ss-write-grid {
  grid-template-columns: 1.6fr .8fr;
}
.ss-writing .ss-field:first-child {
  margin-top: 0;
}
.ss-writing .row {
  gap: 10px;
}
.ss-margin-notes {
  padding: 26px;
  background: #f8fafc;
  border-radius: 14px;
}
.ss-pencil {
  display: block;
  color: #97b1d8;
  margin: 5px 0 23px;
}
.ss-margin-notes p {
  font-size: 14px;
  color: #74859f;
}
.ss-margin-notes > div {
  margin: 28px 0;
}
.ss-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 25px 0;
}
.ss-compare section {
  border: 1px solid #dce5f3;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.ss-compare section.selected {
  border-color: #76a6ef;
  box-shadow: 0 0 0 2px #edf4ff;
}
.ss-compare p {
  white-space: pre-wrap;
  line-height: 1.9;
  font-size: 16px;
  flex: 1;
}
.ss-choice {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #f2f6fd;
  border: 0;
  border-radius: 8px;
  color: #396aaf;
  font-size: 13px;
}
.ss-memory-grid {
  grid-template-columns: 1.4fr 1fr;
}
.ss-memory-grid h2 {
  font-size: 25px;
  margin: 15px 0 25px;
}
.ss-memory-tiles {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.ss-memory-tiles > span {
  background: #f4f8fe;
  border: 1px solid #e2ebf8;
  border-radius: 12px;
  padding: 18px 8px;
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #6e829e;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ss-memory-tiles b {
  font-size: 26px;
  color: #447cc8;
}
.ss-context-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0 23px;
}
.ss-context-strip > button {
  background: #fff;
  border: 1px solid #dfe8f5;
  border-radius: 13px;
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 18px 20px;
  color: #4681d1;
  text-align: left;
}
.ss-context-strip > button > span {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ss-context-strip b {
  font-size: 15px;
  color: #364e70;
}
.ss-context-strip small {
  font-size: 12px;
  color: #8495af;
}
.ss-context-strip > button:hover {
  border-color: #98bdec;
  background: #f9fbff;
}
.ss-recall-card {
  margin: 16px 0 20px;
  padding: 17px;
  background: #f4f8fd;
  border: 1px solid #e1eaf7;
  border-radius: 12px;
}
.ss-recall-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #58718f;
  margin: 12px 0;
}
.ss-recall-card b {
  display: block;
  font-size: 12px;
  color: #8a9bb1;
  margin-bottom: 3px;
}
.ss-recall-card small {
  font-size: 11px;
  color: #93a1b6;
}
.studio-subtle-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #547baf;
  font-size: 13px;
  border: 0;
  background: none;
  padding: 5px 0;
}
.studio-preparation-status {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 13px 0;
}
.ss-profile-summary {
  border: 1px solid #e0e8f5;
  border-radius: 12px;
  padding: 17px;
  margin: 17px 0;
  background: #f7faff;
}
.ss-profile-summary h4 {
  margin: 0 0 9px;
  font-size: 15px;
}
.ss-profile-summary p {
  font-size: 13px;
  color: #657c98;
  line-height: 1.8;
  margin: 6px 0;
}
@keyframes studio-scan {
  0%, 100% {
    transform: translateY(0);
    opacity: .15;
  }
  50% {
    transform: translateY(285px);
    opacity: .5;
  }
}
@media (max-width: 800px) {
  .modal.wide:has(.studio) {
    width: calc(100vw - 20px);
  }
  .ss-intake-grid,
  .ss-result-grid,
  .ss-style-grid,
  .ss-outline-grid,
  .ss-write-grid,
  .ss-memory-grid {
    grid-template-columns: 1fr;
  }
  .ss-style-input {
    border-right: 0;
    padding-right: 0;
  }
  .ss-compare {
    grid-template-columns: 1fr;
  }
  .ss-context-strip {
    grid-template-columns: 1fr;
  }
  .ss-intro h3 {
    font-size: 21px;
  }
  .ss-intro {
    flex-wrap: wrap;
  }
  .ss-author-steps {
    gap: 12px;
  }
  .ss-author-steps > span {
    font-size: 12px;
  }
  .ss-map-buttons {
    flex-wrap: wrap;
  }
  .studio .row.spread {
    flex-wrap: wrap;
    gap: 12px;
  }
  .ss-memory-tiles {
    gap: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ss-scan-line {
    animation: none;
  }
}

/* afanti-evidence.css */
.af-diagnostic-board {
  min-width: 0;
  border: 1px solid #d9e4f2;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color .25s;
}
.af-home-conversation .af-chat-thread {
  overflow-anchor: none;
}
.af-diagnostic-board.is-focused {
  border-color: #79a8ef;
}
.af-diagnostic-board > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 20px;
  background: #f8fbff;
  line-height: 1.4;
}
.af-evidence-kicker {
  color: #6b85a8;
  font-size: 11px;
  letter-spacing: .4px;
}
.af-home-conversation .af-diagnostic-board h2 {
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
}
.af-home-conversation .af-diagnostic-board header small {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: #8b9db4;
}
.af-evidence-source {
  border: 1px solid #dbe5f3;
  color: #7e92ae;
  padding: 3px 7px;
  font-size: 10px;
  white-space: nowrap;
  border-radius: 5px;
}
.af-diagnostic-board > nav {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid #e1e9f4;
  padding: 0 22px;
}
.af-diagnostic-board > nav > button {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  color: #7086a5;
  border-bottom: 2px solid transparent;
}
.af-diagnostic-board > nav > button.selected {
  color: #1664ff;
  border-color: #1664ff;
  font-weight: 600;
}
.af-evidence-content {
  padding: 10px 20px 14px;
  animation: af-evidence-in .25s ease-out;
}
.af-evidence-data-layout {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.af-evidence-statline {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  border-right: 1px solid #e8eef7;
  padding-right: 14px;
}
.af-evidence-statline > div + div {
  border-top: 1px solid #edf2f8;
  padding-top: 12px;
}
.af-home-conversation .af-evidence-statline small {
  display: block;
  font-size: 11px;
  color: #778ca9;
}
.af-evidence-statline strong {
  display: block;
  font-size: 28px;
  color: #26476e;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  font-weight: 650;
}
.af-evidence-statline > div:first-child strong {
  color: #1664ff;
}
.af-evidence-statline strong.positive {
  color: #218a6a;
}
.af-evidence-statline strong span {
  font-size: 10px;
  font-weight: 400;
  color: #8094b0;
  margin-left: 6px;
}
.af-evidence-plot-area {
  position: relative;
  min-width: 0;
}
.af-evidence-measures {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.af-evidence-measures button {
  font-size: 12px;
  color: #7a8ea8;
  border-radius: 6px;
  padding: 5px 10px;
}
.af-evidence-measures button.selected {
  background: #eaf2ff;
  color: #1664ff;
}
.af-evidence-measures small {
  display: none;
}
.af-evidence-chart {
  width: 100%;
  height: 300px;
  min-height: 300px;
}
.af-evidence-reading {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  margin-top: 8px;
  background: #f1f6fd;
  font-size: 12px;
  color: #4c6a92;
  align-items: center;
  border-radius: 6px;
}
.af-evidence-reading b {
  color: #21599e;
}
.af-evidence-details {
  font-size: 11px;
  color: #8799b3;
  margin-top: 12px;
}
.af-evidence-details summary {
  cursor: pointer;
}
.af-evidence-details p {
  margin: 10px 0 !important;
  font-size: 11px !important;
  line-height: 1.7 !important;
}
.af-evidence-details table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}
.af-evidence-details th,
.af-evidence-details td {
  padding: 7px 10px;
  border-bottom: 1px solid #edf2f8;
  font-size: 11px;
}
.af-evidence-details th:first-child,
.af-evidence-details td:first-child {
  text-align: left;
}
.af-evidence-details th {
  color: #627fa3;
  background: #f7faff;
}
.af-evidence-quotes {
  display: grid;
  grid-template-columns: .8fr 1.25fr;
  gap: 18px;
}
.af-evidence-quotes section {
  padding: 18px;
  background: #f9fafc;
  border: 1px solid #e3e9f1;
  border-radius: 10px;
}
.af-evidence-quotes section.after {
  background: #f0f6ff;
  border-color: #dce9fb;
}
.af-evidence-quotes blockquote {
  margin: 14px 0 17px;
  font-size: 18px;
  line-height: 1.9;
  color: #304c70;
}
.af-evidence-quotes mark {
  padding: 1px 2px;
  color: #a8652e;
  background: #fff0d8;
  border-radius: 3px;
}
.af-evidence-quotes .after mark {
  background: #dcecff;
  color: #175fc0;
}
.af-evidence-quotes strong {
  font-weight: 650;
}
.af-quote-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #7f91a9;
}
.af-quote-flow b {
  font-weight: 500;
  color: #b27841;
}
.af-home-conversation .af-evidence-quotes p {
  font-size: 12px;
  color: #8b765c;
  line-height: 1.7;
  margin-top: 12px;
}
.af-evidence-keep {
  border-top: 1px solid #e5edf6;
  margin-top: 20px;
  padding-top: 17px;
}
.af-evidence-keep > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #278f73;
  font-size: 13px;
}
.af-home-conversation .af-evidence-keep p {
  font-size: 15px;
  color: #547090;
  margin: 10px 0;
}
.af-evidence-keep > strong {
  font-size: 13px;
  font-weight: 500;
  color: #428777;
}
.af-evidence-foot {
  font-size: 10px;
  line-height: 1.7;
  color: #97a7bc;
  margin-top: 16px;
}
.af-evidence-signals {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 22px;
  align-items: center;
}
.af-evidence-direction > section {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 17px;
}
.af-evidence-direction i {
  display: grid;
  place-items: center;
  flex: 0 0 25px;
  height: 25px;
  border-radius: 50%;
  font-style: normal;
  font-size: 12px;
  color: #4f86d3;
  background: #eef5ff;
}
.af-evidence-direction b {
  font-size: 14px;
  font-weight: 550;
  color: #385779;
}
.af-evidence-direction p {
  font-size: 12px !important;
  color: #899ab1;
  margin: 3px 0 0 !important;
}
.af-call-controls > button.af-next-voice {
  background: #1664ff;
  color: #fff;
  border-color: #1664ff;
}
.af-evidence-empty {
  color: #899ab1;
  padding: 30px 0;
  font-size: 14px;
}
@keyframes af-evidence-in {
  from {
    opacity: .4;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1250px) {
  .af-call-bar:has(.af-next-voice) {
    grid-template-columns: minmax(210px, 1fr) auto;
  }
  .af-call-bar:has(.af-next-voice) .af-call-wave {
    display: none;
  }
  .af-call-controls > button.af-next-voice {
    padding: 9px;
  }
}
@media (max-width: 1100px) {
  .af-evidence-quotes blockquote {
    font-size: 16px;
    margin: 9px 0;
  }
  .af-evidence-statline strong {
    font-size: 25px;
  }
  .af-evidence-data-layout {
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 12px;
  }
}
@media (max-width: 760px) {
  .af-diagnostic-board > header,
  .af-evidence-content {
    padding: 10px 14px;
  }
  .af-diagnostic-board > nav {
    padding: 0 14px;
    gap: 14px;
  }
  .af-evidence-statline strong span {
    display: block;
    margin: 0;
  }
  .af-evidence-statline strong {
    font-size: 22px;
  }
  .af-call-bar:has(.af-next-voice) {
    grid-template-columns: 1fr;
  }
  .af-diagnostic-board h2 {
    font-size: 16px !important;
  }
  .af-evidence-data-layout {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 8px;
  }
  .af-evidence-measures {
    gap: 0;
  }
  .af-evidence-measures button {
    font-size: 11px;
    padding: 5px;
  }
  .af-evidence-quotes,
  .af-evidence-signals {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .af-evidence-content {
    animation: none;
  }
  .af-diagnostic-board {
    transition: none;
  }
}
.af-source-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.af-source-cards > section {
  padding: 16px;
  border: 1px solid #e0e9f5;
  border-radius: 12px;
  background: #fbfdff;
  min-width: 0;
}
.af-source-cards small {
  font-size: 11px;
  color: #71819a;
}
.af-source-cards p {
  font-size: 12px;
  line-height: 1.6;
  color: #64758d;
  margin: 14px 0 0;
}
.af-source-row {
  margin-top: 12px;
}
.af-source-row > div {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 13px;
}
.af-source-row b {
  color: #1664ff;
  font-variant-numeric: tabular-nums;
}
.af-source-row i {
  display: block;
  max-width: 100%;
  height: 5px;
  margin-top: 5px;
  border-radius: 3px;
  background: #95bdff;
}
@media (max-width: 1100px) {
  .af-source-cards {
    grid-template-columns: 1fr;
  }
  .af-source-row {
    margin-top: 8px;
  }
}
.af-signal-clouds > section {
  background:
    radial-gradient(
      ellipse at 50% 40%,
      #eaf3ff 0%,
      #f9fcff 75%);
}
.af-signal-clouds .row > svg {
  color: #4b8ef6;
}
.af-word-cloud {
  min-height: 140px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 12px 10px;
  padding: 12px 4px;
}
.af-word-cloud > span {
  font-size: 16px;
  font-weight: 550;
  color: #2a62b0;
  background: #fff;
  border: 1px solid #dce9fb;
  padding: 7px 11px;
  border-radius: 22px;
  box-shadow: 0 3px 8px #3276ce08;
  white-space: nowrap;
}
.af-signal-clouds > section:nth-child(2) .af-word-cloud > span {
  color: #2759ba;
  border-color: #dce5fc;
}
.af-signal-clouds > section:nth-child(3) .af-word-cloud > span {
  color: #28788f;
  border-color: #d5eef4;
}
.af-signal-clouds p {
  padding-top: 11px;
  border-top: 1px solid #e5edf8;
  margin-top: 0;
}
@media (max-width: 1100px) {
  .af-signal-clouds {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .af-word-cloud {
    gap: 9px 6px;
    min-height: 165px;
  }
  .af-word-cloud > span {
    font-size: 14px;
    padding: 6px 8px;
  }
}
@media (max-width: 820px) {
  .af-signal-clouds {
    grid-template-columns: 1fr;
  }
  .af-word-cloud {
    min-height: 75px;
  }
}

/* afanti-conversation.css */
.af-home-conversation .af-preparation-row {
  display: grid;
  grid-template-columns: minmax(320px, 1.55fr) minmax(215px, 1fr) minmax(205px, 1fr);
  gap: 16px;
  margin: 0 0 24px;
  align-items: stretch;
}
.af-home-conversation .af-competitor-radar {
  min-width: 0;
  border: 1px solid #2265c2;
  border-radius: 16px;
  background: #10264d;
  color: white;
  overflow: hidden;
}
.af-competitor-radar header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 0;
}
.af-competitor-radar .af-radar-symbol {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: #e9f4ff;
  color: #1664ff;
}
.af-home-conversation .af-competitor-radar h2 {
  color: white;
  font-size: 17px;
  margin-top: 2px;
}
.af-home-conversation .af-competitor-radar small {
  color: #a1bada;
  font-size: 11px;
}
.af-radar-state {
  color: #87cffe;
  white-space: nowrap;
  font-size: 10px;
  border: 1px solid #355b8b;
  padding: 3px 7px;
  border-radius: 12px;
}
.af-radar-plot {
  height: 176px;
  position: relative;
  overflow: hidden;
}
.af-radar-ring {
  position: absolute;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%);
  border: 1px solid #365881;
  border-radius: 50%;
}
.af-radar-ring.inner {
  width: 41%;
  height: 84px;
}
.af-radar-ring.outer {
  width: 83%;
  height: 144px;
  border-style: dashed;
  border-color: #2d527f;
}
.af-radar-core {
  position: absolute;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%);
  display: grid;
  place-content: center;
  justify-items: center;
  width: 96px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid #42aff4;
  background: #153b72;
  box-shadow: 0 0 28px #20c5ff21;
}
.af-radar-core b {
  font-size: 14px;
}
.af-radar-core small {
  font-size: 10px !important;
}
.af-radar-node {
  position: absolute;
  z-index: 1;
  display: grid;
  grid-template-columns: 9px auto;
  grid-template-rows: auto auto;
  gap: 1px 7px;
  padding: 4px 6px;
  background: #10264de8;
  border-radius: 7px;
}
.af-radar-node i {
  width: 7px;
  height: 7px;
  grid-row: 1/3;
  align-self: center;
  background: #20c5ff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #20c5ff19;
}
.af-radar-node b {
  font-size: 13px;
  font-weight: 550;
}
.af-home-conversation .af-radar-node small {
  font-size: 10px;
  color: #94b5dd;
}
.af-radar-node.node-0 {
  left: 6%;
  top: 21%;
}
.af-radar-node.node-1 {
  right: 5%;
  top: 24%;
}
.af-radar-node.node-2 {
  left: 26%;
  bottom: 5%;
}
.af-competitor-radar footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid #2c466c;
  background: #132d55;
  color: #b3c9e5;
  font-size: 11px;
  line-height: 1.7;
}
.af-competitor-radar footer svg {
  color: #49c6ff;
}
.af-preparation-options,
.af-preparation-update {
  min-width: 0;
  border: 1px solid #dfe8f4;
  border-radius: 16px;
  background: #fff;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
}
.af-home-conversation .af-preparation-options h2,
.af-home-conversation .af-preparation-update h2 {
  font-size: 17px;
}
.af-preparation-options > div > p,
.af-preparation-update > p {
  font-size: 11px;
  color: #8293ac;
  margin: 5px 0 12px;
}
.af-preparation-options > button {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  padding: 15px 0;
  flex: 1;
  border-bottom: 1px solid #edf1f7;
}
.af-preparation-options > button:last-child {
  border: 0;
  padding-bottom: 0;
}
.af-preparation-options > button > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.af-preparation-options b {
  display: block;
  font-size: 13px;
  color: #2e4c72;
  font-weight: 550;
}
.af-home-conversation .af-preparation-options small {
  display: block;
  font-size: 10px;
  margin-top: 3px;
  color: #8193ac;
}
.af-option-icon {
  width: 36px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #eef5ff;
  color: #5482cf;
  border-radius: 11px;
  flex-shrink: 0;
}
.af-option-icon.persona {
  background: #edf8f8;
  color: #468d9c;
}
.af-preparation-options > button > svg {
  color: #91a4be;
}
.af-preparation-update > .row {
  color: #4976b4;
}
.af-preparation-update > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid #edf1f7;
  font-size: 13px;
  color: #4b6d9c;
  text-align: left;
  flex: 1;
}
.af-preparation-update > button:first-of-type {
  color: #1664ff;
  font-weight: 600;
}
.af-preparation-update > button:last-child {
  padding-bottom: 0;
}
.af-chat-shell {
  position: relative;
  border: 1px solid #dce6f3;
  border-radius: 18px;
  background: #fff;
  min-height: 300px;
  padding: 0 0 20px;
}
.af-call-bar {
  position: sticky;
  top: 82px;
  z-index: 30;
  background: #f8fbff;
  box-shadow: 0 6px 20px #183d7408;
  border: 1px solid #d4e3f8;
  border-radius: 16px;
  padding: 17px 22px 11px;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) 100px auto;
  align-items: center;
  gap: 8px 18px;
  margin: -1px -1px 0;
}
.af-call-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.af-call-identity > .af-call-halo {
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 15px;
}
.af-call-bar .af-mark.small {
  width: 45px;
  height: 45px;
  border-radius: 16px;
}
.af-call-identity b {
  font-size: 17px;
  font-weight: 650;
  color: #254776;
}
.af-call-identity p {
  font-size: 12px;
  color: #6885aa;
  line-height: 1.6;
  margin-top: 2px;
}
.af-call-clock {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #89a0bb;
}
.af-call-wave {
  height: 28px;
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  color: #94bbf1;
}
.af-call-wave i {
  width: 3px;
  background: currentColor;
  border-radius: 3px;
  opacity: .5;
}
.af-call-bar.speaking .af-call-wave i,
.af-call-bar.connecting .af-call-wave i {
  animation: af-wave .65s ease-in-out infinite alternate;
  opacity: 1;
}
.af-call-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.af-call-controls > button:not(.btn) {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  border: 1px solid #dce6f3;
  border-radius: 9px;
  padding: 9px 11px;
  min-height: 40px;
  background: white;
  color: #58789e;
  font-size: 12px;
}
.af-call-controls > button.af-hangup {
  color: #d85870;
  background: #fff3f5;
  border-color: #f4dce3;
  padding: 10px;
}
.af-call-controls > .btn {
  white-space: nowrap;
  font-size: 13px;
  min-height: 40px;
  padding: 9px 14px;
}
.af-call-boundary {
  grid-column: 1/-1;
  text-align: right;
  font-size: 10px;
  color: #94a3b9;
  line-height: 1.5;
}
.af-call-progress {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: #e6eef9;
  overflow: hidden;
}
.af-call-progress i {
  display: block;
  height: 100%;
  background: #6d9ff2;
  transition: width .2s linear;
}
.af-call-wait {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid #c8e0ff;
  background: #eaf4ff;
  border-radius: 10px;
  color: #416d9e;
  font-size: 12px;
}
.af-call-wait > span:nth-child(2) {
  flex: 1;
}
.af-call-wait > button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border-radius: 8px;
  background: #1664ff;
  color: white;
  font-size: 13px;
  white-space: nowrap;
}
.af-wait-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2c9bff;
  box-shadow: 0 0 0 4px #339aff12;
  flex-shrink: 0;
}
.af-call-bar.awaiting {
  border-color: #8bbafa;
}
.af-call-bar.awaiting .af-call-identity p {
  color: #1664ff;
}
.af-call-bar.awaiting .af-call-halo,
.af-call-bar.awaiting .af-wait-dot {
  animation: af-waiting-pulse 1.8s ease-in-out infinite;
}
.af-call-bar.awaiting .af-call-wave {
  color: #3a94f8;
  animation: af-waiting-opacity 1.8s ease-in-out infinite;
}
.af-call-bar.connecting .af-call-halo {
  animation: af-waiting-pulse .95s ease-in-out infinite;
}
.af-home-conversation .af-chat-thread {
  display: grid;
  gap: 25px;
  min-width: 0;
  padding: 30px 32px 26px;
  max-width: 1120px;
  margin: auto;
}
.af-conversation-welcome {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0 24px;
}
.af-home-conversation .af-conversation-welcome h2 {
  font-size: 20px;
}
.af-conversation-welcome p {
  color: #788ca7;
  font-size: 14px;
  margin-top: 7px;
}
.af-chat-route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #8da1bc;
  font-size: 11px;
  margin-top: 18px;
}
.af-home-conversation .af-message {
  min-width: 0;
}
.af-home-conversation .af-message > div {
  max-width: calc(100% - 48px);
}
.af-home-conversation .af-message.user {
  padding: 0 0 0 40px;
  flex-direction: row-reverse;
  justify-content: flex-start;
}
.af-home-conversation .af-message.user > div {
  flex: 0 1 auto;
  max-width: 82%;
  background: #eaf2ff;
  border: 1px solid #dce9fb;
  padding: 11px 16px;
}
.af-user-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 11px;
  background: #dbe9fc;
  color: #4a79b8;
  font-size: 12px;
  flex: 0 0 auto;
  margin-top: 3px;
}
.af-home-conversation .af-message-label {
  font-size: 12px;
  color: #6380a5;
  margin: 2px 0 8px;
}
.af-home-conversation .af-message-label small {
  font-size: 9px;
}
.af-home-conversation .af-message p {
  font-size: 16px;
  line-height: 1.85;
}
.af-home-conversation .af-replay {
  font-size: 11px;
  min-height: 25px;
  margin-top: 8px;
}
.af-guidance {
  display: grid;
  gap: 13px;
}
.af-guidance-line {
  padding: 0;
  border: 0;
}
.af-guidance-line h4 {
  font-size: 12px !important;
  color: #7b8fa9;
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 3px;
}
.af-home-conversation .af-guidance-line strong {
  font-weight: 650;
  color: #1858ad;
  background: #eaf3ff;
  border-radius: 3px;
  padding: 0 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.af-invitation > div {
  padding: 14px 17px;
  background: #f0f7ff;
  border: 1px solid #dfedff;
  border-radius: 12px;
}
.af-lesson-resume {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  padding: 13px 15px;
  border: 1px solid #dce8f8;
  border-radius: 10px;
  color: #6a82a1;
  background: #f6faff;
}
.af-lesson-resume > span {
  flex: 1;
}
.af-lesson-resume > button,
.af-continue-diagnosis {
  color: #1664ff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.af-home-conversation .af-composer {
  max-width: 1380px;
}
.af-home-conversation .af-composer-wrap {
  padding-left: 38px;
  padding-right: 38px;
  z-index: 40;
}
@keyframes af-waiting-pulse {
  50% {
    box-shadow: 0 0 0 7px #4f9cff16, 0 0 22px #7bbbff3b;
  }
}
@keyframes af-waiting-opacity {
  50% {
    opacity: .35;
  }
}
@media (min-width: 901px) and (max-height: 900px) {
  .page-home > .content:has(.af-home-conversation) {
    padding-top: 20px;
  }
  .af-home-conversation .af-topline {
    margin-bottom: 14px;
  }
  .af-home-conversation .af-metrics {
    margin-bottom: 18px;
  }
  .af-home-conversation .af-preparation-row {
    margin-bottom: 16px;
  }
  .af-home-conversation .af-radar-plot {
    height: 112px;
  }
  .af-home-conversation .af-radar-ring.inner {
    height: 68px;
  }
  .af-home-conversation .af-radar-ring.outer {
    height: 112px;
  }
  .af-home-conversation .af-radar-core {
    height: 54px;
    width: 90px;
  }
  .af-home-conversation .af-radar-node.node-2 {
    left: 14%;
    bottom: 4%;
  }
  .af-home-conversation .af-competitor-radar footer {
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .af-home-conversation .af-preparation-options,
  .af-home-conversation .af-preparation-update {
    padding: 14px 16px;
  }
  .af-home-conversation .af-preparation-options > button {
    padding: 10px 0;
  }
  .af-home-conversation .af-preparation-update > button {
    padding: 9px 0;
  }
  .af-home-conversation .af-preparation-update > p,
  .af-home-conversation .af-preparation-options > div > p {
    margin-bottom: 6px;
  }
}
@media (min-width: 1600px) {
  .af-home-conversation .af-preparation-row {
    gap: 20px;
  }
  .af-call-bar {
    padding: 20px 28px 12px;
  }
  .af-home-conversation .af-chat-thread {
    padding-top: 35px;
  }
}
@media (max-width: 1150px) {
  .af-home-conversation .af-preparation-row {
    grid-template-columns: minmax(300px, 1.35fr) minmax(180px, 1fr) minmax(180px, 1fr);
    gap: 12px;
  }
  .af-preparation-options,
  .af-preparation-update {
    padding: 17px 14px;
  }
  .af-call-bar {
    grid-template-columns: minmax(230px, 1fr) auto;
    gap: 8px 12px;
    padding: 15px 18px 10px;
  }
  .af-call-wave {
    display: none;
  }
  .af-home-conversation .af-chat-thread {
    padding: 27px 24px;
  }
  .af-home-conversation .af-composer-wrap {
    padding-left: 25px;
    padding-right: 25px;
  }
}
@media (max-width: 900px) {
  .af-home-conversation .af-preparation-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .af-competitor-radar {
    grid-column: 1/-1;
  }
  .af-radar-plot {
    height: 170px;
    max-width: 540px;
    margin: auto;
  }
  .af-preparation-options,
  .af-preparation-update {
    min-height: 235px;
  }
  .af-call-controls {
    gap: 5px;
  }
  .af-call-controls > button:not(.btn) {
    font-size: 11px;
    padding: 9px;
  }
  .af-call-identity b {
    font-size: 16px;
  }
  .af-call-identity p {
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  .af-call-bar {
    top: 70px;
    grid-template-columns: 1fr;
    padding: 13px;
  }
  .af-call-controls {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .af-call-boundary {
    text-align: left;
    font-size: 9px;
  }
  .af-call-identity p {
    font-size: 12px;
  }
  .af-home-conversation .af-preparation-row {
    gap: 10px;
  }
  .af-home-conversation .af-chat-thread {
    padding: 24px 15px;
  }
  .af-home-conversation .af-message.user {
    padding-left: 15px;
  }
  .af-home-conversation .af-composer-wrap {
    padding-left: 13px;
    padding-right: 13px;
  }
  .af-call-wait {
    flex-wrap: wrap;
  }
  .af-call-wait > span:nth-child(2) {
    min-width: 120px;
  }
  .af-home-conversation .af-preparation-options h2,
  .af-home-conversation .af-preparation-update h2 {
    font-size: 15px;
  }
  .af-preparation-options > button {
    gap: 7px;
  }
  .af-option-icon {
    width: 28px;
    height: 34px;
  }
  .af-preparation-options b {
    font-size: 11px;
  }
  .af-home-conversation .af-preparation-options small {
    font-size: 9px;
  }
  .af-home-conversation .af-message p {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .af-call-bar * {
    animation: none !important;
    transition: none !important;
  }
}
.af-home-conversation .af-call-bar {
  background:
    radial-gradient(
      ellipse at 83% 0%,
      #47b5ff44,
      transparent 58%),
    linear-gradient(
      112deg,
      #1538c6 0%,
      #1555ed 55%,
      #096bd9 100%);
  border-color: #286aff;
  color: #fff;
  box-shadow: 0 10px 32px #154bcc2b, inset 0 1px 0 #ffffff30;
}
.af-call-bar .af-call-identity b {
  color: #fff;
}
.af-call-bar .af-call-identity p,
.af-call-bar.awaiting .af-call-identity p {
  color: #e0eeff;
}
.af-call-bar .af-call-clock {
  color: #caddff;
}
.af-call-bar .af-call-wave,
.af-call-bar.awaiting .af-call-wave {
  color: #b9edff;
}
.af-call-bar .af-call-halo {
  border: 1px solid #ffffff42;
  box-shadow: 0 0 24px #79d6ff35;
}
.af-call-bar .af-mark.small {
  background: #ffffff15;
}
.af-call-bar .af-call-controls > button:not(.btn) {
  background: #ffffff15;
  color: #fff;
  border-color: #ffffff4a;
}
.af-call-bar .af-call-controls > button:not(.btn):hover {
  background: #ffffff28;
}
.af-call-bar .af-call-controls > .btn,
.af-call-bar .af-call-controls > button.af-next-voice {
  background: #fff;
  color: #174bc7;
  border-color: #fff;
  box-shadow: 0 3px 12px #082f8f22;
}
.af-call-bar .af-call-controls > button.af-hangup {
  background: #f5477233;
  color: #fff;
  border-color: #ffb1c873;
}
.af-call-bar .af-call-controls > button:disabled {
  opacity: .43;
}
.af-call-bar .af-call-boundary {
  color: #ccdeffb8;
}
.af-call-bar .af-call-progress {
  background: #ffffff20;
}
.af-call-bar .af-call-progress i {
  background: #8ee7ff;
}
.af-call-bar .af-call-wait {
  background: #0b2da33d;
  color: #edf6ff;
  border-color: #ffffff30;
}
.af-call-bar .af-call-wait > button {
  background: #fff;
  color: #184cc9;
}
.af-call-bar .af-wait-dot {
  background: #aff3ff;
}
.af-call-caption {
  grid-column: 1/-1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #08258d38;
  border: 1px solid #ffffff20;
  border-radius: 9px;
  padding: 8px 12px;
  margin-top: 3px;
}
.af-caption-label {
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: .07em;
  color: #bdd7ff;
  border-right: 1px solid #ffffff30;
  padding-right: 12px;
}
.af-caption-viewport {
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  line-height: 24px;
  font-size: 14px;
  font-weight: 400;
  color: #f7fbff;
}
.af-caption-viewport::-webkit-scrollbar {
  display: none;
}
.af-caption-viewport > span {
  white-space: pre;
}
.af-caption-cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  margin-left: 4px;
  background: #adf3ff;
  vertical-align: -2px;
  animation: af-caption-blink .85s steps(2, end) infinite;
}
@keyframes af-caption-blink {
  50% {
    opacity: 0;
  }
}
@media (max-width: 1150px) {
  .af-call-bar .af-caption-viewport {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .af-call-bar .af-caption-cursor {
    animation: none;
  }
}

/* afanti.css */
.af-message,
.af-coauthor-card,
.af-generating,
.af-script-card {
  scroll-margin-top: 96px;
}
.af-body-grid > .af-side {
  align-self: stretch;
}
.af-script-archived {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e1eaf6;
  border-radius: 12px;
  background: #fff;
  padding: 17px;
  font-size: 13px;
  color: #7289a9;
}
.af-script-archived span {
  flex: 1;
}
@media (min-width: 761px) {
  .af-body-grid > .af-side {
    position: sticky;
    top: 90px;
    align-self: start;
    max-height: calc(100vh - 205px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d4e1f1 transparent;
    padding: 1px 4px 12px 1px;
  }
  .af-body-grid > .af-side > .af-call {
    position: relative;
    top: 0;
    gap: 9px;
    padding: 17px;
    flex-shrink: 0;
  }
  .af-side .af-orbit {
    height: 112px;
    width: 112px;
    margin: 0 auto;
  }
  .af-side .af-orbit > .af-mark {
    width: 62px;
    height: 62px;
    border-radius: 23px;
  }
  .af-side .af-bars {
    height: 20px;
  }
  .af-side .af-call-buttons {
    gap: 34px;
  }
  .af-side > .af-update-plan,
  .af-side > .af-optional {
    flex-shrink: 0;
  }
}
.af-practice.rehearsing > .page-head,
.af-practice.rehearsing .mode-switch,
.af-practice.rehearsing .af-portrait-column > .fine {
  display: none;
}
.af-practice.rehearsing .af-portrait {
  width: min(100%, calc((100vh - 230px)*.5625));
  margin: 0 auto;
}
.af-practice.rehearsing .af-practice-scroll {
  max-height: calc(100vh - 345px);
  min-height: 210px;
}
.af-practice.rehearsing .af-practice-companion {
  padding-bottom: 0;
  margin-bottom: 0;
}
.af-practice.rehearsing .af-portrait-top {
  padding-top: 13px;
}
.af-preflight-audio {
  border: 1px solid #e1eaf7;
  background: #fff;
  border-radius: 12px;
  padding: 12px 17px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #6f84a0;
}
.af-preflight-audio audio {
  height: 32px;
  width: 230px;
  max-width: 100%;
}
.af-preflight-audio p {
  flex: 1;
}
.af-preflight-audio details {
  font-size: 11px;
}
.af-preflight-audio summary {
  cursor: pointer;
}
.af-preflight-audio .fine {
  font-size: 10px;
}
:root {
  --af-ink:#172b4d;
  --af-muted:#667993;
  --af-line:#e2eaf5;
  --af-blue:#1664ff;
  --af-sidebar:210px;
}
body {
  background: #f7f9fc;
  color: var(--af-ink);
}
.page-home > .content {
  max-width: 1570px;
  padding-bottom: 150px;
}
.content h1 {
  font-size: 27px;
  letter-spacing: -.6px;
  font-weight: 600;
}
.content h2 {
  font-size: 19px;
  letter-spacing: -.25px;
  font-weight: 600;
}
.content h3 {
  font-size: 16px;
  font-weight: 600;
}
.main .page-head h1 {
  font-size: 27px;
}
.main .page-head p {
  font-size: 14px;
}
.af-workspace {
  font-size: 16px;
  line-height: 1.65;
  --blue:#1664ff;
}
.af-workspace small {
  font-size: 12px;
  color: var(--af-muted);
}
.af-workspace .btn {
  font-size: 14px;
  min-height: 43px;
}
.af-workspace button {
  cursor: pointer;
}
.af-workspace button:disabled {
  cursor: not-allowed;
}
.af-workspace h1,
.af-workspace h2,
.af-workspace h3,
.af-workspace p {
  margin: 0;
}
.af-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.af-topline h1 {
  font-size: 26px;
  margin-top: 5px;
}
.af-material-button {
  display: flex;
  align-items: center;
  gap: 9px;
  background: white;
  padding: 11px 15px;
  border: 1px solid var(--af-line);
  border-radius: 11px;
  color: #44617f;
  font-size: 13px;
}
.af-material-button b {
  background: #1664ff;
  color: white;
  border-radius: 20px;
  min-width: 19px;
  font-size: 11px;
}
.af-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 66px;
  height: 66px;
  border-radius: 24px;
  background:
    linear-gradient(
      150deg,
      #2d82ff,
      #2254e6 75%);
  box-shadow: 0 8px 25px #1664ff20;
}
.af-mark svg {
  width: 90%;
  height: 90%;
}
.af-mark.small {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  box-shadow: none;
}
.af-mark.active {
  animation: af-breathe 2.4s ease-in-out infinite;
}
.af-metrics {
  position: relative;
  background:
    linear-gradient(
      120deg,
      #0d224b,
      #123776 60%,
      #184b8a);
  color: white;
  border-radius: 20px;
  overflow: hidden;
  padding: 19px 25px 0;
  box-shadow: 0 14px 36px #0c336215;
  margin-bottom: 28px;
}
.af-metrics:after {
  content: "";
  position: absolute;
  right: -65px;
  top: -125px;
  width: 290px;
  height: 290px;
  border: 1px solid #70b0ff25;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 37px #70b0ff08, 0 0 0 78px #70b0ff05;
}
.af-metrics-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.af-metrics-title > span {
  font-size: 14px;
  font-weight: 500;
}
.af-metrics-title small {
  margin-left: 12px;
  font-size: 10px;
  color: #a5c3ea;
}
.af-metrics-title select {
  background: #ffffff12;
  color: white;
  border: 1px solid #a1c5fc38;
  padding: 5px 9px;
  border-radius: 7px;
  font-size: 12px;
}
.af-metrics-title option {
  color: #172b4d;
  background: white;
}
.af-metrics .icon-btn {
  color: #a7c8f2;
}
.af-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr .85fr;
  gap: 32px;
  align-items: center;
  padding: 18px 0 22px;
}
.af-count > span {
  font-size: 13px;
  color: #c3d5f1;
}
.af-count > strong {
  display: block;
  font-size: 57px;
  line-height: 1.15;
  font-weight: 550;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
}
.af-count > strong > small {
  font-size: 12px;
  letter-spacing: 0;
  color: #a2c4ee;
  margin-left: 10px;
}
.af-count em {
  font-style: normal;
  color: #63e3bf;
  font-size: 12px;
  display: block;
  margin-top: 10px;
}
.af-count em span {
  display: block;
  color: #9fbce3;
  font-size: 10px;
  margin-top: 1px;
}
.af-benchmark {
  border-left: 1px solid #ffffff18;
  padding-left: 28px;
}
.af-benchmark > .row > span {
  font-size: 13px;
  color: #bbd3f2;
}
.af-benchmark strong {
  font-size: 27px;
  font-weight: 550;
}
.af-benchmark small {
  font-size: 11px;
  color: #aac6eb;
}
.af-benchmark > p {
  font-size: 12px;
  color: #a8c8f1;
  margin-top: 15px;
}
.af-benchmark > p b {
  color: #95c4ff;
}
.af-gauge {
  position: relative;
  height: 11px;
  background: #ffffff14;
  border-radius: 4px;
  margin: 15px 0 9px;
}
.af-gauge > div {
  height: 100%;
  border-radius: 4px;
  background:
    linear-gradient(
      90deg,
      #367bff,
      #47d2fb);
  box-shadow: 0 0 16px #00adff50;
}
.af-gauge > i {
  position: absolute;
  top: -4px;
  height: 19px;
  width: 2px;
  background: white;
  box-shadow: 0 0 5px #fff6;
}
.af-spark-chart {
  align-self: stretch;
  padding-left: 20px;
  border-left: 1px solid #ffffff18;
}
.af-spark-chart > small {
  color: #bad1ef;
  font-size: 11px;
}
.af-spark-chart > div {
  height: 95px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
}
.af-spark-chart > div > span {
  display: flex;
  flex: 1;
  align-items: center;
  flex-direction: column;
  gap: 4px;
}
.af-spark-chart i {
  width: 100%;
  max-width: 23px;
  min-height: 2px;
  background:
    linear-gradient(
      0deg,
      #348bff60,
      #62c4ff);
  border-radius: 3px 3px 0 0;
}
.af-spark-chart small {
  font-size: 9px;
  color: #87b2e2;
}
.af-metric-foot {
  font-size: 10px;
  color: #90aed4;
  border-top: 1px solid #ffffff14;
  padding: 9px 0;
}
.af-custom-range {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
}
.af-custom-range input {
  font-size: 12px;
  padding: 4px;
  color: white;
  background: #ffffff12;
  border: 1px solid #ffffff25;
  border-radius: 4px;
  color-scheme: dark;
}
.af-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 277px;
  gap: 28px;
  align-items: start;
}
.af-waterfall {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.af-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.af-signal {
  border: 1px solid #c8defd;
  background:
    linear-gradient(
      130deg,
      #eff6ff,
      #fff);
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 4px 14px #1664ff06;
}
.af-signal .tag {
  font-size: 10px;
}
.af-signal-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: #1664ff;
  background: #e0eeff;
  border-radius: 9px;
}
.af-signal h2 {
  font-size: 17px;
}
.af-rivals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 21px 0;
}
.af-rivals > div {
  position: relative;
  border-right: 1px solid #d9e6f8;
  padding-right: 12px;
  padding-bottom: 9px;
}
.af-rivals > div:last-child {
  border: 0;
}
.af-rivals span {
  display: block;
  font-size: 14px;
}
.af-rivals small {
  font-size: 10px;
}
.af-rivals strong {
  display: block;
  font-size: 28px;
  color: #2355a8;
  line-height: 1.3;
  margin-top: 4px;
  font-weight: 550;
}
.af-rivals strong small {
  margin-left: 3px;
  color: #7696c4;
}
.af-rivals i {
  position: absolute;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: #3b8aff;
}
.af-signal > p {
  font-size: 14px;
  line-height: 1.8;
  color: #536984;
}
.af-signal > p b {
  color: #224471;
}
.af-signal > small {
  display: block;
  font-size: 10px;
  margin-top: 12px;
  color: #8e9db4;
}
.af-welcome {
  display: flex;
  gap: 18px;
  padding: 30px 10px;
}
.af-welcome .af-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
}
.af-welcome p {
  font-size: 15px;
  color: #6c7e97;
  margin: 8px 0 20px;
}
.af-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: af-appear .4s ease-out;
}
.af-message > div {
  flex: 1;
  min-width: 0;
}
.af-message-label {
  font-size: 13px;
  font-weight: 600;
  margin: 4px 0 7px;
}
.af-message-label small {
  font-size: 9px;
  font-weight: 400;
  color: #9daabb;
  margin-left: 10px;
}
.af-message p {
  font-size: var(--font-size,16px);
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #314b6d;
}
.af-message.user {
  padding-left: 46px;
}
.af-message.user > div {
  background: #e9f1fd;
  border-radius: 13px 13px 3px 13px;
  padding: 12px 17px;
}
.af-message.user p {
  font-size: 15px;
}
.af-message.user .af-message-label {
  margin-top: 0;
  color: #4773b6;
}
.af-replay {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  background: transparent;
  color: #8e9eb3;
  margin-top: 7px;
  padding: 0;
}
.af-replay:hover {
  color: #1664ff;
}
.af-coauthor-card,
.af-script-card {
  border: 1px solid var(--af-line);
  background: #fff;
  border-radius: 17px;
  overflow: hidden;
}
.af-coauthor-card {
  padding: 23px;
}
.af-coauthor-intro {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  color: #438474;
  margin-bottom: 18px;
}
.af-coauthor-card h2 {
  font-size: 20px;
  margin-bottom: 8px;
}
.af-coauthor-card .muted {
  font-size: 14px;
}
.af-focus-options {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.af-focus-options button {
  border: 1px solid var(--af-line);
  background: #fff;
  border-radius: 9px;
  padding: 9px 12px;
  color: #637791;
  font-size: 13px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.af-focus-options button.selected {
  border-color: #9cbffd;
  background: #eff5ff;
  color: #1664ff;
}
.af-default-context {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: #7b8da4;
  margin-bottom: 18px;
}
.af-default-context span {
  font-size: 12px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.af-coauthor-card details {
  border-top: 1px solid #edf1f7;
  margin-bottom: 22px;
  padding-top: 14px;
}
.af-coauthor-card summary {
  font-size: 12px;
  color: #6c819f;
  cursor: pointer;
}
.af-coauthor-card details label {
  font-size: 12px;
  color: #6b7e98;
  display: block;
  margin-top: 12px;
}
.af-coauthor-card details input,
.af-coauthor-card details textarea {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--af-line);
  border-radius: 7px;
  background: #f9fbfe;
  font-size: 14px;
  color: #244269;
  margin-top: 6px;
  resize: vertical;
}
.af-workspace .fine {
  font-size: 10px;
  color: #95a2b5;
  margin-top: 12px;
}
.af-saved-notes {
  font-size: 12px !important;
  background: #f4f7fc;
  padding: 12px 15px;
  border-radius: 8px;
  margin: 12px 0 !important;
  color: #617690;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.af-generating {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #f0f6ff;
  border: 1px solid #dae9ff;
  padding: 24px;
  border-radius: 15px;
}
.af-generating > div {
  flex: 1;
}
.af-generating .af-mark {
  width: 45px;
  height: 45px;
  border-radius: 14px;
}
.af-generating h3 {
  font-size: 14px;
}
.af-generating b {
  font-size: 12px;
  color: #6694d4;
}
.af-script-card-top {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  padding: 23px 24px 18px;
}
.af-script-card-top h2 {
  margin: 8px 0 4px;
  font-size: 20px;
}
.af-script-card-top .btn {
  white-space: nowrap;
}
.af-script-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 12px 24px;
  border-top: 1px solid #f0f3f8;
  border-bottom: 1px solid #e8edf5;
  background: #fafcfe;
}
.af-script-toolbar button {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #537197;
  font-size: 12px;
  background: none;
  padding: 2px 0;
}
.af-script-toolbar button:first-child {
  color: #1664ff;
}
.af-script-scroll {
  max-height: 690px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 20px 24px;
  scrollbar-width: thin;
  scrollbar-color: #c6d5e8 transparent;
}
.af-script-body {
  color: #304763;
}
.af-script-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 20px 0 13px;
  border-bottom: 1px solid #edf1f7;
  margin-bottom: 20px;
}
.af-script-heading:first-child {
  padding-top: 0;
}
.af-script-heading > span {
  font-size: 12px;
  color: #5d8ec9;
  font-weight: 600;
  background: #f0f5fd;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 6px;
}
.af-script-heading h3 {
  font-size: 16px;
  margin: 0;
}
.af-script-heading small {
  font-size: 11px;
  color: #93a1b3;
  margin-left: auto;
}
.af-script-section {
  padding: 0 0 23px;
  scroll-margin: 20px;
  border-radius: 8px;
  transition: background .3s;
}
.af-script-section.highlight {
  background: #edf5ff;
  box-shadow: 0 0 0 10px #edf5ff;
}
.af-script-section > div > small {
  font-size: 11px;
  color: #99a7bb;
}
.af-script-section h4 {
  font-size: 14px;
  margin: 4px 0 14px;
}
.af-script-section p {
  font-size: 16px;
  line-height: 1.95;
  margin: 10px 0 !important;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.af-line-label {
  display: inline-block;
  font-size: 10px;
  line-height: 1.7;
  padding: 1px 4px;
  border-radius: 3px;
  margin-right: 7px;
  vertical-align: 2px;
  background: #eaf1ff;
  color: #3479d5;
}
.af-line-label.teal {
  background: #e4f6f2;
  color: #278578;
}
.af-line-label.amber {
  background: #fff0df;
  color: #b47828;
}
.af-line-label.red {
  background: #ffeaf0;
  color: #d84c6c;
}
.af-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}
.af-keywords > span {
  background: #f1f6fe;
  color: #3e669b;
  padding: 8px 12px;
  font-size: 15px;
  border-radius: 8px;
}
.af-stale-note {
  background: #fff8ed;
  color: #9b783f;
  font-size: 13px;
  padding: 13px 16px;
  border-radius: 9px;
  margin: 15px 0;
  line-height: 1.7;
}
.af-stale-note p {
  margin: 6px 0 0;
}
.af-script-card > .af-stale-note,
.af-script-card > .af-saved-notes {
  margin: 12px 24px !important;
}
.af-questions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.af-questions button {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  color: #6e839f;
  background: white;
  border: 1px solid #e0e8f3;
  padding: 8px 12px;
  border-radius: 20px;
}
.af-call {
  position: sticky;
  top: 90px;
  border: 1px solid #dbe6f6;
  border-radius: 20px;
  padding: 20px;
  background:
    radial-gradient(
      ellipse at 50% 33%,
      #e6f2ff,
      transparent 60%),
    #fff;
  box-shadow: 0 12px 36px #19457908;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 13px;
  z-index: 2;
}
.af-side {
  position: relative;
}
.af-call > .row {
  font-size: 14px;
}
.af-call > .row small {
  font-size: 11px;
}
.af-orbit {
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  position: relative;
  margin: 6px auto -5px;
}
.af-orbit > i {
  position: absolute;
  inset: 7px;
  border: 1px solid #6aabfb22;
  border-radius: 50%;
  transform: rotate(-25deg);
}
.af-orbit > i:nth-child(2) {
  inset: 20px;
  border-style: dashed;
  border-color: #a6d2f963;
  transform: rotate(35deg);
}
.af-orbit .af-mark {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 27px;
  z-index: 1;
}
.af-call h2 {
  font-size: 17px;
}
.af-call.connecting .af-orbit > i {
  animation: af-ring 1.2s ease-out infinite;
}
.af-call.connecting .af-orbit > i:nth-child(2) {
  animation-delay: .4s;
}
.af-bars {
  height: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  color: #7dacf6;
}
.af-bars i {
  width: 3px;
  max-height: 24px;
  background: currentColor;
  border-radius: 4px;
  opacity: .45;
}
.af-call.speaking .af-bars i {
  animation: af-wave .65s ease-in-out infinite alternate;
  opacity: .85;
}
.af-call-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f1f5fb;
  border-radius: 9px;
  padding: 3px;
  gap: 4px;
}
.af-call-mode button {
  background: transparent;
  border-radius: 7px;
  color: #7586a0;
  font-size: 12px;
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 7px;
}
.af-call-mode button.selected {
  background: white;
  color: #1664ff;
  box-shadow: 0 2px 5px #11254409;
}
.af-call > .btn {
  width: 100%;
  justify-content: center;
}
.af-call-buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.af-call-buttons button {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  color: #526d92;
  background: transparent;
  font-size: 11px;
  padding: 3px;
}
.af-call-buttons button > svg {
  box-sizing: content-box;
  background: #edf3fc;
  border-radius: 50%;
  padding: 11px;
}
.af-call-buttons button.hangup {
  color: #d65971;
}
.af-call-buttons button.hangup > svg {
  background: #fff0f3;
}
.af-call > small {
  font-size: 10px;
  color: #9aacc3;
}
.af-call-disclosure {
  font-size: 10px !important;
  color: #a1aec0;
  line-height: 1.6;
}
.af-call > .progress-track {
  margin: 0;
}
.af-update-plan {
  padding: 20px;
  background: white;
  border: 1px solid var(--af-line);
  border-radius: 14px;
}
.af-update-plan b {
  font-size: 13px;
}
.af-update-plan > .row {
  color: #527198;
}
.af-update-plan p {
  font-size: 11px;
  color: #8394ac;
  margin: 9px 0 10px;
}
.af-update-plan button {
  background: transparent;
  border-top: 1px solid #eef2f8;
  padding: 11px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 12px;
  color: #4978b7;
}
.af-update-plan button:last-child {
  padding-bottom: 0;
}
.af-optional > small {
  font-size: 10px;
  color: #8c9db3;
  display: block;
  margin-bottom: 12px;
}
.af-optional > button {
  display: flex;
  gap: 12px;
  align-items: center;
  background: transparent;
  width: 100%;
  text-align: left;
  color: #7188a8;
  padding: 12px 0;
  border-bottom: 1px solid #e6edf6;
}
.af-optional > button > span {
  flex: 1;
}
.af-optional b {
  font-size: 12px;
  color: #526a8d;
  font-weight: 500;
  display: block;
}
.af-optional small {
  font-size: 10px;
  display: block;
  color: #8e9db3;
}
.af-slogan {
  font-size: 19px;
  font-weight: 550;
  color: #ced9e9;
  letter-spacing: 1px;
  padding: 6px;
}
.af-composer-wrap {
  position: fixed;
  bottom: 0;
  left: var(--af-sidebar);
  right: 0;
  z-index: 25;
  padding: 24px 34px 10px;
  background:
    linear-gradient(
      0deg,
      #f7f9fc 70%,
      #f7f9fc00);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.af-composer {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  max-width: 990px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #c7d9f3;
  border-radius: 16px;
  padding: 11px 13px;
  box-shadow: 0 8px 35px #173d7c0b;
}
.af-composer:focus-within {
  border-color: #6c9feb;
  box-shadow: 0 0 0 3px #1664ff08;
}
.af-composer textarea {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  resize: none;
  font-size: 14px;
  line-height: 1.6;
  height: 44px;
  max-height: 120px;
  padding: 10px 0;
  background: transparent;
  color: #254265;
}
.af-composer textarea::placeholder {
  color: #98a7bb;
}
.af-composer > button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #1664ff;
  color: white;
  flex: 0 0 auto;
}
.af-composer > button:disabled {
  background: #e6eef9;
  color: #9cb3d4;
}
.af-composer-wrap > small {
  font-size: 9px;
  color: #9ba9be;
  margin-top: 6px;
}
.af-material-context,
.af-history {
  border: 1px solid #e2eaf5;
  border-radius: 12px;
  padding: 20px;
  margin: 15px 0;
}
.af-material-context h3,
.af-history h3 {
  margin: 10px 0;
  font-size: 18px;
}
.af-material-context p,
.af-history p {
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 10px 0;
}
.af-material-context small {
  display: block;
  margin: 10px 0 0;
  font-size: 11px;
  color: #8799b1;
}
.af-script-editor label {
  display: block;
  margin: 23px 0;
}
.af-script-editor label > span {
  margin-right: 12px;
  font-size: 13px;
}
.af-script-editor textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dbe5f3;
  padding: 14px;
  line-height: 1.9;
  border-radius: 9px;
  color: #2d496e;
  background: #fafcff;
  font-size: 16px;
  resize: vertical;
  margin-top: 10px;
}
.af-reset {
  position: fixed;
  bottom: 8px;
  left: 9px;
  z-index: 55;
  color: #a5b2c5;
  background: transparent;
  padding: 4px;
  opacity: .42;
  border-radius: 4px;
}
.af-reset:hover,
.af-reset:focus-visible {
  opacity: 1;
  background: #eaf1fc;
  color: #1664ff;
}
.af-voice-badge {
  font-size: 11px;
  color: #8091a8;
  white-space: nowrap;
}
.af-reference-copy {
  white-space: pre-wrap;
  line-height: 1.95;
  font-size: 16px;
  margin: 20px 0;
}
.af-reference-video {
  margin-top: 18px;
  border: 1px solid #dfe9f5;
  border-radius: 12px;
  padding: 14px;
  background: #f9fbff;
}
.af-reference-video video {
  display: block;
  width: min(100%, 220px);
  max-height: 360px;
  background: #12253b;
  margin: 14px auto;
  border-radius: 9px;
}
.af-reference-video p {
  font-size: 12px;
  line-height: 1.8;
  color: #6c7f99;
}
.af-reference-video h4 {
  font-size: 14px;
  margin: 0;
}
.af-rehearsal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.af-portrait-column {
  position: sticky;
  top: 90px;
}
.af-portrait-column .mode-switch small {
  font-size: 10px;
}
.af-portrait {
  position: relative;
  aspect-ratio: 9/16;
  background: #17263d;
  border-radius: 13px;
  overflow: hidden;
}
.af-portrait > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.af-portrait-top {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 15px 13px 30px;
  background: linear-gradient(#111e3580, transparent);
  color: #fff;
}
.af-portrait-top > span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
}
.af-portrait-top i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fb6686;
}
.af-portrait-top small {
  font-size: 8px;
}
.af-photo-label {
  position: absolute;
  top: 48px;
  left: 13px;
  color: #fff9;
  font-size: 9px;
}
.af-viewer-chat {
  position: absolute;
  bottom: 25px;
  left: 12px;
  right: 12px;
}
.af-viewer-chat p {
  background: #1b273980;
  color: #fff;
  font-size: 12px;
  line-height: 1.8;
  border-radius: 9px;
  padding: 6px 10px;
  margin: 5px 0;
  animation: af-appear .3s;
}
.af-viewer-chat b {
  color: #ade1ff;
  font-weight: 500;
}
.af-viewer-chat > small {
  font-size: 9px;
  color: #ffffffbb;
  padding-left: 7px;
}
.af-rehearsal-time {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 12px;
  color: #788daa;
}
.af-rehearsal-time b {
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  color: #335782;
}
.af-portrait-column .btn {
  font-size: 13px;
  min-height: 40px;
}
.af-portrait-column > .fine {
  font-size: 10px;
  line-height: 1.8;
  margin-top: 15px;
  color: #91a0b4;
}
.af-rehearsal-script {
  min-width: 0;
  padding: 24px;
  background: white;
  border: 1px solid var(--af-line);
  border-radius: 16px;
}
.af-rehearsal-script > .row h2 {
  font-size: 18px;
  margin-top: 12px;
}
.af-rehearsal-script > .row .text-btn {
  font-size: 12px;
  white-space: nowrap;
}
.af-practice-scroll {
  max-height: 620px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #ccd8e9 transparent;
  margin: 20px 0;
  padding-right: 8px;
}
.af-memory-card {
  padding: 18px;
  background: #f8faff;
  border: 1px solid #e9eff9;
  border-radius: 12px;
  margin-bottom: 13px;
}
.af-memory-index {
  font-size: 12px;
  color: #9db1cb;
}
.af-memory-card h3 {
  font-size: 17px;
  margin-top: 13px;
}
.af-memory-card p {
  font-size: 12px;
  color: #8296b1;
  line-height: 1.8;
}
.af-memory-card .af-keywords span {
  background: white;
  border: 1px solid #e3ecf9;
  font-size: 14px;
}
.af-practice-companion {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 18px 0;
  margin: 15px 0;
  border-top: 1px solid #e8eef6;
}
.af-practice-companion > div {
  flex: 1;
}
.af-practice-companion b {
  font-size: 13px;
}
.af-practice-companion p {
  font-size: 14px;
  line-height: 1.85;
  color: #6b81a0;
  margin-top: 5px;
}
.af-result {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 30px;
  margin: 20px 0;
}
.af-result-score {
  background: #f2f7ff;
  border-radius: 15px;
  text-align: center;
  padding: 20px;
}
.af-result-score .af-mark {
  width: 50px;
  height: 50px;
  border-radius: 18px;
}
.af-result-score > strong {
  font-size: 60px;
  display: block;
  color: #245cbb;
  margin: 10px 0;
}
.af-result-score > strong small {
  font-size: 15px;
  color: #8ba6cb;
}
.af-result-score p {
  font-size: 12px;
  color: #7391b8;
  margin-top: 13px;
}
.af-result > div > p {
  line-height: 1.9;
  font-size: 14px;
  margin: 18px 0;
}
@keyframes af-breathe {
  50% {
    box-shadow: 0 0 0 8px #1664ff0c, 0 0 35px #39a9ff36;
    transform: translateY(-2px);
  }
}
@keyframes af-ring {
  from {
    transform: scale(.7);
    opacity: .9;
  }
  to {
    transform: scale(1.25);
    opacity: 0;
  }
}
@keyframes af-wave {
  to {
    transform: scaleY(.25);
  }
}
@keyframes af-appear {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  .af-body-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 40px;
  }
  .af-metric-grid {
    gap: 45px;
  }
  .af-call {
    padding: 25px;
  }
  .af-script-section p {
    font-size: 17px;
  }
  .af-workspace .af-signal > p {
    font-size: 15px;
  }
}
@media (max-width: 1250px) {
  :root {
    --af-sidebar:185px;
  }
  .af-body-grid {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) 247px;
  }
  .af-metric-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 22px;
  }
  .af-spark-chart {
    display: none;
  }
  .af-metrics {
    padding-left: 22px;
    padding-right: 22px;
  }
  .af-topline h1 {
    font-size: 24px;
  }
  .af-signal {
    padding: 18px;
  }
  .af-signal .row.spread {
    flex-wrap: wrap;
    gap: 10px;
  }
  .af-script-card-top {
    padding: 20px;
  }
  .af-script-card-top h2 {
    font-size: 18px;
  }
  .af-rehearsal-layout {
    grid-template-columns: 285px minmax(0, 1fr);
    gap: 22px;
  }
}
@media (max-width: 1000px) {
  :root {
    --af-sidebar:75px;
  }
  .af-rehearsal-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
  .af-call {
    padding: 17px;
  }
  .af-body-grid {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 18px;
  }
  .af-rivals {
    gap: 9px;
  }
  .af-rivals span {
    font-size: 12px;
  }
  .af-rivals span small {
    display: block;
  }
  .af-topline {
    align-items: flex-start;
  }
  .af-topline h1 {
    font-size: 22px;
  }
  .af-material-button {
    font-size: 11px;
  }
  .af-rehearsal-script {
    padding: 19px;
  }
  .af-rehearsal-script > .row {
    flex-wrap: wrap;
    gap: 12px;
  }
  .af-voice-badge {
    display: none;
  }
}
@media (max-width: 760px) {
  :root {
    --af-sidebar:0px;
  }
  .af-body-grid {
    grid-template-columns: 1fr;
  }
  .af-side {
    order: -1;
  }
  .af-call {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 10px;
  }
  .af-call > .row {
    grid-column: 1/-1;
  }
  .af-orbit {
    grid-row: 2/5;
    width: 110px;
    height: 110px;
    margin: auto;
  }
  .af-call h2 {
    font-size: 15px;
  }
  .af-call > .af-bars {
    display: none;
  }
  .af-call > .af-call-mode {
    grid-column: 2;
  }
  .af-call .af-call-buttons {
    gap: 20px;
  }
  .af-call > .af-call-disclosure {
    grid-column: 1/-1;
  }
  .af-call > small {
    grid-column: 1/-1;
  }
  .af-call .af-call-buttons {
    grid-column: 2;
  }
  .af-update-plan,
  .af-optional,
  .af-slogan {
    display: none;
  }
  .af-metric-grid {
    gap: 16px;
  }
  .af-count > strong {
    font-size: 42px;
  }
  .af-benchmark {
    padding-left: 16px;
  }
  .af-count em {
    font-size: 10px;
  }
  .af-count em span {
    display: none;
  }
  .af-benchmark p {
    font-size: 10px;
  }
  .af-topline {
    gap: 12px;
    flex-wrap: wrap;
  }
  .af-metrics {
    margin-bottom: 20px;
  }
  .af-composer-wrap {
    bottom: 65px;
    padding: 20px 13px 7px;
  }
  .af-composer textarea {
    font-size: 13px;
  }
  .af-composer .af-mark {
    display: none;
  }
  .af-reset {
    bottom: 67px;
    left: 1px;
    z-index: 28;
  }
  .af-script-card-top {
    flex-wrap: wrap;
  }
  .af-script-toolbar {
    padding: 12px 18px;
    gap: 12px;
  }
  .af-script-scroll {
    padding: 20px;
  }
  .af-welcome {
    padding: 15px 0;
  }
  .af-welcome .af-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }
  .af-welcome p {
    font-size: 14px;
  }
  .af-coauthor-card {
    padding: 20px;
  }
  .af-coauthor-intro {
    font-size: 11px;
  }
  .af-script-heading small {
    display: none;
  }
  .af-rehearsal-layout {
    grid-template-columns: 1fr;
  }
  .af-portrait-column {
    position: static;
    width: min(100%, 310px);
    margin: auto;
  }
  .af-practice-scroll {
    max-height: 650px;
  }
  .af-result {
    grid-template-columns: 1fr;
  }
  .af-script-section p {
    font-size: 15px;
  }
  .af-message p {
    font-size: 15px;
  }
  .af-material-button {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .af-workspace *,
  .af-practice * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
.af-director {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #617492 !important;
  font-size: 13px !important;
  background: #f3f6fb;
  padding: 9px 12px;
  border-radius: 8px;
}
.af-director svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.af-script-evidence {
  margin-top: 12px;
  color: #6d7b91;
  font-size: 13px;
}
.af-script-evidence p {
  font-size: 13px !important;
}
.af-script-evidence summary,
.af-faq-library summary {
  cursor: pointer;
  padding: 8px 0;
}
.af-faq-library {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #e3eaf3;
  border-radius: 12px;
}
.af-faq-library section {
  padding: 12px 0;
  border-top: 1px solid #e3eaf3;
}
.af-line-label.purple {
  color: #7d4ad1;
  background: #f0e9fe;
}
.af-line-label.gray {
  color: #627086;
  background: #edf0f5;
}
.af-content-upgrade {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  padding: 12px 16px;
  background: #edf5ff;
  border: 1px solid #cedfff;
  border-radius: 12px;
  color: #285ca4;
  font-size: 14px;
}

/* operations.css */
.operations {
  color: #253956;
  --op-muted:#7d8da5;
  --op-line:#e3eaf4;
  --op-blue:#1664ff;
}
.operations h2 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
}
.operations h3 {
  font-size: 15px;
  font-weight: 600;
}
.operations .panel {
  background: #fff;
  border: 1px solid var(--op-line);
  border-radius: 15px;
}
.op-context {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:
    linear-gradient(
      110deg,
      #eef5ff,
      #f7faff);
  border: 1px solid #dce9ff;
  padding: 18px 22px;
  border-radius: 14px;
  margin: 24px 0;
}
.op-context > div,
.op-context > span,
.op-release-banner > div {
  display: flex;
  align-items: center;
  gap: 13px;
}
.op-context b {
  font-size: 14px;
}
.op-context p {
  font-size: 11px;
  color: var(--op-muted);
  margin-top: 3px;
}
.op-context > span {
  font-size: 11px;
  color: var(--op-muted);
  gap: 8px;
}
.op-context > span > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #52ab93;
}
.op-context-icon,
.op-release-icon {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  background: white;
  border: 1px solid #d9e6fa;
  border-radius: 12px;
  color: var(--op-blue);
}
.op-tabs {
  display: flex;
  gap: 27px;
  border-bottom: 1px solid var(--op-line);
  margin-bottom: 28px;
  overflow: auto;
}
.op-tabs > button {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7a8ba5;
  font-size: 13px;
  padding: 12px 0 16px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.op-tabs > button.active {
  color: var(--op-blue);
  border-bottom-color: var(--op-blue);
  font-weight: 600;
}
.op-tabs em {
  font-size: 10px;
  font-style: normal;
  padding: 1px 5px;
  border-radius: 8px;
  background: #edf3ff;
}
.op-library-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 27px;
}
.op-people {
  display: flex;
  gap: 9px;
}
.op-people > button {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 10px 13px;
  background: white;
  border: 1px solid var(--op-line);
  border-radius: 10px;
  min-width: 132px;
}
.op-people > button.active {
  border-color: #8bb5ff;
  background: #f1f6ff;
  box-shadow: 0 0 0 2px #1664ff06;
}
.op-people > button > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  font-size: 13px;
}
.op-people b {
  display: block;
  font-size: 13px;
}
.op-people small {
  display: block;
  font-size: 9px;
  color: var(--op-muted);
  margin-top: 2px;
}
.operations input:not([type=checkbox]),
.operations textarea,
.operations select {
  font: inherit;
  border: 1px solid #dbe5f2;
  background: #fff;
  color: #314966;
  border-radius: 9px;
  padding: 11px 12px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  min-width: 0;
}
.operations input:focus,
.operations textarea:focus,
.operations select:focus {
  border-color: #90b9ff;
  box-shadow: 0 0 0 3px #1664ff09;
}
.operations input::placeholder,
.operations textarea::placeholder {
  color: #a1adbf;
}
.operations textarea {
  resize: vertical;
  line-height: 1.8;
}
.operations .op-search {
  max-width: 240px;
  font-size: 12px;
}
.op-library-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 26px;
  align-items: start;
}
.op-section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.op-section-top small {
  font-size: 10px;
  color: var(--op-muted);
}
.op-section-top .eyebrow {
  font-size: 9px;
  letter-spacing: 1px;
}
.op-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.op-method {
  padding: 19px;
  background: #fff;
  text-align: left;
  border: 1px solid var(--op-line);
  border-radius: 13px;
  transition: box-shadow .2s, border-color .2s;
}
.op-method:hover {
  border-color: #b8d0f5;
  box-shadow: 0 10px 28px #24385506;
}
.op-method.active {
  border-color: #84b2ff;
  background: #fbfdff;
}
.op-method-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 19px;
}
.op-method-top > span:first-child {
  width: 33px;
  height: 33px;
  background: #eef4ff;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #4781d6;
}
.op-method .tag {
  font-size: 9px;
}
.op-method h3 {
  line-height: 1.7;
  min-height: 51px;
}
.op-method > p {
  font-size: 11px;
  color: #8190a7;
  line-height: 1.8;
  margin-top: 10px;
  min-height: 60px;
}
.op-method footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: #8a9ab1;
  border-top: 1px solid #edf1f7;
  padding-top: 13px;
  margin-top: 17px;
}
.op-method footer > svg {
  color: #77a2e7;
}
.op-detail {
  padding: 24px;
  position: sticky;
  top: 93px;
}
.op-detail h2 {
  font-size: 20px;
  line-height: 1.6;
}
.op-detail-source {
  font-size: 10px;
  color: #8b9ab0;
  margin: 7px 0 21px;
}
.op-detail-block {
  margin-top: 19px;
}
.op-detail-block > small {
  font-size: 10px;
  color: #8ca0bc;
}
.op-detail-block > p {
  font-size: 13px;
  line-height: 1.9;
  margin-top: 7px;
}
.op-prewrap {
  white-space: pre-wrap;
}
.op-good-example {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: #f1f8f7;
  border-radius: 11px;
  margin: 23px 0;
  color: #339c83;
}
.op-good-example svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.op-good-example b {
  font-size: 11px;
}
.op-good-example p {
  font-size: 12px;
  line-height: 1.9;
  color: #557f79;
  margin-top: 7px;
}
.op-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.op-detail-actions .btn {
  font-size: 11px;
  padding: 9px 11px;
  min-height: 38px;
}
.op-detail-actions .text-btn {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.op-empty {
  min-height: 285px;
  border: 1px dashed #d9e4f3;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 20px;
  background: #fbfdff;
}
.op-empty > span {
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  background: #edf4ff;
  border-radius: 16px;
  color: #6d98d5;
  margin-bottom: 17px;
}
.op-empty h3 {
  font-size: 16px;
}
.op-empty p {
  max-width: 345px;
  color: #8a9ab0;
  font-size: 12px;
  line-height: 1.8;
  margin: 11px 0 19px;
}
.op-builder-grid {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.op-guide {
  padding: 12px 0;
  position: sticky;
  top: 95px;
}
.op-guide-heading {
  display: flex;
  align-items: center;
  gap: 11px;
}
.op-guide-heading b {
  font-size: 14px;
  display: block;
}
.op-guide-heading small {
  font-size: 9px;
  display: block;
  color: #8d9db3;
  margin-top: 4px;
}
.op-steps {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}
.op-steps > li {
  display: flex;
  gap: 12px;
  min-height: 73px;
  position: relative;
}
.op-steps > li:not(:last-child)::after {
  content: "";
  width: 1px;
  background: #dce6f4;
  position: absolute;
  top: 32px;
  bottom: 7px;
  left: 14px;
}
.op-steps > li > span {
  width: 29px;
  height: 29px;
  flex-shrink: 0;
  border: 1px solid #d8e3f2;
  border-radius: 50%;
  color: #92a2b8;
  font-size: 11px;
  display: grid;
  place-items: center;
}
.op-steps b {
  font-size: 12px;
  font-weight: 500;
  display: block;
  color: #8d9db1;
  margin-top: 3px;
}
.op-steps small {
  font-size: 9px;
  display: block;
  color: #a1afc0;
  margin-top: 6px;
}
.op-steps .active > span {
  background: #1664ff;
  color: #fff;
  border-color: #1664ff;
  box-shadow: 0 0 0 4px #1664ff0a;
}
.op-steps .active b {
  color: #265693;
  font-weight: 600;
}
.op-steps .done > span {
  color: #35a28a;
  background: #edf8f4;
  border-color: #d2eee4;
}
.op-conversation {
  background: #f0f5fd;
  border-radius: 13px;
  padding: 17px;
}
.op-conversation > span {
  color: #7290b8;
  font-size: 9px;
}
.op-conversation > p {
  font-size: 12px;
  color: #5c769a;
  line-height: 1.9;
  margin-top: 8px;
}
.op-user-experience {
  font-size: 10px;
  line-height: 1.9;
  margin-top: 15px;
  padding: 12px;
  background: white;
  border-radius: 10px;
  color: #8293ab;
}
.op-builder-main {
  padding: 28px;
  min-height: 520px;
}
.op-builder-main > .eyebrow {
  font-size: 10px;
}
.op-builder-main > h2 {
  margin-top: 9px;
  font-size: 22px;
}
.op-helper {
  font-size: 12px;
  line-height: 1.85;
  color: #8c9bb0;
  margin: 11px 0 22px;
}
.op-field {
  display: block;
  margin-bottom: 19px;
}
.op-field > span {
  font-size: 12px;
  color: #526b8d;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  font-weight: 500;
}
.op-field > span small {
  font-size: 9px;
  color: #9cabbf;
  font-weight: 400;
}
.op-field input,
.op-field select,
.op-field textarea {
  font-size: 12px !important;
}
.op-field select + textarea {
  margin-top: 9px;
}
.op-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #e7eef7;
  padding-top: 19px;
  margin-top: 23px;
}
.op-form-footer .text-btn {
  font-size: 11px;
}
.op-form-footer .btn {
  font-size: 12px;
}
.op-structured-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 17px;
}
.op-field-title,
.op-field-rules,
.op-field-output {
  grid-column: 1/-1;
}
.operations textarea.op-code {
  height: 430px;
  min-height: 260px;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  font-size: 11px;
  line-height: 1.75;
  background: #f8faff;
  color: #526987;
}
.op-checks {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}
.op-checks > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #637b97;
}
.op-checks > div.pass > svg {
  color: #38a58a;
}
.op-checks > div.fail {
  color: #b97b35;
}
.op-checks > small {
  font-size: 9px;
  line-height: 1.8;
  color: #98a6ba;
  display: block;
  margin-top: 3px;
}
.op-error {
  background: #fff5ef;
  color: #af6747;
  border: 1px solid #f3dfd2;
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 11px 13px;
  font-size: 11px;
  line-height: 1.7;
  border-radius: 9px;
  margin-top: 17px;
}
.op-created {
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.op-created > span:first-child {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: #edf9f5;
  color: #3aa486;
  border-radius: 23px;
  margin-bottom: 20px;
}
.op-created h2 {
  font-size: 24px;
  max-width: 460px;
  margin: 18px 0 12px;
}
.op-created p {
  color: #8b9bb1;
  font-size: 12px;
  line-height: 1.9;
}
.op-created-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
}
.op-created-actions .text-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
.op-debug-heading,
.op-knowledge-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 23px;
}
.op-debug-heading p,
.op-knowledge-heading p {
  font-size: 11px;
  color: #8c9cb2;
  line-height: 1.8;
  margin-top: 7px;
}
.op-debug-grid {
  display: grid;
  grid-template-columns: 315px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.op-debug-controls {
  padding: 22px;
}
.op-wide {
  width: 100%;
  justify-content: center;
  font-size: 12px !important;
}
.op-save-rules {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: 100%;
  font-size: 10px;
  margin-top: 15px;
}
.op-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.op-comparison > .panel {
  padding: 21px;
  min-height: 285px;
}
.op-comparison .op-section-top h3 {
  font-size: 14px;
}
.op-comparison .tag {
  font-size: 9px;
}
.op-comparison .op-candidate {
  border-color: #b6d1fc;
  background: #fcfdff;
}
.op-output-text {
  font-size: 13px;
  line-height: 2;
  color: #526985;
  white-space: pre-wrap;
}
.op-baseline .op-output-text {
  color: #8d9eb3;
}
.op-result-note {
  font-size: 10px;
  color: #b29b7b;
  line-height: 1.8;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding-top: 19px;
  margin-top: 19px;
  border-top: 1px solid #edf1f6;
}
.op-result-note svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.op-result-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.op-debug-checks {
  margin-top: 18px;
  padding: 23px;
}
.op-debug-checks .op-checks {
  margin-top: 3px;
}
.op-model-boundary {
  display: flex;
  gap: 9px;
  color: #96a7be;
  background: #f7f9fd;
  border-radius: 9px;
  padding: 12px;
  margin-top: 21px;
}
.op-model-boundary > svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.op-model-boundary > p {
  font-size: 10px;
  line-height: 1.8;
}
.op-debug-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  color: #a2b4cd;
}
.op-debug-empty b {
  font-size: 12px;
  font-weight: 500;
  color: #7c91ac;
  margin: 12px 0 5px;
}
.op-debug-empty p {
  font-size: 10px;
  color: #9aabc0;
}
.op-debug-history {
  font-size: 9px;
  color: #a2aec0;
  padding: 17px 2px;
}
.op-replay-progress {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 19px;
  background: #edf4ff;
  border-radius: 12px;
  margin-bottom: 17px;
}
.op-replay-progress > div {
  flex: 1;
}
.op-replay-progress b {
  font-size: 11px;
  color: #597cae;
}
.op-replay-progress .progress-track {
  margin: 9px 0 3px;
  height: 3px;
}
.op-replay-progress > span {
  font-size: 12px;
  color: #528be5;
}
.op-release-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 23px;
  border: 1px solid #d8e8fe;
  background: #f0f6ff;
  border-radius: 14px;
  margin-bottom: 24px;
}
.op-release-banner b {
  font-size: 14px;
}
.op-release-banner p {
  font-size: 11px;
  color: #7790b1;
  margin-top: 5px;
}
.op-release-banner .btn {
  font-size: 11px;
}
.op-version-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.op-version-list {
  padding: 21px 17px;
}
.op-version-list > button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  text-align: left;
  padding: 16px 12px;
  border: 1px solid transparent;
  border-top-color: #edf1f6;
  border-radius: 9px;
}
.op-version-list > button.active {
  border-color: #c7dcfb;
  background: #f3f7fe;
}
.op-version-list > button b {
  font-size: 11px;
  display: block;
  line-height: 1.8;
}
.op-version-list > button span:not(.tag) {
  font-size: 9px;
  display: block;
  color: #9aabc0;
  margin-top: 5px;
}
.op-version-list .tag {
  font-size: 9px;
  flex-shrink: 0;
}
.op-version-detail {
  padding: 25px;
}
.op-release-flow {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 26px 0;
}
.op-release-flow > span {
  font-size: 10px;
  white-space: nowrap;
  color: #abb7c9;
  background: #f4f6fa;
  padding: 6px 9px;
  border-radius: 7px;
}
.op-release-flow > span.done {
  background: #edf4ff;
  color: #467dc8;
}
.op-release-flow > i {
  height: 1px;
  flex: 1;
  background: #dce7f6;
}
.op-audit {
  display: grid;
  gap: 11px;
  border-top: 1px solid #e9eff6;
  border-bottom: 1px solid #e9eff6;
  padding: 18px 0;
  margin: 23px 0;
}
.op-audit p {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #8296b2;
  font-size: 10px;
  line-height: 1.8;
}
.op-audit p > span {
  color: #a0aec0;
}
.op-review-ack {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  line-height: 1.8;
  color: #7389a5;
  margin-bottom: 20px;
}
.op-review-ack input {
  accent-color: #1664ff;
  margin-top: 4px;
}
.op-version-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.op-version-actions .btn {
  font-size: 11px;
  padding: 10px 12px;
}
.op-version-actions .text-btn {
  font-size: 10px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.op-local-boundary {
  font-size: 9px;
  color: #a4b0c1;
  line-height: 1.9;
  margin-top: 20px;
}
.op-filters {
  display: flex;
  gap: 10px;
  margin: 25px 0 20px;
  flex-wrap: wrap;
}
.op-filters button {
  font-size: 12px;
  color: #8094ae;
  background: #fff;
  border: 1px solid var(--op-line);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.op-filters button.active {
  background: #edf4ff;
  border-color: #bad4fa;
  color: #3076dc;
}
.op-filters span {
  font-size: 9px;
  color: #96a9c2;
}
.op-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.op-knowledge-card {
  padding: 23px;
  display: flex;
  flex-direction: column;
}
.op-knowledge-card h3 {
  font-size: 16px;
  margin-bottom: 12px;
}
.op-knowledge-card > p {
  font-size: 12px;
  color: #7186a3;
  line-height: 1.95;
  flex: 1;
}
.op-knowledge-card footer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 9px;
  color: #9aaabd;
  line-height: 1.8;
  border-top: 1px solid #eaf0f7;
  padding-top: 14px;
  margin-top: 20px;
  overflow-wrap: anywhere;
}
.op-knowledge-card footer svg {
  flex-shrink: 0;
  margin-top: 1px;
}
.op-knowledge-rule {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 22px;
  border-radius: 11px;
  background: #f0f5fc;
  color: #7192bc;
  margin-top: 23px;
}
.op-knowledge-rule svg {
  flex-shrink: 0;
  margin-top: 1px;
}
.op-knowledge-rule b {
  font-size: 12px;
}
.op-knowledge-rule p {
  font-size: 11px;
  line-height: 1.9;
  color: #8096b4;
  margin-top: 6px;
}
.operations button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.operations button:focus-visible {
  outline: 2px solid #75aaff;
  outline-offset: 3px;
}
@media (min-width: 1550px) {
  .op-library-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  }
  .op-debug-grid {
    grid-template-columns: 340px minmax(0, 1fr);
  }
  .op-builder-grid {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 40px;
  }
  .op-method h3 {
    font-size: 17px;
  }
  .op-method > p {
    font-size: 12px;
  }
}
@media (max-width: 1180px) {
  .op-people > button {
    min-width: 108px;
    padding: 9px;
  }
  .op-people small {
    display: none;
  }
  .op-library-grid {
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(285px, 1fr);
  }
  .op-methods {
    grid-template-columns: 1fr;
  }
  .op-method h3,
  .op-method > p {
    min-height: 0;
  }
  .op-method-top {
    margin-bottom: 12px;
  }
  .op-detail {
    padding: 21px;
  }
  .op-builder-grid {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 22px;
  }
  .op-builder-main {
    padding: 23px;
  }
  .op-debug-grid {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 18px;
  }
  .op-debug-controls {
    padding: 18px;
  }
  .op-comparison {
    grid-template-columns: 1fr;
  }
  .op-comparison > .panel {
    min-height: 190px;
  }
  .op-version-grid {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 19px;
  }
  .op-release-flow {
    gap: 5px;
  }
  .op-release-flow > span {
    font-size: 9px;
    padding: 6px;
  }
  .op-release-banner p {
    font-size: 10px;
  }
}
@media (max-width: 760px) {
  .op-context {
    padding: 15px;
  }
  .op-context > span {
    font-size: 9px;
    max-width: 120px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .op-context > span > i {
    display: none;
  }
  .op-context p {
    font-size: 9px;
  }
  .op-context b {
    font-size: 12px;
  }
  .op-context-icon {
    width: 34px;
    height: 34px;
  }
  .op-tabs {
    gap: 19px;
    margin-bottom: 20px;
  }
  .op-tabs > button {
    font-size: 12px;
  }
  .op-tabs > button > svg {
    display: none;
  }
  .op-library-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }
  .op-people {
    gap: 7px;
  }
  .op-people > button {
    flex: 1;
    min-width: 0;
  }
  .op-people > button > span {
    width: 27px;
    height: 27px;
  }
  .operations .op-search {
    max-width: none;
  }
  .op-library-grid,
  .op-builder-grid,
  .op-debug-grid,
  .op-version-grid,
  .op-knowledge-grid {
    grid-template-columns: 1fr;
  }
  .op-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .op-method {
    padding: 14px;
  }
  .op-method h3 {
    font-size: 13px;
    min-height: 45px;
  }
  .op-method > p {
    font-size: 10px;
  }
  .op-method-top {
    flex-wrap: wrap;
  }
  .op-method footer {
    font-size: 8px;
  }
  .op-detail,
  .op-guide {
    position: static;
  }
  .op-detail {
    margin-top: 5px;
  }
  .op-guide-heading {
    display: none;
  }
  .op-steps {
    display: flex;
    gap: 8px;
    margin: 0;
  }
  .op-steps > li {
    min-height: 35px;
    flex: 1;
    gap: 6px;
    align-items: center;
  }
  .op-steps > li:after,
  .op-steps small {
    display: none;
  }
  .op-steps > li > span {
    width: 23px;
    height: 23px;
    font-size: 10px;
  }
  .op-steps b {
    font-size: 9px;
    line-height: 1.7;
    margin: 0;
  }
  .op-conversation {
    display: none;
  }
  .op-builder-grid {
    gap: 12px;
  }
  .op-builder-main {
    padding: 20px;
    min-height: 420px;
  }
  .op-builder-main > h2 {
    font-size: 20px;
  }
  .op-structured-fields {
    grid-template-columns: 1fr;
  }
  .op-field-title,
  .op-field-rules,
  .op-field-output {
    grid-column: auto;
  }
  .op-debug-heading,
  .op-knowledge-heading {
    align-items: flex-start;
  }
  .op-debug-heading h2,
  .op-knowledge-heading h2 {
    font-size: 17px;
  }
  .op-debug-heading .tag {
    font-size: 9px;
    max-width: 88px;
    text-align: center;
  }
  .op-debug-heading p,
  .op-knowledge-heading p {
    font-size: 10px;
  }
  .op-debug-controls {
    padding: 19px;
  }
  .op-comparison {
    grid-template-columns: 1fr;
  }
  .op-release-banner {
    padding: 16px;
    align-items: flex-start;
    flex-direction: column;
  }
  .op-release-banner b {
    font-size: 12px;
  }
  .op-release-banner p {
    font-size: 10px;
    line-height: 1.8;
  }
  .op-version-detail {
    padding: 20px;
  }
  .op-version-actions {
    gap: 9px;
  }
  .op-release-flow > span {
    font-size: 10px;
  }
  .op-knowledge-heading .btn {
    font-size: 10px;
    padding: 8px 10px;
    flex-shrink: 0;
  }
  .op-knowledge-card {
    padding: 20px;
  }
  .op-filters {
    gap: 7px;
  }
  .op-filters button {
    font-size: 11px;
    padding: 7px 10px;
  }
  .op-created h2 {
    font-size: 21px;
  }
  .op-created-actions {
    gap: 8px;
  }
  .op-created-actions .btn {
    font-size: 11px;
  }
  .op-form-footer .btn {
    font-size: 11px;
    padding: 10px;
  }
  .op-context .tag {
    font-size: 9px;
  }
}
