@font-face {
  font-family: system;
  src: local("Inter"),local("Arial");
}
:root {
  font-family: system,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color: #243835;
  background: #f6f7f4;
  font-synthesis: none;
  --teal: #176c5a;
  --muted: #72817b;
  --line: #e1e6df;
  --paper: #fff;
  --red: #ac4035;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,input,select,textarea {
  font: inherit;
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button,a,input,select,textarea {
  outline-offset: 4px;
}
button:focus-visible,a:focus-visible {
  outline: 3px solid #319881;
}
input:focus,select:focus,textarea:focus {
  outline: 2px solid #87b7a6;
  outline-offset: 1px;
}
a {
  color: var(--teal);
}
svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.shell {
  max-width: 1160px;
  margin: auto;
  padding: 0 48px;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 116px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.brand {
  display: flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
  color: #253e37;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.5px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  background: var(--teal);
  color: #fff;
}
.brand-mark svg {
  width: 28px;
  height: 28px;
}
.brand-sub {
  display: block;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .15px;
  color: var(--muted);
  margin-top: 5px;
}
.help-button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dbe1d9;
  background: transparent;
  border-radius: 30px;
  padding: 10px 16px;
  color: #465b52;
  font-size: 13px;
}
.help-button span {
  border: 1px solid #6e8276;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  line-height: 15px;
  text-align: center;
  font-size: 11px;
}
.intro {
  padding: 49px 0 32px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--teal);
}
h1 {
  font-weight: 500;
  font-size: clamp(29px,3.5vw,40px);
  letter-spacing: -1.5px;
  margin: 14px 0 12px;
}
.intro p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}
.workspace {
  display: grid;
  grid-template-columns: 42% 58%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 35px #20332a04;
  overflow: hidden;
}
.controls {
  padding: 29px 28px 25px;
}
.section-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 27px;
  min-height: 22px;
}
.step {
  font-size: 10px;
  color: #738b7a;
  letter-spacing: 1px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 5px;
}
h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.1px;
  margin: 0;
}
label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.label-note {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
input,select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #dce3db;
  border-radius: 8px;
  background: #fcfdfb;
  color: #263f35;
  padding: 11px 12px;
  font-size: 16px;
}
input::placeholder {
  font-size: 13px;
  color: #89958f;
}
.key-row {
  display: flex;
  position: relative;
}
.key-row input {
  padding-right: 67px;
}
.key-row button {
  position: absolute;
  right: 6px;
  top: 3px;
  font-size: 11px;
  min-height: 40px;
}
.text-button {
  border: 0;
  background: transparent;
  color: #60776b;
  padding: 9px 10px;
  font-size: 12px;
}
.text-button:disabled {
  color: #b1b9b2;
}
.field-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
  margin: 9px 0 25px;
}
select {
  appearance: auto;
  font-size: 14px;
  padding-right: 6px;
}
.mode-buttons {
  display: grid;
  gap: 11px;
  margin-top: 25px;
}
.mode-button {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 13px;
  padding: 16px;
  border-radius: 9px;
  border: 1px solid var(--teal);
  min-height: 76px;
  transition: background .15s,opacity .15s;
}
.mode-button strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.mode-button small {
  display: block;
  font-size: 11px;
  margin-top: 5px;
  font-weight: 400;
  opacity: .78;
}
.primary {
  color: #fff;
  background: var(--teal);
}
.secondary {
  color: #355746;
  background: #fff;
  border-color: #d8e2d7;
}
.button-indicator {
  margin-left: auto;
  font-size: 19px;
  font-weight: 400;
}
.mode-button[aria-pressed=true] {
  background: #a73f34;
  border-color: #a73f34;
  color: #fff;
}
.mode-button:disabled {
  opacity: .42;
}
.locked {
  filter: grayscale(.9);
}
.locked select {
  color: #a1aaa4;
  background: #f6f7f5;
}
.locked label {
  color: #8d9891;
}
.session-tip {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.9;
  margin: 22px 0 0;
}
.session-tip>span:first-child {
  font-size: 12px;
  color: #789382;
  padding-right: 5px;
}
.tip-indent {
  padding-left: 19px;
}
.transcript-panel {
  border-left: 1px solid var(--line);
  padding: 29px 29px 18px;
  display: flex;
  flex-direction: column;
  background: #fdfefc;
  min-width: 0;
}
.transcript-panel .section-top {
  margin-bottom: 19px;
}
.live-badge {
  margin-left: auto;
  color: var(--teal);
  background: #e7f2ec;
  font-size: 9px;
  letter-spacing: 1px;
  padding: 5px 7px;
  border-radius: 4px;
}
.transcript-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #87958b;
  font-size: 10px;
  letter-spacing: .2px;
  padding-bottom: 17px;
  border-bottom: 1px solid #eaf0e7;
}
#timer {
  font-variant-numeric: tabular-nums;
}
.transcript-body {
  position: relative;
  flex: 1;
  min-height: 300px;
  display: flex;
}
textarea {
  width: 100%;
  resize: none;
  border: 0;
  background: transparent;
  min-height: 300px;
  flex: 1;
  padding: 20px 3px;
  font-size: 19px;
  line-height: 1.65;
  color: #284438;
  border-radius: 4px;
}
textarea:disabled {
  opacity: 1;
}
.empty-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
}
.empty-wave {
  width: 66px;
  height: 66px;
  border: 1px solid #e3ebe0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #74997e;
  background: #f3f7f0;
  margin-bottom: 9px;
}
.empty-wave svg {
  width: 30px;
  height: 30px;
}
.empty-state h3 {
  font-size: 15px;
  font-weight: 500;
  color: #80937f;
  margin: 15px 0 10px;
}
.empty-state p {
  font-size: 12px;
  line-height: 1.8;
  color: #a2aca0;
  margin: 0;
}
.transcript-footer {
  border-top: 1px solid #e8ede4;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #8a988c;
  font-size: 10px;
}
.transcript-footer>div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.copy-button {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #dce5d8;
  border-radius: 7px;
  background: white;
  color: #4c6854;
  padding: 10px 12px;
  font-size: 11px;
}
.copy-button svg {
  width: 14px;
  height: 14px;
}
.copy-button:disabled {
  opacity: .4;
}
.status-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 3px;
  font-size: 11px;
  color: #849084;
}
#status {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #6e8171;
  line-height: 1.6;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #a5b5a6;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot.active {
  background: #278564;
  box-shadow: 0 0 0 3px #e2eee2;
}
.status-dot.error {
  background: var(--red);
}
.cloud-note {
  font-size: 10px;
  line-height: 1.8;
  white-space: nowrap;
}
.notice {
  padding: 14px 17px;
  background: #fff2ed;
  border: 1px solid #eed7ca;
  border-radius: 9px;
  color: #944234;
  line-height: 1.5;
  font-size: 13px;
  margin: 3px 0 20px;
}
.page-footer {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding: 23px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  color: #98a194;
}
.page-footer>span:last-child {
  letter-spacing: 1.1px;
  font-size: 9px;
}
.version {
  color: #b0b8a9;
}
dialog {
  max-width: 520px;
  width: calc(100% - 32px);
  max-height: 85dvh;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  color: #30473b;
  box-shadow: 0 20px 80px #142b3340;
  background: #fcfdf9;
}
dialog::backdrop {
  background: #152e3266;
  backdrop-filter: blur(3px);
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.dialog-header h2 {
  font-size: 20px;
}
dialog h3 {
  font-size: 14px;
  margin: 23px 0 7px;
}
dialog p,dialog li {
  font-size: 13px;
  line-height: 1.8;
  color: #667667;
}
dialog ol {
  padding-left: 22px;
}
.close-button {
  font-size: 26px;
  border: 0;
  background: transparent;
  color: #54705a;
  min-width: 44px;
  min-height: 44px;
}
[hidden] {
  display: none!important;
}
@media(min-width:1200px) {
  .intro {
    padding-top: 60px;
  }
  .workspace {
    min-height: 510px;
  }
}
@media(max-width:760px) {
  .shell {
    padding: 0 22px;
  }
  .header {
    min-height: 90px;
  }
  .intro {
    padding: 32px 0 26px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .controls {
    padding: 24px;
  }
  .transcript-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px;
  }
  .section-top {
    margin-bottom: 23px;
  }
  .mode-buttons {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .mode-button {
    padding: 14px 11px;
    gap: 9px;
    align-items: center;
  }
  .mode-button>svg {
    width: 20px;
    height: 20px;
  }
  .mode-button strong {
    font-size: 12px;
  }
  .mode-button small {
    font-size: 10px;
  }
  .button-indicator {
    display: none;
  }
  .session-tip {
    margin-top: 16px;
  }
  .transcript-body,textarea {
    min-height: 260px;
  }
  .status-row {
    flex-direction: column;
    gap: 7px;
  }
  .page-footer {
    margin-top: 18px;
  }
  .label-note {
    font-size: 10px;
  }
  .field-note {
    margin-bottom: 21px;
  }
}
@media(max-width:400px) {
  .shell {
    padding: 0 16px;
  }
  .brand {
    font-size: 18px;
  }
  .brand-sub {
    font-size: 9px;
  }
  .brand-mark {
    width: 37px;
    height: 37px;
  }
  .help-button {
    padding: 9px 11px;
  }
  .intro h1 {
    font-size: 28px;
    letter-spacing: -1px;
  }
  .intro p {
    font-size: 12px;
  }
  .controls,.transcript-panel {
    padding: 20px;
  }
  .mode-buttons {
    grid-template-columns: 1fr;
  }
  .mode-button strong {
    font-size: 14px;
  }
  .mode-button small {
    font-size: 11px;
  }
  .mode-button {
    min-height: 67px;
  }
  .button-indicator {
    display: block;
  }
  .page-footer {
    flex-direction: column;
  }
  .cloud-note {
    white-space: normal;
  }
}
@supports(padding:max(0px)) {
  .shell {
    padding-bottom: env(safe-area-inset-bottom);
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    transition: none!important;
    scroll-behavior: auto!important;
  }
}
