:root {
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  color:#08264e;
  background:#f3f8fc;
  line-height:1.7;
  --blue:#0076c9;
  --muted:#466783;
  --line:#dce9f4;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
a {
  color:inherit;
  text-decoration:none;
}
button {
  font:inherit;
}
h1,h2,h3,p {
  margin:0;
}
[hidden] {
  display:none!important;
}
header {
  min-height:80px;
  background:#fff;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px max(24px,calc((100% - 1160px)/2));
  gap:18px;
}
.brand {
  font-weight:850;
  font-size:26px;
  letter-spacing:-1px;
}
.brand span {
  font-size:14px;
  color:#0079cf;
  letter-spacing:0;
  margin-left:8px;
}
.back {
  font-size:13px;
  color:#376584;
}
main {
  max-width:1160px;
  margin:auto;
  padding:45px 24px;
}
h1 {
  font-size:36px;
  line-height:1.5;
  letter-spacing:-1px;
}
h1 span {
  display:inline-block;
}
h2 {
  font-size:18px;
  line-height:1.6;
}
h3 {
  font-size:17px;
}
.heading {
  margin-bottom:24px;
}
.heading>p:last-child {
  margin-top:10px;
  color:var(--muted);
  font-size:15px;
}
.eyebrow {
  font-size:11px;
  letter-spacing:.12em;
  color:#006aaf;
  font-weight:800;
  margin-bottom:6px;
}
.badge {
  display:inline-block;
  border-radius:30px;
  background:#e5f4ff;
  color:#0068b3;
  padding:4px 10px;
  font-size:11px;
  font-weight:750;
  white-space:nowrap;
}
.notice {
  background:#eaf6ff;
  border:1px solid #bcdcf4;
  border-radius:14px;
  padding:16px 22px;
}
.notice strong {
  color:#005b9c;
  font-size:14px;
}
.notice>.badge {
  margin-left:14px;
  background:#fff;
}
.notice p {
  font-size:13px;
  margin-top:6px;
  color:#3c607d;
}
.progress {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  padding:0;
  list-style:none;
  margin:28px 0;
}
.progress li {
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--muted);
}
.progress li>span {
  display:grid;
  place-items:center;
  flex-shrink:0;
  width:38px;
  height:38px;
  border-radius:50%;
  background:#e0eaf3;
  color:#436380;
  font-weight:700;
}
.progress li[aria-current]>span {
  background:var(--blue);
  color:white;
}
.progress li[aria-current] strong {
  color:#0064aa;
}
.progress strong {
  font-size:15px;
}
.progress small {
  display:block;
  font-size:12px;
}
.workspace {
  display:grid;
  grid-template-columns:235px minmax(0,1fr) 255px;
  gap:14px;
  align-items:start;
  scroll-margin-top:20px;
}
.panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:22px 18px;
  min-width:0;
}
.section-intro {
  font-size:13px;
  color:var(--muted);
  margin-top:8px;
}
.scenario-list {
  display:grid;
  gap:12px;
  margin:20px 0;
}
.scenario {
  display:flex;
  align-items:flex-start;
  gap:10px;
  width:100%;
  text-align:left;
  background:#fff;
  border:1px solid #c9ddeb;
  border-radius:10px;
  padding:14px 12px;
  cursor:pointer;
  color:#08264e;
}
.scenario[aria-pressed=true] {
  border:2px solid var(--blue);
  background:#eff8ff;
  padding:13px 11px;
}
.scene-icon {
  display:grid;
  place-items:center;
  flex-shrink:0;
  width:36px;
  height:36px;
  background:#e5f4ff;
  border-radius:50%;
  font-size:23px;
  color:#006ab5;
  line-height:1;
}
.scenario small {
  display:block;
  color:#0063a7;
  font-size:11px;
  font-weight:700;
}
.scenario strong {
  display:block;
  font-size:14px;
  margin:2px 0 5px;
}
.scenario>span:last-child>span {
  display:block;
  font-size:12px;
  color:var(--muted);
}
.scene-tip {
  font-size:12px;
  color:var(--muted);
}
.scene-toggle {
  display:none;
}
.conversation-heading {
  display:flex;
  align-items:center;
  gap:10px;
}
.conversation-heading>.badge {
  margin-left:auto;
}
.conversation-heading .eyebrow {
  font-size:10px;
  letter-spacing:0;
}
.conversation-status {
  display:flex;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding-top:12px;
  margin-top:18px;
  font-size:12px;
  color:#376584;
}
#state-badge {
  font-weight:700;
}
#transcript {
  list-style:none;
  padding:0;
  margin:16px 0;
  display:grid;
  gap:14px;
  min-height:170px;
  align-content:start;
}
#transcript li {
  max-width:93%;
  font-size:14px;
}
#transcript li.customer {
  justify-self:end;
}
#transcript .speaker {
  display:block;
  color:#466783;
  font-size:11px;
  margin:0 3px 4px;
}
#transcript li.customer .speaker {
  text-align:right;
}
#transcript .bubble {
  background:#eaf6ff;
  padding:12px 14px;
  border-radius:2px 12px 12px;
}
#transcript li.customer .bubble {
  background:#f0f4f8;
  border-radius:12px 2px 12px 12px;
}
#transcript .empty {
  color:var(--muted);
  background:#f5f9fc;
  border-radius:10px;
  padding:20px 16px;
  max-width:100%;
  font-size:13px;
}
.message {
  font-size:13px;
  color:#376584;
  background:#f3f9fd;
  padding:12px 14px;
  border-radius:9px;
  margin:16px 0;
}
.actions {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  border-top:1px solid var(--line);
  padding-top:16px;
}
button.primary,button.secondary,.cta a {
  font-size:13px;
  font-weight:700;
  border:1px solid var(--blue);
  border-radius:8px;
  padding:11px 12px;
  cursor:pointer;
  background:var(--blue);
  color:white;
  min-height:44px;
}
.actions .primary {
  flex:1;
}
.actions .secondary {
  font-size:12px;
}
button.secondary {
  background:white;
  color:#0063a7;
  border-color:#bddaf0;
}
button:disabled {
  cursor:default;
  background:#f1f5f8;
  color:#5a7285;
  border-color:#e1e9ef;
}
.scenario:hover {
  background:#f2f9fe;
}
button.primary:hover,.cta a:hover {
  background:#0062a8;
}
.secondary:hover:not(:disabled) {
  background:#f0f8fe;
}
button:focus-visible,a:focus-visible,summary:focus-visible,h2:focus-visible {
  outline:3px solid #1689d5;
  outline-offset:4px;
}
.summary-heading {
  display:flex;
  align-items:center;
  gap:8px;
}
.summary-heading h2 {
  flex:1;
}
#summary-fields {
  margin:20px 0;
}
#summary-fields>div {
  padding:12px 0;
  border-bottom:1px solid var(--line);
}
dt {
  font-size:11px;
  color:var(--muted);
}
dd {
  margin:4px 0 0;
  font-size:14px;
  font-weight:650;
  overflow-wrap:anywhere;
}
.summary-placeholder {
  font-size:13px;
  color:var(--muted);
  background:#f5f9fc;
  padding:16px;
  border-radius:9px;
}
.result-label {
  color:#0063a7;
  font-size:11px;
  font-weight:700;
  margin-bottom:6px;
}
#result {
  border-top:2px solid #bcdcf4;
  padding-top:18px;
}
#result-description {
  font-size:13px;
  margin-top:10px;
}
.boundary {
  font-size:12px;
  color:#466783;
  background:#f3f8fc;
  padding:12px;
  border-radius:8px;
  margin:14px 0;
}
#result button {
  width:100%;
}
.text-button {
  border:0;
  background:none;
  padding:13px 0;
  color:#0063a7;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  min-height:44px;
}
.help {
  padding:36px 0;
}
.help>h2 {
  font-size:21px;
  margin-bottom:14px;
}
details {
  border-bottom:1px solid var(--line);
}
summary {
  padding:16px 4px;
  cursor:pointer;
  font-size:14px;
  font-weight:650;
}
details p {
  font-size:14px;
  color:var(--muted);
  padding:0 4px 20px;
  max-width:850px;
}
.cta {
  background:#e5f3ff;
  border-radius:13px;
  padding:25px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.cta h2 {
  font-size:17px;
}
.cta p:last-child {
  font-size:13px;
  color:var(--muted);
  margin-top:7px;
}
.cta a {
  display:inline-block;
  flex-shrink:0;
}
footer {
  text-align:center;
  padding:25px;
  font-size:11px;
  color:#466783;
}
.skip-link {
  position:absolute;
  top:8px;
  left:8px;
  transform:translateY(-150%);
  background:white;
  padding:10px;
  z-index:10;
}
.skip-link:focus {
  transform:none;
}
@media(max-width:1000px) {
  .workspace {
    grid-template-columns:210px minmax(0,1fr);
  }
  .summary {
    grid-column:1/-1;
  }
  #summary-fields {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
  }
  #result button {
    width:auto;
    margin-right:12px;
  }
  .summary-placeholder {
    margin-top:16px;
  }
}
@media(max-width:760px) {
  header {
    min-height:70px;
    padding:14px 18px;
  }
  .brand {
    font-size:22px;
  }
  .brand span {
    display:block;
    font-size:11px;
    margin:0;
    line-height:1.2;
  }
  .back {
    font-size:11px;
  }
  main {
    padding:30px 16px;
  }
  h1 {
    font-size:29px;
  }
  .heading>p:last-child {
    font-size:14px;
  }
  .notice {
    padding:16px;
  }
  .notice>.badge {
    margin:8px 0 0;
    display:table;
  }
  .progress {
    gap:8px;
    margin:24px 0;
  }
  .progress li {
    align-items:flex-start;
    gap:6px;
  }
  .progress li>span {
    width:26px;
    height:26px;
    font-size:12px;
  }
  .progress strong {
    font-size:12px;
  }
  .progress small {
    display:none;
  }
  .workspace {
    grid-template-columns:1fr;
    gap:16px;
  }
  .summary {
    grid-column:auto;
  }
  .panel {
    padding:20px 16px;
  }
  .scene-toggle {
    display:block;
    margin-top:12px;
    width:100%;
  }
  .scenario-list {
    grid-template-columns:1fr;
    gap:10px;
    margin:16px 0;
  }
  .scenario {
    padding:14px 12px;
  }
  .scenario[aria-pressed=true] {
    padding:13px 11px;
  }
  .scenario .scene-icon {
    width:34px;
    height:34px;
    font-size:22px;
  }
  .scenario strong {
    font-size:14px;
  }
  .scenario small {
    font-size:11px;
  }
  .scenario>span:last-child>span {
    display:block;
  }
  .scene-tip {
    font-size:11px;
  }
  .conversation-heading h2 {
    font-size:17px;
  }
  #transcript {
    min-height:150px;
  }
  .actions .primary {
    flex:1 0 100%;
  }
  #summary-fields {
    display:block;
  }
  #result button {
    width:100%;
    margin:0;
  }
  .cta {
    display:block;
    padding:22px;
  }
  .cta a {
    margin-top:18px;
  }
  .help {
    padding:30px 0;
  }
}
#summary-title,#scene-title {
  scroll-margin-top:24px;
}
@media(max-width:420px) {
  .progress {
    grid-template-columns:1fr;
    gap:10px;
  }
  .progress li {
    align-items:center;
    gap:10px;
  }
  .progress strong {
    font-size:14px;
  }
  .progress small {
    display:block;
    font-size:11px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior:auto!important;
    animation:none!important;
    transition:none!important;
  }
}
/* Pre-generated synthetic voice, and the entrance to the live voice demo. */
.voice-cta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:12px;
  background:#fff;
  border:1px solid #bcdcf4;
  border-radius:14px;
  padding:16px 22px;
}
.voice-cta-title {
  color:#005b9c;
  font-size:14px;
  font-weight:750;
  text-wrap:balance;
}
.voice-cta-title+p {
  font-size:12px;
  color:#3c607d;
  margin-top:4px;
}
.voice-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  flex-shrink:0;
  min-height:44px;
  padding:11px 16px;
  border:1px solid var(--blue);
  border-radius:8px;
  background:#fff;
  color:#0063a7;
  font-size:13px;
  font-weight:700;
  text-align:center;
}
.voice-link:hover {
  background:#f0f8fe;
}
.result-voice-link {
  width:100%;
  margin-top:4px;
}
.link-note {
  font-size:11px;
  color:var(--muted);
  margin-top:6px;
  text-align:center;
}
details a {
  color:#0063a7;
  text-decoration:underline;
  text-underline-offset:3px;
}
.voice-controls {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.switch {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:6px 14px 6px 8px;
  border:1px solid #bddaf0;
  border-radius:999px;
  background:#fff;
  color:#0063a7;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.switch::before {
  content:"";
  flex-shrink:0;
  width:30px;
  height:18px;
  border-radius:9px;
  background:radial-gradient(circle at 9px 50%,#fff 0 6px,transparent 6.5px) #6d879c;
}
.switch[aria-pressed=true] {
  border-color:var(--blue);
  background:#eff8ff;
}
.switch[aria-pressed=true]::before {
  background:radial-gradient(circle at 21px 50%,#fff 0 6px,transparent 6.5px) var(--blue);
}
.switch:hover {
  background:#f0f8fe;
}
.voice-note {
  font-size:11px;
  color:var(--muted);
  margin-top:8px;
}
#transcript .speaker {
  display:flex;
  align-items:center;
  gap:8px;
}
#transcript li.customer .speaker {
  justify-content:flex-end;
}
.replay {
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:30px;
  padding:3px 10px;
  border:1px solid #bddaf0;
  border-radius:999px;
  background:#fff;
  color:#0063a7;
  font-size:11px;
  font-weight:700;
  cursor:pointer;
}
.replay::before {
  content:"";
  width:7px;
  height:8px;
  background:currentColor;
  clip-path:polygon(0 0,100% 50%,0 100%);
}
#transcript .speaking .replay {
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
}
#transcript .speaking .bubble {
  box-shadow:0 0 0 2px #8cc6ee;
}
#transcript .speaking .replay::before {
  animation:voice-pulse 1s ease-in-out infinite;
}
@keyframes voice-pulse {
  50% {
    opacity:.3;
  }
}
@media(max-width:760px) {
  .voice-cta {
    display:block;
    padding:16px;
  }
  .voice-cta .voice-link {
    width:100%;
    margin-top:12px;
  }
}
