.turn-main {
  max-width: 1280px;
  padding-top: 36px;
}
.turn-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 12px 0 30px;
}
.turn-heading h1 {
  font-size: clamp(27px, 3.3vw, 42px);
  line-height: 1.35;
  letter-spacing: -1.2px;
  margin: 12px 0;
}
.turn-heading h1 em {
  font-style: normal;
  color: #568572;
}
.turn-heading p {
  font-size: 14px;
  color: #6b8075;
}
.turn-back {
  font-size: 13px;
}
.connection {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 5px 8px;
  font-size: 12px;
  white-space: nowrap;
  background: white;
  border: 1px solid #dce4da;
  border-radius: 10px;
  padding: 13px 17px;
}
.connection > span:first-child {
  width: 7px;
  height: 7px;
  background: #9aa69c;
  border-radius: 50%;
  margin-top: 6px;
}
.connection small {
  grid-column: 2;
  font-size: 10px;
  color: #7e8f81;
}
.connection.online > span:first-child {
  background: #3c9a7f;
}
.turn-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid #dfe6dc;
  background: #edf1e9;
  border-radius: 12px;
  margin-bottom: 24px;
}
.turn-flow > div {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.turn-flow > div.active {
  opacity: 1;
}
.turn-flow b {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #dce5d8;
  font-size: 11px;
  display: grid;
  place-items: center;
}
.turn-flow .active b {
  background: #285e4f;
  color: #fff;
}
.turn-flow span {
  font-size: 13px;
  font-weight: 600;
}
.turn-flow small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #70816f;
}
.turn-flow i {
  font-style: normal;
  color: #a1ae9d;
}
.turn-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.turn-left,
.turn-right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.listen-card,
.sample-card,
.transcript-card,
.decisions-card,
.events-card,
.text-test {
  border: 1px solid #dce4d9;
  background: white;
  border-radius: 16px;
  padding: 24px;
}
.listen-card {
  background: #fdfefb;
  overflow: hidden;
}
.listen-top,
.section-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.mini-label {
  font-size: 10px;
  letter-spacing: 0.7px;
  color: #879381;
}
.mode-chip {
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 20px;
  background: #edf2e8;
  color: #708464;
}
.orb-wrap {
  height: 156px;
  display: grid;
  place-items: center;
  position: relative;
  margin-top: 12px;
}
.orb {
  width: 91px;
  height: 91px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, #a8c7a2, #477b68);
  box-shadow:
    0 9px 30px #4f806626,
    inset 0 1px 10px #f1fce9b0;
  position: relative;
  z-index: 1;
  transition:
    background 0.4s,
    transform 0.3s;
}
.orb span {
  color: #f7fbf1;
  font-size: 30px;
}
.orb-ring {
  position: absolute;
  width: 122px;
  height: 122px;
  border: 1px solid #d8e6d4;
  border-radius: 50%;
  box-shadow: 0 0 0 13px #f0f5ec80;
}
.state-label {
  text-align: center;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.5px;
}
.state-detail {
  text-align: center;
  font-size: 12px;
  color: #7d8b77;
  min-height: 38px;
  margin: 7px auto 14px;
  max-width: 410px;
}
.listen-card[data-phase="speaking"] .orb,
.listen-card[data-phase="responding"] .orb {
  animation: orb-breathe 1.25s infinite alternate;
}
.listen-card[data-phase="analyzing"] .orb-ring {
  border-style: dashed;
  border-color: #8fab84;
  animation: orb-spin 4s linear infinite;
}
.listen-card[data-phase="analyzing"] .orb {
  background: radial-gradient(circle at 30% 25%, #a6c6c7, #407881);
}
.listen-card[data-phase="waiting"] .orb,
.listen-card[data-phase="endpoint"] .orb {
  background: radial-gradient(circle at 30% 25%, #e5d6a7, #a78e58);
}
.listen-card[data-phase="tool"] .orb {
  background: radial-gradient(circle at 30% 25%, #b7bad9, #747da0);
}
.listen-card[data-phase="error"] .orb {
  background: radial-gradient(circle at 30% 25%, #e4b2a1, #a96959);
}
@keyframes orb-breathe {
  to {
    transform: scale(1.08);
    box-shadow: 0 0 0 9px #5f956815;
  }
}
@keyframes orb-spin {
  to {
    transform: rotate(360deg);
  }
}
#tt-wave {
  width: 100%;
  height: 55px;
  display: block;
}
.vad-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #7b8e78;
  margin: 0 0 20px;
}
.vad-row b {
  font-weight: 500;
  color: #427e64;
}
.listen-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.text-button {
  background: transparent !important;
  border: 0;
  color: #758872 !important;
  padding: 9px 4px;
  font-size: 11px;
}
.privacy-note {
  font-size: 10px;
  color: #929d89;
  text-align: center;
  margin: 16px 0 0;
}
.section-row h2 {
  font-size: 14px;
  margin: 0;
  letter-spacing: -0.2px;
}
.sample-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 17px 0;
}
.sample {
  border: 1px solid #e3e8de !important;
  background: #f7f9f3 !important;
  color: #4e6c58 !important;
  text-align: left;
  border-radius: 9px;
  padding: 12px;
}
.sample:hover {
  border-color: #91af93 !important;
}
.sample strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
}
.sample span {
  font-size: 10px;
  color: #88967e;
  display: block;
  margin-top: 4px;
}
.sample-card .hint {
  font-size: 10px;
}
.sample-card .check {
  font-size: 11px;
  color: #7b8b77;
}
.chat-list {
  max-height: 420px;
  overflow: auto;
  margin-top: 16px;
}
.empty-hint {
  font-size: 11px;
  color: #95a08b;
}
.chat-bubble {
  background: #eff3ea;
  border-radius: 10px 10px 10px 2px;
  padding: 11px 14px;
  margin: 10px 28px 10px 0;
  font-size: 12px;
  color: #4f6656;
}
.chat-bubble.user {
  margin: 10px 0 10px 28px;
  background: #eef4f1;
  border-radius: 10px 10px 2px 10px;
}
.chat-bubble small {
  display: block;
  font-size: 9px;
  color: #8b9a81;
  margin-bottom: 5px;
}
.chat-bubble audio {
  width: 100%;
  height: 30px;
  margin-top: 6px;
}
.semantic-block {
  background: #f6f8f1;
  padding: 18px;
  border-radius: 10px;
  margin-top: 22px;
}
.semantic-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
}
.semantic-header strong {
  font-size: 34px;
  letter-spacing: -1px;
  color: #397b5d;
  line-height: 1.2;
}
.semantic-track {
  height: 8px;
  background: #e4ebdd;
  position: relative;
  border-radius: 10px;
  margin-top: 17px;
}
.semantic-track > div {
  height: 100%;
  width: 0;
  background: #719d74;
  border-radius: 10px;
  transition: width 0.4s;
}
.semantic-track i {
  height: 16px;
  width: 1px;
  position: absolute;
  top: -4px;
  background: #a28c57;
}
.threshold-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 11px 0;
}
.threshold-row label {
  font-size: 10px;
  margin: 0;
  white-space: nowrap;
  color: #8a957d;
}
.threshold-row input {
  flex: 1;
  min-width: 30px;
  accent-color: #789e73;
  height: 3px;
}
.threshold-row output {
  font-size: 10px;
  color: #7c8f6d;
}
.policy-note {
  font-size: 11px;
  color: #6e8562;
  margin: 0;
}
.decision-head {
  margin-top: 23px;
}
.decision-head h3,
.tool-block h3 {
  font-size: 11px;
  font-weight: 500;
  color: #84947b;
  margin: 0 0 10px;
}
.decision-head h3 span {
  float: right;
  color: #456e56;
}
.turn-bar {
  display: grid;
  grid-template-columns: 60px 1fr 43px;
  gap: 9px;
  align-items: center;
  margin: 7px 0;
  font-size: 10px;
  color: #78896f;
}
.turn-bar .track {
  height: 5px;
  background: #f0f3eb;
}
.turn-bar .fill {
  background: #8bad82;
}
.turn-bar.top {
  color: #355e45;
}
.turn-bar.top .fill {
  background: #547e62;
}
.tool-block {
  margin: 23px 0 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #edf1e6;
}
.tool-block strong {
  font-size: 17px;
  font-weight: 600;
  color: #547158;
}
.tool-block h3 {
  margin-bottom: 5px;
}
.timing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-top: 1px solid #edf1e6;
  margin-top: 22px;
  padding-top: 17px;
}
.timing-grid span {
  display: block;
  font-size: 9px;
  color: #8f9c83;
}
.timing-grid strong {
  font-size: 17px;
  font-weight: 500;
  color: #4c6f56;
}
.timing-grid small {
  font-size: 9px;
}
.raw-details {
  font-size: 10px;
  color: #8b987f;
  margin-top: 18px;
}
.raw-details pre {
  font-size: 10px;
  max-height: 280px;
  overflow: auto;
  background: #f6f8f1;
  padding: 10px;
  white-space: pre-wrap;
}
.events-card ol {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  max-height: 240px;
  overflow: auto;
}
.events-card li {
  display: flex;
  gap: 12px;
  position: relative;
  font-size: 10px;
  padding: 6px 0;
  color: #718368;
}
.events-card time {
  color: #a0aa95;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  min-width: 48px;
}
.events-card li b {
  font-weight: 500;
}
.text-test {
  font-size: 12px;
  color: #788b70;
}
.text-test textarea {
  margin: 15px 0;
  font-size: 12px;
}
.turn-method {
  border-top: 1px solid #dce4d7;
  display: grid;
  grid-template-columns: 120px 1fr 65px;
  gap: 20px;
  align-items: start;
  margin-top: 30px;
  padding-top: 24px;
  font-size: 11px;
  color: #89977f;
}
.turn-method p {
  margin: 0;
}
.turn-method strong {
  font-weight: 500;
  color: #68835e;
}
.turn-method a {
  white-space: nowrap;
}
header {
  max-width: 1280px;
}
.brand {
  font-size: 19px;
  letter-spacing: -0.7px;
}
@media (max-width: 800px) {
  .turn-layout {
    grid-template-columns: 1fr;
  }
  .turn-heading {
    display: block;
  }
  .connection {
    display: inline-grid;
    margin-top: 10px;
  }
  .turn-flow {
    padding: 13px;
    gap: 7px;
    overflow: auto;
  }
  .turn-flow > div {
    gap: 6px;
    flex-shrink: 0;
  }
  .turn-flow small {
    display: none;
  }
  .turn-flow b {
    width: 23px;
    height: 23px;
    font-size: 9px;
  }
  .turn-flow span {
    font-size: 10px;
  }
  .turn-flow i {
    font-size: 10px;
  }
  .turn-method {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .listen-card,
  .sample-card,
  .transcript-card,
  .decisions-card,
  .events-card {
    padding: 20px;
  }
  .section-row .mini-label {
    font-size: 8px;
  }
  .brand {
    font-size: 16px;
  }
  .turn-back {
    font-size: 11px;
  }
  .timing-grid strong {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .orb,
  .orb-ring {
    animation: none !important;
    transition: none !important;
  }
}

.package-visual{margin-top:18px;border:1px solid #e1e7de;border-radius:12px;overflow:hidden;background:#f5f6f1}.package-visual img{width:100%;height:270px;object-fit:contain;display:block}.package-visual span{display:block;padding:10px 15px;font-size:12px;color:#647571}.scenario-verdict{margin:22px 0;padding:18px;background:#edf3e9;border-radius:12px}.scenario-verdict h2{font-size:25px;margin:6px 0;color:#265d4e}.scenario-verdict p{font-size:12px;color:#647571}.scenario-verdict h2[data-decision=flag],.scenario-verdict h2[data-decision=repack]{color:#a55a29}.turn-method details{font-size:12px;margin-top:14px}.turn-method a{text-decoration:underline}
