:root {
  font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
  color: #090c15;
  background: #fff;
  --red: #ff3539;
  --muted: #7e91b4;
  --line: #e3e9f0;
  --panel: #fce9e8;
}
* {
  box-sizing: border-box;
}
html,
body {
  overscroll-behavior-y: none;
}
body {
  margin: 0;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}
#app {
  max-width: 520px;
  min-height: 100dvh;
  margin: auto;
  background: white;
  position: relative;
}
.header {
  padding: 28px 26px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
}
.logo {
  width: 33px;
  height: 38px;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eceef0;
  font-size: 18px;
}
.list-view {
  padding: 0 26px 250px;
}
.list-view h1 {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 8px 0 14px;
}
.record-row {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 21px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.record-row:last-child {
  border-bottom: 0;
}
.record-row .logo {
  width: 41px;
  flex-shrink: 0;
}
.record-info {
  flex: 1;
  min-width: 0;
}
.record-title {
  font-size: 18px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}
.metadata {
  color: var(--muted);
  font-size: 15px;
  margin-top: 4px;
}
.chevron {
  color: #737f93;
  font-size: 27px;
  font-weight: 200;
}
.row-status {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 14px;
  color: #7c899e;
  margin-top: 9px;
}
.empty {
  font-size: 16px;
  color: var(--muted);
  padding: 18px 0;
}
.dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 520px;
  background: var(--panel);
  border: 1px solid #ffcccc;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  text-align: center;
  padding: 52px 18px calc(29px + env(safe-area-inset-bottom));
  z-index: 3;
}
.record-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 18px;
}
.big-red {
  width: 94px;
  height: 94px;
  background: var(--red);
  border-radius: 50%;
  border: 6px solid white;
  outline: 1px solid var(--red);
  display: grid;
  place-items: center;
}
.start-dot {
  width: 33px;
  height: 33px;
  background: white;
  border-radius: 50%;
}
.stop-square {
  width: 29px;
  height: 29px;
  border-radius: 6px;
  background: white;
}
.recording-dock {
  padding-top: 23px;
}
.live-status {
  font-size: 15px;
  color: #4d5666;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.live-dot {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: var(--red);
}
.live-wave {
  display: block;
  width: 100%;
  height: 90px;
  margin: 14px 0 0;
}
.timer {
  font-size: 34px;
  font-variant-numeric: tabular-nums;
  margin: 0 0 17px;
}
.controls {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.pause-circle {
  width: 75px;
  height: 75px;
  border: 1.5px solid #404853;
  border-radius: 50%;
  background: #fff8f8;
  display: grid;
  place-items: center;
  margin-top: 8px;
  margin-bottom: 3px;
}
.pause-symbol {
  display: flex;
  gap: 8px;
}
.pause-symbol i {
  width: 6px;
  height: 27px;
  border-radius: 3px;
  background: #3e4550;
}
.play-symbol {
  width: 0;
  height: 0;
  border-left: 16px solid white;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 4px;
}
.pause-circle .play-symbol {
  border-left-color: #3e4550;
}
.spinner {
  height: 44px;
  width: 44px;
  border: 4px solid #f9c4c3;
  border-top-color: var(--red);
  border-right-color: var(--red);
  border-bottom-color: var(--red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 18px;
}
.row-status .spinner {
  width: 18px;
  height: 18px;
  border-width: 2px;
  margin: 0;
}
.processing-dock {
  padding-top: 42px;
  padding-bottom: calc(56px + env(safe-area-inset-bottom));
  font-size: 17px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.notice {
  font-size: 15px;
  line-height: 1.4;
  color: #b52c32;
  margin: 14px 0;
  overflow-wrap: anywhere;
}
.dock .notice {
  margin: 0 0 15px;
}
.retry {
  color: var(--red);
  font-size: 16px;
  padding: 8px;
  text-decoration: underline;
}
.detail-top {
  padding: 0 26px;
}
.back {
  padding: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #314361;
  font-size: 16px;
  margin-bottom: 10px;
}
.back span {
  font-size: 26px;
  line-height: 20px;
}
.detail-title {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -1.2px;
  font-weight: 500;
  margin: 0;
}
.player {
  display: flex;
  gap: 26px;
  align-items: center;
  margin: 17px 0 20px;
}
.play-button {
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.play-button .pause-symbol {
  gap: 4px;
}
.play-button .pause-symbol i {
  height: 19px;
  width: 4px;
  background: white;
}
.track {
  flex: 1;
  min-width: 0;
}
.track canvas {
  display: block;
  width: 100%;
  height: 27px;
  cursor: pointer;
}
.player-time {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.tabs {
  display: flex;
  margin-top: 6px;
  border-bottom: 1px solid var(--line);
  padding: 0 26px;
}
.tab {
  width: 50%;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.tab.active {
  color: #0d1220;
  border-bottom-color: var(--red);
}
.result {
  background: #f4f8fa;
  padding: 18px 14px 26px;
  min-height: calc(100dvh - 312px);
}
.summary {
  padding: 17px 21px 23px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 3px 10px #27364c06;
}
.summary-label {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
}
.summary-block {
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.summary-block:last-child {
  border: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.block-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 8px;
}
.block-header h2 {
  font-size: 19px;
  font-weight: 600;
  margin: 0;
  flex: 1;
  letter-spacing: -0.5px;
}
.emoji {
  font-family:
    Apple Color Emoji,
    Segoe UI Emoji,
    sans-serif;
  font-size: 23px;
  width: 26px;
  flex-shrink: 0;
}
.copy {
  padding: 2px;
  width: 24px;
  height: 25px;
  flex-shrink: 0;
}
.copy svg {
  width: 20px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.block-text {
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-wrap;
  margin-left: 39px;
  color: #223452;
}
.summary-items {
  list-style: none;
  padding: 0;
  margin: 0;
}
.summary-items li {
  display: flex;
  gap: 13px;
  margin-top: 8px;
  line-height: 1.45;
  font-size: 15px;
  color: #223452;
}
.question-list {
  padding-left: 17px;
  margin: 0;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 6px 16px;
}
.participant {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 10px 13px;
  border-radius: 24px;
  background: var(--bubble);
  color: #30496c;
}
.participant i {
  width: 12px;
  height: 12px;
  background: var(--speaker-color);
  border-radius: 50%;
}
.bubble {
  background: var(--bubble);
  border-radius: 18px;
  padding: 12px 18px 8px;
  margin: 0 24px 14px 0;
  color: #203555;
}
.bubble.alternate {
  margin-left: 64px;
  margin-right: 0;
}
.speaker-label {
  font-size: 12px;
  color: var(--speaker-color);
  margin-bottom: 6px;
}
.speech {
  font-size: 16px;
  line-height: 1.45;
  white-space: pre-wrap;
}
.timestamp {
  text-align: right;
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}
.copy-transcript {
  border-top: 1px solid var(--line);
  width: 100%;
  padding: 18px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font-size: 14px;
  color: #314361;
}
.login {
  padding: 0 26px;
}
.login h1 {
  font-size: 29px;
  font-weight: 500;
  margin: 35px 0 29px;
}
.login label {
  display: block;
  font-size: 17px;
  margin: 0 0 9px;
}
.login input {
  width: 100%;
  height: 49px;
  border: 1.5px solid #dce1ea;
  border-radius: 11px;
  padding: 0 14px;
  font-size: 17px;
  outline-color: var(--red);
  background: white;
  color: #26354b;
}
.login input::placeholder {
  color: #8793a8;
}
.login .field {
  margin-bottom: 26px;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 46px;
}
.show-password {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 27px;
  height: 28px;
  color: #6f7d90;
}
.show-password svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.login-submit {
  width: 100%;
  height: 53px;
  border-radius: 12px;
  background: var(--red);
  color: white;
  font-size: 20px;
  margin-top: 5px;
}
.toast {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
  background: #26344b;
  color: white;
  padding: 10px 18px;
  font-size: 14px;
  z-index: 5;
  pointer-events: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 600px) {
  body {
    background: #f6f8fa;
    padding: 20px;
  }
  #app {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 2px 14px #22334412;
    min-height: calc(100dvh - 40px);
  }
  .dock {
    bottom: 20px;
    width: 520px;
    border-radius: 28px;
    border-bottom: 1px solid #ffcccc;
  }
  .header {
    padding-top: 30px;
  }
}
@media (max-width: 360px) {
  .header,
  .list-view,
  .detail-top {
    padding-left: 20px;
    padding-right: 20px;
  }
  .record-title {
    font-size: 16px;
  }
  .record-row {
    gap: 15px;
  }
  .bubble.alternate {
    margin-left: 35px;
  }
  .controls {
    gap: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
  }
}

.dock > .record-control {
  margin: auto;
}
.copy-transcript svg {
  width: 20px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.question-list {
  list-style: none;
  padding: 0;
}
.question-list li + li {
  margin-top: 8px;
}

.spinner {
  display: block;
}
.header {
  padding-top: calc(28px + env(safe-area-inset-top));
}
