:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: #272d43;
  background: #f6f7fb;
  font-synthesis: none;
  --primary: #6958e8;
  --muted: #8d94a7;
  --border: #e9ebf2;
  --green: #32aa86;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #b6adff;
  outline-offset: 3px;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
.topbar {
  height: 78px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: 1424px;
  padding: 0 48px;
  margin: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 21px;
  font-weight: 740;
  letter-spacing: -0.6px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px #6958e829;
}
.brand-mark svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.8;
}
.brand-web {
  margin-left: 8px;
  letter-spacing: 1.1px;
  font-weight: 600;
  font-size: 9px;
  color: #979cad;
  vertical-align: middle;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
  color: #777f95;
}
.local-tag {
  display: flex;
  gap: 7px;
  align-items: center;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.status-dot.pending {
  background: #bac0ce;
}
.status-dot.error {
  background: #e59251;
}
.environment-button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 9px 12px;
  background: #fff;
  font-size: 12px;
}
.chevron {
  margin-left: 8px;
  color: #99a0b3;
}
main {
  max-width: 1424px;
  margin: auto;
  padding: 0 48px;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 47px 0 33px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.2px;
  color: #8d84b8;
  font-weight: 650;
  margin-bottom: 13px;
}
h1 {
  font-size: 32px;
  font-weight: 650;
  letter-spacing: 1px;
  margin: 0 0 13px;
  line-height: 1.35;
}
h1 > span {
  color: var(--primary);
}
.intro p {
  font-size: 13px;
  color: #8990a4;
  margin: 0;
  letter-spacing: 0.4px;
}
.intro-note {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #979daf;
  font-size: 10px;
  line-height: 1.9;
  letter-spacing: 0.2px;
}
.intro-note strong {
  font-weight: 450;
  color: #757d95;
}
.mini-wave {
  height: 28px;
  display: flex;
  gap: 4px;
  align-items: center;
  padding-right: 4px;
}
.mini-wave i {
  height: 11px;
  width: 3px;
  border-radius: 3px;
  background: #a89be9;
}
.mini-wave i:nth-child(2),
.mini-wave i:nth-child(4) {
  height: 21px;
}
.mini-wave i:nth-child(3) {
  height: 31px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(330px, 1.18fr) minmax(
      290px,
      1.07fr
    );
  gap: 20px;
  align-items: stretch;
}
.panel {
  background: #fff;
  border: 1px solid #e7eaf2;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 3px 5px #232a4402;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 8px;
}
.panel-heading > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
h2 {
  font-size: 15px;
  font-weight: 650;
  margin: 0;
}
.step {
  font-size: 10px;
  letter-spacing: 0.5px;
  color: #8e83d4;
  background: #f3f0fd;
  border-radius: 5px;
  padding: 4px 5px;
  line-height: 1.3;
}
.count-tag {
  font-size: 10px;
  background: #f5f6fa;
  color: #9299aa;
  border-radius: 5px;
  padding: 4px 7px;
  white-space: nowrap;
}
.mode-switch {
  background: #f4f5f9;
  padding: 4px;
  border-radius: 8px;
  display: flex;
  margin-bottom: 18px;
}
.mode-switch button {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 12px;
  color: #8a91a4;
  padding: 9px 4px;
  border-radius: 5px;
}
.mode-switch .selected {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 5px #30364c0b;
  font-weight: 600;
}
.source-switch {
  background: #faf9ff;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.tts-form {
  display: grid;
  gap: 9px;
}
.tts-form label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #626a81;
}
.tts-voice-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#tts-counter {
  font-size: 10px;
  color: var(--muted);
}
.tts-form textarea,
.tts-form input,
.tts-form select {
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: inherit;
  background: #fcfbff;
  font-size: 12px;
}
.tts-form textarea {
  resize: vertical;
  line-height: 1.7;
  min-height: 115px;
  max-height: 320px;
}
.tts-settings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.tts-settings input[type="range"] {
  display: block;
  margin: 8px 0 0;
  padding: 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.tts-voice-count,
.tts-parameter-note {
  margin: 0;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}
.tts-settings label {
  margin-bottom: 7px;
}
.tts-notice,
.tts-status {
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
  color: #8d779c;
}
.tts-status {
  color: var(--primary);
}
#tts-generate {
  width: 100%;
}
.dropzone {
  padding: 25px 8px 23px;
  border: 1.5px dashed #d8d2f4;
  background: #fcfbff;
  border-radius: 10px;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.dropzone:hover,
.dropzone.dragover {
  background: #f1eefe;
  border-color: #8b7ce9;
}
.upload-icon {
  width: 45px;
  height: 45px;
  border: 1px solid #eae5fc;
  border-radius: 13px;
  color: #8d7fdf;
  display: grid;
  place-items: center;
  background: #f3f0ff;
  margin-bottom: 15px;
}
.upload-icon svg {
  width: 23px;
  height: 23px;
}
.dropzone strong {
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 7px;
}
.dropzone > span:not(.upload-icon) {
  font-size: 11px;
  color: #989fb0;
}
.dropzone em {
  color: var(--primary);
  font-style: normal;
}
.dropzone small {
  color: #a5aabd;
  font-size: 8px;
  letter-spacing: 0.7px;
  margin-top: 18px;
}
.queue-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 23px 0 12px;
  font-size: 11px;
  color: #9299aa;
}
.text-button {
  font-size: 11px;
  color: #8b82bc;
  background: transparent;
  border: 0;
  padding: 4px 0;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.text-button:hover {
  color: var(--primary);
}
.text-button:disabled {
  color: #c0c4d1;
}
.icon-text svg {
  width: 12px;
  height: 12px;
}
.file-list {
  min-height: 160px;
  max-height: 310px;
  overflow-y: auto;
  margin: 0 -4px;
  padding: 0 4px;
}
.empty-files {
  border: 1px solid #f0f1f6;
  border-radius: 9px;
  padding: 26px 4px;
  text-align: center;
  color: #b4b9c9;
  min-height: 146px;
}
.empty-files svg {
  width: 26px;
  height: 26px;
  stroke: #c4c8d4;
}
.empty-files p {
  font-size: 11px;
  color: #939bac;
  margin: 11px 0 5px;
}
.empty-files span {
  font-size: 9px;
  color: #b0b5c4;
}
.file-row {
  display: flex;
  gap: 10px;
  padding: 12px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  margin-bottom: 8px;
  align-items: center;
  background: #fdfdff;
}
.file-type {
  width: 32px;
  height: 38px;
  background: #f0edff;
  border-radius: 6px;
  color: #8a7cd6;
  display: grid;
  place-items: center;
  font-size: 8px;
  font-weight: 700;
  flex-shrink: 0;
}
.file-details {
  flex: 1;
  min-width: 0;
}
.file-details strong {
  font-size: 11px;
  font-weight: 500;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-details small {
  font-size: 9px;
  display: block;
  color: #a0a6b6;
  margin-top: 5px;
}
.remove-file {
  border: 0;
  background: transparent;
  padding: 6px;
  color: #a3a9ba;
}
.remove-file svg {
  width: 13px;
  height: 13px;
}
.file-limit {
  font-size: 9px;
  color: #a5aabd;
  margin-top: 12px;
}
.privacy-note {
  display: flex;
  gap: 10px;
  border-top: 1px solid #f0f1f6;
  padding-top: 20px;
  margin-top: auto;
  padding-bottom: 1px;
}
.privacy-icon {
  color: #a0a5b9;
  font-size: 18px;
  line-height: 1.6;
}
.privacy-note p {
  font-size: 10px;
  color: #8d95a7;
  line-height: 1.9;
  margin: 0;
}
.privacy-note p span {
  font-size: 9px;
  color: #afb4c2;
}
.parameters-panel .panel-heading {
  margin-bottom: 22px;
}
.presets {
  display: flex;
  gap: 7px;
  margin-bottom: 23px;
  flex-wrap: wrap;
}
.presets button {
  font-size: 10px;
  padding: 7px 8px;
  border: 1px solid #eceef4;
  border-radius: 5px;
  background: #fff;
  color: #9097a8;
}
.presets .selected {
  border-color: #ded7fb;
  background: #f6f3ff;
  color: var(--primary);
}
.effect {
  border: 0;
  border-bottom: 1px solid #f0f1f6;
  padding: 0 0 20px;
  margin: 0 0 20px;
  min-width: 0;
}
.effect legend {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}
.effect-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  font-size: 17px;
  border-radius: 7px;
  font-weight: 400;
}
.blue {
  color: #8196d8;
  background: #f0f4ff;
}
.purple {
  color: #a08ad9;
  background: #f6f1ff;
}
.teal {
  color: #74a99e;
  background: #eff8f5;
}
.effect legend small {
  font-size: 10px;
  margin-left: 4px;
  font-weight: 400;
  color: #a5abbb;
}
.unit {
  margin-left: auto;
  font-weight: 400;
  color: #a0a7b7;
  font-size: 10px;
}
.effect p {
  font-size: 10px;
  color: #9ca3b3;
  margin: 9px 0 17px;
}
.slider-row {
  display: flex;
  gap: 14px;
  align-items: center;
}
.slider-row input[type="range"] {
  --fill: 33.33%;
  flex: 1;
  min-width: 0;
  appearance: none;
  height: 4px;
  background: linear-gradient(
    to right,
    #a493ee var(--fill),
    #ececf5 var(--fill)
  );
  border-radius: 5px;
  cursor: pointer;
  margin: 0;
}
.slider-row input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #a291e5;
  box-shadow: 0 1px 4px #6757ad20;
}
.slider-row input[type="range"]::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #a291e5;
}
.slider-row input[type="number"] {
  width: 67px;
  border: 1px solid #e7e9f1;
  border-radius: 6px;
  background: #fafbfe;
  text-align: center;
  color: #686481;
  font-size: 12px;
  padding: 7px 3px;
  -moz-appearance: textfield;
}
.slider-row input[type="number"]::-webkit-inner-spin-button {
  appearance: none;
}
.slider-row input:invalid {
  border-color: #d56676;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #b0b6c4;
  margin: 8px 81px 0 0;
}
.output-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  gap: 10px;
}
.output-settings label {
  font-size: 11px;
  color: #798198;
}
.output-settings select {
  border: 1px solid #e8eaf2;
  border-radius: 6px;
  padding: 9px 24px 9px 10px;
  background: #fafbfe;
  color: #72798e;
  font-size: 10px;
  max-width: 70%;
}
.batch-note {
  font-size: 9px;
  line-height: 1.6;
  color: #acb1c1;
  margin: 0 0 17px;
}
.primary-button {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  width: 100%;
  padding: 13px 15px;
  font-size: 12px;
  box-shadow: 0 4px 10px #6958e820;
  transition: background 0.2s;
}
.primary-button:hover {
  background: #5949d4;
}
.primary-button:disabled {
  background: #b3a9ed;
  box-shadow: none;
  color: #fffd;
}
.primary-button svg {
  width: 15px;
  height: 15px;
}
.primary-button .button-arrow {
  margin-left: auto;
  width: 15px;
}
.primary-button > svg:first-child {
  margin-right: auto;
}
.live-tag {
  font-size: 9px;
  color: #acb1c0;
  white-space: nowrap;
}
.results-empty {
  text-align: center;
  margin: auto 0;
  padding: 38px 0 56px;
}
.orbit {
  width: 139px;
  height: 139px;
  border: 1px solid #f0ecfb;
  border-radius: 50%;
  margin: 0 auto 29px;
  display: grid;
  place-items: center;
  position: relative;
}
.orbit:before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid #f3effd;
  border-radius: 50%;
}
.orbit-core {
  height: 76px;
  width: 76px;
  border-radius: 24px;
  background: #f5f2ff;
  display: grid;
  place-items: center;
  color: #a89bdb;
  transform: rotate(-7deg);
}
.orbit-core svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.2;
  transform: rotate(7deg);
}
.orbit-dot {
  position: absolute;
  background: #e7dff9;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.dot-one {
  top: 15px;
  right: 19px;
}
.dot-two {
  bottom: 31px;
  left: 0;
  width: 4px;
  height: 4px;
}
.results-empty h3 {
  font-size: 13px;
  font-weight: 500;
  color: #9299ad;
  margin: 0 0 12px;
}
.results-empty p {
  font-size: 10px;
  line-height: 2;
  color: #b0b6c6;
  margin: 0;
}
.empty-steps {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  font-size: 8px;
  color: #b5b6cb;
}
.empty-steps i {
  height: 1px;
  width: 17px;
  background: #e4e3ef;
}
.engine-note {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #f1f2f6;
  text-align: center;
  font-size: 8px;
  color: #b1b7c4;
  letter-spacing: 0.3px;
}
.engine-note .status-dot {
  width: 4px;
  height: 4px;
  background: #b9c5c1;
  margin-right: 4px;
}
.job-summary {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
}
.job-summary strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
}
.job-summary span {
  font-size: 9px;
  color: #a0a6b7;
  display: block;
  margin-top: 6px;
}
.danger {
  color: #d17585;
}
.result-list {
  margin: 16px 0;
  max-height: 220px;
  overflow-y: auto;
}
.result-row {
  width: 100%;
  text-align: left;
  padding: 11px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  margin-bottom: 7px;
  cursor: pointer;
  display: block;
}
.result-row.selected {
  border-color: #d3c9f6;
  background: #faf8ff;
}
.result-row > div {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  justify-content: space-between;
}
.result-row strong {
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.result-row small {
  font-size: 9px;
  line-height: 1.7;
  color: #9aa1b3;
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.file-state {
  font-size: 9px;
  color: #9b8bd3;
  flex-shrink: 0;
}
.file-state.succeeded {
  color: #39a88a;
}
.file-state.failed,
.file-state.interrupted {
  color: #c9747f;
}
.stage-progress {
  height: 2px;
  background: #ece7fa;
  overflow: hidden;
  border-radius: 3px;
  margin-top: 9px;
}
.stage-progress:after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  background: #ac9be8;
  animation: progress-slide 1.8s ease-in-out infinite;
}
@keyframes progress-slide {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(350%);
  }
}
progress {
  appearance: none;
  height: 5px;
  width: 100%;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  display: block;
  background: #f0edf8;
}
progress::-webkit-progress-bar {
  background: #f0edf8;
}
progress::-webkit-progress-value {
  background: #9e8ce6;
  border-radius: 5px;
}
progress::-moz-progress-bar {
  background: #9e8ce6;
}
.player {
  padding: 16px 12px;
  border: 1px solid #eeebf7;
  border-radius: 10px;
  background: #fcfbff;
}
.player-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
}
.player-heading > span:last-child {
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #a0a4b6;
  font-size: 9px;
}
.player-tabs {
  display: flex;
  margin-top: 13px;
  background: #f2eff9;
  border-radius: 5px;
  padding: 3px;
}
.player-tabs button {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 9px;
  padding: 6px;
  color: #9e96b3;
  border-radius: 4px;
}
.player-tabs .selected {
  background: #fff;
  color: #8573ce;
  box-shadow: 0 1px 3px #30204e09;
}
.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 54px;
  margin: 8px 0;
}
.waveform i {
  width: 3px;
  background: #c9bcee;
  border-radius: 2px;
  max-height: 44px;
}
.player audio {
  width: 100%;
  height: 32px;
}
.player p {
  font-size: 8px;
  color: #a2a6b7;
  margin: 10px 0 0;
  line-height: 1.7;
}
.secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #dcd5f6;
  border-radius: 7px;
  color: #8e7dcc;
  font-size: 11px;
  padding: 11px 8px;
  background: #fcfaff;
  width: 100%;
}
.secondary-button svg {
  width: 14px;
  height: 14px;
}
.disabled {
  pointer-events: none;
  opacity: 0.5;
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
  margin-top: 18px;
}
.result-actions .text-button {
  font-size: 10px;
}
.result-snapshot {
  font-size: 8px;
  text-align: center;
  color: #acb0bf;
  margin-top: 14px;
  line-height: 1.8;
}
.history-section {
  margin-top: 30px;
}
.history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.history-heading h2 {
  font-size: 12px;
  color: #7e869d;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.history-heading svg {
  width: 14px;
  height: 14px;
  color: #a1a7b9;
}
.history-heading > span {
  font-size: 9px;
  color: #a9afbf;
}
.history {
  background: #fff;
  border: 1px solid #e9ebf2;
  border-radius: 10px;
  max-height: 230px;
  overflow-y: auto;
}
.history-empty {
  text-align: center;
  color: #b1b7c6;
  font-size: 10px;
  padding: 21px;
  margin: 0;
}
.history-item {
  border: 0;
  border-bottom: 1px solid #f0f1f6;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  gap: 16px;
  width: 100%;
  text-align: left;
}
.history-item:hover {
  background: #fbfaff;
}
.history-item:last-child {
  border-bottom: 0;
}
.history-item .history-name {
  font-size: 11px;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.history-item .history-date {
  color: #a7aebe;
  font-size: 9px;
}
.history-item .history-state {
  font-size: 9px;
  color: #9c8fc5;
  min-width: 50px;
  text-align: right;
}
.history-item .history-options {
  color: #adb2c2;
  font-size: 9px;
}
.history-item svg {
  width: 16px;
  color: #a899d4;
}
footer {
  display: flex;
  justify-content: space-between;
  margin: 28px 0 25px;
  color: #b6bccb;
  font-size: 9px;
  letter-spacing: 0.3px;
}
.footer-dot {
  padding: 0 7px;
}
footer > span:last-child {
  font-size: 8px;
  letter-spacing: 1.1px;
}
.version {
  margin-left: 9px;
  letter-spacing: 0;
  background: #edecf4;
  padding: 3px 5px;
  border-radius: 3px;
  font-size: 8px;
}
.environment-panel {
  border: 1px solid #e4e0f3;
  border-radius: 10px;
  background: #fff;
  padding: 18px 22px;
  margin-bottom: 20px;
}
.environment-panel h2 {
  font-size: 12px;
  margin-bottom: 12px;
}
.tool-item {
  display: flex;
  gap: 15px;
  align-items: baseline;
  margin-bottom: 9px;
  font-size: 11px;
}
.tool-item code {
  font-size: 10px;
  color: #9298ab;
  overflow-wrap: anywhere;
}
.tool-item span {
  white-space: nowrap;
  color: #39a88a;
}
.tool-item .unavailable {
  color: #c28558;
}
.environment-panel p {
  font-size: 11px;
  color: #8c7d99;
}
.environment-panel code {
  background: #f4f1fc;
  padding: 3px;
  border-radius: 3px;
}
.message {
  padding: 12px 17px;
  border-radius: 8px;
  border: 1px solid #ecdbe1;
  background: #fff7fa;
  color: #ac6278;
  font-size: 12px;
  margin-bottom: 20px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.upload-progress {
  margin-top: 12px;
}
.upload-progress span {
  font-size: 9px;
  color: #a095b8;
  display: block;
  text-align: center;
  margin-top: 7px;
}
@media (min-width: 1500px) {
  .workspace {
    gap: 24px;
  }
  .panel {
    padding: 27px;
  }
  .intro {
    padding-top: 55px;
    padding-bottom: 38px;
  }
}
@media (max-width: 1150px) {
  main,
  .topbar-inner {
    padding-left: 28px;
    padding-right: 28px;
  }
  .workspace {
    gap: 14px;
    grid-template-columns: minmax(230px, 1fr) minmax(275px, 1.1fr) minmax(
        250px,
        1fr
      );
  }
  .panel {
    padding: 19px 17px;
  }
  .presets {
    gap: 5px;
  }
  .presets button {
    font-size: 9px;
    padding: 6px;
  }
  .dropzone strong {
    font-size: 11px;
  }
  .intro-note {
    display: none;
  }
  .parameters-panel .panel-heading {
    gap: 4px;
  }
  .text-button {
    font-size: 10px;
  }
}
@media (max-width: 900px) {
  .workspace {
    grid-template-columns: 1fr 1.1fr;
  }
  .results-panel {
    grid-column: 1/-1;
  }
  .results-empty {
    padding: 25px 0;
  }
  .orbit {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
  }
  .orbit-core {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }
  .results-panel #results-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
  }
  .job-summary,
  .results-panel #job-progress,
  .result-snapshot {
    grid-column: 1/-1;
  }
  .result-list {
    margin: 0;
    max-height: 260px;
    grid-column: 1;
    grid-row: 3/5;
  }
  .player {
    grid-column: 2;
    grid-row: 3;
  }
  .result-actions {
    grid-column: 2;
    margin-top: 0;
  }
  .engine-note {
    margin-top: 15px;
  }
  .file-list {
    max-height: 250px;
  }
  .privacy-note {
    margin-top: 22px;
  }
  .history-options {
    display: none;
  }
  .topbar {
    height: 68px;
  }
  .intro {
    padding-top: 35px;
  }
  h1 {
    font-size: 28px;
  }
}
@media (max-width: 600px) {
  main,
  .topbar-inner {
    padding-left: 18px;
    padding-right: 18px;
  }
  .brand {
    font-size: 18px;
    gap: 9px;
  }
  .brand-mark {
    height: 34px;
    width: 34px;
    border-radius: 10px;
  }
  .brand-web,
  .local-tag {
    display: none;
  }
  .topbar-right {
    gap: 0;
  }
  .environment-button {
    padding: 8px;
    font-size: 10px;
  }
  .chevron {
    margin-left: 0;
  }
  .intro {
    padding: 30px 0 26px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.8px;
    margin-bottom: 11px;
  }
  h1 {
    font-size: 25px;
  }
  .intro p {
    font-size: 11px;
    line-height: 1.8;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .panel {
    padding: 22px;
  }
  .results-panel {
    grid-column: auto;
  }
  .panel-heading {
    margin-bottom: 20px;
  }
  .file-list {
    min-height: 0;
    max-height: 240px;
  }
  .empty-files {
    min-height: 100px;
    padding: 17px 0;
  }
  .privacy-note {
    padding-top: 16px;
    margin-top: 16px;
  }
  .dropzone {
    padding: 22px 8px;
  }
  .queue-label {
    margin-top: 20px;
  }
  .effect {
    margin-bottom: 22px;
    padding-bottom: 22px;
  }
  .effect legend {
    font-size: 13px;
  }
  .effect p {
    font-size: 11px;
  }
  .presets button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .results-panel #results-content {
    display: block;
  }
  .result-list {
    margin-top: 16px;
  }
  .result-actions {
    margin-top: 16px;
  }
  .player {
    margin-top: 16px;
  }
  .history-section {
    margin-top: 24px;
  }
  .history-item {
    padding: 14px 12px;
    gap: 10px;
  }
  .history-date {
    display: none;
  }
  .history-name {
    font-size: 10px !important;
  }
  .history-heading h2 {
    font-size: 11px;
  }
  footer {
    gap: 10px;
    font-size: 8px;
    line-height: 1.7;
  }
  footer > span:last-child {
    font-size: 7px;
    text-align: right;
    letter-spacing: 0.5px;
  }
  .tool-item {
    flex-wrap: wrap;
    gap: 6px;
  }
  .tool-item code {
    width: 100%;
  }
  .file-limit {
    font-size: 10px;
  }
  .batch-note {
    font-size: 10px;
  }
  .engine-note {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
:root .wave-bar-0 {
  height: 10px;
}
:root .wave-bar-1 {
  height: 18px;
}
:root .wave-bar-2 {
  height: 31px;
}
:root .wave-bar-3 {
  height: 23px;
}
:root .wave-bar-4 {
  height: 40px;
}
:root .wave-bar-5 {
  height: 28px;
}
:root .wave-bar-6 {
  height: 14px;
}
:root .wave-bar-7 {
  height: 25px;
}
